1 2007-04-27 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
4 (matches): Use Location.equals to determine equality.
5 * gnu/classpath/jdwp/VMMethod.java (equals):
7 * gnu/classpath/jdwp/util/Location.java (equals):
10 2007-03-16 Francis Kung <fkung@redhat.com>
12 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
13 (cairoArc): Make protected rather than private so it can be over-ridden.
14 (cairoClip): Likewise.
15 (cairoClosePath): Likewise.
16 (cairoCurveTo): Likewise.
17 (cairoDrawGlyphVector): Likewise.
18 (cairoFill): Likewise.
19 (cairoLineTo): Likewise.
20 (cairoMoveTo): Likewise.
21 (cairoNewPath): Likewise.
22 (cairoRectangle): Likewise.
23 (cairoResetClip): Likewise.
24 (cairoRestore): Likewise.
25 (cairoSave): Likewise.
26 (cairoScale): Likewise.
27 (cairoSetAntialias): Likewise.
28 (cairoSetDash): Likewise.
29 (cairoSetFillRule): Likewise.
30 (cairoSetFont): Likewise.
31 (cairoSetLine): Likewise.
32 (cairoSetMatrix): Likewise.
33 (cairoSetOperator): Likewise.
34 (cairoSetRGBAColor): Likewise.
35 (cairoStroke): Likewise.
36 (drawPixels): Likewise.
38 (setGradient): Likewise.
39 (setPaintPixels): Likewise.
40 (cairoDrawLine): Removed.
41 (cairoDrawRect): Removed.
42 (cairoFillRect): Removed.
43 (cairoPreserveClip): Removed.
44 (cairoRelCurveTo): Removed.
45 (cairoRelLineTo): Removed.
46 (cairoRelMoveTo): Removed.
47 * gnu/java/awt/peer/gtk/ComponentGraphics.java
48 (cairoArc): New method wrapping superclass method in locks.
49 (cairoClip): Likewise.
50 (cairoClosePath): Likewise.
51 (cairoCurveTo): Likewise.
52 (cairoDrawGlyphVector): Likewise.
53 (cairoFill): Likewise.
54 (cairoLineTo): Likewise.
55 (cairoMoveTo): Likewise.
56 (cairoNewPath): Likewise.
57 (cairoRectangle): Likewise.
58 (cairoResetClip): Likewise.
59 (cairoRestore): Likewise.
60 (cairoSave): Likewise.
61 (cairoScale): Likewise.
62 (cairoSetAntialias): Likewise.
63 (cairoSetDash): Likewise.
64 (cairoSetFillRule): Likewise.
65 (cairoSetFont): Likewise.
66 (cairoSetLine): Likewise.
67 (cairoSetMatrix): Likewise.
68 (cairoSetOperator): Likewise.
69 (cairoSetRGBAColor): Likewise.
70 (cairoStroke): Likewise.
71 (disposeNative): Likewise.
72 (drawPixels): Likewise.
74 (setGradient): Likewise.
75 (setPaintPixels): Likewise.
76 (draw): Do not lock, as locking is now done in the wrapped native methods.
77 (drawComposite): Likewise.
78 (drawGlyphVector): Likewise.
79 (drawImage): Likewise.
80 (drawRenderedImage): Likewise.
83 (lock): Added documentation.
84 (unlock): Added documentation.
85 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
86 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
87 * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
88 * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
89 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
90 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
91 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
92 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
93 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
94 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
95 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
96 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
98 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
101 * java/util/Arrays.java (qsort): Corrected initial median calculation.
103 2007-04-19 Casey Marshall <csm@gnu.org>
106 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
107 (createSocket): New method.
109 2007-04-18 Tom Tromey <tromey@redhat.com>
111 * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
112 Changed arguments. Directly print method name.
113 * tools/gnu/classpath/tools/javah/ClassWrapper.java
114 (methodNameMap): New field.
115 (makeVtable): Initialize it.
116 (printMethods): Compute name for bridge targets.
118 2007-04-17 Andrew Haley <aph@redhat.com>
120 * gnu/java/rmi/server/UnicastConnectionManager.java
121 (UnicastConnectionManager(int port, RMIServerSocketFactory)):
122 Listen on "localhost", not localhost.
124 2007-04-17 Francis Kung <fkung@redhat.com>
127 * gnu/java/awt/peer/gtk/ComponentGraphics.java
128 (dispose): Removed method.
129 (disposeSurface): Removed method.
130 * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
131 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
132 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
133 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
134 after it is used to create a cairo context.
136 2007-04-16 Tom Tromey <tromey@redhat.com>
138 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
139 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
140 (createSocket): Change order of delegation.
142 2007-04-16 Andrew Haley <aph@redhat.com>
144 * java/io/ObjectInputStream.java: (parseContent): Call (String,
145 Object) version of dumpElementln.
146 (dumpElementln(String, Object)): New method.
147 * java/io/ObjectOutputStream.java (writeObject): Call (String,
148 Object) version of dumpElementln.
149 (dumpElementln(String, Object)): New method.
151 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
153 * javax/management/ObjectName.java:
154 (parse(String)): Catch multiple wildcards,
155 initialise with an empty string (so null isn't
156 appended), and emit comma even when wildcard
158 (checkComponents()): Catch newlines.
159 (quote(String)): Handle newlines and quotes
162 2007-04-16 Andrew Haley <aph@redhat.com>
164 * org/omg/IOP/TaggedComponentHelper.java (read): Use
165 read_octet_array(), not read().
166 (write): Use write_octet_array(), not write().
168 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
169 delegate has been set.
171 * javax/management/ObjectName.java serialVersionUID: Declare.
172 Make all fields transient.
173 (parse): Break out from constructor.
174 (writeObject, readObject): New methods.
176 2007-04-02 Keith Seitz <keiths@redhat.com>
178 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
179 Event type is "THREAD_START" not "THREAD_END".
181 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
182 Handle configure strings ":port" and "port".
184 2007-03-30 Andrew Haley <aph@redhat.com>
186 * javax/management/ObjectName.java: Handle 0-length names.
188 2007-03-27 Andrew Haley <aph@redhat.com>
190 * javax/management/MBeanServerFactory.java: Use the domain that
191 we've been passed, not the fixed string "DefaultDomain".
193 2007-03-29 Tom Tromey <tromey@redhat.com>
196 * gnu/java/util/jar/JarUtils.java (log): Commented out.
197 (readSFManifest): Don't log.
199 2007-03-28 Casey Marshall <csm@gnu.org>
201 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
202 check keyEncipherment bit of the certificate, and just pass the public
205 2007-03-27 Casey Marshall <csm@gnu.org>
208 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
209 Always make a new socket.
210 (bind, connect, getInetAddress, getLocalAddress, getPort,
211 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
212 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
213 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
214 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
215 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
216 getTrafficClass, setReuseAddress, getReuseAddress, close,
217 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
218 isInputShutdown, isOutputShutdown): Always use
221 2007-03-27 Tom Tromey <tromey@redhat.com>
224 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
225 (createXMLReader): Code in Classpath default.
227 2007-03-27 Keith Seitz <keiths@redhat.com>
229 Merged from upstream:
230 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
231 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
232 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
233 (executeGetValues): Use Value type.
234 (exectureSetValues): Ditto.
235 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
236 (executeGetValues): Use Value type.
237 (executeSetValues): Ditto.
238 (invokeMethod): Record method return type.
239 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
240 (executeGetValues): Use Value type.
241 (executeSetValues): Ditto.
242 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
243 (executeGetValues): Use Value type.
244 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
245 (executeGetValues): Use Value type.
246 (executeSetValues): Ditto.
247 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
249 (getResultType): New Method.
250 (setResultType): Ditto.
251 * gnu/classpath/jdwp/util/Value.java: Remove.
252 * gnu/classpath/jdwp/value: New Package.
253 * gnu/classpath/jdwp/value/Value.java: New file.
254 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
255 * gnu/classpath/jdwp/value/ByteValue.java: New file.
256 * gnu/classpath/jdwp/value/CharValue.java: New file.
257 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
258 * gnu/classpath/jdwp/value/FloatValue.java: New file.
259 * gnu/classpath/jdwp/value/IntValue.java: New file.
260 * gnu/classpath/jdwp/value/LongValue.java: New file.
261 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
262 * gnu/classpath/jdwp/value/ShortValue.java: New file.
263 * gnu/classpath/jdwp/value/StringValue.java: New file.
264 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
265 * gnu/classpath/jdwp/value/VoidValue.java: New file.
267 2007-02-28 Keith Seitz <keiths@redhat.com>
268 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
269 (executeSet): Check if VM has capability for field access
270 or modification events.
271 * gnu/classpath/jdwp/processor/MethodCommandSet.java
272 (executeByteCodes): Check if VM has capability and
274 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
275 (executeMonitorInfo): Likewise.
276 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
277 (executeSourceDebugExtension): Likewise.
278 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
279 (executePopFrames): Likewise.
280 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
281 (executeOwnedMonitors): Likewise.
282 (executeCurrentContendedMonitor): Likewise.
283 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
284 (executeCapabilities): Rewrite using new VMVirtualMachine
286 (executeRedefineClasses): Check if VM has capability and
288 (executeSetDefaultStratum): Likewise.
289 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
290 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
291 (canWatchFieldModification): New class constant.
292 (canWatchFieldAccess): Likewise.
293 (canGetBytecodes): Likewise.
294 (canGetSyntheticAttribute): Likewise.
295 (canGetOwnedMonitorInfo): Likewise.
296 (canGetCurrentContendedMonitor): Likewise.
297 (canGetMonitorInfo): Likewise.
298 (canRedefineClasses): Likewise.
299 (canAddMethod): Likewise.
300 (canUnrestrictedlyRedefineClasses): Likewise.
301 (canPopFrames): Likewise.
302 (canUseInstanceFilters): Likewise.
303 (canGetSourceDebugExtension): Likewise.
304 (canRequestVMDeathEvent): Likewise.
305 (canSetDefaultStratum): Likewise.
306 (redefineClasses): New method.
307 (setDefaultStratum): Likewise.
308 (getSourceDebugExtension): Likewise.
309 (getBytecodes): Likewise.
310 (getMonitorInfo): Likewise.
311 (getOwnedMonitors): Likewise.
312 (getCurrentContendedMonitor): Likewise.
313 (popFrames): Likewise.
315 2007-02-28 Keith Seitz <keiths@redhat.com>
316 * gnu/classpath/jdwp/processor/MethodCommandSet.java
317 (executeLineTable): Use ReferenceTypeId instead of
318 ClassReferenceTypeId.
319 (executeVariableTable): Likewise.
320 (executeVariableTableWithGeneric): Fix error message.
321 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
322 (executeSignatureWithGeneric): Fix error message.
323 (executeFieldWithGeneric): Likewise.
324 (executeMethodsWithGeneric): Likewise.
325 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
326 (executeGetValues): Use ThreadId instead of ObjectId.
327 (executeSetValues): Likewise.
328 (executeThisObject): Likewise.
330 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
331 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
332 * gnu/classpath/jdwp/util/NullObject.java: New class.
333 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
334 (getObjectId): Handle null object.
335 (get): Handle objectId of 0.
337 2007-02-22 Keith Seitz <keiths@redhat.ecom>
338 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
339 (getAllLoadedClassesCount): Remove.
340 (getAllLoadedClasses): Return a Collection.
341 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
342 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
343 now returns Collection.
344 (executeAllClasses): Likewise.
345 Get size of return from Colleciton instead of calling
346 getAllLoadedClassesCount.
348 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
349 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
350 (executeGetValues): Pass a signature byte to VMFrame.getValue.
351 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
354 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
355 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
356 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
357 (executeSetValues): Ditto.
358 (executeThisObject): Ditto.
359 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
360 and a constructor used to create VMFrames.
361 (getThread): New method.
362 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
363 Changed to take a long instead of a ByteBuffer to pass the frameID.
365 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
366 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
368 2007-03-26 Tom Tromey <tromey@redhat.com>
370 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
371 (rmid Tool): Likewise.
373 2007-03-25 Dalibor Topic <robilad@kaffe.org>
375 * doc/cp-tools.texinfo: Fix node ordering.
377 2007-03-19 Matthias Klose <doko@ubuntu.com>
379 * doc/Makefile.am: Build a gcjh(1) man page.
380 * doc/cp-tools.texinfo: Add documentation for gcjh.
382 2007-03-26 Stepan Kasal <skasal@redhat.com>
384 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
386 (getParser): Use new field.
388 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
390 * resource/com/sun/tools/javac/messages.properties
391 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
392 messages for when --with-ecj-jar is not specified.
393 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
394 * tools/Makefile.am: Build com.sun.tools.javac package
396 * configure, doc/api/Makefile.in, doc/Makefile.in,
397 examples/Makefile.in, external/jsr166/Makefile.in,
398 external/Makefile.in, external/relaxngDatatype/Makefile.in,
399 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
400 include/Makefile.in, lib/Makefile.in, Makefile.in,
401 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
402 native/jni/classpath/Makefile.in,
403 native/jni/gconf-peer/Makefile.in,
404 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
405 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
406 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
407 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
408 native/jni/midi-dssi/Makefile.in,
409 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
410 native/jni/xmlj/Makefile.in, native/Makefile.in,
411 native/plugin/Makefile.in, resource/Makefile.in,
412 scripts/Makefile.in, tools/Makefile.in: Regenerate.
413 * tools/classes/com/sun/tools/javac: New directory.
414 * tools/classes/com/sun/tools/javac/Main.class,
415 tools/classes/com/sun/tools/javac/Messages.class: New files.
417 2007-03-16 Tom Tromey <tromey@redhat.com>
419 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
422 2007-03-16 Tom Tromey <tromey@redhat.com>
424 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
425 (printClass): Added filename argument.
426 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
427 (printClass): Added filename argument.
428 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
429 (printClass): Use user's file name.
430 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
431 (printClass): Use user's file name.
432 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
434 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
436 (writeHeaders): Use a HashMap.
437 (run): Put class name into HashMap for writeHeaders.
439 2007-03-02 Mario Torre <neugens@limasoftware.net>
442 committed for Petteri Räty <betelgeuse@gentoo.org>
443 * configure.ac: fix broken build for gcj browser plugin
445 2007-02-20 Jakub Jelinek <jakub@redhat.com>
447 * java/util/Date.java (parse): Properly parse 09:01:02 as
448 hours/minutes/seconds, not as hours/minutes/year.
449 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
450 {start,end}TimeMode constructor by calling shorter constructor,
451 set {start,end}TimeMode fields after it returns.
452 (setStartRule): Don't adjust startTime into WALL_TIME. Set
453 startTimeMode to WALL_TIME.
454 (endStartRule): Similarly.
455 (getOffset): Handle properly millis + dstOffset overflowing into the
456 next day. Adjust startTime resp. endTime based on startTimeMode
458 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
460 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
461 If non-null, set up aliases0 and don't put anything into
463 (defaultZone): Call getTimeZone instead of timezones().get.
464 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
465 getTimeZoneInternal instead of timezones().get.
466 (parseTime): Parse correctly hour:minute.
467 (getTimeZoneInternal): New private method.
468 (getTimeZone): Do the custom ID checking first, canonicalize
469 ID for custom IDs as required by documentation. Call
470 getTimeZoneInternal to handle the rest.
471 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
472 (getAvailableIDs(File,String,ArrayList)): New private method.
473 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
474 * gnu/java/util/ZoneInfo.java: New file.
476 2007-02-20 Matthias Klose <doko@ubuntu.com>
478 * doc/Makefile.am: Add rules to build and install man pages
480 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
481 Rename, prefix files with "cp-".
482 * doc/cp-tools.texinfo: Add markup for man page generation,
483 add documentation for command line options for gjar, gjavah,
484 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
485 doc/texi2pod.pl: New, taken from the GCC sources.
487 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
490 * javax/management/MBeanInfo.java (MBeanInfo):
491 Use clone to duplicate the arrays in order to
492 preserve the array type.
494 2007-02-16 Andrew Haley <aph@redhat.com>
496 * gnu/java/lang/management/MemoryMXBeanImpl.java,
497 javax/management/MBeanServerDelegate.java: Use
498 gnu.javax.management.ListenerData rather than
499 gnu.classpath.ListenerData.
500 * gnu/javax/management/ListenerData.java: Move here from
501 gnu/classpath/ListenerData.java.
503 2007-02-14 Jakub Jelinek <jakub@redhat.com>
504 Andrew Haley <aph@redhat.com>
506 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
508 2007-02-09 Tom Tromey <tromey@redhat.com>
511 * configure: Rebuilt.
512 * configure.ac: Also check for jack/jack.h.
514 2007-02-09 Jakub Jelinek <jakub@redhat.com>
516 * java/util/TimeZone.java: Handle default (one hour) daylight
519 2007-02-09 Jakub Jelinek <jakub@redhat.com>
522 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
523 just Rule lines, in the other everything else. Pass 0 instead of
524 $savings as second argument to parseRule when parsing the start
526 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
528 2007-02-07 Chris Burdess <dog@gnu.org>
531 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
532 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
533 SAXSources without a backing URL or stream.
536 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
537 LSParser if implementation does not support asynchronous.
538 * gnu/xml/stream/XMLParser.java,
539 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
540 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
541 protocol handler problems.
543 2007-02-06 Tom Tromey <tromey@redhat.com>
546 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
547 (printClass): Always print a header.
549 2007-02-05 Andrew Haley <aph@redhat.com>
552 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
553 (printClass): Replace '/' in filenames with '_'.
554 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
555 (printClass): Likewise.
557 2007-02-05 Tom Tromey <tromey@redhat.com>
559 * java/net/Proxy.java (equals): Handle case where address==null.
560 (hashCode): Likewise.
561 (toString): Likewise.
563 2007-01-31 Tom Tromey <tromey@redhat.com>
565 * resource/gnu/classpath/tools/jar/messages.properties
566 (Main.Stdin): New message.
567 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
569 (readNames): New method.
572 2007-01-26 Andrew Haley <aph@redhat.com>
574 * java/lang/SecurityManager.java: Load and initialize
575 java.security.Security.
577 2007-01-26 Tom Tromey <tromey@redhat.com>
579 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
580 'volatile' after field type.
582 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
584 * java/util/Arrays.java (binarySearch): Change comparison order.
586 2007-01-17 Tom Tromey <tromey@redhat.com>
588 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
589 (PathOptionGroup): Set default boot class path.
591 2006-12-14 Andrew Haley <aph@redhat.com>
593 * tools/gnu/classpath/tools/jar/Creator.java: Close the
596 2006-10-12 Andrew Haley <aph@redhat.com>
598 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
599 * java/lang/ThreadLocal.java: Likewise.
601 2006-09-13 Andrew Haley <aph@redhat.com>
603 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
604 Revert previous gcj-specific disabling of checks.
605 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
607 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
610 2006-09-13 Andrew Haley <aph@redhat.com>
612 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
614 (Iterator.remove()): Decrement index after removing element.
616 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
618 * javax/net/ssl/SSLSocketFactory.java (getDefault):
619 Chain exception cause.
621 2006-12-11 Roman Kennke <kennke@aicas.com>
623 * .classpath: Include ASM in Eclipse classpath.
625 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
627 * gnu/java/lang/management/BeanImpl.java:
628 (translate(String)): Trim strings of whitespace.
629 * javax/management/MBeanAttributeInfo.java:
630 (MBeanAttributeInfo(String,String,Method,Method)):
631 Use Class.getName() for normal (non-parameterized) cases.
632 * javax/management/MBeanConstructorInfo.java:
633 (MBeanConstructorInfo(String, Constructor)):
635 * javax/management/MBeanOperationInfo.java:
636 (MBeanOperationInfo(String, Method)):
639 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
641 * java/lang/Class.java:
642 (getClasses()): Return Class<?>[].
643 (internalGetClasses()): Likewise.
644 (getConstructor(Class<?>...)): Add type parameter
646 (getDeclaredConstructor(Class<?>...)): Likewise.
647 (getDeclaredClasses()): Return Class<?>[].
648 (getDeclaredClasses(boolean)): Likewise.
649 (getDeclaredConstructors()): Return Constructor<?>[].
650 (getDeclaredConstructors(boolean)): Likewise.
651 (getDeclaredMethod(String,Class<?>...)): Add type
652 parameter to parameters.
653 (getInterfaces()): Return Class<?>[].
654 (getMethods(String,Class<?>...)): Add type
655 parameter to parameters.
656 * java/text/CollationKey.java:
658 * java/text/DecimalFormatSymbols.java:
661 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
663 * gnu/java/lang/management/BeanImpl.java:
664 (translate(String)): Handle Map and List as
665 Strings of the form "java.util.Map<K,V>" and
667 * javax/management/MBeanAttributeInfo.java:
668 (MBeanAttributeInfo(String,String,Method,Method)):
669 Use generic parameter and return types.
670 * javax/management/MBeanConstructorInfo.java:
671 (MBeanConstructorInfo(String, Constructor)):
672 Use generic parameter types.
673 * javax/management/MBeanOperationInfo.java:
674 (MBeanOperationInfo(String, Method)):
675 Use generic parameter and return types.
677 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
679 * gnu/java/lang/management/BeanImpl.java:
680 (translate(String)): Comment out code for using type
681 variables for Map and List.
682 * java/lang/Thread.java:
683 (Thread(ThreadGroup,Runnable,String,long)): Fix
684 incrementation of totalThreadsCreated to be prior to use.
686 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
688 * javax/management/MBeanServerFactory.java:
689 (createMBeanServer(String)): Added security check.
690 (findMBeanServer(String)): Likewise.
691 (newMBeanServer(String)): Likewise.
692 (releaseMBeanServer(String)): Likewise.
693 * javax/management/MBeanServerPermission.java:
696 2006-12-08 David Daney <ddaney@avtrex.com>
698 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
701 2006-12-08 David Daney <ddaney@avtrex.com>
703 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
705 2006-12-08 David Daney <ddaney@avtrex.com>
707 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
709 (HTTPConnection): Handle NumberFormatException in properties parsing.
710 (Pool.get): Set timeout on reused sockets.
711 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
713 (HTTPURLConnection): Cleanup properties handling.
714 (getConnection): Use both connection and read timeouts.
715 (setConnectTimeout): Removed.
716 (setReadTimeout): New method.
717 * java/net/URLConnection.java (timeout): Renamed to...
718 (connectTimeout): ... connectTimeout throughout.
719 (readTimeout): New field.
720 (getReadTimeout): New method.
721 (setReadTimeout): New method.
723 2006-12-08 Tania Bento <tbento@redhat.com>
725 * java/awt/ScrollPane.java
726 (doLayout): Change the location of the scrollpane's child
729 2006-12-08 David Daney <ddaney@avtrex.com>
731 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
733 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
734 SocketTimeoutException if a blocking socket timesout.
735 (Java_gnu_java_nio_VMChannel_readScattering): Same.
736 (Java_gnu_java_nio_VMChannel_read__I): Same.
737 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
738 (Java_gnu_java_nio_VMChannel_connect6): Same.
740 2006-12-08 Mark Wielaard <mark@klomp.org>
742 * configure.ac (VERSION): Set to 0.93-generics.
743 * NEWS: Add release date.
745 2006-12-08 Tania Bento <tbento@redhat.com>
747 * java/awt/ScrollPane.java
748 (getScrollPosition): Throw NullPointerException if scrollpane
750 (setScrollPosition(int, int)): Throw NullPointerException if
751 scrollpane does have a child. Check that both ints are within
752 the allowed bounds; If they are not, scroll to the closest allowed
755 2006-12-07 Roman Kennke <kennke@aicas.com>
757 * javax/swing/JEditorPane.java
758 (EditorKitMapping): New inner helper class.
759 (editorKits): New static field for caching editor kit instances.
760 (static_initiazer): Initialize static mappings here.
761 (createEditorKitForContentType): Try to use cached instance.
762 Use correct classloader for loading.
763 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
765 (getEditorKitForContentType): Store the fetched editor kit.
766 Fallback to createDefaultEditorKit().
767 (init): Don't clean the static registry here.
768 (registerEditorKitForContentType(String,String,ClassLoader)):
770 (registerEditorKitForContentType(String,String)): Delegate to
771 the other version of this method with the thread's context
774 2006-12-07 Mark Wielaard <mark@klomp.org>
776 * examples/gnu/classpath/examples/swing/HtmlDemo.java
777 (setPage): Don't convert URL to String for setPage().
779 2006-12-07 Mark Wielaard <mark@klomp.org>
781 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
783 2006-12-07 Mark Wielaard <mark@klomp.org>
785 * tools/Makefile.am: Explicitly define and use bootclasspath as
788 2006-12-07 Mark Wielaard <mark@klomp.org>
790 * javax/swing/JEditorPane.java (createEditorKitForContentType):
791 Always load from system class loader.
793 2006-12-07 Mark Wielaard <mark@klomp.org>
795 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
797 (URL(URL,String,URLStreamHandler)): Call new constructor.
798 (URL(URL,String)): Likewise.
799 (URL(String)): Likewise.
801 2006-12-07 Tom Tromey <tromey@redhat.com>
804 * INSTALL: Don't mention --with-asm.
805 * tools/external/README: New file.
806 * tools/toolwrapper.c (main): Don't use ASM_JAR.
807 * tools/gjavah.in: Don't use PATH_TO_ASM.
808 * tools/grmic.in: Likewise.
809 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
811 (javah, rmic): Removed variables.
812 (bin_PROGRAMS): Updated.
813 (gappletviewer_CFLAGS): Don't define ASM_JAR.
814 (gjarsigner_CFLAGS): Likewise.
815 (gkeytool_CFLAGS): Likewise.
816 (gjar_CFLAGS): Likewise.
817 (gnative2ascii_CFLAGS): Likewise.
818 (gserialver_CFLAGS): Likewise.
819 (grmiregistry_CFLAGS): Likewise.
820 (gtnameserv_CFLAGS): Likewise.
821 (gorbd_CFLAGS): Likewise.
822 (grmid_CFLAGS): Likewise.
823 (gjavah_CFLAGS): Likewise.
824 (grmic_CFLAGS): Likewise.
825 (bin_SCRIPTS): Updated.
826 (TOOLS_JAVA_FILES): Updated.
827 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
828 * configure.ac: Removed --with-asm. Always build gjavah.
830 2006-12-06 Roman Kennke <kennke@aicas.com>
832 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
834 * examples/gnu/classpath/examples/swing/HtmlDemo.java
835 (LoadActionListener): Call setPage() helper method.
836 (createContent): Register tweaked editor kit. For FormSubmitEvents
837 call submitForm(), otherwise setPage().
838 (postData): Helper method for posting form data.
839 (setPage): Helper method for navigating to a new URL.
840 (submitForm): Helper method for submitting a form.
841 * examples/gnu/classpath/examples/swing/forms.html:
842 Added text/password fields and select boxes.
843 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
845 2006-12-06 Roman Kennke <kennke@aicas.com>
847 * javax/swing/text/html/FormView.java
848 (SubmitThread.postData): Implemented.
849 (SubmitThread.run): Pass data to postData().
850 (actionPerformed): Reset form when reset button is activated.
851 (createComponent): Add support for select lists and comboboxes.
852 Don't set value of text and password fields here, this is done
853 now in HTMLDocument for consistency.
854 (getElementFormData): Add support for fetching form data from
855 select lists and comboboxes as well as textareas.
856 (getSelectData): New helper method. Fetches form data from
858 (getTextAreaData): New helper method. Fetches form data from
860 (resetForm): New helper method. Resets the entire form.
861 * javax/swing/text/html/HTMLDocument.java
862 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
863 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
864 (HTMLReader.FormAction.setModel): Initialize text and password
865 values here. Also, use the resetable special models.
866 Group radio buttons into ButtonGroup for exclusive selection.
867 (HTMLReader.FormTagAction): New class. Handles FORM tags.
868 (HTMLReader.buttonGroups): New field.
869 (HTMLReader.numOptions): New field.
870 (HTMLReader.option): New field.
871 (HTMLReader.selectModel): New field.
872 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
873 (HTMLReader.handleText): Handle OPTION text.
874 (HTMLReader.initTags): Map FORM tags to FormTagAction.
875 (HTMLReader.textAreaContent): Set initial content.
876 * javax/swing/text/html/Option.java
877 (Option): Make copy of attribute set. Initialize selected state.
878 (getValue): Fetch value from attribute set.
879 * javax/swing/text/html/ResetableModel.java: New interface.
880 * javax/swing/text/html/ResetablePlainDocument.java: New class.
881 Supports resetting the state.
882 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
883 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
884 * javax/swing/text/html/SelectListModel.java: Likewise.
886 2006-12-06 Roman Kennke <kennke@aicas.com>
888 * javax/swing/text/DefaultCaret.java
889 (appear): Adjust visibility here.
890 (setDotImpl): Don't adjust visibility here.
891 (moveDotImpl): Don't adjust visibility here.
893 2006-12-06 Roman Kennke <kennke@aicas.com>
895 * gnu/java/awt/peer/gtk/AsyncImage.java
896 (Loader.run): Synchronize on the AsyncImage to avoid threading
898 (addObservers): Check for obs==null outside and synchronize on
899 this inside to avoid locking issues.
900 (checkImage): New helper method.
901 (notifyObservers): Check that the correct lock is held and
902 remove actual locking.
903 * gnu/java/awt/peer/gtk/GtkToolkit.java
904 (checkImage): Added special handling for AsyncImages.
906 2006-12-06 Roman Kennke <kennke@aicas.com>
908 * examples/gnu/classpath/examples/swing/Demo.java
909 (getIcon): Made package private.
910 * examples/gnu/classpath/examples/swing/HtmlDemo.java
911 (hyperlinkUpdate): Convert URL to string.
913 2006-12-06 Mark Wielaard <mark@klomp.org>
915 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
918 2006-12-06 Roman Kennke <kennke@aicas.com>
920 * examples/gnu/classpath/examples/icons/back.png,
921 * examples/gnu/classpath/examples/icons/reload.png:
922 New icons for the HTML browser.
923 * examples/gnu/classpath/examples/swing/HtmlDemo.java
924 (history): New field. Manages the browsing history.
925 (HtmlDemo): Initialize history.
926 (createContent): Set location and add history. Add toolbar.
927 (createToolBar): New helper method.
928 (main): Make default size bigger.
929 * examples/gnu/classpath/examples/swing/frame1.html,
930 * examples/gnu/classpath/examples/swing/frame2.html,
931 * examples/gnu/classpath/examples/swing/frame3.html,
932 * examples/gnu/classpath/examples/swing/frame4.html,
933 * examples/gnu/classpath/examples/swing/frames.html,
934 * examples/gnu/classpath/examples/swing/tables.html:
936 * examples/gnu/classpath/examples/swing/welcome.html
937 Add a couple of links and new test pages.
939 2006-12-06 Roman Kennke <kennke@aicas.com>
941 * javax/swing/JEditorPane.java
942 (getStream): Buffer the stream for efficiency.
943 (setPage): Don't scroll the view at this point.
944 * javax/swing/plaf/basic/BasicTextUI.java
945 (RootView.paint): Call RootView's setSize to get synchronization.
946 (RootView.setSize): Synchronize to prevent race in layout code.
947 * javax/swing/text/AbstractDocument.java
948 (notifyListeners): New field.
949 (fireChangedUpdate): Track notifyListener field.
950 (fireRemoveUpdate): Track notifyListener field.
951 (fireIndertUpdate): Track notifyListener field.
952 (writeLock): Check notifyListener and throw IllegalStateException.
953 * javax/swing/text/View.java
954 (preferenceChanged): Create local var for better thread safety and
957 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
959 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
960 lightweight component, not just for non-Panel components.
961 (addImpl): Do not call doLayout.
962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
963 (setNativeBounds): Ensure widget parent is a GtkFixed before
964 calling gtk_fixed_move.
965 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
966 (setNativeBounds): Likewise.
967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
968 (setNativeBounds): Likewise.
970 2006-12-06 Roman Kennke <kennke@aicas.com>
972 * javax/swing/text/html/TableView.java
973 (RowView.layoutMajorAxis): Check column index for invalid value.
974 (updateGrid): Check column index for invalid value.
976 2006-12-06 Roman Kennke <kennke@aicas.com>
978 * javax/swing/text/html/BlockView.java
979 (getAlignment): Align blocks horizontally by the superclass.
980 * javax/swing/text/html/HTMLEditorKit.java
981 (HTMLFactory.create): Replace equals comparison by == for efficiency.
982 Add mapping for misplaced tr, td and th tags. Include object mapping.
983 * javax/swing/text/html/TableView.java
984 (RowView.replace): Invalidate grid early.
985 (gridValid): Initialize with false.
986 (create): Only create RowView and CellView for correctly placed
987 tags. Avoid unnecessary casts.
988 (getAlignment): Removed.
989 (replace): Invalidate grid early.
991 2006-12-06 Francis Kung <fkung@redhat.com>
993 * java/awt/geom/RectangularShape.java
994 (getBounds): Remove empty rectangle check.
996 2006-12-06 Ben Konrath <bkonrath@redhat.com>
999 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1000 newValue are the same.
1001 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1003 2006-12-06 Tania Bento <tbento@redhat.com>
1005 * javax/swing/border/CompoundBorder.java:
1006 (isBorderOpaque): If inside border is null, return true if outside
1007 border is opaque, false otherwise; if outside border is null, return
1008 true if inside border is opaque, false otherwise; if inside or
1009 outside border are both not null, then return true only if both the
1010 inside and outside border are opaque, false otherwise.
1012 2006-12-06 Tania Bento <tbento@redhat.com>
1014 * javax/swing/border/CompoundBorder.java:
1015 (isBorderOpaque): If inside and outside border both have a null
1018 2006-12-06 Chris Burdess <dog@gnu.org>
1021 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1022 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1024 2006-12-06 Chris Burdess <dog@gnu.org>
1027 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1030 2006-12-06 Chris Burdess <dog@gnu.org>
1033 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1034 discover schema factory implementation class.
1036 2006-12-05 Francis Kung <fkung@redhat.com>
1038 * java/awt/BasicStroke.java
1039 (capEnd): Prevent division by zero.
1040 * java/awt/geom/Arc2D.java
1041 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1042 (ArcIterator.currentSegment): Handle a negative extent.
1044 2006-12-05 Francis Kung <fkung@redhat.com>
1046 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1047 (constructor): Handle translated subimages properly, ie, if the image's
1048 0,0 position is not the data buffer's first element.
1050 2006-12-05 Roman Kennke <kennke@aicas.com>
1052 * gnu/java/awt/peer/gtk/AsyncImage.java
1053 (Loader.run): Nullify observers after loading.
1054 (observers): Made package private.
1055 (addObserver): Check for null observers field. Create local
1056 variable for thread safety.
1057 (getHeight): Use addObserver() for checking state of field
1058 and notifying observer when necessary.
1059 (getWidth): Use addObserver() for checking state of field
1060 and notifying observer when necessary.
1061 (getProperty): Use addObserver() for checking state of field
1062 and notifying observer when necessary.
1063 (notifyObservers): Check for null observers field. Create local
1064 variable for thread safety.
1066 2006-12-05 Roman Kennke <kennke@aicas.com>
1068 * javax/swing/text/html/HTMLEditorKit.java
1069 (HTMLFactory.create): Removed debug output.
1070 * javax/swing/text/html/InlineView.java
1071 (getBreakWeight): Likewise.
1072 * javax/swing/text/html/StyleSheet.java
1073 (addRule): Likewise.
1074 (ListPainter.paint): Removed debug output.
1076 2006-12-05 Roman Kennke <kennke@aicas.com>
1078 * javax/swing/text/html/BlockView.java
1079 (painter): Made package visible.
1080 * javax/swing/text/html/StyleSheet.java
1081 (translateBorder): New helper method.
1082 (translateHTMLToCSS): Add mappings for border attributes.
1083 * javax/swing/text/html/TableView.java
1084 Made class subclass of BlockView to get CSS goodness.
1085 (CellView.rowSpan): New field.
1086 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1087 (RowView.overlap): New field.
1088 (RowView.rowIndex): New field.
1089 (RowView.layoutMajorAxis): Skip overlapping cells.
1090 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1091 (numColumns): New field.
1092 (tmpRect): New field.
1093 (TableView): Initialize tmpRect.
1094 (calculateColumnRequirements): Adjusted and fixed for multirows.
1095 (getAlignment): Overridden to center tables.
1096 (paint): Overridden to fix clipping.
1097 (getStyleSheet): Made protected.
1098 (layoutMajorAxis): Invalidate rows.
1099 (setPropertiesFromAttributes): Made protected and call super.
1100 (updateGrid): Update the overlapping information for multirows.
1102 2006-12-05 Roman Kennke <kennke@aicas.com>
1104 * gnu/java/awt/peer/gtk/AsyncImage.java
1105 (addObserver): Check for null and ignore null observers.
1106 (getWidth): Check for null and ignore null observers.
1107 (getHeight): Check for null and ignore null observers.
1108 (getProperty): Check for null and ignore null observers.
1110 2006-12-05 Francis Kung <fkung@redhat.com>
1112 * java/awt/BasicStroke.java
1113 (capEnd): Prevent division by zero.
1114 * java/awt/geom/Arc2D.java
1115 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1116 (ArcIterator.currentSegment): Handle a negative extent.
1118 2006-12-05 Francis Kung <fkung@redhat.com>
1120 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1121 (constructor): Handle translated subimages properly, ie, if the image's
1122 0,0 position is not the data buffer's first element.
1124 2006-12-05 Roman Kennke <kennke@aicas.com>
1126 * javax/swing/text/html/ImageView.java
1127 (imageUpdate): Use spans field to determine if the CSS width/height
1128 are set. Call safePreferenceChanged to protect view structure
1129 from threading issues.
1130 (spans): Made package private.
1131 (ImageView): Initialize loadOnDemand with false.
1132 (loadImage): Call Toolkit.prepareImage() to make sure we have
1133 our Observer registered.
1134 (safePreferenceChanged): New helper method. Calls preferenceChanged
1135 in a thread safe environment.
1137 2006-12-05 Roman Kennke <kennke@aicas.com>
1139 * NEWS: Add entry about improved HTML support.
1141 2006-12-05 Roman Kennke <kennke@aicas.com>
1143 * javax/swing/text/html/ImageView.java
1144 (ImageView): Initialize spans array here.
1145 (setPropertiesFromAttributes): Moved init of spans array to
1148 2006-12-05 Roman Kennke <kennke@aicas.com>
1150 * javax/swing/text/html/BlockView.java
1151 (painter): Made package visible.
1152 * javax/swing/text/html/StyleSheet.java
1153 (translateBorder): New helper method.
1154 (translateHTMLToCSS): Add mappings for border attributes.
1155 * javax/swing/text/html/TableView.java
1156 Made class subclass of BlockView to get CSS goodness.
1157 (CellView.rowSpan): New field.
1158 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1159 (RowView.overlap): New field.
1160 (RowView.rowIndex): New field.
1161 (RowView.layoutMajorAxis): Skip overlapping cells.
1162 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1163 (numColumns): New field.
1164 (tmpRect): New field.
1165 (TableView): Initialize tmpRect.
1166 (calculateColumnRequirements): Adjusted and fixed for multirows.
1167 (getAlignment): Overridden to center tables.
1168 (paint): Overridden to fix clipping.
1169 (getStyleSheet): Made protected.
1170 (layoutMajorAxis): Invalidate rows.
1171 (setPropertiesFromAttributes): Made protected and call super.
1172 (updateGrid): Update the overlapping information for multirows.
1174 2006-12-05 Roman Kennke <kennke@aicas.com>
1176 * javax/swing/text/html/HTMLEditorKit.java
1177 (HTMLFactory.create): Removed debug output.
1178 * javax/swing/text/html/InlineView.java
1179 (getBreakWeight): Likewise.
1180 * javax/swing/text/html/StyleSheet.java
1181 (addRule): Likewise.
1182 (ListPainter.paint): Removed debug output.
1184 2006-12-06 Roman Kennke <kennke@aicas.com>
1186 * javax/swing/text/html/BlockView.java
1187 (getAlignment): Align blocks horizontally by the superclass.
1188 * javax/swing/text/html/HTMLEditorKit.java
1189 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1190 Add mapping for misplaced tr, td and th tags. Include object mapping.
1191 * javax/swing/text/html/TableView.java
1192 (RowView.replace): Invalidate grid early.
1193 (gridValid): Initialize with false.
1194 (create): Only create RowView and CellView for correctly placed
1195 tags. Avoid unnecessary casts.
1196 (getAlignment): Removed.
1197 (replace): Invalidate grid early.
1200 2006-12-06 Roman Kennke <kennke@aicas.com>
1202 * javax/swing/text/html/TableView.java
1203 (RowView.layoutMajorAxis): Check column index for invalid value.
1204 (updateGrid): Check column index for invalid value.
1206 2006-12-06 Roman Kennke <kennke@aicas.com>
1208 * javax/swing/JEditorPane.java
1209 (getStream): Buffer the stream for efficiency.
1210 (setPage): Don't scroll the view at this point.
1211 * javax/swing/plaf/basic/BasicTextUI.java
1212 (RootView.paint): Call RootView's setSize to get synchronization.
1213 (RootView.setSize): Synchronize to prevent race in layout code.
1214 * javax/swing/text/AbstractDocument.java
1215 (notifyListeners): New field.
1216 (fireChangedUpdate): Track notifyListener field.
1217 (fireRemoveUpdate): Track notifyListener field.
1218 (fireIndertUpdate): Track notifyListener field.
1219 (writeLock): Check notifyListener and throw IllegalStateException.
1220 * javax/swing/text/View.java
1221 (preferenceChanged): Create local var for better thread safety and
1224 2006-12-06 Roman Kennke <kennke@aicas.com>
1226 * examples/gnu/classpath/examples/icons/back.png,
1227 * examples/gnu/classpath/examples/icons/reload.png:
1228 New icons for the HTML browser.
1229 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1230 (history): New field. Manages the browsing history.
1231 (HtmlDemo): Initialize history.
1232 (createContent): Set location and add history. Add toolbar.
1233 (createToolBar): New helper method.
1234 (main): Make default size bigger.
1235 * examples/gnu/classpath/examples/swing/frame1.html,
1236 * examples/gnu/classpath/examples/swing/frame2.html,
1237 * examples/gnu/classpath/examples/swing/frame3.html,
1238 * examples/gnu/classpath/examples/swing/frame4.html,
1239 * examples/gnu/classpath/examples/swing/frames.html,
1240 * examples/gnu/classpath/examples/swing/tables.html:
1242 * examples/gnu/classpath/examples/swing/welcome.html
1243 Add a couple of links and new test pages.
1245 2006-12-06 Roman Kennke <kennke@aicas.com>
1247 * examples/gnu/classpath/examples/swing/Demo.java
1248 (getIcon): Made package private.
1249 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1250 (hyperlinkUpdate): Convert URL to string.
1252 2006-12-06 Roman Kennke <kennke@aicas.com>
1254 * javax/swing/text/DefaultCaret.java
1255 (appear): Adjust visibility here.
1256 (setDotImpl): Don't adjust visibility here.
1257 (moveDotImpl): Don't adjust visibility here.
1259 2006-12-06 Roman Kennke <kennke@aicas.com>
1261 * javax/swing/text/html/FormView.java
1262 (SubmitThread.postData): Implemented.
1263 (SubmitThread.run): Pass data to postData().
1264 (actionPerformed): Reset form when reset button is activated.
1265 (createComponent): Add support for select lists and comboboxes.
1266 Don't set value of text and password fields here, this is done
1267 now in HTMLDocument for consistency.
1268 (getElementFormData): Add support for fetching form data from
1269 select lists and comboboxes as well as textareas.
1270 (getSelectData): New helper method. Fetches form data from
1272 (getTextAreaData): New helper method. Fetches form data from
1274 (resetForm): New helper method. Resets the entire form.
1275 * javax/swing/text/html/HTMLDocument.java
1276 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1277 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1278 (HTMLReader.FormAction.setModel): Initialize text and password
1279 values here. Also, use the resetable special models.
1280 Group radio buttons into ButtonGroup for exclusive selection.
1281 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1282 (HTMLReader.buttonGroups): New field.
1283 (HTMLReader.numOptions): New field.
1284 (HTMLReader.option): New field.
1285 (HTMLReader.selectModel): New field.
1286 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1287 (HTMLReader.handleText): Handle OPTION text.
1288 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1289 (HTMLReader.textAreaContent): Set initial content.
1290 * javax/swing/text/html/Option.java
1291 (Option): Make copy of attribute set. Initialize selected state.
1292 (getValue): Fetch value from attribute set.
1293 * javax/swing/text/html/ResetableModel.java: New interface.
1294 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1295 Supports resetting the state.
1296 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1297 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1298 * javax/swing/text/html/SelectListModel.java: Likewise.
1300 2006-12-06 Roman Kennke <kennke@aicas.com>
1302 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1304 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1305 (LoadActionListener): Call setPage() helper method.
1306 (createContent): Register tweaked editor kit. For FormSubmitEvents
1307 call submitForm(), otherwise setPage().
1308 (postData): Helper method for posting form data.
1309 (setPage): Helper method for navigating to a new URL.
1310 (submitForm): Helper method for submitting a form.
1311 * examples/gnu/classpath/examples/swing/forms.html:
1312 Added text/password fields and select boxes.
1313 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1315 2006-12-07 Mark Wielaard <mark@klomp.org>
1317 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1318 private constructor.
1319 (URL(URL,String,URLStreamHandler)): Call new constructor.
1320 (URL(URL,String)): Likewise.
1321 (URL(String)): Likewise.
1323 2006-12-07 Mark Wielaard <mark@klomp.org>
1325 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1326 Always load from system class loader.
1328 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1331 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1332 newValue are the same.
1333 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1335 2006-12-06 Chris Burdess <dog@gnu.org>
1338 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1339 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1341 2006-12-06 Chris Burdess <dog@gnu.org>
1344 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1347 2006-12-056 Chris Burdess <dog@gnu.org>
1350 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1351 discover schema factory implementation class.
1353 2006-12-05 Roman Kennke <kennke@aicas.com>
1355 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1356 asynchronous loading of images.
1357 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1358 (drawImage): Fetch real image from possibly AsyncImage.
1359 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1360 (drawImage): Fetch real image from possibly AsyncImage.
1361 * gnu/java/awt/peer/gtk/GtkToolkit.java
1362 (createImage(URL)): Create async image.
1363 (imageOrError): Made method static for easy access from AsyncImage.
1364 (prepareImage): For async images, register the observer to the
1367 2006-12-05 Roman Kennke <kennke@aicas.com>
1369 (paintComponent): Include paint area from event.
1370 (updateComponent): Include paint area from event.
1372 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1374 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1375 lightweight component, not just for non-Panel components.
1376 (addImpl): Do not call doLayout.
1377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1378 (setNativeBounds): Ensure widget parent is a GtkFixed before
1379 calling gtk_fixed_move.
1380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1381 (setNativeBounds): Likewise.
1382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1383 (setNativeBounds): Likewise.
1385 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1387 * java/awt/Component.java (getFontImpl): Return a default font if
1388 topmost parent's font is null.
1390 2006-12-04 Mark Wielaard <mark@klomp.org>
1392 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1393 Remove debug output.
1395 2006-12-04 Roman Kennke <kennke@aicas.com>
1397 * java/awt/font/TextLayout.java
1398 (hitTestChar): Fixed conditions for inclusion of range.
1399 Use layout information in the run for more efficiency.
1401 2006-12-04 Roman Kennke <kennke@aicas.com>
1403 * javax/swing/text/GlyphView.java
1404 (J2DGlyphPainter): New inner class.
1405 (checkPainter): For Java2D capable environments create
1408 2006-12-04 Roman Kennke <kennke@aicas.com>
1410 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1411 (FreeTypeGlyphVector): Don't filter control chars here.
1412 (getGlyphs): Filter control chars and replace them by
1415 2006-12-04 Roman Kennke <kennke@aicas.com>
1417 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1418 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1420 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1422 * gnu/java/lang/management/BeanImpl.java:
1423 (translate(String)): Don't assume the list uses "E",
1424 just use the first and only type variable.
1425 * java/lang/management/ManagementFactory.java:
1426 (getPlatformMBeanServer()): Register logging bean.
1427 * javax/management/openmbean/OpenType.java:
1428 (OpenType(String,String,String)): Actually use
1429 the string created to handle arrays.
1431 2006-12-04 Mark Wielaard <mark@klomp.org>
1433 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1434 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1436 2006-12-04 Mark Wielaard <mark@klomp.org>
1438 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1440 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1441 (JCL_thread_interrupted): Only take JNIEnv.
1442 (vm_channel_class): New static variable.
1443 (initID): Set vm_channel_class.
1444 Wrap all reads() and writes() in do-while blocks that check
1447 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1449 * gnu/javax/management/Server.java:
1450 Make map final and initialise it.
1451 (unregisterMBean(ObjectName)): Match against
1452 delegate's object name and not the instance.
1453 * java/lang/management/ManagementFactory.java:
1454 Added constant fields.
1455 (getPlatformMBeanServer()): Implemented.
1456 * javax/management/MBeanServerFactory.java: New file.
1458 2006-12-04 Roman Kennke <kennke@aicas.com>
1460 * javax/swing/text/BoxView.java
1461 (paint): Replaced painting algorithm with more simple and more
1462 reliable painting of the box.
1463 * javax/swing/text/html/BlockView.java
1464 (PositionInfo): New inner class. Stores additional CSS
1465 positioning information.
1466 (positionInfo): New field.
1467 (BlockView): Initialize positionInfo field.
1468 (fetchLayoutInfo): New helper method. Fetches additional
1469 CSS positioning information.
1470 (layoutMajorAxis): Perform additional CSS layout.
1471 (layoutMinorAxis): Perform additional CSS layout.
1472 (positionView): New helper method.
1473 (replace): Overridden to fetch additional layout information.
1474 * javax/swing/text/html/CSS.java
1475 (Attribute.POSITION): New field.
1476 (Attribute.LEFT): New field.
1477 (Attribute.RIGHT): New field.
1478 (Attribute.TOP): New field.
1479 (Attribute.BOTTOM): New field.
1480 (getValue): Create Length for left, right, top and bottom
1483 2006-12-04 Roman Kennke <kennke@aicas.com>
1485 * gnu/javax/swing/text/html/parser/support/Parser.java
1486 (Sgml): Consume any whitespace that immediately follows
1488 (parseDocument): Consume any initial whitespace.
1490 2006-12-03 Mark Wielaard <mark@klomp.org>
1492 * gnu/javax/management/Server.java (beans): Initialize.
1493 (registerMBean): Don't initialize beans.
1495 2006-12-03 Mark Wielaard <mark@klomp.org>
1497 * java/util/logging/LogManager.java (getLevelProperty): Check
1498 whether value is null before passing to Level.parse().
1500 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1502 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1503 whether given a null lock and lockOwner.
1505 2006-12-03 Mark Wielaard <mark@klomp.org>
1507 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1508 (PageLoader.page): Made package local.
1509 (PageLoader.run): Don't reset loader.
1510 (PageLoader.cancel): New method.
1511 (loading): Renamed to loader.
1512 (getPage): Return loader.page.
1513 (setPage): Always set loader. Never reset to null.
1515 2006-12-03 Mark Wielaard <mark@klomp.org>
1517 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1519 (isLastChild): Return false when path is null.
1521 2006-12-03 Mark Wielaard <mark@klomp.org>
1523 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1524 to currentPaintArea.
1525 (paintComponent): Work with local reference to currentPaintArea.
1526 (updateComponent): Likewise.
1527 (coalescePaintEvent): Set currentPaintArea.
1529 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1531 * javax/management/MBeanServerBuilder.java: New file.
1533 2006-12-01 Mark Wielaard <mark@klomp.org>
1535 * java/text/DecimalFormat.java (parse): Always increment parsing
1536 index and adjust pos result.
1538 2006-12-01 Roman Kennke <kennke@aicas.com>
1540 * javax/swing/text/html/HTML.java
1541 (Attribute.DYNAMIC_CLASS): New field.
1542 (Attribute.PSEUDO_CLASS): New field.
1543 * javax/swing/text/html/HTMLDocument.java
1544 (HTMLReader.CharacterAction.start): Initialize anchor with link
1546 (updateSpecialClass): New helper method. Updates the dynamic
1547 or pseudo class for anchor tags.
1548 * javax/swing/text/html/HTMLEditorKit.java
1549 (LinkController.lastAnchorElement): New field. For tracking
1550 enter/exit of anchors.
1551 (LinkController.activateLink): Set pseudo class to 'visited'.
1552 (LinkController.mouseMoved): Added support for tracking
1553 the 'hover' dynamic class.
1554 * javax/swing/text/html/InlineView.java
1555 (changedUpdate): Fetch new properties.
1556 * javax/swing/text/html/StyleSheet.java
1557 (attributeSetToMap): New helper method.
1558 (getRule): Also append dynamic and pseudo class to key.
1559 (resolveStyle): Resolve style based generally on all attributes.
1560 * javax/swing/text/html/TableView.java
1561 (RowView.layoutMajorAxis): Make sure the grid is valid.
1562 (updateGrid): Made package private.
1563 * gnu/javax/swing/text/html/css/Selector.java
1564 (calculateSpecificity): Added support for dynamic and pseudo classes.
1565 (matches): Changed to operate on general attributes.
1566 Added support for dynamic and pseudo classes.
1568 2006-12-01 Mario Torre <neugens@limasoftware.net>
1570 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1571 fractional portion in a separate method.
1572 Also fixes the handling of decimal separator and its associated field.
1573 (handleFractionalPart): new method, needed to relax a bit
1576 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1578 * java/beans/beancontext/BeanContextServicesSupport.java:
1579 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1580 Class)): Implemented.
1581 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1582 Class, Object)): Implemented.
1583 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1584 Object, Object)): Implemented.
1585 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1587 (initialiseBeanContextResources()): Implemented.
1588 (releaseBeanContextResoures()): Implemented.
1590 2006-12-01 Mark Wielaard <mark@klomp.org>
1592 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1594 2006-12-01 Roman Kennke <kennke@aicas.com>
1596 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1597 handling border styles.
1598 * gnu/javax/swing/text/html/css/BorderWidth.java
1599 (isValid): New method.
1600 * gnu/javax/swing/text/html/css/Length.java
1601 (isValid): New method.
1602 * javax/swing/text/html/CSS.java
1603 (addInternal): Added shorthand parsing for border, padding and
1605 (parseBackgroundShorthand): Added API docs.
1606 (parsePaddingShorthand): New method. Handles padding shorthand
1608 (parseMarginShorthand): New method. Handles margin shorthand
1610 (parseBorderShorthand): New method. Handles border shorthand
1612 * javax/swing/text/html/StyleSheet.java
1613 (translateHTMLToCSS): Set specific padding attributes.
1614 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1615 These shorthands are now handled in CSS.
1616 (BoxPainter.paint): Exclude the outer margin.
1618 2006-12-01 Roman Kennke <kennke@aicas.com>
1620 * gnu/javax/swing/text/html/css/Length.java
1621 (emBase): New field.
1622 (exBase): New field.
1623 (isFontEMRelative): New field.
1624 (isFontEXRelative): New field.
1625 (Length): Recognize and setup EM and EX relative values.
1626 (getValue): Handle EM and EX relative values.
1627 (isEMRelative): New method.
1628 (isEXRelative): New method.
1629 (setEMBase): New method.
1630 (setEXBase): New method.
1631 (setFontBases): New method.
1632 * gnu/javax/swing/text/html/parser/support/Parser.java
1633 (_handleEmptyTag): Use new isBlock() helper method.
1634 (_handleEndTag_remaining): Use new isBlock() helper method.
1635 (_handleStartTag): Consume whitespace after block start tag.
1636 (Comment): Consume whitespace after a comment.
1637 (isBlock): New helper method.
1638 (readAttributes): Consider all characters in unquoted attribute
1640 * javax/swing/text/html/BlockView.java
1641 (layoutMinorAxis): Use cached span value.
1642 (paint): Added debug code (commented out).
1643 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1644 * javax/swing/text/html/CSSBorder.java
1645 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1647 (getBorderWidth): Set the EM and EX base on the length values.
1648 * javax/swing/text/html/HTMLDocument.java
1649 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1650 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1651 (HTMLReader.inImpliedParagraph): Removed.
1652 (HTMLReader.inParagraph): Removed.
1653 (HTMLReader.parseStack): New field.
1654 (HTMLReader.addContent): Use new paragraph handling.
1655 (HTMLReader.addSpecialElement): Use new paragraph handling.
1656 (HTMLReader.blockClose): Use new paragraph handling.
1657 (HTMLReader.blockOpen): Use new paragraph handling.
1658 (HTMLReader.inImpliedParagraph): New helper method.
1659 (HTMLReader.inParagraph): New helper method.
1660 * javax/swing/text/html/ImageView.java
1661 (attributes): New field. Caches view attributes.
1662 (spans): New field. Caches CSS spans.
1663 (getAttributes): Correctly setup CSS view attributes.
1664 (getPreferredSpan): Use caches spans.
1665 (getStyleSheet): Use the view's getDocument() method.
1666 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1667 (updateSize): Use cached spans.
1668 * javax/swing/text/html/ParagraphView.java
1669 (setPropertiesFromAttributes): Setup EM and EX.
1670 * javax/swing/text/html/StyleSheet.java
1671 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1672 (getEMBase): New helper method.
1673 (getEXBase): New helper method.
1674 * javax/swing/text/html/TableView.java
1675 (width): New field. Caches the table width.
1676 (calculateMinorAxisRequirements): Use caches span.
1677 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1678 (updateGrid): Correctly setup EM/EX.
1680 2006-11-30 Roman Kennke <kennke@aicas.com>
1682 * javax/swing/text/html/FormSubmitEvent.java: New class.
1683 * javax/swing/text/html/FormView.java
1684 (SubmitThread): New class for submitting data in a separate thread.
1685 (actionPerformed): Fetch the actual for data.
1686 (addData): New helper method.
1687 (getElementFormData): New helper method.
1688 (getFormData): New helper method.
1689 (getInputFormData): New helper method.
1690 (submitData): Implemented.
1691 * javax/swing/text/html/FrameView.java
1692 (createComponent): Add this as hyperlink listener.
1693 Set the target document as frame document.
1694 (getTopEditorPane): New helper method.
1695 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1696 (handleHyperlinkEvent): New helper method.
1697 (handleFormSubmitEvent): New helper method.
1698 * javax/swing/text/html/HTMLDocument.java
1699 (HTMLReader.BaseAction.start): Track the base target.
1700 (HTMLReader.BaseAction.end): Removed.
1701 (baseTarget): New field.
1702 (frameDocument): New field.
1703 (getBaseTarget): New property accessor.
1704 (isFrameDocument): New property accessor.
1705 (processHTMLFrameHyperlinkEvent): Implemented.
1706 (setFrameDocument): New property accessor.
1707 (updateFrame): New helper method.
1708 (updateFrameSet): New helper method.
1709 * javax/swing/text/html/HTMLEditorKit.java
1710 (LinkController.createHyperlinkEvent): Handle frame documents.
1711 (autoFormSubmission): New field.
1712 (HTMLEditorKit): Set autoFormSubmission to true.
1713 (isAutoFormSubmission): New property accessor.
1714 (setAutoFormSubmission): New property accessor.
1716 2006-11-30 Roman Kennke <kennke@aicas.com>
1718 * javax/swing/text/ElementIterator.java
1719 (ElementRef): New inner class.
1720 (currentDepth): Removed.
1721 (currentElement): Removed.
1722 (previousItem): Removed.
1723 (stack): New field. Holds the iteration stack.
1725 (ElementIterator(Document)): Removed init of removed fields.
1726 (ElementIterator(Element)): Removed init of removed fields.
1727 (current): Changed to stack based algorithm.
1728 (deepestLeaf): New helper method.
1729 (depth): Changed to stack based algorithm.
1730 (first): Changed to stack based algorithm.
1731 (next): Changed to stack based algorithm.
1732 (previous): Changed to stack based algorithm.
1734 2006-11-30 Francis Kung <fkung@redhat.com>
1736 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1737 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1739 2006-11-30 Francis Kung <fkung@redhat.com>
1741 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1742 (draw): Set transform in buffered composite.
1743 (drawComposite): Do not transform bounds; round bounds.
1744 (drawGlyphVector): Set transform in buffered composite.
1745 (drawRenderedImage): Set transform in buffered composite.
1746 (fill): Set transform in buffered composite.
1747 (updateBufferedImage): Fix scanline & height calculations.
1748 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1749 (createPath): Simplify width & height calculation.
1750 (drawImage): Also transform width & height.
1752 2006-11-30 Roman Kennke <kennke@aicas.com>
1754 * javax/swing/text/html/FrameSetView.java: New class. Implements
1756 * javax/swing/text/html/FrameView.java: New class. Implements
1758 * javax/swing/text/html/HTMLDocument.java:
1759 (HTMLReader.addSpecialElement): Only add one artificial space.
1760 * javax/swing/text/html/HTMLEditorKit.java
1761 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1762 * gnu/javax/swing/text/html/parser/support/Parser.java
1763 (_handleEmptyTag): Also consume whitespace after frame tags.
1765 2006-11-30 Gary Benson <gbenson@redhat.com>
1767 * java/lang/Thread.java: Javadoc fixes.
1769 2006-11-29 Tom Tromey <tromey@redhat.com>
1772 * java/lang/Class.java (getAnnotations): Rewrote.
1774 2006-11-29 Tania Bento <tbento@redhat.com>
1776 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1777 (parseParams): Unescape 'val' before putting it into the Map.
1778 (unescapeString): New private method.
1780 2006-11-29 Tom Tromey <tromey@redhat.com>
1782 * tools/gnu/classpath/tools/getopt/package.html: New file.
1784 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1786 * javax/swing/plaf/metal/MetalIconFactory.java
1787 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1788 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1790 2006-11-29 Mario Torre <neugens@limasoftware.net>
1792 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1793 with the default international currency sign \u00A4.
1794 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1795 table for string formatting.
1796 (formatInternal): likewise.
1797 (scanNegativePattern): likewise.
1798 (applyPattern): likewise.
1799 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1800 Locale is immutable and does not need clone.
1802 2006-11-29 Francis Kung <fkung@redhat.com>
1804 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1805 (drawLine): Remove hard-coded pixel shifting.
1807 2006-11-29 Roman Kennke <kennke@aicas.com>
1809 * java/awt/Component.java
1810 (isShowing): Simplified condition code and avoid unnecessary
1812 (coalesceEvents): Always coalesce paint events and let the peer
1813 figure out the expanding of the repaint area.
1814 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1815 (currentPaintEvents): Removed. Replaced by paintArea.
1816 (paintArea): New field. Tracks the dirty area.
1817 (SwingComponentPeer): Removed init of currentPaintEvents.
1818 (coalescePaintEvent): Simplified to only union the dirty regions.
1819 (handleEvent): Paint dirty region that was tracked in paintArea.
1820 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1821 (paintArea): New field. Tracks the dirty region.
1822 (coalescePaintEvent): Implemented to track the dirty region.
1823 (paintComponent): Use the dirty region in paintArea. Protect
1824 state by putting the paint and dispose code in a try-finally.
1825 (updateComponent): Use the dirty region in paintArea. Protect
1826 state by putting the paint and dispose code in a try-finally.
1828 2006-11-29 Roman Kennke <kennke@aicas.com>
1830 * java/awt/font/TextLayout.java
1831 (getVisualHighlightShape): Removed debug output.
1833 2006-11-28 Andrew Haley <aph@redhat.com>
1835 * vm/reference/sun/reflect/misc/ReflectUtil.java
1836 (checkPackageAccess): Implement.
1838 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1840 * native/jni/java-lang/java_lang_VMDouble.c:
1841 (parseDoubleFromChars) New function. Factored out from ...
1842 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1843 (dtoa_toString): New function. Factored out from ...
1844 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1845 Changed conversion mode to 2, as modes 0 and 1 don't round
1846 as the API spec demands. Invoke conversion function as often
1847 as necessary with growing precision until a reversible
1848 representation of the double in form of a string is reached.
1850 2006-11-28 Roman Kennke <kennke@aicas.com>
1852 * javax/swing/JComponent.java
1853 (putClientProperty): Do not fire event when both old and new
1856 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1858 * java/lang/Enum.java:
1859 Make name and ordinal final.
1861 2006-11-27 Casey Marshall <csm@gnu.org>
1863 * java/util/jar/JarEntry.java (certs): removed.
1864 (jarfile): new field.
1865 (getCertificates): read the certificates from the containing JarFile.
1866 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1867 fill in 'certs,' fill in 'jarfile' for the entry.
1868 (getEntry): likewise.
1870 2006-11-27 Francis Kung <fkung@redhat.com>
1872 * java/awt/image/WritableRaster.java
1873 (createChild): Implemented.
1875 2006-11-27 Roman Kennke <kennke@aicas.com>
1877 * java/awt/font/TextLayout.java
1878 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1879 (getVisualHighlightShape): Implemented.
1880 (layoutRuns): Fixed boundary so that the last run is also laid out.
1881 (left): New helper method.
1882 (right): New helper method.
1884 2006-11-27 Roman Kennke <kennke@aicas.com>
1886 * java/awt/font/TextLayout.java
1887 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1888 (getCaretShape(TextHitInfo)): Use natural bounds.
1889 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1890 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1891 above with DEFAULT_CARET_POLICY.
1892 (getCaretShapes(int)): Use natural bounds.
1894 2006-11-27 Roman Kennke <kennke@aicas.com>
1896 * java/awt/font/TextLayout.java
1897 (Run.font): New field.
1898 (Run.location): New field.
1899 (Run.Run): Initialize font.
1900 (font): Removed field. This is moved into Run as the actual font
1901 is something run-specific.
1902 (TextLayout(String,Font,FontRenderContext)): Set font on the
1903 single runs. Layout the runs here.
1904 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1905 (findRunAtIndex): New helper method.
1906 (getCaretInfo): Implemented.
1907 (layoutRuns): New helper method.
1908 (toString): Don't put font in output string.
1910 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1912 * AUTHORS: Added Jeroen Fritjers.
1914 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1916 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1917 for FieldPosition to be null.
1918 Check if the factional part is just 0 and can be omitted from the
1920 (scanNegativePattern): Fixed index out of bound exception when searching
1921 for international currency symbol in negative pattern.
1923 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1925 * java/beans/beancontext/BeanContextSupport.java:
1926 (readObject(ObjectInputStream)): Implemented.
1927 (writeObject(ObjectOutputStream)): Likewise.
1928 (BCSChild.getTargetChild()): Added.
1929 (bcsPreDeserializationHook()): Implemented.
1930 (bcsPreSerializationHook()): Likewise.
1931 (childDeserializedHook(Object,BCSChild)): Likewise.
1932 (isSerializing()): Likewise.
1933 (readChildren(ObjectInputStream)): Likewise.
1934 (writeChildren(ObjectOutputStream)): Likewise.
1936 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1937 Ian Lance Taylor <ian <at> airs.com>
1938 Paolo Bonzini <bonzini <at> gnu.org>
1942 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1943 increased portability. Likewise, use -f instead of -e.
1945 2006-11-26 Mark Wielaard <mark@klomp.org>
1947 * lib/Makefile.am (propertydirs): Removed.
1948 (resources): Explicitly create all dirs.
1950 2006-11-26 Mark Wielaard <mark@klomp.org>
1952 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1954 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1956 * native/target/.cvsignore,
1957 native/target/generic/.cvsignore,
1958 native/target/Linux/.cvsignore:
1959 Removed no longer used files.
1961 * native/target: Removed no longer used directory.
1963 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1967 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1968 (Java_gnu_java_nio_VMSelector_select):
1969 Use strerror if strerror_r is not available.
1971 Reported by: Michael Franz <mvfranz@gmail.com>,
1972 Riccardo Mottola <zuse@libero.it>
1974 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1978 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1979 STRICT_WARNING_CFLAGS since it caused the build to fail
1982 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1984 * doc/vmintegration.texinfo: Update VM Threading Model section.
1986 2006-11-26 Tom Tromey <tromey@redhat.com>
1988 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1990 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1992 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1993 Conditionally include ifaddrs.h.
1994 (getif_address): Updated conditional.
1995 (getif_index): Likewise.
1996 * configure.ac: Check for ifaddrs.h.
1998 2006-11-25 Mark Wielaard <mark@klomp.org>
2000 * java/io/File.java (list): Return empty list for unreadable dirs.
2002 2006-11-25 Mark Wielaard <mark@klomp.org>
2004 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2005 Synchronize on font peer.
2006 (setFont): Likewise.
2007 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2009 (getTextMetrics): Likewise.
2011 2006-11-25 Roman Kennke <kennke@aicas.com>
2013 * javax/swing/text/GapContent.java
2014 (getPositionsInRange): Rewritten to use the more efficient
2015 binary search searchFirst() and avoid an NPE that was caused
2018 2006-11-25 Mark Wielaard <mark@klomp.org>
2020 * javax/swing/text/CompositeView.java (modelToView): Never return
2023 2006-11-25 Mark Wielaard <mark@klomp.org>
2025 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2026 Check whether rowView instanceof RowView.
2027 (updateGrid): Likewise.
2029 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
2032 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2033 * java/text/NumberFormat.java (format): all format methods, fixed
2034 FieldPosition argument should never be null.
2035 (format(Object, StringBuffer, FieldPosition)): fixed signature,
2036 method is not final.
2037 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2039 * AUTHORS: added my name to the file.
2041 2006-11-25 Mark Wielaard <mark@klomp.org>
2043 * javax/swing/text/html/StyleSheet.java (paint): Guard against
2044 getChildAllocation() returning null.
2046 2006-11-25 Mark Wielaard <mark@klomp.org>
2048 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2049 Use clazzIndex for id substring.
2051 2006-11-25 Mark Wielaard <mark@klomp.org>
2053 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2054 it is still running.
2056 2006-11-25 Mark Wielaard <mark@klomp.org>
2059 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2062 2006-11-24 Tania Bento <tbento@redhat.com>
2064 * java/awt/font/TextHitInfo.java
2065 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2066 (beforeOffset): Decreased first parameter by 1.
2068 2006-11-24 Francis Kung <fkung@redhat.com>
2070 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2071 (constructor): Check sample model when setting fastCM flag.
2072 (updateBufferedImage): Check scanline and sample model offsets before
2073 copying data directly into the image data buffer.
2075 2006-11-24 Francis Kung <fkung@redhat.com>
2077 * gnu/java/awt/java2d/QuadSegment.java
2078 (offsetSubdivided): Handle special straight-line cases.
2080 2006-11-24 Roman Kennke <kennke@aicas.com>
2082 * java/awt/dnd/DropTarget.java
2083 (DropTargetAutoScroller.HYSTERESIS): New constant.
2084 (DropTargetAutoScroller.DELAY): New constant.
2085 (DropTargetAutoScroller.inner): New field. A cached
2087 (DropTargetAutoScroller.outer): New field. A cached
2089 (DropTargetAutoScroller.timer): New field. The actual timer.
2090 (DropTargetAutoScroller.DropTargetAutoScroller):
2092 (DropTargetAutoScroller.actionPerformed): Implemented.
2093 (DropTargetAutoScroller.stop): Implemented.
2094 (DropTargetAutoScroller.updateLocation): Implemented.
2095 (clearAutoscroll): Stop the autoscroller before nullifying it.
2096 (createDropTargetAutoScroller): Don't set the field here,
2097 only return a new instance.
2098 (dragEnter): Only do something when active. Initialize
2100 (dragExit): Only do something when active. Stop auto scrolling.
2101 (dragOver): Only do something when active. Update auto scrolling.
2102 (drop): Only do something when active. Update auto scrolling.
2103 (dropActionChanged): Only do something when active. Update
2105 (initializeAutoScrolling): Check if component is an instance
2106 of Autoscroll, otherwise do nothing.
2107 (setActive): Disable autoscrolling when deactivating.
2108 (setComponent): When component is set to null, disable autoscrolling.
2110 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
2112 * java/beans/beancontext/BeanContextServicesSupport.java
2113 (getChildBeanContextServicesListener): Implemented.
2115 2006-11-23 Roman Kennke <kennke@aicas.com>
2117 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2118 (createGraphics): Use constructor to create new instance of
2119 BufferedImageGraphics.
2120 * java/awt/Toolkit.java
2121 (getDefaultToolkit): Really try to get a real toolkit. Only
2122 use HeadlessToolkit if no other is available.
2123 * gnu/java/awt/peer/gtk/GtkToolkit.java
2124 (checkHeadless): New helper method. Checks for headless environment
2125 and throws HeadlessException if appropriate.
2126 (createButton): Check for headless.
2127 (createCanvas): Check for headless.
2128 (createCheckbox): Check for headless.
2129 (createCheckboxMenuItem): Check for headless.
2130 (createChoice): Check for headless.
2131 (createDialog): Check for headless.
2132 (createDragGestureRecognizer): Check for headless.
2133 (createDragSourceContextPeer): Check for headless.
2134 (createEmbeddedWindow): Check for headless.
2135 (createFileDialog): Check for headless.
2136 (createFrame): Check for headless.
2137 (createCheckbox): Check for headless.
2138 (createLabel): Check for headless.
2139 (createList): Check for headless.
2140 (createMenu): Check for headless.
2141 (createMenuBar): Check for headless.
2142 (createMenuItem): Check for headless.
2143 (createPanel): Check for headless.
2144 (createPopupMenu): Check for headless.
2145 (createScrollbar): Check for headless.
2146 (createScrollPane): Check for headless.
2147 (createTextArea): Check for headless.
2148 (createTextField): Check for headless.
2149 (createWindow): Check for headless.
2151 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2153 * java/beans/beancontext/BeanContextSupport.java
2154 (deserialize): Implemented,
2155 (serialize): Implemented.
2157 2006-11-23 Roman Kennke <kennke@aicas.com>
2159 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2160 (createGraphics): Try to use Cairo graphics if available.
2162 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2164 * java/beans/beancontext/BeanContextSupport.java
2165 (toArray): Added API docs,
2166 (toArray(Object[])): Added API docs, removed NotImplementedException.
2168 2006-11-22 Tania Bento <tbento@redhat.com>
2170 * javax/swing/JRootPane.java
2171 (setLayeredPane): Added documentation; throw
2172 IllegalComponentStateException if layered pane parameter is null.
2174 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2176 * java/beans/beancontext/BeanContextSupport.java
2177 (avoidingGui): Removed NotImplementedException.
2179 2006-11-22 Francis Kung <fkung@redhat.com>
2181 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2182 (drawGlyphVector): Clip updated area to glyph bounds.
2183 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2184 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2185 x-coordinate and y-coordinate pixel shifting.
2186 (shifted): Removed method.
2187 (shiftX): New method, recognising scaling transforms.
2188 (shiftY): New method, recognising scaling transforms.
2189 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2191 2006-11-22 Roman Kennke <kennke@aicas.com>
2193 * java/awt/font/TextLayout.java
2194 (hash): New field. Caches the hash code.
2195 (hashCode): Implemented.
2197 2006-11-22 Roman Kennke <kennke@aicas.com>
2199 * java/awt/image/ImageFilter.java
2200 Reformat whole class.
2201 (getFilterInstance): Don't touch the consumer field. Don't check
2203 (imageComplete): Don't check consumer.
2204 (setColorModel): Don't check consumer.
2205 (setDimensions): Don't check consumer.
2206 (setHints): Don't check consumer.
2207 (setPixels): Don't check consumer.
2208 (setProperties): Pass the original property too.
2209 * java/awt/image/IndexColorModel.java
2210 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2211 transparent pixel by calling the new helper method.
2212 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2213 transparent pixel by calling the new helper method.
2214 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2215 transparent pixel by calling the new helper method.
2216 (coerceData): Removed. This is not needed.
2217 (getAlpha): Simply return value from color map. The transparent
2218 pixel has to be there.
2219 (setTransparentPixel): New helper method. Inserts the transparent
2221 * java/awt/image/RGBImageFilter.java
2222 Reformat whole class.
2223 (convertColorModelToDefault): Removed. No longer needed.
2224 (filterIndexColorModel): Don't handle transparent pixels
2226 (filterRGBPixels): Set pixels on consumer already.
2227 (makeColor): Removed. No longer needed.
2228 * java/awt/image/ReplicateScaleFilter.java
2229 (replicatePixels): Removed.
2230 (setDimension): Correctly compute destination size, avoid double
2232 (setPixels): Avoid double calculations. Fixed some boundary cases.
2233 (setupSources): New helper method.
2234 * java/awt/image/SampleModel.java
2235 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2237 * java/awt/image/SinglePixelPackedSampleModel.java
2238 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2239 This is not needed as the superclass already copies line
2241 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2242 removed some checks that the RI also doesn't perform. Call
2243 DataBuffer.setElem().
2245 2006-11-22 Roman Kennke <kennke@aicas.com>
2247 * java/awt/text/TextLayout.java
2248 (getLogicalRangesForVisualSelection): Implemented.
2250 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2252 * sun/reflect/annotation/AnnotationParser.java,
2253 * sun/reflect/annotation/AnnotationType.java,
2254 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2255 * sun/reflect/annotation/ExceptionProxy.java:
2257 * sun/misc/ServiceConfigurationError.java,
2258 * sun/misc/Service.java:
2261 2006-11-21 Roman Kennke <kennke@aicas.com>
2263 * java/awt/text/TextLayout.java
2264 (Run.isLeftToRight): New helper method.
2265 (logicalToVisual): New field. Maps logical indices to visual
2267 (visualToLogical): New field. Maps visual indices to logical
2269 (TextLayout): Setup mappings.
2270 (setupMappings): New method for setting up the mappings.
2271 (getCharacterLevel): Reorganized code.
2272 (getNextLeftHit(int)): Implemented.
2273 (getNextLeftHit(int,CaretPolicy)): New method.
2274 (getNextLeftHit(TextHitInfo)): Implemented.
2275 (getNextRightHit(int)): Implemented.
2276 (getNextRightHit(int,CaretPolicy)): New method.
2277 (getNextRightHit(TextHitInfo)): New method.
2278 (getVisualOtherHit): Implemented.
2279 (checkHitInfo): New helper methods for checking parameters.
2280 (hitToCaret): New helper method. Maps hit infos to caret locations.
2281 (caretToHit): New helper method. Maps caret locations to hit infos.
2282 (isCharacterLTR): New helper method.
2283 (CaretPolicy.getStrongCaret): Implemented.
2285 2006-11-21 Francis Kung <fkung@redhat.com>
2287 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2288 (draw): Include stroke width when calculating bounds.
2289 (updateBufferedImage): Round bounds more generously, handle negative
2290 height/width values, and clip more intelligently.
2291 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2292 (createPath): Add shortcut optimization for lines.
2293 (draw): Include stroke width when calculating bounds.
2294 (drawLine): Delegate to main draw() method.
2295 (drawRect): Likewise.
2296 (fillRect): Delegate to main fill() method.
2297 (findStrokedBounds): New method.
2298 (setCustomPaint): Round bounds more generously.
2299 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2300 (drawLine): Removed.
2301 (drawRect): Removed.
2302 (fillRect): Removed.
2304 2006-11-21 Francis Kung <fkung@redhat.com>
2306 * gnu/java/awt/java2d/TexturePaintContext.java
2307 (getRaster): Handle negative coordinate values.
2308 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2309 (setPaint): Moved custom paint processing to a new method.
2310 (setPaintPixels): Added x, y parameters.
2311 (getRealBounds): Added documentation.
2312 (copy): Copy clipping information.
2313 (drawLine): Process custom paints.
2314 (setCustomPaint): New method.
2315 (fill): Process custom paints.
2316 (drawGlyphVector): Process custom paints.
2317 (drawRect): Process custom paints.
2318 (draw): Process custom paints.
2319 * gnu/java/awt/peer/gtk/CairoSurface.java
2320 (cairoCM_opaque): New constant.
2321 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2322 (argb32): Removed constant.
2323 (rgb32): Removed constant.
2324 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2325 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2326 (updateBufferedImage): Transform to device-space before updating.
2327 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2328 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2331 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2332 source at designated x, y origin.
2334 2006-11-21 Roman Kennke <kennke@aicas.com>
2336 * java/awt/text/TextLayout.java
2337 (Run): New inner helper class.
2338 (length): New field.
2339 (naturalBounds): New field.
2340 (offset): New field.
2341 (runIndices): Removed. This is now encapsulate in a Run object.
2342 (runs): Changed to Run[].
2343 (string): Changed to char[].
2344 (totalAdvance): New field. Caches advance value.
2345 (TextLayout(String,Font,FontRenderContext)): Change to store
2346 string as char[] and run layout as Run[]. Clean out empty
2348 (TextLayout(TextLayout,int,int)): Change to store
2349 string as char[] and run layout as Run[].
2350 (clone): Call private constructor for maximum efficiency.
2351 (determineWhitespace): Adapted to use char[] data.
2352 (draw): Adapted to use Run objects.
2353 (getAdvance): Cache computed total advance.
2354 (getBlackBoxBounds): Adapted to use Run objects.
2355 (getCaretInfo): Use natural layout bounds.
2356 (getCharacterCount): Return length field.
2357 (getLogicalHighlightShape): Adapted to use Run objects.
2358 (getNaturalBounds): New helper method. Calculates and returns the
2359 natural bounds of this text layout.
2360 (getOutline): Adapted to use Run objects.
2361 (getStringProperties): Adapted to use char[] data.
2362 (getVisibleAdvance): Adapted to use char[] and Run data.
2363 (handleJustify): Adapted to use char[] and Run data.
2364 (hitTestChar(float,float,Rectangle2D)): Implemented.
2365 (hitTestChar(float,float)): Use natural bounds.
2366 (setCharIndices): Adapted to use char[] and Run data.
2367 (toString): Adapted to use char[] and Run data.
2368 * java/text/Bidi.java
2369 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2371 2006-11-21 Roman Kennke <kennke@aicas.com>
2373 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2374 Removed. This is now an inner class in GdkFontPeer.
2375 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2376 (drawString(float,float)): Use text layout cache from
2378 (getFontMetrics): Delegate to GdkFontPeer.
2379 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2380 (getGlyphCodes): Also check array size.
2381 (getGlyphPositions): Also check array size.
2382 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2383 (GdkFontLineMetrics.fm): Removed.
2384 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2385 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2386 (GdkFontLineMetrics.underlineOffset): Removed.
2387 (GdkFontLineMetrics.underlineThickness): Removed.
2388 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2389 FontMetrics argument. Don't init removed fields.
2390 (GdkFontLineMetrics.getAscent): Return font peer's field.
2391 (GdkFontLineMetrics.getDescent): Return font peer's field.
2392 (GdkFontLineMetrics.getHeight): Return font peer's field.
2393 (GdkFontLineMetrics.getLeading): Return font peer's field.
2394 (GdkFontLineMetrics.getNumChars): Reformat.
2395 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2396 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2397 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2398 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2399 (GdkFontMetrics): Moved class in here as inner class.
2400 Make it use the font peer's fields and for the char(s) width
2401 and string width method, use TextLayout to measure the actual widths.
2402 (ascent): New field.
2404 (DEFAULT_CTX): New constant field.
2405 (descent): New field.
2406 (FONT_METRICS_ASCENT): New constant.
2407 (FONT_METRICS_DESCENT): New constant.
2408 (FONT_METRICS_HEIGHT): New constant.
2409 (FONT_METRICS_MAX_ADVANCE): New constant.
2410 (FONT_METRICS_MAX_ASCENT): New constant.
2411 (FONT_METRICS_MAX_DESCENT): New constant.
2412 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2413 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2414 (height): New field.
2415 (maxAdvance): New field.
2416 (maxAscent): New field.
2417 (maxDescent): New field.
2418 (metrics): New field. Stores a FontMetrics for this font.
2419 (textLayoutCache): New field. Caches TextLayout instances.
2420 (underlineOffset): New field.
2421 (underlineThickness): New field.
2422 (cinit): Don't initialize resource bundle.
2423 (GdkFontPeer): Setup the metrics.
2424 (getFontMetrics): Return stored metrics if possible.
2425 (getLineMetrics): Adapt to new constructor.
2426 (initFont): New helper method.
2427 (setupMetrics): New helper method.
2428 * gnu/java/awt/peer/gtk/GtkToolkit.java
2429 (LRUCache): Made class a static class.
2430 (getFontMetrics): Delegate to GdkFontPeer.
2431 * native/jni/gtk-peer/gdkfont.h
2432 Added new constant defines.
2433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2434 (getFontMetrics): Rewritten to fetch the font metrics from
2437 2006-11-20 Tania Bento <tbento@redhat.com>
2439 * javax/swing/ButtonGroup.java:
2440 (setSelected): Select the ButtonModel if all conditions
2443 2006-11-20 Tania Bento <tbento@redhat.com>
2445 * javax/swing/JSlider.java:
2446 (updateLabelUIs): Removed casting.
2448 2006-11-20 Mark Wielaard <mark@klomp.org>
2450 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2451 (bundle): New static final String field.
2452 (getLocalizedMessage): Initialize messages when still null.
2453 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2454 (set): Use RE.getLocalizedMessage().
2456 (setLineSeparator): Likewise.
2458 2006-11-20 Roman Kennke <kennke@aicas.com>
2460 * javax/swing/text/html/StyleSheet.java
2461 (linked): New field.
2462 (styleSheet): Replaced by linked.
2463 (addStyleSheet): Use an arraylist for simplicity.
2464 (getRule): Removed useless instantiation.
2465 (getStyleSheets): Convert array list to array.
2466 (removeStyleSheet): Use an arraylist for simplicity.
2467 (resolveStyle): Include styles from linked lists.
2469 2006-11-20 Roman Kennke <kennke@aicas.com>
2471 * javax/swing/text/BoxView.java
2472 (BoxView): Initialize with invalid req's.
2473 (forwardUpdate): Trigger repaint when children changed the
2475 (getResizeWeight): Return resizable when the pref differs from
2476 the min or the pref differs from the max size.
2477 (layoutMajorAxis): Actually sum up the preferred sizes.
2478 (paint): Made binary search more robust.
2479 (replace): Let arrays shrink when needed.
2480 (replaceLayoutArray): Let arrays shrink when needed.
2481 (setAxis): Trigger preferenceChanged.
2482 * javax/swing/text/CompositeView.java
2483 (getInsideAllocation): Call insets method to take account
2484 of overriding subclasses.
2485 * javax/swing/text/DefaultStyledDocument.java
2486 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2487 (ElementBuffer.insertUpdate): Only remove the found element, not
2489 * javax/swing/text/GlyphView.java
2490 (insertUpdate): Pass null in preferenceChanged.
2491 (removeUpdate): Pass null in preferenceChanged.
2492 (changedUpdate): Pass null in preferenceChanged.
2493 * javax/swing/text/Utilities.java
2494 (drawTabbedText): Avoid single calls to charWidth() and instead
2495 call charsWidth() on whole chunks.
2496 * javax/swing/text/html/HTMLDocument.java
2497 (BlockElement.getName): Fall back to super when necessary.
2498 (RunElement.getName): Fall back to super when necessary.
2499 (HTMLReader.MAX_THRESHOLD): New constant field.
2500 (HTMLReader.GROW_THRESHOLD): New constant field.
2501 (HTMLReader.theshold): New field.
2502 (HTMLReader.HTMLReader): Fetch threshold from document.
2503 (HTMLReader.addContent): Sucessivly grow the threshold.
2504 (createLeafElement): Don't create two elemens and don't set
2506 * javax/swing/text/html/TableView.java
2507 (RowView.replace): Invalidate grid.
2508 (gridValid): Made package private.
2509 (layoutMinorAxis): Mark all rows as invalid.
2510 (replace): Invalidate grid.
2512 2006-11-20 Roman Kennke <kennke@aicas.com>
2514 * javax/swing/text/AbstractDocument.java
2515 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2516 (DefaultDocumentEvent.modified): Made private.
2517 (DefaultDocumentEvent.THRESHOLD): New constant field.
2518 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2520 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2521 exceeding threshold.
2522 (DefaultDocumentEvent.getChange): Use iterative approach
2523 when we have no hashmap yet.
2524 (documentCV): Removed.
2525 (numWriters): Renamed from numWritersWaiting.
2526 (createPosition): Reformat.
2527 (getCurrentWriter): Synchronized.
2528 (readLock): Implement more straightforward.
2529 (readUnlock): Implement more straightforward.
2530 (writeLock): Implement more straightforward.
2531 (writeUnlock): Implement more straightforward.
2532 (remove): Write-lock here.
2533 (removeImpl): Don't write-lock here.
2535 2006-11-20 Roman Kennke <kennke@aicas.com>
2537 * javax/swing/JEditorPane.java
2538 (setPage): Set priority on loading thread.
2540 2006-11-20 Roman Kennke <kennke@aicas.com>
2542 * javax/swing/plaf/basic/BasicTextUI.java
2543 (RootView.paint): Avoid allocation.
2544 (cachedInsets): New field. Caches an Insets instance.
2545 (getNextVisualPositionFrom): Read-lock the document to avoid
2546 thread nastiness. Push allocation.
2547 (getPreferredSize): Push fake allocation when not yet laid out.
2548 (getVisibleEditorRect): Use cached insets.
2549 (viewToModel): Read-lock the document to avoid
2550 thread nastiness. Push allocation.
2552 2006-11-20 Roman Kennke <kennke@aicas.com>
2554 * javax/swing/text/StyleContext.java
2555 (attributeSetPool): Synchronize this map.
2556 (addAttribute): Synchronize this method.
2557 (addAttributes: Synchronize this method.
2558 (readObject): Install synchronized map on target object.
2559 (removeAttribute): Synchronize this method.
2560 (removeAttributes): Synchronize this method.
2561 (removeAttributes): Synchronize this method.
2563 2006-11-20 Roman Kennke <kennke@aicas.com>
2565 * javax/swing/text/GapContent.java
2566 (GapContentPosition.GapContentPosition): Removed constructor.
2567 (Mark): Made subclass of WeakReference to refer directly to
2568 the associated position.
2569 (Mark.refCount): Removed.
2570 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2571 New constructor. Used to reference a position and register the
2573 (Mark.Mark(index)): Call super and don't adjust mark offset.
2574 (Mark.compareTo): Removed.
2575 (Mark.equals): Removed.
2576 (Mark.getOffset): Return at least null. Removed assert.
2577 (Mark.getPosition): New helper method.
2578 (garbageMarks): New field.
2579 (positions): Removed.
2580 (searchMark): New field.
2581 (GapContent): Removed init of positions map.
2582 (addImpl): New helper method.
2583 (adjustPositionsInRange): Removed.
2584 (compare): New helper method.
2585 (createPosition): Rewritten for new datastructures. This now
2586 performs a much more efficient binary search for finding
2587 a position at the requested offste.
2588 (garbageCollect): Rewritten to collect unused marks.
2589 (getPositionsInRange): Adjusted for new data structures.
2590 (removeImpl): New helper method.
2591 (replace): Use new addImpl() and removeImpl() helper method for
2592 correctly adjusting the positions and gap.
2593 (search): Rewritten. Implements a more suitable binary search.
2594 (searchFirst): New helper method.
2595 (setPositionsInRange): Removed.
2596 (shiftEnd): Update the marks here.
2597 (shiftGap): Update the marks here.
2598 (shiftGapEndUp): Update the marks here.
2599 (shiftGapStartDown): Update the marks here.
2601 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2603 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2604 digest algorithm implementations.
2605 (readSignatures): Parse the manifest once and reuse that data.
2606 Add support for line breaks.
2607 (verifyHashes): Use the parsed manifest entry.
2608 (readManifestEntry): Removed.
2610 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2612 * java/beans/beancontext/BeanContextServicesSupport.java:
2613 Added more documentation.
2614 (addService(Class,BeanContextServiceProvider,boolean)):
2615 Synchronized over global hierarchy lock.
2616 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2617 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2618 (childJustRemovedHook(Object,BCSChild)): Implemented.
2619 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2621 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2622 Added revocation-only listeners.
2623 (getBeanContextServicesPeer()): Implemented.
2624 (getCurrentServiceClasses(Class)): Synchronized over global
2626 (getCurrentServiceSelectors(Class)): Synchronized over global
2627 hierarchy lock, and fixed FIXME.
2628 (getService(BeanContextChild,Object,Class,Object,
2629 BeanContextServiceRevokedListener)): Implemented.
2630 (hasService(Class)): Synchronized over global hierarchy lock.
2631 (releaseService(BeanContextChild,Object,Object)): Implemented.
2632 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2633 * java/beans/beancontext/BeanContextSupport.java:
2634 (remove(Object, boolean)): Documentation correction.
2636 2006-11-19 Roman Kennke <kennke@aicas.com>
2638 * javax/swing/JEditorPane.java
2639 (PageStream): New inner class.
2640 (PageLoader): New inner class.
2641 (loading): New field.
2642 (setPage): Implemented asynchronous loading.
2643 * javax/swing/text/DefaultStyledDocument.java
2644 (ElementBuffer.create): New helper method.
2645 (create): Use new ElementBuffer method instead of hack.
2646 * javax/swing/text/html/HTMLDocument.java
2647 (HTMLReader.flushImpl): New helper method.
2648 (HTMLReader.addContent): Use flushImpl().
2649 (HTMLReader.blockClose): Added null check.
2650 (HTMLReader.flush): Use flushImpl().
2651 * javax/swing/text/html/HTMLEditorKit.java
2652 (createDefaultDocument): Set load priority to 4 and token threshold
2654 * javax/swing/text/html/TableView.java
2655 (insertUpdate): Overridden to provide correct view factory.
2656 (removeUpdate): Overridden to provide correct view factory.
2657 (changedUpdate): Overridden to provide correct view factory.
2659 2006-11-19 Roman Kennke <kennke@aicas.com>
2661 * javax/swing/text/BoxView.java
2662 (clipRect): New field.
2663 (tmpRect): New field.
2664 (layout): Reorganized code. Now uses layoutAxis() helper method.
2665 (layoutAxis): New helper method.
2666 (paint): Optimized by using cached Rectangle objects and
2667 a binary search for child views inside the clip.
2668 * javax/swing/text/CompositeView.java
2669 (insideAllocation): Made private and initialized in constructor.
2670 (getInsideAllocation): Removed initialization block for
2671 insideAllocation field. Avoid unnecessary allocations.
2672 * javax/swing/text/GlyphView.java
2673 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2674 The remaining stuff (background, underline and striking) is
2675 done in the GlpyhView itself. Avoid unnecessary allocations.
2676 (cached): A cached Segment instance.
2677 (getText): Return cached segment.
2678 (paint): Paint underline, strike and background here. Avoid
2681 2006-11-19 Roman Kennke <kennke@aicas.com>
2683 * javax/swing/text/html/StyleSheet.java
2684 (getFontSize): Removed debug output.
2685 (ListPainter.tmpRect): New field.
2686 (ListPainter.paint): Align bullet vertically centered to
2687 the first line of the paragraph.
2689 2006-11-17 Roman Kennke <kennke@aicas.com>
2691 * gnu/javax/swing/text/html/css/CSSParser.java
2692 (parseDeclaration): Trim string before reporting.
2693 * gnu/javax/swing/text/html/css/FontSize.java
2695 (isRelative): New field.
2696 (sizeIndex): New field.
2697 (FontSize): Initialize new fields.
2698 (getValue): Changed to call getValue(int).
2699 (getValue(int)): New method. Implements relative font sizes.
2700 (isRelative): New method.
2701 (mapAbsolute): Store index.
2702 (mapEM): New helper method.
2703 (mapLarger): New helper method.
2704 (mapPercent): New helper method.
2705 (mapRelative): New helper method.
2706 (mapSmaller): New helper method.
2707 (mapValue): New helper method.
2708 * javax/swing/text/html/CSS.java
2709 (parseBackgroundShorthand): Create CSSColor directly.
2710 * javax/swing/text/html/StyleSheet.java
2711 (addRule): Invalidate resolved styles.
2712 (getFont): Call new getFontSize() method to resolve relative
2714 (getFontSize): New helper method. Resolves relative font sizes.
2715 (translateHTMLToCSS): Create CSS objects directly.
2717 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2719 * gnu/java/util/regex/RETokenNamedProperty.java:
2720 (getHandler(String)): Add support for 'all'.
2722 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2724 * gnu/javax/management/Server.java:
2725 Initial implementation of a GNU management server.
2726 * javax/management/MBeanPermission.java,
2727 * javax/management/MBeanRegistration.java,
2728 * javax/management/MBeanTrustPermission.java:
2731 2006-11-17 Mark Wielaard <mark@klomp.org>
2733 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2735 2006-11-17 Gary Benson <gbenson@redhat.com>
2737 * java/net/DatagramSocket.java (getLocalAddress, connect,
2738 receive): Perform security check on address not hostname.
2740 2006-11-16 Roman Kennke <kennke@aicas.com>
2742 * gnu/javax/swing/text/html/parser/support/Parser.java
2743 (_handleText): Fixed condition for consuming whitespace.
2744 Removed validator check, this is superfluous now.
2746 2006-11-16 Roman Kennke <kennke@aicas.com>
2748 * gnu/javax/swing/text/html/css/CSSParser.java
2749 (parseRuleset): Support 'combined' selectors.
2750 (main): Adapt callback for combined selectors support.
2751 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2752 (startStatement): Take selector array as argument, to
2753 support combined selectors.
2754 * javax/swing/text/html/BlockView.java
2755 (calculateMinorAxisRequirements): Fetch and apply alignment.
2756 * javax/swing/text/html/StyleSheet.java
2757 (CSSStyle): Inverted the constants for correct precedence.
2758 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2760 (CSSStyleSheetParserCallback.style): Removed.
2761 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2762 (CSSStyleSheetParserCallback.end): Push multiple styles.
2763 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2765 2006-11-16 Roman Kennke <kennke@aicas.com>
2767 * javax/swing/text/FlowView.java
2768 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2769 * javax/swing/text/GlyphView.java
2770 (tabExpander): New field.
2772 (breakView): Set tabX on broken view.
2773 (getPartialSpan): Let the painter fetch the span.
2774 (getTabbedSpan): Update the tab expander field. Maybe trigger
2776 (getTabExpander): Simply return the stored expander.
2777 * javax/swing/text/Utilities.java
2778 (getTabbedTextOffset): Made algoritm a little smarter and more
2780 (getTabbedTextWidth): Don't add single char widths, instead add
2781 chunks of characters.
2782 * javax/swing/text/html/ParagraphView.java
2783 (calculateMinorAxisRequirements): Adjust margin only when the
2784 CSS span is not fixed.
2786 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2788 * java/beans/beancontext/BeanContextSupport.java
2789 (getChildBeanContextMembershipListener): Implemented,
2790 (getChildPropertyChangeListener): Implemented,
2791 (getChildSerializable): Implemented,
2792 (getChildVetoableChangeListener): Implemented,
2793 (getChildVisibility): Implemented,
2794 (setDesignTime): Use same property name as Sun's implementation.
2796 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2798 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2799 * java/beans/Statement.java
2800 (toString): Updated to match reference implementation.
2802 2006-11-15 Roman Kennke <kennke@aicas.com>
2804 * javax/swing/text/html/HTMLEditorKit.java
2805 (InsertHTMLTextAction.actionPerformed): Also try inserting
2806 the alternate tag. Adjust the selection accordingly.
2807 (InsertHTMLTextAction.adjustSelection): New helper method.
2808 Adjusts the selection after an insertion.
2809 (insertAtBoundary): Delegate to deprecated method.
2810 (insertAtBoundry): Implemented missing method.
2811 (tryInsert): New helper method.
2812 (defaultActions): Implemented to fill the array with
2813 a couple of InsertHTMLTextActions.
2815 2006-11-15 Roman Kennke <kennke@aicas.com>
2817 * javax/swing/text/html/ImageView.java
2818 (Observer): New class. Observes image loading.
2819 (haveHeight): New field.
2820 (haveWidth): New field.
2821 (height): New field.
2824 (imageIcon): New field.
2825 (loading): New field.
2826 (observer): New field.
2827 (reloadImage): New field.
2828 (reloadProperties): New field.
2829 (ImageView): Initialize observer and some flags.
2830 (getImage): Update the image state and return the image.
2831 (loadImage): New helper method. Actually starts loading.
2832 (paint): Rewritten to paint the image directly, not via Icon.
2833 (reloadImage): Rewritten. Loads the image and its properties.
2834 (renderIcon): Removed. No more necessary.
2835 (setPropertiesFromAttributes): Don't nullify image here.
2836 Added comment about missing impl.
2837 (setSize): Added comment about missing impl.
2838 (updateSize): New helper method. Updates the size attributes.
2839 (updateState): New helper method. Makes sure the image
2840 and its properties are valid.
2842 2006-11-15 Roman Kennke <kennke@aicas.com>
2844 * gnu/javax/swing/text/html/parser/support/Parser.java
2845 (_handleEndTag_remaining): Consume whitespace after a closing
2848 2006-11-15 Roman Kennke <kennke@aicas.com>
2850 * javax/swing/text/html/HTMLDocument.java
2851 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2853 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2855 (HTMLReader.parseStack): Removed.
2856 (HTMLReader.blockClose): Simply call addContent() with ' '
2857 instead of doing more complicated stuff. Removed parseStack
2859 (HTMLReader.blockOpen): Removed parseStack handling.
2860 (getInsertingReader): Removed parseStack init.
2861 * gnu/javax/swing/text/html/parser/htmlValidator.java
2862 (closeTag): Return true only when the tag actually should be
2864 * gnu/javax/swing/text/html/parser/support/Parser.java
2865 (_handleEndTag): Only actually close the tag when the validator
2868 2006-11-15 Roman Kennke <kennke@aicas.com>
2870 * javax/swing/text/html/CSS.java
2871 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2873 * javax/swing/text/html/StyleSheet.java
2874 (BoxPainter.bottomPadding): New field.
2875 (BoxPainter.leftPadding): New field.
2876 (BoxPainter.rightPadding): New field.
2877 (BoxPainter.topPadding): New field.
2878 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2880 (BoxPainter.getInset): Recognize and include the padding.
2881 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2882 javax/swing/text/html/TableView.java
2883 (RowView.calculateMajorAxisRequirements): Adjust req's for
2885 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2886 (cellSpacing): New field.
2887 (columnRequirements): Made package private to avoid accessor method.
2888 (calculateMinorAxisRequirements): Include cellSpacing.
2889 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2890 (layoutMajorAxis): Likewise.
2891 (layoutColumns): Respect cellSpacing.
2892 (setParent): Overridden to fetch the CSS attributes when view gets
2894 (setPropertiesFromAttributes): New method. Fetches the cell
2895 spacing from the CSS attributes.
2897 2006-11-15 Roman Kennke <kennke@aicas.com>
2899 * gnu/javax/swing/text/html/parser/support/Parser.java
2900 (_handleText): Consume whitespace directly before a closing tag.
2901 (restOfTag): Consume whitespace directly after opening.
2902 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2903 (preprocess): Don't perform array boundary checking by
2904 catch AIOOBE, instead check the boundary in loop condition.
2905 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2906 (TAG_CLOSE): New constants. Describes the token pattern for
2909 2006-11-14 Roman Kennke <kennke@aicas.com>
2911 * javax/swing/text/html/ImageView.java
2912 (getPreferredSpan): Use CSS length values.
2913 * javax/swing/text/html/TableView.java
2914 (CellView.calculateMajorAxisRequirements): Overridden to
2915 set the maximum reqs to maximum.
2916 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2918 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2919 the total column reqs.
2920 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2921 the total column reqs.
2922 * gnu/javax/swing/text/html/css/CSSColor.java
2923 (convertValue): Catch NumberFormatExceptions for more robustness.
2924 * gnu/javax/swing/text/html/css/FontSize.java
2925 (mapPixels): Actually map px values. Catch NFE for more robustness.
2927 2006-11-14 Roman Kennke <kennke@aicas.com>
2929 * gnu/java/awt/font/autofit/AxisHints.java,
2930 * gnu/java/awt/font/autofit/Constants.java,
2931 * gnu/java/awt/font/autofit/GlyphHints.java,
2932 * nu/java/awt/font/autofit/Latin.java,
2933 * nu/java/awt/font/autofit/LatinAxis.java,
2934 * gnu/java/awt/font/autofit/LatinMetrics.java,
2935 * gnu/java/awt/font/autofit/Scaler.java,
2936 * gnu/java/awt/font/autofit/Script.java,
2937 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2938 * gnu/java/awt/font/autofit/Segment.java,
2939 * gnu/java/awt/font/autofit/Width.java:
2940 New classes. This is some skeleton stuff for the FreeType-alike
2942 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2943 * gnu/java/awt/font/opentype/OpenTypeFont.java
2944 (unitsPerEm): Made field public.
2945 (getRawGlyphOutline): New method. Fetches the raw outline.
2946 * gnu/java/awt/font/opentype/Scaler.java
2947 (getRawGlyphOutline): New method. Fetches the raw outline.
2948 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2949 (loadGlyph): New method. This is used to load raw outlines.
2950 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2951 (getRawOutline): New method. Fetches the raw outline.
2952 * gnu/java/awt/font/opentype/truetype/Zone.java:
2955 2006-11-14 Roman Kennke <kennke@aicas.com>
2957 * javax/swing/RepaintManager.java
2958 (RepaintManager): Fetch the default state for the double buffering
2959 from a system property gnu.swing.doublebuffering.
2961 2006-11-14 Roman Kennke <kennke@aicas.com>
2963 * javax/swing/plaf/basic/BasicLabelUI.java
2964 (cachedInsets): New field.
2965 (getFontMetrics): New helper method. Fetches the font metrics
2966 from the component or the toolkit.
2967 (getPreferredSize): Use getFontMetrics() helper method for
2968 fetching the font metrics.
2969 (paint): Use getFontMetrics() helper method for
2970 fetching the font metrics. Only paint if icon or text
2971 are != null. Use cached insets.
2972 (paintDisabledText): Don't store/restore color object. The
2973 JComponent painting mechanism takes care of this by calling
2975 (paintEnabledText): Don't store/restore color object. The
2976 JComponent painting mechanism takes care of this by calling
2979 2006-11-14 Roman Kennke <kennke@aicas.com>
2981 * gnu/java/awt/peer/GLightweightPeer.java
2982 (handleEvent): Try to do something reasonable and trigger painting
2983 for the lightweight component.
2984 (getFontMetrics): Fetch and return a font metrics object from
2987 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2989 * gnu/java/util/regex/RETokenNamedProperty.java:
2990 (getHandler(String)): Add support for 'all'.
2992 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2994 * AUTHORS: Add myself.
2996 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2998 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2999 Dalibor Topic. Re-order 'K' section. Remove trailing space from
3000 Roman Kennke's entry.
3002 2006-11-13 Roman Kennke <kennke@aicas.com>
3004 * java/awt/image/IndexColorModel.java
3005 (createCompatibleSampleModel): Implemented missing method.
3007 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
3009 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3010 from big endian systems correctly.
3012 2006-11-11 Roman Kennke <kennke@aicas.com>
3014 * gnu/javax/swing/text/html/css/CSSColor.java
3015 (isValidColor): New helper method. Checks strings if they
3016 form a valid color value.
3017 * gnu/javax/swing/text/html/css/Length.java
3018 (Length): Catch number format exceptions.
3019 * javax/swing/text/html/CSS.java
3020 (addInternal): New method. Checks for shorthand CSS attributes
3022 (parseBackgroundShorthand): New method. Parses the background
3023 shorthand attribute.
3024 * javax/swing/text/html/HTMLDocument.java
3025 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3026 (HTMLReader.LinkAction.start): Implemented to load the linked
3028 (HTMLReader.LinkAction.end): Removed. This is not needed.
3029 * javax/swing/text/html/StyleSheet.java
3030 (CSSStyleSheetParserCallback.declaration): Push declaration
3031 through CSS.addInternal() to parse shorthand attributes.
3032 (addCSSAttribute): Push declaration through CSS.addInternal()
3033 to parse shorthand attributes.
3034 (importStyleSheet): Implemented. This adds a stylesheet from
3036 * javax/swing/text/html/TableView.java
3037 (calculateColumnRequirements): Increase column index for
3038 non CellView children to avoid endless loop.
3039 * javax/swing/text/CompositeView.java
3040 (setParent): Comparen with numChildren not with real arraylength.
3042 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
3044 * java/beans/beancontext/BeanContextSupport.java
3045 (getChildBeanContextChild): Implemented.
3047 2006-11-10 Roman Kennke <kennke@aicas.com>
3049 * javax/swing/text/View.java
3050 (updateLayout): Only repaint when needed.
3052 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
3054 * java/util/Collections.java
3055 (sort(List)): Minor API doc addition,
3056 (sort(List, Comparator)): Likewise.
3058 2006-11-10 David Fu <fchoong@netbeans.jp>
3060 * javax/swing/text/html/HTMLWriter.java
3061 (traverse): Removed Classpath specific handling of implied
3063 (traverseHtmlFragment): Removed Classpath specific handling of
3066 2006-11-10 Roman Kennke <kennke@aicas.com>
3068 * javax/swing/text/ParagraphView.java
3069 (Row.getMaximumSize): Removed. This method is not necessary.
3070 * javax/swing/text/html/TableView.java
3071 (CellView): Moved attribute init to setPropertiesFromAttributes().
3072 (setPropertiesFromAttributes): Fetch attributes here.
3073 (RowView.RowView): Documented.
3074 (RowView.getMaximumSpan): Overridden to restrict the max span
3076 (RowView.layoutMajorAxis): Correctly layout the spans.
3077 (columnWidths): New field. Stores the width attributes of
3079 (calculateColumnRequirements): Added support for relative
3080 (== percent) width attributes.
3081 (calculateMajorAxisRequirements): Removed.
3082 (calculateMinorAxisRequirements): Removed unnecessary code.
3083 (getMaximumSpan): Overridden to restrict the table's width.
3084 (layoutColumns): Documented. Implement more clever table layout,
3085 i.e. for relative columns etc.
3086 (layoutMinorAxis): Don't mark rows invalid.
3087 (updateGrid): Added docs. Initialize column widths.
3089 2006-11-09 Roman Kennke <kennke@aicas.com>
3091 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3092 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3093 Implement basic headless toolkit.
3094 * java/awt/Toolkit.java
3095 (getDefaultToolkit): Check headless property and create
3096 headless toolkit when true.
3098 2006-11-09 Ingo Proetel <proetel@aicas.com>
3099 2006-11-09 Roman Kennke <kennke@aicas.com>
3101 * gnu/java/awt/peer/swing/SwingButtonPeer.java
3102 (SwingButton.button): New field.
3103 (SwingButton.SwingButton): Added constructor.
3104 (SwingButton.isShowing): Access button field instead of
3105 the surrounding class.
3106 (SwingButton.getParent): Access button field instead of
3107 the surrounding class.
3108 (SwingButtonPeer): Call new SwingButton constructor.
3109 * gnu/java/awt/peer/swing/SwingComponent.java:
3110 Several documentation updates.
3111 * gnu/java/awt/peer/swing/SwingComponentPeer.java
3112 (currentPaintEvents): New field.
3113 (peerFont): New field.
3114 (SwingComponentPeer): Initialize currentPaintEvents fields.
3115 (coalescePaintEvents): Implemented.
3116 (dispose): Unregister peer from heavyweight list of its container.
3117 (getGraphics): Fetch graphics from parent component.
3118 (handleEvent): Discard paint event if its coalesced.
3119 (init): Register component with its container for proper painting.
3120 (paint): Call peerPaint().
3121 (peerPaint): Added argument that indicates if we should update.
3122 Call paint or update on the actual AWT component.
3123 (peerPaintComponent): New method. Paints the peer (Swing) component.
3124 (setFont): Set peerFont field.
3125 * gnu/java/awt/peer/swing/SwingContainerPeer.java
3126 (backbuffer): New field.
3127 (focusOwner): New field.
3128 (heavyweightDescendents): New field.
3129 (SwingContainerPeer): Take Container as argument. Don't call init
3131 (addHeavyweightDescendent): New method.
3132 (getFocusOwner): New helper method.
3133 (getInsets): Delegate to insets().
3134 (handleKeyEvent): Dispatch event to focus owner.
3135 (handleMouseEvent): Dispatch to child component.
3136 (isDoubleBuffering): New helper method.
3137 (peerPaint): Overridden to implement container painting with
3139 (peerPaintChildren): New method. Paints the descendents of this
3141 (removeHeavyweightDescendent): New helper method.
3142 * gnu/java/awt/peer/swing/SwingFramePeer.java
3143 (peerPaint): Removed.
3144 (peerPaintComponent): Overridden to paint the menu bar.
3145 * gnu/java/awt/peer/swing/SwingLabelPeer.java
3146 (SwingLabel.label): New field.
3147 (SwingLabel.SwingLabel): Added constructor with Label argument.
3148 (SwingLabel.getGraphics): Implemented to fetch the graphics from
3149 the actual AWT component.
3150 (SwingLabel.getParent): Implemented to fetch the parent from
3152 (SwingLabel.isShowing): Access the label field.
3153 (SwingLabelPeer): Set alignment from label.
3154 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3155 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3157 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3158 Don't be a lighweight peer.
3159 (SwingPanelPeer): Call init.
3160 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3161 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3162 (SwingTextField.textField): New field.
3163 (SwingTextField.SwingTextField): New constructor.
3164 (SwingTextField.isShowing): Access field not enclosing class.
3165 (SwingTextField.getGraphics): New method.
3166 (SwingTextField.getParent): New method.
3167 (SwingTextFieldPeer): Call new constructor.
3168 (select): Renamed arguments.
3169 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3170 (SwingWindowPeer): Call init.
3172 2006-11-09 Tania Bento <tbento@redhat.com>
3174 * javax/swing/JLabel.java
3175 (JLabel(Icon)): Changed documentation; Changed text to null.
3176 (JLabel(Icon,int)): Likewise.
3177 (JLabel(text)): Changed documenation.
3178 (JLabel(text,int)): Likewise.
3179 (JLabel(text,Icon,int)): Changed documentation; Throw
3180 IllegalArgumentException if int is not one of LEFT, RIGHT,
3181 CENTER, LEADING or TRAILING.
3183 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3185 * java/beans/beancontext/BeanContextSupport.java
3186 (BeanContextSupport): Use correct dtime default,
3187 (BeanContextSupport(BeanContext)): Likewise,
3188 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3190 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3191 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3193 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3195 * java/beans/beancontext/BeanContextSupport.java
3196 (getBeanContextPeer): Implemented.
3198 2006-11-09 Roman Kennke <kennke@aicas.com>
3200 * javax/swing/text/html/BlockView.java
3201 (cssHeight): Removed.
3202 (cssWidth): Removed.
3203 (cssSpans): New field. Replaces the two fields above.
3204 (BlockView): Allocate cssSpans array.
3205 (layoutMinorAxis): Fetch and use child span, not this view's span.
3206 (setCSSSpan): Adjusted to use cssSpans array.
3207 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3209 2006-11-09 Roman Kennke <kennke@aicas.com>
3211 * javax/swing/text/html/InlineView.java
3212 (nowrap): New field.
3213 (getBreakWeight): Add support for nowrap.
3214 (setPropertiesFromAttributes): Fetch the nowrap setting.
3216 2006-11-09 Roman Kennke <kennke@aicas.com>
3218 * gnu/javax/swing/text/html/css/CSSParser.java
3219 (parseRuleset): Use new Selector class.
3220 (parseValue): Parse multiple anys, not only one.
3221 (main): Allow stylesheet be specified on the command line.
3222 Use new Selector class.
3223 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3224 (startStatement): Use Selector class.
3225 * gnu/javax/swing/text/html/css/CSSScanner.java
3226 (readName): Actually read a character in the loop to avoid
3228 * gnu/javax/swing/text/html/css/Length.java
3229 (getValue): Only multiply when we have a percentage value.
3230 * gnu/javax/swing/text/html/css/Selector.java:
3231 New class. Provides handling of CSS selectors.
3232 * javax/swing/text/html/StyleSheet.java
3233 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3234 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3235 (CSSStyle.PREC_NORM): New constant field.
3236 (CSSStyle.PREC_UA): New constant field.
3237 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3238 (CSSStyle.precedence): New field.
3239 (CSSStyle.priority): Removed.
3240 (CSSStyle.selector): New field.
3241 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3243 (CSSStyle.compareTo): Adjusted to use the precedence and
3244 specificity of the selector.
3245 (CSSStyleSheetParserCallback.precedence): New field.
3246 (CSSStyleSheetParserCallback.selector): Removed.
3247 (CSSStyleSheetParserCallback.style): New field.
3248 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3249 Initialize with precedence.
3250 (CSSStyleSheetParserCallback.declaration): Don't look up
3251 existing rule, simply create new one.
3252 (CSSStyleSheetParserCallback.endStatement): Append style
3254 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3256 (css): Changed to be ArrayList.
3257 (addRule): Create parser with author-normal precendence.
3258 (getRule): Fixed implementation.
3259 (loadRules): Create parser with UA precendence.
3260 (resolveStyle): Use Selector class for resolving and matching
3262 (translateHTMLToCSS): Added mappings for a couple of HTML
3265 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3268 * java/beans/SimpleBeanInfo.java
3269 (loadImage): Check for nulls.
3271 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3273 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3274 (getpeername): Added 16 byte offset to memcpy operation.
3276 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3278 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3279 (getsockname): Added 16 byte offset to memcpy operation.
3281 2006-11-08 Mark Wielaard <mark@klomp.org>
3284 * java/io/OutputStreamWriter.java
3285 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3286 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3288 2006-11-08 Roman Kennke <kennke@aicas.com>
3290 * javax/swing/text/html/HTMLEditorKit.java
3291 (getParser): Use plain HTML_401F DTD.
3292 * javax/swing/text/html/HTMLDocument.java
3293 (HTMLReader.print): Removed method and all calls to it.
3294 (HTMLReader.printBuffer): Removed method and all calls to it.
3295 (HTMLReader.inImpliedParagraph): New field.
3296 (HTMLReader.inParagraph): New field.
3297 (HTMLReader.addContent): Create implied p-tag if necessary.
3298 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3299 (HTMLReader.blockClose): Close implied p-tag if necessary.
3300 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3301 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3303 2006-11-08 Roman Kennke <kennke@aicas.com>
3305 * javax/swing/text/html/HTMLEditorKit.java
3306 (HTMLFactory.create): Removed mapping for TD tag. This
3307 is done in TableView.
3308 * javax/swing/text/html/TableView.java:
3309 Implemented from scratch.
3311 2006-11-07 Roman Kennke <kennke@aicas.com>
3313 * gnu/javax/swing/text/html/parser/support/Parser.java
3314 (_handleText): Check if text content is actually allowed before
3315 passing empty text fragments on to the parser callbacks.
3317 2006-11-07 Mark Wielaard <mark@klomp.org>
3319 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3323 2006-11-07 Tania Bento <tbento@redhat.com>
3325 * java/awt/FlowLayout.java
3326 (getSize): If parent does not have a component, then a
3327 different formula is used to calcuate the width.
3329 2006-11-07 Roman Kennke <kennke@aicas.com>
3331 * javax/swing/text/html/HTMLEditorKit.java
3332 (HTMLFactory.create): Include ListView.
3333 * javax/swing/text/html/ListView.java
3334 (paint): Removed comment.
3335 * javax/swing/text/html/StyleSheet.java
3336 (CSSStyle.priority): New field.
3337 (CSSStyle.CSSStyle(int)): New constructor with priority.
3338 (CSSStyle.compareTo): New method. Used for sorting the styles.
3339 (CSSStyleSheetParserCallback.declaration): Store the style
3340 with the complete selector.
3341 (ListPainter.attributes): Renamed as field.
3342 (ListPainter.styleSheet): New field.
3343 (ListPainter.type): New field.
3344 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3345 (ListPainter.paint): Provide simplistic implementation.
3346 (getListPainter): Pass StyleSheet to constructor.
3347 (resolveStyle): Fixed CSS style resolving.
3349 2006-11-07 Roman Kennke <kennke@aicas.com>
3351 * gnu/javax/swing/text/html/css/BorderWidth.java:
3352 New class. Handles CSS border width values.
3353 * gnu/javax/swing/text/html/css/Length.java
3354 (floatValue): Made protected so that BorderWidth can access it.
3355 * javax/swing/text/html/CSS.java
3356 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3357 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3358 (Attribute.BORDER_LEFT_COLOR): New static field.
3359 (Attribute.BORDER_LEFT_STYLE): New static field.
3360 (Attribute.BORDER_RIGHT_COLOR): New static field.
3361 (Attribute.BORDER_RIGHT_STYLE): New static field.
3362 (Attribute.BORDER_TOP_COLOR): New static field.
3363 (Attribute.BORDER_TOP_STYLE): New static field.
3364 (getValue): Added some mappings for the border color and
3365 border width values.
3366 * javax/swing/text/html/CSSBorder.java: New class. Implements
3368 * javax/swing/text/html/StyleSheet.java
3369 (BoxPainter.background): New field.
3370 (BoxPainter.border): New field.
3371 (BoxPainter.bottomInset): Documented.
3372 (BoxPainter.leftInset): Documented.
3373 (BoxPainter.rightInset): Documented.
3374 (BoxPainter.topInset): Documented.
3375 (BoxPainter.BoxPainter): Added support for borders and background.
3376 (BoxPainter.getInset): Add border insets.
3377 (BoxPainter.paint): Implemented. Paints the background and the
3379 (addRule): Be less picky about parse and IO exceptions.
3380 (getBoxPainter): Adjust to new BoxPainter constructor.
3382 2006-11-07 Andreas <a.tobler@schweiz.org>
3384 * examples/Makefile.am: Add rule to install the *.html files we use
3387 2006-11-06 Francis Kung <fkung@redhat.com>
3389 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3390 (fillRect): Handle custom composites.
3391 (drawRenderedImage): Handle custom composites.
3392 (drawImage): Handle custom composites.
3393 (createBuffer): New method.
3394 (drawLine): Handle custom composites.
3395 (drawComposite): New method.
3396 (fill): Handle custom composites.
3397 (getNativeCM): New method.
3398 (drawGlyphVector): Handle custom composites.
3399 (drawRect): Handle custom composites.
3400 (draw): Handle custom composites.
3401 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3402 (drawComposite): Unset composite during draw call, to prevent parent
3403 from handling composite again.
3404 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3405 (getBufferCM): Added comments.
3406 (getNativeCM): Made abstract.
3407 (setComposite): Removed comments.
3409 2006-11-06 Roman Kennke <kennke@aicas.com>
3411 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3412 Fixed initial window size and start document.
3414 2006-11-06 Roman Kennke <kennke@aicas.com>
3416 * javax/swing/text/html/HTMLDocument.java
3417 (HTMLReader.addSpecialElement): Removed comment about
3419 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3420 of htmlAttributeSet.
3421 * javax/swing/text/html/parser/DocumentParser.java
3422 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3423 of htmlAttributeSet.
3424 * javax/swing/text/html/parser/ParserDelegator.java
3425 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3426 of htmlAttributeSet.
3427 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3428 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3429 of htmlAttributeSet.
3430 * gnu/javax/swing/text/html/parser/support/Parser.java
3431 (getAttributes): Return a SimpleAttributeSet.
3432 (restOfTag): Don't set resolving parent here.
3434 2006-11-06 Tania Bento <tbento@redhat.com>
3436 * java/awt/TextComponent.java
3437 (setSelectionStart): Added check.
3439 2006-11-06 Tania Bento <tbento@redhat.com>
3441 * java/awt/TextField.java
3442 (minimumSize(int)): Check if minimum size has been previously
3443 set and changed values of Dimension returned if peer == null.
3444 (preferredSize(int)): Check if preferred size has been previously
3445 set and changed values of Dimension returned if peer == null.
3447 2006-11-06 Roman Kennke <kennke@aicas.com>
3449 * javax/swing/JTree.java
3450 (TreeModelHandler.treeNodesRemoved): Implemented.
3451 (TreeModelHandler.treeStructureChanged): Implemented.
3452 (nodeStates): Made package private.
3454 2006-11-06 Francis Kung <fkung@redhat.com>
3457 * javax/swing/JTree.java
3458 (clearSelectionPathStates): New private method to clean up nodeStates.
3459 (removeSelectionPath): Call clearSelectionPathStates().
3460 (removeSelectionPaths): Call clearSelectionPathStates().
3461 (removeSelectionRow): Call clearSelectionPathStates().
3462 (setSelectionPath): Call clearSelectionPathStates().
3463 (setSelectionPaths): Call clearSelectionPathStates().
3464 (setSelectionRow): Call clearSelectionPathStates().
3466 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3469 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3471 2006-11-06 Roman Kennke <kennke@aicas.com>
3473 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3474 Changed to implement a minimalistic browser.
3475 * examples/gnu/classpath/examples/swing/forms.html,
3476 * examples/gnu/classpath/examples/swing/textstyles.html,
3477 * examples/gnu/classpath/examples/swing/welcome.html:
3478 Some example content.
3480 2006-11-06 Roman Kennke <kennke@aicas.com>
3482 * javax/swing/text/ComponentView.java
3483 (setParent): Lock the document and repaint the hosting
3485 * javax/swing/text/FlowView.java
3486 (FlowStrategy.createView): Removed comment.
3487 (FlowView): Initialize span with Short.MAX_VALUE.
3488 (getFlowStart): Return 0 unconditionally.
3489 (layout): Moved code around to make it more readable.
3490 (loadChildren): Always set the parent.
3491 * javax/swing/text/GlyphView.java
3492 (DefaultGlyphPainter.fontMetrics): New field.
3493 (DefaultGlyphPainter.getAscent): Use new helper method to
3494 synchronize the font metrics.
3495 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3496 to synchronize the font metrics.
3497 (DefaultGlyphPainter.getDescent): Use new helper method to
3498 synchronize the font metrics.
3499 (DefaultGlyphPainter.getHeight): Use new helper method to
3500 synchronize the font metrics.
3501 (DefaultGlyphPainter.getSpan): Use new helper method to
3502 synchronize the font metrics.
3503 (DefaultGlyphPainter.modelToView): Use new helper method to
3504 synchronize the font metrics.
3505 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3506 font metrics caching.
3507 (DefaultGlyphPainter.viewToModel): Use new helper method to
3508 synchronize the font metrics. Fixed view to model mapping.
3509 * javax/swing/text/View.java
3510 (removeAll): Pass null to replace().
3511 (setParent): Only reparent children that have this view as parent.
3513 2006-11-05 Mark Wielaard <mark@klomp.org>
3515 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3516 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3517 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3519 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3521 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3522 Remove gnu_java_nio_channels_FileChannelImpl.c.
3524 2006-11-03 Roman Kennke <kennke@aicas.com>
3526 * javax/swing/text/html/BlockView.java
3527 (attributes): New field.
3528 (cssHeight): New field.
3529 (cssWidth): New field.
3530 (painter): New field.
3531 (calculateMajorAxisRequirements): Overridden to account for
3533 (calculateMinorAxisRequirements): Overridden to account for
3535 (layoutMinorAxis): Overridden to account for CSS settings.
3536 (changedUpdate): Formatting fixlet.
3537 (constrainSize): New helper method.
3538 (getAlignment): Fix alignment.
3539 (getAttributes): Cache attributes for better performance.
3540 (getStyleSheet): Fetch stylesheet from document rather than creating
3542 (paint): Remove comment.
3543 (setCSSSpan): New helper method.
3544 (setPropertiesFromAttributes): Implemented to fetch the
3545 recognized properties.
3546 * javax/swing/text/html/CSS.java
3547 (getValue): Added mapping for width and height attributes.
3548 * javax/swing/text/html/InlineView.java
3549 (longestWord): New field.
3550 (getLongestWord): New helper method.
3551 (calculateLongestWord): New helper method.
3552 (getMinimumSpan): Overridden to constrain the minimum span by the
3554 * javax/swing/text/html/ParagraphView.java
3555 (cssHeight): New field.
3556 (cssWidth): New field.
3557 (calculateMinorAxisRequirements): Overridden to account for
3559 (setCSSSpan): New helper method.
3560 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3562 * gnu/javax/swing/text/html/css/Length.java
3563 (percentage): New field.
3564 (Length): Determine percentage values.
3565 (getValue(float)): New method for handling percentage values.
3566 (isPercentage): New method.
3568 2006-11-03 Tania Bento <tbento@redhat.com>
3570 * java/awt/TextArea.java
3571 (getMinimumSize): Changed documentation.
3572 (getPreferredSize): Changed documentation.
3573 (getMinimumSize(int,int)): Changed documenation.
3574 (getPreferredSize(int,int)): Changed documenation.
3575 (minimumSize): Changed documentation.
3576 (preferredSize): Changed documenation.
3577 (minimumSize(int,int)): Changed documentation. Checked if
3578 minimum size had been previously set and changed values of
3579 Dimension returned if peer == null.
3580 (preferredSize(int, int)): Checked if preferred size had been
3581 previously set and changed values of Dimension returned if
3584 2006-11-03 Tania Bento <tbento@redhat.com>
3586 * java/awt/event/ComponentEvent.java
3587 (paramString): Changed format of string representation returned.
3589 2006-11-03 Roman Kennke <kennke@aicas.com>
3591 * javax/swing/text/html/HTMLDocument.java
3592 (HTMLReader.FormAction.start): Added support for textarea.
3593 (HTMLReader.FormAction.end): Added support for textarea.
3594 (HTMLReader.HeadAction.end): Call super to actually close the
3596 (HTMLReader.inTextArea): New field.
3597 (HTMLReader.textAreaDocument): New field.
3598 (HTMLReader.handleText): Call textAreaContent when inside
3600 (HTMLReader.textAreaContent): Implemented to initialize
3601 the text area's model.
3602 * javax/swing/text/html/FormView.java
3603 (createComponent): Added support for textarea tag.
3605 2006-11-03 Roman Kennke <kennke@aicas.com>
3607 * javax/swing/text/html/HTMLDocument.java
3608 (HTMLReader.IsindexAction.start): Implemented.
3610 2006-11-03 Roman Kennke <kennke@aicas.com>
3612 * javax/swing/text/html/StyleSheet.java
3613 (addRule): Implemented.
3614 * javax/swing/text/html/HTMLDocument.java
3615 (HTMLReader.inStyleTag): New field.
3616 (HTMLReader.styles): New field.
3617 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3619 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3620 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3621 (HTMLReader.handleText): When inside a style tag, add
3622 content to the styles array.
3624 2006-11-02 Roman Kennke <kennke@aicas.com>
3626 * javax/swing/text/html/FormView.java
3627 (maxIsPreferred): New field.
3628 (createComponent): Initialize components correctly.
3629 (getMaximumSpan): Return the preferred span for components
3630 that need this. The maxIsPreferred flag is set accordingly
3632 * javax/swing/text/html/HTMLDocument.java
3633 (HTMLReader.FormAction.start): Implemented to set the
3634 correct model as attribute.
3635 (HTMLReader.FormAction.setModel): New helper method.
3636 (HTMLReader.FormAction.end): Call super to finish the element.
3637 Added TODO about things left to do.
3638 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3639 than htmlAttributeSet.
3640 * javax/swing/text/html/HTMLEditorKit.java
3641 (HTMLFactory.create): Create BlockView for FORM tags.
3642 Create FormView for INPUT, TEXTAREA and SELECT tags.
3644 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3646 * java/awt/geom/GeneralPath.java: API doc fixes.
3648 2006-11-02 Roman Kennke <kennke@aicas.com>
3650 * javax/swing/text/html/ImageView.java
3651 (getImageURL): Fetch attribute from element. Consider the
3652 base URL for relative image locations.
3654 2006-11-02 Roman Kennke <kennke@aicas.com>
3656 * javax/swing/JEditorPane.java
3657 (setContentType): Strip off attributes.
3658 * javax/swing/text/html/HTMLEditorKit.java
3659 (LinkController.activateLink(int,JEditorPane,int,int): New
3660 method. Implements activation of a hyperlink.
3661 (LinkController.activateLinke(int,JEditorPane)): Delegate
3662 to the other activateLink() method.
3663 (LinkController.createHyperlinkEvent): New helper method.
3664 (LinkController.mouseClicked): Implemented to activate the link.
3665 (LinkController.mouseDragged): Added comment that this
3666 method does nothing.
3667 (LinkController.mouseMoved): Update cursor for hyperlinks.
3668 (mouseHandler): Renamed field to linkController.
3669 (HTMLEditorKit): Create a link controller.
3670 (clone): Give the clone a new link controller.
3671 (deinstall): De-install link controller as mouseMotionListener too.
3672 (install): Install link controller as mouseMotionListener too.
3674 2006-11-02 Roman Kennke <kennke@aicas.com>
3677 * javax/swing/text/FlowView.java
3678 (FlowStrategy.changedUpdate): Reversed condition. This caused
3679 wrong layout and bad performance.
3680 (FlowStrategy.insertUpdate): Reversed condition. This caused
3681 wrong layout and bad performance.
3682 (FlowStrategy.removeUpdate): Reversed condition. This caused
3683 wrong layout and bad performance.
3684 (LogicalView): Changed to be a subclass of CompositeView.
3685 (LogicalView()): Only take one Element argument.
3686 (LogicalView.childAllocation): New method for implementing
3687 the abstract CompositeView method.
3688 (LogicalView.forwardUpdateToView): Overridden for correct
3690 (getMinimumSpan): Overridden to handle line breaking correctly.
3691 (getPreferredSpan): Implemented to handle line breaking correctly.
3692 (getViewAtPoint): New method for implementing
3693 the abstract CompositeView method.
3694 (getViewIndexAtPosition): Overridden to handle leaf elements
3696 (isAfter): New method for implementing
3697 the abstract CompositeView method.
3698 (isBefore): New method for implementing
3699 the abstract CompositeView method.
3700 (loadChildren): Overridden to handle leaf elements
3702 (paint): New method for implementing
3703 the abstract CompositeView method.
3704 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3705 (loadChildren): Initialize flow layout by sending a synthetic
3706 insertUpdate() to the layout strategy.
3707 * javax/swing/text/GlyphView.java
3708 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3709 font metrics if component is not available. Add initial offset
3711 (breakView): Be more clever when breaking the view.
3712 (getBreakLocation): New helper method to determine a good
3714 (getBreakWeight): Be more clever when breaking the view.
3715 (getTabbedSpan): Make sure we have a painter. Use view's
3716 start and end offset rather than the element's.
3717 * javax/swing/text/Utilities.java
3718 (drawTabbedText): Avoid useless add and sub with the y offset.
3720 2006-11-02 Roman Kennke <kennke@aicas.com>
3723 * gnu/java/awt/peer/ClasspathFontPeer.java
3724 (getStringBounds): Removed abstract method. This is replaced
3725 in java.awt.Font to use a TextLayout.
3726 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3727 (GtkWindowPeer): Set a font on the window object.
3728 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3729 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3730 Changed to take char,int,int instead of String. Filter
3732 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3733 Create char array out of string.
3734 (getLogicalBounds): Don't translate bounds. They already are
3736 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3737 (stringWidth): Filter out control characters.
3738 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3739 (getStringBounds): Removed unneeded method.
3740 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3742 * gnu/java/awt/peer/qt/QtFontPeer.java
3743 (getStringBounds): Removed unneeded method.
3744 * gnu/java/awt/peer/x/XFontPeer.java
3745 (getStringBounds): Removed unneeded method.
3746 * gnu/java/awt/peer/x/XFontPeer2.java
3747 (getStringBounds): Removed unneeded method.
3748 * java/awt/Font.java
3749 (getStringBounds(char[],int,int,FontRenderContext)):
3750 Use TextLayout to determine the bounds.
3751 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3752 Delegate to the char[] version of this method.
3753 (getStringBounds(String,FontRenderContext)):
3754 Delegate to the char[] version of this method.
3755 (getStringBounds(String,int,int,FontRenderContext)):
3756 Delegate to the String version of this method.
3758 2006-11-01 Tania Bento <tbento@redhat.com>
3760 * java/awt/ScrollPaneAdjustable.java
3761 (paramString): Changed format of string representation returned.
3762 (paramStringHelper): New private method.
3764 2006-11-01 Tania Bento <tbento@redhat.com>
3766 * java/awt/GridBagLayout.java
3767 (toString): Implemented method.
3769 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3771 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3772 initialization to NP_Initialize.
3773 (NP_Initialize): Initialize GLib threading.
3775 2006-10-31 Tania Bento <tbento@redhat.com>
3777 * javax/swing/JTextField.java
3778 (fireActionPerformed): When creating the new event, if
3779 actionCommand == null, then getText() is used.
3781 2006-10-31 Francis Kung <fkung@redhat.com>
3783 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3784 (fillArc): Corrected arc type to Arc2D.PIE.
3786 2006-10-31 Roman Kennke <kennke@aicas.com>
3788 * javax/swing/text/html/HTMLDocument.java
3789 (HTMLReader.PreAction.end): Implemented.
3790 (HTMLReader.PreAction.start): Implemented.
3791 (HTMLReader.inPreTag): New field.
3792 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3793 (HTMLReader.preContent): Implemented.
3795 2006-10-31 Tania Bento <tbento@redhat.com>
3797 * javax/swing/JTextField.java
3798 (fireActionPerformed): When creating the new event,
3799 actionCommand should be used as the command, not
3802 2006-10-31 Roman Kennke <kennke@aicas.com>
3804 * javax/swing/text/html/HTMLEditorKit.java
3805 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3806 HTML or Styled documents.
3808 2006-10-31 David Fu <fchoong@netbeans.jp>
3810 * javax/swing/text/html/HTMLWriter.java: New class.
3812 2006-10-30 Roman Kennke <kennke@aicas.com>
3814 * java/awt/dnd/DragSourceContext.java
3815 (dragExit): Use constant fields instead of 0.
3816 (updateCurrentCursor): Completed implementation.
3818 2006-10-30 Roman Kennke <kennke@aicas.com>
3820 * java/awt/dnd/DragGestureRecognizer.java
3821 (resetRecognizer): Added API docs. Do not replace the events object
3822 but rather clear() it. Removed not implemented tag.
3824 2006-10-30 Roman Kennke <kennke@aicas.com>
3826 * java/awt/datatransfer/DataFlavor.java
3827 (writeExternal): Remove not implemented tag.
3829 2006-10-30 Roman Kennke <kennke@aicas.com>
3831 * java/awt/datatransfer/DataFlavor.java
3832 (javaFileListFlavor): Don't explicitly specify class.
3833 (plainTextFlavor): Don't explicitly specify class.
3834 (mimeType): Changed to type MimeType. Remove final.
3835 (representationClass): Remove final.
3836 (DataFlavor): Don't do anything here.
3837 (DataFlavor(Class,String,String)): Removed.
3838 (DataFlavor(Class,String)): Initialize here.
3839 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3840 (DataFlavor(String,String)): Initialize in init().
3841 (DataFlavor(String)): Initialize in init().
3842 (init): New initialization method.
3843 (getMimeType): Delegate to MimeType.toString().
3844 (getParameter(String,String)): Removed. Is now done in MimeType.
3845 (getParameter(String)): Delegate to MimeType.
3846 (getPrimaryType): Delegate to MimeType.
3847 (getRepresentationClassFromMime): Removed.
3848 (getRepresentationClassFromMimeThrows): Removed.
3849 (getSubType): Delegate to MimeType.
3850 (hashCode): Take MimeType.toString() for the hashCode.
3851 (isFlavorRemoveObjectType): Return true only when representation
3852 class is remove and serializable and the mime type is remote.
3853 (isFlavorSerializedObjectType): Return true only when representation
3854 class is serializable and the mime type is serialized.
3855 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3856 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3857 (readExternal): Implemented stub method.
3858 (writeExternal): Implemented stub method.
3859 * java/awt/datatransfer/MimeType.java: New helper class.
3861 2006-10-28 Roman Kennke <kennke@aicas.com>
3863 * javax/swing/TransferHandler.java
3864 (importData): Implemented stub method. Added API docs.
3866 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3868 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3870 * native/jni/classpath/classpath_jawt.h: Likewise.
3871 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3872 initializer for surface_info_x11->depth.
3874 2006-10-26 Tania Bento <tbento@redhat.com>
3876 * java/awt/FileDialog.java:
3877 (setFile): Changed if-clause condition.
3879 2006-10-25 Francis Kung <fkung@redhat.com>
3881 * include/gnu_java_nio_VMChannel.h,
3882 * include/java_net_VMNetworkInterface.h,
3883 * include/gnu_java_nio_EpollSelectorImpl.h,
3884 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3885 * include/gnu_java_nio_FileChannelImpl.h,
3886 * include/gnu_java_nio_KqueueSelectorImpl.h,
3887 * include/gnu_java_nio_VMPipe.h,
3888 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3890 2006-10-25 Tania Bento <tbento@redhat.com>
3892 * java/awt/Dialog.java: Created new private variable
3894 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3895 Set cursor to default cursor.
3896 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3898 (generateName): New method.
3899 (getUniqueLong): New private method.
3900 * java/awt/FileDialog.java: Created new private variable
3901 next_file_dialog_number.
3902 (setFile): If file == "", set it to null.
3903 (generateName): New method.
3904 (getUniqueLong): New private method.
3906 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3908 * java/net/MulticastSocket.java:
3909 (setNetworkInterface): Rewritten.
3911 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3913 * native/jni/java-net/javanet.h: Added declaration for
3914 _javanet_create_inetaddress.
3915 * native/jni/java-net/javanet.c:
3916 (_javanet_create_inetaddress): Removed static keyword.
3918 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3920 * gnu/java/net/PlainDatagramSocketImpl.java:
3921 (connect): Use VMChannel instance for connect call.
3922 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3923 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3924 (setOption): Handle multicast options.
3925 (getOption): Handle multicast options.
3926 * gnu/java/net/PlainSocketImpl.java:
3927 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3928 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3929 (setOption): Filter unappropriate options.
3930 (getOption): Filter unappropriate options.
3931 (connect): Use given SocketAddress.
3932 (close): Reset address and port.
3934 * include/Makefile.am: Removed all occurences of
3935 gnu_java_net_VMPlainDatagramSocketImpl.h.
3936 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3937 * native/jni/java-net/Makefile.am: Removed
3938 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3939 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3941 as SocketException, declare to throw SocketException.
3942 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3943 for SocketException and ConnectException.
3944 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3946 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3948 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3949 (JCL_thread_interrupted): New function.
3950 (initIDs): Added initialisation for isThreadInterrupted method id.
3951 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3952 CPNET_IP_TTL to java_sockopt enum.
3953 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3954 case, handle SO_LINGER case properly.
3955 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3956 case, handle SO_LINGER case properly.
3957 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3959 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3961 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3963 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3965 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3966 * vm/reference/gnu/java/nio/VMChannel.java:
3967 (connect(int, byte[], int, int)): Declare to throw SocketException.
3968 (connect6): Declare to throw SocketException.
3969 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3970 (isThreadInterrupted): New method.
3971 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3973 (setTimeToLive): New method.
3974 (getTimeToLive): New method.
3975 (setMulticastInterface(int, InetAddress)): New method.
3976 (setMulticastInterface(int, int, Inet4Address): New method.
3977 (setMulticastInterface6(int, int, Inet6Address): New method.
3978 (setOptions): Handle SO_LINGER case.
3979 (getOptions): Add missing SO_REUSEADDR case.
3980 * java/net/Socket.java:
3981 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3982 when exception was thrown out of connect().
3983 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3984 Boolean.FALSE with Integer.valueOf(-1).
3985 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3986 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3987 * NEWS: Documented VM interface changes.
3989 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3991 * java/net/Inet6Address.java:
3992 (isMulticastAddress): Fixed check.
3994 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3997 * java/net/MulticastSocket.java:
3998 (getNetworkInterface): Return a special NetworkInterface instance
3999 if the socket's multicast interface is set to any.
4001 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4004 * java/net/NetworkInterface.java:
4005 (createAnyInterface): New method.
4006 (equals): Added if-statement to handle case where netif.name is null.
4007 * vm/reference/java/net/VMNetworkInterface.java:
4008 (hashCode): Rewritten.
4009 (VMNetworkInterface): New constructor.
4011 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4013 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4014 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4015 Add ASM_JAR to bootclasspath.
4017 2006-10-24 Tania Bento <tbento@redhat.com>
4019 * java/awt/Scrollbar.java:
4020 (setLineIncrement): Removed unnecessary if-clause and if
4021 lineIncrement == 0, then it should be set to 1, not 0.
4022 (setPageIncrement): Removed unnecessary if-clause and if
4023 pageIncrement == 0, then it should be set to 1, not 0.
4024 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4025 If maximum <= minimum, maximum should be set to mininum + 1. The
4026 actual value of maximum is maximum - visibleAmount, so I made
4027 this change to the appropriate if-check. Remove the two unneccessary
4030 2006-10-23 Francis Kung <fkung@redhat.com>
4032 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4033 (cairoSetFont): New method.
4034 (copy): Set font using setFont method.
4035 (setFont): Call cairoSetFont.
4036 (setup): Set font using setFont method.
4037 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4039 (install_font_peer): Removed.
4040 (cairoDrawGlyphVector): Removed call to install_font_peer.
4041 (cairoSetFont): New method.
4043 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4045 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4046 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4047 NativeEventLoopRunningEvent after GTK main loop start and stop.
4048 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4049 (getNextEvent): Set dispatchThread to null.
4050 (postEventImpl): Set nativeLoopRunning.
4051 (pop): Interrupt event dispatch thread.
4052 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4054 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
4056 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4058 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4061 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
4063 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4064 * javax/crypto/CipherOutputStream.java: Re-implemented.
4065 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4066 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4067 decryption mode and check if it is a complete block.
4068 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4069 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4070 partially processed data into account.
4072 2006-10-21 Tom Tromey <tromey@redhat.com>
4075 * java/util/AbstractCollection.java (toArray): Removed cast.
4077 2006-10-20 Tom Tromey <tromey@redhat.com>
4079 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4080 Don't use mangled class name for .h file.
4081 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4082 Don't use mangled class name for .c file.
4083 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4084 Handle classes from the default package.
4086 2006-10-20 Francis Kung <fkung@redhat.com>
4088 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4090 2006-10-19 Francis Kung <fkung@redhat.com>
4093 * java/awt/image/BufferedImage.java
4094 (constructor): Updated some properties of default image types.
4095 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4096 (argb32): Updated field to match default in BufferedImage.
4098 2006-10-18 Roman Kennke <kennke@aicas.com>
4101 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4102 (copyArea): Changed size comparison to return when size == 0
4104 * javax/swing/JViewport.java
4105 (paintBackingStore): Check width and height of blitted area
4106 and only do blit if its > 0.
4107 (paintBlit): Check width and height of blitted area
4108 and only do blit if its > 0.
4110 2006-10-18 Roman Kennke <kennke@aicas.com>
4113 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4114 (maximize): New native method.
4115 (unmaximize): New native method.
4116 (iconify): New native method.
4117 (deiconify): New native method.
4118 (getState): Implemented.
4119 (setState): Implemented.
4120 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4121 (oldState): Rename to windowState and made protected, so that
4122 the FramePeer can access it.
4123 (postWindowEvent): Handle state change events more gently and
4125 * java/awt/Frame.java
4126 (getState): Fetch state from getExtendedState().
4127 (setExtendedState): Update the peer. Check if the state change
4128 is actually supported.
4129 (getExtendedState): Update the state from the peer.
4130 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4131 (maximize): New method.
4132 (unmaximize): New method.
4133 (iconify): New method.
4134 (deiconify): New method.
4135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4136 (AWT_FRAME_NORMAL): New macro.
4137 (AWT_FRAME_ICONIFIED): New macro.
4138 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4139 (window_window_state_cb): Rewritten to handle window state changes
4140 more gently (mostly on the java side of the world).
4141 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4143 2006-10-18 Tania Bento <tbento@redhat.com>
4145 * java/awt/CardLayout.java:
4146 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4147 its height and width if Container passed as argument is null.
4148 (gotoComponent): Consider the case where the component is not visible.
4150 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4152 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4154 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4156 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4158 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4160 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4162 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4163 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4164 Retrieve user-visible strings through Messages.getString.
4165 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4166 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4168 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4170 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4172 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4174 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4176 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4179 2006-10-18 Roman Kennke <kennke@aicas.com>
4181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4182 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4183 (window_show_cb): Removed unnecessary function.
4184 (connect_signals): Don't connect signal for show. *
4185 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4186 (hasBeenShown): Removed. This is handled in java.awt.Window.
4187 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4188 in java.awt.Window. * java/awt/Window.java
4189 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4191 2006-10-18 Francis Kung <fkung@redhat.com>
4193 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4194 (drawRenderedImage): New method.
4195 (drawImage): New method.
4196 (CairoSurfaceGraphics): Set clip.
4197 (createBuffer): New method.
4198 (getBufferCM): New method.
4199 (drawComposite): New method.
4201 (getNativeCM): New method.
4202 (drawGlyphVector): New method.
4204 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4205 (getNativeCM): Reflect renamed field.
4206 * gnu/java/awt/peer/gtk/CairoSurface.java
4207 (cairoCM_pre): Renamed from cairoColorModel.
4208 (cairoColorModel): Set premultiplication to false.
4210 2006-10-18 Roman Kennke <kennke@aicas.com>
4213 * javax/swing/JScrollPane.java
4214 (viewportBorder): Made field private.
4215 (wheelScrollingEnabled): Made field private.
4216 (JScrollPane): Enabled wheel scrolling by default.
4217 * javax/swing/JTree.java
4218 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4220 (getScrollableUnitIncrement): Fixed thinko.
4221 * javax/swing/plaf/basic/BasicScrollBarUI.java
4222 (static scrollByBlock): New static method to avoid code duplication
4223 for the BasicScrollPane wheel scrolling.
4224 (static scrollByUnits): New static method to avoid code duplication
4225 for the BasicScrollPane wheel scrolling.
4226 (scrollByBlock): Delegate to static helper method.
4227 (scrollByUnit): Delegate to static helper method.
4228 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4229 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4230 static helper methods to avoid code duplication.
4231 (MouseWheelHandler.bounds): Removed.
4232 (MouseWheelHandler.getValue): Removed.
4233 (MouseWheelHandler.scroll): Removed.
4235 2006-10-18 Roman Kennke <kennke@aicas.com>
4238 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4239 (updateComponent): Don't override this here.
4240 * java/awt/Window.java
4241 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4242 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4244 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4247 2006-10-18 Roman Kennke <kennke@aicas.com>
4249 * javax/swing/JEditorPane.java
4250 (getStream): Try to detect and set the content type of the
4253 2006-10-18 Roman Kennke <kennke@aicas.com>
4255 * javax/swing/RepaintManager.java
4256 (RepaintWorkerEvent): Pass full set of params to super.
4257 (RepaintWorker.dispatch): Overridden to allow apps to call this
4259 (addDirtyRegion): Synchronize a little more to protect the
4260 dirtyComponents field and avoid NPEs.
4261 (invokeLater): Pass full set of params to RepaintWorkerEvent
4264 2006-10-18 Roman Kennke <kennke@aicas.com>
4266 * javax/swing/JEditorPane.java
4267 (page): Removed field. The page is now stored in the correct
4269 (getPage): Fetch page URL from document property.
4270 (read): Set the document for this JEditorPane. Use a Reader
4271 for reading in the document.
4272 (setPage): Call getStream() to get the stream from which we read.
4273 Fire property change. Store page in document property.
4275 2006-10-18 Roman Kennke <kennke@aicas.com>
4277 * java/awt/datatransfer/DataFlavor.java
4278 (DataFlavor(String)): Removed check for space in mime string.
4280 2006-10-18 Roman Kennke <kennke@aicas.com>
4282 * java/awt/Container.java
4283 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4284 begin|endValidate().
4285 (validate): Call ContainerPeer.begin|endValidate() here.
4286 Added some local vars to avoid NPEs.
4288 2006-10-18 Roman Kennke <kennke@aicas.com>
4290 * native/target/.cvsignore
4291 * native/target/Linux/.cvsignore
4292 * native/target/generic/.cvsignore:
4293 Added to let CVS ignore the generated Makefile and Makefile.in
4296 2006-10-18 Roman Kennke <kennke@aicas.com>
4299 * java/awt/Window.java
4300 (eventTypeEnabled): Overridden to handle WindowEvents.
4301 (processEvent): Switch between processWindowEvent(),
4302 processWindowFocusEvent() and processWindowStateEvent() here,
4303 rather than simply calling processWindowEvent().
4304 (processWindowEvent): Only dispatch event to listener, do not
4305 switch to processWindowFocusEvent() or processWindowStateEvent()
4307 * javax/swing/JFrame.java
4308 (frameInit): Explicitly enable window and key events here.
4309 (processWindowEvent): Throw out some unnecessary code.
4310 * javax/swing/JWindow.java
4311 (windowInit): Explicitly enable key events here.
4312 * javax/swing/JDialog.java
4313 (close_action): Renamed to closeAction.
4314 (dialogInit): Explicitly enable window events here.
4315 (getDefaultCloseOperation): Renamed close_action to closeAction.
4316 (processWindowEvent): Throw out some unnecessary code.
4317 Renamed close_action to closeAction.
4318 (setDefaultCloseOperation): Renamed close_action to closeAction.
4320 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4322 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4323 to track native GTK event loop status.
4324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4325 clear running flag when native GTK event loop starts and stops.
4327 2006-10-17 Roman Kennke <kennke@aicas.com>
4329 * javax/swing/TransferHandler.java
4330 (exportToClipboard): Implemented.
4332 2006-10-17 Francis Kung <fkung@redhat.com>
4334 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4335 region to account for pixel-shifting.
4336 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4339 2006-10-17 Francis Kung <fkung@redhat.com>
4342 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4343 (getLogicalBounds): Translate individual glyphs before appending bounds.
4344 (getOutline): Translate individual glyphs before appending outline.
4346 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4349 * java/awt/font/TextLayout.java
4351 (constructor): Store bidi in field.
4352 (getCharacterLevel): Implemented.
4354 2006-10-17 Roman Kennke <kennke@aicas.com>
4356 * javax/swing/TransferHandler.java
4357 (PropertyTransferable): New inner class. Handles transfers
4358 from component properties.
4359 (createTransferable): Implemented.
4361 2006-10-17 Francis Kung <fkung@redhat.com>
4363 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4364 (drawComposite): Ensure composite does not extend beyond buffer
4366 * java/awt/image/Raster.java
4367 (createChild): Ensure child does not extend beyond parent's
4369 * java/awt/image/WritableRaster.java
4370 (createWritableChild): Ensure child does not extend beyond
4373 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4375 * native/jni/classpath/jcl.c
4376 (JNI_OnLoad): Corrected calling convention.
4378 2006-10-16 Roman Kennke <kennke@aicas.com>
4380 * javax/swing/TransferHandler.java
4381 (propertyName): New field.
4382 (TransferHandler(String)): Store property name in field.
4383 (canImport): Implemented stub method.
4384 (exportDone): This is a no-op. Removed not-implemented mark.
4385 (getPropertyDataFlavor): New helper method.
4386 (getPropertyDescriptor): New helper method.
4388 2006-10-16 Roman Kennke <kennke@aicas.com>
4390 * javax/swing/AbstractButton.java
4391 (AccessibleJButton.getAfterIndex): Implemented.
4392 (AccessibleJButton.getAtIndex): Implemented.
4393 (AccessibleJButton.getBeforeIndex): Implemented.
4394 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4395 method implementation.
4397 2006-10-16 Roman Kennke <kennke@aicas.com>
4399 * javax/swing/JLabel.java
4400 (AccessibleJLabel.getIndexAtPoint): Implemented.
4401 (AccessibleJLabel.getCharacterBounds): Implemented.
4402 (AccessibleJLabel.getTextRectangle): New helper method.
4404 2006-10-16 Roman Kennke <kennke@aicas.com>
4406 * javax/swing/filechooser/FileSystemView.java
4407 (getFileSystemView): Mark as implemented.
4409 2006-10-14 Roman Kennke <kennke@aicas.com>
4412 * javax/swing/JComponent.java
4413 (toolTipText): Removed field.
4414 (createToolTip): Don't set tooltip text here. This is done
4415 in the ToolTipManager.
4416 (setToolTipText): Set tooltip text as client property.
4417 (getToolTipText): Get tooltip text from client property.
4418 * javax/swing/ToolTipManager.java
4419 (currentComponent): Made field non-static and of type JComponent.
4420 (currentPoint): Made field non-static.
4421 (currentTip): Made field non-static.
4422 (popup): Made field non-static.
4423 (toolTipText): New field. Stores the current tooltip text.
4424 (checkTipUpdate): New helper method. Checks for updates of
4425 the tooltip text and triggers the appropriate actions.
4426 (getContentPaneDeepestComponent): Removed unneeded casts.
4427 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4428 text from component.
4429 (mouseMoved): Check for tooltip text updates.
4430 (showTip): Set tooltip text from current setting.
4432 2006-10-14 Roman Kennke <kennke@aicas.com>
4435 * javax/swing/JSlider.java
4436 (setPaintLabels): Call setLabelTable() instead of setting
4437 the field directly. This also updates the label's size.
4439 2006-10-13 Tom Tromey <tromey@redhat.com>
4441 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4444 2006-10-13 Tania Bento <tbento@redhat.com>
4446 * java/awt/ScrollPane.java
4447 (setLayout): Should throw AWTError whenever called.
4449 2006-10-13 Roman Kennke <kennke@aicas.com>
4452 * java/awt/Component.java
4453 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4454 update the AWT's knowledge about a component's size.
4455 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4456 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4457 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4458 to update the AWT's knowledge about the component bounds.
4460 2006-10-13 Tania Bento <tbento@redhat.com>
4462 * java/awt/ScrollPaneAdjustable.java
4463 (setMaximum): Should throw AWTError whenever called.
4465 (setVisibleAmount): Same.
4467 2006-10-13 Tania Bento <tbento@redhat.com>
4469 * java/awt/ScrollPane.java
4470 (addImpl): When calling super, index should be value passed,
4472 (getIsValidString): New helper method for paramString().
4473 (getScrollbarDisplayString): New helper method for paramString().
4474 (paramString): Changed format of outputted string.
4476 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4478 * javax/swing/tree/DefaultTreeSelectionModel.java
4479 (clone): Added cast to TreePath[].
4481 2006-10-13 Roman Kennke <kennke@aicas.com>
4484 * javax/swing/JMenuItem.java
4485 (isDragging): New field. Indicates if we are inside a mouse
4487 (createMenuDragMouseEvent): Removed unneeded method.
4488 (processMenuDragMouseEvent): Track if we are dragging.
4489 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4490 * javax/swing/plaf/basic/BasicMenuItemUI.java
4491 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4492 MenuSelectionManager from event.
4493 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4494 MenuSelectionManager from event.
4495 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4496 MenuSelectionManager from event.
4497 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4498 release inside menu item, otherwise clear selection.
4499 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4500 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4501 (doClick): Perform an immediate click.
4503 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4505 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4506 return if object is not in the list.
4508 2006-10-12 Andrew Haley <aph@redhat.com>
4510 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4511 * java/lang/ThreadLocal.java: Likewise.
4513 2006-10-12 Roman Kennke <kennke@aicas.com>
4516 * javax/swing/JSlider.java
4517 (LabelUIResource): New inner class. A JLabel as UIResource.
4518 (createStandardLabels): Don't set label bounds here.
4519 Create LabelUIResource instances.
4520 (setInverted): Repaint.
4521 (setLabelTable): Update the label UIs. Revalidate and repaint.
4522 (setMajorTickSpacing): Update the label table. Repaint if
4524 (setMinorTickSpacing): Repaint if necessary.
4525 (setOrientation): Revalidate.
4526 (setPaintLabels): Revalidate and repaint.
4527 (setPaintTicks): Revalidate and repaint.
4528 (setPaintTrack): Repaint.
4529 (updateLabelUIs): Set the label sizes here.
4530 (updateUI): Also update the label UIs.
4531 * javax/swing/plaf/basic/BasicSliderUI.java
4532 (ComponentHandler.componentResized): Don't revalidate.
4533 (FocusHandler.focusGained): Don't set field.
4534 (FocusHandler.focusLost): Don't set field.
4535 (PropertyChangeHandler.propertyChange): Calculate geometry
4536 and repaint for a couple more properties.
4537 (TrackListener.mouseReleased): Repaint.
4538 (hasFocus): Removed unneeded field.
4539 (calculateContentRect): No need to check for content size < 0.
4540 (calculateFocusRect): Use insets from insetCache.
4541 (calculateLabelRect): Fixed calculation of label rectangle.
4542 It is relative to the tick rectangle, rather than the content
4544 (calculateTickRect): Small restructuring to avoid unnecessary
4546 (calculateTrackRect): Fixed calculation of track rectangle.
4547 (getMaximumSize): Fixed. Fetch preferred size and set
4548 the height of width to Short.MAX_VALUE.
4549 (getMinimumHorizontalSize): Fixed to return UIManager value.
4550 (getMinimumVerticalSize): Fixed to return UIManager value.
4551 (getPreferredHorizontalSize): Fixed to return UIManager value.
4552 (getPreferredVerticalSize): Fixed to return UIManager value.
4553 (getMinimumSize): Fixed to return the UIManager value plus
4555 (getPreferredSize): Fixed to return the UIManager value plus
4557 (getWidthOfWidestLabel): Restructured for more cleanness and
4559 (hitClip): New helper method.
4560 (paintHorizontalLabel): Replaced by more efficient and clean
4562 (paintVerticalLabel): Replaced by more efficient and clean
4564 (paintLabels): Replaced by more efficient and clean
4566 (paint): Check if rectangles intersect with clip for maximum
4568 (recalculateIfInsetsChanged): Fixed. This method should
4569 recalculate only when the insets changed.
4570 (setThumbLocation): Repaint with a reasonable clip.
4571 (xPositionForValue): Made more clean and efficient.
4572 (yPositionForValue): Made more clean and efficient.
4573 * javax/swing/plaf/basic/BasicLookAndFeel.java
4574 (initComponenDefaults): Added Slider.horizontalSize,
4575 Slider.verticalSize, Slider.minimumHorizontalSize and
4576 Slider.minimumVerticalSize properties.
4577 * javax/swing/plaf/metal/MetalSliderUI.java
4578 (getTickLength): Add 1 for horizontal sliders and 3 for
4580 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4581 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4582 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4583 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4585 2006-10-12 Roman Kennke <kennke@aicas.com>
4588 * javax/swing/text/FlowView.java
4589 (FlowStrategy.layout): Preserve logical views from getting lost.
4590 (FlowStrategy.layoutRow): Fix line breaking.
4591 (FlowStrategy.adjustRow): Fix line breaking.
4592 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4593 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4594 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4595 (createView): Don't check index.
4596 (contains): New helper method.
4597 (reparent): New helper method.
4598 (layoutDirty): Removed unneeded field.
4599 (FlowView): Removed layoutDirty field init.
4600 (changedUpdate): Removed layoutDirty handling.
4601 (insertUpdate): Removed layoutDirty handling.
4602 (removeUpdate): Removed layoutDirty handling.
4603 (layout): Use isLayoutValid() rather than the layoutDirty field.
4604 * javax/swing/text/GlyphView.java
4605 (startOffset): Removed.
4606 (endOffset): Removed.
4607 (offset): New field.
4608 (length): New field.
4609 (GlyphView): Initialize new fields. Removed old fields.
4610 (createFragment): Create fragment with new relative offsets.
4611 (getEndOffset): Work with new relative offsets.
4612 (getStartOffset): Work with new relative offsets.
4613 * javax/swing/text/ParagraphView.java
4614 (Row.getStartOffset): Overidden to determine the minimum start
4615 offset from the children.
4616 (Row.getEndOffset): Overidden to determine the maximum end
4617 offset from the children.
4618 * javax/swing/text/html/BRView.java
4619 Make subclass of InlineView.
4620 (getBreakWeight): Fall back to super for Y_AXIS.
4622 2006-10-12 Roman Kennke <kennke@aicas.com>
4625 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4626 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4627 one that avoids faulty state that could cause division by zero
4630 2006-10-12 Roman Kennke <kennke@aicas.com>
4633 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4634 (paint): Determine correct icon. Added support for HTML label.
4635 Added small optimizations.
4636 (getPreferredSize): Only consider the buttons iconTextGap, and
4637 only when the text is not null.
4638 * javax/swing/plaf/basic/BasicLookAndFeel.java
4639 (initComponentDefaults): Fetch border for RadioButton from
4640 BasicButtons.getRadioButtonBorder().
4641 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4642 (paintFocus): Paint focus rectangle one pixel smaller.
4644 2006-10-12 Roman Kennke <kennke@aicas.com>
4647 * javax/swing/tree/AbstractLayoutCache.java
4648 (getNodeDimensions): Don't throw InternalError, but instead
4650 (getRowsForPaths): Check for null here.
4651 (isFixedRowHeight): Returns true when rowHeight > 0.
4652 (setSelectionModel): Set this as the row mapper for the selection
4654 * javax/swing/tree/VariableHeightLayoutCache.java
4655 (NodeRecord.NodeRecord): Initialize bounds field.
4656 (getBounds): Simply return the bounds field.
4657 (row2Node): Changed to be an ArrayList.
4658 (RECT_CACHE): New field. Caches a Rectangle instance.
4659 (countRows): Added y parameter and return value. The method
4660 now takes the current y position as parameter, and returns
4661 the updated y position.
4662 (getBounds): Fixed to return the correct bounds.
4663 (getPathForRow): Replaced by fixed implementation.
4664 (getPreferredHeight): Replaced by more efficient implementation.
4665 This simply fetches the last node record and returns its lower
4667 (getPreferredWidth): Added null check.
4668 (getVisibleChildCount): Added null check.
4669 (getVisiblePathsFrom): Added null check.
4670 (setExpandedState): Also expand the ancestors of the node
4672 (setModel): Set dirty flag rather than updating for real.
4673 (setNodeDimensions): Overridden to set the dirty flag.
4674 (setRowHeight): Overridden to set the dirty flag.
4675 (update): Don't special case the root here, this is done now
4678 2006-10-12 Roman Kennke <kennke@aicas.com>
4680 * javax/swing/JComponent.java
4681 (paintImmediately2): Added support for components which need
4682 to force themselves as paint root.
4683 (isPaintRoot): New method. This should be overridden by components
4684 which need to force themselves as paint root.
4685 * javax/swing/JViewport.java
4686 (isPaintRoot): Overridden to force the viewport as paint root
4687 when running in backingstore mode.
4689 2006-10-12 Roman Kennke <kennke@aicas.com>
4691 * javax/swing/tree/DefaultTreeSelectionModel.java
4692 (PathPlaceHolder): New inner class. Wraps a path and its status
4694 (selectedPaths): New field. A supporting datastructure.
4695 (tmpPaths): New field. A supporting datastructure.
4696 (DefaultTreeSelectionModel): Initialize the list selection model,
4697 the leadIndex and the supporting datastructures.
4698 (addPropertyChangeListener): Create changeSupport object lazily.
4699 (addSelectionPaths): Mostly rewritten to handle the different
4700 selection modes correctly.
4701 (addSelectionPath): Delegate to addSelectionPaths().
4702 (arePathsContiguous): Replaced with more efficient implementation
4704 (canPathBeAdded): Removed unneeded method.
4705 (canPathsBeAdded): Replaced with more efficient implementation.
4706 (clearSelection): Create correct event. Clear the fields correctly,
4707 including the supporting datastructures.
4708 (clone): Also clone the supporting datastructures and nullify
4709 changeSupport field.
4710 (getMaxSelectionRow): Delegate to list selection model.
4711 (getMinSelectionRow): Delegate to list selection model.
4712 (getPath): Removed unneeded method.
4713 (getPropertyChangeListeners): Handle null changeSupport field
4715 (getRow): Handle null rowMapper field correctly.
4716 (getSelectionRows): Handle invisible rows correctly.
4717 (insureRowContinuity): Replaced by more efficient and correct
4719 (isRowSelected): Delegate to list selection model.
4720 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4722 (removePropertyChangeListener): Handle null changeSupport field.
4723 (removeSelectionPaths): Mostly rewritten to handle the different
4724 selection modes correctly.
4725 (removeSelectionPath): Delegate to removeSelectionPaths().
4726 (resetRowSelection): Handle list selection model.
4727 (selectOne): Removed unneeded field.
4728 (setRowMapper): Reset the row selection.
4729 (setSelectionMode): Check for invalid mode and set to
4730 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4731 (setSelectionPaths): Mostly rewritten to handle the different
4732 selection modes correctly.
4733 (setSelectionPath): Delegate to setSelectionPaths().
4734 (updateLeadIndex): Made more efficient.
4736 2006-10-11 Francis Kung <fkung@redhat.com>
4738 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4739 (buffer, locked): New fields.
4740 (constructors): Initialize new variables.
4741 (createBuffer): New method.
4742 (draw): Implement custom composites.
4743 (drawComposite): New method.
4744 (drawGlyphVector): Implement custom composites.
4745 (drawImage): Implement custom composites.
4746 (drawRenderedImage): Implement custom composites.
4747 (fill): Implement custom composites.
4748 (getBufferCM): New method.
4749 (getNativeCM): New method.
4750 (updateBufferedImage): Fix premultiplication.
4751 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4752 (copy): Copy composite.
4753 (drawImage): Set background properly.
4754 (getBufferCM): New method.
4755 (setComposite): Reset alpha composite when using custom composite.
4756 * gnu/java/awt/peer/gtk/CairoSurface.java
4757 (cairoColorModel): New field.
4758 (nativeColorModel): Renamed.
4759 (constructor): Use renamed createCairoSampleModel method.
4760 (createCairoSampleModel): New method.
4761 (createNativeSampleModel): Renamed.
4762 (getBufferedImage): Use renamed cairoColorModel field.
4763 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4764 (gdkColorModel): New field.
4765 (createGdkSampleModel): New method.
4766 (getPixels): Added comments.
4767 (getSnapshot): Use GDK colour and sample models.
4768 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4769 (createBuffer): Use GDK colour and sample models.
4770 (getNativeCM): Added comments.
4771 * java/awt/image/BufferedImage.java
4772 (constructor): Set premultiplied flag properly.
4774 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4776 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4777 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4779 2006-10-10 Francis Kung <fkung@redhat.com>
4782 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4783 (createPath): Added isDraw parameter.
4784 (draw): Updated createPath call.
4785 (fill): Updated createPath call.
4787 2006-10-10 Tom Tromey <tromey@redhat.com>
4790 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4791 there is a stylesheet.
4793 2006-10-10 Roman Kennke <kennke@aicas.com>
4795 * java/awt/Toolkit.java
4796 (getDefaultTookit): Make method synchronized to avoid
4797 accidentally creating more than one toolkits from different
4800 2006-10-10 Roman Kennke <kennke@aicas.com>
4802 * java/awt/LightweightDispatcher.java
4803 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4804 (redispatch): Transfer the button to the redispatched event.
4806 2006-10-10 Francis Kung <fkung@redhat.com>
4808 * java/awt/image/ColorModel.java (coerceData): Implemented.
4810 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4812 * vm/reference/java/lang/VMClassLoader.java:
4813 (defineClassWithTransformers): Use proper class name format.
4815 2006-10-09 Gary Benson <gbenson@redhat.com>
4817 * java/net/ServerSocket.java
4818 (implAccept): Add security check.
4819 (accept): Close socket if security check fails.
4820 (setSocketFactory): Add security check and already-set check.
4822 2006-10-09 Roman Kennke <kennke@aicas.com>
4825 * javax/swing/JSplitPane.java
4826 (dividerLocation): New field. Stores the divider location.
4827 (JSplitPane): Initialize dividerLocation with -1.
4828 (addImpl): Removed unneeded local variables.
4829 (getDividerLocation): Manage dividerLocation in the JSplitPane
4830 class, not in the UI.
4831 (setDividerLocation): Manage dividerLocation in the JSplitPane
4832 class, not in the UI. Only call the UI method for notification.
4833 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4834 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4835 location from the JSplitPane. Honour the minimumSize, but only
4836 if the divider location hasn't been set explicitly.
4837 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4839 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4841 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4842 the divider location.
4843 (dividerLocationSet): New field.
4844 (dividerLocation): Removed field.
4845 (createActionMap): Fetch and set divider location on the JSplitPane.
4846 (getDividerLocation): Return the actual real divider location.
4847 (getMaximumSize): Removed unneeded cast.
4848 (getPreferredSize): Removed unneeded cast.
4849 (getMinimumSize): Removed unneeded cast.
4850 (installUI): Initialize dividerLocationSet with false.
4851 (uninstallUI): Initialize dividerLocationSet with false.
4852 (setDividerLocation): Set dividerLocationSet to true.
4854 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4856 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4857 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4858 convert jstring into char *.
4859 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4860 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4861 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4862 (getif_address): Added const modifier to second argument.
4863 (getif_index): Dito.
4865 2006-10-09 Roman Kennke <kennke@aicas.com>
4867 * javax/swing/JTree.java
4868 (isSelected): Added API docs.
4870 2006-10-09 Roman Kennke <kennke@aicas.com>
4872 * javax/swing/JTree.java
4873 (isSelected): Delegate to the selection model directly.
4875 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4877 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4878 sizeof_struct_kevent to _sizeof_struct_kevent.
4880 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4882 * tools/gnu/classpath/tools/rmic/RMICException.java:
4883 javadoc corrections, reformatted.
4885 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4887 * gnu/java/lang/InstrumentationImpl.java:
4888 Made constructor package visible.
4890 2006-10-05 Gary Benson <gbenson@redhat.com>
4892 * java/net/Socket.java
4893 (Socket): Perform security check on address not hostname.
4895 2006-10-04 Roman Kennke <kennke@aicas.com>
4897 * javax/swing/tree/VariableHeightLayoutCache.java
4898 (getBounds): When rect is null, create a new Rectangle.
4900 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4902 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4903 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4904 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4905 (cpnio_select): Use CPNIO_EXPORT.
4906 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4907 inline instead of extern inline, as newer GCCs changed their
4910 2006-10-04 Gary Benson <gbenson@redhat.com>
4912 * java/net/InetAddress.java: Updated javadoc.
4913 (<clinit>, getByLiteral): Throw InternalError on failures.
4915 2006-10-03 Francis Kung <fkung@redhat.com>
4917 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4918 (compCtx): New field for composite context.
4919 (copy): Copy composite.
4920 (dispose): Dispose of composite context.
4921 (getNativeCM): New method.
4922 (setComposite): Discard old composite context and set up new context.
4923 (setRenderingHints): Update composite context.
4924 * gnu/java/awt/peer/gtk/CairoSurface.java
4925 (nativeColorModel): New field, renamed from nativeModel.
4926 (nativeModel): Renamed field to nativeColorModel.
4927 (CairoSurface(int, int)): Call new method to create sample model.
4928 (createNativeSampleModel): New method.
4929 (getBufferedImage): Updated variable name.
4930 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4931 (buffer): New field.
4932 (createBuffer): New method.
4934 (drawComposite): New method.
4935 (drawGlyphVector): New method.
4936 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4937 (drawImage(Image, int, int, ImageObserver)): Check composite.
4938 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4940 (getNativeCM): New method.
4941 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4942 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4943 intermediary pixbuf to grab on-screen pixels.
4945 2006-10-03 Tom Tromey <tromey@redhat.com>
4948 * java/util/IdentityHashMap.java (tombstone): Removed.
4949 (emptyslot): Removed.
4950 (nullslot): New field.
4951 (IdentityHashMap): Don't fill array.
4952 (clear): Fill with null.
4953 (hash): Now final. Use linear probing.
4954 (xform): New method.
4955 (unxform): Likewise.
4956 (removeAtIndex): Likewise.
4957 (clone, containsKey, containsValue, entrySet, get, hashCode,
4958 keySet, put, remove, values): Updated.
4959 (IdentityIterator, IdentityEntry): Likewise.
4960 (writeObject): Likewise.
4962 2006-10-03 Tom Tromey <tromey@redhat.com>
4964 * java/util/Locale.java (hashcode): Updated javadoc.
4965 (hashcodeCache): Removed.
4967 (hashCode): Updated.
4968 (writeObject): New method.
4969 (readObject): Updated.
4971 2006-10-02 Francis Kung <fkung@redhat.com>
4973 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4974 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4975 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4976 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4977 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4978 pre-multiply data before drawing.
4979 (fillRect): Draw using regular fill() method.
4980 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4981 * gnu/java/awt/peer/gtk/CairoSurface.java
4982 (nativeModel): Use correct value for alpha premultiplication (true).
4983 * java/awt/image/BufferedImage.java
4984 (coerceData): Update isPremultiplied field.
4986 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4988 * gnu/classpath/ListenerData.java:
4989 New class for holding listener data.
4990 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4991 ListenerData class moved to its own file.
4992 * javax/management/MBeanServerDelegate.java,
4993 * javax/management/MBeanServerDelegateMBean.java,
4994 * javax/management/MBeanServerNotification.java:
4997 2006-10-02 Tania Bento <tbento@redhat.com>
4999 * java/ast/Rectangle.java:
5000 (Rectangle(Rectangle)): Do not throw NPE.
5001 (Rectangle(Point, Dimension)): Same.
5002 (Rectangle(Point)): Same.
5003 (Rectangle(Dimension)): Same.
5005 2006-09-29 Casey Marshall <csm@gnu.org>
5008 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5009 `AbstractSelectionKey.'
5010 (cancel, isValid): removed.
5011 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5012 (events): new field.
5013 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5015 (<clinit>): initialize those constants.
5016 (<init>): don't initialize `cancelledKeys;' initialize `events.'
5017 (doSelect): deregister cancelled keys; remove keys attached to
5018 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5019 `events' buffer; reallocate `events' buffer if needed.
5020 (register): reallocate `events' buffer if needed.
5021 (reallocateBuffer): new method.
5024 2006-09-29 Roman Kennke <kennke@aicas.com>
5027 * javax/swing/JViewport.java
5028 (cinit): Renamed system property to gnu.swing.scrollmode
5029 to avoid bloat. Default to BACKINGSTORE, this is much
5031 (repaint): Forward repaint() to parent as is specified.
5033 2006-09-29 Tania Bento <tbento@redhat.com>
5035 * javax/swing/plaf/basic/BasicTableUI.java
5036 (getPreferredSize): The number of iterations for the for-loop should be
5037 the number of columns in the table's column model, not the number of
5038 columns of the table.
5039 * javax/swing/JTable.java
5040 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5041 lines that are not needed.
5042 (initializeLocalVars): dragEnabled should be set to false, not true.
5043 (getCellRenderer): Added a check to prevent an
5044 ArrayIndexOutOfBoundsException.
5045 (doLayout): The number of iterations for the for-loops should be the
5046 number of columns in the table's column model, not the number of columns
5049 2006-09-29 Roman Kennke <kennke@aicas.com>
5051 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5053 (isOptimized): Initialize with true.
5054 (paintRaster): Removed unneeded field.
5055 (shapeCache): New static field. Caches certain shapes for reuse.
5056 (computeIntersection): Removed unneeded casts.
5057 (drawArc): Use shape cache.
5058 (drawImage): Removed unneeded statement.
5059 (drawLine): Use shape cache. Pass untranslated coordinates
5061 (drawOval): Use shape cache.
5062 (drawPolygon): Use shape cache.
5063 (drawRect): Overridden to provide accelerated rectangle drawing
5064 if possible and to use the shape cache.
5065 (drawRoundRect): Use shape cache.
5066 (fillArc): Use shape cache.
5067 (fillOval): Use shape cache.
5068 (fillPolygon): Use shape cache.
5069 (fillRect): Pass untranslated coordinates to rawFillRect().
5071 (fillRoundRect): Use shape cache.
5072 (fillScanlineAA): Removed unneeded statement.
5073 (fillScanline): Updated API docs.
5074 (fillShapeAntialias): Removed unnecessary cast.
5075 (fillShapeImpl): Update API docs. Removed unnecessary cast.
5076 (fillShape): Updated API docs.
5077 (getShapeCache): New helper method.
5078 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5079 certain shapes for reuse in AbstractGraphics2D.
5081 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5083 * javax/management/BadBinaryOpValueExpException.java:
5084 (getExp()): Implemented.
5085 * javax/management/MBeanConnection.java:
5086 Renamed to MBeanServerConnection.
5087 * javax/management/MBeanServer.java:
5088 (setAttribute(Attribute)): Fixed...
5089 (setAttribute(ObjectName,Attribute)): to this.
5090 * javax/management/MBeanServerConnection.java:
5091 Renamed from MBeanConnection.
5092 * javax/management/QueryExp.java:
5093 Extend Serializable.
5094 * javax/management/ValueExp.java:
5096 * javax/management/loading/ClassLoaderRepository.java:
5097 (loadClass(String)): Throw ClassNotFoundException.
5098 (loadClassBefore(ClassLoader,String)): Likewise.
5099 (loadClassWithout(String, ClassLoader): Fixed...
5100 (loadClassWithout(ClassLoader,String)): to this.
5102 2006-09-28 Roman Kennke <kennke@aicas.com>
5104 * javax/swing/tree/DefaultTreeCellRenderer.java
5105 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5106 property from UIManager.
5107 (paint): Rewritten to use super's implementation and only paint
5108 background and focus indicator before.
5109 (paintFocus): New helper method.
5110 (getXOffset): New helper method.
5112 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5114 * javax/management/BadBinaryOpValueExpException.java,
5115 * javax/management/MBeanConnection.java,
5116 * javax/management/MBeanServer.java,
5117 * javax/management/ObjectInstance.java:
5119 * javax/management/ObjectName.java:
5120 (setMBeanServer(MBeanServer)): Implemented.
5121 * javax/management/QueryExp.java,
5122 * javax/management/ValueExp.java,
5123 * javax/management/loading/ClassLoaderRepository.java:
5126 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5128 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5130 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5132 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5133 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5134 * gnu/java/nio/EpollSelectorImpl.java:
5135 (doSelect): Use Integer.valueOf() instead of constructor call.
5136 (register): Use Integer.valueOf() instead of constructor call.
5138 2006-09-27 Roman Kennke <kennke@aicas.com>
5140 * java/awt/Container.java
5141 (addContainerListener): Activate newEventsOnly for the component.
5142 Ignore null listeners.
5144 2006-09-27 Roman Kennke <kennke@aicas.com>
5146 * java/awt/EventQueue.java
5147 (Queue): New inner class. Implements the actual queue.
5148 (LOW_PRIORITY): New constant field.
5149 (NORM_PRIORITY): New constant field.
5150 (queueHead): Removed. Moved into Queue.
5151 (queueTail): Removed. Moved into Queue.
5152 (queues): New field.
5153 (EventQueue): Initialize two internal queues, one for
5154 normal events, one for low priority events.
5155 (getNextEventImpl): New helper method, fetches the next event.
5156 (getNextEvent): Use getNextEventImpl() for fetching the event.
5157 (peekEvent): Use getNextEventImpl() for fetching the event.
5158 (peekEvent(int)): Search for event in all queues.
5159 (postEventImpl(AWTEvent)): Moved actual posting into
5160 postEventImpl(AWTEvent,int). Prioritize events here.
5161 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5162 event into correct queue. Re-enable event coalescing.
5163 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5164 * javax/swing/RepaintManager.java
5165 (RepaintWorkerEvent): New internal class. This is a low priority
5166 event for the repaint worker.
5167 (addDirtyRegion): Use new internal invokeLater() for sending
5168 a low priority event.
5169 (addInvalidComponent): Use new internal invokeLater() for sending
5170 a low priority event.
5171 (commitBuffer): Added some null checks.
5172 (invokeLater): New helper method. Sends a low priority
5173 repaint worker event on the event queue.
5175 2006-09-27 Roman Kennke <kennke@aicas.com>
5179 * javax/swing/plaf/basic/BasicButtonUI.java
5180 (cachedInsets): New field.
5181 (installListeners): Fire synthetic property change to initialize
5182 TEXT_LAYOUT_CACHE for the button because the font has been
5184 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5185 (paint): Use cached insets.
5186 (paintText): Let new method forward to old one, not vice versa.
5187 * javax/swing/plaf/basic/BasicMenuItemUI.java
5188 (defaultAcceleratorLabelGap): Removed unused field.
5189 (MenuGap): Removed unused field.
5190 (propertyChangeListener): Made private.
5191 (getAcceleratorRect): Removed unused method.
5192 (getAcceleratorText): Removed unused method.
5193 (getPath): Removed unnecessary cast.
5194 (installListeners): Fire synthetic property change to initialize
5195 TEXT_LAYOUT_CACHE for the button because the font has been
5197 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5198 (layoutMenuItem): Removed unused statements.
5200 2006-09-27 Roman Kennke <kennke@aicas.com>
5203 * javax/swing/tree/DefaultTreeModel.java
5204 (isLeaf): Check if the node allows children when
5205 asksAllowsChildren is true, otherwise fall back
5206 to return the node's leaf property.
5208 2006-09-27 Mario Torre <neugens@limasoftware.net>
5210 * scripts/check_jni_methods.sh: removed methods from the
5212 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5213 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5214 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5215 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5216 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5217 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5218 to better follow the GNU style.
5219 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5220 regenerated header file for GConfNativePeer.
5222 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5224 * INSTALL: Added information about grmic being built when ASM
5225 is available, added information about gconf dependency, indented
5226 Qt4 dependency section.
5227 * configure.ac: Added information about grmic being built when ASM
5230 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5232 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5233 DeleteGlobalRef on a local ref.
5235 2006-09-24 Mario Torre <neugens@limasoftware.net>
5237 * scripts/check_jni_methods.sh: added two new methods in the
5239 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5241 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5242 * native/jni/gconf-peer/GConfNativePeer.c:
5243 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5244 refacored method name, renamed from
5245 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5246 Added code to unescape escaped GConf key names.
5247 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5248 refacored method name, renamed from
5249 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5250 Added code to unescape escaped GConf key names.
5251 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5253 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5255 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5256 version javadoc tag.
5257 (escapeString): new method.
5258 (unescapeString): likewise.
5259 (gconf_escape_key): new native method.
5260 (gconf_unescape_key): likewise.
5261 (gconf_client_suggest_sync): update native method signature, now
5262 explicity throws BackingStoreException.
5263 (gconf_client_all_nodes): update native method signature, now
5264 explicity throws BackingStoreException. Refactored method name,
5265 renamed from gconf_client_gconf_client_all_nodes.
5266 (gconf_client_all_keys): update native method signature, now
5267 explicity throws BackingStoreException. Refactored method name,
5268 renamed from gconf_client_gconf_client_all_keys.
5269 (getKeys): refactored to use the new method name
5270 gconf_client_all_keys.
5271 (getChildrenNodes): refactored to use the new method name
5272 gconf_client_all_nodes.
5273 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5274 version javadoc tag.
5275 (GConfBasedPreferences): Added code to escape node names from
5276 invalid characters so that GConf now accept invalid node names.
5277 (GConfBasedPreferences): Moved code to register the current
5278 node to the list of nodes watched by GConf outside the constructor.
5279 (childSpi): Added code to register the current node to the
5280 list of nodes watched by GConf.
5281 (getGConfKey): Added code to escape key names from
5282 invalid characters so that GConf now accept invalid key names.
5284 2006-09-26 Tom Tromey <tromey@redhat.com>
5286 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5287 call mkdirs in output-directory case.
5288 (getPrintStream): Create output directory.
5289 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5292 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5294 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5295 Accept three additional arguments.
5296 (writePreambleImpl): New method.
5297 (getPrintStreamImpl): Likewise.
5298 (printClass): Adapted to use new methods in Printer superclass.
5299 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5300 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5301 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5302 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5304 (getParser): Add support for -o option.
5305 Check that only one of -d or -o is defined.
5306 Add support for -jni option.
5307 Add support for -force option.
5308 (makeOutputFile): New method.
5309 (writeHeaders): Removed File argument from signature.
5310 (run): Take into account newly added fields.
5311 Invoke concrete PrintStream implementations with augmented constructors.
5312 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5313 (isDirectory): Likewise.
5315 (wrotePreamble): Likewise.
5316 (Printer): Changed ctor to accept three additional arguments.
5317 (printClass): Changed signature to accept one ClassWrapper argument.
5318 (writePreambleImpl): New abstract method.
5319 (getPrintStreamImpl): Likewise.
5320 (getPrintStream): New method.
5321 (writePreamble): Likewise.
5323 2006-09-26 Tania Bento <tbento@redhat.com>
5325 * java/awt/GridLayout.java
5326 (toString): There is no common before hgap.
5327 * java/awt/Rectangle.java
5328 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5329 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5331 (Rectangle(Point)): Throw NPE if Point is null.
5332 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5334 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5336 * javax/swing/plaf/metal/MetalIconFactory.java
5337 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5338 returned by getShift(),
5339 (FileIcon16.getShift): Updated API docs,
5340 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5341 returned by getShift(),
5342 (FolderIcon16.getShift): Updated API docs,
5343 (TreeFolderIcon.getShift): Likewise,
5344 (TreeLeafIcon.getShift): Likewise.
5346 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5348 * javax/swing/plaf/metal/MetalIconFactory.java
5349 (FileIcon16.paintIcon): Fetch colors from look and feel,
5350 (FolderIcon16.paintIcon): Likewise.
5352 2006-09-25 Casey Marshall <csm@gnu.org>
5354 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5356 (write): revert back to using `writeGathering.'
5357 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5358 the first buffer that has data remaining, and start at that one.
5360 2006-09-25 Tom Tromey <tromey@redhat.com>
5362 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5365 2006-09-25 Tom Tromey <tromey@redhat.com>
5367 * tools/.cvsignore: Updated.
5369 2006-09-25 Tom Tromey <tromey@redhat.com>
5372 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5373 (Encoder.canEncode): Likewise.
5374 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5375 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5377 (Encoder.canEncode): Likewise.
5378 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5380 (Encoder.canEncode): Likewise.
5382 2006-09-25 Tom Tromey <tromey@redhat.com>
5384 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5387 2006-09-25 Francis Kung <fkung@redhat.com>
5389 * java/awt/image/ColorModel.java
5390 (coerceData): Made abstract.
5391 (coerceDataWorker): New protected method.
5392 * java/awt/image/ComponentColorModel.java
5393 (coerceData): Return new instance of proper ColorModel.
5394 * java/awt/image/DirectColorModel.java
5395 (coerceData): Return new instance of proper ColorModel.
5396 * java/awt/image/IndexColorModel.java
5397 (coerceData): New method.
5399 2006-09-24 Casey Marshall <csm@gnu.org>
5401 * gnu/java/nio/FileChannelImpl.java
5402 (read): call `read' in a loop, don't use `readScattering.'
5403 (write): call `write' in a loop, don't use `writeGathering.'
5405 2006-09-24 Mark Wielaard <mark@klomp.org>
5407 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5409 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5411 * java/nio/channels/spi/AbstractSelectableChannel.java
5412 (register): Set interestOps and attachment when the key already
5415 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5417 * java/net/ServerSocket.java
5418 (bind(SocketAddress,int)): Added support for null address.
5419 Throw proper exception if already bound.
5420 Handle unresolved addresses correctly. Ignore exceptions that
5421 happen during close in error path (to prevent losing the original
5424 2006-09-24 Mark Wielaard <mark@klomp.org>
5426 Suggested by Aaron M. Ucko <ucko@debian.org>
5428 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5430 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5432 * java/nio/channels/spi/AbstractSelectableChannel.java
5433 (implCloseChannel): Cancel all keys after closing the channel.
5435 2006-09-22 Casey Marshall <csm@gnu.org>
5437 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5438 after we delete them.
5439 (selectedKeys): return an empty set if nothing's been selected.
5440 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5441 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5442 throw an exception on EBADF.
5443 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5444 throw exception on EINTR, just return 0.
5446 2006-09-22 Casey Marshall <csm@gnu.org>
5448 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5449 remove `const' from `filename.'
5450 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5452 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5454 2006-09-22 Casey Marshall <csm@gnu.org>
5456 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5457 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5458 allocate `filename,' and handle changes to `cpio_readDir.'
5459 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5460 available; copy the filename into the destination buffer; return
5461 an error code if readdir returns NULL, but errno is 0.
5462 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5463 parameter to `const char *.'
5465 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5467 * javax/management/ObjectName.java:
5470 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5472 * resource/gnu/classpath/tools/orbd: New directory.
5473 * resource/gnu/classpath/tools/rmic: Likewise.
5474 * resource/gnu/classpath/tools/rmid: Likewise.
5475 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5476 * resource/gnu/classpath/tools/tnameserv: Likewise.
5477 * tools/gnu/classpath/tools/giop: Move contents to...
5478 * tools/gnu/classpath/tools/orbd,
5479 tools/gnu/classpath/tools/tnameserv: New directories.
5480 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5481 * tools/gnu/classpath/tools/rmic: New directory.
5482 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5483 * tools/gnu/classpath/tools/rmid: New directory.
5484 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5485 * tools/gnu/classpath/tools/rmiregistry: New directory.
5486 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5487 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5488 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5489 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5491 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5493 * tools/gnu/classpath/tools/orbd/Main.java,
5494 tools/gnu/classpath/tools/orbd/Messages.java,
5495 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5496 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5497 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5498 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5499 tools/gnu/classpath/tools/rmic/CompilationError.java,
5500 tools/gnu/classpath/tools/rmic/Generator.java,
5501 tools/gnu/classpath/tools/rmic/GiopIo.java,
5502 tools/gnu/classpath/tools/rmic/HashFinder.java,
5503 tools/gnu/classpath/tools/rmic/Main.java,
5504 tools/gnu/classpath/tools/rmic/Messages.java,
5505 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5506 tools/gnu/classpath/tools/rmic/RMICException.java,
5507 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5508 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5509 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5510 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5511 tools/gnu/classpath/tools/rmic/Variables.java,
5512 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5513 tools/gnu/classpath/tools/rmic/templates,
5514 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5515 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5516 tools/gnu/classpath/tools/rmid/Main.java,
5517 tools/gnu/classpath/tools/rmid/Messages.java,
5518 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5519 tools/gnu/classpath/tools/rmiregistry/Main.java,
5520 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5521 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5522 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5523 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5524 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5525 tools/gnu/classpath/tools/tnameserv/Main.java,
5526 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5527 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5528 RMIC.java from cp-tools.
5529 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5530 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5531 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5533 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5534 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5536 (start): New method.
5537 * tools/Makefile.am: Add build support for new tool wrappers.
5538 * tools/gorbd.in: New file.
5539 * tools/grmic.in: Likewise.
5540 * tools/grmid.in: Likewise.
5541 * tools/grmiregistry.in: Likewise.
5542 * tools/gtnameserv.in: Likewise.
5543 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5544 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5546 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5547 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5548 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5550 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5553 * gnu/java/util/regex/RETokenRepeated.java
5554 (findMatch): Rewriten without using recursive calls,
5555 (FindMatchControlStack): New class,
5556 (FindMatchControl): New class,
5557 (TryAnotherResult): New class,
5558 (tryAnother): New method.
5560 2006-09-22 Gary Benson <gbenson@redhat.com>
5562 * java/net/SocketPermission.java
5563 (processHostport): Cope with IPv6 addresses with a
5564 one-digit first component.
5566 2006-09-22 Roman Kennke <kennke@aicas.com>
5568 * java/awt/Component.java
5569 (enableEvents): Set newEventsOnly flag.
5570 * java/awt/Container.java
5571 (dispatchEventImpl): Consume event if lightweight dispatcher
5572 dispatched the event. Don't call processEvent() here, this
5573 is already done in Component.dispatchEventImpl(). For
5574 heavyweights or when the lightweight dispatcher could
5575 not dispatch, fall back to calling super.
5576 (dispatchNoLightweight): New helper method to avoid
5577 recursivly calling the lightweight dispatcher.
5578 * java/awt/LightweightDispatcher.java
5579 (dragButton): Removed field.
5580 (dragTarget): Removed field.
5581 (mouseEventTarget): New field.
5582 (convertPointToChild): Removed method.
5583 (dispatchEvent): Don't depend on component beeing
5585 (findTarget): Improved algorithm for finding a target.
5586 Before we went down to the deepest component and went
5587 up again to find a suitable target. Now we go
5588 down only once, without going up.
5589 (handleMouseEvent): Broke method down into some smaller
5591 (isDragging): New helper method.
5592 (isMouseListening): New helper method.
5593 (redispatch): New helper method.
5594 (trackEnterExit): New helper method.
5596 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5598 * javax/swing/SizeSequence.java
5599 (getSize): Return 0 if index is out of bounds.
5601 2006-09-21 Tom Tromey <tromey@redhat.com>
5603 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5604 (PathOptionGroup): Make -I a joined option.
5605 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5606 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5607 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5608 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5609 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5610 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5611 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5612 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5613 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5614 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5615 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5616 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5617 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5618 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5619 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5620 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5621 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5622 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5623 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5624 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5625 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5627 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5628 * tools/gnu/classpath/tools/common/Messages.java: New file.
5629 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5630 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5632 (ClasspathToolParser): Add -J option here.
5633 (ClasspathToolParser): Call other constructor in this class.
5634 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5635 Handle joined options.
5636 (handleShortOptions): Likewise.
5637 (handleShortOption): Removed.
5638 (finalGroup): New field.
5639 (Parser): Initialize new field. Don't add -J option.
5640 (addFinal): New method.
5641 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5643 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5644 (Option): Check short option for validity.
5645 (Option): New constructors.
5646 (joined): New field.
5648 2006-09-21 csm <csm@pollux.local>
5650 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5651 `InterruptedIOException;' try again if it gets thrown.
5652 (receive): likewise, but re-throw `SocketTimeoutException.'
5653 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5654 if we have nothing to select.
5656 2006-09-21 Francis Kung <fkung@redhat.com>
5658 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5659 (getLogicalBounds): Respect glyph transformations.
5660 (getGlyphOutline): Added null pointer check.
5661 (getGlyphTransform): Do not generate identity transform (API permits null).
5662 (setGlyphPosition): Do not invalidate transform.
5663 (setGlyphTransform): Do not modify glyph position.
5665 2006-09-21 Francis Kung <fkung@redhat.com>
5667 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5669 2006-09-21 Francis Kung <fkung@redhat.com>
5671 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5672 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5673 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5675 2006-09-21 Tania Bento <tbento@redhat.com>
5677 * javax/swing/JTabbedPane.java:
5678 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5679 (setModel): A ChangeListener should be created only if there does not
5680 currently exist one.
5682 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5684 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5685 (MaximizeAction.actionPerformed): Change icon on maxButton.
5687 2006-09-21 Roman Kennke <kennke@aicas.com>
5689 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5690 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5691 Use more efficient getViewPosition() and getViewSize() methods
5692 to avoid creating a rectangle.
5693 (HSBChangeListener.stateChanged): Update the view position
5694 unconditionally. Let the Viewport figure out if something
5696 (VSBChangeListener.stateChanged): Update the view position
5697 unconditionally. Let the Viewport figure out if something
5699 * javax/swing/JViewport.java
5700 (ViewListener.componentResized): Fire state change, because
5701 the extentSize changes.
5702 (extentSize): Removed unneeded field.
5703 (viewSize): Removed unneeded field.
5704 (getExtentSize): Return the viewport's size here.
5705 (getViewRect): Reformatted.
5706 (getViewSize): Reordered for only one return statement.
5707 (paintImmediately2): Fixed up javadoc.
5708 (paint): Removed unneeded statement.
5709 (setExtentSize): Set viewport size and check for actual change
5711 (setViewPosition): Simplified condition. Set scrollUnderway
5712 true and don't set isViewSizeSet. Avoid creating one Point
5714 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5716 * javax/swing/JScrollBar.java
5717 (ScrollBarListener): New class. Forwards change events from
5718 the model as adjustment events.
5719 (sbChangeListener): New field.
5720 (JScrollBar): Install listener on new model.
5721 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5723 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5724 method to allow custom isAdjusting value.
5725 (setMaximum): Only forward to model.
5726 (setMinimum): Only forward to model.
5727 (setValue): Only forward to model.
5728 (setVisibleAmount): Only forward to model.
5729 (setValues): Only forward to model.
5730 (setModel): Update the change listener.
5732 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5734 * java/util/Formatter.java (basicIntegralConversion): Removed
5735 check for ZERO && !LEFT_JUSTIFY.
5737 2006-09-20 Roman Kennke <kennke@aicas.com>
5740 * javax/swing/plaf/metal/DefaultMetalTheme.java
5741 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5742 (BOLD_CONTROL_TEXT_FONT): New constant field.
5743 (PLAIN_MENU_TEXT_FONT): New constant field.
5744 (BOLD_MENU_TEXT_FONT): New constant field.
5745 (controlTextFont): Removed.
5746 (menuTextFont): Removed.
5747 (CONTROL_TEXT_FONT): New constant field.
5748 (MENU_TEXT_FONT): New constant field.
5749 (getControlTextFont): Use getFont() helper method for fetching
5751 (getMenuTextFont): Use getFont() helper method for fetching
5753 (getFont): New helper method.
5754 (isBoldMetal): New helper method.
5756 2006-09-20 Casey Marshall <csm@gnu.org>
5758 * NEWS: mention epoll selector along with the kqueue one.
5760 2006-09-20 Casey Marshall <csm@gnu.org>
5762 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5763 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5765 2006-09-20 Francis Kung <fkung@redhat.com>
5768 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5769 (getGlyphTransform): Use translation instead of scale.
5770 (performDefaultLayout): Increment position values instead of resetting, and
5771 pre-increment instead of post-increment.
5772 (setGlyphTransform): Handle null case with identity transform.
5774 2006-09-20 Casey Marshall <csm@gnu.org>
5776 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5777 (AC_CHECK_FUNCS): check for `epoll_create.'
5778 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5779 * gnu/java/nio/EpollSelectorImpl.java: new file.
5780 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5782 (openSelector): return epoll selector if requested and available.
5783 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5784 (gnu_java_nio_EpollSelectorImpl.h): new target.
5785 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5786 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5787 gnu_java_nio_EpollSelectorImpl.c.
5788 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5790 2006-09-20 Casey Marshall <csm@gnu.org>
5792 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5794 (isConnected): return false if `connectionPending' is true.
5796 2006-09-20 Francis Kung <fkung@redhat.com>
5799 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5800 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5801 (getGlyphOutline): Call getGylphTransform to generate transform.
5802 (getGylphPosition): Read position directly out of array.
5803 (getGlyphPositions): Read positions directly out of array.
5804 (getGlyphTransform): Generate transform based on gylphPositions array.
5805 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5806 (setGlyphPosition): Set position directly into array.
5807 (setGlyphTransform): Update positions array as well.
5809 2006-09-20 David Daney <ddaney@avtrex.com>
5812 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5813 default content-type for POST method.
5815 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5817 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5818 (BasicRadioButtonUI): Don't fetch icon here,
5819 (installDefaults): Initialise icon here,
5820 (getDefaultIcon): Just return icon.
5822 2006-09-20 Mark Wielaard <mark@klomp.org>
5824 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5825 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5826 (EXTRA_DIST): Include javanio.c.
5828 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5830 * java/awt/geom/RoundRectangle2D.java:
5831 (getPathIterator): Reimplemented,
5832 and updated various API doc comments.
5834 2006-09-20 Roman Kennke <kennke@aicas.com>
5836 * java/awt/Container.java
5837 (addImpl): Set the new component's parent after it has been
5838 added to the array. Call addNotify() and invalidate()
5839 after the component has been added, so that the peer
5840 gets to know about the component structure when it is created.
5841 * java/awt/Window.java
5842 (dispatchEventImpl): Only revalidate when window is resized,
5843 let the other stuff be processed by the superclass.
5844 (dispose): Post WINDOW_CLOSED event only when some listener
5845 is registered or event is explicitly enabled.
5846 (show): Post WINDOW_OPENED event when appropriate.
5848 2006-09-20 Roman Kennke <kennke@aicas.com>
5850 * java/awt/Component.java
5851 (addNotify): Invalidate here. Fetch peer font.
5852 (getFont): Delegate to helper method, to protect from
5853 overriding client code. Lock the tree while fetching the font.
5854 (getFontImpl): New helper method. Moved code from getFont() in
5856 (removeNotify): Nullify peerFont too.
5857 (setFont): Synchronize on tree and component to avoid threading
5858 issues. Update the peerFont correctly.
5859 (validate): Update the peer font if necessary, before validating.
5860 (getGraphics): Revert to recursive graphics fetching.
5861 Set component font on the Graphics object.
5862 (translateEvent): Removed unnecessary cast.
5863 * java/awt/Container.java
5864 (invalidateTree): Made final and private. Made implementation
5865 slightly more efficient.
5866 (setFont): Get old and new font via getFont() to account for
5867 the real font, and only invalidate the tree when they are not
5868 the same and not equal.
5869 (visitChild): Set the font of the child on the component graphics.
5870 * java/awt/Frame.java
5871 (setMenuBar): Create local reference of peer for thread safety.
5872 Only call simple invalidate, not invalidateTree().
5874 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5877 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5878 (constructor): Copy image field.
5880 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5882 * javax/swing/JMenuBar.java
5883 (getHelpMenu): Implemented to throw an Error, and added API docs,
5884 (getMargin): Added API docs,
5885 (setMargin): Likewise.
5887 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5889 * javax/swing/AbstractButton.java
5890 (AbstractButton): Don't call updateUI(),
5891 * javax/swing/JButton.java
5892 (JButton(String, Icon)): Call setModel() before init(),
5893 * javax/swing/JMenuItem.java
5894 (JMenuItem()): Delegate to another constructor,
5895 (JMenuItem(Icon)): Likewise,
5896 (JMenuItem(Action)): Set model,
5897 (JMenuItem(String, Icon)): Likewise,
5898 * javax/swing/JToggleButton.java
5899 (init): Call setModel() before init().
5901 2006-09-19 Mark Wielaard <mark@klomp.org>
5904 * java/util/logging/LogManager.java (addLogger): Always check for
5905 existing children of a new Logger.
5907 2006-09-19 Roman Kennke <kennke@aicas.com>
5909 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5910 (HSBChangeListener.stateChanged): Moved handling of header to
5911 syncScrollPaneWithViewport().
5912 (VSBChangeListener.stateChanged): Moved handling of header to
5913 syncScrollPaneWithViewport().
5914 (ViewportChangedHandler.stateChanged): Removed unused statements.
5915 (syncScrollPaneWithViewport): Added null checks. Use setValues
5916 rather then the single setter methods to avoid multiple
5917 adjustments and side effects. Also snyc the headers here.
5918 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5919 (uninstallUI): Removed unnecessary cast and this qualifier as well
5920 as the call to super.
5922 2006-09-19 Gary Benson <gbenson@redhat.com>
5924 * java/net/ResolverCache.java: New class (a DNS cache).
5925 * java/net/InetAddress.java
5926 (internalGetCanonicalHostName, getAllByName): Use the above.
5928 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5930 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5931 * java/net/ServerSocket.java
5933 (bind): Set port field.
5934 (close): Set impl to null.
5935 (isClosed): Check impl and channel instead of using VMChannel.
5936 (toString): Use port field and getLocalPort() method.
5937 * java/net/Socket.java
5938 (isClosed): Check impl and channel instead of using VMChannel.
5940 2006-09-18 Tom Tromey <tromey@redhat.com>
5942 * java/util/concurrent/CopyOnWriteArrayList.java
5943 (CopyOnWriteArrayList): New constructor.
5945 2006-09-18 Casey Marshall <csm@gnu.org>
5947 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5948 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5950 2006-09-18 Tom Tromey <tromey@redhat.com>
5952 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5953 isConnected): Removed old comment.
5954 (getRemoteSocketAddress): Uncommented.
5955 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5956 setTrafficClass, getTrafficClass, setReuseAddress,
5957 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5958 isOutputShutdown): Uncommented.
5960 2006-09-18 David Pirkle <dpirkle@symyx.com>
5963 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5964 input stream during resolution.
5966 2006-09-18 Roman Kennke <kennke@aicas.com>
5968 * java/awt/LightweightDispatcher.java
5969 (findTarget): Correctly translate child coordinates.
5970 Use Component.eventTypeEnabled() for checking if a component
5971 has a certain event enabled.
5972 (handleMouseEvent): Find the correct mouse event target.
5973 Use Component.eventTypeEnabled() for checking if a component
5974 has a certain event enabled.
5976 2006-09-18 Roman Kennke <kennke@aicas.com>
5978 * java/awt/Component.java
5979 (show): Test for the peer beeing lightweight directly.
5980 (paintAll): Validate before painting. Don't paint when not
5981 showing. Call peer.paint() when the component is heavyweight.
5982 (repaint): Delegate to the parent when lightweight, rather
5983 than skipping to the nearest heavyweight.
5984 (createImage): Added null check to prevent NPE.
5985 (dispatchEvent): Moved old event dispatching and toolkit
5986 event dispatching to dispatchEventImpl.
5987 (addComponentListener): Don't enable event. Only add listener
5988 when not null. Switch to new event dispatching only.
5989 (addFocusListener): Likewise.
5990 (addHierarchyListener): Likewise.
5991 (addHierarchyBoundsListener): Likewise.
5992 (addKeyListener): Likewise.
5993 (addMouseListener): Likewise.
5994 (addMouseMotionListener): Likewise.
5995 (addMouseWheelListener): Likewise.
5996 (addInputMethodListener): Likewise.
5997 (coalesceEvents): For mouse events coalesce them only when
5998 their modifiers are equal. For paint events coalesce the events
5999 when one contains the other, without going through complicated
6001 (dispatchEventImpl): Moved old event dispatching and toolkit
6002 event dispatching to dispatchEventImpl.
6003 (coalescePaintEvents): Removed.
6004 (HeavyweightInLightweightListener.componentHidden):
6006 * java/awt/Container.java
6007 (addImpl): Don't enable events on lightweights.
6008 (remove): Reordered operations. Don't remove any listeners.
6009 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6010 Only removeNotify() when peer is != null. Only invalidate if
6011 not already invalid. Only fire ContainerEvent if there is
6012 an interested listener or the event is enabled. Dispatch this
6013 event directly without the event queue.
6014 (removeAll): Likewise.
6015 (paintComponents): Only paint when showing. Also paint heavyweights.
6016 Don't paint the container itself.
6017 (removeNotify): Create local variables for improved thread safety.
6018 (addNotifyContainerChildren): Don't enable events for lightweights.
6020 2006-09-18 Roman Kennke <kennke@aicas.com>
6022 * java/awt/EventQueue.java
6023 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6024 (next_in): Removed obsolete field.
6025 (next_out): Removed obsolete field.
6026 (queueHead): New field. Markes the head of the queue.
6027 (queueTail): New field. Markes the tail of the queue.
6028 (queue): Removed obsolete field.
6029 (EventQueue): Documented empty block.
6030 (getNextEvent): Changed array based implementation to single-linked
6031 list based implementation.
6032 (invokeAndWait): Use an Object as synchronization object rather
6033 than the current thread.
6034 (peekEvent(int)): Changed array based implementation to single-linked
6035 list based implementation.
6036 (peekEvent()): Changed array based implementation to single-linked
6037 list based implementation.
6038 (pop()): Changed array based implementation to single-linked
6039 list based implementation.
6040 (postEvent): Foward to postEventImpl.
6041 (postEventImpl): Changed array based implementation to single-linked
6042 list based implementation.
6043 (push): Changed array based implementation to single-linked
6044 list based implementation.
6045 * java/awt/AWTEvent.java
6046 (queueNext): New field. Implements a single-linked list for
6049 2006-09-17 Mark Wielaard <mark@klomp.org>
6051 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6052 resource from HTMLEditorKit.class.
6054 2006-09-17 Mark Wielaard <mark@klomp.org>
6056 * javax/swing/plaf/basic/BasicToolBarUI.java
6057 (setBorderToNonRollover): Check whether border is null.
6058 (setBorderToRollover): Likewise.
6060 2006-09-17 Mark Wielaard <mark@klomp.org>
6062 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6064 2006-09-17 Mark Wielaard <mark@klomp.org>
6066 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6067 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6068 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6069 (Java_gnu_java_nio_VMChannel_lock): Likewise.
6070 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6072 2006-09-17 Casey Marshall <csm@gnu.org>
6074 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6077 2006-09-17 Chris Burdess <dog@gnu.org>
6079 Fixes PR 27610 27687.
6080 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6081 * gnu/xml/transform/SAXTemplatesHandler.java,
6082 * gnu/xml/transform/SAXTransformerHandler.java: New files.
6083 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6084 SAXTransformerFactory.
6086 2006-09-16 Casey Marshall <csm@gnu.org>
6089 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6090 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6092 (HAVE_INET6): define if IPv6 is supported.
6093 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6094 (native_fd): removed.
6096 (<init>): throw IOException; initialize fields.
6097 (finalize): removed.
6098 (getNativeFD): removed.
6099 (bind): use `PlainSocketImpl.bind.'
6100 (create): use `PlainSocketImpl.initSocket.'
6101 (disconnect): use `PlainSocketImpl.disconnect.'
6102 (getLocalPort): new method.
6103 (send): use `VMChannel.send.'
6104 (receive): use `VMChannel.receive.'
6105 (setOption): use `PlainSocketImpl.setOption.'
6106 (getOption): use `PlainSocketImpl.getOption.'
6107 (close): use `VMChannel.State.close.'
6108 (join): use `PlainSocketImpl.join.'
6109 (leave): use `PlainSocketImpl.leave.'
6110 (joinGroup, leaveGroup): implemented.
6111 * gnu/java/net/PlainSocketImpl.java: make non-final.
6112 (native_fd): removed.
6114 (channel): new field.
6115 (<init>): initialize `impl.'
6116 (finalize, getNativeFD): removed.
6117 (setOption): use `PlainSocketImpl.setOption.'
6118 (getOption): use `PlainSocketImpl.getOption.'
6119 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6120 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6121 (create): create `channel,' initialize `impl's native state.
6122 (connect): use `connect(SocketAddress, int).'
6123 (connect): use `SocketChannelImpl.connect;' initialize `address'
6125 (bind): use `VMPlainSocketImpl.bind.'
6126 (listen): use `VMPlainSocketImpl.listen.'
6127 (accept): use `SocketChannelImpl.accept.'
6128 (available): use `VMChannel.available.'
6129 (close): use `PlainSocketImpl.close.'
6130 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6131 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6132 getPort): new methods.
6133 (SocketInputStream.read): use `VMChannel.read.'
6134 (SocketInputStream.read): use `SocketChannel.read.'
6135 (SocketOutputStream.write): use `VMChannel.write.'
6136 (SocketOutputStream.write): use `SocketChannel.write.'
6137 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6138 (channel): new field.
6139 (<init>): initialize `channel.'
6140 (implCloseSelectableChannel): use `VMChannel.close.'
6141 (implConfigureBlocking): use `VMChannel.setBlocking.'
6142 (connect): use `VMChannel.connect.'
6143 (disconnect): use `VMChannel.disconnect.'
6144 (isConnected): use `VMChannel.getPeerAddress.'
6145 (write): use `VMChannel.write.'
6146 (write): use `VMChannel.writeGathering.'
6147 (read): use `VMChannel.read.'
6148 (read): use `VMChannel.readScattering.'
6149 (receive): use `VMChannel.receive.'
6150 (send): use `VMChannel.send.'
6151 (getVMChannel): new method.
6152 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6153 access native FD through VMChannel.State.
6154 * gnu/java/nio/FileChannelImpl.java: moved from
6155 gnu/java/nio/channels/FileChannelImpl.java.
6156 * gnu/java/nio/FileLockImpl.java: fix imports.
6157 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6158 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6159 * gnu/java/nio/NIOSocket.java (impl): removed.
6160 (channel): new field.
6161 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6162 (getPlainSocketImpl, setChannel): removed.
6163 (isConnected): new method.
6164 * gnu/java/nio/NIOSocketImpl.java: new file.
6165 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6167 (SourceChannelImpl.native_fd): removed.
6168 (SourceChannelImpl.<init>): init with a `VMChannel.'
6169 (SourceChannelImpl.getNativeFD): removed.
6170 (SourceChannelImpl.getVMChannel): new method.
6171 (SourceChannelImpl.implCloseSelectableChannel): implement.
6172 (SinkChannelImpl): implement `VMChannelOwner.'
6173 (SinkChannelImpl.native_fd): removed.
6174 (SinkChannelImpl.<init>): init with a `VMChannel.'
6175 (SinkChannelImpl.implCloseSelectableChannel): implement.
6176 (SinkChannelImpl.getNativeFD): removed.
6177 (SinkChannelImpl.getVMChannel): new method.
6178 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6180 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6181 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6182 (openSelector): return kqueue selector if available.
6183 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6185 (channel): new field.
6186 (<init>): init `channel.'
6187 (finalizer): check if the `VMChannel.State' is valid.
6188 (implCloseSelectableChannel): use `VMChannel.close.'
6189 (implConfigureBlocking): use `VMChannel.setBlocking.'
6190 (accept): use `VMChannel.accept.'
6191 (getVMChannel): new method.
6192 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6193 access native FD through `VMChannel.State.'
6194 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6196 (channel, connected, connectAddress): new field.
6197 (<init>): new constructors.
6198 (getPlainSocketImpl): removed.
6199 (implCloseSelectableChannel): use `VMChannel.close.'
6200 (implConfigureBlocking): use `VMChannel.setBlocking.'
6201 (connect): use `connect(SocketAddress,int).'
6202 (connect): use `VMChannel.connect.'
6203 (finishConnect): don't use a selector.
6204 (isConnected): use `VMChannel.getPeerAddress.'
6205 (read): use `VMChannel.read.'
6206 (read): use `VMChannel.readScattering.'
6207 (write): use `VMChannel.write.'
6208 (write): use `VMChannel.writeGathering.'
6209 (getVMChannel): new method.
6210 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6211 native FD from `VMChannel.State.'
6212 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6213 get native FD from `VMChannel.State.'
6214 * gnu/java/nio/VMChannelOwner.java: new file.
6215 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6216 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6217 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6218 `gnu_java_nio_channels_FileChannelImpl.h.'
6219 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6220 * include/gnu_java_nio_FileChannelImpl.h: new file.
6221 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6222 * include/gnu_java_nio_VMChannel.h: regenerated.
6223 * include/gnu_java_nio_VMPipe.h: regenerated.
6224 * include/java_net_VMNetworkInterface.h: regenerated.
6225 * java/io/FileDescriptor.java: fix imports.
6226 * java/io/FileInputStream.java (<init>): handle exceptions.
6227 (read): wrap the destination arary.
6228 * java/io/FileOutputStream.java (<init>): handle exceptions.
6229 (write): wrap the source array.
6230 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6231 * java/net/DatagramSocket.java (<init>): handle exceptions.
6232 (receive): handle length/port setting.
6233 (connect): bind to any address/port if the argument is null.
6234 * java/net/NetworkInterface.java (name, inetAddress): removed.
6236 (<init>): make private.
6237 (getName): return `netif.name.'
6238 (getInetAddresses): access `netif.addresses.'
6239 (getDisplayName): return `netif.name.'
6240 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6241 (condense): removed.
6242 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6243 (equals): compare `netif' fields.
6244 (hashCode): get hash codes from `netif.'
6245 (toString): use a StringBuffer.
6246 * java/net/ServerSocket.java (close): don't set `impl' to null.
6247 (isClosed): use `VMChannel.State.isClosed.'
6248 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6249 the `SocketImpl' is a `PlainSocketImpl.'
6250 (close): just close the `impl.'
6251 (toString): use `super.toString' in the value we return.
6252 (isConnected): just access `impl,' not `getImpl.'
6253 (isBound): use `PlainSocketImpl' methods if we can.
6254 (isClosed): look at `VMChannel.State.'
6255 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6256 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6257 an exception if they were not.
6258 (JCL_GetRawData): throw an exception if cached fields weren't
6260 * native/jni/java-lang/java_lang_VMProcess.c: handle
6261 FileChannelImpl move.
6262 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6263 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6264 THROW_NO_NETWORK): new macros.
6265 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6266 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6267 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6268 (java_sockopt): new enum.
6269 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6270 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6271 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6273 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6275 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6277 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6278 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6279 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6280 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6281 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6282 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6283 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6284 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6285 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6286 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6287 (getif_address): new function.
6288 (getif_index): new function.
6289 * native/jni/java-net/java_net_VMNetworkInterface.c
6290 (java_net_VMNetworkInterface_init,
6291 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6292 (Java_java_net_VMNetworkInterface_initIds): new function.
6293 (struct netif_entry): new struct.
6294 (free_netif_list): new function.
6295 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6296 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6297 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6298 gnu_java_nio_channels_FileChannelImpl.c, add
6299 gnu_java_nio_KqueueSelectorImpl.c.
6300 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6301 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6302 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6303 ALIGN_DOWN): new macros.
6304 (JCL_init_buffer): get the address through GetDirectBufferAddress
6306 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6307 Java_gnu_java_nio_VMChannel_stdout_1fd,
6308 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6309 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6311 (Java_gnu_java_nio_VMChannel_read): renamed...
6312 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6313 this; handle interrupted IO; add HAVE_READ check.
6314 (Java_gnu_java_nio_VMChannel_write): renamed...
6315 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6316 this; handle zero-length write; add HAVE_WRITE check.
6317 (Java_gnu_java_nio_VMChannel_receive): new function.
6318 (Java_gnu_java_nio_VMChannel_send): new function.
6319 (Java_gnu_java_nio_VMChannel_send6): new function.
6320 (Java_gnu_java_nio_VMChannel_read__I): new function.
6321 (Java_gnu_java_nio_VMChannel_write__II): new function.
6322 (Java_gnu_java_nio_VMChannel_socket): new function.
6323 (Java_gnu_java_nio_VMChannel_connect): new function.
6324 (Java_gnu_java_nio_VMChannel_connect6): new function.
6325 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6326 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6327 (Java_gnu_java_nio_VMChannel_accept): new function.
6328 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6329 (Java_gnu_java_nio_VMChannel_close): new function.
6330 (Java_gnu_java_nio_VMChannel_available): new function.
6331 (FileChannel_mode): new enum.
6332 (Java_gnu_java_nio_VMChannel_open): new function.
6333 (Java_gnu_java_nio_VMChannel_position): new function.
6334 (Java_gnu_java_nio_VMChannel_seek): new function.
6335 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6336 (Java_gnu_java_nio_VMChannel_lock): new function.
6337 (Java_gnu_java_nio_VMChannel_unlock): new function.
6338 (Java_gnu_java_nio_VMChannel_size): new function.
6339 (Java_gnu_java_nio_VMChannel_map): new function.
6340 (Java_gnu_java_nio_VMChannel_flush): new function.
6341 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6342 (Java_gnu_java_nio_VMPipe_init): removed.
6343 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6344 * native/jni/java-nio/javanio.c: new file.
6345 * native/jni/java-nio/javanio.h: new file.
6346 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6347 systems without `gethostbyname_r.'
6348 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6350 (<init>, <init>): new constructors.
6351 (setOption, getOption): make instance methods; defer to native
6354 (bind): make an instance method; defer to native methods.
6356 (available): removed.
6357 (listen): make an instance method; defer to native method.
6359 (join, leave): new methods.
6361 (joinGroup, leaveGroup): new methods.
6362 (shutdownInput, shutdownOutput): make instance methods.
6363 (sendUrgentData): removed.
6365 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6368 (<init>): new, public constructors.
6369 (getVMChannel): methods removed.
6370 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6371 stderr_fd): new methods.
6372 (setBlocking): make an instance method.
6373 (available): new method.
6374 (read): get native fd from `nfd.'
6375 (read): new single-byte read method.
6376 (readScattering): get native fd from `nfd.'
6377 (receive): new method.
6378 (write, writeGathering): get native fd from `nfd.'
6380 (write): new single-byte write method.
6381 (initSocket): new method.
6382 (connect): new method.
6383 (disconnect): new method.
6384 (getLocalAddress): new method.
6385 (getPeerAddress): new method.
6386 (accept): new method.
6387 (openFile): new method.
6388 (position): new method.
6390 (truncate): new method.
6392 (unlock): new method.
6395 (flush): new method.
6396 (close): new method.
6399 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6400 (pipe, pipe0): new method.
6401 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6403 (<clinit>): call `initIds.'
6404 (initIds): new method.
6405 (getInterfaces): removed.
6406 (getVMInterfaces): new method.
6407 (addAddress): new method.
6408 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6410 2006-09-16 Chris Burdess <dog@gnu.org>
6413 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6414 when in text output mode.
6416 2006-09-16 Chris Burdess <dog@gnu.org>
6419 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6421 2006-09-14 Michael Koch <konqueror@gmx.de>
6423 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6425 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6427 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6428 Added !cl.isArray() to serialVersionUID mismatch check.
6430 2006-09-14 Francis Kung <fkung@redhat.com>
6432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6433 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6434 be compatibe with Cairo 1.2.x.
6436 2006-09-14 Francis Kung <fkung@redhat.com>
6438 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6439 (cairoSurfaceSetFilter): Removed method.
6440 (drawImage): Pass interpolation type as argument to drawing methods.
6441 (drawPixels): Added interpolation parameter.
6442 (drawRaster): Pass interpolation type as argument to drawing method.
6443 (getInterpolation): New method.
6444 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6445 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6446 * gnu/java/awt/peer/gtk/CairoSurface.java
6447 (drawSurface): Added interpolation parameter.
6448 (nativeDrawSurface): Added interpolation parameter.
6449 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6450 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6452 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6453 * native/jni/gtk-peer/cairographics2d.h
6454 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6455 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6456 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6458 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6459 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6460 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6461 interpolation parameter.
6463 2006-09-14 Gary Benson <gbenson@redhat.com>
6465 * java/net/InetAddress.java
6466 (internalGetCanonicalHostName): New method.
6467 (getCanonicalHostName): Use internalGetCanonicalHostName.
6468 (getByLiteral): New method.
6469 (getAllByName): Use getByLiteral.
6470 * java/net/SocketPermission.java
6471 (host): Replaced with...
6472 (hostname, address): New fields.
6473 (equals, hashcode): Reflect the above.
6474 (setHostPort): Parse host into hostname or address.
6475 (implies): Rewrite host checks.
6477 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6480 * java/awt/Menu.java
6481 (insert(MenuItem, int)): Fixed loop range,
6482 (insert(String, int)): Updated API docs.
6484 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6487 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6488 architectures (like Arm).
6489 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6490 Reverted SWAP_DOUBLE patch.
6491 (doubleToRawLongBits): Likewise.
6492 (longBitsToDouble): Likewise.
6494 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6496 * java/awt/Menu.java: Reformatted source file.
6498 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6500 * gnu/java/rmi/server/ActivatableRef.java
6501 (readExternal, writeExternal): Partial fix for serialization format.
6503 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6506 * java/io/InputStreamReader.java
6507 (read(char[],int,int)): Fixed bug.
6509 2006-09-13 Francis Kung <fkung@redhat.com>
6511 * java/awt/image/BandCombineOp.java: Updated documentation.
6512 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6514 2006-09-13 Tom Tromey <tromey@redhat.com>
6517 * java/io/PipedReader.java (read): Return early if len==0.
6518 * java/io/PipedInputStream.java (read): Return early if len==0.
6520 2006-09-13 Francis Kung <fkung@redhat.com>
6522 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6523 Removed hard-coded max sample value.
6524 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6525 Fixed finding of max sample value.
6527 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6529 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6530 (setPaint): Check null argument ('p').
6532 2006-09-12 Francis Kung <fkung@redhat.com>
6535 * gnu/java/awt/java2d/TexturePaintContext.java
6536 (constructor): Fixed typo, getMinY instead of getMaxX.
6537 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6538 (setPaint): Implemented support for custom Paint classes.
6539 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6540 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6541 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6542 to setPaintPixels, and added repeat parameter.
6543 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6544 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6546 2006-09-12 Gary Benson <gbenson@redhat.com>
6548 * java/net/NetworkInterface.java (getInetAddresses):
6549 Fix port used in security check.
6551 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6553 * javax/swing/plaf/metal/DefaultMetalTheme.java
6554 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6555 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6556 (getControlTextFont): Check 'swing.boldMetal' setting before
6558 (getMenuTextFont): Likewise.
6560 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6562 * javax/swing/plaf/metal/OceanTheme.java
6563 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6565 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6567 * javax/swing/plaf/metal/MetalIconFactory.java
6568 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6570 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6572 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6574 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6576 * javax/swing/AbstractButton.java
6577 (AbstractButton): Initialise textIconGap field.
6579 2006-09-11 Tom Tromey <tromey@redhat.com>
6581 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6582 "volatile" when needed.
6584 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6586 * java/text/AttributedCharacterIterator.java
6587 (LANGUAGE): Initialise with lower case string,
6588 (INPUT_METHOD_SEGMENT): Likewise,
6589 (READING): Likewise,
6590 * java/text/AttributedStringIterator.java
6591 (getRunLimit): Check all attributes for changes.
6593 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6595 * java/text/AttributedCharacterIterator.java: Added @since tag,
6596 renamed some variables (no underscores) and removed some spaces to
6597 match the common style,
6598 * java/text/AttributedString.java: Likewise,
6599 * java/text/AttributedStringIterator.java: Likewise.
6601 2006-09-11 Gary Benson <gbenson@redhat.com>
6603 * java/net/Inet4Address.java
6604 (FAMILY): Renamed back to AF_INET.
6605 (<init>, writeReplace): Reflect the above.
6606 * java/net/Inet6Address.java
6607 (FAMILY): Renamed back to AF_INET6.
6608 (<init>): Reflect the above.
6610 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6613 * java/text/AttributedString.java
6614 (AttributedString(AttributedCharacterIterator, int, int,
6615 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6618 2006-09-11 Gary Benson <gbenson@redhat.com>
6620 * java/net/Inet4Address.java
6621 (AF_INET): Renamed to FAMILY.
6622 (<init>, writeReplace): Reflect the above.
6623 * java/net/Inet6Address.java
6624 (AF_INET6): Renamed to FAMILY.
6625 (<init>): Reflect the above.
6627 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6630 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6631 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6632 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6633 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6634 (bind): Call getImpl().create(true).
6636 2006-09-09 Chris Burdess <dog@gnu.org>
6638 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6639 an instance of org.w3c.dom.NodeList.
6641 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6643 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6644 missing security manager when run in standalone mode.
6646 2006-09-08 Francis Kung <fkung@redhat.com>
6648 * java/awt/image/AffineTransformOp.java: Updated documentation.
6649 (createCompatibleDestRaster): Updated formatting.
6650 (filter(BufferedImage, BufferedImage)): Updated formatting.
6651 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6652 if colour model is compatible.
6653 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6654 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6656 2006-09-08 Gary Benson <gbenson@redhat.com>
6658 * java/net/InetAddress.java
6659 (family): Updated javadoc and made private.
6660 (<init>): Add an address family argument.
6661 (readObject): Don't overwrite family.
6662 * java/net/Inet4Address.java
6663 (AF_INET): New constant.
6664 (<init>): Use AF_INET as the family.
6665 (writeReplace): Likewise.
6666 * java/net/Inet6Address.java
6667 (AF_INET6): New constant.
6668 (<init>): Use AF_INET6 as the family.
6670 2006-09-08 Gary Benson <gbenson@redhat.com>
6672 * java/net/InetAddress.java
6673 (getHostName): Move lookup into getCanonicalHostName.
6674 (getCanonicalHostName): Move lookup from getHostName,
6675 Perform security check on canonical name (ie after lookup).
6677 2006-09-08 Gary Benson <gbenson@redhat.com>
6679 * java/net/Inet4Address.java (isMulticastAddress,
6680 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6681 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6682 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6683 implementations from InetAddress.
6684 * java/net/InetAddress.java (isMulticastAddress,
6685 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6686 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6687 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6688 implementations with UnsupportedOperationExceptions.
6690 2006-09-08 Gary Benson <gbenson@redhat.com>
6692 * java/net/InetAddress.java
6693 (inaddr_any): Removed.
6694 (ANY_IF, LOCALHOST): Create using getByAddress.
6695 (<init>): Updated javadoc.
6696 (getHostName): Cache hostname even if the lookup failed.
6697 (getByAddress): Create Inet4Address objects when passed
6698 IPv4-mapped IPv6 addresses.
6700 (getAllByName): Create address objects using getByAddress.
6701 Do not perform security checks unless actually required.
6702 Do not strip whitespace from the hostname.
6703 (getInaddrAny): Removed.
6704 (getLocalHost): Return the loopback address if getByName
6705 throws a SecurityException.
6706 (readResolve): Updated javadoc.
6707 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6708 * include/java_net_VMInetAddress.h
6709 (Java_java_net_VMInetAddress_aton): Likewise.
6710 * native/jni/java-net/java_net_VMInetAddress.c
6711 (Java_java_net_VMInetAddress_aton): New method.
6712 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6713 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6714 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6715 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6716 * NEWS: Added note about updated VM interface.
6718 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6720 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6721 (setNorthPane): Assign component to titlePane.
6723 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6725 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6726 Remove unused variable alt_addr.
6727 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6728 Remove unused variables.
6730 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6732 * javax/swing/plaf/metal/MetalScrollBarUI.java
6733 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6734 (createDecreaseButton): Don't fetch scrollBarWidth here,
6735 (createIncreaseButton): Likewise.
6737 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6739 * java/awt/image/MemoryImageSource.java: Added API docs.
6741 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6743 * javax/swing/plaf/basic/BasicScrollBarUI.java
6744 (installDefaults): Call configureScrollBarColors().
6746 2006-09-06 Francis Kung <fkung@redhat.com>
6748 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6749 (constructor): Make copy of arrays.
6750 (createCompatibleDestImage): Changed treatment of null ColorModel.
6751 (filter(BufferedImage, BufferedImage)): Re-implemented.
6752 (filter(Raster, WritableRaster, boolean[])): New method.
6753 (filter(Raster, WritableRaster)): Re-implemented.
6754 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6755 (getPoint2D): Cleaned up formatting.
6756 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6758 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6760 * javax/swing/UIManager.java
6761 (getBoolean(Object)): Reimplemented,
6762 (getBoolean(Object, Locale)): Likewise,
6763 (getBorder(Object)): Likewise,
6764 (getBorder(Object, Locale)): Likewise,
6765 (getColor(Object)): Likewise,
6766 (getColor(Object, Locale)): Likewise,
6767 (getDimension(Object)): Likewise,
6768 (getDimension(Object, Locale)): Likewise,
6769 (getFont(Object)): Likewise,
6770 (getFont(Object, Locale)): Likewise,
6771 (getIcon(Object)): Likewise,
6772 (getIcon(Object, Locale)): Likewise,
6773 (getInsets(Object)): Updated API docs,
6774 (getInsets(Object, Locale)): Likewise,
6775 (getInt(Object)): Reimplemented,
6776 (getInt(Object, Locale)): Likewise,
6777 (getString(Object)): Likewise,
6778 (getString(Object, Locale)): Likewise.
6780 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6782 * javax/swing/UIManager.java
6783 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6784 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6786 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6788 * javax/swing/plaf/metal/MetalLookAndFeel.java
6789 (initComponentDefaults): Corrected various font defaults.
6791 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6793 * java/awt/List.java: Added @since to various methods.
6795 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6797 * native/jni/native-lib/cpprocess.c:
6798 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6799 Add redirection of stdout to stderr.
6800 * native/jni/native-lib/cpprocess.h:
6801 Added redirect argument.
6802 * native/jni/java-lang/java_lang_VMProcess.c
6803 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6804 * vm/reference/java/lang/VMProcess.java: Likewise.
6805 * include/java_lang_VMProcess.h: Regenerated.
6807 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6809 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6810 __attribute to __attribute__.
6812 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6815 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6817 * java/awt/List.java: Source code reformatted.
6819 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6821 * gnu/CORBA/CollocatedOrbs.java,
6822 gnu/CORBA/SafeForDirectCalls.java: New files.
6823 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6824 Implement gnu.CORBA.SafeForDirectCalls.
6825 * gnu/CORBA/NamingService/Ext.java: Likewise.
6826 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6827 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6828 of the local host. (ior_to_object): Return the local object
6829 where possible. (run): Register/unregister this ORB.
6830 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6831 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6832 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6833 (constructors): Initialize noRetain. (_invoke): Drop servant
6834 if noRetain is true. (getHandler): Always seach for the new servant
6835 if noRetain is true.
6836 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6837 * NEWS: Added note about the new feature.
6839 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6841 * java/awt/Choice.java
6842 (addItem): Fixed API doc glitch.
6844 2006-09-05 Francis Kung <fkung@redhat.com>
6846 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6847 (createCompatibleDestImage): Re-implemented.
6848 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6849 compatibility, and use ColorConvertOp for color conversion if needed.
6850 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6852 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6854 gnu/CORBA/CDR/Vio.java,
6855 org/omg/CORBA_2_3/ORB.java,
6856 org/omg/CORBA_2_3/portable/InputStream.java,
6857 org/omg/CORBA_2_3/portable/OutputStream.java,
6858 org/omg/CosNaming/BindingIteratorHelper.java,
6859 org/omg/CosNaming/BindingTypeHelper.java,
6860 org/omg/CosNaming/NameComponentHelper.java,
6861 org/omg/CosNaming/NameHelper.java,
6862 org/omg/CosNaming/NamingContextExtHelper.java,
6863 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6864 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6865 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6866 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6867 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6868 org/omg/CosNaming/NamingContextHelper.java,
6869 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6870 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6871 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6872 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6873 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6874 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6875 org/omg/DynamicAny/AnySeqHelper.java,
6876 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6877 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6878 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6879 org/omg/DynamicAny/DynAnyHelper.java,
6880 org/omg/DynamicAny/DynAnyOperations.java,
6881 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6882 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6883 org/omg/DynamicAny/DynAnySeqHelper.java,
6884 org/omg/DynamicAny/DynArrayHelper.java,
6885 org/omg/DynamicAny/DynEnumHelper.java,
6886 org/omg/DynamicAny/DynFixedHelper.java,
6887 org/omg/DynamicAny/DynSequenceHelper.java,
6888 org/omg/DynamicAny/DynStructHelper.java,
6889 org/omg/DynamicAny/DynStructOperations.java,
6890 org/omg/DynamicAny/DynUnionHelper.java,
6891 org/omg/DynamicAny/DynValueHelper.java,
6892 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6893 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6894 org/omg/IOP/CodecFactoryHelper.java,
6895 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6896 org/omg/IOP/CodecOperations.java,
6897 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6898 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6899 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6900 org/omg/IOP/ComponentIdHelper.java,
6901 org/omg/IOP/ExceptionDetailMessage.java,
6902 org/omg/IOP/MultipleComponentProfileHelper.java,
6903 org/omg/IOP/ProfileIdHelper.java,
6904 org/omg/IOP/ServiceContextListHelper.java,
6905 org/omg/IOP/ServiceIdHelper.java,
6906 org/omg/IOP/TAG_CODE_SETS.java,
6907 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6908 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6909 org/omg/PortableInterceptor/CurrentHelper.java,
6910 org/omg/PortableInterceptor/IORInfo.java,
6911 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6912 org/omg/PortableInterceptor/ORBIdHelper.java,
6913 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6914 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6915 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6916 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6917 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6918 org/omg/PortableInterceptor/RequestInfoOperations.java,
6919 org/omg/PortableInterceptor/ServerIdHelper.java,
6920 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6921 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6922 org/omg/PortableServer/AdapterActivatorOperations.java,
6923 org/omg/PortableServer/CurrentHelper.java,
6924 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6925 org/omg/PortableServer/ForwardRequestHelper.java,
6926 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6927 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6928 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6929 org/omg/PortableServer/LifespanPolicyValue.java,
6930 org/omg/PortableServer/POA.java,
6931 org/omg/PortableServer/POAHelper.java,
6932 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6933 org/omg/PortableServer/POAManagerPackage/State.java,
6934 org/omg/PortableServer/POAOperations.java,
6935 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6936 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6937 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6938 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6939 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6940 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6941 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6942 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6943 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6944 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6945 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6946 org/omg/PortableServer/ServantActivatorHelper.java,
6947 org/omg/PortableServer/ServantLocatorHelper.java,
6948 org/omg/PortableServer/ServantLocatorOperations.java,
6949 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6950 org/omg/PortableServer/ThreadPolicyValue.java,
6951 org/omg/PortableServer/_ServantActivatorStub.java,
6952 org/omg/PortableServer/_ServantLocatorStub.java,
6953 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6955 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6957 * javax/rmi/CORBA/Tie.java,
6958 org/omg/CORBA/AnyHolder.java,
6959 org/omg/CORBA/AnySeqHelper.java,
6960 org/omg/CORBA/AnySeqHolder.java,
6961 org/omg/CORBA/BooleanHolder.java,
6962 org/omg/CORBA/BooleanSeqHelper.java,
6963 org/omg/CORBA/BooleanSeqHolder.java,
6964 org/omg/CORBA/ByteHolder.java,
6965 org/omg/CORBA/CharHolder.java,
6966 org/omg/CORBA/CharSeqHelper.java,
6967 org/omg/CORBA/CharSeqHolder.java,
6968 org/omg/CORBA/Context.java,
6969 org/omg/CORBA/CurrentHelper.java,
6970 org/omg/CORBA/CustomValue.java,
6971 org/omg/CORBA/DataOutputStream.java,
6972 org/omg/CORBA/DefinitionKindHelper.java,
6973 org/omg/CORBA/DomainManagerOperations.java,
6974 org/omg/CORBA/DoubleHolder.java,
6975 org/omg/CORBA/DoubleSeqHelper.java,
6976 org/omg/CORBA/DoubleSeqHolder.java,
6977 org/omg/CORBA/DynAny.java,
6978 org/omg/CORBA/DynSequence.java,
6979 org/omg/CORBA/DynValue.java,
6980 org/omg/CORBA/DynamicImplementation.java,
6981 org/omg/CORBA/FieldNameHelper.java,
6982 org/omg/CORBA/FixedHolder.java,
6983 org/omg/CORBA/FloatHolder.java,
6984 org/omg/CORBA/FloatSeqHelper.java,
6985 org/omg/CORBA/FloatSeqHolder.java,
6986 org/omg/CORBA/IdentifierHelper.java,
6987 org/omg/CORBA/IntHolder.java,
6988 org/omg/CORBA/LocalObject.java,
6989 org/omg/CORBA/LongHolder.java,
6990 org/omg/CORBA/LongLongSeqHelper.java,
6991 org/omg/CORBA/LongLongSeqHolder.java,
6992 org/omg/CORBA/LongSeqHelper.java,
6993 org/omg/CORBA/LongSeqHolder.java,
6994 org/omg/CORBA/ORB.java,
6995 org/omg/CORBA/ObjectHelper.java,
6996 org/omg/CORBA/ObjectHolder.java,
6997 org/omg/CORBA/OctetSeqHelper.java,
6998 org/omg/CORBA/OctetSeqHolder.java,
6999 org/omg/CORBA/PolicyErrorCodeHelper.java,
7000 org/omg/CORBA/PolicyErrorHelper.java,
7001 org/omg/CORBA/PolicyHelper.java,
7002 org/omg/CORBA/PolicyListHelper.java,
7003 org/omg/CORBA/PolicyTypeHelper.java,
7004 org/omg/CORBA/PrincipalHolder.java,
7005 org/omg/CORBA/RepositoryIdHelper.java,
7006 org/omg/CORBA/Request.java,
7007 org/omg/CORBA/ShortHolder.java,
7008 org/omg/CORBA/ShortSeqHelper.java,
7009 org/omg/CORBA/ShortSeqHolder.java,
7010 org/omg/CORBA/StringSeqHelper.java,
7011 org/omg/CORBA/StringSeqHolder.java,
7012 org/omg/CORBA/ULongLongSeqHelper.java,
7013 org/omg/CORBA/ULongLongSeqHolder.java,
7014 org/omg/CORBA/ULongSeqHelper.java,
7015 org/omg/CORBA/ULongSeqHolder.java,
7016 org/omg/CORBA/UShortSeqHelper.java,
7017 org/omg/CORBA/UShortSeqHolder.java,
7018 org/omg/CORBA/ValueBaseHelper.java,
7019 org/omg/CORBA/ValueBaseHolder.java,
7020 org/omg/CORBA/VersionSpecHelper.java,
7021 org/omg/CORBA/WCharSeqHelper.java,
7022 org/omg/CORBA/WCharSeqHolder.java,
7023 org/omg/CORBA/WStringSeqHelper.java,
7024 org/omg/CORBA/WStringSeqHolder.java,
7025 org/omg/CORBA/WrongTransactionHelper.java,
7026 org/omg/CORBA/_IDLTypeStub.java,
7027 org/omg/CORBA/_PolicyStub.java,
7028 org/omg/CORBA/portable/BoxedValueHelper.java,
7029 org/omg/CORBA/portable/Delegate.java,
7030 org/omg/CORBA/portable/ObjectImpl.java,
7031 org/omg/CORBA/portable/ServantObject.java,
7032 org/omg/CORBA/portable/StreamableValue.java,
7033 org/omg/CosNaming/BindingType.java,
7034 org/omg/CosNaming/IstringHelper.java,
7035 org/omg/DynamicAny/FieldNameHelper.java,
7036 org/omg/PortableServer/Servant.java: Documentation fixes.
7038 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
7040 * java/awt/Rectangle.java
7041 (setRect(double, double, double, double)): Modified rounding of input
7044 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7046 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7047 Disallow H1 - H6 in the paragraphs.
7048 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7049 (preprocess): Leave at most one leading and/or trailing space.
7050 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7051 Do not add any text after closing the HTML tag.
7053 2006-09-02 Roman Kennke <kennke@aicas.com>
7056 * javax/swing/plaf/basic/BasicTextUI.java
7057 (RootView.getPreferredSpan): Default to 10 when there is no
7059 (RootView.getMinimumSpan): Forward to view and default to 10
7060 when there is no real view.
7061 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7062 (getMaximumSize): Check for overflow.
7063 * javax/swing/text/FieldView.java
7064 (getResizeWeight): Removed unneeded assignment.
7066 2006-09-01 Francis Kung <fkung@redhat.com>
7067 * java/awt/image/ColorConvertOp.java
7068 (copyImage): Updated javadoc and comments.
7069 (copyRaster): Add javadoc.
7070 (createCompatibleColorModel): Add javadocs and comments.
7071 (createCompatibleDestImage): Use correct transfer type.
7072 (createCompatibleDestRaster): Add new parameter for transfer type.
7073 (filter): Use correct transfer type.
7074 * java/awt/image/ConvolveOp.java: Updated javadocs.
7075 (createCompatibleDestImage): Set new image properties correctly.
7076 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7077 (filter(WritableRaster, Raster): Clip sample values to [0-255].
7079 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7081 * javax/swing/table/DefaultTableModel.java:
7082 (checkSize): Added null check for dataVector.
7084 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7086 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7087 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7088 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7090 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7092 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7093 (paintIcon): Removed unused import statements, lowered cast requirement
7094 from JCheckBox to AbstractButton.
7096 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7098 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7099 (initComponentDefaults): Added, changed and removed some
7100 tabbed pane properties.
7102 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7104 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7105 (createContent): Changed menu item name and tab naming.
7107 2006-09-01 Roman Kennke <kennke@aicas.com>
7110 * javax/swing/plaf/basic/BasicHTML.java
7111 (HTMLRootView.getAttributes): Overridden to return null.
7112 (HTMLRootView.getElement): Overridden to return the view's
7115 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7117 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7118 (calculateTabAreaHeight): Use getTabRunOverlay method instead
7119 of accessing variable directly.
7120 (calculateTabAreaWidth): Dito.
7122 2006-08-31 Keith Seitz <keiths@redhat.com>
7124 * include/jvmti.h: Include jvmti_md.h.
7126 2006-08-31 Keith Seitz <keiths@redhat.com>
7128 From Martin Platter <motse@complang.tuwien.ac.at>:
7129 * Makefile.am (include_HEADERS): Include jvmti.h.
7130 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7131 (jvmtiError): Remove superfluous comma after last entry.
7132 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7133 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7134 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7135 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7137 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7138 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7139 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7142 2006-08-31 Roman Kennke <kennke@aicas.com>
7144 * javax/swing/text/BoxView.java
7145 (getWidth): Return the width with insets added, not with one
7146 added and one removed.
7147 (getHeight): Return the height with insets added, not with one
7148 added and one removed.
7149 * javax/swing/text/GlyphView.java
7150 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7151 * javax/swing/text/ParagraphView.java
7152 (Row.getAlignment): Adjust alignment with respect to
7153 the justification attribute.
7154 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7156 * javax/swing/text/html/CSS.java
7157 (getValue): Convert length values.
7158 * javax/swing/text/html/Paragraph.java
7159 (painter): New field.
7160 (paint): Implemented to delegate painting to the BoxPainter too.
7161 (setPropertiesFromAttributes): Implemented to load attributes
7163 * javax/swing/text/html/StyleSheet.java
7164 (BoxPainter.as): Removed field.
7165 (BoxPainter.leftInset): New field.
7166 (BoxPainter.bottomInset): New field.
7167 (BoxPainter.rightInset): New field.
7168 (BoxPainter.topInset): New field.
7169 (BoxPainter.BoxPainter): Implemented to load the insets from
7171 (BoxPainter.getInset): Implemented.
7172 * gnu/javax/swing/text/html/Length.java: New class.
7173 Converts CSS length units to usable values.
7175 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7177 * configure.ac: Add check for gethostbyname_r.
7178 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7179 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7180 SOCKET_NOSIGNAL according to the configure check.
7181 (cpnet_send): Use SOCKET_NOSIGNAL.
7182 (cpnet_sendTo): Likewise.
7183 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7185 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7188 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7190 2006-08-31 Roman Kennke <kennke@aicas.com>
7192 * javax/swing/JEditorPane.java
7193 (getPreferredSize): Replace preferred size with minimum
7194 UI size only if the scrollable does _not_ track the viewport
7195 size and only if the viewport's size is smaller than the
7197 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7199 * javax/swing/plaf/basic/BasicTextUI.java
7200 (getPreferredSize): Read-lock the document to avoid
7201 concurrency problems.
7202 (getMaximumSize): Return maximum size of the view.
7203 Read-lock the document to avoid concurrency problems.
7204 (getMinimumSize): Return minimum size of the view.
7205 Read-lock the document to avoid concurrency problems.
7207 2006-08-31 Gary Benson <gbenson@redhat.com>
7209 * java/net/SocketPermission.java
7210 (maybeBracketIPv6Address): Renamed to processHostport.
7211 (processHostport): Also translate "" to "localhost".
7212 (setHostPort): Remove special cases for empty hostport and for
7213 extra colons in hostport (processHostport handles these now).
7215 2006-08-31 Mark Wielaard <mark@klomp.org>
7217 * javax/swing/text/ZoneView.java (Zone): Make static class.
7218 Constructor takes axis parameter.
7219 (createZone): Create Zone with getAxis() as major axis.
7221 2006-08-30 Roman Kennke <kennke@aicas.com>
7223 * javax/swing/text/ZoneView.java
7224 (loadChildren): Implemented.
7225 (getViewIndexAtPosition): Implemented.
7226 (checkZoneAt): New helper method.
7227 (splitZone): New helper method.
7228 (getPreferredZoneEnd): New helper method.
7230 2006-08-30 Roman Kennke <kennke@aicas.com>
7232 * javax/swing/text/ZoneView.java: New class.
7234 2006-08-30 Roman Kennke <kennke@aicas.com>
7236 * javax/swing/JMenu.java
7237 (getMenu): Removed unneeded cast.
7238 (getPopupMenuOrigin): Made positioning algorithm better respect
7240 (setMenuLocation): Also set the location on the popup if it's
7242 (setModel): Use menuChangeListener so that we don't override
7243 the changeListener field from AbstractButton.
7244 (setPopupMenuVisible): Use custom location if set, otherwise
7245 fallback to getPopupMenuOrigin().
7247 2006-08-29 Roman Kennke <kennke@aicas.com>
7249 * javax/swing/text/InternationalFormatter.java
7250 (stringToValue): Fixed bounds check.
7251 * javax/swing/text/MaskFormatter.java
7252 (MaskFormatter): Don't explicitly set allosInvalid property.
7253 (convertStringToValue): New helper method.
7254 (convertValueToString): New helper method.
7255 (convertValue): Removed. Replaced by the 2 convert* methods
7257 (getPadCharAt): Removed.
7258 (isCharValid): Removed.
7260 (stringToValue): Fixed stringToValue conversion.
7261 (stripLiterals): Removed.
7262 (valueToString): Fixed valueToString conversion.
7263 * javax/swing/text/DefaultFormatter.java
7264 (DefaultFormatter): Default to commitsOnValidEdit = false.
7266 2006-08-29 Roman Kennke <kennke@aicas.com>
7268 * javax/swing/text/TextAction.java
7269 (getTextComponent): Check event for null and return null in
7271 (augmentList): Augment Actions based on their names.
7272 * javax/swing/text/DefaultEditorKit.java
7273 (BeginAction.actionPerformed): Check target for null.
7274 (BeginLineAction.actionPerformed): Check target for null.
7275 (CopyAction.actionPerformed): Check target for null.
7276 (CutAction.actionPerformed): Check target for null.
7277 (EndAction.actionPerformed): Check target for null.
7278 (EndLineAction.actionPerformed): Check target for null.
7279 (InsertBreakAction.actionPerformed): Check target for null.
7280 (InsertTabAction.actionPerformed): Check target for null.
7281 (PasteAction.actionPerformed): Check target for null.
7282 (SelectAllAction.actionPerformed): Check target for null.
7283 (SelectionBeginAction.actionPerformed): Check target for null.
7284 (SelectionBeginLineAction.actionPerformed): Check target for null.
7285 (SelectionEndAction.actionPerformed): Check target for null.
7286 (SelectionEndLineAction.actionPerformed): Check target for null.
7287 (SelectLineAction.actionPerformed): Check target for null.
7288 (SelectWordAction.actionPerformed): Check target for null.
7290 2006-08-29 Roman Kennke <kennke@aicas.com>
7292 * javax/swing/plaf/basic/BasicTextUI.java
7293 (FocusHandler): New class. This is moved from the anonymous
7294 inner focus listener class to a static member class, and
7295 is now shared between components.
7296 (DocumentHandler): This class is combined with the PropertyHandler
7297 into the Handler class.
7298 (PropertyChangeHandler): This class is combined with the
7299 DocumentHandler into the Handler class.
7300 (Handler): New class. This combines the Property and Document
7301 handler into one class.
7302 (RootView.changedUpdate): Only forward if real view != null.
7303 (RootView.insertUpdate): Only forward if real view != null.
7304 (RootView.removeUpdate): Only forward if real view != null.
7305 (documentHandler): Removed field and replaced by handler.
7306 (focuslistener): Made field static and renamed to focusListener.
7307 (handler): New field.
7308 (kit): Lazily initialize field.
7309 (rootView): Lazily initialize field.
7310 (updateHandler): Removed and replaced by handler.
7311 (getEditorKit): Lazily instantiate field.
7312 (installDefaults): Don't set margin twice. Install correct
7313 property for disabledTextColor. Moved caret and highlighter
7314 initialization to installFixedDefaults.
7315 (installFixedDefaults): New method. Installs defaults that
7316 can't be overridden by subclasses.
7317 (installListeners): Only install focus handler when new
7318 system property gnu.swing.text.no-xlike-clipboard is not set.
7319 Lazily initialize focus handler.
7320 (installUI): Lazily initialize rootView. Install handler
7321 both for property and document changes.
7322 (uninstallDefaults): Uninstall the UI defaults.
7323 (uninstallFixedDefaults): New method. Uninstalls the fixed
7325 (installListeners): Only uninstall focus handler when not null.
7326 (uninstallUI): Uninstall property and document listener here.
7328 2006-08-29 Gary Benson <gbenson@redhat.com>
7330 * java/net/SocketPermission.java
7331 (maybeBracketIPv6Address): New method.
7332 (<init>): Pass the hostport argument through the above.
7334 * java/net/NetworkInterface.java (getInetAddresses):
7335 Don't bracket IPv6 addresses.
7337 2006-08-28 Roman Kennke <kennke@aicas.com>
7339 * javax/swing/text/BoxView.java
7340 (calculateMinorAxisRequirements): Initialize max size
7341 with Integer.MAX_VALUE.
7342 * javax/swing/text/Utilities.java
7343 (getBreakLocation): For simple chars, scan the text directly.
7344 * javax/swing/text/WrappedPlainView.java
7345 (tabBase): New field.
7346 (tabSize): New field.
7347 (calculateBreakPosition): Use Utilities. Fixed for correct
7349 (changedUpdate): Update children directly.
7350 (insertUpdate): Update children directly. Notify children.
7351 (removeUpdate): Update children directly. Notify children.
7352 (updateChildren): New helper method.
7353 (nextTabStop): Fixed to return correct results.
7354 (paint): Update tabBase.
7355 (updateMetrics): Update tab size.
7357 2006-08-28 Roman Kennke <kennke@aicas.com>
7359 * javax/swing/text/Position.java
7360 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7361 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7363 2006-08-28 Roman Kennke <kennke@aicas.com>
7365 * javax/swing/text/View.java
7366 (height): Removed unneeded field.
7367 (width): Removed unneeded field.
7368 (getBreakWeight): Return GoodBreakWeight when pos is after
7370 (getToolTipText): Check view index more carefully. Avoid
7372 (insertUpdate): Only execute method body if view count > 0.
7373 When updateChildren returns false, clear the ec variable.
7374 (updateChildren): Added null checks.
7375 (viewToModel): Initialize bias array correctly.
7376 * javax/swing/text/CompositeView.java
7377 (children): Made private.
7378 (numChildren): New field.
7379 (loadChildren): Check factory for null. Don't load children
7380 when factory is null.
7381 (replace): Removed null check. Nullify removed children. Made
7382 growing the array more efficient.
7383 (getViewCount): Return numChildren rather then the real array
7385 * javax/swing/text/BoxView.java
7386 (getViewAtPoint): Fixed algorithm for finding the view.
7387 (replace): Made array growing more efficient.
7388 (replaceLayoutArray): New helper method for growing/patching
7390 (viewToModel): Make sure we have a valid layout.
7392 2006-08-28 Tania Bento <tbento@redhat.com>
7394 * java/awt/MenuShortcut.java
7395 (MenuShortcut (int, boolean)): Set keyName.
7396 (toString): Modified string output.
7397 (setKeyName): New private method.
7399 2006-08-28 Roman Kennke <kennke@aicas.com>
7401 * javax/swing/text/GapContent.java
7402 (Mark.getOffset): Made assert less strict, include boundary.
7403 (search): Made package private to avoid accessor method.
7405 2006-08-28 Roman Kennke <kennke@aicas.com>
7407 * javax/swing/text/StringContent.java
7408 (InsertUndo.positions): New field.
7409 (InsertUndo.redo): Update the undo positions.
7410 (InsertUndo.undo): Fetch the undo positions.
7411 (Mark): New class. Layer of indirection to allow Positions
7412 to be GC'ed while we still hold references to the Mark.
7413 (RemoveUndo.len): New field.
7414 (RemoveUndo.positions): New field.
7415 (RemoveUndo.RemoveUndo): Fetch undo positions.
7416 (RemoveUndo.redo): Re-fetch positions and string.
7417 (RemoveUndo.undo): Update undo positions.
7418 (StickyPosition.mark): New field.
7419 (StickyPosition.offset): Removed field.
7420 (StickyPosition.StickyPosition): Create new Mark. Register
7421 Position in queueOfDeath. Update reference count on mark.
7422 (StickyPosition.getOffset): Return offset stored in mark.
7423 (StickyPosition.setOffset): Removed unneeded method.
7424 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7426 (marks): New field. Stores the marks.
7427 (positions): Removed field.
7428 (queueOfDeath): New field. Used for GCing the positions.
7429 (StringContent): Initialize queueOfDeath.
7430 (createPosition): Lazily create marks vector.
7431 (garbageCollect): New helper method. Collects positions
7432 to be GCed and updates their marks.
7433 (getChars): Fixed bounds check.
7434 (getPositionsInRange): When v == null, create new Vector,
7435 otherwise use v. Store UndoPosRefs in vector.
7436 (getString): Added comment about bug in RI.
7437 (insertString): Use new helper method for replacing the array.
7438 Correctly update positions.
7439 (length): Removed this qualifier.
7440 (remove): Use new helper method for replacing the array.
7441 Correctly update positions.
7442 (replace): New helper method for growing or patching the array.
7443 (updateUndoPositions): Implemented. Updates the positions
7444 for undo/redo operations.
7446 2006-08-27 Roman Kennke <kennke@aicas.com>
7448 * javax/swing/text/StyleContext.java
7449 (NamedStyle.attributes): Made field transient.
7450 (NamedStyle.changeEvent): Made field transient.
7451 (NamedStyle.name): Removed field. The name is stored as
7453 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7454 storing the name and check for null name and resolveParent.
7455 Don't initialize changeEvent.
7456 (NamedStyle.copyAttributes): Return a new NamedStyle,
7457 rather than a plain copy of the attributes field.
7458 (NamedStyle.fireStateChange): Lazily create changeEvent
7460 (NamedStyle.getName): Fetch name from attributes.
7461 (NamedStyle.setName): Store name from attributes.
7462 (NamedStyle.readObject): Implemented for correct
7464 (NamedStyle.writeObject): Implemented for correct
7466 (NamedStyle.setResolveParent): When new parent is null,
7467 remove resolveParent attribute. Use addAttribute() method
7468 rather than StyleContext addAttribute().
7469 (NamedStyle.toString): Fixed to produce output equal to the
7471 (SmallAttributeSet.resolveParent): New field.
7472 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7473 the resolveParent field correctly.
7474 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7475 array but store it directly. Update
7476 the resolveParent field correctly.
7477 (SmallAttributeSet.clone): Return this as the object is
7479 (SmallAttributeSet.containsAttributes): Make sure that keys
7480 and values are the same.
7481 (SmallAttributeSet.containsAttribute): Make sure that keys
7482 and values are the same.
7483 (SmallAttributeSet.copyAttributes): Return this as the object is
7485 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7486 are equal if they have the same number of attributes and
7487 one contains the other.
7488 (SmallAttributeSet.getAttribute): Improved lookup of
7490 (SmallAttributeSet.getResolveParent): Improved lookup of
7492 (SmallAttributeSet.isEqual): When comparing object is a
7493 SmallAttributeSet, consider them equal only if they are the
7495 (SmallAttributeSet.toString): Fixed to produce output equal to the
7497 (attributeSetPool): New field.
7498 (defaultStyleContext): Initialize lazily.
7499 (defaultStyle): Removed field. This is stored in the style context
7501 (listenerList): Removed field. The NamedStyle stores the
7503 (readAttributeKeys): New static field. Used for looking up
7504 the serialization mappings when reading.
7505 (search): New field. Used as search key.
7506 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7507 (styles): New field. Stores the styles and listeners.
7508 (styleTable): Removed field. Replaced by styles field.
7509 (writeAttributeKeys): New static field. Used for looking up
7510 the serialization mappings when writing.
7511 (static_initializer): Register mappings for all keys in
7513 (StyleContext): Initialize styles correctly.
7514 (addAttributes): Fixed caching of immutable attributes.
7515 (addAttribute): Fixed caching of immutable attributes.
7516 (removeAttributes): Fixed caching of immutable attributes.
7517 (removeAttribute): Fixed caching of immutable attributes.
7518 (addChangeListener): Add listener to styles field.
7519 (removeChangeListener): Remove listener from styles field.
7520 (getChangeListeners): Fetch listeners from styles field.
7521 (addStyle): Add style to styles field.
7522 (cleanupPool): New method.
7523 (getDefaultStyleContext): Lazily create context.
7524 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7525 (getMutableAttributeSet): New helper method. Used for
7527 (getStaticAttribute): Fetch key from readAttributeKeys.
7528 (getStyleNames): Return names from styles field.
7529 (getStyle): Lookup style in styles field.
7530 (removeStyle): Remove style from styles field.
7531 (readAttributeSet): Fixed deserialization.
7532 (writeAttributeSet): Fixed serialization.
7533 (readObject): Fixed deserialization.
7534 (writeObject): Fixed serialization.
7535 (reclaim): Simply cleanup the pool.
7536 (registerStaticAttributeKey): Store mapping in both ways.
7537 (searchImmutableSet): New helper method for caching.
7538 (toString): Fixed for output like the RI.
7539 * javax/swing/text/StyleConstants.java
7540 (keys): New field. Stores all known keys.
7541 (StyleConstants): Store created key in keys list.
7542 * javax/swing/event/EventListenerList.java
7543 (readObject): Fixed deserialization.
7544 (writeObject): Fixed serialization.
7546 2006-08-25 Roman Kennke <kennke@aicas.com>
7548 * javax/swing/text/CompositeView.java
7549 (insets): Removed. Replaced by single short fields.
7550 (top): New field. Replaces insets.
7551 (bottom): New field. Replaces insets.
7552 (left): New field. Replaces insets.
7553 (right): New field. Replaces insets.
7554 (CompositeView): Initialize insets fields.
7555 (createDefaultLocation): Removed unneeded method.
7556 (getBottomInset): Return field directly.
7557 (getTopInset): Return field directly.
7558 (getLeftInset): Return field directly.
7559 (getRightInset): Return field directly.
7560 (getInsideAllocation): Adjusted to work on new insets fields.
7561 (getViewIndex): Fixed check.
7562 (loadChildren): Don't replace the old children.
7563 (replace): Make sure that there is an array to operate on.
7564 Only set parent to null, when it is this View.
7565 (setInsets): Adjusted to work with new insets fields.
7566 (setParagraphInsets): Fixed to pull insets directly from
7569 2006-08-25 Roman Kennke <kennke@aicas.com>
7571 * javax/swing/text/ComponentView.java
7572 (Interceptor): New inner helper class. Used to propagate
7573 invalidate requests and cache component layout sizes.
7574 (interceptor): New field.
7575 (getAlignment): Fetch alignment from interceptor container.
7576 (getComponent): Don't create component here. This is done
7578 (getMaximumSpan): Fetch layout info from interceptor. Check
7580 (getMinimumSpan): Fetch layout info from interceptor. Check
7582 (getPreferredSpan): Fetch layout info from interceptor. Check
7584 (modelToView): Fixed model to view mapping.
7585 (viewToModel): Fixed view to model mapping.
7586 (paint): Check for null. Set bounds on interceptor rather
7588 (setParentImpl): Install interceptor between component
7589 and hosting container.
7590 (setParent): Call super.setParent() immediately.
7592 2006-08-25 Roman Kennke <kennke@aicas.com>
7594 * javax/swing/text/LabelView.java
7595 (setPropertiesFromAttributes): Only set background when
7596 the corresponding attribute is actually defined, otherwise
7597 set to null, as the StyleConstants would return black.
7598 * javax/swing/text/DefaultStyledDocument.java
7599 (ElementBuffer.documentEvent): Removed obsolete field.
7600 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7601 to correctly update the element structure.
7602 (ElementBuffer.insertContentTag): Removed unused statement.
7603 (ElementBuffer.recreateAfterFracture): Removed
7604 unused obsolete method.
7605 (setCharacterAttributes): Removed unused statement.
7607 2006-08-25 Roman Kennke <kennke@aicas.com>
7609 * examples/gnu/classpath/examples/swing/Demo.java
7610 (LaterMain.run): Removed unused local variable.
7611 (Demo): Don't put desktop in scrollpane.
7612 (addChildren): Removed unused method.
7613 (mkButtonBar): Added HTML demo.
7614 (mkMenuBar): Added HTML demo.
7615 (mkPanel): Removed unused method.
7616 (mkScrollPane): Removed unused method.
7617 (mkTree): Removed unused method.
7618 (valign2str): Removed unused method.
7619 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7620 Initialize text field with some HTML that already works.
7621 (DEBUG): New field. Set to true for debugging output.
7622 (createContent): Dump element tree after parsing.
7624 2006-08-25 Roman Kennke <kennke@aicas.com>
7626 * javax/swing/text/html/CSS.java
7627 (getValue): Added color value conversion.
7628 * javax/swing/text/html/HTMLDocument.java
7629 (HTMLReader.ConvertAction): New class, converts HTML style tags
7631 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7632 * javax/swing/text/html/InlineView.java
7633 (setPropertiesFromAttributes): Implemented to fetch
7634 CSS character attributes.
7635 * javax/swing/text/html/StyleSheet.java
7636 (addCSSAttribute): Convert value.
7637 (getBackground): Implemented to fetch CSS background color
7639 (getForeground): Implemented to fetch CSS color
7641 (getFont): Adjust font size for superscript and subscript.
7642 (translateHTMLToCSS): Rudimentary implementation that
7643 copies the original attributes, so that any CSS attributes in
7644 there are preserved.
7645 (stringToColor): Use CSSColor for conversion.
7646 * gnu/javax/swing/text/html/css/CSSColor.java:
7647 New class. Converts CSS color values to RGB color values.
7648 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7649 Removed. This is more or less replaced by CSSColor and the
7650 ConvertAction in HTMLReader.
7652 2006-08-25 Roman Kennke <kennke@aicas.com>
7654 * javax/swing/text/BoxView.java
7655 (childReqs): Removed obsolete field.
7656 (baselineLayout): Reimplemented for correct baseline layout.
7657 (baselineRequirements): Reimplemented for correct baseline
7659 (updateChildRequirements): Removed obsolete method.
7660 * javax/swing/text/GlyphView.java
7661 (DefaultGlyphPainter.getSpan): Removed unused statement.
7662 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7663 specially. The subscript/superscript layout is performed
7664 via the alignment, the font is supplied by the StyleContext.
7665 (breakView): Removed unused statements.
7666 (getAlignment): Adjust alignment according to the
7667 superscript/subscript setting.
7668 (getFont): Reimplemented to fetch the font from the style
7669 context, or from the document if the stylecontext is not
7671 (getPreferredSpan): Adjust span for superscript. Use switch
7673 * javax/swing/text/LabelView.java
7674 (setPropertiesFromAttributes): Fetch background and foreground
7675 from document / style context.
7676 (isSubscript): Resync properties if needed.
7677 * javax/swing/text/ParagraphView.java
7678 (Row.calculateMinorAxisRequirements): Overridden to perform
7680 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7682 2006-08-24 Roman Kennke <kennke@aicas.com>
7684 * javax/swing/text/Utilities.java
7685 (BUF_LENGTH): Removed unused field.
7686 (drawTabbedText): Removed unneeded cast.
7687 (getBreakLocation): Removed unneeded cast.
7688 Fixed offset to account for Segments not starting at 0.
7690 2006-08-24 Roman Kennke <kennke@aicas.com>
7692 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7693 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7694 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7695 (ScrollingPane.updateUI): Likewise.
7696 (calculateTabWidth): Rewritten to correctly and efficiently
7697 layout the tab width.
7698 (layoutLabel): Call SwingUtilities method with the tabPane
7700 (paintContentBorderLeftEdge): Removed unused statement.
7701 (paintContentBorderRightEdge): Removed unused statement.
7702 (paintContentBorder): Removed unused statement.
7704 2006-08-24 Roman Kennke <kennke@aicas.com>
7706 * javax/swing/plaf/basic/BasicTextUI.java
7707 (RootView.getAttributes): Overridden to return null,
7708 as the RootView has no parent.
7710 2006-08-24 Roman Kennke <kennke@aicas.com>
7712 * javax/swing/text/html/CSSParser.java: Removed.
7713 * javax/swing/text/html/CSS.java
7714 (getValue): New helper method. Returns special converter
7715 instances for certain kinds of property values.
7716 * javax/swing/text/html/HTMLDocument.java
7717 (HTMLReader.CharacterAction.start): Don't translate tags
7718 here. Instead, store the attributes directly with the tag
7720 (content): Removed field. The Content object is handled
7721 by AbstractDocument.
7722 (styleSheet): Removed field. The styleSheet is the styleContext
7723 of this document and handled by the DefaultStyledDocument already.
7724 (HTMLDocument(Content,StyleSheet): Simply call super here.
7725 The super classes already handle the content and styleContext.
7726 (HTMLDocument()): Call this() with a default GapContent and
7728 (getStyleSheet): Return the styleContext here.
7729 (insertUpdate): New method. Overridden to add the
7730 CONTENT dummy tag to the element's attributes.
7731 (setBase): Set the base on the styleContext.
7732 * javax/swing/text/html/HTMLEditorKit.java
7733 (styleContext): Removed unneeded field.
7734 (styleSheet): Made field private.
7735 (HTMLEditorKit): Do nothing here. The StyleSheet is
7736 created lazily in getStyleSheet(). A styleContext is not
7738 (getStyleSheet): Create StyleSheet correctly.
7739 (insertHTML): Removed unneeded cast.
7740 * javax/swing/text/html/InlineView.java
7741 (attributes): New field.
7742 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7743 (getAttributes): Implemented to fetch the attributes from
7745 * javax/swing/text/html/MultiAttributeSet.java: New class.
7746 Multiplexes between several AttributeSets.
7747 * javax/swing/text/html/MultiStyle.java: New class.
7748 Multiplexes between several Styles.
7749 * javax/swing/text/html/ParagraphView.java
7750 (attributes): New field.
7751 (getAttributes): Implemented to fetch the attributes from
7753 * javax/swing/text/html/StyleSheet.java
7754 (CssParser): Removed inner class.
7755 (CSSStyle): New inner class. Represents a style defined
7757 (CSSStyleSheetParserCallback): New class, for parsing
7759 (css): New field. Stores the CSS rules.
7760 (resolvedStyles): New field. Stores resolved styles.
7761 (StyleSheet): Initialize resolvedStyles map.
7762 (addRule): Removed bogus impl.
7763 (getFont): Implemented to fetch font, based on CSS rules.
7764 (getResolvedStyle): New helper method. Looks up resolved
7765 styles, and resolves a style if necessary.
7766 (resolveStyle): New pair of helper methods. Resolves
7768 (getRule(String)): Provide rudimentary implementation.
7769 (getRule(Tag,Element)): Implemented.
7770 (getViewAttributes): Implemented.
7771 (loadRules): Implemented.
7772 (translateHTMLToCSS): Tagged as not implemented.
7773 * javax/swing/text/html/ViewAttributeSet.java: New class.
7775 2006-08-24 Roman Kennke <kennke@aicas.com>
7777 * javax/swing/text/FlowView.java:
7778 (LogicalView.getAttributes): New method. Overrides super
7779 impl to return the attributes of the FlowView instance.
7780 * javax/swing/text/LabelView.java:
7781 (setPropertiesFromAttributes): Fetch attributes from
7782 View, rather then from the Element. (In the HTML
7783 package the getAttributes() method is overridden to
7784 return different attributes). Fetch font from the StyledDocument.
7786 2006-08-24 Roman Kennke <kennke@aicas.com>
7788 * javax/swing/text/DefaultEditorKit.java:
7789 (DefaultKeyTypedAction.actionPerform): Also filter
7790 ALT and CTRL modifiers.
7792 2006-08-24 Roman Kennke <kennke@aicas.com>
7794 * gnu/javax/swing/text/html/css/FontSize.java,
7795 * gnu/javax/swing/text/html/css/FontStyle.java,
7796 * gnu/javax/swing/text/html/css/FontWeight.java:
7797 New classes. Used to convert CSS font attributes to AWT/Swing
7800 2006-08-24 Francis Kung <fkung@redhat.com>
7801 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7802 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7803 (srccs, dstcs, rasterValid): Variables removed.
7804 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7805 (copyRaster): Check for null rendering hints
7806 (createCompatibleColorModel): New private method.
7807 (createCompatibleDestImage): Re-implemented.
7808 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7809 (createCompatibleDestRaster(Raster)): Re-implemented.
7810 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7811 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7812 (getPoint2D): Clean up formatting.
7813 * java/awt/image/ComponentColorModel.java
7814 (constructor): use findBits method instead of passing null.
7815 (findBits): New method.
7817 2006-08-24 Gary Benson <gbenson@redhat.com>
7819 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7822 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7824 * java/lang/ref/Reference.java
7825 (queue, nextOnQueue): Made volatile.
7826 (enqueue): Made thread safe.
7827 * java/lang/ref/ReferenceQueue.java
7829 (poll): Removed synchronized.
7830 (enqueue): Changed to synchronize on lock object, to update Reference
7831 state and return success status.
7832 (dequeue, remove): Synchronize on lock object.
7834 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7836 * java/security/SecureClassLoader.java
7837 (protectionDomainCache): Changed to HashMap.
7838 (SecureClassLoader): Removed redundant security check.
7839 (defineClass(String,byte[],int,int,CodeSource): Moved
7840 protection domain lookup/construction to new method.
7841 (defineClass(String,ByteBuffer,CodeSource): New method.
7842 (getProtectionDomain): New method.
7844 2006-08-23 Roman Kennke <kennke@aicas.com>
7846 * javax/swing/JComponent.java
7847 (isRepainting): Made package private.
7848 (paintChild): New field.
7849 (findOpaqueParent): Removed method. This is now in
7851 (findOverlapFreeParent): Removed method. This is now
7852 in paintImmediately2().
7853 (findPaintRoot): Removed method. This is now
7854 in paintImmediately2().
7855 (isCompletelyObscured): Changed to take rectangle as single
7857 (isPaintingDoubleBuffered): Removed method. This is now
7858 in paintImmediately2().
7859 (isPartiallyObscured): New helper method.
7860 (onTop): New helper method for optimization.
7861 (paintChildren): Paint only to specific child when
7862 requested like this from paintImmediately2().
7863 (paintDoubleBuffered): Changed to take rectangle as single int
7865 (paintImmediately2): Changed to take rectangle as single int
7866 arguments. Optimized determination of paint root.
7867 (paintImmediately(Rectangle)): Change to delegate to
7868 paintImmediately(int,int,int,int).
7869 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7870 and start painting there.
7871 (paint): Call paintDoubleBuffered() with int arguments. Only
7872 paint component, when not completely occupied by opaque child.
7873 (processKeyBinding): Removed unnecessary cast.
7874 (isOccupiedByChild): New helper method.
7875 * javax/swing/RepaintManager.java
7876 (repaintUnderway): Removed obsolete field.
7877 (commitRequests): Removed obsolete field.
7878 (RepaintManager): Removed initialization of obsolete fields.
7879 (addDirtyRegion): Removed unused statement.
7880 (commitBuffer): Changed to take plain ints as argument.
7881 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7882 Compute offsets in place, rather than using SwingUtilities.
7883 (paintDirtyRegions): Removed unused field.
7884 * javax/swing/JMenuItem.java
7885 (onTop): Return true when not descendant of JInternalFrame.
7886 * javax/swing/JPopupMenu.java
7887 (onTop): Return true.
7888 * javax/swing/JToolTip.java
7889 (onTop): Return true.
7890 * javax/swing/JViewport.java
7891 (paintImmediately2): Change signature to match the
7892 corresponding JComponent method.
7894 2006-08-23 Tania Bento <tbento@redhat.com>
7896 * java/awt/Color.java
7897 (brighter): Modified algorithm to correctly determine the
7898 new brighter colour.
7900 2006-08-23 Roman Kennke <kennke@aicas.com>
7902 * java/awt/Container.java
7903 (maxSize): Removed field. This is already declared in Component.
7904 (validateTree): Check for ContainerPeer. Don't addNotify here.
7905 Only validate Component instances if they are invalid.
7907 2006-08-22 Roman Kennke <kennke@aicas.com>
7909 * javax/swing/JComponent.java
7910 (preferredSize): Removed field.
7911 (maximumSize): Removed field.
7912 (minimumSize): Removed field.
7913 (getMaximumSize): Adjusted to delegate to Component, rather
7914 then managing the size in JComponent.
7915 (getMinimumSize): Adjusted to delegate to Component, rather
7916 then managing the size in JComponent.
7917 (getPreferredSize): Adjusted to delegate to Component, rather
7918 then managing the size in JComponent.
7919 (isMaximumSizeSet): Removed.
7920 (isMinimumSizeSet): Removed.
7921 (isPreferredSizeSet): Removed.
7922 (setMaximumSize): Removed.
7923 (setMinimumSize): Removed
7924 (setPreferredSize): Removed.
7926 2006-08-22 Roman Kennke <kennke@aicas.com>
7928 * javax/swing/AbstractButton.java
7929 (ButtonChangeListener.stateChanged): Delegate to combined
7931 (EventHandler): New inner class. Handles all three types
7932 of events on the model.
7933 (eventHandler): New field. Stores the combined event
7935 (AbstractButton): Moved listener initialization to
7937 (createActionListener): Return combined handler.
7938 (createChangeListener): Return combined handler.
7939 (createItemListener): Return combined handler.
7940 (getEventHandler): New helper method for creating the combined
7942 (setModel): Initialize listeners here.
7943 * javax/swing/plaf/basic/BasicButtonListener.java
7944 (ButtonAction): New class. Implements the keyboard action
7946 (checkOpacity): Implemented.
7947 (createDefaultActionMap): New helper method.
7948 (installKeyboardActions): Rewritten to install InputMap
7949 and ActionMap according to 'new' keyboard input method.
7950 (mouseClicked): Commented as no-op.
7951 (mouseDragged): Commented as no-op.
7952 (mouseMoved): Commented as no-op.
7953 (propertyChange): Check for contentAreaFilled change and
7954 update opacity. Pull handling of HTLM in font and text handler.
7955 (stateChanged): Repaint button.
7956 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7957 * javax/swing/plaf/basic/BasicButtonUI.java
7958 (listener): Removed.
7959 (sharedListener): New static field. Stores the shared listener.
7960 (sharedUI): New static field. Stores the shared UI.
7961 (createButtonListener): Return shared instance here.
7962 (createUI): Return shared instance here.
7963 (getButtonListener): New helper method. Looks for the
7964 BasicButtonListener installed on a button and returns it.
7965 (installDefaults): Correctly install rollover property here.
7966 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7967 (installKeyboardActions): Fetch listener with new helper method.
7968 (installListeners): Don't use removed field. Check for null.
7969 (installUI): Added comment about order of method invocations.
7970 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7971 (uninstallKeyboardActions): Fetch listener with new helper method.
7972 (uninstallListeners): Fetch listener with new helper method.
7973 (paintIcon): Paint icon offset when pressed and armed.
7974 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7975 * javax/swing/plaf/metal/MetalButtonUI.java
7976 (sharedUI): New field. Stores the shared UI.
7977 (MetalButtonUI): Don't initialize fields here.
7978 (createButtonListener): Removed method. Use super impl.
7979 (createUI): Return shared instance.
7980 (getDisabledTextColor): Update field here.
7981 (getFocusColor): Update field here.
7982 (getSelectColor): Update field here.
7983 (installDefaults): Don't handle rollover property here.
7984 (uninstallDefaults): Don't handle rollover property here.
7985 (paintButtonPressed): Use accessor method to update the
7988 2006-08-21 Mark Wielaard <mark@klomp.org>
7990 Merge NATIVE_LAYER branch.
7992 2006-08-20 Mark Wielaard <mark@klomp.org>
7994 * doc/tools.texinfo: Add file from trunk.
7995 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7996 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7998 * native/jni/java-lang/java_lang_VMProcess.c
7999 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8000 * native/jni/java-net/java_net_VMInetAddress.c
8001 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8002 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8004 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8006 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8008 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8010 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8012 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8014 * include/java_lang_VMProcess.h: Regenerated.
8016 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
8018 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8019 (nativeReceive): Fixed the type of the arrays (use java types).
8020 (nativeSendTo): Force throwing an exception if port is 0.
8022 * native/jni/java-net/javanet.c:
8023 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8025 (_javanet_recvfrom): Likewise.
8026 (_javanet_sendto): Throw a NullPointerException if the socket is
8027 not connected and no address is given.
8029 * native/jni/java-net/javanet.h
8030 (NULL_EXCEPTION): Defined.
8032 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
8034 * native/jni/java-net/java_net_VMInetAddress.c
8035 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8038 * native/jni/java-net/javanet.c
8039 (_javanet_accept): Fixed bogus call to TARGET.
8040 (_javanet_create_inetaddress): Fixed address generation. Fixed
8042 (_javanet_bind): set "Reuse address" flag.
8044 * native/jni/native-lib/cpio.c
8045 (cpio_getModificationTime): Fixed type.
8046 (cpio_removeFile): Use rmdir too.
8048 * native/jni/native-lib/cpnet.c
8049 (cpnet_getHostByName): Fixed error detection.
8051 * native/jni/native-lib/cpnet.h
8052 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8054 (cpnet_IPV4AddressToBytes): Fixed types.
8056 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
8058 * native/jni/native-lib/cpio.c
8059 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8061 * native/jni/native-lib/cpnet.h:
8062 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8063 messed by signs in jbyte.
8065 * native/jni/native-lib/cpproc.h
8066 (CPIO_EXEC_NUM_PIPES): Compilation fix.
8068 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
8070 * native/jni/native-lib/cpnet.c
8071 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8072 (waitForWritable, waitForReadable): New functions.
8073 (socketTimeouts): New static global table to hold timeouts for all
8075 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8076 Added waitForXXXX safeguards to handle socket timeouts.
8078 * native/jni/java-net/javanet.c
8079 (_javanet_accept): Check for the right error value when a timeout
8082 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
8084 * native/jni/java-io/Makefile.am,
8085 native/jni/java-lang/Makefile.am,
8086 native/jni/java-net/Makefile.am,
8087 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8089 * native/jni/native-lib/Makefile.am: Added cpproc.c
8091 * native/jni/native-lib/cpio.c: Implemented missing functions for
8094 * native/jni/native-lib/cpnet.c
8095 (cpnet_getHostByName): Fixed address array initialization.
8097 * native/jni/native-lib/cpproc.c: Implemented.
8099 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8101 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8103 * m4/gcc_attribute.m4: New file from ac_archive.
8105 * native/jni/java-net/javanet.c: Adapted to cpnet API
8108 * native/jni/native-lib/cpnet.c: Implemented.
8110 * native/jni/native-lib/cpnet.h
8111 (cpnet_openSocketDatagram,
8112 cpnet_openSocketStream): These calls need an address family now.
8113 (cpnet_IPV4AddressToBytes,
8114 cpnet_bytesToIPV4Address): Convert the address to network order.
8116 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8118 * native/jni/java-io/java_io_VMFile.c,
8119 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8120 native/jni/midi-dssi/dssi_data.h,
8121 native/jni/native-lib/cpio.c,
8122 native/jni/native-lib/cpmath.h: Removed cpmath
8123 dependency. Fixed coding style.
8125 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8127 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8128 dependency. Simplified the JNI code by moving some part into the
8131 * native/jni/native-lib/cpproc.h: New interface to handle processes.
8133 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8135 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8136 errors. Removed any remaining TARGET invocations.
8138 * native/jni/java-net/javanet.c
8139 (_javanet_create_inetaddress): Removed spurious arr and
8140 octets. Fixed compilation errors.
8142 * native/jni/native-lib/cpnet.h
8143 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8144 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8145 cpnet_isIPV4Address): New functions.
8146 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8149 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8151 * native/jni/java-io/java_io_VMFile.c,
8152 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8153 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8154 native/jni/java-net/javanet.c,
8155 native/jni/java-net/javanet.h: Adapted the VM layer code
8156 to the new native layer.
8158 * native/jni/native-lib/cpnet.h
8159 (cpnet_addMembership,
8160 cpnet_dropMembership,
8161 cpnet_getAvailableBytes): Added the declarations of
8163 (cpnet_newIPV6Address,
8164 cpnet_IPV6AddressToBytes,
8165 cpnet_bytesToIPV6Address): Implemented.
8166 (cpnet_newIPV4Address): Initialize the sin_family field.
8168 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8170 * native/target: Removed.
8172 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8173 Makefile generation.
8175 * native/jni/native-lib/Makefile.am,
8176 native/jni/native-lib/cpnet.h,
8177 native/jni/native-lib/cpnet.c
8178 native/jni/native-lib/cpio.h,
8179 native/jni/native-lib/cpio.c,
8180 native/jni/native-lib/cpmath.h: Imported new native compatibility
8183 2006-08-21 Roman Kennke <kennke@aicas.com>
8185 * gnu/javax/swing/text/html/css/CSSParser.java:
8187 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8189 * gnu/javax/swing/text/html/css/CSSParserException.java:
8191 * gnu/javax/swing/text/html/css/CSSScanner.java:
8192 Adjusted API comments. Made all constants package private.
8193 (EOF): New constant field.
8194 (parseBuffer): Made package private.
8195 (tokenEnd): Made package private.
8196 (CSSScanner): Initialize lookahead buffer with -1.
8197 (main): Print out to System.out rather then System.err.
8198 (nextToken): Push back character after IDENT.
8200 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8202 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8204 2006-08-21 Roman Kennke <kennke@aicas.com>
8206 * gnu/javax/swing/text/html/css/CSSScanner.java
8207 (main): Use buffered input stream.
8208 (nextToken): Removed 65536 workaround. Use int value directly
8209 without cast to char.
8210 (readComment): Use int value directly without cast to char.
8211 Cast to char only when putting the character into the buffer.
8212 (readEscape): Likewise.
8213 (readIdent): Likewise.
8214 (readName): Likewise.
8215 (readNum): Likewise.
8216 (readString): Likewise.
8217 (readWhitespace): Likewise.
8219 2006-08-21 Ingo Proetel <proetel@aicas.com>
8221 * java/io/InputStreamReader.java
8222 (bytesCache): New field.
8223 (cacheLock): New field.
8224 (read(byte[],int,int): Avoid allocations of new byte
8225 array on every call and reuse cached byte array if possible.
8227 2006-08-21 Roman Kennke <kennke@aicas.com>
8229 * gnu/java/net/local/LocalSocketImpl.java
8230 Only load native lib if this is supported by runtime.
8231 * native/jni/java-net/local.c
8232 Include config.h unconditionally.
8233 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8234 Include config.h unconditionally.
8236 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8238 * java/io/ObjectInputStream.java
8239 (objectLookupTable): Changed to be a Vector.
8240 (ObjectInputStream): Initialize objectLookupTable as Vector.
8241 (assignNewHandle): Store Object using handle index rather than
8242 Hashtable, using the new rememberHandle() method.
8243 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8244 with a caching in ObjectStreamClass.
8245 (inputGetObjectStreamClass): Replaced by hierarchy().
8246 (lookupHandle): New method. Looks up an object by it's handle
8248 (parseContent): Avoid creating of Integer objects. Use
8249 hierarchy() method for looking up the class hierarchy.
8250 (processResolution): Use rememberHandle() to store
8251 handle per index, rather than Hashtabling the object.
8253 (rememberHandle): New method.
8254 * java/io/ObjectOutputStream.java
8255 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8256 Hashtable for improved lookup performance.
8257 (ObjectOutputStream): Initialize OIDLookupTable as
8258 ObjectIdentityMap2Int.
8259 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8260 (findHandle): Change to use ObjectIdentityMap2Int.
8261 (getBooleanField): Removed.
8262 (getByteField): Removed.
8263 (getCharField): Removed.
8264 (getDoubleField): Removed.
8265 (getField): Removed.
8266 (getFloatField): Removed.
8267 (getIntField): Removed.
8268 (getLongField): Removed.
8269 (getObjectField): Removed.
8270 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8271 (writeFields(Object,ObjectStreamField)): New helper method.
8272 Use switch rather then if-else cascade.
8273 (writeObject): Use int handle, rather then Integer.
8274 * java/io/ObjectStreamClass.java
8275 (hierarchy): New field. Caches the class hierarchy.
8276 (methodCache): New field. Caches methods.
8277 (readObjectSignature): New field. Stores the read signature.
8278 (uidCache): New field. Caches UIDs.
8279 (writeObjectSignature): New field. Stores the write signature.
8280 (cacheMethods): Cache methods in methodCache.
8281 (calculateClassID): Outsourced from getClassUID()
8282 for computing the UIDs.
8283 (getClassUIDFromField): Outsourced from getClassUID() for
8284 fetching the UID from the class field.
8285 (getClassUID): Use cached uid if possible. Use new helper
8286 methods for fetching the UID from the field or computing
8288 (getObjectStreamClasses): Removed. Replaced by more
8289 efficient hierarchy() method, that also caches the result.
8290 (hierarchy): Replaces getObjectStreamClasses() for caching
8292 (loadedByBootOrApplicationClassLoader): New helper method.
8293 (setClass): Invalidate hierarchy cache.
8294 (setSuperclass): Invalidate hierarchy cache.
8295 * java/io/ObjectStreamField.java
8296 (field): Made field package private for access from other
8298 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8299 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8300 hashtable for mapping objects to ints.
8302 2006-08-21 Roman Kennke <kennke@aicas.com>
8305 (getAbsolutePath): Fetch absolute path from
8306 VMFile.getAbsolutePath(). Moved actual impl to there.
8307 (isAbsolute): Let VMFile determine the absoluteness.
8308 (toURL): Let VMFile convert the filename.
8309 * vm/reference/java/io/VMFile.java
8310 (getAbsolutePath): New method.
8311 (isAbsolute): New method.
8312 (toURL): New method.
8314 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8316 * NEWS: Added note about updated VM interface.
8318 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8320 * java/lang/management/ManagementFactory.java:
8321 Updated documentation.
8323 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8326 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8328 * gnu/java/util/regex/CharIndexedCharSequence.java,
8329 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8331 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8332 (match): call the new method setHitEnd of the input,
8333 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8334 Some optimization commented out, Use CharIndexed#move1 instead of move.
8335 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8336 * gnu/java/util/regex/REToken.java(match): The method body has been
8337 moved to an internal private method, (matchFake): New method,
8338 (setHitEnd): New method.
8339 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8340 if the match is not complete, (matchOneString): Count the number of
8341 characters which matched the pattern.
8342 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8343 (setFake): New method, (match): Call super.match or super.matchFake.
8344 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8345 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8346 setHitEnd of the input,
8347 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8348 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8349 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8351 2006-08-18 Tom Tromey <tromey@redhat.com>
8353 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8354 the 'int', not the cast char.
8356 2006-08-18 Roger Sayle <roger@eyesopen.com>
8358 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8359 which isn't available in all shells.
8361 2006-08-18 Roger Sayle <roger@eyesopen.com>
8363 * lib/Makefile.am (resources): Fix some shell portability issues.
8365 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8367 * configure.ac (tool-wrappers): Check for ltdl support when tool
8368 wrapper binaries are enabled.
8369 * tools/Makefile.am (LIBJVM): Remove variable.
8370 (AM_CPPFLAGS): Add LIBJVM define.
8371 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8372 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8373 gjavah_LDFLAGS): Remove variables.
8374 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8376 2006-08-18 Tom Tromey <tromey@redhat.com>
8378 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8380 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8382 (readEntries): Likewise.
8384 2006-08-17 Roman Kennke <kennke@aicas.com>
8386 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8387 (layoutLabel): Reset the text and icon rectangles.
8389 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8392 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8393 Transform gappletviewer name using program_transform_name.
8395 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8397 * javax/swing/filechooser/FileSystemView.java
8398 (getFileSystemView): Always return UnixFileSystemView, since
8399 that's the only one we got. Marked with NotImplementedException.
8400 * javax/swing/plaf/basic/BasicFileChooserUI.java
8401 (mouseClicked, installUI): Don't parse path by hand.
8403 2006-08-17 Roman Kennke <kennke@aicas.com>
8405 * javax/swing/JComponent.java
8406 (scrollRectToVisible): Handle intermediate non-JComponents
8409 2006-08-17 Roman Kennke <kennke@aicas.com>
8411 * javax/swing/RepaintManager.java
8412 (blitBuffer): Removed. This is now done in commitBuffer().
8413 (commitBuffer): Always paint on the root window or applet.
8414 No need to look for intermediate heavyweights. Optimized
8415 rectangle translation.
8416 (commitRemainingBuffers): Removed. Not needed anymore.
8417 (getHeavyweightParent): Removed. Not needed anymore.
8418 (getOffscreenBuffer): Fetch offscreen image from the
8419 actual root component.
8420 (paintDirtyRegions): Don't call commitRemainingBuffers().
8422 2006-08-17 Roman Kennke <kennke@aicas.com>
8424 * javax/swing/SwingUtilities.java
8425 (clipString): New helper method for trimming strings.
8426 (layoutCompoundLabelImpl): Fixed algorithm to conform
8427 testsuites. Trim text if it's too long. Avoid creating
8428 new Rectangles. Optimized for performance.
8429 (layoutCompoundLabel): Use switch rather then if-else-chain.
8430 * javax/swing/plaf/basic/BasicButtonUI.java
8434 (paint): Reset and use cached rectangles. Only call paintIcon()
8435 if icon is not null. Don't call paintButtonPressed() when
8436 button is selected, only when it is both armed and pressed.
8437 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8438 (getPreferredButtonSize): Reused cached rectangles rather
8439 then creating new ones. Don't create new Rectangle via
8441 * javax/swing/plaf/basic/BasicLabelUI.java
8442 (getPreferredSize): Correctly reset cached rectangles. Especially
8443 the view rect must have a big size to give it room for layouting.
8444 Short cut layout when text == null.
8445 (paint): Correctly reset cached rectangles.
8446 * javax/swing/plaf/basic/BasicMenuItemUI.java
8447 (resetRectangles): New helper method.
8448 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8449 (paintMenuItem): Correctly reset the cached rectangles.
8450 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8451 (getPreferredSize): Use cached Rectangle objects and initialize
8453 (paint): Use cached Rectangle objects and initialize
8456 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8458 * java/util/Calendar.java: API doc additions.
8460 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8462 * javax/swing/DefaultButtonModel.java:
8463 (setRollover): Simplified statement.
8465 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8467 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8468 (loadClass): Rewritten to use getClassLoader.
8469 (loadProxyClass): Implemented.
8470 (getClassLoader): Fixed support for null or empty codebase.
8471 * gnu/java/rmi/server/RMIObjectInputStream.java
8472 (resolveClass): Use user class loader as default class loader.
8473 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8474 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8475 (loadClass): Simplified and use user class loader instead of
8476 context class loader as default.
8477 * java/io/ObjectInputStream.java
8478 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8479 * vm/reference/gnu/classpath/VMStackWalker.java
8480 (firstNonNullClassLoader): New method.
8481 * vm/reference/java/io/VMObjectInputStream.java
8482 (loaderAction, currentClassLoader): Removed.
8484 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8486 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8487 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8488 by current scroll offset, added method documention.
8489 (getTabBounds(int, Rectangle)): Added method documentation.
8490 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8491 (paintContentBorderLeftEdge): Changed y to 1.
8493 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8495 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8496 (MouseHandler.mouseReleased): Implemented.
8497 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8498 (MouseHandler.mouseEntered): Dito.
8499 (MouseHandler.mouseExited): Dito.
8500 (MouseHandler.mouseMoved): Dito.
8501 (MouseHandler.redispatchEvent): New method.
8502 (PropertyChangeHandler.propertyChange): Added extra block level,
8503 added code to handle tab placement changes, added comment.
8504 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8506 2006-08-16 Roman Kennke <kennke@aicas.com>
8508 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8509 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8512 2006-08-16 Mark Wielaard <mark@klomp.org>
8514 * java/awt/Component.java (orientation): Renamed to
8515 componentOrientation.
8516 (setComponentOrientation): Use new field name.
8517 (getComponentOrientation): Likewise.
8519 2006-08-16 Roman Kennke <kennke@aicas.com>
8522 * javax/swing/plaf/basic/BasicTreeUI.java
8523 (CellEditorHandler.editingCancelled): Call completeEditing
8525 (CellEditorHandler.editingStopped): Call completeEditing
8527 (NodeDimensionHandler.getNodeDimensions): Rewritten
8528 to use the preferred sizes of the renderer and editor.
8529 (TreeExpansionHandler.treeCollapsed): Complete editing
8531 (TreeSelectionHandler.valueChanged): Complete editing
8533 (cancelEditing): Call completeEditing with false, false and
8534 false. Don't call finish (removed method).
8535 (completeEditing(boolean,boolean,boolean): Only do something when
8536 stopEditingInCompleteEditing is true. Nullify editingComponent
8537 and editingPath. Remove editingComponent from tree. Update
8538 the layout when necessary and repaint.
8539 (completeEditing): Stop editing when necessary.
8540 (editorRequestFocus): New helper method. Request focus
8541 on the actual editor.
8542 (finish) Removed. This is now done in completeEditing().
8543 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8544 (setLargeModel): Complete editing here.
8545 (setRootVisible): Complete editing here.
8546 (setRowHeight): Complete editing here.
8547 (setSelectionModel): Complete editing here.
8548 (startEditing): Correctly initialize and start editing.
8549 (updateExpandedDescendants): Complete editing here.
8550 * javax/swing/tree/DefaultTreeCellEditor.java
8551 (DefaultTextField): Fetch size from super and use renderer's height
8553 (EditorContainer.EditorContainer): Set layout to null, just
8555 (EditorContainer.doLayout): Layout so that the editor
8556 is offset to the right of the icon.
8557 (EditorContainer.getPreferredSize): Implemented to
8558 provide a reasonable preferred size.
8559 (EditorContainer.paint): Position icon in the middle.
8560 Also paint border if appropriate.
8561 (EditorContainer.setBounds): Removed.
8562 (RealEditorListener): Removed.
8563 (DefaultTreeCellEditor): Set correct border.
8564 (cancelCellEditing): Message real editor. Call finish().
8565 (createCellEditor): Don't add listener.
8566 (determineOffset): Correctly determine offset, and update
8568 (finish): New helper method.
8569 (getTreeCellEditorComponent): Set correct font. Call
8570 prepareForEditing() and determineOffset() to correctly initialize
8572 (stopCellEditing): Messsage realEditor to stop editing. Call
8574 (stopEditingTimer): Removed.
8575 (valueChanged): Correctly reset lastPath.
8576 * javax/swing/tree/DefaultTreeCellRenderer.java
8577 (getPreferredSize): Return super plus some extra space for
8580 2006-08-16 Roman Kennke <kennke@aicas.com>
8582 * javax/swing/plaf/metal/MetalTreeUI.java
8583 (LineStyleListener): New property listener, that updates
8584 the line style setting if the corresponding property
8586 (lineStyleListener): New field.
8587 (lineStyle): New field.
8588 (LINE_STYLE_ANGLED): New constant field.
8589 (LINE_STYLE_HORIZONTAL): New constant field.
8590 (LINE_STYLE_NONE): New constant field.
8591 (LINE_STYLE_VALUE_ANGLED): New constant field.
8592 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8593 (LINE_STYLE_VALUE_NONE): New constant field.
8594 (LINE_STYLE_PROPERTY): New constant field.
8595 (decodeLineStyle): Implemented.
8596 (installUI): Install line style listener. Set initial
8598 (uninstallUI): Uninstall line style listener.
8599 (paintHorizontalPartOfLeg): Only call super for angled
8601 (paintVerticalPartOfLeg): Only call super for angled
8603 (paintHorizontalSeparators): Implemented.
8604 (paint): If lineStyle==HORIZONTAL, call
8605 paintHorizontalSeparators().
8606 * examples/gnu/classpath/examples/swing/TreeDemo.java
8607 (createContent): Add panel for selecting line styles.
8609 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8611 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8612 (createContent): Rewritten.
8613 (createPlacementChangingMenuItem): New method.
8614 (createLayoutPolicyChangingMenuItem): New method.
8615 (createTabbedPane): New method.
8616 (createTabContent): New method.
8618 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8620 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8621 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8622 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8624 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8626 * javax/swing/text/WrappedPlainView.java:
8627 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8628 (calculateBreakPosition): Add p0 to return value.
8630 2006-08-15 Roman Kennke <kennke@aicas.com>
8632 * javax/swing/plaf/basic/BasicTreeUI.java
8633 (MouseHandler.selectedOnPress): New field.
8634 (MouseHandler.handleEvent): New helper method for handling
8635 selection and start/stop editing for mouse events.
8636 (MouseHandler.mouseDragged): Commented as no-op method.
8637 (MouseHandler.mouseMoved): Commented as no-op method.
8638 (MouseHandler.mousePressed): Use handleEvent() to handle
8639 selection and editing handling.
8640 (MouseHandler.mouseReleased): Use handleEvent() to handle
8641 selection and editing handling.
8642 (MouseInputHandler.MouseInputHandler): Register itself
8643 as mouse listener on source. Redispatch event to
8645 (MouseInputHandler.dispatch): New helper method.
8646 (MouseInputHandler.mouseClicked): Dispatch event.
8647 (MouseInputHandler.mouseDragged): Dispatch event.
8648 (MouseInputHandler.mouseEntered): Stop dispatching
8649 if dragging stopped.
8650 (MouseInputHandler.mouseExited): Stop dispatching
8651 if dragging stopped.
8652 (MouseInputHandler.mouseMoved): Stop dispatching.
8653 (MouseInputHandler.mousePressed): Marked as no-op.
8654 (MouseInputHandler.mouseReleased): Dispatch and stop
8655 dispatching afterwards.
8656 (MouseInputHandler.removeFromSource): Implemented.
8657 (PropertyChangeHandler.propertyChange): Also handle
8658 editable property changes by calling setEditable().
8659 (SelectionModelPropertyChangeHandler.propertyChange):
8660 Reset row selection.
8661 (startEditTimer): Removed.
8662 (setCellEditor): Call updateEditor().
8663 (setEditable): Call updateEditor().
8664 (startEditingAtPath): Make path fully visible before starting
8666 (startEditing): Maybe cancel previous edit session. Add
8667 editing component itself, not its parent container.
8668 Register MouseInputHandler for correctly redispatching
8670 (stopEditing): Message cellEditor and only completeEditing()
8671 when approved by cell editor.
8672 (updateCellEditor): Complete editing before updating
8673 the cell editor. Get cell editor from JTree if possible,
8674 otherwise create default editor. Update the listeners
8676 * javax/swing/tree/DefaultTreeCellEditor.java
8677 (CLICK_COUNT_TO_START): Removed.
8678 (DefaultTreeCellEditor): Install correct border. Let setTree()
8679 update the listeners. Don't initialize lastPath and font yet.
8680 (actionPerformed): Implemented to start editing.
8681 (createTreeCellEditor): Set click count to start to 1, rather than
8683 (isCellEditable): Prepare editor here. Determine if we can
8684 start immediately, or if we trigger a timer to do so.
8685 (prepareForEditing): Don't removeAll() (not necessary),
8686 check editingComponent to be non-null.
8687 (setTree): Update listeners.
8688 (shouldStartEditingTimer): Check for left mouse button.
8689 (startEditingTimer): Lazily create timer.
8691 2006-08-15 Lillian Angel <langel@redhat.com>
8693 * java/awt/dnd/DropTargetDragEvent.java
8694 (getTransferable): Implemented.
8696 2006-08-15 Roman Kennke <kennke@aicas.com>
8698 * java/util/Vector.java
8699 (removeAll): Added comment about NPE.
8700 (retainAll): Added comment about NPE.
8702 2006-08-15 Roman Kennke <kennke@aicas.com>
8704 * java/util/zip/ZipFile.java
8705 (UTF8DECODER): Removed.
8706 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8707 (utf8Decoder): New instance field.
8708 (decodeChars): Lazily create UTF8 decoder. Use instance
8709 field rather than a static field to avoid corruption.
8711 2006-08-15 Roman Kennke <kennke@aicas.com>
8713 * java/io/PrintStream.java
8714 (line_separator): Provide default for system property.
8715 * java/io/FileDescriptor.java
8716 (valid): Create local copy of channel field for better
8719 2006-08-15 Ingo Proetel <proetel@aicas.com>
8721 * java/util/zip/ZipFile.java
8722 (PartialInputStream.UTF8DECODER): New constant field, used
8723 for decoding UTF8 strings.
8724 (readLeShort): Access buffer directly if it has enough bytes
8726 (readLeInt): Access buffer directly if it has enough bytes
8728 (decodeChars): New helper method for decoding UTF8 strings.
8729 (readString): Avoid NIO charset decoder if possible.
8731 2006-08-15 Roman Kennke <kennke@aicas.com>
8733 * java/util/Vector.java
8734 (removeAll): Don't explicitly null-check here. The RI allows
8735 null arguments when Vector is empty. In other cases we
8736 implicitly throw an NPE.
8737 (retainAll): Don't explicitly null-check here. The RI allows
8738 null arguments when Vector is empty. In other cases we
8739 implicitly throw an NPE.
8741 2006-08-14 Casey Marshall <csm@gnu.org>
8743 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8744 of changes made on this branch.
8746 * gnu/classpath/debug/Component.java
8747 * gnu/classpath/debug/SystemLogger.java
8748 * gnu/java/security/action/GetPropertyAction.java
8749 * gnu/java/security/action/GetSecurityPropertyAction.java
8750 * gnu/javax/crypto/RSACipherImpl.java
8751 * gnu/javax/net/ssl/PrivateCredentials.java
8752 * gnu/javax/net/ssl/provider/Alert.java
8753 * gnu/javax/net/ssl/provider/AlertException.java
8754 * gnu/javax/net/ssl/provider/Certificate.java
8755 * gnu/javax/net/ssl/provider/CertificateRequest.java
8756 * gnu/javax/net/ssl/provider/CertificateType.java
8757 * gnu/javax/net/ssl/provider/CertificateVerify.java
8758 * gnu/javax/net/ssl/provider/CipherSuite.java
8759 * gnu/javax/net/ssl/provider/ClientHello.java
8760 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8761 * gnu/javax/net/ssl/provider/CompressionMethod.java
8762 * gnu/javax/net/ssl/provider/Constructed.java
8763 * gnu/javax/net/ssl/provider/ContentType.java
8764 * gnu/javax/net/ssl/provider/DiffieHellman.java
8765 * gnu/javax/net/ssl/provider/Extension.java
8766 * gnu/javax/net/ssl/provider/Finished.java
8767 * gnu/javax/net/ssl/provider/Handshake.java
8768 * gnu/javax/net/ssl/provider/Jessie.java
8769 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8770 * gnu/javax/net/ssl/provider/Random.java
8771 * gnu/javax/net/ssl/provider/ServerHello.java
8772 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8773 * gnu/javax/net/ssl/provider/Signature.java
8774 * gnu/javax/net/ssl/provider/Util.java
8775 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8776 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8777 * java/security/MessageDigest.java
8778 * java/security/MessageDigestSpi.java
8779 * java/security/Signature.java
8780 * java/security/SignatureSpi.java
8781 * javax/crypto/Mac.java
8782 * javax/crypto/MacSpi.java
8783 * javax/net/ssl/HandshakeCompletedEvent.java
8784 * javax/net/ssl/HttpsURLConnection.java
8785 * javax/net/ssl/SSLContext.java
8786 * javax/net/ssl/SSLContextSpi.java
8787 * javax/net/ssl/SSLSession.java
8789 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8790 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8791 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8792 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8793 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8794 * gnu/javax/net/ssl/provider/ServerDHParams.java
8795 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8796 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8797 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8798 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8799 * gnu/javax/net/ssl/provider/ServerNameList.java
8800 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8801 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8802 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8803 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8804 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8805 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8806 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8807 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8808 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8809 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8810 * gnu/javax/net/ssl/provider/Record.java
8811 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8812 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8813 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8814 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8815 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8816 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8817 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8818 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8819 * gnu/javax/net/ssl/provider/ExtensionList.java
8820 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8821 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8822 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8823 * gnu/javax/net/ssl/provider/ServerHandshake.java
8824 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8825 * gnu/javax/net/ssl/provider/SessionImpl.java
8826 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8827 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8828 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8829 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8830 * gnu/javax/net/ssl/provider/HelloRequest.java
8831 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8832 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8833 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8834 * gnu/javax/net/ssl/provider/ClientHandshake.java
8835 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8836 * gnu/javax/net/ssl/provider/CertificateURL.java
8837 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8838 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8839 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8840 * gnu/javax/net/ssl/provider/Builder.java
8841 * gnu/javax/net/ssl/provider/Debug.java
8842 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8843 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8844 * gnu/javax/net/ssl/provider/DelegatedTask.java
8845 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8846 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8847 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8848 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8849 * javax/net/ssl/SSLEngine.java
8850 * javax/net/ssl/CertPathTrustManagerParameters.java
8851 * javax/net/ssl/KeyStoreBuilderParameters.java
8852 * javax/net/ssl/X509ExtendedKeyManager.java
8853 * javax/net/ssl/SSLEngineResult.java
8854 * gnu/javax/net/ssl/PreSharedKeyManager.java
8855 * gnu/javax/net/ssl/Session.java
8856 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8857 * gnu/javax/net/ssl/SSLCipherSuite.java
8858 * gnu/javax/net/ssl/AbstractSessionContext.java
8859 * gnu/javax/net/ssl/SessionStoreException.java
8860 * gnu/javax/net/ssl/SSLRecordHandler.java
8861 * gnu/javax/net/ssl/SSLProtocolVersion.java
8862 * gnu/javax/crypto/key/GnuPBEKey.java
8863 * gnu/java/security/util/ByteBufferOutputStream.java
8864 * gnu/java/security/Requires.java
8865 * gnu/javax/security/auth/callback/CertificateCallback.java
8867 * gnu/javax/net/ssl/provider/Context.java
8868 * gnu/javax/net/ssl/provider/DigestInputStream.java
8869 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8870 * gnu/javax/net/ssl/provider/Enumerated.java
8871 * gnu/javax/net/ssl/provider/Extensions.java
8872 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8873 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8874 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8875 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8876 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8877 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8878 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8879 * gnu/javax/net/ssl/provider/KeyPool.java
8880 * gnu/javax/net/ssl/provider/OverflowException.java
8881 * gnu/javax/net/ssl/provider/RecordInput.java
8882 * gnu/javax/net/ssl/provider/RecordInputStream.java
8883 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8884 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8885 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8886 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8887 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8888 * gnu/javax/net/ssl/provider/SSLSocket.java
8889 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8890 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8891 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8892 * gnu/javax/net/ssl/provider/SecurityParameters.java
8893 * gnu/javax/net/ssl/provider/Session.java
8894 * gnu/javax/net/ssl/provider/SessionContext.java
8895 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8896 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8898 2006-08-14 Roman Kennke <kennke@aicas.com>
8900 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8901 (DividerLayout.layoutContainer): Removed debug output.
8902 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8903 (BasicHorizontalLayoutManager.axis): New field.
8904 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8906 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8907 Call new axis constructor.
8908 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8910 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8912 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8913 Refactored to handle direction.
8914 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8915 to handle direction.
8916 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8918 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8919 to handle direction.
8920 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8921 to handle direction.
8922 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8923 to handle direction.
8924 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8926 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8927 New explicit constructor. Calls super with vertical axis.
8928 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8929 to BasicHorizontalLayoutManager.
8930 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8931 moved to BasicHorizontalLayoutManager.
8932 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8933 Functionality moved to BasicHorizontalLayoutManager.
8934 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8935 moved to BasicHorizontalLayoutManager.
8936 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8937 moved to BasicHorizontalLayoutManager.
8938 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8939 Functionality moved to BasicHorizontalLayoutManager.
8940 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8941 moved to BasicHorizontalLayoutManager.
8942 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8943 moved to BasicHorizontalLayoutManager.
8944 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8945 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8946 (BUTTON_SPRITE_R): New constant field.
8947 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8948 L sprite for left buttons.
8950 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8953 (query_formats): g_free 'name' after usage.
8954 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8955 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8957 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8960 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8963 2006-08-14 Francis Kung <fkung@redhat.com>
8966 * java/awt/image/ColorModel.java
8967 (coerceData): Added check for non-transparent images.
8969 2006-08-14 Francis Kung <fkung@redhat.com>
8971 * java/awt/image/BandCombineOp.java
8972 (BandCombineOp): Perform checks on validity of matrix.
8973 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8974 (filter): Updated to work with new matrix storage.
8975 (getMatrix): Updated javadoc.
8976 (getPoint2D): Formatting change.
8978 2006-08-14 Francis Kung <fkung@redhat.com>
8980 * java/awt/image/AffineTransformOp.java
8981 (AffineTransformOp): Updated javadoc.
8982 (createCompatibleDestImage): Match behaviour of reference implementation.
8983 (createCompatibleDestRaster): Formatting changes.
8984 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8985 (filter(Raster, WritableRaster)): Re-implemented.
8986 (filterBicubic): New private method.
8987 (filterBilinear): New private method.
8988 (filterNearest): New private method.
8989 (getBounds2D): No longer fixed around one point for rotations.
8990 (getInterpolationType): Add support for bicubic interpolation.
8992 2006-08-14 Roman Kennke <kennke@aicas.com>
8994 * javax/swing/plaf/metal/MetalLookAndFeel.java
8995 (MetalLookAndFeel): Moved theme initialization to
8997 (createDefaultTheme): Forward to getCurrentTheme().
8998 (getDefaults): Initialize theme before doing anything else.
8999 (getCurrentTheme): Recognize swing.metalTheme property.
9001 2006-08-14 Roman Kennke <kennke@aicas.com>
9003 * javax/swing/JTable
9004 (getScrollableUnitIncrement): Expose partially exposed
9005 row in scrolling direction.
9007 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9009 * javax/swing/JTable (getScrollableUnitIncrement):
9010 Removing my name as the whole method body have been
9011 recently completely replaced.
9013 2006-08-14 Roman Kennke <kennke@aicas.com>
9016 * javax/swing/text/Utilities.java
9017 (getTabbedTextOffset): Don't add p0 here.
9019 2006-08-14 Roman Kennke <kennke@aicas.com>
9022 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9023 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9024 when wheel is going up.
9026 2006-08-14 Roman Kennke <kennke@aicas.com>
9029 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9030 (BasicOneTouchButton): New inner class.
9031 (DividerLayout.changeButtonOrientation): Removed.
9032 (DividerLayout.positionButtons): Moved into layoutContainer.
9033 (DividerLayout.layoutContainer): Reworked for correct layout.
9034 (OneTouchAction): New inner class.
9035 (centerOneTouchButtons): New field.
9036 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9038 (createLeftOneTouchButton): Reimplemented to return
9039 BasicOneTouchButton.
9040 (createRightOneTouchButton): Reimplemented to return
9041 BasicOneTouchButton.
9042 (getPreferredSize): Reimplemented to return fixed preferredSize.
9043 (oneTouchExpandableChanged): Add OneTouchAction action to
9044 buttons. Don't install mouse listeners.
9045 (MouseHandler.mousePressed): Removed handling of one touch buttons.
9046 (paint): Don't trigger extra paint for buttons.
9047 (propertyChange): Revalidate splitPane when orientation is changed.
9048 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9049 oneTouchExpandable is true.
9050 * javax/swing/plaf/basic/BasicSplitPaneUI.java
9051 (installDefaults): Install dividerSize on the divider too.
9052 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9053 (MetalDividerLayout): Removed. Functionality is already
9054 in BasicSplitPaneDivider.DividerLayout.
9055 (MetalOneTouchButton): New inner class.
9056 (BUTTON_SPRITE): New constant field.
9057 (MetalSplitPaneDivider): Don't change layout.
9058 (createLeftOneTouchButton): Overridden to return custom button
9060 (createRightOneTouchButton): Overridden to return custom button
9062 (paint): Don't trigger button painting. Call super instead.
9064 2006-08-13 Roman Kennke <kennke@aicas.com>
9066 * javax/swing/plaf/basic/BasicTableHeaderUI.java
9067 (installKeyboardAction): Unmarked as stub. Added comment
9068 explaining that the RI seems to do nothing here.
9069 (uninstallKeyboardAction): Unmarked as stub. Added comment
9070 explaining that the RI seems to do nothing here.
9072 2006-08-13 Roman Kennke <kennke@aicas.com>
9075 * javax/swing/ScrollPaneLayout.java
9076 (layoutContainer): Consider the viewportBorder of the
9078 (minimumLayoutSize): Consider the viewportBorder of the
9080 (preferredLayoutSize): Consider the viewportBorder of the
9082 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9083 (installDefaults): Also install viewportBorder if specified.
9084 (paint): Paint viewportBorder if present.
9085 (uninstallDefaults): Uninstall viewportBorder if appropriate.
9086 Don't nullify foreground, background and font. Uninstall
9087 border via LookAndFeel helper method to avoid uninstall
9090 2006-08-13 Roman Kennke <kennke@aicas.com>
9093 * javax/swing/plaf/basic/BasicHTML.java
9094 (HTMLRootView.HTMLRootView): Trigger initial layout.
9095 (HTMLRootView.setSize): Overridden to forward to real view.
9096 * javax/swing/plaf/basic/BasicToolTipUI.java
9097 (PropertyChangeHandler): New inner class. Updates the HTML
9099 (propertyChangeHandler): New field.
9100 (getMaximumSize): Add HTML width delta.
9101 (getMinimumSize): Add HTML width delta.
9102 (getPreferredSize): Reimplemented to use HTML view for size
9103 calculation if appropriate, otherwise use simple stringWidth()
9105 (installListeners): Install propertyChangeHandler.
9106 (uninstallListeners): Uninstall propertyChangeHandler.
9107 (installUI): Update HTML renderer.
9108 (uninstallUI): Update HTML renderer.
9109 (paint): Reimplemented to use HTML view for rendering if
9110 appropriate, simple drawString otherwise.
9111 * javax/swing/plaf/metal/MetalToolTipUI.java
9112 (getPreferredSize): Call super and add accelerator delta.
9113 (paint): Simply call super.
9115 2006-08-13 Roman Kennke <kennke@aicas.com>
9117 * javax/swing/JMenu.java
9118 (changeListener): Renamed to menuChangeListener to avoid
9119 shadowing changeListener field from AbstractButton.
9121 2006-08-13 Roman Kennke <kennke@aicas.com>
9123 * javax/swing/JTree.java
9124 (getScrollableUnitIncrement): Fixed direction.
9125 (getScrollableBlockIncrement): Implemented to scroll one
9127 * javax/swing/tree/VariableHeightLayoutCache.java
9128 (distance): Consider y + height already outside the node.
9130 2006-08-13 Roman Kennke <kennke@aicas.com>
9132 * javax/swing/JTable.java
9133 (getScrollableUnitIncrement): Fixed direction. Make it behave
9135 (getScrollableBlockIncrement): Fixed direction. Make it behave
9138 2006-08-13 Roman Kennke <kennke@aicas.com>
9140 * javax/swing/JList.java
9141 (getScrollableUnitIncrement): Fixed direction. Implemented
9142 horizontal scrolling. Improved usability.
9143 (getScrollableBlockIncrement): Fixed direction. Improved usability.
9145 2006-08-13 Roman Kennke <kennke@aicas.com>
9147 * javax/swing/plaf/basic/BasicScrollBarUI.java
9148 (scrollByUnit): Scroll by -unit when direction is not positive
9149 and +unit otherwise.
9150 (scrollByBlock): Scroll by -unit when direction is not positive
9151 and +unit otherwise.
9153 2006-08-13 Roman Kennke <kennke@aicas.com>
9156 * javax/swing/text/PlainView.java
9157 (paint): Limit painted area to the lines inside the clip
9160 2006-08-13 Roman Kennke <kennke@aicas.com>
9162 * javax/swing/plaf/basic/BasicTextUI.java
9163 (uninstallListeners): Unregister document listener.
9165 2006-08-13 Sven de Marothy <sven@physto.se>
9167 * java/util/Locale.java
9168 (hashcodeCache): New field.
9169 (hashCode): use the above field instead of the serialized one
9170 (writeObject): Removed method.
9171 (readObject): Intern strings.
9172 (equals): Revert to previous method.
9174 2006-08-13 Roman Kennke <kennke@aicas.com>
9176 * javax/swing/JTabbedPane.java
9177 (JTabbedPane): Call setModel() here and let this install the
9178 change listener correctly.
9179 (setModel): Correctly uninstall and reinstall ChangeListener when
9182 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9185 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9186 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9187 (lastDefaultLocale): Removed.
9188 (emptyLocale): Likewise.
9189 (BundleKey.defaultLocale): New field.
9190 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9191 (BundleKey.set): Likewise.
9192 (BundleKey.equals): Take defaultLocal field into consideration.
9193 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9195 2006-08-13 Roman Kennke <kennke@aicas.com>
9197 * javax/swing/JMenu.java
9198 (MenuChangeListener): New inner class, helps firing menu events.
9199 (changeListener): New field.
9200 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9201 (add(Action)): Create Action using createActionComponent()
9202 and add via add(Component).
9203 (setModel): Install and uninstall MenuChangeListener here.
9205 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9208 * java/math/BigInteger.java: Updated copyright year.
9209 (init): Consume as little bytes as possible.
9210 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9211 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9212 as per RI's documentation.
9214 2006-08-13 Sven de Marothy <sven@physto.se>
9216 * java/util/Locale.java
9217 (hashcode): Is a serialized field, not transient.
9218 (equals): Should NOT compare strings by reference.
9219 (readObject/writeObject): Use the default methods and handle the hash
9222 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9225 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9226 Updated documentation.
9228 (getInstance(String, String, Provider, Object[])): Likewise.
9229 Separate checks for null and empty string arguments.
9230 Include as much information as possible in the exception's message.
9231 Do not swallow original exception; instead use it as the cause of the
9232 resulting exception.
9233 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9234 (getInstance(String)): Updated documentation.
9236 Store last exception caught when iterating through all providers.
9237 If no implementation found, raise last exception if one was caught.
9238 (getInstance(String, String)): Updated documentation.
9240 Check for null or empty provider as per RI-5's documentation.
9241 (getInstance(String, Provider)): Updated documentation.
9243 Use as much information as possible in the exception message.
9244 Do not swallow original exception; instead use it as the cause for the
9245 ultimate raised exception(s).
9246 * java/security/cert/CertificateFactory.java: Likewise.
9247 * java/security/cert/CertPathBuilder.java: Likewise.
9248 * java/security/cert/CertPathValidator.java: Likewise.
9249 * java/security/cert/CertStore.java: Likewise.
9250 * java/security/AlgorithmParameterGenerator.java: Likewise.
9251 * java/security/AlgorithmParameters.java: Likewise.
9252 * java/security/KeyFactory.java: Likewise.
9253 * java/security/KeyPairGenerator.java: Likewise.
9254 * java/security/KeyStore.java: Likewise.
9255 * java/security/MessageDigest.java: Likewise.
9256 * java/security/SecureRandom.java: Likewise.
9257 * java/security/Signature.java: Likewise.
9258 * javax/crypto/Cipher.java: Likewise.
9259 * javax/crypto/ExemptionMechanism.java: Likewise.
9260 * javax/crypto/KeyAgreement.java: Likewise.
9261 * javax/crypto/KeyGenerator.java: Likewise.
9262 * javax/crypto/Mac.java: Likewise.
9263 * javax/crypto/SecretKeyFactory.java: Likewise.
9264 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9265 * javax/net/ssl/SSLContext.java: Likewise.
9266 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9268 2006-08-13 Roman Kennke <kennke@aicas.com>
9270 * javax/swing/JEditorPane.java
9271 (getScrollableTracksViewportHeight): Also check maximum size.
9272 * javax/swing/JTextPane.java
9273 (insertIcon): Use input attributes for adding the icon
9275 * javax/swing/plaf/basic/BasicTextUI.java
9276 (RootView.setSize): Overridden to forward to real view.
9277 (getPreferredSize): Trigger setSize() on the view.
9278 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9279 to viewToModel() call, rather then null.
9280 * javax/swing/text/ParagraphView.java
9281 (changedUpdate): Invalide layout. Call super.
9282 * javax/swing/text/SimpleAttributeSet.java
9283 (clone): Use super's clone method to create clone.
9284 * javax/swing/text/StyleConstants.java
9285 (setIcon): Also set element name attribute.
9286 * javax/swing/text/StyledEditorKit.java
9287 (BoldAction.actionPerformed): Actually set the bold attribute,
9289 (setCharacterAttributes): Replaced with more straightforward
9291 * javax/swing/text/TextAction.java
9292 (getFocusedComponent): Implemented.
9293 * javax/swing/text/Utilities.java
9294 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9296 * javax/swing/text/View.java
9297 (changedUpdate): Nullify element change when updateChildren
9300 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9302 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9303 Fix documentation typos.
9305 2006-08-11 David Daney <ddaney@avtrex.com>
9308 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9309 createResponseBodyStream in more cases and with new parameter.
9310 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9311 HEAD and !mayHaveBody responses specially.
9313 2006-08-11 Roman Kennke <kennke@aicas.com>
9315 * javax/swing/text/GlyphView.java
9316 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9317 * javax/swing/text/LabelView.java
9318 (valid): New flag indicating if the text attributes are valid.
9319 (LabelView): Initialize valid field with false.
9320 (setPropertiesFromAttributes): Call setter methods instead
9321 of setting properties directly. Set valid to true.
9322 (changedUpdate): Invalidate attributes. Call super.
9323 (getBackground): Sync attributes if necessary.
9324 (getForeground): Sync attributes if necessary.
9325 (getFont): Sync attributes if necessary.
9326 (isUnderline): Sync attributes if necessary.
9327 (isSuperscript): Sync attributes if necessary.
9328 (isStrikeThrough): Sync attributes if necessary.
9329 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9330 from toolkit if Container is not available yet.
9332 2006-08-11 Roman Kennke <kennke@aicas.com>
9334 * javax/swing/text/PlainView.java
9335 (tabBase): New field.
9336 (tabSize): New field.
9337 (updateMetrics): Update tabSize.
9338 (lineToRect): Only allocate when really necessary.
9339 (modelToView): Use tabBase for offset calculations.
9340 (paint): Only allocate when really necessary. Update tabBase.
9341 (nextTabStop): Fixed tab calculation.
9342 (viewToModel): Correctly handle multiline text and locations
9343 outside the view's bounds. Set bias.
9344 (getLineLength): Use tabBase.
9345 * javax/swing/text/Utilities.java
9346 (drawTabbedText): Don't special case newlines. The views
9347 must take care of this.
9349 2006-08-11 Roman Kennke <kennke@aicas.com>
9351 * javax/swing/text/GapContent.java
9352 (UndoPosRef): New inner class. Used for resetting positions
9353 after undo/redo operations.
9354 (InsertUndo.positions): New field.
9355 (InsertUndo.undo): Store positions in removed range.
9356 (InsertUndo.redo): Restore positions in re-inserted range.
9357 (UndoRemove.positions): New field.
9358 (UndoRemove.UndoRemove): Store positions in removed range.
9359 (UndoRemove.undo): Restore positions in re-inserted range.
9360 (UndoRemove.redo): Store positions in removed range.
9361 (insertString): Create InsertUndo instance before actually
9362 inserting the string.
9363 (remove): Create UndoRemove instance before actually
9365 (getPositionsInRange): Don't clear the Vector. Return Vector
9367 (updateUndoPositions): Implemented to reset all UndoPosRefs
9370 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9372 * java/io/ObjectInputStream.java (readClassDescriptor):
9373 Use class's class loader to resolve field types.
9374 * java/io/ObjectStreamField.java
9375 (ObjectStreamField(String,String,ClassLoader)): Removed.
9376 (ObjectStreamField(String,String)): Don't try to resolve typename.
9377 (resolveType): New method.
9379 2006-08-10 Roman Kennke <kennke@aicas.com>
9381 * javax/swing/text/BoxView.java
9382 (calculateMajorAxisRequirements): Sum up the preferred and
9384 (isAfter): Also add in the rectangle's with/height.
9385 (childAllocation): Don't trigger layout here.
9386 (layoutMinorAxis): Removed debug output.
9387 (getWidth): Consider the insets.
9388 (getHeight): Consider the insets.
9389 (setSize): Consider the insets.
9390 (updateRequirements): Check axis and throw
9391 IllegalArgumentException.
9393 2006-08-10 Roman Kennke <kennke@aicas.com>
9395 * javax/swing/text/AbstractDocument.java
9396 (BidiRootName): New constant field, denotes the element name
9397 for bidi root elements.
9398 (AsyncLoadPriority): New constant field, denotes the property
9399 to store the asynchronousLoadPriority.
9400 (I18N): New constant field, denotes the property for
9402 (bidiRoot): Made field type BidiRootElement.
9403 (AbstractDocument): Build initial element structure for
9405 (getAsynchronousLoadPriority): Implemented. Returns the
9406 value stored in the document properties.
9407 (setAsynchronousLoadPriority): Implemented. Sets the
9408 value stored in the document properties.
9409 (getEndPosition): Implemented to use a Position from the
9411 (getStartPosition): Implemented to use a Position from the
9413 (insertStringImpl): Update the I18N setting if necessary.
9414 (insertUpdate): Update the bidi structure if necessary.
9415 (postRemoveUpdate): Update the bidi structure if necessary.
9416 (putProperty): Update the I18N setting and bidi structure
9418 (updateBidi): New helper method for updating the bidi
9420 (getBidis): New helper method. Fetches the Bidi analysers
9421 for the paragraphs of the range to check.
9422 (dump): Also dump the bidi structure.
9423 (AbstractElement.dump): Indent the '>' correctly.
9424 (AbstractElement.children): Check numChildren rather then
9426 (BidiRootElement): New inner class.
9427 (BidiElement): New inner class.
9429 2006-08-10 Roman Kennke <kennke@aicas.com>
9431 * javax/swing/text/GapContent.java
9432 (getChars): Optimized to only copy array when really necessary.
9433 Respect the partialReturn property.
9435 2006-08-10 Lillian Angel <langel@redhat.com>
9437 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9438 (getComponentPeer): Added check to prevent NPE.
9440 2006-08-10 Gary Benson <gbenson@redhat.com>
9442 * java/security/AccessControlContext.java (<init>):
9443 Avoid a duplicated AccessController.getContext() call.
9445 2006-08-09 Mark Wielaard <mark@klomp.org>
9447 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9448 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9449 * doc/www.gnu.org/announce/20060809.wml: New file.
9451 2006-08-09 Mark Wielaard <mark@klomp.org>
9453 * configure.ac (VERSION): Set to 0.92-generics.
9454 * NEWS: Add updates for 0.92 release.
9456 2006-08-09 Tom Tromey <tromey@redhat.com>
9459 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9460 the pattern match any number of spaces in the text.
9462 2006-08-09 Sven de Marothy <sven@physto.se>
9464 * java/awt/image/BufferedImage.java
9465 (BufferedImage): Reimplement predefined-type constructor.
9466 (observers/tileObservers): Field renamed to tileObservers.
9467 (createDefaultIndexedColorModel): New method.
9469 2006-08-09 Tom Tromey <tromey@redhat.com>
9472 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9473 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9474 Create a 'short' array.
9476 2006-08-09 Tom Tromey <tromey@redhat.com>
9478 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9480 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9481 (writeFields): Print "L" after int constant. Don't mangle the field
9482 name. Only print int/long fields.
9484 2006-08-09 Tom Tromey <tromey@redhat.com>
9486 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9489 2006-08-09 Sven de Marothy <sven@physto.se>
9491 * javax/swing/JTree.java
9492 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9493 (setSelectionModel): Null parameter should create an EmptySelectionM.
9495 2006-08-09 Roman Kennke <kennke@aicas.com>
9497 * javax/swing/text/AbstractDocument.java
9498 (insertString): Perform modifications inside a write lock.
9499 (insertStringImpl): Don't lock here. This is already done
9501 (replace): Perform modifications inside a write lock.
9502 (AbstractElement.AbstractElement): Call addAttributes() to
9504 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9505 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9506 (BranchElement.BranchElement): Set lastIndex to -1.
9507 (BranchElement.getElementIndex): Implemented more efficient
9510 2006-08-09 Roman Kennke <kennke@aicas.com>
9512 * javax/swing/text/DefaultStyledDocument.java
9513 (Edit): Moved this inner class into ElementBuffer where it
9515 (edits): Moved this field into ElementBuffer.
9516 (getEditForParagraphAndIndex): Removed obsolete method.
9517 (insertUpdate): Added some optimizations and fixes. Split
9518 out handling insertion after newlines.
9519 (insertAfterNewline): New helper method. Handles insertions
9521 (ElementBuffer.Edit): New inner class. Moved here from
9522 DefaultStyledDocument.
9523 (ElementBuffer.createdFracture): New field.
9524 (ElementBuffer.documentEvent): Made private.
9525 (ElementBuffer.edits): New field. Moved here from
9526 DefaultStyledDocument.
9527 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9528 (ElementBuffer.fracturedChild): New field.
9529 (ElementBuffer.fracturedParent): New field.
9530 (ElementBuffer.insertPath): New field.
9531 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9533 (ElementBuffer.offsetLastIndex): New field.
9534 (ElementBuffer.offsetLastIndexReplace): New field.
9535 (ElementBuffer.recreateLeafs): New field.
9536 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9537 (ElementBuffer.canJoin): New helper method.
9538 (ElementBuffer.changeUpdate): Changed to use elementStack with
9539 Edits rather than Elements. Let the split method do the work.
9540 (ElementBuffer.cloneAsNecessary): New helper method.
9541 (ElementBuffer.createFracture): Changed to fracture the bottommost
9543 (ElementBuffer.finishEdit): New helper method. Moved out
9544 from insertUpdate to perform the actual changes and update
9546 (fracture): New helper method.
9547 (insertContentTag): Fixed some bugs and changed to use Edit
9548 instances in the stack, rather then Elements.
9549 (insertElement): New helper method. Moved out from insertUpdate()
9550 to process the ElementSpecs.
9551 (insertFirstContentTag): Fixed some problems and changed to use Edit
9552 instances in the stack, rather then Elements.
9553 (insertFracture): Removed. Basically moved into createFracture()
9555 (insertParagraph): Removed.
9556 (insertUpdate): Split out the ElementSpec processing into
9557 insertElement(). Use Edit instances in the stack. Fixed some
9559 (insert): Split out the preparation and finishing code into
9560 prepareEdit() and finishEdit().
9561 (join): New helper method.
9562 (pop): New helper method.
9563 (prepareEdit): New helper method.
9564 (recreateFracturedElement): New helper method.
9565 (recreateLeaves): Removed.
9566 (recreate): New helper method.
9567 (removeElements): New helper method. Split out from removeUpdate().
9568 (removeUpdate): Split out the actual removal. Use the
9569 Edit stack to perform removal and perform the remove actions
9570 and event updates afterwards, just like in insertImpl().
9571 (remove): Use prepareEdit() and finishEdit().
9572 (split): Replaced with more flexible impl.
9574 2006-08-09 Sven de Marothy <sven@physto.se>
9576 * gnu/java/awt/peer/gtk/CairoSurface.java
9577 Change class to extend WritableRaster and not DataBuffer.
9578 (CairoDataBuffer): New inner class.
9579 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9580 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9581 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9582 Accomodate the above change.
9584 2006-08-09 Sven de Marothy <sven@physto.se>
9586 * gnu/java/awt/peer/gtk/GtkMainThread.java
9588 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9589 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9590 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9591 * gnu/java/awt/peer/gtk/GtkToolkit.java
9592 Minor style fixes; removed unused fields,
9593 set fields to private where possible.
9594 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9595 Call GtkMainThread.createWindow().
9596 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9597 (dispose): New method.
9598 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9600 (gtkQuit): New native method.
9602 2006-08-08 Lillian Angel <langel@redhat.com>
9604 * java/awt/Component.java
9605 (setDropTarget): Added check.
9607 2006-08-08 Lillian Angel <langel@redhat.com>
9609 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9610 (GtkDragSourceContextPeer): Added FIXME. Changed call
9612 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9613 (GtkDropTargetContextPeer): Removed target initialization.
9614 * java/awt/Component.java
9615 (setTarget): Removed commented out code.
9617 2006-08-08 Mark Wielaard <mark@klomp.org>
9619 * javax/swing/text/DefaultHighlighter.java: Qualify
9620 Highlighter.HighlightPainter class name for gcj.
9622 2006-08-05 Roman Kennke <kennke@aicas.com>
9624 * javax/swing/plaf/basic/BasicTableUI.java
9625 (MouseInputHandler.mousePressed): Request focus on list
9628 2006-08-05 Roman Kennke <kennke@aicas.com>
9630 * javax/swing/plaf/basic/BasicListUI.java
9631 (MouseInputHandler.mousePressed): Request focus on list
9634 2006-08-05 Roman Kennke <kennke@aicas.com>
9637 * javax/swing/plaf/basic/BasicMenuBarUI.java
9638 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9639 than Tree.actionMap.
9640 * javax/swing/plaf/basic/BasicTreeUI.java
9641 (action): Removed obsolete field.
9642 (uninstallKeyboardActions): Removed action field handling.
9643 (installKeyboardActions): Removed action field handling.
9644 (createDefaultActions): Don't install removed TreeAction.
9645 (TreeAction): Removed obsolete inner class.
9646 (ActionListenerProxy): Removed obsolete inner class.
9647 (MouseHandler.mousePressed): Request focus on JTree component
9650 2006-08-08 Roman Kennke <kennke@aicas.com>
9652 * javax/swing/plaf/basic/BasicListUI.java
9653 (MouseInputHandler.mousePressed): Request focus on list
9656 2006-08-08 Roman Kennke <kennke@aicas.com>
9658 * javax/swing/plaf/basic/BasicTableUI.java
9659 (MouseInputHandler.mousePressed): Request focus on list
9662 2006-08-08 Roman Kennke <kennke@aicas.com>
9664 * javax/swing/plaf/basic/BasicTextUI.java
9665 (damageRange(JTextComponent,int,int)): Call damageRange() with
9666 correct biases, rather than null.
9667 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9668 to use simpler modelToView() approach without much special
9669 casing. This seems not worth the effort and actually
9670 caused problems. Added locking of the document.
9671 * javax/swing/text/BoxView.java
9672 (requirementsValid): New field.
9673 (calculateMajorAxisRequirements): Rewritten without using
9674 SizeRequirements. The SizeRequirements algorithms are slightly
9675 different and too inefficient.
9676 (calculateMinorAxisRequirements): Rewritten without using
9677 SizeRequirements. The SizeRequirements algorithms are slightly
9678 different and too inefficient.
9679 (getAlignment): Simply return the alignment of the cached
9681 (getMaximumSpan): Add insets.
9682 (getMinimumSpan): Add insets.
9683 (getPreferredSpan): Add insets.
9684 (layoutMajorAxis): Rewritten without using
9685 SizeRequirements. The SizeRequirements algorithms are slightly
9686 different and too inefficient.
9687 (layoutMinorAxis): Rewritten without using
9688 SizeRequirements. The SizeRequirements algorithms are slightly
9689 different and too inefficient.
9690 (modelToView): Call setSize() rather than layout().
9691 (paint): Check clip for more efficient painting.
9692 (preferenceChanged): Invalidate requirements here.
9693 (replace): Invalidate requirements here.
9694 (updateRequirements): Update requirements only when requirements
9696 * javax/swing/text/CompositeView.java
9697 (modelToView): Added some more checks and handling of corner cases.
9698 * javax/swing/text/FlowView.java
9699 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9700 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9701 * javax/swing/text/IconView.java
9702 (getAlignment): Implemented to return 1.0 for vertical alignment.
9703 * javax/swing/text/ParagraphView.java
9704 (Row.getMaximumSpan): Implemented to let Rows span the whole
9706 (getAlignment): Fixed horizontal alignment and vertical alignment
9707 for empty paragraphs to be 0.5.
9709 2006-08-08 Roman Kennke <kennke@aicas.com>
9711 * javax/swing/text/View.java
9712 (modelToView): Added special handling for corner case at the end
9713 of the view and for multiline views.
9715 2006-08-08 Roman Kennke <kennke@aicas.com>
9717 * javax/swing/plaf/basic/BasicTextUI.java
9718 (modelToView): Read-lock the document. Set size of the
9719 root view before fetching the model-to-view mapping.
9720 (getViewIndex): Check of the position is inside the range and
9721 return -1 if this is not the case.
9722 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9724 (getViewIndexAtPosition(int)): Delegate the index search to
9725 the element since we have a 1:1 mapping between elements and
9727 * javax/swing/text/DefaultCaret.java
9728 (appear): Ignore BadLocationException.
9729 (paint): Ignore BadLocationException.
9730 * javax/swing/text/FlowView.java
9731 (changedUpdate): Also notify the layoutPool view.
9732 (removeUpdate): Also notify the layoutPool view.
9733 * javax/swing/text/ParagraphView.java
9734 (Row.getViewIndexAtPosition): Overridden to search linearily
9735 through the view instead of relying on a 1:1 model to view
9737 * javax/swing/text/View.java
9738 (removeUpdate): Clear ElementChange object if updateChildren
9740 (forwardUpdate): Special handle some boundary cases.
9742 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9744 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9745 (hasInheritedParameters): New method.
9746 (equals): Updated documentation.
9747 Take into consideration the outcome of hasInheritedParameters invocation.
9748 (toString): Call hasInheritedParameters and adjust the result accordingly.
9749 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9750 Updated documentation.
9751 Handle case of public keys with null p, q, and g MPIs.
9752 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9754 2006-08-07 Tom Tromey <tromey@redhat.com>
9757 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9758 (attachment): Likewise.
9759 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9761 (isValid): Likewise.
9762 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9764 (interestOps): Synchronize.
9765 (readyOps): Likewise.
9766 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9769 2006-08-07 C. Scott Marshall <csm@gnu.org>
9772 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9773 the mark has been set.
9774 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9775 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9778 2006-08-07 Sven de Marothy <sven@physto.se>
9780 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9781 (drawGlyphVector): Synchronize against font object when drawing.
9782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9783 (nativeDrawGlyphVector): Use pango locking when drawing.
9784 (install_font_peer): Use pango locking when creating the cairo face.
9786 2006-08-06 Roman Kennke <kennke@aicas.com>
9789 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9790 (getPreferredSize): Renamed method to preferredSize(). That's
9791 the one that gets called from java.awt.*.
9792 * java/awt/peer/ComponentPeer.java
9793 (getPreferredSize): Added specnote about this method never
9794 beeing called in the RI.
9795 (getMinimumSize): Added specnote about this method never
9796 beeing called in the RI.
9798 2006-08-03 Sven de Marothy <sven@physto.se>
9800 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9801 (grab, nativeGrab): New methods.
9802 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9804 (nativeGrab): New method.
9805 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9807 * java/awt/Component.java
9808 (printAll): Should call peer print method.
9810 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9812 * java/net/URL.java (getContent(Class[])): Implement.
9814 2006-08-06 Mark Wielaard <mark@klomp.org>
9817 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9818 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9820 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9823 2006-08-06 Roman Kennke <kennke@aicas.com>
9825 * NEWS: Added note about the X peers.
9826 * INSTALL: Added install notes about the X peers.
9828 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9829 Paul Jenner <psj@harker.dyndns.org>
9831 * README: Update bug, patches and cvs instructions plus new URLs of
9832 various external projects.
9834 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9836 * configure.ac (MOZILLA_FOUND): Fall back to
9837 mozilla-firefox-plugin.
9839 2006-08-06 Mario Torre <neugens@limasoftware.net>
9841 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9842 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9843 g_type_init earlier in function to correctly initialize the
9844 type system used by the backend.
9846 2006-08-05 Roman Kennke <kennke@aicas.com>
9848 * javax/swing/text/DefaultHighlight.java
9849 (DefaultHighlightPainter.paintHighlight): Removed method.
9850 (DefaultHighlightPainter.paintLayer): Implemented.
9851 (DefaultHighlightPainter.paint): Implemented more efficient
9852 painting for multiline-highlights.
9853 (HighlightEntry.p0): Changed to be a Position.
9854 (HighlightEntry.p1): Changed to be a Position.
9855 (HighlightEntry.HighlightEntry): Changed to take Position
9857 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9858 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9859 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9860 and tracks the painted rectangle for efficient repainting.
9861 (addHighlight): Handle layered highlight.
9862 (changeHighlight): Handle layered highlight.
9863 (paintLayeredHighlights): Implemented.
9864 (paint): Paint only non-layered highlights here.
9865 (removeAllHighlights): Trigger correct repaint.
9866 (removeHighlight): Handle layered highlight here for
9867 more efficient repainting.
9868 * javax/swing/text/GlyphView.java
9869 (paint): Handle layered highlights.
9870 * javax/swing/text/PlainView.java
9871 (paint): Handle layered highlights.
9872 * javax/swing/text/WrappedPlainView.java
9873 (WrappedLine.paint): Handle layered highlights.
9875 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9878 * NEWS: As suggested by Paul Jennier, added note about the fix of
9881 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9883 * NEWS: Added entry about the context factories for JNDI.
9885 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9888 * gnu/CORBA/Connected_objects.java (size): New method.
9889 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9891 * javax/naming/spi/NamingManager.java (getURLContext):
9892 Also search for the URL context factories in
9893 gnu/javax/naming/jndi/url.
9894 * gnu/javax/naming/giop/ContextContinuation.java,
9895 gnu/javax/naming/giop/CorbalocParser.java,
9896 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9897 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9898 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9899 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9900 gnu/javax/naming/giop/ListEnumeration.java,
9901 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9902 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9903 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9904 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9905 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9906 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9907 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9908 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9910 2006-08-06 Sven de Marothy <sven@physto.se>
9912 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9913 (drawGlyphVector): Synchronize against font object when drawing.
9914 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9915 (nativeDrawGlyphVector): Use pango locking when drawing.
9916 (install_font_peer): Use pango locking when creating the cairo face.
9918 2006-08-06 C. Scott Marshall <csm@gnu.org>
9921 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9922 the mark has been set.
9923 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9924 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9927 2006-08-06 Mark Wielaard <mark@klomp.org>
9930 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9931 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9933 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9936 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9937 Paul Jenner <psj@harker.dyndns.org>
9939 * README: Update bug, patches and cvs instructions plus new URLs of
9940 various external projects.
9942 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9944 * gnu/java/lang/management/BeanImpl.java:
9945 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9947 (getCachedMBeanInfo()): Return open variant.
9948 (getMBeanInfo()): Likewise.
9949 (getTypeFromClass(Class)): Implemented.
9950 (translateSignature(MBeanParameterInfo)): Likewise.
9951 (translate(String)): Likewise.
9952 * javax/management/StandardMBean.java:
9953 (getMBeanInfo()): Return attribute names with capital letters,
9954 as in docs for java.lang.management.ManagementFactory, and
9955 ensure descriptions are not "".
9956 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9957 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9958 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9959 (toString()): Use Arrays.toString().
9960 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9961 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9962 Set open type here rather than in other constructors.
9964 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9966 * javax/management/MBeanFeatureInfo.java:
9967 Make string variable package-private.
9968 * javax/management/StandardMBean.java:
9969 (getMBeanInterface()): Made final.
9970 * javax/management/openmbean/SimpleType.java:
9973 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9975 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9978 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9980 * examples/gnu/classpath/examples/swing/FillRect.java,
9981 * gnu/CORBA/Focused_ORB.java,
9982 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9983 * gnu/classpath/ByteArray.java,
9984 * gnu/classpath/ObjectPool.java,
9985 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9986 * gnu/java/awt/peer/x/fonts.properties,
9987 * gnu/java/security/util/Prime2.java,
9988 * gnu/javax/imageio/gif/GIFStream.java,
9989 * javax/swing/text/html/HTMLTableView.java,
9990 * native/cni/Makefile.am,
9991 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9992 * org/omg/CORBA/SendingContext/Runtime.java,
9993 * resource/gnu/regexp/MessagesBundle.properties,
9994 * resource/gnu/regexp/MessagesBundle_fr.properties,
9995 * resource/gnu/regexp/MessagesBundle_it.properties,
9996 * tools/appletviewer.in,
9997 * tools/jarsigner.in,
9999 * vm/reference/java/lang/management/VMThreadInfo.java:
10001 * examples/gnu/classpath/examples/awt/aicas.png,
10002 * examples/gnu/classpath/examples/awt/palme.gif,
10003 * examples/gnu/classpath/examples/java2d/aicas.png,
10004 * examples/gnu/classpath/examples/java2d/palme.gif,
10005 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10006 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10007 * java/awt/doc-files/capjoin.png,
10008 * java/awt/geom/doc-files/Area-1.png,
10009 * java/awt/geom/doc-files/Ellipse-1.png,
10010 * java/awt/geom/doc-files/GeneralPath-1.png:
10013 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10018 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10020 * gnu/java/lang/management/BeanImpl.java:
10021 (getAttribute(String)): Implemented.
10023 2006-08-05 Roman Kennke <kennke@aicas.com>
10025 * javax/swing/text/JTextComponent.java
10026 (AccessibleJTextComponent.dot): Renamed field into caretDot.
10027 (AccessibleJTextComponent.textComp): Removed field
10028 and replace with JTextComponent.this construct.
10029 (AccessibleJTextComponent.AccessibleJTextComponent):
10030 Fetch caret position.
10031 (caretUpdate): Implemented. Fires property change events and
10032 updates the caretDot field.
10033 (changedUpdate): Implemented. Fires property change events.
10034 (insertUpdate): Implemented. Fires property change events.
10035 (removeUpdate): Implemented. Fires property change events.
10036 (cut): Replaced textComp with JTextComponent.this construct.
10037 (paste): Replaced textComp with JTextComponent.this construct.
10038 (replaceText): Replaced textComp with JTextComponent.this construct.
10039 (selectText): Replaced textComp with JTextComponent.this construct.
10040 (getCaretPosition): Replaced textComp with JTextComponent.this
10042 (getCharCount): Replaced textComp with JTextComponent.this construct.
10043 (getSelectedText): Replaced textComp with JTextComponent.this
10045 (getSelectionEnd): Replaced textComp with JTextComponent.this
10047 (getSelectionStart): Replaced textComp with JTextComponent.this
10049 (getTextRange): Replaced textComp with JTextComponent.this
10051 (doAccessibleAction): Implemented.
10052 (getAccessibleActionCount): Implemented.
10053 (getAccessibleActionDescription): Implemented.
10054 (getAccessibleStateSet): Implemented.
10055 (getAfterIndex): Implemented.
10056 (getBeforeIndex): Implemented.
10057 (getAtIndex): Implemented.
10058 (getAtIndexImpl): New helper method.
10059 (getCharacterAttribute): Implemented.
10060 (getCharacterBounds): Implemented.
10061 (getIndexAtPoint): Implemented.
10062 (insertTextAtIndex): Implemented.
10063 (setAttributes): Implemented.
10064 (setTextContents): Implemented.
10066 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
10068 * configure.ac: Better handling of default-preferences-peer option.
10070 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
10072 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10075 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10077 * javax/management/openmbean/TabularData.java:
10078 Documentation corrections.
10079 * javax/management/openmbean/TabularDataSupport.java:
10082 2006-08-04 Francis Kung <fkung@redhat.com>
10084 * java/awt/BasicStroke.java
10085 (dashedStroke): Implemented.
10087 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10089 * javax/management/BadAttributeValueExpException.java,
10090 * javax/management/BadStringOperationException.java,
10091 * javax/management/InstanceAlreadyExistsException.java,
10092 * javax/management/InstanceNotFoundException.java,
10093 * javax/management/InvalidApplicationException.java,
10094 * javax/management/MBeanRegistrationException.java,
10095 * javax/management/MalformedObjectNameException.java,
10096 * javax/management/RuntimeErrorException.java,
10097 * javax/management/RuntimeMBeanException.java,
10098 * javax/management/ServiceNotFoundException.java:
10101 2006-08-04 Roman Kennke <kennke@aicas.com>
10103 * javax/swing/SwingUtilities.java
10104 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10105 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10106 layoutCompoundLabelImpl().
10107 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10108 Rectangle,Rectangle,Rectangle,int)): Delegate to new
10109 layoutCompoundLabelImpl().
10110 (layoutCompoundLabelImpl): New helper method. Moved impl from
10111 layoutCompoundLabel() to here and added handling of HTML.
10112 * javax/swing/plaf/basic/BasicButtonUI.java
10113 (installUI): Update HTML view if appropriate.
10114 (uninstallUI): New method. Do the usual uninstallUI things
10115 and uninstall HTML view.
10116 (getMinimumSize): New method. Adjusts the minimum size
10117 by the HTML view minimum size.
10118 (getMaximumSize): New method. Adjusts the maximum size
10119 by the HTML view maximum size.
10120 (getPreferredSize): Pass the button's iconTextGap to the
10121 BasicGraphicsUtils method.
10122 (paint): Let HTML view paint the text, if present.
10123 * javax/swing/plaf/basic/BasicButtonListener.java
10124 (propertyChange): Update the HTML view when the button's
10127 2006-08-04 Mario Torre <neugens@limasoftware.net>
10129 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10130 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10131 g_type_init earlier in function to correctly initialize the
10132 type system used by the backend.
10134 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10137 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10139 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10141 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10143 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10145 * gnu/xml/dom/DomIterator.java:
10146 (successor): Added if-statement.
10148 2006-08-04 Mark Wielaard <mark@klomp.org>
10150 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10152 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10154 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10155 (update): Check size and paint smaller gradient.
10156 * javax/swing/plaf/metal/MetalBorders.java:
10157 (MenuBarBorder): Removed borderColor field.
10158 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10161 2006-08-03 Roman Kennke <kennke@aicas.com>
10164 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10165 (ComponentHandler.componentResized): Reimplemented to handle
10167 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10168 component listener on changed ancestor.
10169 (installListeners): Install componentListener.
10170 (uninstallListeners): Uninstall componentListener.
10172 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10174 * StrictMath.java (cbrt): Return argument if it is a NaN.
10179 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10181 * java/lang/StrictMath.java (tanh): New method.
10183 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10185 * scripts/import-cacerts.sh: Batch CA certificates import script.
10187 2006-08-03 Roman Kennke <kennke@aicas.com>
10190 * javax/swing/plaf/basic/BasicListUI.java
10191 (paintCell): Pass row index to cell renderer.
10192 * javax/swing/plaf/basic/MetalFileChooserUI.java
10193 (DirectoryComboBoxRenderer.indentIcon): New field.
10194 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10195 Initialize indentIcon.
10196 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10197 Fall back to super and removed standard functionality.
10198 Handle indentation.
10199 (IndentIcon): New class. Wraps and indents another icon.
10201 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10203 * javax/management/MBeanConstructorInfo.java:
10204 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10205 Copy array rather than directly assigning.
10206 * javax/management/MBeanInfo.java:
10207 (MBeanInfo(String,String,MBeanAttributeInfo[],
10208 MBeanConstructorInfo[], MBeanOperationInfo[],
10209 MBeanNotificationInfo[])): Likewise.
10210 * javax/management/MBeanOperationInfo.java:
10211 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10213 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10214 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10216 * javax/management/openmbean/OpenMBeanInfo.java:
10217 Corrected documentation.
10218 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10220 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10221 Corrected documentation.
10222 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10224 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10225 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10226 Call other constructor rather than reimplementing.
10228 2006-08-02 Lillian Angel <langel@redhat.com>
10230 * java/awt/dnd/DragSource.java
10231 (isDragImageSupported): Implemented.
10232 (getDragThreshold): Changed default value.
10233 * java/awt/dnd/DropTarget.java
10234 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10235 (DropTarget): Likewise.
10236 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10237 (addDropTargetListener): Added check to determine if new DropTargetListener
10238 is this class. If so, an IllegalArgumentException is thrown. If the
10239 new listener is null, nothing happens.
10241 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10243 * configure.ac (MOZILLA_FOUND): Fall back to
10244 mozilla-firefox-plugin.
10246 2006-08-02 Sven de Marothy <sven@physto.se>
10248 * java/awt/geom/AffineTransform.java
10249 (hashCode): Tweak impl.
10250 * java/awt/font/FontRenderContext.java
10251 (hashCode): Implement.
10253 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10255 * java/lang/StrictMath.java (sinh): New method.
10257 2006-08-02 Roman Kennke <kennke@aicas.com>
10260 * javax/swing/JComboBox.java
10261 (setSelectedItem): Fire ActionEvent here.
10262 * javax/swing/plaf/basic/BasicDirectoryModel.java
10263 (directories): Changed to type Vector.
10264 (files): New field.
10265 (loadThread): New field.
10266 (DirectoryLoadThread): New inner class. This loads the contents
10267 of directories asynchronously.
10268 (getDirectories): Return cached Vector.
10269 (getFiles): Return cached Vector.
10270 (getSize): Return plain size of contents Vector.
10271 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10272 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10273 (sort): Don't store sorted list in contents. This must be done
10274 asynchronously from the EventThread.
10275 (validateFileCache): Rewritten for asynchronous reading
10276 of directory contents.
10277 * javax/swing/plaf/basic/BasicFileChooserUI.java
10278 (installListeners): Install model as PropertyChangeListener.
10279 (uninstallListeners): Uninstall model as PropertyChangeListener.
10280 (createPropertyChangeListener): Return null just like the
10283 2006-08-02 Sven de Marothy <sven@physto.se>
10285 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10286 (remove): Force event on removing item 0 when it's selected.
10287 (handleEvent): Always call Choice.selected().
10288 * java/awt/Choice.java:
10289 (remove): Simplify and correct.
10291 2006-08-02 Mark Wielaard <mark@klomp.org>
10294 * configure.ac (gconf-peer): Check for gdk-2.0.
10295 * native/jni/gconf-peer/Makefile.am
10296 (AM_LDFLAGS): Use GDK_LIBS.
10297 (AM_CFLAGS): Use GDK_CFLAGS.
10299 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10301 * java/net/URL.java (getContent(Class[])): Implement.
10303 2006-08-02 Roman Kennke <kennke@aicas.com>
10306 * javax/swing/JMenu.java
10307 (JMenu()): Removed setting of delay.
10308 (JMenu(String)): Removed setting of delay.
10309 (JMenu(Action)): Removed setting of delay.
10310 (JMenu(String,boolean)): Removed setting of delay.
10311 (setSelectedHelper): Removed unneeded method.
10312 (setSelected): Simply set the model state.
10313 (setPopupMenuVisible): Recognize the popup location
10314 determined by getPopupMenuOrigin().
10315 (getPopupMenuOrigin): Recognize the UI properties for
10317 (menuSelectionChanged): Call setSelected() directly.
10318 * javax/swing/JPopupMenu.java
10319 (menuSelectionChanged): If invoker is a JMenu, then delegate
10320 to that to get the position right.
10321 * javax/swing/Popup.java
10322 (LightweightPopup.show): Insert the popup as first component
10323 in the layer, so that it overlaps it's caller.
10324 * javax/swing/plaf/basic/BasicMenuItemUI.java
10325 (getPath): Don't include the popup.
10326 * javax/swing/plaf/basic/BasicMenuUI.java
10327 (SelectMenuAction): New class. This invokes the popup when
10328 a menu is selected.
10329 (installDefaults): Install delay of 200 ms.
10330 (setupPostTimer): Implemented.
10331 (MouseInputHandler.mouseClicked): Do nothing here.
10332 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10333 magic to handle the selection. Open the menu via a timer.
10334 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10335 magic to handle the selection. Open the menu via a timer.
10336 (MenuDragMouseHandler.menuMouseDragged): Probably use
10338 (menuDragMouseEntered): Do nothing here.
10340 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10342 * javax/management/openmbean/InvalidOpenTypeException.java,
10343 * javax/management/openmbean/KeyAlreadyExistsException.java:
10346 2006-08-02 Roman Kennke <kennke@aicas.com>
10349 * javax/swing/plaf/basic/BasicChooserUI.java
10350 (BasicFileView.getName): Fetch the real name from the
10351 file chooser's FileSystemView.
10352 * javax/swing/plaf/metal/MetalChooserUI.java
10353 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10354 Set the text fetched from the JFileChooser.getName().
10355 * javax/swing/FileSystemView.java
10356 (createFileObject): When file is a filesystem root,
10357 create a filesystem root object first.
10358 (getSystemDisplayName): Return the filename. Added specnote
10359 about ShellFolder class that is mentioned in the spec.
10360 * javax/swing/UnixFileSystemView.java
10361 (getSystemDisplayName): Implemented to return the real name
10362 of a file, special handling files like '.' or '..'.
10364 2006-08-03 Mark Wielaard <mark@klomp.org>
10366 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10368 2006-08-03 Roman Kennke <kennke@aicas.com>
10371 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10372 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10373 components when visual property chanegs.
10375 2006-08-03 Roman Kennke <kennke@aicas.com>
10378 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10379 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10380 component when visual properties change.
10382 2006-08-03 Roman Kennke <kennke@aicas.com>
10385 * javax/swing/JTree.java
10386 (JTree(TreeModel)): Set cell renderer to null.
10387 * javax/swing/plaf/basic/BasicTreeUI.java
10388 (setCellRenderer): Finish editing before setting the
10389 cell renderer. Refresh the layout. Don't set the
10390 currentCellRenderer field here (that's done in updateRenderer).
10391 (updateRenderer): Handle createdRenderer field here too.
10392 Set renderer to a default handler when the current renderer
10393 in the JTree is null.
10395 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10398 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10400 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10403 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10404 Updated documentation to clarify that RFC-2459 states that the parameters
10405 field of the AlgorithmIdentifier element MUST be NULL if present.
10406 Amended the code to reflect the specs.
10407 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10409 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10411 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10412 Call parameter 'defaultValue' not 'defValue'.
10414 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10416 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10419 2006-08-01 Roman Kennke <kennke@aicas.com>
10422 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10423 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10424 components when visual property chanegs.
10426 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10428 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10429 (toString()): Corrected documentation.
10430 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10431 * javax/management/openmbean/OpenMBeanInfo.java,
10432 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10434 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10435 (toString()): Corrected documentation.
10437 2006-08-01 Tania Bento <tbento@redhat.com>
10439 * java/awt/Choice.java
10440 (remove(int)): Added documentation.
10442 2006-08-01 Tania Bento <tbento@redhat.com>
10444 * java/awt/Choice.java
10445 (remove(int)): An IllegalArgumentException should not be thrown
10446 if int is invalid. Update selectedIndex and peer selection.
10448 2006-08-01 Tania Bento <tbento@redhat.com>
10450 * java/awt/CardLayout.java
10451 (toString): Changed format of string outputted.
10452 (goToComponent): Changed the order of the if-clause.
10454 2006-07-31 Tom Tromey <tromey@redhat.com>
10456 * INSTALL: Updated for ASM.
10458 2006-07-31 Tom Tromey <tromey@redhat.com>
10461 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10462 (attachment): Likewise.
10463 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10465 (isValid): Likewise.
10466 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10468 (interestOps): Synchronize.
10469 (readyOps): Likewise.
10470 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10473 2006-07-31 Roman Kennke <kennke@aicas.com>
10475 * NEWS: Added note about the X peers.
10476 * INSTALL: Added install notes about the X peers.
10478 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10480 * StrictMath.java (getLowDWord): Return long instead of int.
10481 (getHighDWord): Likewise.
10482 (buildDouble): Take two long arguments.
10483 (cbrt): Adapted to int -> long change.
10487 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10489 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10492 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10494 * java/security/Provider.java: Updated copyright year.
10495 Updated documentation.
10497 (put): Updated documentation.
10498 Added security manager check.
10499 Canonicalize the key before adding its mapping.
10500 (get): Override superclass implementation to use canonicalized keys.
10501 (remove): Updated documentation.
10502 Added security manager check.
10503 Canonicalize the key before removing its mapping.
10504 (clear): Updated documentation.
10505 Added security manager check.
10506 (toCanonicalKey): New method.
10508 2006-07-30 Matt Wringe <mwringe@redhat.com>
10510 * gnu/java/security/Engine.java
10511 (getInstance): Ignore self referencing aliases.
10513 2006-07-30 Mark Wielaard <mark@klomp.org>
10515 * javax/swing/JComponent.java (getListeners): Revert
10518 2006-07-30 Mark Wielaard <mark@klomp.org>
10520 * resource/java/security/classpath.security: Add /dev/urandom as
10521 default securerandom.source.
10523 2006-07-30 Mark Wielaard <mark@klomp.org>
10525 * java/util/GregorianCalendar.java (maximums): Months can have up to
10527 (nonLeniencyCheck): weeks is either 5 or 6.
10529 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10531 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10532 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10535 2006-07-30 Matt Wringe <mwringe@redhat.com>
10537 * gnu/java/security/Engine.java
10538 (getInstance): Ignore self referencing aliases.
10540 2006-07-30 Sven de Marothy <sven@physto.se>
10542 * java/awt/Choice.java:
10543 (accessibleAction): Call select() directly.
10544 (add, insert, remove): Reimplement.
10545 (dispatchEventImpl): Always call super.
10546 (processItemEvent): Does not set the index.
10547 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10548 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10550 (nativeAdd): Name changed to add.
10551 (selection_changed_cb): Simplify callback.
10552 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10553 (selected): New field.
10554 (add): Replaced with native impl.
10555 (handleEvent): New method.
10557 2006-07-30 Sven de Marothy <sven@physto.se>
10559 * java/awt/Choice.java:
10560 Reformat, fix copyright year.
10562 2006-07-29 Mark Wielaard <mark@klomp.org>
10564 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10565 static field isPaintingDoubleBuffered to not have the same name
10568 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10570 * examples/gnu/classpath/examples/management/TestBeans.java:
10572 * javax/management/MBeanAttributeInfo.java:
10573 (toString()): Implemented.
10574 * javax/management/MBeanConstructorInfo.java:
10575 (toString()): Implemented.
10576 * javax/management/MBeanFeatureInfo.java:
10577 (toString()): Implemented.
10578 * javax/management/MBeanInfo.java:
10579 (toString()): Implemented.
10580 * javax/management/MBeanNotificationInfo.java:
10581 (toString()): Implemented.
10582 * javax/management/MBeanOperationInfo.java:
10583 (toString()): Implemented.
10584 * javax/management/MBeanParameterInfo.java:
10585 (toString()): Implemented.
10586 * javax/management/StandardMBean.java:
10587 (getMBeanInfo()): Fix attribute naming.
10589 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10591 * gnu/java/lang/management/BeanImpl.java:
10592 Extended javax.management.StandardMBean.
10593 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10594 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10595 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10596 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10597 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10598 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10599 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10600 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10601 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10602 Call the superclass with the appropriate class.
10603 * java/lang/management/ManagementFactory.java:
10604 (getOperatingSystemMXBean()): Catch exception from
10606 (getRuntimeMXBean()): Likewise.
10607 (getClassLoadingMXBean()): Likewise.
10608 (getThreadMXBean()): Likewise.
10609 (getMemoryMXBean()): Likewise.
10610 (getCompilationMXBean()): Likewise.
10611 (getMemoryPoolMXBeans()): Likewise.
10612 (getMemoryManagerMXBeans()): Likewise.
10613 (getGarbageCollectorMXBeans()): Likewise.
10614 * javax/management/MBeanFeatureInfo.java:
10615 hashCode()): Fixed to check for null values.
10617 2006-07-29 Matt Wringe <mwringe@redhat.com>
10619 * gnu/java/security/Engine.java
10620 (getInstance): Add case insentivity to algorithm names
10621 * java/security/Provider.java
10622 (put): Stop using canonical key naming
10624 (toCanonicalKey): Method removed
10625 (get): Method removed, no longer needs to overwrite
10626 parent implementation
10628 2006-07-29 Mark Wielaard <mark@klomp.org>
10630 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10631 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10632 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10633 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10634 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10638 2006-07-29 Sven de Marothy <sven@physto.se>
10640 * java/math/BigDecimal.java
10641 Adjust copyright date.
10642 (divide(BigDecimal): Implement.
10643 (precision): Reimplement.
10644 (numDigitsInBigInteger, numDigitsInLong): Removed.
10645 (toString): Get exponent from string length,
10646 fix negative values with exponential form.
10647 (toEngineeringString): Same as for toString.
10648 (setScale): Throw ArithmeticException if scale < 0.
10650 2006-07-27 Francis Kung <fkung@redhat.com>
10652 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10653 (cp1): Renamed from first().
10654 (c2): Renamed from last().
10655 (first): Renamed to cp1().
10656 (getDisplacedSegments): Implemented.
10657 (last): Renamed to cp2().
10658 * gnu/java/awt/java2d/LineSegment.java
10659 (cp1): Renamed from first().
10660 (c2): Renamed from last().
10661 (first): Renamed to cp1().
10662 (last): Renamed to cp2().
10663 * gnu/java/awt/java2d/QuadSegment.java
10664 (cp1): Renamed from first().
10665 (c2): Renamed from last().
10666 (first): Renamed to cp1().
10667 (last): Renamed to cp2().
10668 * gnu/java/awt/java2d/Segment.java: Added comments.
10669 (first): New field.
10670 (Segment): Keep track of first element in list.
10671 (add): Update first & last element variables.
10672 (cp1): Renamed from first().
10673 (c2): Renamed from last().
10674 (first()): Renamed to cp1() to reduce ambiguity.
10675 (last()): Renamed to cp2() to reduce ambiguity.
10676 (reverseAll): Update first element variable..
10677 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10678 (draw): Remove flattening path iterator.
10679 * java/awt/BasicStroke.java: Clarified comments.
10680 (addSegments): Refactored some code into joinSegments and
10682 (capEnd): Rename of Segment.first() and Segment.end().
10683 (joinInnerSegments): New method.
10684 (joinOuterSegments): New method.
10685 (joinSegments): Refactored some code into joinOuterSegments.
10686 (solidStroke): Connect segments together properly.
10688 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10690 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10692 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10694 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10696 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10699 2006-07-28 Tom Tromey <tromey@redhat.com>
10701 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10703 2006-07-28 Lillian Angel <langel@redhat.com>
10705 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10706 Removed function declarations.
10707 (connect_signals_for_widget): Removed implementation because
10708 stub functions have been removed.
10709 (drag_begin_cb): Removed function.
10710 (drag_motion_cb): Likewise.
10711 (drag_data_get_cb): Likewise.
10712 (drag_data_delete_cb): Likewise.
10713 (drag_drop_cb): Likewise.
10714 (drag_end_cb): Likewise.
10715 (drag_data_received_cb): Likewise.
10717 2006-07-28 Mark Wielaard <mark@klomp.org>
10719 * configure.ac: Set version to 0.93-pre.
10721 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10723 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10725 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10727 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10728 (getCallbackHandler): Fully qualify linked class in javadoc.
10729 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10730 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10731 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10733 2006-07-27 Tom Tromey <tromey@redhat.com>
10735 PR classpath/28486:
10736 * java/net/URLStreamHandler.java (equals): Properly handle default
10737 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10739 2006-07-27 Roman Kennke <kennke@aicas.com>
10741 * javax/swing/text/AbstractDocument.java
10742 (documentCV): Made field private.
10743 (bypass): Made field private.
10744 (bidiRoot): New field.
10745 (AbstractDocument): Initialize bidiRoot.
10746 (getBidiRootElement): Return bidiRoot.
10747 (getRootElements): Adjusted to also return the bidiRoot element.
10748 (BranchElement.startOffset): Removed unneeded field.
10749 (BranchElement.endOffset): Removed unneeded field.
10750 (BranchElement.BranchElement): Removed unneeded fields.
10751 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10752 done automatically when there's no element left in the array.
10753 (BranchElement.getStartOffset): Likewise.
10754 (BranchElement.replace): Reordered calculations to avoid double
10756 (removeImpl): Silently ignore requests with length <= 0.
10757 * javax/swing/text/GapContent.java
10758 (createPosition): Removed explicit check for correct offset.
10759 This class can deal with offsets outside the document.
10760 (shiftEnd): Update all positions, even those outside the
10762 (adjustPositionsInRange): Fixed to also adjust positions outside
10763 the document boundary.
10765 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10767 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10769 (getParameter): Returns _klass field instead of determining
10770 class from _instance.
10771 (setCatchLoc): New method.
10772 (writeData): Now assumes Location deals with empty locations instead of
10774 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10775 locations and write out accordingly.
10776 (getEmptyLocation): New method.
10778 2006-07-27 Roman Kennke <kennke@aicas.com>
10780 * javax/swing/text/SimpleAttributeSet.java
10781 (EMPTY): Use EmptyAttributeSet for this field rather than
10782 SimpleAttributeSet.
10783 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10784 an empty and immutable AttributeSet.
10786 2006-07-27 Roman Kennke <kennke@aicas.com>
10788 * java/awt/Component.java
10789 (reshape): Invalidate the component itself only when the
10790 size has changed. Invalidate the parent always. Fixed
10791 repainting. Pulled out the notification into
10793 (notifyReshape): New helper method. Notify interested listeners
10795 (update): Simply call paint() without clearing the background.
10796 This is done in Container.update() if appropriate.
10797 (repaint): Delagate the repaint to the nearest heavyweight
10798 parent (for lightweights) and send an UPDATE event, rather than
10799 calling ComponentPeer.repaint().
10800 * java/awt/Container.java
10801 (backCleared): Removed field.
10802 (paint): Removed handling of backCleared flag.
10803 (update): Only paint if the container is actually
10804 showing. Removed handling of backCleared flag.
10806 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10808 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10810 (NavigateAction): New inner class.
10811 (NavigatePageDownAction): New inner class.
10812 (NavigatePageUpAction): New inner class.
10813 (RequestFocusAction): New inner class.
10814 (RequestFocusForVisibleComponentAction): New inner class.
10815 (FocusHandler.focusGained): Implemented.
10816 (FocusHandler.focusLost): Implemented.
10817 (MouseHandler.mouseReleased): Implemented.
10818 (MouseHandler.mousePressed): Rewritten.
10819 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10820 currentScrollLocation to 0.
10821 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10822 removed local variables, fixed indentation to stay under 80 column
10824 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10825 one, set selectedIndex to 0 if its negative, corrected start values
10826 for normalization, suppressed padding when only one tab run,
10827 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10828 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10829 80 column limit, corrected the starting value for the bounds fixing
10831 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10832 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10833 selectedRun, set start index for loop to 0.
10834 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10835 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10836 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10837 alignment and visibility handling.
10838 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10840 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10841 (currentScrollOffset): New field.
10842 (tabRuns): Rewritten documentation.
10843 (selectedColor): New field.
10844 (tempTextRect): New field.
10845 (tempIconRect): New field.
10846 (scrollTab): New method.
10847 (updateButtons): New method.
10848 (updateViewPosition): New method.
10849 (createLayoutManager): Reordered method calls, predefine new fields,
10850 register proper listeners.
10851 (uninstallComponents): Implemented.
10852 (installDefaults): Corrected property names, fixed indentation,.
10853 (uninstallDefaults): Set new fields to null.
10854 (uninstallListeners): Remove listeners from components neccessary for
10855 scrolling tab layout.
10856 (installKeyboardActions): Implemented.
10857 (uninstallKeyboardActions): Implemented.
10858 (paint): Paint tab area background.
10859 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10861 (getTabLabelShiftX): Rewritten.
10862 (getTabLabelShiftY): Rewritten.
10863 (paintFocusIndicator): Reindented.
10864 (paintTabBorder): Rewritten.
10865 (paintTabBackground): Corrected color usage, rewritten background
10866 rectangle painting.
10867 (paintContentBorderTopEdge): Rewritten.
10868 (paintContentBorderBottomEdge): Rewritten.
10869 (paintContentBorderLeftEdge): Rewritten.
10870 (paintContentBorderRightEdge): Rewritten.
10871 (tabForCoordinate): Return selected index when no tab could be
10872 found, removed FIXME note.
10873 (getRunForTab): Changed return value for first if-statement.
10874 (navigateSelectedTab): Fixed last argument for both
10875 getTabRunOffset() calls.
10876 (selectedNextTabInRun): Added scrolling code.
10877 (selectedPreviousTabInRun): Added scrolling code.
10878 (selectedNextTab): Added scrolling code.
10879 (selectedPreviousTab): Added scrolling code.
10880 (selectAdjacentRunTab): Added scrolling code.
10881 (getTextViewForTab): Added FIXME note.
10882 (calculateTabHeight): Changed FIXME note.
10883 (getTabRunOffset): Fixed indentation.
10884 (getNextTabIndexInRun): Corrected return value.
10885 (rotateInsets): Make TOP case the default in switch-statement.
10886 (getActionMap): New method.
10887 (createActionMap): New method.
10888 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10889 (createLayoutManager): Rewritten.
10890 (paintLeftTabBorder): Do not paint left line when previous tab
10891 is selected but current tab is the first in its run, do not paint
10892 left line when current tab is selected and is first in its run.
10893 (paintRightTabBorder): Added missing setColor() call, fixed color
10894 usage, do not paint right line if previous tab is selected but
10895 current tab is the first in its run.
10896 (paintBottomTabBorder): Do not paint left line if tab is selected
10897 and is the first tab in the last run.
10898 (paintFocusIndicator): New method.
10899 (getLabelShiftX): New method.
10900 (getLabelShiftY): New method.
10902 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10905 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10906 g_assert from unused obj.
10907 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10908 obj as unused and remove g_assert on it.
10910 2006-07-26 Roman Kennke <kennke@aicas.com>
10912 * javax/swing/RepaintManager.java
10913 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10915 (isCompletelyDirty): Consider a component completely dirty
10916 when it has a dirty region with Integer.MAX_VALUE.
10918 2006-07-26 Roman Kennke <kennke@aicas.com>
10920 * java/awt/KeyboardFocusManager.java
10921 (getGlobalFocusOwner): Explicitly check for thread security.
10922 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10923 (getGlobalFocusedWindow): Explicitly check for thread security.
10924 (getGlobalActiveWindow): Explicitly check for thread security.
10925 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10926 (getGlobalObject): Added new argument for specifying if
10927 a security check should be performed or not.
10928 (setGlobalObject): Don't check for thread security when
10929 calling getGlobalObject.
10931 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10933 * javax/management/MBeanConstructorInfo.java:
10935 * javax/management/MBeanInfo.java:
10936 (MBeanInfo(String,String,MBeanAttributeInfo[],
10937 MBeanConstructorInfo[], MBeanOperationInfo[],
10938 MBeanNotificationInfo[])): Implemented.
10939 (equals(Object)): Likewise.
10940 (getAttributes()): Likewise.
10941 (getConstructors()): Likewise.
10942 (getOperations()): Likewise.
10943 (hashCode()): Likewise.
10944 * javax/management/MBeanOperationInfo.java,
10945 * javax/management/NotCompliantMBeanException.java,
10946 * javax/management/StandardMBean.java:
10949 2006-07-26 Sven de Marothy <sven@physto.se>
10951 * java/awt/geom/GeneralPath.java: Fix severe typo.
10953 2006-07-26 Sven de Marothy <sven@physto.se>
10955 * include/java_lang_VMSystem.h
10956 * vm/reference/java/lang/VMSystem.java
10957 * native/jni/java-lang/java_lang_VMSystem.c
10958 (nanoTime, currentTimeMillis): Switch the former to native code and
10959 the latter to java.
10961 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10963 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10964 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10965 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10966 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10967 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10968 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10969 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10970 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10971 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10972 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10973 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10974 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10975 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10976 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10977 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10978 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10979 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10980 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10981 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10982 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10983 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10985 2006-07-26 Roman Kennke <kennke@aicas.com>
10987 * java/awt/KeyboardFocusManager.java
10988 (getFocusOwner): Don't check permanent owner.
10989 (getGlobalFocusOwner): Don't check permanent owner.
10991 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10993 * StrictMath.java (cosh): New method.
10994 (expm1): New method.
10995 (EXPM1_Q1): New field.
10996 (EXPM1_Q2): Likewise.
10997 (EXPM1_Q3): Likewise.
10998 (EXPM1_Q4): Likewise.
10999 (EXPM1_Q6): Likewise.
11001 2006-07-26 Roman Kennke <kennke@aicas.com>
11003 * javax/swing/plaf/basic/BasicButtonListener.java
11004 (mousePressed): Request focus if appropriate.
11005 * javax/swing/text/DefaultCaret.java
11006 (mousePressed): Also handle the focus of the text component
11007 as specified. Don't consume events.
11009 2006-07-26 Roman Kennke <kennke@aicas.com>
11011 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11012 (focusRequest): Removed field.
11013 (postFocusEvent(int,boolean,Component)): Removed.
11014 (postFocusEvent(int,boolean)): Reverted to post event using
11015 the heavyweight component.
11016 (requestFocus): Post focus event using the heavyweight
11018 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11019 (requestFocus): Post focus event using the heavyweight
11021 * java/awt/AWTEvent.java
11022 (isFocusManagerEvent): New field, indicating if this is
11023 an event that is redispatched by the KeyboardFocusManager.
11024 * java/awt/Component.java
11025 (requestFocusImpl): Register component for
11026 heavyweight->lightweight mapping.
11027 (dispatchEventImpl): Retarget focus events before dispatching
11028 to the KeyboardFocusManager. Use new AWTEvent flag instead
11029 of locking hack. Dispatch all events through the
11030 KeyboardFocusManager. Don't request focus on lightweight
11032 * java/awt/DefaultKeyboardFocusManager.java
11033 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11035 (handleFocusGained): Fixed handling of temporary vs permanent
11036 focus changes. Added some checks.
11037 (handleFocusLost): Fixed handling of temporary vs permanent
11038 focus changes. Added some checks.
11039 * java/awt/EventDispatchThread.java
11040 (run): Don't dispatch to KeyboardFocusManager here. This
11041 is done in Component.dispatchEventImpl().
11042 * java/awt/KeyboardFocusManager.java
11043 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11044 (focusRequests): New field.
11045 (retargetFocusEvent): New method. Retargets focus events
11046 that come from heavyweights to the correct lightweight component.
11047 (addLightweightFocusRequest): New method. Stores a mapping
11048 for later retargetting of heavyweight focus events.
11049 * java/awt/Window.java
11050 (addFocusListener): Removed bogus method. If at all, this
11051 should be performed in the KeyboardFocusManager.
11052 (Window): Don't install a focus listener on the Window.
11054 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11056 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11057 (drawLine): Apply shift to line coordinates.
11059 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11061 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11062 (copyimage): Do not call setRenderingHints() when the respective map
11064 (filter): Removed code to clone the ColorModel instance.
11065 * java/awt/image/ColorModel.java:
11066 (cloneColorModel): Removed.
11068 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11070 * javax/swing/JTabbedPane.java:
11071 (setSelectedIndex): Removed updating of component visibility status,
11073 (remove(Component)): Use indexOfComponent() to find whether we have
11074 to use super.remove(int) or removeTabAt().
11076 2006-07-26 Roman Kennke <kennke@aicas.com>
11078 * javax/swing/JOptionPane.java
11079 (createDialog): Add property change handler for closing
11080 the dialog when the value property changes.
11081 (ValuePropertyHandler): New inner helper class.
11082 * javax/swing/plaf/basic/BasicOptionPaneUI.java
11083 (OptionPaneCloseAction): New class.
11084 (messageForeground): Removed field.
11085 (messageBorder): Removed field.
11086 (buttonBorder): Removed field.
11087 (addIcon): Configure the new label.
11088 (addMessageComponents): Configure newly created labels.
11089 (burstStringInto): Likewise.
11090 (createButtonArea): Install border here.
11091 (createMessageArea): Install border and foreground here.
11092 (createSeparator): Added comment and removed
11093 NotImplementedException.
11094 (installComponents): Don't install the UI defaults for the
11095 message and button area here. This is moved to the
11096 corresponding create* methods. Adjusted comment about
11098 (installDefaults): Removed initialization of removed fields.
11099 (installKeyboardActions): Implemented.
11100 (getActionMap): New helper method.
11101 (createDefaultActions): New helper method.
11102 (uninstallDefaults): Removed de-initialization of removed fields.
11103 (uninstallKeyboardActions): Implemented.
11104 (configureLabel): New helper method.
11105 * javax/swing/plaf/basic/BasicTableUI.java
11106 (getActionMap): Fixed the UI property names.
11107 * javax/swing/plaf/basic/BasicToolBarUI.java
11108 (getActionMap): Fixed the UI property names.
11110 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11112 * java/awt/image/BandedSampleModel.java
11113 (getDataElements): Check for negative x or y,
11114 (getPixels): Likewise,
11115 (getSamples): Likewise,
11116 (setSamples): Likewise.
11118 2006-07-26 Roman Kennke <kennke@aicas.com>
11120 * javax/swing/plaf/basic/BasicToolBarUI.java
11121 (ToolBarAction): New inner class for handling keyboard
11123 (installKeyboardActions): Implemented.
11124 (getActionMap): New helper method.
11125 (createDefaultActions): New helper method.
11126 (installListeners): Install focus listener on toolbar's
11127 children, rather than the toolbar itself.
11128 (navigateFocusedComp): Implemented.
11129 (uninstallKeyboardActions): Implemented.
11130 (uninstallListeners): Uninstall focus listener from
11131 toolbar's children, rather than the toolbar itself.
11132 (ToolBarContListener.componentAdded): Install focus
11133 listener on added child.
11134 (ToolBarContListener.componentRemoved): Uninstall focus
11135 listener from removed child.
11136 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11137 (ToolBarFocusListener.focusGained): Implemented.
11138 (ToolBarFocusListener.focusLost): Implemented.
11140 2006-07-26 Roman Kennke <kennke@aicas.com>
11142 * java/awt/DefaultKeyboardFocusManager.java
11143 (dispatchEvent): Notify old focus owner when it has lost
11146 2006-07-26 Roman Kennke <kennke@aicas.com>
11148 * javax/swing/plaf/basic/BasicTableUI.java
11149 (FocusHandler.focusGained): Implemented to refresh the
11151 (FocusHandler.focusLost): Implemented to refresh the
11153 (FocusHandler.repaintLeadCell): New helper method.
11154 (MouseInputHandler.mouseEntered): Do nothing here.
11155 (MouseInputHandler.mouseExited): Do nothing here.
11156 (MouseInputHandler.mouseMoved): Do nothing here.
11157 (installKeyboardActions): Rewritten to use a shared InputMap
11158 and ActionMap and correctly install the maps via SwingUtilities
11160 (getActionMap): New helper method.
11161 (createDefaultActions): New helper method.
11162 (ActionListenerProxy): Removed unneeded class.
11163 (TableAction): Made class static.
11164 (TableAction.actionPerformed): Determine table by fetching
11165 the event source. Pass the table to helper methods.
11166 Use __command__ hack to determine the action command.
11167 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11168 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11169 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11170 (TableAction.getLastVisibleRowIndex): Get table as argument.
11171 (TableAction.advanceMultipleSelection): Get table as argument.
11172 (uninstallDefaults): Do nothing here.
11173 (uninstallKeyboardActions): Uninstall the keyboard actions.
11175 2006-07-26 Roman Kennke <kennke@aicas.com>
11177 * javax/swing/JComponent.java
11178 (processKeyBinding): Store the action command as property
11179 in the Action instance that we call. This allows for
11180 improvement on the side of the Action.
11182 2006-07-26 Roman Kennke <kennke@aicas.com>
11184 * javax/swing/plaf/metal/MetalUtils.java
11185 (fillMetalPattern): Use fillRect() instead of drawLine() to
11186 fill single pixels.
11188 2006-07-26 Roman Kennke <kennke@aicas.com>
11190 * javax/swing/text/GapContent.java
11191 (getChars): Check for negative length and throw
11192 BadLocationException.
11194 2006-07-26 Roman Kennke <kennke@aicas.com>
11196 * javax/swing/plaf/basic/BasicMenuBarUI.java
11197 (FocusAction): Made class static.
11199 2006-07-26 Roman Kennke <kennke@aicas.com>
11201 * javax/swing/plaf/basic/BasicLookAndFeel.java
11202 (initComponentDefaults): Add keyboard bindings for
11205 2006-07-26 Roman Kennke <kennke@aicas.com>
11207 * javax/swing/UIManager.java
11208 (getLookAndFeelDefaults): Return the look and feel defaults.
11209 (setLookAndFeel): Improved exception messsage.
11211 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11213 * javax/swing/text/StringContent.java
11214 (StringContent): Changed initialLength to 10.
11216 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11218 * java/util/Vector.java: Fixed API doc typo.
11220 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11222 * java/awt/image/BandedSampleModel.java
11223 (createCompatibleSampleModel): Fixed typo in loop increment, set
11224 correct scanlineStride, and updated API docs.
11226 2006-07-25 Roman Kennke <kennke@aicas.com>
11228 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11229 (NavigateAction): New inner class. This is responsible for
11230 keyboard navigation through menus.
11231 (KeyboardHelper): New inner class. This manages the
11232 keyboard mappings and focus when a popup opens or closes.
11233 (keyboardHelper): New static field.
11234 (numPopups): New static field.
11235 (installUI): Create KeyboardHelper for first popup.
11236 Call installKeyboardActions().
11237 (installKeyboardActions): Removed NotImplementedException.
11238 This method is a no-op.
11239 (installKeyboardActionsImpl): New method. Installs keyboard
11240 mapping when a popup is opened.
11241 (getActionMap): New helper method.
11242 (createDefaultActions): New helper method.
11243 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11244 uninstalled. Call uninstallKeyboardActions().
11245 (uninstallKeyboardActions): Removed NotImplementedException.
11246 This method is a no-op.
11247 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11248 mapping when a popup is closed.
11250 2006-07-25 Roman Kennke <kennke@aicas.com>
11252 * java/awt/Component.java
11253 (requestFocus()): Reimplemented to use requestFocusImpl().
11254 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11255 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11256 (requestFocusInWindow(boolean)): Reimplemented to use
11257 requestFocusImpl().
11258 (requestFocusImpl): Reimplemented focus request to use
11259 new peer method. Also added some obvious additional checks
11260 for rejecting focus requests early.
11261 * java/awt/ComponentPeer.java
11262 (requestFocus(Component,boolean,boolean,long)): Documented
11264 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11265 (requestFocus): New field.
11266 (gtkWidgetHasFocus): New native method.
11267 (gtkWidgetCanFocus): New native method.
11268 (requestFocus): Replaced with assert false to prevent
11269 usage of obsolete method.
11270 (postFocusEvent(int,boolean,Component)): New overloaded method
11271 for posting the focus event to a specific target.
11272 (postFocusEvent(int,boolean)): Post event to requestFocus
11274 (requestFocus(Component,boolean,boolean,long)): Implemented.
11275 (getWindowFor): New helper method.
11276 (isLightweightDescendant): New helper method.
11277 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11278 (gtkWindowHasFocus): New native method.
11279 (requestFocus(Component,boolean,boolean,long)): New method.
11280 Overrides GtkComponentPeer method to specially handly the
11281 case when a Window receives a focus request for a lightweight
11283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11284 (gtkWidgetHasFocus): New native method.
11285 (gtkWidgetCanFocus): New native method.
11286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11287 (gtkWindowHasFocus): New native method.
11288 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11289 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11292 2006-07-25 Francis Kung <fkung@redhat.com>
11294 * java/awt/DefaultKeyboardFocusManager.java
11295 (dispatchEvent): Add check for valid component.
11297 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11299 * javax/management/MBeanConstructorInfo.java:
11301 * javax/management/MBeanNotificationInfo.java:
11303 * javax/management/MBeanParameterInfo.java:
11306 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11308 * java/awt/peer/gtk/CairoGraphics.java:
11309 (drawLine): Added special case for 1 pixel lines.
11311 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11314 * java/awt/peer/gtk/CairoGraphics.java:
11315 (drawLine): Removed calls to shifted().
11317 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11319 * javax/swing/JTabbedPane.java:
11320 (remove(Component)): Rewritten.
11321 (setSelectedIndex): Implemented updating of component visibility state.
11323 2006-07-25 Sven de Marothy <sven@physto.se>
11325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11326 (init): Default to the actual depth in the worst case.
11328 * java/awt/Font.java
11329 (createFont(int, File)): New method.
11331 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11334 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11336 (RETokenEnd): New constructer to set check_java_line_terminators.
11337 (matchThis): Checck line terminators if check_java_line_terminators.
11338 * gnu/java/util/regex/RETokenStart.java: Likewise.
11339 * gnu/regexp/RE.java(initialize): Use the new constructors for
11340 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11341 * java/util/regex/Pattern.java(Patteren): Changed so that
11342 gnu/regexp/RE.java may use the new the new constructors.
11344 2006-07-25 Roman Kennke <kennke@aicas.com>
11346 * java/awt/Container.java
11347 (focusTraversalPolicyProvider): New field.
11348 (isFocusTraversalPolicyProvider): New method.
11349 (setFocusTraversalPolicyProvider): New method.
11350 * java/awt/ContainerOrderFocusTraversalPolicy.java
11351 (getFirstComponent): Use accept() instead of lengthy checks.
11352 Don't fetch getComponents() to avoid copying of array.
11353 Traverse down the hierarchy to find the first focused component.
11354 * java/awt/DefaultKeyboardFocusManager.java
11355 (dispatchEvent): Let the initial component request focus.
11357 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11359 * javax/swing/text/Segment.java
11360 (last): Update current index before returning DONE for zero count.
11362 2006-07-24 Mark Wielaard <mark@klomp.org>
11364 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11366 2006-07-25 Roman Kennke <kennke@aicas.com>
11368 * javax/swing/plaf/basic/BasicMenuBarUI.java
11369 (FocusAction): New inner class. Used to grab focus.
11370 (installKeyboardActions): Implemented.
11371 (uninstallKeyboardActions): Implemented.
11372 (getActionMap): New helper method.
11373 (createDefaultActions): New helper method.
11375 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11377 * examples/gnu/classpath/examples/swing/Demo.java:
11378 (mkMenuBar): Install instantiable basic look and feel.
11379 (InstantiableBasicLookAndFeel): New inner class.
11381 2006-07-25 Roman Kennke <kennke@aicas.com>
11383 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11384 (GlassPaneDispatcher.dragTarget): New field.
11385 (GlassPaneDispatcher.isDragging): New field.
11386 (GlassPaneDispatcher.pressedComponent): Removed field.
11387 (GlassPaneDispatcher.tempComponent): Removed field.
11388 (GlassPaneDispatcher.pressCount): Removed field.
11389 (GlassPaneDispatcher.mousePressed): Call
11390 borderListener.mousePressed() to activate the frame.
11391 (acquireComponentForMouseEvent): Removed method.
11392 (handleEvent): Rewritten.
11393 (redispatch): New method.
11394 (InternalFramePropertyChangeListener.propertyChange):
11395 Make glasspane invisible when frame is selected, and visible
11396 if it gets deselected.
11398 2006-07-25 Roman Kennke <kennke@aicas.com>
11400 * java/awt/LightweightDispatcher.java
11401 (handleMouseEvent): Dispatch event to real target if
11402 the dragTarget has become invisible in the meantime.
11404 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11406 * javax/swing/text/TabSet.java
11407 (equals): New method override for 1.5,
11408 (hashCode): Likewise,
11409 (toString): Added spaces to match reference implementation.
11411 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11413 * javax/management/IntrospectionException.java,
11414 * javax/management/MBeanAttributeInfo.java:
11416 * javax/management/MBeanNotificationInfo.java:
11417 Documentation cleanups.
11419 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11421 * javax/swing/text/TabSet.java
11422 (TabSet): Check for null argument,
11423 (getTab): Throw IllegalArgumentException for index out of bounds,
11424 (getTabIndexAfter): Changed test to '<=',
11425 and updated API docs all over,
11426 * javax/swing/text/TabStop.java: Updated API docs.
11428 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11430 * javax/swing/text/TabStop.java
11431 (toString): Don't use 'left ' prefix, and added space between tab
11432 location and '(w/leader)' suffix.
11434 2006-07-24 Francis Kung <fkung@redhat.com>
11436 * javax/swing/JComboBox.java
11437 (DefaultKeySelectionManager): Implemented.
11438 (createDefaultKeySelectionManager): Implemented.
11439 (getKeySelectionManager): Implemented.
11440 (processKeyEvent): Removed duplicate code.
11441 * javax/swing/JPopupMenu.java
11442 (selectionModel): Changed visibility.
11443 * javax/swing/plaf/basic/BasicComboBoxUI.java
11444 (KeyHandler.keyPressed): Added navigation keys.
11445 (configureEditor): Add key listener.
11446 (installListeners): Install focus listener to combo box.
11447 (isNavigationKey): Added enter, escape, and tab.
11448 (selectPreviousPossibleValue): Added out of bounds check.
11449 (unconfigureEditor): Remove key listener.
11450 * javax/swing/plaf/metal/MetalComboBoxButton.java
11451 (paintComponent): Highlight combo box when in focus.
11453 2006-07-24 Roman Kennke <kennke@aicas.com>
11455 * javax/swing/SwingUtilities.java
11456 (isLeftMouseButton): Fixed condition.
11457 * java/awt/LightweightDispatcher.java
11458 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11461 2006-07-24 Roman Kennke <kennke@aicas.com>
11463 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11464 (setPaint): Fixed scaleX and scaleY.
11466 2006-07-24 Roman Kennke <kennke@aicas.com>
11468 * javax/swing/JTable.java
11469 (handleInsert): Repaint the whole table for variable row
11470 height tables and an optimized region otherwise.
11471 (handleDelete): Likewise.
11472 (handleUpdate): Likewise.
11474 2006-07-24 Mario Torre <neugens@limasoftware.net>
11476 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11477 now explicity registerListeners on GtkMouseDragGestureRecognizer
11479 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11480 (unregisterListeners): new method, overrided from base class
11481 to rise visibility (from protected to public).
11482 (registerListeners): Likewise.
11483 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11484 removed call to registerListeners from the constructor.
11486 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11488 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11489 * java/lang/management/MemoryPoolMXBean.java:
11490 (getType()): Changed return type to MemoryType.
11491 * java/lang/management/MemoryType.java:
11494 2006-07-23 Mark Wielaard <mark@klomp.org>
11496 * configure.ac: Check for moc and moc-qt4.
11498 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11500 * java/awt/image/Kernel.java: API doc updates.
11502 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11504 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11507 2006-07-22 Mark Wielaard <mark@klomp.org>
11509 * java/lang/Iterable.java: Import all of java.util.
11510 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11511 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11513 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11515 * doc/vmintegration.texinfo:
11516 Document getType(String).
11517 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11518 * java/lang/management/MemoryPoolMXBean.java:
11519 (getType()): Implemented.
11520 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11521 (getType(String)): Implemented.
11523 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11525 * doc/vmintegration.texinfo:
11526 Move end of itemization block.
11528 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11530 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11531 (initComponentDefaults): Added new properties, added comments.
11533 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11535 * doc/vmintegration.texinfo:
11536 Mention callback methods.
11537 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11538 (fireNotification(String,String,long,long,long,long,long)):
11539 Made package-private.
11540 (fireThresholdExceededNotification(String,long,long,long,
11541 long,long)): Likewise.
11542 (fireCollectionThresholdExceededNotification(String,long,
11543 long,long,long,long)): Likewise.
11544 * java/lang/management/MemoryMXBean.java:
11545 Document notifications.
11547 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11549 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11550 (fireNotification(String,String,long,long,long,long,long)):
11552 (fireThresholdExceededNotification(String,long,long,long,
11553 long,long)): Likewise.
11554 (fireCollectionThresholdExceededNotification(String,long,
11555 long,long,long,long)): Likewise.
11556 * java/lang/management/MemoryNotificationInfo.java:
11557 Use composite type from MemoryMXBeanImpl.
11558 * javax/management/openmbean/CompositeData.java:
11559 Correct documentation.
11560 * javax/management/openmbean/CompositeDataSupport.java,
11561 * javax/management/openmbean/InvalidKeyException.java:
11564 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11566 * gnu/java/security/util/IntegerUtil.java: New file.
11568 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11571 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11572 (KEY_SIZE): Likewise.
11573 (adjustParity(int,byte[],int): New method.
11574 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11575 (isParityAdjusted(int,byte[],int)): New method.
11576 (isParityAdjusted): Call above method with 3 as 1st argument.
11577 (keySizes): Add 8 and 16 as other valid key sizes.
11578 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11580 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11582 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11583 code for the pixel swap routine to be more efficient.
11585 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11587 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11588 (lastIndexOf(E, int)): Likewise.
11589 (add(E)): Increase the size of newData array by one.
11590 (add(int, E)): Likewise.
11592 2006-07-20 Lillian Angel <langel@redhat.com>
11594 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11595 Removed unused fields.
11596 (GtkMouseDragGestureRecognizer): Removed initializations.
11598 2006-07-20 Lillian Angel <langel@redhat.com>
11600 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11601 (GtkMouseDragGestureRecognizer): New constructor.
11602 (GtkMouseDragGestureRecognizer): New constructor.
11603 (GtkMouseDragGestureRecognizer): New constructor.
11604 (mouseClicked): Removed FIXME.
11605 (mousePressed): Implemented.
11606 (mouseReleased): Implemented.
11607 (mouseEntered): Implemented.
11608 (mouseDragged): Implemented to check mouse point and trigger origin.
11609 (mouseMoved): Removed FIXME.
11610 (getDropActionFromEvent): New helper function used to convert mouse event
11611 modifiers to a drop action.
11612 * java/awt/dnd/DragSource.java
11613 (getDragThreshold): Changed to return some arbitrary value for testing
11616 2006-07-20 Roman Kennke <kennke@aicas.com>
11618 * java/awt/LightweightDispatcher.java
11619 (findTarget): Also consider components that have their eventMask
11620 set, for compatibility with stonage AWT. Optimized check
11622 (handleMouseEvent): Likewise.
11624 2006-07-20 Roman Kennke <kennke@aicas.com>
11626 * javax/swing/JTable.java
11627 (tableChanged): Split out handling of the event into multiple
11629 (handleCompleteChange): New method. Clear the selection and
11630 check the lead/anchor indices.
11631 (handleInsert): New method. Check the lead/anchor indices.
11632 Optimized repainting.
11633 (handleDelete): New method. Check the lead/anchor indices.
11634 Optimized repainting.
11635 (handleUpdate): New method. Optimized repainting.
11636 (checkSelection): New helper method.
11637 (setSelectionModel): Update lead/anchor indices.
11639 2006-07-20 Lillian Angel <langel@redhat.com>
11642 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11643 (dispose): Reset all fields.
11645 2006-07-20 Roman Kennke <kennke@aicas.com>
11647 * gnu/java/awt/peer/x/XToolkit.java
11648 (createImage(InputStream)): Only copy image to Pixmap if
11649 it's actually opaque. Transparent images are left as
11650 BufferedImage and composited later onto the screen.
11651 * gnu/java/awt/peer/x/XGraphics.java
11652 (XGraphics): Fetch some parameters for image rendering.
11653 (drawImage): Added special handling of transparent images.
11654 (getRGB): New helper method.
11655 (setRGB): New helper method.
11657 2006-07-20 Roman Kennke <kennke@aicas.com>
11659 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11660 ImageInputStreams as normal InputStreams.
11661 * gnu/javax/imageio/gif/GIFStream.java:
11662 Moved to gnu/javax/imageio/IIOInputStream.java.
11663 * gnu/javax/imageio/gif/GIFImageReader.java
11664 (readImage): Use IIOInputStream.
11665 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11666 (canDecodeInput): Use IIOInputStream.
11667 * gnu/javax/imageio/png/PNGException.java: Make subclass
11669 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11670 Implements the ImageIO ImageReader for PNG.
11671 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11672 Implements the ImageIO ImageReaderSpi for PNG.
11673 * javax/imageio/spi/IIORegistry.java:
11674 (IIORegistry): Add PNGImageReaderSpi.
11676 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11678 * java/awt/image/ComponentSampleModel.java
11679 (getPixel): Added argument check,
11680 (getSample): Modified exception message.
11682 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11685 * java/awt/image/ConvolveOp.java
11686 (filter(Raster, WritableRaster)): Reimplemented,
11687 (fillEdge): New private method.
11689 2006-07-19 Keith Seitz <keiths@redhat.com>
11691 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11692 (JVMTI_VERSION): Define.
11694 2006-07-19 Roman Kennke <kennke@aicas.com>
11696 * resource/gnu/regexp/MessagesBundle.properties,
11697 * resource/gnu/regexp/MessagesBundle_fr.properties,
11698 * resource/gnu/regexp/MessagesBundle_it.properties:
11699 Moved to resource/gnu/java/util/regex.
11700 * resource/gnu/java/util/regex/MessagesBundle.properties,
11701 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11702 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11704 * gnu/java/util/regex/RE.java
11705 Use new resource bundle location.
11707 2006-07-19 Roman Kennke <kennke@aicas.com>
11709 * javax/swing/JComponent.java
11710 (paintChildren): Refactored. The paintChildrenOptimized method
11711 has been moved back in here. Added locking of the tree and
11712 only check for completely obscured child components
11713 when not optimized drawing enabled. Use Graphics.create() to
11714 protect from irreversible changes.
11715 (isCompletelyObscured): New helper method.
11716 (paintComponent): Also use Graphics.create() for Graphics2D,
11717 to protect from irreverible changes.
11718 (clipAndTranslateGraphics): Refactored to use more efficient
11719 iterative (vs recursive) approach.
11720 * javax/swing/RepaintManager.java
11721 (getOffscreenBuffer): Create image from root component.
11723 2006-07-19 Roman Kennke <kennke@aicas.com>
11725 * gnu/java/awt/peer/x/XGraphics.java
11726 (translate): Don't set the clip on the X server.
11727 (clipRect): Use setXClip() to set the clip on the X server.
11728 (hitClip): More efficient and correct implementation.
11729 (setClip): Use setXClip() to set the clip on the X server.
11730 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11731 (copyArea): Translate and clip the source rectangle correctly.
11732 (dispose): Only flush when object is not yet disposed.
11733 (clone): Use setXClip() to set the clip on the X server.
11735 2006-07-19 Sven de Marothy <sven@physto.se>
11737 * gnu/javax/imageio/png/PNGChunk.java,
11738 * gnu/javax/imageio/png/PNGData.java,
11739 * gnu/javax/imageio/png/PNGDecoder.java,
11740 * gnu/javax/imageio/png/PNGEncoder.java,
11741 * gnu/javax/imageio/png/PNGException.java,
11742 * gnu/javax/imageio/png/PNGFile.java,
11743 * gnu/javax/imageio/png/PNGFilter.java,
11744 * gnu/javax/imageio/png/PNGGamma.java,
11745 * gnu/javax/imageio/png/PNGHeader.java,
11746 * gnu/javax/imageio/png/PNGICCProfile.java,
11747 * gnu/javax/imageio/png/PNGPalette.java,
11748 * gnu/javax/imageio/png/PNGPhys.java,
11749 * gnu/javax/imageio/png/PNGTime.java:
11752 2006-07-19 Sven de Marothy <sven@physto.se>
11754 * java/net/Inet6Address.java:
11755 (getScopedId, getScopedInterface): New methods.
11757 2006-07-19 Lillian Angel <langel@redhat.com>
11759 * examples/gnu/classpath/examples/awt/Demo.java
11760 (DragDropWindow): Fixed typo in Label text.
11761 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11762 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11763 (startDrag): Initialized context field.
11764 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11766 (dragEnter): New function.
11767 (dragExit): Likewise.
11768 (dragDropEnd): Likewise.
11769 (dragMouseMoved): Likewise.
11770 (dragOver): Likewise.
11771 (dragActionChanged): Likewise.
11773 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11776 * resource/java/security/classpath.security: Updated copyright year.
11777 (auth.login.defaultCallbackHandler): New property; set to our default
11778 callback handler. This is needed by the LoginContext when no callback
11779 handler was specified.
11780 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11781 (LoginContext(4)): Assign passed parameters to local fields before invoking
11784 2006-07-19 Roman Kennke <kennke@aicas.com>
11786 * gnu/java/awt/peer/x/XGraphics.java
11787 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11788 Fixed ordering of parameters.
11790 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11792 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11793 (MemoryMXBeanImpl()): Implemented.
11794 (ListenerData): New private class.
11795 (addNotificationListener(NotificationListener,
11796 NotificationFilter, Object)): Implemented.
11797 (getNotificationInfo()): Likewise.
11798 (removeNotificationListener(NotificationListener)):
11800 (removeNotificationListener(NotificationListener,
11801 NotificationFilter, Object)): Likewise.
11803 2006-07-18 Roman Kennke <kennke@aicas.com>
11805 * gnu/java/awt/peer/x/XFontPeer.java
11806 (encodeFont): Be more flexible with font sizes.
11807 (validSize): New helper method.
11808 * gnu/java/awt/peer/x/XGraphics.java
11809 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11811 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11813 * gnu/java/awt/peer/x/XImage.java
11814 (properties): New field.
11815 (getProperty): Implemented.
11816 * resource/gnu/java/awt/peer/x/fonts.properties:
11817 Added copyright header. Fixed font size field.
11819 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11821 * java/awt/image/BandedSampleModel.java
11822 (createDataBuffer): New method override,
11823 * java/awt/image/ByteLookupTable.java
11824 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11825 (ByteLookuptable(int, byte[])): Check for null array,
11826 * java/awt/image/ComponentSampleModel.java
11827 (createDataBuffer): Removed unnecessary braces,
11828 (getSample): Check (x, y) is within bounds,
11829 * java/awt/image/ShortLookupTable.java
11830 (ShortLookupTable(int, short[][])): Create new array to hold references,
11831 (ShortLookupTable(int, short[])): Check for null array,
11832 (getTable): Added API docs,
11833 (lookupPixel): Source reformatting.
11835 2006-07-18 Tania Bento <tbento@redhat.com>
11837 * java/awt/GridLayout.java
11838 (setHgap): Illegal Argument Exception should not be thrown if
11840 (setVgap): Illegal Argument Exception should not be thrown if
11842 (toString): Opening square braket ([) should appear before hgap
11843 value, not the name of the class.
11845 2006-07-18 Roman Kennke <kennke@aicas.com>
11847 * lib/copy-vmresources.sh.in: Reverted.
11848 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11849 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11851 2006-07-18 Roman Kennke <kennke@aicas.com>
11853 * lib/copy-vmresources.sh.in: Include properties from X peers.
11855 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11858 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11859 certificate validity.
11860 (getIssuerName): New method.
11861 (getSubjectName): Likewise.
11862 (getNotAfterDate): Likewise.
11863 (getNotBeforeDate): Likewise.
11864 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11865 messages for newly added messages in SFHelper.
11867 2006-07-18 Roman Kennke <kennke@aicas.com>
11869 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11870 * gnu/java/awt/peer/x/XEventPump.java
11871 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11872 * gnu/java/awt/peer/x/XFramePeer.java
11873 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11874 * gnu/java/awt/peer/x/XGraphics.java
11875 Made subclass of Graphics rather than Graphics2D. Removed
11876 all Graphics2D specific method stubs.
11877 (setColor): Map colors using the X color map that is
11878 stored in XToolkit.
11879 * gnu/java/awt/peer/x/XToolkit.java
11880 (colorMap): New field.
11881 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11883 (createDialog): Implemented.
11884 (createImage(ImageProducer)): Implemented.
11885 (createImage(InputStream)): Use createImage(ImageProducer)
11886 to convert the BufferedImage to an XImage.
11887 * gnu/java/awt/peer/x/XWindowPeer.java
11888 (XWindowPeer): Removed debug output.
11890 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11892 * java/awt/image/BufferedImageOp.java: API docs added,
11893 * java/awt/image/RasterOp.java: Likewise.
11895 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11897 * java/awt/Graphics2D.java: API docs updated.
11899 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11901 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11904 2006-07-18 Sven de Marothy <sven@physto.se>
11906 * java/net/Inet6Address.java:
11907 Add 1.5 serialized fields.
11908 (getByAddress): New methods.
11909 (readObject, writeObject): New methods.
11910 (equals): Reimplement.
11912 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11914 * java/awt/image/Raster.java: Added API docs and reformatted source
11917 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11919 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11921 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11922 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11923 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11924 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11925 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11926 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11927 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11928 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11929 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11930 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11931 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11932 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11933 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11934 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11935 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11936 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11937 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11938 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11939 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11940 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11941 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11943 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11945 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11946 to make it compile again under jikes. Note added.
11948 2006-07-17 Lillian Angel <langel@redhat.com>
11950 * examples/gnu/classpath/examples/awt/Demo.java
11951 (Demo): Added new window for DnD demo.
11952 (DragDropWindow): New class.
11953 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11954 Added new fields and declarations for native functions.
11955 (GtkDragSourceContextPeer): Implemented.
11956 (getComponentPeer): New function.
11957 (startDrag): Partially implemented.
11958 (getCursor): Implemented.
11959 (setCursor): Implemented.
11960 * include/GtkDragSourceContextPeer.h: New file.
11961 * include/Makefile.am: Added new header file.
11962 * java/awt/Component.java
11963 (addNotify): Added call to the dropTarget's addNotify.
11964 * java/awt/dnd/DragSource.java
11965 (startDrag): Fixed code to use shared instances of peer and
11967 (getDragThreshold): Added stub.
11968 * java/awt/dnd/DropTarget.java
11969 (DropTarget): Implemented fully.
11970 (addNotify): Added code to get the peer of the parent that is
11972 * java/awt/dnd/DropTargetDragEvent.java
11973 (getTransferable): Added stub.
11974 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11975 * native/jni/gtk-peer/Makefile.am: Added new c file.
11976 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11977 Changed to extend GtkGenericPeer.
11978 (GtkDropTargetContextPeer): New constructor.
11979 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11980 Changed to extend GtkGenericPeer.
11981 (GtkDropTargetContextPeer): New constructor.
11983 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11985 * java/awt/image/SinglePixelPackedSampleModel.java
11986 (createSubsetSampleModel): Added argument check and API docs.
11988 2006-07-17 Roman Kennke <kennke@aicas.com>
11990 * gnu/java/awt/peer/x/XGraphics.java
11991 (copyArea): Implemented.
11993 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11995 * java/awt/image/SinglePixelPackedSampleModel.java
11996 (getSampleSize): Return copy of array,
11997 (getOffset): Added API docs,
11998 (getScanlineStride): Likewise,
11999 (hashCode): Implemented.
12001 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12003 * java/awt/image/MultiPixelPackedSampleModel.java
12004 (getOffset): Updated API docs and source reformatting,
12005 (getBitOffset): Source reformatting only,
12006 (getDataElements): Likewise,
12007 (getPixel): Likewise,
12008 (getPixels): Removed method override,
12009 (setDataElements): Reimplemented.
12011 2006-07-17 Gary Benson <gbenson@redhat.com>
12013 * resource/META-INF/services/.cvsignore: New file.
12014 * lib/.cvsignore: Updated.
12016 2006-07-17 Roman Kennke <kennke@aicas.com>
12018 * javax/swing/plaf/basic/BasicButtonListener.java
12019 (propertyChange): Only do the text layout caching as long
12020 as the noGraphics2D property isn't set.
12021 * javax/swing/plaf/basic/BasicMenuItemUI.java
12022 (PropertyChangeHandler.propertyChange): Only do the text layout
12023 caching as long as the noGraphics2D property isn't set.
12025 2006-07-17 Roman Kennke <kennke@aicas.com>
12027 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12028 (XGraphicsEnvironment): Make constructor public so that it
12029 can be called via Class.forName().newInstance().
12030 * gnu/java/awt/peer/x/XImage.java
12031 (XImage): Fetch GraphicsEnvironment via
12032 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12033 than the XToolkit method, to avoid double instantiation
12034 of the XGraphicsEnvironment.
12035 * gnu/java/awt/peer/x/XToolkit.java
12036 (env): Removed field.
12037 (getLocalGraphicsEnvironment): Removed impl. This method
12038 should not be called since we set the graphicsenv property
12039 in the constructor.
12041 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12043 * java/util/UUID.java:
12044 (compareTo(Object)): Call compareTo(UUID).
12045 (compareTo(UUID)): Implemented.
12047 2006-07-16 Tom Tromey <tromey@redhat.com>
12049 * java/lang/StrictMath.java (cbrt): Added '@since'.
12051 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
12053 * java/lang/StrictMath.java (cbrt): New method.
12054 (getLowDWord): New helper method.
12055 (getHighDWord): Likewise.
12056 (buildDouble): Likewise.
12057 (CBRT_B1): New field.
12058 (CBRT_B2): Likewise.
12059 (CBRT_C): Likewise.
12060 (CBRT_D): Likewise.
12061 (CBRT_E): Likewise.
12062 (CBRT_F): Likewise.
12063 (CBRT_G): Likewise.
12065 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12067 * javax/management/MBeanInfo.java:
12068 (getNotifications()): Implemented.
12069 * javax/management/NotificationBroadcaster.java:
12070 (removeNotificationListener(NotificationListener)):
12071 Renamed from removeListener.
12072 * javax/management/NotificationEmitter.java:
12073 (removeNotificationListener(NotificationListener,
12074 NotificationFilter, Object)): Likewise.
12075 * javax/management/NotificationFilter.java:
12076 Implement Serializable.
12077 * javax/management/NotificationListener.java:
12078 Implement java.util.EventListener.
12079 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12080 Implement Serializable.
12082 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12084 * java/lang/management/MemoryNotificationInfo.java:
12087 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12090 * gnu/javax/swing/text/html/parser/htmlValidator.java
12091 (tagIsValidForContext): If it is not possible to insert any tag, but
12092 is possible to insert a P, insert a P.
12093 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12094 (newInstance): Removed print statement. (getBodyElements):
12095 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12096 valid body level tags (will be enclosed into P's).
12098 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
12100 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12101 Condition the creation of .keystore (a default keystore) based on the
12102 createIfNotFound argument as well.
12104 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12107 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12108 Removed heading p tag from the parsing example.
12109 * gnu/javax/swing/text/html/parser/HTML_401F.java:
12110 (createHtmlContentModel): Explained.
12111 (defineElements): Call getBodyElements to get the body
12112 elements. (getBodyElements): New method. (model):
12113 Made protected from private.
12114 * gnu/javax/swing/text/html/parser/htmlValidator.java
12115 (openTag): Mind that current content model may be null.
12116 (tagIsValidForContext): If the tag is PCDATA, and it is not
12117 valid for context, but the paragraph (P) is valid for context,
12118 suggest to insert the P tag here.
12119 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12120 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12121 implied P tags here.
12122 * javax/swing/text/html/HTMLEditorKit.java (getParser):
12123 Get the custom parser, using HTML_401Swing.java DTD.
12124 * javax/swing/text/html/parser/ParserDelegator.java:
12125 Removed the obsolete note that HTMLEditorKit does not exist.
12126 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12127 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12129 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12131 * javax/management/ListenerNotFoundException.java:
12133 * javax/management/MBeanFeatureInfo.java:
12134 (hashCode()): Use summation instead of multiplication
12135 for consistency with other classes.
12136 * javax/management/MBeanNotificationInfo.java,
12137 * javax/management/Notification.java,
12138 * javax/management/NotificationBroadcaster.java,
12139 * javax/management/NotificationEmitter.java,
12140 * javax/management/NotificationFilter.java,
12141 * javax/management/NotificationListener.java:
12143 * javax/management/OperationsException.java:
12144 (serialVersionUID): Added.
12146 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
12147 Mark Wielaard <mark@klomp.org>
12149 * java/io/PrintStream.java: Added four constructors, for File and
12150 String describing a filename with or without explicit encoding.
12152 2006-07-16 Sven de Marothy <sven@physto.se>
12154 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12155 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12158 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12161 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12163 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12164 (setProviderClassNameParam): Made private.
12165 (setKeystoreTypeParam): Likewise.
12166 (setKeyPasswordParam): Likewise
12167 (setKeystorePasswordParam): Likewise.
12168 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12169 create or not the keystore if it's not there, and the second is the store's
12170 password to process before loading the keystore. Amended the code
12172 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12173 setKeyStoreParams(5) with true as its first argument.
12174 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12175 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12177 2006-07-16 Sven de Marothy <sven@physto.se>
12179 * java/util/UUID.java: New file.
12181 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12183 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12184 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12185 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12186 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12187 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12188 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12189 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12190 added Key Wrapping Algorithm SPIs.
12192 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12194 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12195 wrapping/unwrapping to invoke their engineGetOutputSize.
12197 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12199 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12200 (engineInit): If a SecureRandom was specified then use it.
12201 (nextRandomBytes): New method.
12202 (engineWrap): Use above method.
12203 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12204 (getDefaultPRNG): New method.
12205 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12206 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12209 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12211 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12212 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12214 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12216 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12217 offset into consideration.
12219 2006-07-16 Mario Torre <neugens@limasoftware.net>
12221 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12222 Fixed comment. This functions now requires to be called
12223 with gdk lock held, the comment states that.
12224 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12225 Introduces gdk locks around critical regions of code.
12226 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12228 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12230 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12232 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12234 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12236 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12238 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12240 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12242 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12244 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12245 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12247 2006-07-15 Sven de Marothy <sven@physto.se>
12249 * javax/swing/JFileChooser.java
12250 Change default selection mode to FILES_ONLY.
12251 * javax/swing/plaf/basic/BasicDirectoryModel.java
12252 Document, fix selection mode filtering.
12253 (renameFile): Implement
12254 * javax/swing/plaf/basic/BasicFileChooserUI.java
12255 (selectedDir): New field to handle selected directories,
12256 disallow selecting of directories in FILES_ONLY mode.
12257 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12258 (EditingActionListener.actionPerformed):
12259 Stop editing on all actions (e.g. return-key press)
12261 2006-07-15 Mark Wielaard <mark@klomp.org>
12263 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12265 (JNI Implementation): Mark JVMTI Implementation as next.
12266 (JVMTI Implementation): Mark JNI Implementation as prev.
12268 2006-07-15 Mark Wielaard <mark@klomp.org>
12270 * include/Makefile.am: Remove
12271 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12272 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12273 * native/jni/gtk-peer/Makefile.am: Remove
12274 gnu_java_awt_peer_gtk_GdkTextLayout.c
12275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12278 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12280 2006-07-15 Mark Wielaard <mark@klomp.org>
12282 * autogen.sh: Recognize autoconf 2.60.
12284 2006-07-15 Keith Seitz <keiths@redhat.com>
12286 * NEWS: Update for JVMTI and jvmti.h.
12287 * doc/vmintegration.texinfo: Likewise.
12288 * include/jvmti.h: New file.
12290 2006-07-15 Mark Wielaard <mark@klomp.org>
12292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12293 Removed C++ style comment.
12295 2006-07-15 Sven de Marothy <sven@physto.se>
12297 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12298 * java/awt/MouseInfo.java,
12299 * java/awt/PointerInfo.java,
12300 * java/awt/peer/MouseInfoPeer.java:
12303 * java/awt/Image.java
12304 (accelerationPriority): New field.
12305 (setAccelerationPriority, getAccelerationPriority): New methods..
12307 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12308 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12309 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12310 (getMouseCoordinates): New method.
12312 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12313 (updateAlwaysOnTop): Remove stub overload.
12315 * gnu/java/awt/ClasspathToolkit.java,
12316 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12317 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12318 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12319 (getMouseInfoPeer): New method.
12320 (getMouseNumberOfButtons): New method.
12322 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12323 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12325 (gtkWindowSetAlwaysOnTop): New method.
12326 (updateAlwaysOnTop): Implement.
12328 * java/awt/Toolkit.java,
12329 (getMouseInfoPeer): New method.
12331 * java/awt/Window.java
12332 (alwaysOnTop): New field.
12333 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12335 * java/awt/peer/WindowPeer.java: Doc fix.
12337 2006-07-14 Sven de Marothy <sven@physto.se>
12339 * java/awt/font/TextLayout.java:
12340 (hitTestChar): Stub method.
12341 * java/awt/font/TextMeasurer.java:
12342 (getLayout): Throw exception on invalid argument.
12344 2006-07-14 Sven de Marothy <sven@physto.se>
12346 * java/awt/image/DataBuffer.java
12347 (DataBuffer): Call constructors in the correct order,
12349 2006-07-14 Mark Wielaard <mark@klomp.org>
12351 Revert to previous implementation.
12352 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12353 constraints insets.
12355 2006-07-14 Roman Kennke <kennke@aicas.com>
12357 * gnu/java/awt/peer/x/XToolkit.java
12358 (XToolkit): Install properties to SystemProperties
12359 rather than System, to avoid SecurityManager.
12360 (getImage(String)): Return error image when string is invalid.
12361 (createImage(URL)): Moved image loading to helper method.
12362 (createImage(ImageProducer)): Implemented.
12363 (createImage(byte[],int,int)): Implemented.
12364 (createImage(InputStream)): New helper method.
12366 2006-07-14 Tania Bento <tbento@redhat.com>
12368 * java/awt/FlowLayout.java
12369 (setHgap): No Excpetion should be thrown if hgap has
12371 (setVgap): No Exception should be thrown if vgap has
12374 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12376 * java/awt/image/MultiPixelPackedSampleModel.java:
12377 Added API docs all over.
12379 2006-07-14 Matt Wringe <mwringe@redhat.com>
12381 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12382 (engineInit): Throw InvalidAlgorithmParameterException
12383 for invalid IVParameterSpec IV length.
12385 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12387 * java/awt/image/MultiPixelPackedSampleModel.java
12388 (createDataBuffer): Include dataBitOffset in calculating the size for
12391 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12393 * java/awt/image/MultiPixelPackedSampleModel.java
12394 (getSampleSize()): Return a copy of the array,
12395 (getTransferType()): New method override.
12397 2006-07-14 Roman Kennke <kennke@aicas.com>
12399 * java/awt/CardLayout.java
12400 (show): Validate parent to make sure that the layout is
12403 2006-07-14 Roman Kennke <kennke@aicas.com>
12405 * java/awt/Component.java
12406 (enable): Added tree locking.
12407 (disable): Added tree locking.
12408 (show): Added tree locking.
12409 (hide): Added tree locking.
12410 (getLocationOnScreen): Added tree locking.
12411 (reshape): Added tree locking.
12412 (addHierarchyListener): Added tree locking.
12413 (removeHierarchyListener): Added tree locking.
12414 (addHierarchyBoundsListener): Added tree locking.
12415 (removeHierarchyBoundsListener): Added tree locking.
12416 (addNotify): Added tree locking.
12417 (removeNotify): Added tree locking.
12418 * java/awt/Container.java
12419 (invalidateTree): Added tree locking.
12420 (getAlignmentX): Added tree locking.
12421 (getAlignmentY): Added tree locking.
12422 (addNotify): Added tree locking.
12423 (setComponentZOrder): Added tree locking.
12424 (getComponentZOrder): Added tree locking.
12426 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12428 * java/awt/image/MultiPixelPackedSampleModel.java
12429 (createSubsetSampleModel): Restored argument check, but let null
12432 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12434 * java/awt/image/MultiPixelPackedSampleModel.java
12435 (createSubsetSampleModel): Removed argument check.
12437 2006-07-14 Roman Kennke <kennke@aicas.com>
12439 * java/awt/Component.java
12440 (numHierarchyListeners): New field.
12441 (numHierarchyBoundsListeners): New field.
12442 (show): Fire hierarchy events here. Only fire component event
12443 if there is actually a listener for it.
12444 (hide): Fire hierarchy events here. Only fire component event
12445 if there is actually a listener for it.
12446 (reshape): Fire hierarchy events here. Only fire component event
12447 if there is actually a listener for it.
12448 (addHierarchyListeners): Update listener counters.
12449 (removeHierarchyListeners): Update listener counters.
12450 (addHierarchyBoundsListeners): Update listener counters.
12451 (removeHierarchyBoundsListeners): Update listener counters.
12452 (fireHierarchyEvent): New helper method for firing hierarchy
12454 * java/awt/Container.java
12455 (addImpl): Update listener counters. Fire hierarchy event.
12456 (remove): Update listener counters. Fire hierarchy event.
12457 (fireHierarchyEvent): New helper method for firing hierarchy
12459 (updateHierarchyListenerCount): New helper method for
12460 updating the listener counters.
12462 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12464 * java/awt/image/MultiPixelPackedSampleModel.java
12465 (equals): New method override,
12466 (hashCode): Likewise.
12468 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12470 * java/awt/image/MultiPixelPackedSampleModel.java
12471 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12472 Corrected scanlineStride calculation.
12474 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12476 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12477 (AES_KWA): Likewise.
12478 (AES128_KWA): Likewise.
12479 (AES192_KWA): Likewise.
12480 (AES256_KWA): Likewise.
12481 (RIJNDAEL_KWA): Likewise.
12482 (TRIPLEDES_KWA): Likewise.
12483 (DESEDE_KWA): Likewise.
12484 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12485 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12486 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12487 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12488 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12489 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12491 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12493 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12494 (PADDING_BLOCK_SIZE): New constant.
12495 (init(Map attributes)): New method.
12496 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12498 2006-07-14 Mario Torre <neugens@limasoftware.net>
12500 * gnu/java/security/OID.java (OID): Private Constructor removed as
12501 it is not needed anymore.
12502 (clone): Fixed. Now uses super.clone instead of the private
12503 constructor as per specification of clone method.
12504 (serialVersionUID): added new field to allow serialization.
12506 2006-07-13 Sven de Marothy <sven@physto.se>
12508 * gnu/javax/imageio/gif/GIFImageReader.java
12509 (read): Remove old debugging trace.
12511 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12514 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12517 2006-07-13 Roman Kennke <kennke@aicas.com>
12519 * java/awt/Component.java
12520 (DEFAULT_MAX_SIZE): New static constant.
12521 (preferredSize): Return copy of the actual value computed
12522 by new helper method.
12523 (preferredSizeImpl): New helper method. Adds locking and
12524 correct handling of cached value.
12525 (minimumSize): Return copy of the actual value computed
12526 by new helper method.
12527 (minimumSizeImpl): New helper method. Adds locking and
12528 correct handling of cached value.
12529 (getMaximumSize): Return copy of the actual value computed
12530 by new helper method.
12531 (maximumSizeImpl): New helper method. Adds locking and
12532 correct handling of cached value.
12533 (invalidate): Correct handling of cached layout information.
12535 * java/awt/Container.java
12536 (preferredSize): Minimized locking. Corrected handling of cached
12537 values. Return copy of real value.
12538 (minimumSize): Minimized locking. Corrected handling of cached
12539 values. Return copy of real value.
12540 (getMaximumSize): Minimized locking. Corrected handling of cached
12541 values. Return copy of real value.
12543 2006-07-13 Tania Bento <tbento@redhat.com>
12545 * gnu/java/awt/peer/ClasspathFontPeer.java
12546 (isLogicalFontName): Return true if name == default.
12547 (logicalFontNameToFaceName): Check if name == default,
12548 and if so, return "Dialog.plain".
12549 (setStandardAttributes(String, Map)): If name == null,
12550 it should be set to "Default", not "SansSerif".
12551 * java/awt/Canvas.java
12552 (generateName): Fixed documentation.
12553 * java/awt/CheckboxMenuItem.java
12554 Added static variable "next_chkmenuitem_number".
12555 (generateName): Added and implemented method.
12556 (getUniqueLong): Likewise.
12557 * java/awt/Choice.java
12558 Added static variable "next_choice_number".
12559 (generateName): Added and implemented method.
12560 (getUniqueLong): Likewise.
12561 * java/awt/Cursor.java
12562 (Cursor(int)): Set name depending on the type passed.
12563 * java/awt/List.java
12564 Added static variable "next_list_number".
12565 (generateName): Added and implemented method.
12566 (getUniqueLong): Likewise.
12567 * java/awt/Menu.java
12568 Added static variable "next_menu_number".
12569 (generateName): Added and implemented method.
12570 (getUniqueLong): Likewise.
12571 * java/awt/MenuBar.java
12572 Added static variable "next_menubar_number".
12573 (generateName): Added and implemented method.
12574 (getUniqueLong): Likewise.
12575 * java/awt/MenuComponent.java
12576 (getName): Before returning name, check if name == null
12577 and name is not explicity set. If this is the case,
12578 name will be generated.
12579 (generateName): Added and implemented method.
12580 * java/awt/MenuItem.java
12581 Added static variable "next_menuitem_number".
12582 (generateName): Added and implemented method.
12583 (getUniqueLong): Likewise.
12584 * java/awt/PopupMenu.java
12585 Added static variable "next_popup_number".
12586 (generateName): Added and implemented method.
12587 (getUniqueLong): Likewise.
12588 * java/awt/ScrollPane.java
12589 Added static variable "next_scrollpane_number".
12590 (generateName): Added and implemented method.
12591 (getUniqueLong): Likewise.
12592 * java/awt/TextField.java
12593 Added static variable "next_textfield_number".
12594 (generateName): Added and implemented method.
12595 (getUniqueLong): Likewise.
12598 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12600 * java/awt/image/SinglePixelPackedSampleModel.java
12601 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12602 mask correctly as an unsigned integer,
12603 (equals): New method override.
12605 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12607 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12608 insertAfterStart, insertBeforeEnd): Removed stub markings.
12610 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12612 * java/awt/image/BandedSampleModel.java: API doc updates and source
12614 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12616 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12618 * java/awt/image/BandedSampleModel.java: API doc updates.
12620 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12622 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12623 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12624 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12625 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12626 (HRMLReader.blockClose): Mind that parser stack may be empty.
12627 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12628 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12629 (HTMLReader.shouldInsert): New method. (getElement(String)):
12630 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12631 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12632 Implemented. (getInsertingReader): New method.
12633 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12634 Added buttons to demonstrate the work of the insert actions.
12636 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12638 * java/awt/image/SampleModel.java: API doc updates and additions,
12639 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12641 2006-07-12 Sven de Marothy <sven@physto.se>
12643 * javax/swing/JFileChooser.java:
12644 (createDialog): Close operation should cause a cancel.
12646 2006-07-12 Francis Kung <fkung@redhat.com>
12648 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12649 (cairoArc): New native method.
12650 (cairoRestore): New native method.
12651 (cairoSave): New native method.
12652 (cairoScale): New native method.
12653 (createPath): New method to centralize code from draw and fill.
12654 (draw): Modified to use createPath method.
12655 (fill): Modified to use createPath method.
12656 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12657 function declarations.
12658 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12659 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12661 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12663 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12666 2006-07-12 Tom Tromey <tromey@redhat.com>
12669 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12670 on PartialInputStream.
12671 (PartialInputStream.dummyByteCount): New field.
12672 (PartialInputStream.fillBuffer): Handle dummy byte.
12673 (PartialInputStream.read): Likewise.
12674 (PartialInputStream.addDummyByte): New method.
12676 2006-07-12 Mario Torre <neugens@limasoftware.net>
12678 * native/jni/gconf-peer/GConfNativePeer.c
12679 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12680 Fixed C++ style comment.
12682 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12684 * java/util/Arrays.java
12685 (asList): Updated API docs.
12687 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12690 * native/jni/gconf-peer/GConfNativePeer.c:
12691 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12692 Changed if-expression.
12693 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12694 Added check for _value not being NULL.
12696 2006-07-11 Roman Kennke <kennke@aicas.com>
12698 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12699 (read): Use fd when local sockets are disabled to make the
12703 2006-07-11 Roman Kennke <kennke@aicas.com>
12705 * java/awt/image/MultiPixelPackedSampleModel.java
12706 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12707 division gets rounded up.
12709 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12711 * java/lang/management/ManageFactory.java:
12712 (getMemoryManagerMXBeans()): Use addAll, not add.
12714 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12717 * gnu/classpath/ByteArray.java: Removed (moved).
12718 * gnu/java/security/util/ByteArray.java: New File.
12719 * gnu/javax/crypto/RSACipherImpl.java: Reference
12720 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12722 2006-07-11 Roman Kennke <kennke@aicas.com>
12724 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12725 (available): Pass fd as argument and avoid JNI class/field
12729 * include/gnu_java_net_local_LocalSocketImpl.h:
12731 * gnu/java/net/local/LocalSocketImpl.h
12732 (available): Pass fd as argument and avoid JNI class/field
12737 2006-07-11 Sven de Marothy <sven@physto.se>
12739 * gnu/javax/sound/sampled/AU/AUReader.java:
12740 Correct file extension from .as to .au.
12742 2006-07-11 Sven de Marothy <sven@physto.se>
12744 * gnu/javax/sound/sampled/AU/AUReader.java:
12746 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12747 Added new provider.
12749 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12751 * javax/swing/JTable.java
12752 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12753 (setColumnSelectionAllowed): Likewise.
12755 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12758 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12759 AccessController.doPrivileged instead of SystemProperties.getProperty.
12760 * gnu/classpath/debug/SystemLogger.java: Likewise.
12761 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12762 repeated getProperty calls for "file.seperator".
12763 (refresh): Since already in privileged block, call System.getProperty
12764 instead of SystemProperties.getProperty.
12765 * gnu/java/security/key/dss/DSSKey.java
12766 (toString): Use AccessController.doPrivileged instead of
12767 SystemProperties.getProperty.
12768 * gnu/java/security/key/dss/DSSPrivateKey.java
12769 (toString): Likewise.
12770 * gnu/java/security/key/dss/DSSPublicKey.java
12771 (toString): Likewise.
12772 * gnu/java/security/key/rsa/GnuRSAKey.java
12773 (toString): Likewise.
12774 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12775 (toString): Likewise.
12776 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12777 (toString): Likewise.
12778 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12779 * gnu/javax/crypto/key/dh/GnuDHKey.java
12780 (toString): Likewise.
12781 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12782 (toString): Likewise.
12783 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12784 (toString): Likewise.
12786 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12788 * javax/swing/AbstractButton.java
12789 (disabledIcon): Fixed name (was 'disabeldIcon'),
12790 (getDisabledIcon): Updated for corrected field name,
12791 (setDisabledIcon): Fire a PropertyChangeEvent.
12793 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12795 * javax/swing/DefaultBoundedRangeModel.java
12796 (readObject): New private method,
12797 (writeObject): Likewise.
12799 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12801 * javax/swing/ButtonGroup.java
12802 (add): Ignore null argument,
12803 (remove): Ignore null argument. If removing selected button, clear the
12805 (findButton): Changed case for method name, and documented,
12806 (setSelected): Updated for modification to findButton() method name,
12807 (isSelected): Updated API docs.
12809 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12811 * java/awt/image/BufferedImage.java
12812 (BufferedImage(int, int, int)): Use correct color space for
12813 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12814 IllegalArgumentException for an unrecognised type.
12816 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12818 * java/lang/management/ManagementFactory.java:
12819 (getMemoryPoolMXBeans): Genericized fully.
12820 (getMemoryManagerMXBeans): Likewise.
12821 (getGarbageCollectorMXBeans): Likewise.
12823 2006-07-10 Tom Tromey <tromey@redhat.com>
12825 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12827 (getMemoryManagerMXBeans): Likewise.
12828 (getGarbageCollectorMXBeans): Likewise.
12830 2006-07-10 Mario Torre <neugens@limasoftware.net>
12832 * java/awt/BasicStroke.java: Removed unused import.
12833 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12834 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12835 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12837 2006-07-10 Matt Wringe <mwringe@redhat.com>
12839 PR classpath/28212:
12840 * javax/crypto/spec/SecretKeySpec.java
12841 (equals): Check object type.
12843 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12845 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12846 communication/StructureToPassHelper.java,
12847 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12848 communication/StructureToReturnHelper.java,
12849 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12850 communication/TreeNodeHelper.java,
12851 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12852 communication/WeThrowThisExceptionHelper.java,
12853 gnu/CORBA/ForwardRequestHelper.java,
12854 org/omg/CORBA/CompletionStatusHelper.java,
12855 org/omg/CORBA/CurrentHelper.java,
12856 org/omg/CORBA/DefinitionKindHelper.java,
12857 org/omg/CORBA/IDLTypeHelper.java,
12858 org/omg/CORBA/NameValuePairHelper.java,
12859 org/omg/CORBA/ObjectHelper.java,
12860 org/omg/CORBA/ParameterModeHelper.java,
12861 org/omg/CORBA/PolicyErrorCodeHelper.java,
12862 org/omg/CORBA/PolicyErrorHelper.java,
12863 org/omg/CORBA/PolicyHelper.java,
12864 org/omg/CORBA/PolicyListHelper.java,
12865 org/omg/CORBA/PolicyTypeHelper.java,
12866 org/omg/CORBA/ServiceDetailHelper.java,
12867 org/omg/CORBA/ServiceInformationHelper.java,
12868 org/omg/CORBA/SetOverrideTypeHelper.java,
12869 org/omg/CORBA/StringValueHelper.java,
12870 org/omg/CORBA/UnionMemberHelper.java,
12871 org/omg/CORBA/UnknownUserExceptionHelper.java,
12872 org/omg/CORBA/VisibilityHelper.java,
12873 org/omg/CORBA/WStringValueHelper.java,
12874 org/omg/CORBA/WrongTransactionHelper.java,
12875 org/omg/CosNaming/BindingHelper.java,
12876 org/omg/CosNaming/BindingIteratorHelper.java,
12877 org/omg/CosNaming/BindingListHelper.java,
12878 org/omg/CosNaming/BindingTypeHelper.java,
12879 org/omg/CosNaming/NameComponentHelper.java,
12880 org/omg/CosNaming/NameHelper.java,
12881 org/omg/CosNaming/NamingContextExtHelper.java,
12882 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12883 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12884 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12885 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12886 org/omg/CosNaming/NamingContextHelper.java,
12887 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12888 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12889 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12890 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12891 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12892 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12893 org/omg/DynamicAny/AnySeqHelper.java,
12894 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12895 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12896 org/omg/DynamicAny/DynAnyHelper.java,
12897 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12898 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12899 org/omg/DynamicAny/DynAnySeqHelper.java,
12900 org/omg/DynamicAny/DynArrayHelper.java,
12901 org/omg/DynamicAny/DynEnumHelper.java,
12902 org/omg/DynamicAny/DynFixedHelper.java,
12903 org/omg/DynamicAny/DynSequenceHelper.java,
12904 org/omg/DynamicAny/DynStructHelper.java,
12905 org/omg/DynamicAny/DynUnionHelper.java,
12906 org/omg/DynamicAny/DynValueHelper.java,
12907 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12908 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12909 org/omg/DynamicAny/NameValuePairHelper.java,
12910 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12911 org/omg/IOP/CodecFactoryHelper.java,
12912 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12913 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12914 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12915 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12916 org/omg/IOP/ComponentIdHelper.java,
12917 org/omg/IOP/IORHelper.java,
12918 org/omg/IOP/MultipleComponentProfileHelper.java,
12919 org/omg/IOP/ProfileIdHelper.java,
12920 org/omg/IOP/ServiceContextHelper.java,
12921 org/omg/IOP/ServiceContextListHelper.java,
12922 org/omg/IOP/ServiceIdHelper.java,
12923 org/omg/IOP/TaggedComponentHelper.java,
12924 org/omg/IOP/TaggedProfileHelper.java,
12925 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12926 org/omg/PortableInterceptor/AdapterNameHelper.java,
12927 org/omg/PortableInterceptor/AdapterStateHelper.java,
12928 org/omg/PortableInterceptor/CurrentHelper.java,
12929 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12930 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12931 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12932 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12933 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12934 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12935 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12936 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12937 org/omg/PortableServer/CurrentHelper.java,
12938 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12939 org/omg/PortableServer/ForwardRequestHelper.java,
12940 org/omg/PortableServer/POAHelper.java,
12941 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12942 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12943 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12944 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12945 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12946 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12947 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12948 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12949 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12950 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12951 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12952 org/omg/PortableServer/ServantActivatorHelper.java,
12953 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12954 typecode caching and always use OrbRestricted.Singleton.
12956 2006-07-09 Tom Tromey <tromey@redhat.com>
12958 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12960 2006-07-09 Mark Wielaard <mark@klomp.org>
12962 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12963 New static final boolean field.
12964 (getComponentGraphics): Use hasXRenderExtension.
12965 (setClip): Override method for locking.
12967 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12969 * javax/swing/AbstractButton.java
12970 (setHorizontalTextPosition): Added check for illegal argument,
12971 (setVerticalTextPosition): Likewise.
12973 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12975 * javax/swing/Timer.java
12976 (setDelay): Throw IllegalArgumentException for negative delay,
12977 (setInitialDelay): Likewise,
12978 * javax/swing/ToolTipManager.java
12979 (setInitialDelay): Document IllegalArgumentException,
12980 (setDismissDelay): Likewise,
12981 (setReshowDelay): Likewise.
12983 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12985 * java/lang/management/MemoryUsage.java:
12986 (from(javax.management.openmbean.CompositeData)):
12988 * java/lang/management/ThreadInfo.java:
12989 Changed to use open types throughout for the state.
12990 (ThreadInfo(long,String,String,long,long,String,
12991 long,String,long,long,boolean,StackTraceElement[])):
12993 (checkAttribute(javax.management.openmbean.CompositeType,
12994 String, javax.management.openmbean.OpenType)): New method.
12995 (from(javax.management.openmbean.CompositeData)):
12997 (getLockName()): Fixed to use new variable.
12998 (getLockOwnerId()): Likewise.
12999 (getLockOwnerName()): Likewise.
13000 (getThreadId()): Likewise.
13001 (getThreadName()): Likewise.
13002 (getThreadState()): Likewise.
13003 (toString()): Refactored to use new variables.
13004 * javax/management/openmbean/ArrayType.java:
13006 * javax/management/openmbean/CompositeType.java:
13007 Variables should be transient, not volatile.
13008 * javax/management/openmbean/OpenDataException.java:
13009 (serialVersionUID): Added.
13010 * javax/management/openmbean/SimpleType.java:
13012 * javax/management/openmbean/TabularType.java
13013 Variables should be transient, not volatile.
13015 2006-07-09 Tom Tromey <tromey@redhat.com>
13017 * tools/.cvsignore: Updated for new tools.
13019 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
13021 * javax/management/openmbean/CompositeData.java,
13022 * javax/management/openmbean/CompositeType.java,
13023 * javax/management/openmbean/OpenDataException.java,
13024 * javax/management/openmbean/OpenType.java,
13025 * javax/management/openmbean/TabularData.java,
13026 * javax/management/openmbean/TabularType.java,
13027 * javax/management/openmbean/package.html:
13030 2006-07-09 Mark Wielaard <mark@klomp.org>
13032 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13033 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13034 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13036 2006-07-08 Anthony Green <green@redhat.com>
13038 * gnu/javax/sound/sampled/WAV/WAVReader.java,
13039 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
13042 2006-07-09 Mario Torre <neugens@limasoftware.net>
13044 * native/jni/gconf-peer/GConfNativePeer.c:
13045 Fixed indentation to be more compliant to the GNU coding
13047 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13048 Added explicit test for errors in the GConf backend.
13049 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13050 Added explicit test for errors in the GConf backend.
13051 Fixed Segmentation Fault when non valid key names are given as input.
13052 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13054 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13055 Added explicit test for errors in the GConf backend.
13056 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13057 Added javadoc comments for all native methods.
13058 (nodeExist): removed test to check for valid absolute path name
13060 (startWatchingNode): likewise.
13061 (stopWatchingNode): likewise.
13062 (setString): likewise, plus fixed javadoc comments.
13063 (unset): likekwise.
13064 (getKey): likewise.
13065 (getKeys): likewise, also fixed javadoc comments.
13066 (getChildrenNodes): likewise.
13067 * gnu/java/util/prefs/GConfBasedPreferences.java:
13068 changed DEFAULT_USER_ROOT to /apps/classpath.
13069 (constructor): Test to check for a valid absolute path for nodes
13070 is now in the contructor for that node, instead of being on
13071 each method of the backend.
13072 (getGConfKey): removed empty new line.
13074 2006-07-08 Mark Wielaard <mark@klomp.org>
13076 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13078 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13080 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13081 Handle the forced break in the same way as exceeding the
13082 available row space.
13083 * javax/swing/text/html/HRuleView.java: Rewritten.
13084 * javax/swing/text/html/HTMLDocument.java
13085 (HTMLReader.addSpecialElement):Reserve two characters for
13086 the special elements.
13087 * examples/gnu/classpath/examples/swing/HtmlDemo.java
13088 (text): Extended the HTML example to parse.
13090 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13092 * javax/swing/AbstractButton.java
13093 (setHorizontalAlignment): Check for illegal argument,
13094 (setVerticalAlignment): Likewise.
13096 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13098 * javax/swing/text/html/TableView.java
13099 (getStyleSheet): New method. (RowView.getStyleSheet):
13102 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13104 * javax/swing/AbstractButton.java
13105 (setRolloverIcon): Call setRolloverEnabled(true),
13106 (setRolloverSelectedIcon): Likewise.
13108 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13110 * javax/swing/border/TitledBorder.java
13111 (setTitlePosition): Added message to exception,
13112 (setTitleJustification): Likewise.
13114 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13116 * javax/swing/plaf/metal/MetalLookAndFeel.java
13117 (createDefaultTheme): Corrected API docs,
13118 (initComponentDefaults): Added entry for 'TitledBorder.border',
13119 (getCurrentTheme): Initialise theme if it is null.
13121 2006-07-07 Roman Kennke <kennke@aicas.com>
13123 * java/awt/Component.java
13124 (isValid): Return false when component has no peer,
13125 don't query the showing state.
13127 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13129 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13130 Advance the offset also in the case of the enforced break.
13132 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13134 * javax/swing/plaf/basic/BasicArrowButton.java
13135 (MAXIMUM_SIZE): Removed field,
13136 (MINIMUM_SIZE): Likewise,
13137 (PREFERRED_SIZE): Likewise,
13138 (getMaximumSize): Return new instance every time,
13139 (getMinimumSize): Likewise,
13140 (getPreferredSize): Likewise.
13142 2006-07-07 Roman Kennke <kennke@aicas.com>
13144 * java/awt/LightweightDispatcher.java
13145 (findTarget): Avoid array copying in
13146 Container.getComponents().
13148 2006-07-07 Roman Kennke <kennke@aicas.com>
13150 * javax/swing/JComponent.java
13151 (paintChildrenWithOverlap): Avoid array copying in
13152 Container.getComponents().
13153 (paintChildrenOptimized): Avoid array copying in
13154 Container.getComponents().
13155 (fireAncestorEvent): Avoid array copying in
13156 Container.getComponents().
13157 (findOverlapFreeParent): Avoid array copying in
13158 Container.getComponents().
13160 2006-07-07 Matt Wringe <mwringe@redhat.com>
13162 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13163 (passwordValid): New field.
13164 (setPassword): New method.
13165 (setSalt): Likewise.
13166 (setIterationCount): Likewise.
13167 (setKeyLength): Likewise.
13168 (PBEKeySpec(char[])): Use new setter methods.
13169 (PBEKeySpec(char[], byte[], int)): Likewise.
13170 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13171 (clearPassword): Set passwordValid to false.
13172 (getPassword): Check that clearPassword() was not called earlier.
13173 Return a clone of the password.
13174 (getSalt): Return a clone of the salt if it was not null.
13176 2006-07-07 Roman Kennke <kennke@aicas.com>
13178 * java/awt/Component.java
13179 (isValid): Always return false when component is
13181 (setFont): Always set font, even when setting
13182 the same or equal font again.
13184 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13186 * javax/swing/plaf/metal/MetalIconFactory.java
13187 (CheckBoxMenuItemIcon): Implement UIResource,
13188 (FileChooserDetailViewIcon): Likewise,
13189 (FileChooserHomeFolderIcon): Likewise,
13190 (FileChooserListViewIcon): Likewise,
13191 (FileChooserNewFolderIcon): Likewise,
13192 (FileChooserUpFolderIcon): Removed redundant 'implements',
13193 (RadioButtonMenuItemIcon): Implement UIResource,
13194 (HorizontalSliderThumbIcon): Likewise,
13195 (InternalFrameCloseIcon): Likewise,
13196 (InternalFrameDefaultMenuIcon): Likewise,
13197 (InternalFrameAltMaximizeIcon): Likewise,
13198 (InternalFrameMaximizeIcon): Likewise,
13199 (InternalFrameMinimizeIcon): Likewise,
13200 (VerticalSliderThumbIcon): Likewise,
13201 (TreeHardDriveIcon): Likewise,
13202 (TreeFloppyDriveIcon): Likewise,
13203 (TreeComputerIcon): Likewise,
13204 (horizontalSliderThumbIcon): New field,
13205 (verticalSliderThumbIcon): New field,
13206 (getHorizontalSliderThumbIcon): Cache icon,
13207 (getVerticalSliderThumbIcon): Likewise.
13209 2006-07-06 Mark Wielaard <mark@klomp.org>
13211 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13212 (DISTCLEANFILES): Add standard.omit.
13213 (clean-local): Remove Makefile.deps, only remove dirs.
13215 2006-07-06 Roman Kennke <kennke@aicas.com>
13217 * java/awt/Component.java
13218 (setFont): Only invalidate when component is valid.
13219 * java/awt/Container.java
13220 (setLayout): Only invalidate when component is valid.
13222 2006-07-06 Lillian Angel <langel@redhat.com>
13224 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13225 New class not fully implemented.
13226 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13227 New class not fully implemented.
13228 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13229 New class not fully implemented.
13230 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13231 New class not fully implemented.
13232 * nu/java/awt/peer/gtk/GtkToolkit.java:
13234 (createDragSourceContextPeer): Implemented.
13235 (createDragGestureRecognizer): New function to override
13236 java.awt.Toolkit.createDragGestureRecognizer.
13237 * java/awt/dnd/DragSource.java
13238 (NoDragGestureRecognizer): Removed inner class.
13239 (createDragGestureRecognizer): Re-Implemented to
13240 call Toolkit's createDragGestureRecognizer.
13241 (createDefaultDragGestureRecognizer): Re-Implemented to
13242 call Toolkit's createDragGestureRecognizer.
13243 * java/awt/dnd/DropTarget.java
13244 (addNotify): Added check to determine type of peer and call
13246 (removeNotify): Added call to removeDropTarget.
13248 2006-07-06 Tom Tromey <tromey@redhat.com>
13250 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13252 (run): Wait on queue, not 'this'.
13254 2006-07-06 Lillian Angel <langel@redhat.com>
13256 * java/awt/dnd/DragSource.java
13257 (startDrag): Implemented. Added comments describing
13258 what the function should do. Removed FIXME.
13260 2006-07-06 Tania Bento <tbento@redhat.com>
13262 * gnu/java/awt/Canvas.java
13263 Added new private variable 'next_canvas_number'.
13264 (generateName): Added.
13265 (getUniqueLong): Added.
13267 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13269 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13270 (getColor): Made public.
13271 * javax/swing/text/html/StyleSheet.java (stringToColor):
13272 Use CharacterAttributeTranslator.getColor(String)
13274 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13276 * javax/swing/text/html/HTMLEditorKit.java:
13277 (HTMLFactory.createElement): Update reference to the html table view.
13278 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13279 * javax/swing/text/html/TableView.java: New file.
13281 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13283 * javax/swing/text/html/HTMLEditorKit.java:
13284 (HTMLFactory.createElement): Uncomment
13285 code for BRView and HRuleView.
13286 * javax/swing/text/html/BRView.java,
13287 javax/swing/text/html/HRuleView.java: New files.
13289 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13291 * java/lang/Thread.java:
13292 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13293 Added generic type signature.
13295 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13298 * doc/vmintegration.texinfo: Likewise.
13299 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13300 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13301 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13302 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13303 * java/lang/management/GarbageCollectorMXBean.java:
13305 * java/lang/management/ManagementFactory.java:
13306 (getGarbageCollectorMXBeans()): Implemented.
13307 (getMemoryManagerMXBeans()): Likewise.
13308 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13309 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13311 * vm/reference/java/lang/management/VMManagementFactory.java:
13312 (getMemoryManagerNames()): Added.
13313 (getGarbageCollectorNames()): Added.
13315 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13317 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13318 from lib_LTLIBRARIES.
13319 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13321 2006-07-05 Lillian Angel <langel@redhat.com>
13323 * java/awt/dnd/DragGestureEvent.java:
13325 (DragGestureEvent): Initialized new fields, added to check and
13326 added documentation.
13327 (getSourceAsDragGestureRecognizer): Added documentation and
13328 changed to use getSource.
13329 (getComponent): Added documentation and fixed to return the proper
13331 (getDragSource): Likewise.
13332 (getDragOrigin): Added documentation.
13333 (iterator): Implemented and added documentation.
13334 (toArray): Likewise.
13335 (toArray): Likewise.
13336 (getDragAction): Likewise.
13337 (getTriggerEvent): Likewise.
13338 (startDrag): Likewise.
13339 * java/awt/dnd/DragGestureRecognizer.java
13340 (resetRecognizer): Added FIXME.
13341 * java/awt/dnd/DragSource.java:
13343 (DragSource): Set ds to be null if headless.
13344 (getDefaultDragSource): Added documentation and implemented.
13345 (isDragImageSupported): Marked as unimplemented.
13346 (startDrag): Likewise.
13347 (createDragSourceContext): Implemented.
13348 (NoDragGestureRecognizer): Formatted inner class.
13349 * java/awt/dnd/DropTarget.java
13350 (stop): Marked as unimplemented.
13351 (actionPerformed): Likewise.
13352 (addDropTargetListener): Added code to throw exception.
13353 (removeDropTargetListener): Added check, removed FIXME.
13354 (dragEnter): Implemented.
13355 (dragOver): Implemented.
13356 (dropActionChanged): Implemented.
13357 (dragExit): Implemented.
13358 (drop): Implemented.
13359 (addNotify): Implemented.
13360 (removeNotify): Implemented.
13361 (createDropTargetContext): Implemented.
13362 (createDropTargetAutoScroller): Implemented.
13363 (initializeAutoscrolling): Implemented.
13364 (updateAutoscroll): Implemented.
13365 (clearAutoscroll): Implemented.
13366 * java/awt/dnd/DropTargetContext.java
13367 (dropComplete): Implemented.
13368 (acceptDrag): Implemented.
13369 (rejectDrag): Implemented.
13370 (acceptDrop): Implemented.
13371 (rejectDrop): Implemented.
13372 (getCurrentDataFlavors): Implemented.
13373 (getTransferable): Partially implemented.
13374 * java/awt/dnd/DropTargetDragEvent.java
13375 (getDropAction): Uncommented correct code.
13376 * java/awt/dnd/DropTargetDropEvent.java
13377 (dropComplete) :Implemented.
13378 * java/awt/dnd/InvalidDnDOperationException.java
13379 (InvalidDnDOperationException): Added call to super.
13381 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13383 * javax/swing/plaf/basic/BasicArrowButton.java:
13384 (paint): Removed getBounds() call, changed center point
13387 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13389 * javax/swing/InputMap.java
13390 (inputMap): Don't initialize yet,
13391 (InputMap): Removed TODO,
13392 (get): Check for null inputMap,
13393 (put): Return immediately for null keyStroke, check for null inputMap
13394 and initialize if necessary,
13395 (remove): Check for null inputMap,
13399 (allKeys): Likewise,
13400 (writeObject): Removed,
13401 (readObject): Removed.
13403 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13405 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13406 (createContent): Use different labels for buttons.
13408 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13411 * doc/vmintegration.texinfo: Likewise.
13412 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13413 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13415 * java/lang/management/ManagementFactory.java:
13416 (getMemoryPoolMXBeans()): Implemented.
13417 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13418 * vm/reference/java/lang/management/VMManagementFactory.java:
13421 2006-07-04 Lillian Angel <langel@redhat.com>
13423 * java/awt/dnd/DragSourceContext.java:
13424 Removed FIXMEs from fields.
13425 (DragSourceContext): Added code to initialize cursor and sourceActions.
13426 (getDragSource): Added documentation.
13427 (getComponent): Likewise.
13428 (getTrigger): Likewise.
13429 (getSourceActions): Added documentation and implemented.
13430 (setCursor): Implemented. Added documentation.
13431 (getCursor): Implemented. Added documentation.
13432 (dragEnter): Added code to notify DragSource's listeners.
13433 (dragOver): Likewise.
13434 (dragExit): Likewise.
13435 (dropActionChanged): Likewise.
13436 (dragDropEnd): Likewise.
13437 (dragMouseMoved): Implemented.
13438 (getTransferable): Added API documentation.
13439 (updateCurrentCursor): Added API documentation and partially implemented.
13441 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13443 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13445 2006-07-04 Lillian Angel <langel@redhat.com>
13447 * java/awt/dnd/DragSourceContext.java
13448 (DragSourceContext): Implemented fully. Fixed API docs.
13449 (transferablesFlavorsChanged): Implemented.
13450 (dragEnter): Implemented.
13451 (dragOver): Implemented.
13452 (dragExit): Implemented.
13453 (dropActionChanged): Implemented.
13454 (dragDropEnd): Implemented.
13456 2006-07-04 Lillian Angel <langel@redhat.com>
13458 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13459 Fixed name of constant.
13460 (getIconWidth): Changed name of constant returned.
13461 (getIconHeight): Likewise.
13463 (createSeparator): Marked as unimplemented.
13464 * javax/swing/plaf/basic/BasicTableUI.java
13465 (focusGained): Marked as unimplemented.
13466 (focusLost): Marked as unimplemented.
13467 (mouseEntered): Likewise.
13468 (mouseMoved): Likewise.
13469 (uninstallDefaults): Likewise.
13470 * javax/swing/plaf/basic/BasicToolBarUI.java
13471 (mouseClicked): Changed comment.
13472 (mouseEntered): Likewise.
13473 (mouseExited): Likewise.
13474 (mouseMoved): Likewise.
13475 (setOrientation): Implemented.
13476 (ToolBarFocusListener): Marked as unimplemented.
13477 (focusGained): Marked as unimplemented.
13478 (focusLost): Marked as unimplemented.
13480 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13483 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13484 Mind the effect of the root visibility on the position of the control.
13485 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13486 vertical line over first level nodes.
13488 2006-07-04 Lillian Angel <langel@redhat.com>
13490 * javax/swing/plaf/basic/BasicMenuUI.java
13491 (installKeyboardActions): Implemented to call super. Nothing else
13492 needs to be done here.
13493 (setupPostTimer): Marked as unimplemented.
13494 (uninstallKeyboardActions): Implemented to call super. Nothing else
13495 needs to be done here.
13496 (mouseMoved): Removed TODO. Nothing to be done here.
13497 (ChangeHandler): Implemented.
13498 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13499 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13500 (menuKeyReleased): Removed TODO. Nothing to be done here.
13501 (menuKeyTyped): Marked as unimplemented.
13503 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13506 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13507 (getDefaults): Set hash color to black.
13508 * javax/swing/plaf/basic/BasicLookAndFeel.java
13509 (initComponentDefaults): Set hash color to grey blue.
13510 * javax/swing/plaf/basic/BasicTreeUI.java
13511 (instellDefaults): Set hash color.
13512 * javax/swing/plaf/metal/MetalIconFactory.java
13513 (TreeControlIcon.paint): Rewritten.
13515 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13518 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13519 Always cancel the current editing session before doing anything else,
13520 return immediately if this fails.
13521 (TreeHomeAction): Ensure that the lead selection path is visible after
13522 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13523 Likewise. TreeTraverseAction: Likewise.
13525 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13528 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13529 Returned back the code to handle the start of the click-pause-click
13530 editing initiation, explained about this code.
13531 (TreeStartEditingAction): New inner class.
13532 (stopEditingInCompleteEditing): Explained about this field.
13533 (completeEditing(boolean, boolean, boolean): Only return early
13534 if there is no current editing session.
13535 (createDefaultActions): Install TreeStartEditingAction and
13536 TreeCancelEditingAction.
13538 2006-07-04 Mario Torre <neugens@limasoftware.net>
13540 * configure.ac: Added new option --enable-default-preferences-peer
13541 to pass user specified default preference backend.
13542 If the GConf peer is built, GConf become the default backend.
13543 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13545 * lib/Makefile.am: excludes files terminating in 'in' from
13546 the metafiles list.
13547 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13548 from copy into META-INF.
13549 * java/util/prefs/Preferences.java: added two new import
13550 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13551 (getFactory): Now try to check for
13552 a system defined default preference backend before to fall back on
13553 FileBasedPreference.
13555 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13558 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13559 (EXPANDED): Initialise to Boolean.TRUE.
13560 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13561 First configure layout cache and then set the assigned value
13562 as row mapper. Set the root visibility property.
13563 (toggleExpandState): Obtains expansion state from the layout cache.
13565 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13567 * java/lang/management/MemoryPoolMXBean.java:
13570 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13572 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13574 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13576 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13577 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13578 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13579 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13580 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13581 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13582 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13583 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13584 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13585 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13586 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13587 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13588 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13589 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13590 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13591 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13592 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13593 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13594 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13595 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13596 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13597 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13598 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13599 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13600 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13601 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13602 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13603 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13604 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13605 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13606 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13607 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13608 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13609 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13610 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13611 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13612 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13613 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13614 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13615 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13616 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13617 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13618 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13619 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13620 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13621 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13622 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13624 2006-07-02 Anthony Green <green@redhat.com>
13626 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13627 sure that every track written ends with an End Of Track meta
13630 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13632 * java/lang/management/MemoryUsage.java:
13633 (toString()): Fix missing MB for maximum memory usage.
13635 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13638 Updated to include VMCompilationMXBeanImpl.
13639 * doc/vmintegration.texinfo:
13640 Likewise, along with update to VMMemoryMXBeanImpl
13642 * examples/gnu/classpath/examples/management/TestCompilation.java,
13643 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13644 * java/lang/management/CompilationMXBeanImpl.java:
13646 * java/lang/management/ManagementFactory.java:
13647 (getCompilationMXBean()): Implemented.
13648 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13650 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13651 (getHeapMemoryUsage()): Added default implementation.
13653 2006-07-02 Anthony Green <green@redhat.com>
13655 * NEWS: Mention MIDI file reader/writer providers.
13657 2006-07-02 Anthony Green <green@redhat.com>
13659 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13660 gnu/javax/sound/midi/file/MidiFileWriter.java,
13661 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13663 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13666 Updated to include VMMemoryMXBeanImpl.
13667 * doc/vmintegration.texinfo: Likewise.
13668 * examples/gnu/classpath/examples/management/TestMemory.java:
13670 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13671 Remove redundant import.
13672 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13674 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13675 Remove redundant import.
13676 * java/lang/management/ManagementFactory.java:
13677 (getMemoryMXBean()): Implemented.
13678 * java/lang/management/MemoryMXBean.java,
13679 * java/lang/management/MemoryUsage.java:
13681 * java/lang/management/ThreadInfo.java:
13682 (toString()): Updated documentation.
13683 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13686 2006-07-01 Anthony Green <green@redhat.com>
13688 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13689 gnu/javax/sound/midi/file/MidiFileReader.java,
13690 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13691 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13693 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13695 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13696 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13697 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13698 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13699 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13700 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13701 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13703 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13705 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13706 * gnu/javax/crypto/pad/IPad.java: Likewise.
13707 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13708 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13709 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13710 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13711 * gnu/javax/crypto/pad/TBC.java: Likewise.
13712 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13713 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13715 2006-07-01 Anthony Green <green@redhat.com>
13717 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13719 (setMessage): Fix it again, in a different setMessage method.
13721 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13723 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13724 * gnu/javax/crypto/mode/CBC.java: Likewise.
13725 * gnu/javax/crypto/mode/CFB.java: Likewise.
13726 * gnu/javax/crypto/mode/CTR.java: Likewise.
13727 * gnu/javax/crypto/mode/EAX.java: Likewise.
13728 * gnu/javax/crypto/mode/ECB.java: Likewise.
13729 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13730 * gnu/javax/crypto/mode/ICM.java: Likewise.
13731 * gnu/javax/crypto/mode/IMode.java: Likewise.
13732 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13733 * gnu/javax/crypto/mode/OFB.java: Likewise.
13735 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13737 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13738 * gnu/javax/crypto/mac/HMac.java: Likewise.
13739 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13740 * gnu/javax/crypto/mac/IMac.java: Likewise.
13741 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13742 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13743 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13744 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13745 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13746 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13747 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13749 2006-07-01 Anthony Green <green@redhat.com>
13751 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13753 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13755 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13756 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13757 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13758 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13759 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13760 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13761 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13762 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13763 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13764 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13765 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13766 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13767 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13768 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13769 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13770 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13771 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13772 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13773 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13774 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13775 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13776 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13777 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13778 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13780 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13782 * javax/swing/AbstractCellEditor.java: Source code formatting,
13783 * javax/swing/AbstractSpinnerModel.java: Likewise,
13784 * javax/swing/Box.java: Likewise,
13785 * javax/swing/BoxLayout.java: Likewise,
13786 * javax/swing/DefaultListModel.java: Likewise,
13787 * javax/swing/GrayFilter.java: Likewise,
13788 * javax/swing/LookAndFeel.java: Likewise,
13789 * javax/swing/ProgressMonitor.java: Likewise,
13790 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13791 * javax/swing/ScrollPaneLayout.java: Likewise,
13792 * javax/swing/SpringLayout.java: Likewise,
13793 * javax/swing/event/EventListenerList.java: Likewise,
13794 * javax/swing/event/MenuEvent.java: Likewise,
13795 * javax/swing/event/TreeExpansionListener.java: Likewise.
13797 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13800 Mention threading bean and getState().
13801 * doc/vmintegration.texinfo:
13802 Update documentation for threading bean and new
13803 method of VMThread.
13805 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13807 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13808 * examples/gnu/classpath/examples/management/TestOS.java,
13809 * examples/gnu/classpath/examples/management/TestRuntime.java,
13810 * examples/gnu/classpath/examples/management/TestThread.java:
13813 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13815 * java/lang/ThreadGroup.java
13816 (getThreadFromId, getThreadFromIdImpl): New methods.
13818 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13820 * java/lang/Thread.java:
13821 Make thread IDs start from 1 in a more efficient way.
13823 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13825 * java/lang/Thread.java:
13826 Make thread IDs start from 1.
13828 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13830 * gnu/java/lang/management/BeanImpl.java:
13831 New superclass for all bean implementations.
13832 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13833 Extend BeanImpl and call permission code there.
13834 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13836 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13837 Extend BeanImpl and call permission code there.
13838 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13840 * java/lang/management/ManagementFactory.java:
13841 (getThreadMXBean()): Implemented.
13842 * java/lang/management/ThreadInfo.java:
13843 (ThreadInfo(Thread,int)): Replaced...
13844 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13845 boolean, boolean, StackTraceElement[])): with this.
13846 (getBlockedCount()): Refactored to use local variables.
13847 (getBlockedTime()): Likewise.
13848 (getLockName()): Likewise.
13849 (getLockOwnerId()): Likewise.
13850 (getLockOwnerName()): Likewise.
13851 (getStackTrace()): Likewise.
13852 (getWaitedCount()): Likewise.
13853 (getWaitedTime()): Likewise.
13854 (isInNative()): Likewise.
13855 (isSuspended()): Likewise.
13856 (toString()): Changed to use new local variables.
13857 * java/lang/management/ThreadMXBean.java:
13858 (getThreadInfo(long, int)): Corrected documentation.
13859 (getThreadInfo(long[], int)): Likewise.
13860 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13862 * vm/reference/java/lang/management/VMThreadInfo.java:
13865 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13867 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13868 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13869 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13870 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13871 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13872 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13873 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13874 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13875 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13876 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13877 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13878 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13879 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13880 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13881 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13882 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13883 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13884 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13885 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13886 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13887 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13888 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13889 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13890 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13891 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13892 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13893 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13894 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13895 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13896 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13897 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13898 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13900 2006-07-01 Roman Kennke <kennke@aicas.com>
13902 * gnu/java/awt/java2d/AbstractGraphics2D.java
13903 (transform): Make field protected.
13904 (getDestinationRaster): Provide default implementation for
13905 previously abstract method.
13907 2006-06-30 Tania Bento <tbento@redhat.com>
13909 * java/awt/TextArea.java
13910 (TextArea(String, int, int, int)): No longer throws
13911 IllegalArgumentException if rows, columns, or scrollbarVisibility
13912 values are invalid.
13913 (TextArea(String, int, int, int)): If rows or columns are < 0,
13914 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13915 gets set to the default value of 0 (SCROLLBARS_BOTH).
13916 (appendText): Added case when peer = null.
13917 (insertText): Added case when peer == null.
13918 (replaceText): Added case when peer == null.
13919 * java/awt/TextComponent.java
13920 (TextComponent(String)): If text == null, set it to "".
13922 2006-06-30 Lillian Angel <langel@redhat.com>
13924 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13925 (create): Added synchronized block around groupMap.get calls.
13926 (setCheckboxGroup): Likewise.
13928 2006-06-30 Lillian Angel <langel@redhat.com>
13930 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13931 (create): Changed to be non-synchronized.
13932 (setLabel): Likewise.
13933 (setCheckboxGroup): Likewise.
13934 (addToGroupMap): Likewise. Added synchronized block around
13936 (dispose): Changed to be non-synchronized.
13938 2006-06-30 Lillian Angel <langel@redhat.com>
13940 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13941 Changed all return values of native functions to void.
13942 (create): Changed function to be synchronized. Removed
13943 call to put value in groupMap, this is now done from
13945 (setState): Changed function to be synchronized.
13946 (setLabel): Changed function to be synchronized.
13947 (setCheckboxGroup): Changed function to be synchronized. Removed
13948 call to put value in groupMap, this is now done from
13950 (postItemEvent): Changed function to be synchronized.
13951 (addToGroupMap): New function. Called by native code to add
13952 new value to the group.
13953 (dispose): Changed function to be synchronized.
13954 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13957 (cp_gtk_checkbox_init_jni): Added code to link to
13959 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13960 Changed return value to void. Added call
13961 to java function to set pointer in groupMap.
13962 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13963 changed check to an assert. Also, removed call to set/del pointer.
13964 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13965 Likewise. Also, added check to determine if native_group should be
13967 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13969 2006-06-30 Sven de Marothy <sven@physto.se>
13971 * gnu/java/awt/ClasspathToolkit.java,
13972 * gnu/java/awt/peer/x/XToolkit.java,
13973 * gnu/java/awt/peer/qt/QtToolkit.java,
13974 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13975 Remove ClasspathTextLayoutPeer.
13976 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13977 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13980 2006-06-30 Sven de Marothy <sven@physto.se>
13982 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13983 (drawGlyphVector): Don't draw empty vectors.
13985 2006-06-30 Lillian Angel <langel@redhat.com>
13986 Tom Fitzsimmons <fitzsim@redhat.com>
13988 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13989 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13990 Added current_group, groupMap fields. Added definitions for
13991 new native functions.
13992 (create): Removed FIXME. Added code to create the check button or
13993 radio button when appropriate. Updated groupMap to contain
13994 pointer to the newly created group.
13995 (setCheckboxGroup): Added code to handle all cases. Removing
13996 a button from a group, adding a button to a group, or changing the
13998 (dispose): Changed to call super.
13999 * include/Makefile.am: Removed reference to
14000 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14001 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14002 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14004 * native/jni/gtk-peer/Makefile.am: Removed reference to
14005 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14009 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
14010 Renamed to checkbox_get_widget.
14011 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
14012 Changed to use checkbox_get_widget.
14013 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
14015 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14016 Changed to use checkbox_get_widget.
14017 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14019 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14020 New function. Creates checkbutton without a group.
14021 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14022 Creates a radio button in a group, using groupPointer. If groupPointer
14023 is 0, then a new group is created.
14024 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14025 check button to a group, using groupPointer. A radio button is created
14026 in its place. If groupPointer is 0, then a new group is created.
14027 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14028 radio button is removed from the group. A check button is created in
14030 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14031 radio button is moved to a new group.
14033 2006-06-30 Mark Wielaard <mark@klomp.org>
14035 * configure.ac: Move standard.omit creation after dirs are created.
14036 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14037 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14038 (clean-local): Remove standard.omit.
14039 * lib/gen-classlist.sh.in: Use omit file in build dir.
14040 * lib/standard.omit.in: Make exclude regex more explicit.
14042 2006-06-30 Roman Kennke <kennke@aicas.com>
14044 * lib/Makefile.am: Added Escher dir/jar to classpath when
14046 * configure.ac: Moved handling of standard.omit to a place
14047 where it actually gets executed.
14049 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
14051 * java/awt/TextComponent.java: Reformatted source code,
14052 * java/awt/TextField.java: Likewise.
14054 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
14056 * java/lang/Thread.java:
14057 (getState()): Handle case of no VMThread
14060 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
14062 * java/lang/Thread.java,
14063 * java/lang/VMThread.java:
14064 Reverted patch from 2006-06-28.
14066 2006-06-29 Roman Kennke <kennke@aicas.com>
14068 * gnu/java/awt/peer/x/GLGraphics.java,
14069 * gnu/java/awt/peer/x/ImageConverter.java,
14070 * gnu/java/awt/peer/x/KeyboardMapping.java,
14071 * gnu/java/awt/peer/x/XEventPump.java,
14072 * gnu/java/awt/peer/x/XFontPeer.java,
14073 * gnu/java/awt/peer/x/XFontPeer2.java,
14074 * gnu/java/awt/peer/x/XFramePeer.java,
14075 * gnu/java/awt/peer/x/XGraphics.java,
14076 * gnu/java/awt/peer/x/XGraphics2D.java,
14077 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14078 * gnu/java/awt/peer/x/XGraphicsDevice.java,
14079 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14080 * gnu/java/awt/peer/x/XImage.java,
14081 * gnu/java/awt/peer/x/XLightweightPeer.java,
14082 * gnu/java/awt/peer/x/XToolkit.java,
14083 * gnu/java/awt/peer/x/XWindowPeer.java,
14084 * gnu/java/awt/peer/x/fonts.properties: New files.
14085 * lib/standard.omit: Removed.
14086 * lib/standard.omit.in: Added.
14087 * configure.ac: Added configure option --with-escher. Added some
14088 configury for omitting gnu.java.awt.peer.x package when
14089 this option is not specified.
14091 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
14093 * javax/swing/JComponent.java
14094 (JComponent()): Initialize the locale here, not the default locale,
14095 (getDefaultLocale): If null, return Locale.getDefault(),
14096 (setDefaultLocale): Added API docs.
14098 2006-06-29 Tania Bento <tbento@redhat.com>
14100 * java/awt/Container.java
14101 (applyComponentOrientation): Implemented method.
14103 2006-06-29 Gary Benson <gbenson@redhat.com>
14105 * java/io/File.java (listRoots): Merge security checks from libgcj.
14107 2006-06-29 Gary Benson <gbenson@redhat.com>
14109 * java/io/FilePermission.java (implies): Work when path is "/".
14111 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
14113 * java/lang/Thread.java:
14114 (Thread(ThreadGroup,Runnable,String,long)): Update
14116 (Thread(VMThread,String,int,boolean)): Likewise.
14117 (join(long,int)): Likewise.
14118 (resume()): Likewise.
14119 (sleep(long,int)): Likewise.
14120 (start()): Likewise.
14121 (stop()): Likewise.
14122 (suspend()): Likewise.
14124 (getState()): Return either state or use VMThread.
14125 * java/lang/VMThread.java:
14126 (getState()): Added default implementation to return
14129 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
14131 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14132 GdkPixbuf correctly on big endian systems. Fix a typo in the little
14133 endian swapping code.
14135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14136 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14137 without alpha information correctly on big endian systems.
14139 2006-06-28 Roman Kennke <kennke@aicas.com>
14141 * gnu/java/net/local/LocalSocket.java
14142 (setSoTimeout): Don't throw exception and ignore request.
14143 (getSoTimeout): Don't throw exception and always return 0.
14145 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14147 * javax/swing/JComponent.java
14148 (getRegisteredKeyStrokes): Implemented.
14150 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14152 * javax/swing/JComponent.java
14153 (verifyInputWhenFocusTarget): Initialise to true.
14155 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14157 * java/beans/VetoableChangeSupport.java
14158 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14160 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14161 for null property name and/or listener,
14162 * javax/swing/JComponent.java
14163 (getListeners): Handle VetoableChangeListener.class as a special case,
14164 (getVetoableChangeListeners): Fetch these from the
14165 vetoableChangeSupport object.
14167 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14169 * javax/swing/JComponent.java
14170 (componentPopupMenu): New field,
14171 (inheritsPopupMenu): New field,
14172 (getInheritsPopupMenu): Implemented,
14173 (setInheritsPopupMenu): Likewise,
14174 (getComponentPopupMenu): Likewise,
14175 (setComponentPopupMenu): Likewise,
14176 * javax/swing/JLabel.java
14177 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14179 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14181 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14182 (toString): New method.
14183 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14184 (toString): New method.
14185 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14186 (toString): New method.
14187 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14188 Handle case when Q is null.
14189 (decodePrivateKey): Likewise.
14190 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14192 (decodePublicKey): Likewise.
14193 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14194 aliases for all block ciphers.
14195 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14196 (engineDoPhase): Compute fully the shared secret.
14197 (checkState): New method.
14199 (engineGenerateSecret()): Reset key-agreement before returning.
14200 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14201 Reset key-agreement before returning.
14202 (engineGenerateSecret(String)): Reset key-agreement before returning.
14203 (engineInit(Key,SecureRandom)): Call reset() before returning.
14204 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14205 (engineInit): Replace printing to System.out with conditional logging.
14206 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14207 When the key-size is not specified, attempt best effort to find a suitable
14208 value among those advertised by the cipher before setting it to the length
14209 of provided key material.
14211 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14213 * javax/swing/table/DefaultTableColumnModel.java
14214 (changeEvent): Don't initialize yet, removed FIXME,
14215 (fireColumnModelChanged): Initialize changeEvent if necessary.
14217 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14219 * java/lang/Thread.java:
14220 (getAllStackTraces()): Implemented.
14221 (getStackTrace()): Likewise.
14223 2006-06-27 Tania Bento <tbento@redhat.com>
14225 * java/awt/Component.java
14226 (setComponentOrientation): NPE should not be thrown.
14228 2006-06-27 Tom Tromey <tromey@redhat.com>
14230 * configure.ac: Create gjar, gnative2ascii, gserialver.
14231 * tools/gappletviewer.in: Quote $@.
14232 * tools/gkeytool.in: Likewise.
14233 * tools/gjarsigner.in: Likewise.
14234 * tools/gjar.in: New file.
14235 * tools/gnative2ascii.in: Likewise.
14236 * tools/gserialver.in: Likewise.
14237 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14239 (bin_SCRIPTS): Likewise.
14241 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14243 * java/lang/management/ThreadMXBean.java:
14244 (getThreadInfo(long[])): Corrected return type.
14245 (getThreadInfo(long[], int)): Likewise.
14247 2006-06-27 Mark Wielaard <mark@klomp.org>
14249 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14250 nothing when listener is null.
14251 (removeFlavorListener): Likewise.
14253 * java/awt/datatransfer/DataFlavor.java
14254 (getRepresentationClassFromMime): Renamed to
14255 getRepresentationClassFromMimeThrows.
14256 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14257 (isRepresentationClassSerializable): Likewise.
14258 (isFlavorJavaFileListType): Likewise and check primary and
14260 (getParameter): Parameters are separated by semi-colons.
14261 (DataFlavor(Class,String,String)): Do some sanity checks.
14262 (DataFlavor(String,String,ClassLoader)): Call
14263 getRepresentationClassFromMimeThrows.
14264 (DataFlavor(String)): Likewise.
14265 (equals(DataFlavor)): Special case primary type text and charset
14268 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14270 * java/awt/Component.java
14271 (setName): Fire required PropertyChangeEvent,
14272 * java/awt/Label.java
14273 (getText): Removed redundant brackets,
14274 (generateName): New method (override),
14275 (nextLabelNumber): New field,
14276 (getUniqueLong): New method.
14278 2006-06-27 Roman Kennke <kennke@aicas.com>
14280 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14281 (createImage): Delegate this to the parent.
14282 (handleEvent): Only handle PAINT/UPDATE events when the
14283 component is actually showing.
14284 (hide): Repaint the parent after hiding a component.
14285 (prepareImage): Have only one return point.
14286 (setVisible): Delegate to show() and hide().
14287 (createVolatileImage): Added null check to avoid NPE.
14289 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14291 * java/awt/Label.java: Reformatted source code.
14293 2006-06-27 Roman Kennke <kennke@aicas.com>
14295 * java/awt/image/BufferedImage.java
14296 (getSource): Use a fixed DirectColorModel to deliver the
14297 RGB pixels to the ImageConsumer.
14299 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14301 * java/awt/Point.java
14302 (setLocation(double, double)): Round to nearest integer coordinates.
14304 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14306 * java/awt/Component.java
14307 (minSizeSet): New field,
14308 (maxSize): Likewise,
14309 (maxSizeSet): Likewise,
14310 (isMaximumSizeSet): Implemented,
14311 (isMinimumSizeSet): Likewise,
14312 (isPreferredSizeSet): Likewise,
14313 (setMaximumSize): Likewise,
14314 (setMinimumSize): Likewise,
14315 (setPreferredSize): Likewise.
14317 2006-06-27 Roman Kennke <kennke@aicas.com>
14319 * javax/imageio/spi/IIORegistry.java
14320 (IIORegistry): Added BMP codec.
14322 2006-06-27 Mark Wielaard <mark@klomp.org>
14324 * javax/swing/JComponent.java
14325 (firePropertyChange(String,char,char)): New override method.
14327 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14329 * java/lang/Thread.java:
14330 (getState()): New method.
14331 * java/lang/management/ClassLoadingMXBean.java:
14332 Corrected class documentation.
14333 * java/lang/management/ManagementFactory.java:
14334 Added new temporary marked stub to get thread bean.
14335 * java/lang/management/OperatingSystemMXBean.java:
14336 Corrected class documentation.
14337 * java/lang/management/RuntimeMXBean.java:
14338 Corrected class documentation.
14339 * java/lang/management/ThreadInfo.java,
14340 * java/lang/management/ThreadMXBean.java:
14342 * vm/reference/java/lang/VMThread.java:
14343 (getState()): New method.
14344 * vm/reference/java/lang/management/VMThreadInfo.java:
14347 2006-06-26 Sven de Marothy <sven@physto.se>
14349 * gnu/javax/imageio/gif/GIFFile.java
14350 * gnu/javax/imageio/gif/GIFImageReader.java
14351 * gnu/javax/imageio/gif/GIFImageSpi.java
14352 * gnu/javax/imageio/gif/GIFStream.java
14354 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14356 2006-06-26 Tania Bento <tbento@redhat.com>
14358 * java/awt/List.java
14359 (List): A list should have at least 4 visible rows.
14360 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14361 not an IllegalArgumentException.
14362 (makeVisible): Should not throw an IllegalArgumentException if
14363 the specified index is out of range.
14365 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14367 * javax/swing/JList.java
14368 (getNextMatch): Reimplemented to perform a circular search for the
14371 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14373 * javax/swing/JList.java
14374 (init): Set default value for visibleRowCount to 8,
14375 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14377 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14379 * javax/swing/JList.java
14380 (valueIsAdjusting): Removed,
14381 (init): Removed initialization of valueIsAdjusting field,
14382 (getValueIsAdjusting): Fetch value from selection model,
14383 (setValueIsAdjusting): Store value in selection model.
14385 2006-06-26 Roman Kennke <kennke@aicas.com>
14387 * javax/swing/plaf/basic/BasicListUI.java
14388 (installKeyboardActions): Rewritten to fit with the
14389 ActionMap/InputMap architecture.
14390 (uninstallKeyboardActions): Implemented.
14391 (ListAction): Made private. Added TODO for splitting
14392 up this bulk Action.
14393 (ListAction.ListAction): New constructor. This one
14394 takes a cmd parameter to be installed as actionCommand.
14396 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14398 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14399 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14401 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14403 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14404 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14405 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14406 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14407 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14408 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14409 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14410 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14411 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14412 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14413 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14414 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14415 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14416 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14417 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14418 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14419 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14420 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14421 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14422 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14423 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14424 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14425 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14426 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14427 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14428 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14429 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14430 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14431 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14432 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14433 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14434 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14435 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14436 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14437 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14438 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14439 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14440 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14441 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14442 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14443 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14444 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14445 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14446 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14447 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14448 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14449 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14450 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14451 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14452 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14453 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14454 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14455 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14456 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14457 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14458 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14459 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14460 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14461 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14462 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14463 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14464 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14465 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14466 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14467 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14468 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14469 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14470 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14471 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14472 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14473 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14474 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14475 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14476 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14477 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14478 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14479 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14480 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14481 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14482 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14483 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14484 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14486 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14488 * javax/swing/JList.java
14489 (setLayoutOrientation): Check for valid argument.
14491 2006-06-26 Roman Kennke <kennke@aicas.com>
14493 * javax/swing/JComponent.java
14494 (firePropertyChange(String,int,int)): New method. Overrides
14495 Component method and makes it public.
14496 (firePropertyChange(String,boolean,boolean)): Likewise.
14498 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14500 * gnu/java/security/.cvsignore: New File.
14501 * gnu/java/security/Configuration.java.in: New File.
14502 * gnu/java/security/Properties.java: Change import from
14503 gnu.classpath.Configuration to gnu.java.security.Configuration.
14504 * gnu/java/security/hash/Whirlpool.java: Likewise.
14505 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14506 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14507 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14508 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14509 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14510 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14511 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14512 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14513 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14514 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14515 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14516 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14517 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14518 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14519 * gnu/java/security/util/Base64.java: Likewise.
14520 * gnu/java/security/x509/X509CRL.java: Likewise.
14521 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14522 * gnu/java/security/x509/ext/Extension.java: Likewise.
14523 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14524 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14525 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14526 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14527 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14528 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14529 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14530 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14531 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14532 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14533 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14534 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14535 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14536 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14537 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14538 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14539 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14540 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14541 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14542 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14543 * gnu/javax/crypto/pad/TBC.java: Likewise.
14544 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14545 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14546 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14547 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14548 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14549 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14550 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14551 * gnu/javax/security/auth/login/GnuConfiguration.java
14552 (getAppConfigurationEntry): Change reference to
14553 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14554 (getConfigFromUserHome): Likewise.
14555 (getInputStreamFromURL): Likewise.
14556 (getUserHome): Likewise.
14558 (processSecurityProperties): Likewise.
14559 (processSystemProperty): Likewise.
14560 (processUserHome): Likewise.
14561 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14562 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14565 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14567 * javax/swing/text/DefaultCaret.java (isActive): New method.
14569 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14571 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14572 * java/lang/management/ClassLoadingMXBean.java:
14573 (getTotalLoadedClassCount()): Corrected return type.
14574 (getUnloadedClassCount()): Likewise.
14575 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14576 (getUnloadedClassCount()): Likewise.
14578 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14580 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14581 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14582 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14583 * gnu/javax/crypto/cipher/Square.java: Likewise.
14584 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14585 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14586 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14587 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14588 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14589 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14590 * gnu/javax/crypto/cipher/DES.java: Likewise.
14591 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14592 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14593 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14594 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14595 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14597 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14599 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14600 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14601 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14602 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14603 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14604 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14605 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14606 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14607 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14608 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14609 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14610 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14611 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14613 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14616 * doc/vmintegration.texinfo:
14617 Updated with information on new VM interface.
14618 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14619 * java/lang/management/ClassLoadingMXBean.java:
14620 New files implementing the class loading bean.
14621 * java/lang/management/ManagementFactory.java:
14622 (getClassLoadingMXBean()): Implemented.
14623 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14624 New VM interface file.
14626 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14628 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14629 (isBootClassPathSupported()): Use SystemProperties
14630 rather than System.getProperty.
14632 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14634 * gnu/java/security/Properties.java: Source formatting.
14635 * gnu/java/security/Registry.java: Likewise.
14637 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14639 * gnu/java/security/util/Util.java: Source formatting.
14640 * gnu/java/security/util/SimpleList.java: Likewise.
14641 * gnu/java/security/util/Sequence.java: Likewise.
14642 * gnu/java/security/util/PRNG.java: Likewise.
14643 * gnu/java/security/util/ExpirableObject.java: Likewise.
14644 * gnu/java/security/util/Base64.java: Likewise.
14645 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14646 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14647 * gnu/java/security/sig/ISignature.java: Likewise.
14648 * gnu/java/security/sig/BaseSignature.java: Likewise.
14649 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14650 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14651 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14652 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14653 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14654 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14655 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14656 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14657 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14658 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14659 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14660 * gnu/java/security/provider/Gnu.java: Likewise.
14661 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14662 * gnu/java/security/prng/RandomEvent.java: Likewise.
14663 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14664 * gnu/java/security/prng/MDGenerator.java: Likewise.
14665 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14666 * gnu/java/security/prng/IRandom.java: Likewise.
14667 * gnu/java/security/prng/EntropySource.java: Likewise.
14668 * gnu/java/security/prng/BasePRNG.java: Likewise.
14670 2006-06-23 Francis Kung <fkung@redhat.com>
14672 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14673 (Harness.actionPerformed): Process additional options.
14674 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14675 (J2dBenchmarkWrapper.setAlias): New method.
14676 (J2dBenchmarkWrapper.setComposite): New method.
14677 (J2dBenchmarkWrapper.setFill): New method.
14678 (J2dBenchmarkWrapper.setRotation): New method.
14679 (J2dBenchmarkWrapper.setShear): New method.
14680 (J2dBenchmarkWrapper.setStroke): New method.
14681 (J2dBenchmarkWrapper.setTranslation): New method.
14682 (run): Add additional options to GUI.
14683 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14684 Added protected fields for various options.
14685 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14686 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14687 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14688 (getNextColor): Renamed to setRandom.
14689 (init): Load additional image for texturing if needed.
14690 (loadBufferedImage): New method.
14691 (main): Accept additional command-line switches.
14692 (prepareGraphics): New method.
14693 (resetGraphics): New method.
14694 (runTestSuite): Accept additional image-processing options.
14695 (setRandom): Renamed from getNextColor; generate various random options
14696 (test_drawArc): Rename getNextColor to setRandom.
14697 (test_drawCubic): Likewise.
14698 (test_drawEllipse): Likewise.
14699 (test_drawGeneralPath): Likewise.
14700 (test_drawImage): Likewise.
14701 (test_drawLine): Likewise.
14702 (test_drawQuadCurve): Likewise.
14703 (test_drawRectangle): Likewise.
14704 (test_drawRoundRectangle): Likewise.
14705 (test_drawTransparentImage): Likewise.
14706 (test_fillArc): Rename getNextColor to setRandom.
14707 (test_fillEllipse): Likewise.
14708 (test_fillGeneralPath): Likewise.
14709 (test_fillRectangle): Likewise.
14710 (test_fillRoundRectangle): Likewise.
14711 (TestRecorder.getAverage): Round the average time.
14713 2006-06-23 Tom Tromey <tromey@redhat.com>
14715 * java/util/logging/LoggingMXBean.java: New file.
14716 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14717 (loggingBean): New field.
14718 (getLoggingMXBean): New method.
14720 2006-06-23 Tania Bento <tbento@redhat.com>
14722 * java/awt/TextField.java
14723 (TextField): Default number of columns should be 0, not 1.
14724 (TextField): Check if number of columns given as argument
14725 is valid (>= 0) and set the number of columns accordingly.
14726 (TextField): Check if the string passed is null. If it is,
14727 set columns to 0, else columns is set to the length of
14730 2006-06-23 Roman Kennke <kennke@aicas.com>
14732 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14733 (InternalFramePropertyChangeListener.propertyChange):
14734 Don't call getPropertyName() repeatedly. Added null checks
14735 to avoid NPEs. Call closeFrame() if the closed property
14738 2006-06-23 Roman Kennke <kennke@aicas.com>
14740 * javax/swing/JInternalFrame.java
14741 (maxTransition): Removed.
14742 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14743 Don't initialize storedBounds here.
14744 (dipose): Rewritten to correctly dispose the JInternalFrame.
14745 (getDesktopIcon): Don't initialize desktopIcon here.
14746 (getLayer): Delegate to JLayeredPane.getLayer().
14747 (getNormalBounds): Return bounds when storedBounds == null,
14748 otherwise storedBounds.
14749 (hide): Don't change selection. Also hide the desktopIcon.
14750 (moveToBack): Call getParent() only once.
14751 (moveToFront): Call getParent() only once.
14752 (pack): Call validate() to make sure that the layout is
14753 propagated to the children.
14754 (setClosed): Fire InternalFrameEvent first, before the
14756 (setJMenuBar): Fire PropertyChangeEvent for this property.
14757 (setLayer): Delegate to JLayeredPane.
14758 (setLayeredPane): Check for null and throw IllegalArgumenException.
14759 (setMaximum): Remove handling of maxTransition and normalBounds.
14760 Should probably be done in the UI.
14761 (setNormalBounds): Store Rectangle object directly, not a copy.
14762 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14763 adding the RootPane doesn't add it to the contentPane.
14764 Fire PropertyChangeEvent.
14765 (setSelected): Added condition for when this property must not
14767 (show): Don't ask the DesktopPane to select the frame. Moved
14768 code around to fire InternalFrameEvent before actually calling
14769 super.show(). Also make the desktopIcon visible.
14770 (setTitle): Fire PropertyChangeEvent unconditionally.
14772 2006-06-23 Roman Kennke <kennke@aicas.com>
14774 * javax/swing/JLayeredPane.java
14775 (getPosition): Moved code around to avoid unnecessary method calls.
14776 (setPosition): Delegate to setLayer().
14777 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14778 (insertIndexForLayer(Component,int,int)): New helper method
14779 to support the use of setComponentZOrder() which doesn't remove
14780 the component and thus the insertIndexForLayer must ignore
14781 the component to be moved to get the index right.
14782 (setLayer): Added check to prevent unnecessary execution of
14783 method body. Changed to update the component order here.
14784 Added repaint() to make sure that the update becomes visible.
14785 (addImpl): Call setLayer() only when a constraint has been specified.
14786 Validate and repaint the JLayeredPane.
14788 2006-06-23 Roman Kennke <kennke@aicas.com>
14790 * java/awt/Container.java
14791 (getComponentZOrder): Use ncomponents instead of
14792 component.length so that we don't consider the empty space
14793 after the last component.
14795 2006-06-22 Roman Kennke <kennke@aicas.com>
14797 * javax/swing/JComponent.java
14798 (vetoableChangeSupport): New field.
14799 (removeVetoableChangeListener): Rewritten to use
14800 vetoableChangeSupport.
14801 (addVetoableChangeListener): Rewritten to use
14802 vetoableChangeSupport.
14803 (fireVetoableChange): Rewritten to use
14804 vetoableChangeSupport.
14805 (addPropertyChangeListener): Removed. This is handled in
14807 (firePropertyChange(String,boolean,boolean)): Likewise.
14808 (firePropertyChange(String,char,char)): Likewise.
14809 (firePropertyChange(String,int,int)): Likewise.
14810 (revalidate): Don't do anything when the commponent has no
14813 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14815 * javax/swing/JLabel.java: Updated API docs.
14817 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14819 * java/awt/Insets.java: Updated copyright year.
14820 (toString): Changed string, removed a line from the
14823 2006-06-22 Roman Kennke <kennke@aicas.com>
14825 * javax/swing/text/AbstractDocument.java
14826 (AbstractDocument): Set the i18n document property.
14827 (removeImpl): Added checks for correct boundaries.
14829 2006-06-22 Roman Kennke <kennke@aicas.com>
14831 * javax/swing/text/PlainDocument.java
14832 (rootElement): Changed type to Element.
14833 (tabSize): Removed field. This is stored in the document properties
14835 (PlainDocument): Set tabSize property. Init rootElement without
14837 (insertUpdate): Rewritten. The previous implementation did not
14838 handle some corner cases properly and was a mess.
14839 (removeUpdate): Cast rootElement to BranchElement.
14841 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14843 * javax/swing/plaf/basic/BasicLabelUI.java
14844 (installKeyboardActions): Implemented,
14845 (uninstallKeyboardActions): Implemented,
14846 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14849 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14851 * javax/swing/JMenu.java:
14852 (removeAll): Added check for popupMenu not being null.
14854 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14856 * javax/swing/JLabel.java
14857 (getText): Updated API docs,
14858 (setText): Corrected the check for an unchanged value, and the update
14859 of the displayedMnemonicIndex.
14861 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14863 * javax/swing/JLabel.java
14864 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14866 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14867 where label text is null.
14869 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14871 * javax/swing/JLabel.java
14872 (setDisplayedMnemonic): Updated API docs,
14873 (getDisplayedMnemonic): Removed unnecessary type-cast,
14874 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14875 (getDisplayedMnemonicIndex): Updated API docs.
14877 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14879 * java/util/Collections (entrySet): Fixed compile error.
14881 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14883 * javax/swing/DefaultListSelectionModel.java
14884 (getSelectionMode): Updated API docs,
14885 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14886 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14887 setSelectionInterval(),
14888 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14889 SINGLE_INTERVAL_SELECTION cases.
14891 2006-06-21 Roman Kennke <kennke@aicas.com>
14893 * javax/swing/text/AbstractDocument.java
14894 (BranchElement.numChildren): New field.
14895 (BranchElement.BranchElement): Initialize children array with
14896 one element (that's the least number of elements that makes sense).
14897 Initialize numChildren.
14898 (BranchElement.children): Use numChildren as boundary.
14899 (BranchElement.getElement): Use numChildren as boundary.
14900 (BranchElement.getElementCount): Use numChildren as boundary.
14901 (BranchElement.getElementIndex): Use numChildren as boundary.
14902 (BranchElement.getEndOffset): Use numChildren as boundary.
14903 (BranchElement.getStartOffset): Use numChildren as boundary.
14904 (BranchElement.positionToElement): Use numChildren as boundary.
14905 (BranchElement.replace): Handle the children array more efficiently
14906 by growing in blocks > 1, and reusing space from removed elements.
14907 (LeafElement.startDelta): Removed.
14908 (LeafElement.endDelta): Removed.
14909 (LeafElement.LeafElement): Removed handling of deltas.
14910 (LeafElement.getEndOffset): Likewise.
14911 (LeafElement.getStartOffset): Likewise.
14912 * javax/swing/text/JTextComponent.java
14913 (setDocument): Added locking of the old document to avoid dangling
14914 notification beeing delivered while the document is beeing
14916 (getScrollableTracksViewportWidth): Fixed condition.
14917 * javax/swing/text/PlainDocument.java
14918 (createDefaultRoot): Create elements without AttributeSet.
14919 * javax/swing/text/rtf/RTFParser.java
14920 (parseFile): Handle slightly incorrect RTF gracefully.
14921 * javax/swing/text/rtf/RTFScanner.java
14922 (lastToken): New field.
14923 (readTokenImpl): New method.
14924 (peekToken): New method.
14925 (readToken): Changed to call readTokenImpl or return the lastToken
14926 if there's one present.
14928 2006-06-21 Tania Bento <tbento@redhat.com>
14930 * javax/swing/JMenu.java
14931 (remove): An IllegalArgumentException should be thrown if
14932 either index < 0 or if index > 0 and there are no menu
14933 components. Also, a check was added that ensures there are
14934 menu components before removing the desired the component.
14936 2006-06-21 Lillian Angel <langel@redhat.com>
14938 * javax/swing/text/DefaultCaret.java
14939 (install): Added check to prevent NPE.
14940 (propertyChange): Added checks to prevent NPEs.
14942 2006-06-21 Tania Bento <tbento@redhat.com>
14944 * javax/swing/JMenu.java
14945 Changed instantiation of popupMenu to null.
14946 (JMenu): Instantiated popupMenu to new JPopupMenu.
14947 (JMenu): Instantiated popupMenu to new JPopupMenu.
14948 (add): Changed popupMenu to getPopupMenu().
14949 (add): Changed popupMenu to getPopupMenu().
14950 (add): Changed popupMenu to getPopupMenu().
14951 (add): Changed popupMenu to getPopupMenu().
14952 (remove): Changed popupMenu to getPopupMenu().
14953 (remove): Changed popupMenu to getPopupMenu().
14954 (insert): Changed popupMenu to getPopupMenu().
14955 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14956 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14957 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14958 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14959 (getMenuComponents): Changed popupMenu to getPopupMenu().
14960 (getPopupMenu): Check first if popupMenu is null and if so,
14961 instantiate it to a new JPopupMenu and set the invoker.
14962 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14963 (popupMenuWillBecomeVisible): Component Listener should only
14964 be added to the root container if the root container is not
14965 null. This avoids a null pointer exception.
14967 2006-06-21 Tania Bento <tbento@redhat.com>
14969 * javax/swing/JMenu.java
14970 (JMenu): Delay should be set to 200, not default of 0.
14971 (JMenu): Delay should be set to 200, not default of 0.
14972 (JMenu): Delay should be set to 200, not default of 0.
14973 (JMenu): Delay should be set to 200, not default of 0.
14974 (remove): Added check that index >= 0 before removing
14976 (getItem): Return null if item count equals 0.
14977 (isTearOff): Should throw new error and not return false.
14978 (getMenuComponent): Return null if popupMenu is null or
14979 if there are no menu components.
14981 2006-06-21 Roman Kennke <kennke@aicas.com>
14983 * java/awt/font/FontRenderContext.java:
14984 (equals): Added special conditions for affineTransform beeing
14987 2006-06-21 Roman Kennke <kennke@aicas.com>
14989 * javax/swing/UIManager.java
14990 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14991 must not be cleared.
14993 2006-06-21 Roman Kennke <kennke@aicas.com>
14995 * javax/swing/plaf/metal/MetalUtils.java
14996 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14997 Graphics2D is available. Use fillRect instead of drawLine, this
14999 (paintVerticalGradient): Use paintHorizontalGradient2D when
15000 Graphics2D is available. Use fillRect instead of drawLine, this
15002 (paintHorizontalGradient2D): New method. Paints gradient
15003 using Graphics2D functions.
15004 (paintVerticalGradient2D): New method. Paints gradient
15005 using Graphics2D functions.
15007 2006-06-21 Roman Kennke <kennke@aicas.com>
15009 * javax/swing/plaf/basic/BasicButtonListener.java
15010 (propertyChange): Create a TextLayout and store it in the button
15011 when the 'text' property changes.
15012 * javax/swing/plaf/basic/BasicButtonUI.java
15013 (paintText): Call BasicGraphicsUtils utility method for
15014 drawing strings, instead of Graphics.drawString().
15015 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15016 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15017 cached text layouts as client properties in JComponents.
15018 (drawString(JComponent,Graphics,String,int,int)): New helper method.
15019 (drawStringUnderlineCharAt): New helper method.
15020 * javax/swing/plaf/basic/BasicMenuItemUI.java
15021 (PropertyChangeHandler.propertyChange): Update cached text layout
15022 when 'text' property changes. Use equals() instead of == for
15024 (paintText): Use new BasicGraphicsUtils methods for painting
15025 the cached text layout.
15026 (installListeners): Call super.installListeners() and remove
15027 the unneeded listener installs.
15028 (uninstallListeners): Call super.uninstallListeners() and remove
15029 the unneeded listener uninstalls.
15031 2006-06-21 Roman Kennke <kennke@aicas.com>
15033 * javax/swing/plaf/basic/BasicTextUI.java
15034 (PropertyChangeHandler.propertyChange): Handle document listener
15036 (background): Removed unneeded fields.
15037 (inactiveBackground): Remove unneeded fields.
15038 (installUI): Install the document listener. Slightly changed
15039 order of operations. Don't trigger modelChanged().
15040 (installDefaults): Only install properties when the
15041 current properties are null or instances of UIResource.
15042 (installListeners): Removed unnecessary listener installs.
15043 (installDocumentListeners): Removed unneeded method.
15044 (uninstallListeners): Removed unnecessary listener uninstalls.
15045 (modelChanged): Removed call to installDocumentListeners().
15046 * javax/swing/plaf/basic/BasicTextFieldUI.java
15047 (propertyChange): Update the colors by fetching them from
15048 SharedUIDefaults. Fixed conditions.
15049 * javax/swing/plaf/basic/SharedUIDefaults.java
15050 (getColor): New method.
15052 2006-06-21 Roman Kennke <kennke@aicas.com>
15054 * javax/swing/SizeSequence.java
15055 (SizeSequence): Initialize array with correct number of entries.
15057 2006-06-21 Roman Kennke <kennke@aicas.com>
15059 * javax/swing/JSplitPane.java
15060 (setDividerLocation): Substract divider size when computing
15063 2006-06-21 Roman Kennke <kennke@aicas.com>
15065 * javax/swing/JComponent.java
15066 (paintChildrenWithOverlap): Determine opaque property by
15067 calling the corresponding Component method, without requiring
15069 (paintChildrenOptimized): Removed old unneeded code.
15070 (paintImmediately): Use JComponent's convertRectangleToAncestor()
15071 method instead of SwingUtilities.convertRectangle(). This is
15074 2006-06-21 Roman Kennke <kennke@aicas.com>
15076 * javax/swing/AbstractButton.java
15077 (init): Call setText() instead of setting the property directly,
15078 so that listeners (especially in the UI) get notified.
15080 2006-06-21 Roman Kennke <kennke@aicas.com>
15082 * javax/swing/UIManager.java
15083 (MultiplexUIDefaults): New inner class.
15084 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15085 (userUIDefaults): Changed name to be lookAndFeelDefaults.
15086 (<cinit>): Call setLookAndFeel(String) instead of trying to load
15087 directly. Print stacktrace if something goes wrong.
15088 (get): Delegate call to currentUIDefaults.
15089 (getDefaults): If currentUIDefaults is null, then lazily instantiate
15091 (getUI): Delegate call to currentUIDefaults.
15092 (put): Delegate call to currentUIDefaults.
15093 (setLookAndFeel): Initialize currentUIDefaults with
15094 MultiplexUIDefaults. Set lookAndFeelDefaults.
15095 (setLookAndFeel): Use current thread's context classloader for
15098 2006-06-21 Roman Kennke <kennke@aicas.com>
15100 * javax/swing/text/GapContent.java
15101 (GapContentPosition.GapContentPosition): Replace
15102 Collections.binarySearch with call to local search() to make
15103 sure we find the first object that equals the searched object.
15104 (setPositionsInRange): Likewise.
15105 (adjustPositionsInRange): Likewise.
15106 (search): New helper method.
15108 2006-06-21 Gary Benson <gbenson@redhat.com>
15110 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15111 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15112 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15114 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15116 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15117 APPLETVIEWER_EXECUTABLE to gappletviewer.
15119 2006-06-20 Tom Tromey <tromey@redhat.com>
15121 PR classpath/28095:
15122 * java/net/URL.java (URL): Throw MalformedURLException if a
15123 RuntimeException is caught. Chain exceptions.
15125 2006-06-20 Lillian Angel <langel@redhat.com>
15127 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15128 (create): Added check to prevent Seg Fault. Should not
15129 set the label if it is null.
15130 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15131 (setText): Changed to be a non-native function. Calls
15132 setNativeText if the String parameter is non-null.
15133 (setNativeText): Replaces old native setText function.
15134 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15135 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15136 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15137 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15138 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15139 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15141 2006-06-20 Lillian Angel <langel@redhat.com>
15143 * javax/swing/text/JTextComponent.java
15144 (AccessibleJTextComponent): Rewrote all javadocs
15145 for this inner class.
15147 2006-06-20 Francis Kung <fkung@redhat.com>
15149 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15150 Changed many members to be protected.
15151 (J2dBenchmark): moved to init() instead.
15152 (init): New method.
15153 (main): Call init() after creating object
15154 (testComplete): New method.
15155 (test_drawArc): Use maxTests varialbe instead of constant.
15156 (test_drawCubicCurve): Likewise.
15157 (test_drawEllipse): Likewise.
15158 (test_drawGeneralPath): Likewise.
15159 (test_drawImage): Likewise.
15160 (test_drawLine): Likewise.
15161 (test_drawQuadCurve): Likewise.
15162 (test_drawRectangle): Likewise.
15163 (test_drawRoundRectangle): Likewise.
15164 (test_drawTransparentImage): Likewise.
15165 (test_fillArc): Likewise.
15166 (test_fillEllipse): Likewise.
15167 (test_fillGeneralPath): Likewise.
15168 (test_fillRectangle): Likewise.
15169 (test_fillRoundRectangle): Likewise.
15170 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15171 (GraphicsTest.runSetWithClipping): Likewise.
15172 (GraphicsTest.runSetZeroClipping): Likewise.
15173 (GraphicsTest.run): Added checks for more option flags.
15174 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15177 2006-06-20 Roman Kennke <kennke@aicas.com>
15179 * javax/swing/text/GapContent.java
15180 (GapContentPosition.mark): New field.
15181 (GapContentPosition.index): Removed.
15182 (GapContentPosition.GapContentPosition): Changed to take the
15183 real offset as parameter. Added handling of reference counter.
15184 Try to cleanup before creating new instances.
15185 (getOffset): Delegate to the Mark method with same name.
15186 (Mark): New class, encapsulating a mark.
15187 (positionMarks): Removed field.
15188 (numMarks): Removed field.
15189 (marks): New field.
15190 (queueOfDeath): New field.
15191 (GapContent): Removed init of old fields, added init of new fields.
15192 (createPosition): Added check for validity of arguments.
15193 Create GapContentPosition directly with offset.
15194 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15195 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15196 (shiftGapStartDown): Call resetMarksAtZero().
15197 (shiftGapEndUp): Call resetMarksAtZero().
15198 (replace): Don't call resetMarksAtZero().
15199 (setPositionInRange): Replaced by simpler algorithm, similar to
15200 adjustPositionsInRange.
15201 (adjustPositionsInRange): Adapted to use of Mark objects.
15202 (resetMarksAtZero): Reset all marks that point to zero instead
15203 of only the first one.
15204 (dumpMarks): Adjusted to dump Mark objects.
15205 (insertMark): Removed.
15206 (garbageCollect): New method. Cleans up the marks list.
15207 (binarySearch): Removed.
15209 2006-06-20 Lillian Angel <langel@redhat.com>
15211 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15212 (drawImage): Added call to updateColor because
15213 Cairo seems to lose the current color.
15215 2006-06-20 Gary Benson <gbenson@redhat.com>
15217 * java/awt/Toolkit.java: Add security check.
15218 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15219 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15221 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15223 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15224 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15225 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15226 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15227 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15228 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15229 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15230 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15231 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15232 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15233 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15234 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15235 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15236 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15237 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15238 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15239 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15240 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15241 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15243 2006-06-19 Lillian Angel <langel@redhat.com>
15245 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15246 (drawImage): Should always use getRGB to get the pixels.
15247 getData returns an incorrect array of pixels.
15249 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15251 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15252 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15253 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15254 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15255 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15256 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15257 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15258 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15259 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15260 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15261 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15262 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15263 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15264 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15265 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15266 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15267 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15268 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15269 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15270 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15271 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15272 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15273 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15274 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15275 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15276 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15277 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15278 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15279 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15280 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15281 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15282 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15283 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15284 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15285 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15286 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15288 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15290 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15292 2006-06-19 Roman Kennke <kennke@aicas.com>
15294 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15295 (drawImage): Clip volatile image correctly.
15296 (drawVolatileImage): Added arguments for clipping.
15297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15298 (drawVolatileImage): Added arguments for clipping. Clip image
15300 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15302 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15305 * java/rmi/server/UID.java (constructor): Synchronized
15306 the whole constructor on the UID class.
15308 2006-06-19 Roman Kennke <kennke@aicas.com>
15310 * javax/swing/RepaintManager.java
15311 (addInvalidComponent): Only add component that are displayable,
15312 that have displayable parents and that have a validateRoot.
15313 Also, don't validate components that have a CellRendererPane
15316 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15318 * javax/swing/plaf/IconUIResource.java
15319 (IconUIResource): Throw IllegalArgumentException for null icon.
15321 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15324 * java/rmi/server/UID.java (constructor): First increment
15325 uidCounter, and then use the value.
15327 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15329 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15330 * java/awt/GridBagConstraints.java: Indent.
15332 2006-06-18 Tom Tromey <tromey@redhat.com>
15334 * native/jni/gconf-peer/.cvsignore: New file.
15336 2006-06-18 Tom Tromey <tromey@redhat.com>
15338 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15339 Also handle short options.
15341 2006-06-18 Jim Huang <jserv@kaffe.org>
15343 PR classpath/28076:
15344 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15347 2006-06-19 Mark Wielaard <mark@klomp.org>
15349 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15350 on gnu/java/util/prefs/gconf/%.class.
15351 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15352 chache typo, should be cache.
15353 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15355 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15357 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15358 Don't return a value for void function.
15359 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15361 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15362 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15364 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15365 Mark clazz ad unused.
15367 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15369 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15370 * gnu/java/security/hash/Tiger.java: Likewise.
15371 * gnu/java/security/hash/Sha512.java: Likewise.
15372 * gnu/java/security/hash/Sha384.java: Likewise.
15373 * gnu/java/security/hash/Sha256.java: Likewise.
15374 * gnu/java/security/hash/Sha160.java: Likewise.
15375 * gnu/java/security/hash/RipeMD160.java: Likewise.
15376 * gnu/java/security/hash/RipeMD128.java: Likewise.
15377 * gnu/java/security/hash/MD5.java: Likewise.
15378 * gnu/java/security/hash/MD4.java: Likewise.
15379 * gnu/java/security/hash/MD2.java: Likewise.
15380 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15381 * gnu/java/security/hash/Haval.java: Likewise.
15382 * gnu/java/security/hash/HashFactory.java: Likewise.
15383 * gnu/java/security/hash/BaseHash.java: Likewise.
15385 2006-06-18 Sven de Marothy <sven@physto.se>
15387 * java/awt/event/KeyEvent.java:
15388 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15389 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15390 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15392 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15394 * gnu/java/security/util/Prime2.java: Removed.
15395 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15396 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15397 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15398 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15399 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15400 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15401 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15402 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15403 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15404 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15405 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15406 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15408 2006-06-18 Sven de Marothy <sven@physto.se>
15410 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15411 * java/awt/font/TextMeasurer.java: Fix copyright date,
15412 remove commented-out code.
15414 2006-06-18 Sven de Marothy <sven@physto.se>
15416 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15417 (FreetypeGlyphVector, clone): Implement cloning.
15418 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15419 * java/awt/font/TextMeasurer.java: Implement.
15420 * java/awt/font/LineBreakMeasurer.java:
15421 Reimplement to use TextMeasurer.
15422 * java/awt/font/TextLayout.java
15424 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15425 (getText, getFont): New private static methods.
15426 (setCharIndices): New method.
15427 * java/text/AttributedString.java
15428 (AttributedString): Fix constructor to stop at end point.
15430 2006-06-17 Tom Tromey <tromey@redhat.com>
15432 * lib/gen-classlist.sh.in: Search all top-level directories, not
15433 just 'org', in external.
15435 2006-06-12 Mario torre <neugens at limasoftware.net>
15437 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15438 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15439 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15440 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15442 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15443 * configure.ac: update to introduce new files. Added options
15444 to build gconf native peer used by the GConf preference backend.
15445 * include/Makefile.am: update to introduce new files.
15446 * native/jni/Makefile.am update to introduce new files.
15447 * scripts/check_jni_methods.sh: added three new ignored file
15449 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15450 build gconf-peer shared library.
15452 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15454 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15455 Use Integer.valueOf() instead of new Integer().
15456 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15457 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15458 * gnu/java/security/util/Sequence.java: Likewise.
15459 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15460 * gnu/java/security/x509/X509Certificate.java: Likewise.
15461 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15462 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15463 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15464 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15465 * gnu/javax/crypto/cipher/DES.java: Likewise.
15466 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15467 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15468 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15469 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15470 * gnu/javax/crypto/cipher/Square.java: Likewise.
15471 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15472 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15473 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15474 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15475 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15476 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15477 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15478 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15479 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15480 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15481 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15482 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15483 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15484 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15485 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15486 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15487 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15488 * gnu/javax/crypto/mode/EAX.java: Likewise.
15489 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15490 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15491 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15492 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15493 * java/security/cert/X509CertSelector.java: Likewise.
15495 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15497 * javax/management/DynamicMBean.java:
15498 (setAttribute): Fixed to return void.
15499 * javax/management/MBeanFeatureInfo.java:
15502 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15504 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15505 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15506 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15507 into engineInitHandler and reuse the code in
15508 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15509 (engineInitHandler): New method.
15510 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15511 null, use random or default information when possible.
15513 2006-06-16 Francis Kung <fkung@redhat.com>
15515 * examples/gnu/classpath/examples/swing/Demo.java:
15516 (mkButtonBar): Rename FillRect to JNIOverhead.
15517 (mkMenuBar): Rename FillRect to JNIOverhead.
15518 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15519 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15520 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15521 Moved from old FillRect.
15523 2006-06-16 Tom Tromey <tromey@redhat.com>
15525 * tools/.cvsignore: Added new tool names.
15527 2006-06-16 Keith Seitz <keiths@redhat.com>
15529 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15530 instantiation so that EventManager is created when getDefault
15532 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15535 2006-06-16 Keith Seitz <keiths@redhat.com>
15537 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15538 (_initCount): New field.
15539 (Jdwp): Don't set isDebugging until fully initialized.
15540 (subcomponentInitialized): New method.
15541 (run): Wait for PacketProcessor and JdwpConnection to
15542 startup, then set isDebugging, and then let this thread
15544 * gnu/classpath/jdwp/transport/JdwpConnection.java
15545 (run): Add synchronization notification.
15546 * gnu/classpath/jdwp/processor/PacketProcessor.java
15549 2006-06-16 Tom Tromey <tromey@redhat.com>
15551 * NEWS: Updated for JSR 166.
15553 2006-06-16 Tom Tromey <tromey@redhat.com>
15555 * lib/Makefile.am (compile_classpath): Added jsr166.
15556 * configure.ac: Added external/jsr166/Makefile.
15557 * external/Makefile.am (SUBDIRS): Added jsr166.
15558 * external/jsr166/Makefile.am: New file.
15559 * lib/gen-classlist.sh.in: Look in external/jsr166.
15561 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15563 * gnu/classpath/jdwp/event/ExceptionEvent:
15564 Added Object instance to javadoc in constructor
15565 * gnu/classpath/jdwp/event/MethodEntryEvent:
15567 * gnu/classpath/jdwp/event/MethodExitEvent:
15569 * gnu/classpath/jdwp/event/SingleStepEvent:
15572 2006-06-16 Tom Tromey <tromey@redhat.com>
15574 Imported JSR 166 reference implementation:
15575 * .classpath: Added external/jsr166.
15576 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15577 * java/util/AbstractQueue.java: Removed.
15578 * java/util/Queue.java: Removed.
15579 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15580 (runPeriodic): Added explicit cast.
15581 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15584 2006-06-16 Tom Tromey <tromey@redhat.com>
15586 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15588 (getCallerClass): Now static.
15589 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15591 2006-06-16 Lillian Angel <langel@redhat.com>
15593 * java/awt/FileDialog.java
15594 (FileDialog): Added @since tag to API docs.
15595 (FileDialog): Likewise.
15596 (FileDialog): Likewise.
15597 * java/awt/Font.java:
15598 Added @since tag to TYPE1_FONT field docs.
15599 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15600 (isThumbRollover): Likewise.
15601 (setThumbRollover): Likewise.
15602 (getSupportsAbsolutePositioning): Likewise.
15603 * javax/swing/plaf/basic/BasicSliderUI.java:
15604 (isDragging): Likewise.
15606 2006-06-16 Lillian Angel <langel@redhat.com>
15608 * java/awt/FileDialog.java
15609 (FileDialog): Implemented.
15610 (FileDialog): Implemented.
15611 (FileDialog): Implemented.
15612 * java/awt/Font.java:
15613 Added TYPE1_FONT constant field.
15615 2006-06-16 Lillian Angel <langel@redhat.com>
15617 * java/awt/font/TextLayout.java:
15618 Removed unneeded imports.
15619 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15620 Added new thumbRollover field.
15621 (mouseMoved): Added code to set thumbRollover field.
15622 (isThumbRollover): New function.
15623 (setThumbRollover): New function.
15624 (getSupportsAbsolutePositioning): Implemented. This
15625 needs to be changed once the feature has been
15627 * javax/swing/plaf/basic/BasicSliderUI.java:
15628 Added new dragging field.
15629 (mouseDragged): Initialized dragging field.
15630 (isDragging): New function.
15631 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15632 (focusGained): Marked as not implemented.
15633 (focusLost): Likewise.
15635 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15637 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15638 Added check for null ThreadId to avoid null pointer
15641 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15643 * javax/swing/DefaultComboBoxModel.java
15644 (removeElementAt): Set new selected item by calling setSelectedItem().
15646 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15648 * javax/swing/DefaultButtonModel.java
15649 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15651 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15653 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15654 (ListDataEvent): Handle case where index0 > index1,
15655 (toString): Implemented.
15657 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15659 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15660 (update): Added subexpression to if-statement.
15662 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15664 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15665 (installDefaults): Removed unneccessary code.
15666 (paint): Removed complex if-cascade, revert to default icon if
15667 icon property is not set.
15668 (getPreferredSize): New method.
15670 2006-06-16 Roman Kennke <kennke@aicas.com>
15673 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15674 (drawImage): Don't use setClip() but instead clipRect() to
15675 intersect the current clip with a new one.
15677 2006-06-15 Tom Tromey <tromey@redhat.com>
15679 * scripts/sanitize-jsr166: New file.
15680 * external/jsr166/IMPORTING: New file.
15681 * vm/reference/sun/reflect/Reflection.java: New file.
15682 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15683 * vm/reference/sun/misc/Unsafe.java: ...here.
15685 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15687 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15688 gjarsigner and keytool to gkeytool.
15689 * doc/tools.texinfo: Add note about tool exectable names.
15690 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15691 jarsigner to gjarsigner and keytool to gkeytool.
15692 * tools/appletviewer.in: Rename ...
15693 * tools/gappletviewer.in: New file.
15694 * tools/jarsigner.in: Rename ...
15695 * tools/gjarsigner.in: New file.
15696 * tools/keytool.in: Rename ...
15697 * tools/gkeytool.in: New file.
15698 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15700 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15702 * javax/management/AttributeList.java:
15703 Add serialization UID.
15704 * javax/management/DynamicMBean.java:
15706 * javax/management/JMRuntimeException.java:
15707 Add serialization UID and correct name
15708 of serialized field.
15709 * javax/management/MBeanInfo.java: New file.
15711 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15713 * javax/management/AttributeList.java,
15714 * javax/management/JMRuntimeException.java,
15715 * javax/management/RuntimeOperationsException.java:
15718 2006-06-15 Lillian Angel <langel@redhat.com>
15720 * java/awt/font/TextLayout.java:
15721 DEFAULT_CARET_POLICY changed to be public static final.
15723 2006-06-15 Tania Bento <tbento@redhat.com>
15725 * javax/swing/plaf/metal/MetalScrollButton.java
15726 (MetalScrollButton): Should set 'focusable' to false.
15728 2006-06-15 Tania Bento <tbento@redhat.com>
15730 * javax/swing/plaf/basic/BasicArrowButton.java
15731 (BasicArrowButton): Should set 'focusable' to false.
15732 (BasicArrowButton): Should set 'focusable' to false.
15734 2006-06-15 Mark Wielaard <mark@klomp.org>
15736 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15737 (getGraphicsConfiguration): Return default screen device.
15738 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15740 (GtkVolatileImage): Record initiating component.
15741 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15742 (getDeviceConfiguration): Return configuration of image component.
15744 2006-06-15 Mark Wielaard <mark@klomp.org>
15746 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15749 2006-06-15 Mark Wielaard <mark@klomp.org>
15751 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15752 with null argument.
15754 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15756 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15757 (matches): Added explicit brackets to return statement.
15759 2006-06-15 Tania Bento <tbento@redhat.com>
15761 * javax/swing/JRadioButtonMenuItem.java
15762 (JRadioButtonMenuItem): Should set 'focusable' to false.
15764 2006-06-15 Tania Bento <tbento@redhat.com>
15766 * javax/swing/JCheckBoxMenuItem.java
15767 (JCheckBoxMenuItem): Should set 'focusable' to false.
15769 2006-06-15 Tania Bento <tbento@redhat.com>
15771 * javax/swing/AbstractButton.java:
15772 (AbstractButton): 'Focusable' should be set to true and not false.
15774 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15776 * java/lang/management/ManagementFactory.java:
15777 Add private constructor to prevent instance creation.
15778 * java/lang/management/ManagementPermission.java:
15781 2006-06-15 Francis Kung <fkung@redhat.com>
15783 * javax/swing/plaf/basic/BasicArrowButton.java:
15784 (BasicArrowButton): move client property for not triggering out
15786 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15787 (configureArrowButton): set client property for not triggering
15788 (installUI): set client property for not triggering
15789 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15790 (PopupHelper.mousePressed): check client property for triggering
15792 2006-06-15 Roman Kennke <kennke@aicas.com>
15795 * javax/swing/RepaintManager.java
15796 (blitBuffer): Substract coordinates the other way around.
15798 2006-06-15 Roman Kennke <kennke@aicas.com>
15801 * javax/swing/JComponent.java
15802 (paintImmediately2): Only paint component without double buffering
15803 when all of it's parents have also double buffering disabled.
15804 (isPaintingDoubleBuffered): New helper method.
15806 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15808 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15809 (draw(Shape)): Pass null transform to getPathIterator(),
15810 (getClip): Likewise,
15811 * gnu/java/print/PostscriptGraphics2D.java
15812 (drawStringShape): Pass null transform to getPathIterator(),
15813 (writeShape): Likewise,
15814 * java/awt/Shape.java: Small updates to API docs.
15816 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15818 * javax/naming/InitialContext.java:
15819 (list(javax.naming.Name)): Fixed generic type.
15820 (list(String)): Likewise.
15821 (listBindings(javax.naming.Name)): Likewise.
15822 (listBindings(String)): Likewise.
15824 2006-06-14 Roman Kennke <kennke@aicas.com>
15826 * javax/swing/plaf/basic/BasicComboBoxUI.java
15827 (getAccessibleChildrenCount): Implemented.
15828 (getAccessibleChild): Implemented.
15829 (isNavigationKey): Implemented.
15830 (KeyHandler.keyPressed): Implemented.
15832 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15834 * java/lang/management/ManagementPermission.java:
15835 Added serialization UID.
15836 * javax/management/Attribute.java: Likewise.
15837 * javax/management/MBeanException.java,
15838 * javax/management/ReflectionException.java:
15839 Added serialization UID and changed to extend
15840 javax.management.JMException.
15842 2006-06-14 Lillian Angel <langel@redhat.com>
15844 * java/awt/Component.java
15845 (ignoreOldMouseEvents): Made static.
15846 (translateEvent): Made static.
15847 * java/awt/TextComponent.java
15848 (ignoreOldMouseEvents): Made static.
15850 2006-06-14 Mark Wielaard <mark@klomp.org>
15852 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15854 (drawRect): Likewise.
15855 (fillRect): Likewise.
15857 2006-06-14 Lillian Angel <langel@redhat.com>
15859 * java/awt/Component.java
15860 (ignoreOldMouseEvents): New helper function.
15861 (translateEvent): Changed to be non-static and use new helper.
15862 * java/awt/TextComponent.java
15863 (ignoreOldMouseEvents): New helper function.
15865 2006-06-14 Roman Kennke <kennke@aicas.com>
15867 * javax/swing/RepaintManager.java
15868 (MERGE_REGIONS): New constant flag.
15869 (commitBuffer): Exclude the merging of regions by default. This
15870 was causing painting artifacts in some applications, especially
15871 when different areas of the GUI are updated synchronously.
15873 2006-06-14 Roman Kennke <kennke@aicas.com>
15875 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15876 New file. This is a benchmark for AWT 1.1 style graphics operations.
15877 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15878 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15880 2006-06-14 Tom Tromey <tromey@redhat.com>
15882 * java/io/File.java (getParent): Javadoc fix.
15884 2006-06-14 Tom Tromey <tromey@redhat.com>
15886 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15888 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15889 when index entry does not exist.
15891 2006-06-14 Tania Bento <tbento@redhat.com>
15893 * javax/swing/AbstractButton.java
15894 (AbstractButton): Set focusable to false, not true.
15896 2006-06-14 Tania Bento <tbento@redhat.com>
15898 * javax/swing/JMenuItem.java
15899 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15901 2006-06-14 Tania Bento <tbento@redhat.com>
15903 * javax/swing/JCheckBoxMenuItem.java
15904 (JCheckBoxMenuItem): Added check to set the selected state.
15906 2006-06-14 Roman Kennke <kennke@aicas.com>
15908 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15909 (cairoDrawLine): New native method.
15910 (cairoDrawRect): New native method.
15911 (cairoFillRect): New native method.
15912 (drawLine): Use special native method.
15913 (drawRect): Use special native method.
15914 (fillRect): Use special native method.
15915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15916 (cairoDrawLine): New native method.
15917 (cairoDrawRect): New native method.
15918 (cairoFillRect): New native method.
15919 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15921 2006-06-14 Mark Wielaard <mark@klomp.org>
15923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15924 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15925 cannot be allocated.
15927 2006-06-14 Tom Tromey <tromey@redhat.com>
15930 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15931 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15933 2006-06-14 Roman Kennke <kennke@aicas.com>
15935 * javax/swing/JComponent.java
15936 (isRepainting): New flag.
15937 (paintImmediately2): Set isRepainting flag.
15938 (getRoot): Removed obsolete method.
15939 (paintDoubleBuffered): Differenciate between paint calls from
15940 RepaintManager and from AWT refresh. Call
15941 RepaintManager.commitBuffer with this and local coordinates.
15942 (findOpaqueParent): Stop searching at heavyweight component. These
15944 (paintChildrenOptimized): Don't paint heavyweight children. These
15945 should care for themselves.
15946 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15947 should care for themselves.
15948 * javax/swing/RepaintManager.java
15949 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15951 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15952 toplevel windows only.
15953 (getRoot): Removed obsolete method.
15954 (commitBuffer): Blit buffer on nearest heavyweight.
15955 (blitBuffer): New helper method.
15956 (getHeavyweightParent): New helper method.
15957 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15958 * javax/swing/SwingUtilities.java
15959 (convertRectangleToAncestor): New helper method.
15961 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15963 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15964 Condition all trace/debug code based on Configuration.DEBUG.
15965 Use logger instead of STDOUT and ot STDERR.
15967 2006-06-13 Lillian Angel <langel@redhat.com>
15969 * native/plugin/gcjwebplugin.cc
15970 (NP_Initialize): Removed code to create whitelist file.
15971 (GCJ_New): Added code to create whitelist file.
15972 (plugin_user_trusts_documentbase): Fixed error message.
15974 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15976 * javax/swing/plaf/metal/MetalIconFactory.java
15977 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15978 prevent overwriting border,
15979 (VerticalSliderThumbIcon.gradientMask): Likewise.
15981 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15983 * javax/management/AttributeNotFoundException.java,
15984 * javax/management/InvalidAttributeValueException.java,
15985 * javax/management/JMException.java,
15986 * javax/management/MBeanException.java,
15987 * javax/management/OperationsException.java,
15988 * javax/management/ReflectionException.java:
15991 2006-06-13 Roman Kennke <kennke@aicas.com>
15993 * java/awt/Component.java
15994 (dispatchEvent): Handle events even when consumed (this might be
15995 picked up later in the dispatching chain).
15996 * javax/swing/plaf/basic/BasicLookAndFeel.java
15997 (PopupHelper.mousePressed): Don't consume event. Only close popup
15998 when target component isn't flagged as DONT_CANCEL_POPUP.
15999 (DONT_CANCEL_POPUP): New package private constant for flagging
16000 special components that don't trigger popup closing.
16001 * javax/swing/plaf/basic/BasicArrowButton.java
16002 (BasicArrowButton): Set client property for not triggering closing
16005 2006-06-13 Lillian Angel <langel@redhat.com>
16007 * java/awt/image/PixelGrabber.java
16008 (PixelGrabber): Added to API documentation.
16010 2006-06-13 Keith Seitz <keiths@redhat.com>
16012 From Kyle Galloway <kgallowa@redhat.com>:
16013 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16014 (ExceptionOnlyFilter): Allow null refId.
16016 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16017 compatibility with filters.
16018 (getParameter): Modified to allow access to above.
16020 2006-06-13 Sven de Marothy <sven@physto.se>
16022 * gnu/java/awt/peer/gtk/CairoSurface.java
16023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16024 (create): Use stride in ints.
16026 2006-06-13 Keith Seitz <keiths@redhat.com>
16028 From Kyle Galloway <kgallowa@redhat.com>:
16029 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16031 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16033 * javax/swing/plaf/basic/BasicSliderUI.java
16034 (calculateThumbSize): Removed unnecessary code,
16035 (calculateThumbLocation): Shift position by one,
16036 (calculateTickRect): Shift position by one when ticks are displayed,
16037 (calculateLabelRect): Calculate rect differently according to whether
16038 or not the labels are visible,
16039 (paintTrack): Shift track down one pixel.
16041 2006-06-13 Lillian Angel <langel@redhat.com>
16043 * java/awt/image/PixelGrabber.java
16044 (PixelGrabber): Removed check to throw exception. JDK does
16046 (startGrabbing): Removed line to print stacktrace.
16048 2006-06-13 Mark Wielaard <mark@klomp.org>
16050 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16051 allocate unused AffineTransform. Add comment about conversion to
16053 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16054 Recognize identity transform as "easy". Always convert to
16055 BufferedImage before calling super.
16057 2006-06-13 Roman Kennke <kennke@aicas.com>
16059 * java/awt/Component.java
16060 (getGraphics): Translate child graphics correctly.
16061 (dispatchEvent): Only dispatch event if it hasn't been consumed
16062 yet by the global dispatcher.
16063 * javax/swing/plaf/basic/BasicLookAndFeel.java
16064 Added some API docs.
16065 (PopupHelper.mousePressed): Consume the event after closing
16068 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16070 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
16072 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16073 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16074 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16075 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16076 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16077 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16078 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16079 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16080 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16081 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16082 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16083 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16084 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16085 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16086 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16087 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16089 2006-06-12 Sven de Marothy <sven@physto.se>
16091 * java/awt/font/LineBreakMeasurer.java): Implement.
16093 2006-06-12 Keith Seitz <keiths@redhat.com>
16095 From Kyle Galloway <kgallowa@redhat.com>:
16096 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16098 2006-06-12 Keith Seitz <keiths@redhat.com>
16100 From Kyle Galloway <kgallowa@redhat.com>:
16101 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16103 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16105 2006-06-12 Roman Kennke <kennke@aicas.com>
16107 * javax/swing/JComponent.java
16108 (paintDoubleBuffered): Correctly translate and clip the Graphics
16110 (clipAndTranslateGraphics): New helper method.
16112 2006-06-12 Roman Kennke <kennke@aicas.com>
16114 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16115 (copy): Use getClip() to copy the clip. Make copied transform
16116 null when original transform is null. Set clip here.
16117 (setTransform): Correctly update the clip.
16118 (setTransformImpl): New method. Updates the actual transform for
16120 (transform): Correctly update the clip.
16121 (translate): Correctly update the clip.
16122 (clip): Handle null clip and argument correctly.
16123 (clipRect): Avoid creating new Rectangle objects.
16124 (getClip): Get the correct copy of the clip.
16125 (setClip): Correctly handle null argument.
16126 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16127 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16128 be null or whatever has been set in copy().
16129 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16130 (drawImage): Add translation to the image coordinates.
16131 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16132 (VolatileImageGraphics): Don't set clip here. The clip can either
16133 be null or whatever has been set in copy().
16135 2006-06-12 Keith Seitz <keiths@redhat.com>
16137 From Kyle Galloway <kgallowa@redhat.com>:
16138 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16139 (forCaught): Removed unused/unnecessary method.
16140 (forUncaught): Likewise.
16141 (matches): Implement.
16143 2006-06-12 Keith Seitz <keiths@redhat.com>
16145 From Kyle Galloway <kgallowa@redhat.com>:
16146 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16148 2006-06-12 Keith Seitz <keiths@redhat.com>
16150 From Kyle Galloway <kgallowa@redhat.com>:
16151 * gnu/classpath/jdwp/event/Event.java: Added constants for
16153 (getParameter): Changed parameter type from Class to int.
16154 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16155 Changed from Class type to constants.
16156 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16158 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16160 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16162 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16164 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16166 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16168 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16170 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16172 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16175 2006-06-12 Lillian Angel <langel@redhat.com>
16177 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16178 (StandaloneAppletWindow): Changed title of standalone window.
16180 2006-06-12 Lillian Angel <langel@redhat.com>
16182 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16183 (layoutContainer): Added missing selectedComponent assignment.
16185 2006-06-12 Lillian Angel <langel@redhat.com>
16187 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16188 (layoutContainer): Added check to prevent exception.
16190 2006-06-12 Tom Tromey <tromey@redhat.com>
16192 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16194 2006-06-12 Mark Wielaard <mark@klomp.org>
16196 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16199 (lock): New method.
16200 (unlock): Likewise.
16201 (draw): Use lock() and unlock().
16203 (drawRenderedImage): Likewise.
16204 (drawImage): Likewise.
16205 (drawGlyphVector): Likewise.
16207 2006-06-12 Roman Kennke <kennke@aicas.com>
16209 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16210 (drawPixels): Include alpha in parameter list.
16211 (cairoFill): Include alpha in parameter list.
16212 (setComposite): Don't modify the color.
16213 (draw(Shape))): Use fill when the current composite has an alpha
16214 of != 1.0, so that the stroked shaped will be composited.
16215 (fill(Shape)): Call cairoFill() with alpha.
16216 (drawImage): Call drawPixels or drawSurface with alpha.
16217 (drawGlyphVector): When composite alpha is != 1.0, render the
16218 outline using fill() to enable compositing for text.
16219 (drawRaster): Call drawPixels with alpha.
16220 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16221 (nativeDrawSurface): Include alpha in parameter list.
16222 (drawSurface): Include alpha in parameter list. Pass it to
16223 nativeDrawSurface().
16224 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16225 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16227 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16228 (drawPixels): Handle possible alpha for compositing.
16229 (cairoFill): Likewise.
16230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16231 (nativeDrawSurface): Handle possible alpha for compositing.
16233 2006-06-12 Mark Wielaard <mark@klomp.org>
16235 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16236 Notify data when completely done. Wait for worker thread to finish.
16237 Rethrow any pending exceptions.
16238 (exception): New field.
16239 (run): Store pending exception.
16241 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16243 * java/lang/management/ManagementPermission.java:
16246 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16248 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16250 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16252 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16253 Use String.charAt().
16255 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16257 * doc/tools.texinfo
16258 (Applet Tools): New chapter.
16259 (appletviewer Tool): New section.
16260 (gcjwebplugin): New section.
16262 2006-06-11 Mark Wielaard <mark@klomp.org>
16264 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16265 Takes GdkPixbufWriter.
16266 (GdkPixbufWriter): Implements Runnable.
16267 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16269 (DATADONE): New static final field.
16271 (write(byte[])): New method.
16273 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16274 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16275 Get dataOutputWriteID from writeClass.
16276 (stream_save_request): Change stream field to writer.
16277 (save_to_stream): Remove FIXME, call writer.
16278 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16281 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16284 Mention new VM interface and use of properties.
16285 * doc/vmintegration.texinfo:
16286 Update with new gnu.java.lang.management section.
16287 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16289 * java/lang/management/ManagementFactory.java:
16290 (getRuntimeMXBean()): Implemented.
16291 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16292 New VM interface file.
16294 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16297 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16298 debug code based on Configuration.DEBUG.
16299 Use logger instead of STDOUT and ot STDERR.
16300 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16301 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16302 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16303 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16304 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16305 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16306 * gnu/javax/crypto/pad/TBC.java: Likewise.
16307 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16308 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16309 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16310 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16311 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16312 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16313 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16314 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16315 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16316 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16317 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16318 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16319 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16320 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16321 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16322 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16323 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16324 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16325 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16326 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16327 * gnu/java/security/Properties.java: Likewise.
16328 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16329 * gnu/java/security/x509/X509CRL.java: Likewise.
16330 * gnu/java/security/x509/ext/Extension.java: Likewise.
16331 * gnu/java/security/util/Prime2.java: Likewise.
16332 * gnu/java/security/util/Base64.java: Likewise.
16333 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16334 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16335 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16336 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16337 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16338 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16339 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16340 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16341 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16342 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16343 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16344 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16345 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16346 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16347 * gnu/java/security/hash/Whirlpool.java: Likewise.
16349 2006-06-11 Mark Wielaard <mark@klomp.org>
16351 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16352 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16353 Remove unused variable glyph_index.
16355 2006-06-11 Mark Wielaard <mark@klomp.org>
16357 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16358 Don't recurse, return false if not an BufferedImage and no image
16360 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16361 end_gdk_drawing() to finally block.
16363 (drawRenderedImage): Likewise.
16364 (drawImage): Likewise.
16365 (drawGlyphVector): Likewise.
16367 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16369 * doc/tools.texinfo: Added text for new -cacert command.
16370 Re-structured sections.
16371 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16372 for -cacert command.
16373 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16374 (_CACERT): Likewise.
16375 (shutdownThread): New field.
16376 (Main): Install shutdown thread.
16377 (main): Uninstall shutdown thread.
16378 (start): Handle new -cacert command.
16379 (getParser): Likewise.
16380 (teardown): Increased visibility.
16381 (ShutdownHook): New inner class.
16382 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16384 2006-06-11 Sven de Marothy <sven@physto.se>
16386 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16387 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16388 (getOutline): Operate on the shape directly.
16389 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16390 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16391 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16392 (getGlyph renamed getGlyphs)
16393 * java/awt/geom/AffineTransform.java
16394 (getTranslateInstance): Set fields directly.
16395 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16396 (getGlyphs): Get all glyph codes at once.
16398 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16401 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16403 2006-06-11 Sven de Marothy <sven@physto.se>
16405 * java/awt/font/TextLayout.java
16406 (getLogicalHighlightShape): Add check.
16407 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16408 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16410 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16412 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16413 Check that every component of 'cn' starts with a valid Java identifier char.
16415 2006-06-10 Tom Tromey <tromey@redhat.com>
16417 * java/io/File.java (pathSeparator): Typo fix.
16419 2006-06-10 Mark Wielaard <mark@klomp.org>
16421 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16423 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16424 Mark all unused parameters.
16425 (cp_gtk_get_cairo_t): Removed.
16426 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16427 Don't mix declerations and statements.
16428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16429 Mark all unused parameters.
16430 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16431 Get cairographics2d pointer directly.
16432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16433 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16434 Use jlong to pass pointer.
16435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16436 Mark all unused parameters.
16437 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16438 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16439 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16440 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16441 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16442 * include/java_io_VMFile.h: Regenerated.
16444 2006-06-10 Roman Kennke <kennke@aicas.com>
16446 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16447 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16448 instead of setClip(), so that an already present clip is intersected
16451 2006-06-10 Mark Wielaard <mark@klomp.org>
16453 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16454 Call getSize() to avoid accessor method.
16456 2006-06-10 Mark Wielaard <mark@klomp.org>
16458 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16459 Qualify ElementSpec.
16461 2006-06-10 Mark Wielaard <mark@klomp.org>
16463 * lib/.cvsignore: Add sun.
16464 * lib/Makefile.am (dist-hook): Likewise.
16466 2006-06-10 Roman Kennke <kennke@aicas.com>
16468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16469 * gnu/java/awt/peer/gtk/CairoSurface.java
16470 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16471 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16472 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16473 * native/jni/gtk-peer/cairographics2d.h
16474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16478 Changed method signatures and calls to pass native pointers directly
16479 into the JNI code, in order to avoid costly lookups on each
16481 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16482 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16483 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16484 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16487 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16490 * javax/swing/text/DefaultStyledDocument.java
16491 (ElementBuffer.insertContentTag):
16492 Do not recreate leaves and do not remove elements here.
16494 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16496 * javax/swing/text/html/HTMLDocument.java
16497 (HTMLReader.HiddenAction): Implemented.
16499 2006-06-10 Roman Kennke <kennke@aicas.com>
16501 * javax/swing/RepaintManager.java
16502 (getVolatileOffscreenBuffer): Store the created buffer.
16503 * javax/swing/JComponent.java
16504 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16505 for better performance.
16507 2006-06-10 Roman Kennke <kennke@aicas.com>
16509 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16510 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16512 (getRealBounds): Overridden to return the correct bounds.
16514 2006-06-10 Roman Kennke <kennke@aicas.com>
16516 * javax/swing/plaf/metal/MetalButtonUI.java
16517 (update): Fixed to paint the gradient under the correct conditions.
16518 (updateWidthGradient): Removed.
16519 (isToolbarButton): New helper method.
16520 (isDrawingGradient): New helper method.
16522 2006-06-09 Roman Kennke <kennke@aicas.com>
16524 * javax/swing/JTabbedPane.java
16525 (setSelectedIndex): Don't change the visibility of the components,
16526 this is done by the UI class.
16527 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16528 (TabbedPaneLayout.layoutContainer): Change visibility of component
16529 here, depending on the selected index. Only do this if the new
16530 selected component is not null. Some programs seem to expect
16532 (visibleComponent): New field.
16533 (getVisibleComponent): Changed to return visibleComponent field.
16534 (setVisibleComponent): Changed to set the visibility of
16535 the old and new visible component.
16537 2006-06-09 Roman Kennke <kennke@aicas.com>
16539 * javax/swing/JComponent.java
16540 (paintChildrenOptimized): Paint component with a new Graphics
16541 object to protect the other painting code from modifications
16542 done in that object, and avoid cleanup ops on possibly dispose()ed
16545 2006-06-09 Sven de Marothy <sven@physto.se>
16547 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16548 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16549 Use GTK locks while disposing (Xlib) surface.
16551 2006-06-09 Tom Tromey <tromey@redhat.com>
16553 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16554 (uninstall-local): Delete 'sun' directory.
16555 (glibj.zip): Include 'sun' classes.
16556 (clean-local): Delete 'sun' directory.
16557 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16559 2006-06-09 Roman Kennke <kennke@aicas.com>
16561 * gnu/java/awt/java2d/AbstractGraphics2D.java
16562 (drawImage): Fixed scaling.
16563 (fillShape): Removed offset handling.
16564 (fillShapeImpl): Limit scanlining to device bounds.
16565 (getSegments): Removed offset handling.
16566 * gnu/java/awt/java2d/PolyEdge.java
16567 (toString): Include isClip flag in output.
16569 2006-06-08 Sven de Marothy <sven@physto.se>
16571 * java/awt/font/TextLayout.java
16572 (getOutline): Allow null transform.
16574 2006-06-08 Sven de Marothy <sven@physto.se>
16576 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16577 (drawString): Use TextLayout instead of GlyphVector.
16579 2006-06-08 Sven de Marothy <sven@physto.se>
16581 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16582 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16583 New constructor for bidirectionality.
16584 (getGlyphMetrics): Return whitespace glyphs.
16585 (getLogicalBounds): Offset rectangles to correct positions.
16586 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16587 (getBaselineFor): Default to ROMAN_BASELINE.
16588 (GdkFontLineMetrics): Guess some values for underline and
16590 (layoutGlyphVector): Use bidirectionality.
16591 * java/awt/font/TextLayout.java: Implement, mostly.
16593 2006-06-09 Anthony Green <green@redhat.com>
16595 PR classpath/27888:
16596 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16597 * java/util/Collections.java (binarySearch): Use unsigned shift.
16598 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16600 2006-06-09 Tom Tromey <tromey@redhat.com>
16602 * tools/.cvsignore: Added .deps.
16604 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16606 PR classpath/27966:
16607 * gnu/javax/security/auth/login/ConfigFileParser.java
16608 (validateClassName): Quote '.' in regexp.
16610 2006-06-09 Tom Tromey <tromey@redhat.com>
16612 PR classpath/23863:
16613 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16615 * native/fdlibm/mprec.c: New version from newlib. Commented out
16616 some includes. Added <assert.h>.
16617 (_reent, _Bigint): New defines.
16618 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16619 (__ULong, __Long): New types.
16620 (_calloc_r): New function.
16621 (Balloc): Dynamically add new _freelist entries as needed.
16622 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16623 MAX_BIGNUMS to size _x[].
16624 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16625 _allocation_map, num. Added _max_k.
16627 2006-06-09 Roman Kennke <kennke@aicas.com>
16629 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16630 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16633 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16635 * java/awt/image/BufferedImage.java
16636 (BufferedImage(int, int, int)): Added API docs,
16637 (getProperty(String)): Return correct value for undefined properties,
16638 (getPropertyNames()): Added comments and removed FIXME.
16640 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16642 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16643 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16645 2006-06-09 Francis Kung <fkung@redhat.com>
16647 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16648 (getPreferredSize): Return correct height for null or empty
16651 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16653 * java/awt/datatransfer/DataFlavor.java
16654 (readExternal): Mark as stub,
16655 (writeExternal): Likewise,
16656 * java/awt/dnd/DropTargetContext.java
16657 (dropComplete): Mark as stub,
16658 (acceptDrag): Likewise,
16659 (rejectDrag): Likewise,
16660 (acceptDrop): Likewise,
16661 (rejectDrop): Likewise,
16662 (getCurrentDataFlavors): Likewise,
16663 (getTransferable): Likewise,
16664 * java/awt/dnd/DropTargetDropEvent.java
16665 (dropComplete): Mark as stub.
16667 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16669 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16670 (constructor): Do not lowercase the values.
16671 * javax/swing/text/html/HTMLDocument.java
16672 (HTMLReader.addSpecialElement): Implemented.
16673 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16675 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16677 On behalf of Matthew Wringe <mwringe@redhat.com>
16678 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16679 * gnu/javax/crypto/pad/ISO10126.java: New class.
16680 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16681 (getInstance): Added support for ISO-10126 scheme.
16682 (getNames): Likewise.
16683 Cache result for speed.
16685 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16687 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16688 flexible self-test by sub-classes.
16689 (test1BlockSize): New method.
16691 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16693 * javax/swing/plaf/basic/BasicLookAndFeel.java
16694 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16695 * javax/swing/plaf/basic/BasicScrollBarUI.java
16696 (installKeyboardActions): Implemented,
16697 (uninstallKeyboardActions): Implemented,
16698 (getInputMap): New method,
16699 (getActionMap): New method,
16700 (createActionMap): New method,
16701 (installUI): Call installKeyboardActions(),
16702 (uninstallUI): Call uninstallKeyboardActions().
16704 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16706 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16707 (getActionMap): Use correct key to store action map.
16709 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16711 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16712 (executeInstruction): Added NOT support.
16714 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16716 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16719 2006-06-08 Tom Tromey <tromey@redhat.com>
16721 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16724 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16726 * java/lang/management/RuntimeMXBean.java:
16729 2006-06-08 Lillian Angel <langel@redhat.com>
16731 * native/plugin/gcjwebplugin.cc:
16732 (NP_Shutdown): Freed whitelist_filename.
16734 2006-06-08 Lillian Angel <langel@redhat.com>
16736 * native/plugin/Makefile.am:
16737 Removed DATA_DIRECTORY.
16738 * native/plugin/gcjwebplugin.cc:
16739 Added new global fields for whitelist_file
16740 and data_directory. Removed WHITELIST_FILE.
16741 (NP_Initialize): Initialized new fields. Also,
16742 Changed to use new fields.
16743 (NP_Shutdown): Freed data_directory.
16744 (GCJ_New): Changed to use new fields.
16745 (plugin_ask_user_about_documentbase): Likewise.
16747 2006-06-08 Lillian Angel <langel@redhat.com>
16749 * native/plugin/Makefile.am:
16750 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16751 * native/plugin/gcjwebplugin.cc:
16752 Changed all instances of PLUGIN_DATA_DIRECTORY
16755 2006-06-08 Roman Kennke <kennke@aicas.com>
16757 * java/awt/LightweightDispatcher.java
16758 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16759 with convertPointToChild(). This is more efficient and avoids
16760 problems with getLocationOnScreen().
16761 (findTarget): Check for component beeing showing() early.
16762 Simplified AWTUtilities.convertPoint() to a simple substraction
16764 (convertPointToChild): New helper method.
16766 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16768 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16771 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16772 Lillian Angel <langel@redhat.com>
16774 * native/plugin/gcjwebplugin.cc
16775 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16776 Also, reset initialized field.
16778 2006-06-08 Lillian Angel <langel@redhat.com>
16780 * javax/swing/plaf/basic/BasicProgressBarUI.java
16781 (paintString): Fixed to paint string at the correct location.
16783 2006-06-08 Roman Kennke <kennke@aicas.com>
16785 * javax/swing/plaf/basic/BasicTreeUI.java
16786 (createDefaultActions): Added new actions.
16787 (TreePageAction.TreePageAction): Set action name.
16788 (TreePageAction.actionPerformed): Implemented.
16789 (TreePageAction.isEnabled): Implemented.
16790 (TreeToggleAction.TreePageAction): Set action name.
16791 (TreeToggleAction.actionPerformed): Implemented.
16792 (TreeToggleAction.isEnabled): Implemented.
16793 (TreeTraverseAction.TreeTraverseAction): Set action name.
16794 (TreeTraverseAction.actionPerformed): Use action name as command.
16795 (TreeTraverseAction.isEnabled): Implemented.
16797 2006-06-08 Roman Kennke <kennke@aicas.com>
16799 * javax/swing/plaf/basic/BasicTreeUI.java
16800 (installKeyboardActions): Rewritten to correctly install the UI
16801 input and action maps.
16802 (getActionMap): New helper method.
16803 (createDefaultActionMap): New helper method.
16804 (TreeHomeAction.TreeHomeAction()): Implemented.
16805 (TreeHomeAction.actionPerformed): Implemented.
16806 (TreeHomeAction.isEnabled): Implemented.
16807 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16808 (TreeIncrementAction.actionPerformed): Use action name as command.
16809 (TreeIncrementAction.isEnabled): Implemented.
16811 2006-06-08 Mark Wielaard <mark@klomp.org>
16814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16815 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16818 2006-06-08 Mark Wielaard <mark@klomp.org>
16820 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16821 (attrs): Removed unused static.
16823 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16825 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16826 (getInputMap): New method,
16827 (getActionMap): New method,
16828 (createActionMap): New method,
16829 (installKeyboardActions): Implemented,
16830 (uninstallKeyboardActions): Implemented.
16832 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16834 * javax/swing/border/MatteBorder.java:
16835 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16837 (paintBorder): Added if-statement to abort painting early.
16839 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16842 * gnu/xml/dom/DomIterator.java:
16843 (successor): Changed expression.
16845 2006-06-08 Sven de Marothy <sven@physto.se>
16847 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16848 (defaultLayout): Do kerning.
16849 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16850 (getKerning): Correct class name, removed unused variable.
16852 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16854 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16855 libqtpeer.so unconditionally.
16857 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16859 * java/util/InputMismatchException.java:
16862 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16864 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16866 2006-06-07 Roman Kennke <kennke@aicas.com>
16868 * javax/swing/plaf/basic/BasicTreeUI.java
16869 (completeUIUninstall): Implemented.
16870 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16871 editing before uninstalling anything.
16872 (isToggleEvent): Implemented.
16873 (selectPathForEvent): Make use of isToggleEvent().
16874 (ComponentHandler.componentMoved): Implemented.
16875 (ComponentHandler.startTimer): Implemented.
16876 (ComponentHandler.getScrollPane): Implemented.
16877 (ComponentHandler.actionPerformed): Implemented.
16879 2006-06-07 Francis Kung <fkung@redhat.com>
16881 * javax/swing/JMenuBar.java:
16882 (getSubElements): Do not return null values.
16884 2006-06-07 Roman Kennke <kennke@aicas.com>
16887 * gnu/regexp/BacktrackStack.java
16888 * gnu/regexp/CharIndexed.java
16889 * gnu/regexp/CharIndexedCharArray.java
16890 * gnu/regexp/CharIndexedCharSequence.java
16891 * gnu/regexp/CharIndexedInputStream.java
16892 * gnu/regexp/CharIndexedString.java
16893 * gnu/regexp/CharIndexedStringBuffer.java
16894 * gnu/regexp/RE.java
16895 * gnu/regexp/REException.java
16896 * gnu/regexp/REFilterInputStream.java
16897 * gnu/regexp/REMatch.java
16898 * gnu/regexp/REMatchEnumeration.java
16899 * gnu/regexp/RESyntax.java
16900 * gnu/regexp/REToken.java
16901 * gnu/regexp/RETokenAny.java
16902 * gnu/regexp/RETokenBackRef.java
16903 * gnu/regexp/RETokenChar.java
16904 * gnu/regexp/RETokenEnd.java
16905 * gnu/regexp/RETokenEndOfPreviousMatch.java
16906 * gnu/regexp/RETokenEndSub.java
16907 * gnu/regexp/RETokenIndependent.java
16908 * gnu/regexp/RETokenLookAhead.java
16909 * gnu/regexp/RETokenLookBehind.java
16910 * gnu/regexp/RETokenNamedProperty.java
16911 * gnu/regexp/RETokenOneOf.java
16912 * gnu/regexp/RETokenPOSIX.java
16913 * gnu/regexp/RETokenRange.java
16914 * gnu/regexp/RETokenRepeated.java
16915 * gnu/regexp/RETokenStart.java
16916 * gnu/regexp/RETokenWordBoundary.java
16917 * gnu/regexp/UncheckedRE.java
16918 * gnu/java/util/regex/BacktrackStack.java
16919 * gnu/java/util/regex/CharIndexed.java
16920 * gnu/java/util/regex/CharIndexedCharArray.java
16921 * gnu/java/util/regex/CharIndexedCharSequence.java
16922 * gnu/java/util/regex/CharIndexedInputStream.java
16923 * gnu/java/util/regex/CharIndexedString.java
16924 * gnu/java/util/regex/CharIndexedStringBuffer.java
16925 * gnu/java/util/regex/RE.java
16926 * gnu/java/util/regex/REException.java
16927 * gnu/java/util/regex/REFilterInputStream.java
16928 * gnu/java/util/regex/REMatch.java
16929 * gnu/java/util/regex/REMatchEnumeration.java
16930 * gnu/java/util/regex/RESyntax.java
16931 * gnu/java/util/regex/REToken.java
16932 * gnu/java/util/regex/RETokenAny.java
16933 * gnu/java/util/regex/RETokenBackRef.java
16934 * gnu/java/util/regex/RETokenChar.java
16935 * gnu/java/util/regex/RETokenEnd.java
16936 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16937 * gnu/java/util/regex/RETokenEndSub.java
16938 * gnu/java/util/regex/RETokenIndependent.java
16939 * gnu/java/util/regex/RETokenLookAhead.java
16940 * gnu/java/util/regex/RETokenLookBehind.java
16941 * gnu/java/util/regex/RETokenNamedProperty.java
16942 * gnu/java/util/regex/RETokenOneOf.java
16943 * gnu/java/util/regex/RETokenPOSIX.java
16944 * gnu/java/util/regex/RETokenRange.java
16945 * gnu/java/util/regex/RETokenRepeated.java
16946 * gnu/java/util/regex/RETokenStart.java
16947 * gnu/java/util/regex/RETokenWordBoundary.java
16948 * gnu/java/util/regex/UncheckedRE.java
16949 Moved gnu.regexp classes to gnu.java.util.regex package.
16950 * java/util/regex/Matcher.java
16951 * java/util/regex/Pattern.java
16952 Adjusted import statements for new package name for gnu regexp.
16954 2006-06-07 Tom Tromey <tromey@redhat.com>
16956 PR classpath/27905:
16957 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16958 Added missing charsets.
16959 (charsetForName): Don't check 'extendedLoaded'.
16961 2006-06-07 Roman Kennke <kennke@aicas.com>
16964 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16965 (clip(Shape)): Implemented correctly, so that the current shape
16966 gets intersected by the parameter shape.
16968 2006-06-07 Lillian Angel <langel@redhat.com>
16970 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16971 (getTabBounds): If this method is called with a tab index
16972 that is not in the rects array, we need to re-layout the container
16975 2006-06-07 Lillian Angel <langel@redhat.com>
16977 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16978 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16979 * java/lang/String.java
16980 (codePointCount): Fixed check to match API. Shouldn't throw exception
16981 if end == count. end is 1 more than the endIndex, so end == count is
16984 2006-06-07 Gary Benson <gbenson@redhat.com>
16987 * native/jni/java-io/java_io_VMFile.c
16988 (Java_java_io_VMFile_toCanonicalForm): New method.
16989 * configure.ac: Added checks for lstat and readlink.
16990 * include/java_io_VMFile.h: Added new method.
16991 * vm/reference/java/io/VMFile.java: Use new method.
16992 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16993 * NEWS: Documented the above.
16994 * java/io/File.java: Javadoc fix.
16996 2006-06-07 Roman Kennke <kennke@aicas.com>
16999 * javax/swing/JTree.java
17000 (JTree()): Initialize with default model.
17001 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17002 on the updateUI() / setModel() order.
17003 (setModel): Correctly (un-)setup the listeners. Clear the expanded
17005 * javax/swing/plaf/basic/BasicTreeUI.java
17006 (BasicTreeUI()): Initialize listeners in installListeners().
17007 (setModel): Complete editing on model change. Correctly resetup
17008 the listeners. Update the layout cache accordingly.
17009 (setShowRootHandles): Complete editing and update layout. Do not
17010 call back into the JTree, this could cause cycles.
17011 (prepareForUIInstall): Implemented. Moved some init code from
17012 installUI() to this method.
17013 (completeUIInstall): Implemented. Moved some init code from
17014 installUI() to this method.
17015 (createDefaultCellEditor): Check for type of renderer, and install
17016 with null renderer when not DefaultTreeCellRenderer.
17017 (updateLayoutCacheExpandedNodes): Added null check for tree root
17019 (updateRenderer): Call updateEditor().
17020 (installListeners): Initialize the listeners here. Added some null
17021 checks to avoid NPEs.
17022 (installUI): Moved some init code to prepareForUIInstall() and
17023 completeUIInstall().
17024 (completeEditing): Return immediately if editing component is null
17025 or if the setting is to not stop editing on complete editing.
17026 (checkForClickInExpandControl): Call handleExpandControlClick()
17027 instead of toggleExpandState() directly.
17028 (isLocationInExpandControl): Rewritten to correctly determine the
17029 expand click location.
17030 (MouseHandler.mousePressed): Rewritten to make better use of the
17031 instance methods of BasicTreeUI to handle the click.
17032 (PropertyHandler.propertyChange): Handle model and cell renderer
17034 * javax/swing/tree/DefaultTreeCellEditor.java
17035 (DefaultTreeCellEditor): Removed initialization of the icon. This
17036 is done so that the constructor can deal with null renderer as the
17037 RI does. Maybe this needs more fixing.
17038 * javax/swing/tree/TreePath.java
17039 (isDescendant): Fixed this method. The previous version did too
17040 much and compared the wrong things, which lead to a ClassCastException
17042 * javax/swing/tree/VariableHeightLayoutCache.java
17043 (update): Do nothing when model is null.
17044 (setModel): Clear the tables and update the layout. Added null
17045 check to prevent NPE.
17047 2006-06-07 Sven de Marothy <sven@physto.se>
17049 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17051 2006-06-07 Sven de Marothy <sven@physto.se>
17053 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17054 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17055 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17058 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17059 (getGlyphVector): Removed native method.
17060 (createGlyphVector, getStringBounds): Use new GV class.
17062 * include/Makefile.am
17063 * native/jni/gtk-peer/Makefile.am
17066 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17068 (getGlyphVector): Removed native method.
17070 2006-06-07 Chris Burdess <dog@gnu.org>
17072 * gnu/classpath/debug/TeeInputStream.java,
17073 gnu/classpath/debug/TeeOutputStream.java,
17074 gnu/classpath/debug/TeeReader.java,
17075 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17076 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17077 read more characters than absolutely necessary in tryRead method.
17079 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
17081 * examples/gnu/classpath/examples/swing/Demo.java:
17082 (mkMenuBar): Put look and feel radio buttons into
17083 appropriate button group.
17085 2006-06-07 Chris Burdess <dog@gnu.org>
17087 * gnu/xml/stream/SAXParser.java,
17088 gnu/xml/stream/XMLParser.java: Add command line options for setting
17089 parsing parameters (for simpler debugging).
17090 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17091 closing output stream is propagated to application.
17093 2006-06-06 Mark Wielaard <mark@klomp.org>
17096 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17097 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17098 call disposeSurface.
17099 (disposeSurface): New native method.
17100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17101 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17104 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17105 cairo_pattern_destroy.
17106 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17107 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17108 New function to destroy the surface.
17109 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17110 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17111 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17113 2006-06-06 Mark Wielaard <mark@klomp.org>
17115 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17118 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17120 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17121 (paint): If has focus, paint special background color,
17122 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17123 (FocusHandler.focusGained): Implemented,
17124 (FocusHandler.focusLost): Implemented.
17126 2006-06-06 Tom Tromey <tromey@redhat.com>
17128 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17130 (writeAttributeSet): Implemented.
17132 2006-06-06 Tom Tromey <tromey@redhat.com>
17134 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17136 (SpecialAction.end): Removed.
17137 (IsindexAction.end): Likewise.
17139 2006-06-06 Tom Tromey <tromey@redhat.com>
17141 * include/jni.h (JDK1_1InitArgs): New struct.
17142 (JDK1_1AttachArgs): Likewise.
17144 2006-06-06 Tom Tromey <tromey@redhat.com>
17146 * java/security/UnresolvedPermission.java (getUnresolvedType): New
17148 (getUnresolvedName): New method.
17149 (getUnresolvedActions): New method.
17150 (getUnresolvedCerts): New method.
17152 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17154 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17155 (getColor): Removed debugging code.
17157 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17159 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17160 (getColor): Added support for "rgb(red, green, blue)" notation.
17161 (translateTag): Use Boolean.TRUE, not new Boolean().
17163 2006-06-06 Roman Kennke <kennke@aicas.com>
17166 * javax/swing/JTree.java
17167 (JTree(TreeModel)): Call updateUI() before setModel().
17168 (setModel): Don't call updateUI here.
17170 2006-06-06 Lillian Angel <langel@redhat.com>
17172 * native/plugin/gcjwebplugin.cc:
17173 Fixed failure message and commenting.
17174 (NP_Initialize): Added more comments.
17176 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17178 * javax/swing/JSplitPane.java
17179 (AccessibleJSplitPane): API doc fixes,
17180 (setDividerLocation): Likewise,
17181 * javax/swing/plaf/basic/BasicLookAndFeel.java
17182 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17183 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17184 (getInputMap): New method,
17185 (getActionMap): New method,
17186 (createActionMap): New method,
17187 (installKeyboardActions): Implemented,
17188 (uninstallKeyboardActions): Implemented.
17190 2006-06-06 Roman Kennke <kennke@aicas.com>
17193 * javax/swing/MenuSelectionManager.java
17194 (processKeyEvent): Added check to avoid
17195 ArrayIndexOutOfBoundsException.
17197 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17199 * gnu/javax/swing/text/html/htmlAttributeSet.java
17200 (getAttributeNames): Rewritten
17202 2006-06-06 Chris Burdess <dog@gnu.org>
17204 * gnu/xml/transform/TransformerImpl.java: Check type of created
17205 document (more cases).
17207 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17209 * gnu/javax/swing/text/html/htmlAttributeSet.java
17210 (clone): New method. (copyAttributes): New method.
17211 (getResolveParent): Comment fix. (getAttribute):
17212 Rewritten. (addAttribute): Rewritten.
17213 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17216 2006-06-06 Roman Kennke <kennke@aicas.com>
17219 * javax/swing/JMenuBar.java
17220 (processKeyBindingHelper): Added null check to prevent NPE.
17222 2006-06-06 Roman Kennke <kennke@aicas.com>
17224 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17225 (ShowSystemMenuAction): New class.
17226 (installKeyboardActions): Implemented.
17227 (uninstallKeyboardActions): Implemented.
17228 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17229 (installKeyboardActions): Overridden to remove showSystemMenu action.
17231 2006-06-06 Chris Burdess <dog@gnu.org>
17233 * gnu/xml/transform/TransformerImpl.java: Check type of created
17236 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17238 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17239 (getScreenDevices): Added explicit cast.
17241 2006-06-06 Roman Kennke <kennke@aicas.com>
17243 * javax/swing/plaf/basic/BasicTextUI.java
17244 (installKeyboardActions): Use shared input map. Correctly
17245 install the input/action maps in the component's input/action
17247 (getActionMap): New helper method for fetching an ActionMap from
17248 the UIManager or creating a default one if there is none supplied
17250 (createActionMap): Add the TransferHandler's actions here. Made
17252 (getInputMap): Leave out unnecessary method parameter. Load
17254 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17256 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17258 * configure.ac: Added missing [ to expression.
17260 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17262 * configure.ac: Added missing { to expression.
17264 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17266 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17267 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17268 * include/Makefile.am: Added
17269 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17270 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17271 (GdkGraphicsConfiguration): Rewritten.
17272 (getColorModel): Rewritten.
17273 (getColorModel(int)): Rewritten.
17274 (getBounds): Rewritten.
17275 (createCompatibleVolatileImage): Implemented.
17276 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17278 (getDefaultScreenDevice): Rewritten.
17279 (nativeGetDefaultScreenDevice): New method.
17280 (getScreenDevices): Rewritten.
17281 (nativeGetScreenDevices): New method.
17282 (nativeInitState): New method.
17283 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17285 (X11DisplayMode): New inner class.
17286 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17287 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17288 * native/jni/gtk-peer/gdkdisplay.h: New file.
17289 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17290 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17292 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17294 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17295 _nativeGetScreenDevices):
17297 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17298 _nativeGetDefaultScreenDevice):
17300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17302 * configure.ac: Added check for Xrandr library.
17304 2006-06-06 Roman Kennke <kennke@aicas.com>
17306 * javax/swing/plaf/basic/BasicTableUI.java
17307 (getMaximumSize): Don't return null. Fixed calculation of
17309 (getMinimumSize): Don't return null. Fixed calculation of
17311 (getPreferredSize): Fixed calculation of with and height. Added
17313 (getHeight): New helper method.
17315 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17317 * javax/swing/JComponent.java
17318 (getInputMap(int)): Throw IllegalArgumentException for unknown
17319 condition argument, and added API docs,
17320 (getInputMap()): Added API docs.
17322 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17324 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17326 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17328 * javax/swing/JTable.java
17329 (AccessibleJTableHeaderCell.header): New field,
17330 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17331 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17332 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17333 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17334 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17335 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17336 (AccessibleJTable.getAccessibleAt): Reimplemented.
17338 2006-06-05 Sven de Marothy <sven@physto.se>
17340 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17342 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17343 (initFromVolatile): New method.
17344 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17345 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17347 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17349 (copyArea, drawVolatileImage): New methods.
17351 2006-06-05 Tania Bento <tbento@redhat.com>
17353 * javax/swing/JFrame.java
17354 (frameInit): Set background color and fixed layout parameters.
17356 2006-06-05 Tom Tromey <tromey@redhat.com>
17358 * NEWS: Mention VMURLConnection.
17360 2006-06-05 Lillian Angel <langel@redhat.com>
17362 * native/plugin/gcjwebplugin.cc:
17363 Added new field to keep track of initialization.
17364 (plugin_start_appletviewer): Fixed to return an error value, if
17365 an error was encountered when loading the appletviewer.
17366 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17368 (plugin_failed): New helper function. Shows a warning if the appletviewer
17369 has not been installed.
17370 (NP_Initialize): Added code to make sure this function is only called
17373 2006-06-05 Lillian Angel <langel@redhat.com>
17375 * native/plugin/Makefile.am:
17376 Fixed to use a set plugin directory in the .mozilla directory.
17377 All applet logs are now stored here, instead of /tmp.
17378 * native/plugin/gcjwebplugin.cc:
17379 Added new fields for security warning.
17380 (GCJ_NEW): Added code to generate a security warning for all pages
17381 that spawn an appletviewer. This warning asks the user if they trust
17382 the applet and if they would like to add it to a 'whitelist'. This
17383 whitelist keeps track of all the addresses the user would like
17384 to trust indefinitely.
17385 (plugin_user_trusts_documentbase): New helper function.
17386 (plugin_add_documentbase_to_whitelist): New helper function.
17387 (plugin_ask_user_about_documentbase): New helper function.
17388 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17390 (plugin_start_appletviewer): Likewise.
17391 (plugin_create_applet_tag): Reset all fields to null after they have been
17393 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17394 if channel_error has been set.
17395 (plugin_stop_appletviewer): Likewise.
17396 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17399 2006-06-05 Francis Kung <fkung@redhat.com>
17402 * gnu/java/awt/peer/gtk/GtkImage.java
17403 (getSource): Added check to determine if in
17404 errorLoading state.
17405 * gnu/java/awt/peer/gtk/GtkToolkit.java
17406 (createImage): Added check to prevent NPE.
17408 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17410 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17411 Create the ImageView, when applicable.
17412 * gnu/javax/swing/text/html/CombinedAttributes.java,
17413 javax/swing/text/html/ImageView.java: New files.
17415 2006-06-05 Roman Kennke <kennke@aicas.com>
17418 * javax/swing/text/GapContent.java
17419 (setPositionsInRange): Compare with startIndex and endIndex
17420 rather than start and end.
17421 (dumpMarks): Only dump real marks.
17423 2006-06-05 Sven de Marothy <sven@physto.se>
17425 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17426 (ComponentGraphics): Use 0,0 as clip origin.
17428 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17430 * java/util/Formattable.java,
17431 * java/util/FormattableFlags.java,
17432 * java/util/Formatter.java:
17435 2006-06-04 Tom Tromey <tromey@redhat.com>
17437 * javax/naming/Context.java (list): Genericized.
17438 (listBindings): Likewise.
17439 * javax/naming/Reference.java (addrs): Genericized.
17440 * javax/naming/InitialContext.java (myProps): Fixed type.
17441 (init): Genericized.
17443 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17445 * java/util/DuplicateFormatFlagsException.java,
17446 * java/util/FormatFlagsConversionMismatchException.java,
17447 * java/util/FormatterClosedException.java,
17448 * java/util/IllegalFormatCodePointException.java,
17449 * java/util/IllegalFormatConversionException.java,
17450 * java/util/IllegalFormatException.java,
17451 * java/util/IllegalFormatFlagsException.java,
17452 * java/util/IllegalFormatPrecisionException.java,
17453 * java/util/IllegalFormatWidthException.java,
17454 * java/util/MissingFormatArgumentException.java,
17455 * java/util/MissingFormatWidthException.java,
17456 * java/util/UnknownFormatConversionException.java,
17457 * java/util/UnknownFormatFlagsException.java:
17460 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17462 * java/lang/System.java:
17463 (getenv()): Handle cases where split only
17464 returns an array of size 1.
17466 2006-06-04 Sven de Marothy <sven@physto.se>
17468 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17469 (createVolatileImage): Pass peer to VolatileImage constructor.
17470 * java/awt/Component.java
17471 (createVolatileImage): Call peer method directly.
17473 2006-06-04 Sven de Marothy <sven@physto.se>
17475 * gnu/java/awt/peer/gtk/CairoSurface.java
17476 (getFlippedBuffer): New method.
17477 (getGtkImage): Renamed method.
17478 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17479 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17480 Renamed getSharedImage to getGtkImage.
17481 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17482 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17483 (getFlippedBuffer): New method
17484 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17485 Avoid window casts.
17486 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17488 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17489 (drawVolatile): Add casts.
17490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17491 (getOutline): Add casts.
17492 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17493 Comment out unused prototype.
17494 (getPixels): Add appropriate cast and comment out unused variable.
17496 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17498 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17499 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17500 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17501 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17502 (getSystemInstance): Fix javadoc @link.
17503 (counter): Increased visibility.
17504 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17505 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17506 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17507 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17508 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17509 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17510 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17511 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17512 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17513 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17514 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17515 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17516 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17517 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17518 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17519 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17520 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17521 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17522 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17523 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17524 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17525 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17526 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17527 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17528 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17529 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17530 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17531 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17532 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17533 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17534 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17536 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17538 * gnu/java/security/PolicyFile.java: Updated copyright year.
17539 (logger): Increased visibility.
17540 * gnu/java/security/x509/Util.java: Updated copyright year.
17541 (hexDump): Fix javadoc @link.
17542 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17543 Removed unused import.
17544 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17545 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17546 * gnu/java/security/util/ExpirableObject.java: Likewise.
17547 (destroy): Likewise.
17548 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17549 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17550 Updated copyright year.
17551 (checkCRL): Fix javadoc @param.
17553 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17555 * java/lang/annotation/IncompleteAnnotationException.java:
17558 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17560 * java/lang/ProcessBuilder.java:
17562 (environment): Create as a copy.
17563 * java/lang/System.java:
17564 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17566 (EnvironmentMap.put(String,String)): Override superclass
17567 method with checks for nulls and non-Strings.
17569 2006-06-02 Sven de Marothy <sven@physto.se>
17571 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17572 (cairoPreserveClip, cairoResetClip): New methods.
17573 (setClip, clip): Reimplement.
17574 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17575 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17576 (cairoPreserveClip, cairoResetClip): New methods.
17578 2006-06-02 Sven de Marothy <sven@physto.se>
17580 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17581 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17582 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17584 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17585 (drawImage): Overloads for VolatileImage drawing.
17586 (drawVolatile): New method.
17587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17588 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17589 (drawVolatile): New method.
17590 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17591 Unstub implementation.
17592 * include/Makefile.am
17593 * native/jni/gtk-peer/Makefile.am
17595 * native/jni/gtk-peer/gtkpeer.h
17598 2006-06-03 Roman Kennke <kennke@aicas.com>
17601 * javax/swing/plaf/basic/BasicTextUI.java
17602 (damageRange): Added null check to avoid NPE.
17604 2006-06-03 Roman Kennke <kennke@aicas.com>
17606 * javax/swing/text/PlainView.java
17607 (updateDamage): Check for valid longestLine and initialize if
17610 2006-06-03 Mark Wielaard <mark@klomp.org>
17612 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17615 2006-06-02 Sven de Marothy <sven@physto.se>
17618 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17619 (copyArea): Implement.
17620 (copyAreaImpl, getRealBounds): New methods.
17621 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17622 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17623 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17624 (copyAreaImpl, getRealBounds): Implement.
17625 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17626 (nativeCopyArea): Reimplement.
17628 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17630 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17631 (XTEST_LIBS): New, substitute.
17632 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17634 2006-06-02 Roman Kennke <kennke@aicas.com>
17637 * javax/swing/text/PlainView.java
17638 (updateDamage): Rewritten for correct repainting and revalidating.
17639 (findLongestLine): New helper method.
17640 (getLineLength): New helper method.
17642 2006-06-02 Sven de Marothy <sven@physto.se>
17644 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17645 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17647 (nativeCopyArea): Change stride parameter to use # of ints.
17648 (setPixels): Add checks.
17649 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17650 (ComponentGraphics): Set background, clip.
17651 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17652 (Cairographics2D): Don't set clip.
17653 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17656 2006-06-02 Lillian Angel <langel@redhat.com>
17659 * java/awt/DefaultKeyboardFocusManager.java
17660 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17661 to get the focused window.
17663 2006-06-01 Miriam Schuster <schmir11@web.de>
17665 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17666 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17668 2006-06-02 Roman Kennke <kennke@aicas.com>
17670 * javax/swing/JTable.java
17671 (columnSelectionChanged): Don't return when there's only one
17672 column (might still need repainting). Correctly calculate
17674 (valueChanged): Use return value of SwingUtilities.computeUnion
17677 2006-06-01 Keith Seitz <keiths@redhat.com>
17679 From Martin Platter <motse@complang.tuwien.ac.at>:
17680 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17681 (executeSet): Fix buffer underflow reading reference ID.
17682 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17683 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17684 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17685 (executeSuperclass): Handle case of Object with ID zero.
17687 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17689 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17690 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17691 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17692 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17693 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17694 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17695 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17696 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17697 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17698 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17699 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17701 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17703 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17704 (Command): Add the shutdown hook.
17705 (doCommand): Remove the shutdown hook.
17706 (ShutdownHook): New class.
17708 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17710 * tools/jarsigner.in: Use @VM_BINARY@.
17711 * tools/keytool.in: Likewise.
17713 2006-06-01 Sven de Marothy <sven@physto.se>
17715 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17716 (setColor): Update the cairo paint.
17718 2006-06-01 Mark Wielaard <mark@klomp.org>
17720 * java/util/logging/LogManager.java (createInstance): Always add
17721 original exception on warning.
17723 2006-06-01 Lillian Angel <langel@redhat.com>
17725 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17726 (prependCodebase): Fixed check. No dirname was ever considered to
17727 be a file, so every applet fell into the if-statement causing a lot
17728 of classloading problems with the applets.
17730 2006-06-01 Sven de Marothy <sven@physto.se>
17732 Patch submitted by Boris Dusek.
17733 * native/jni/qt-peer/qtmenupeer.cpp
17736 2006-06-01 Roman Kennke <kennke@aicas.com>
17738 * javax/swing/JTable.java
17739 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17740 why the behaviour is like it is.
17741 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17742 (AccessibleJTableHeader): New inner class.
17743 (AccessibleJTableHeaderCell): New inner class.
17744 (AccessibleJTable.lastSelectedRow): New field.
17745 (AccessibleJTable.lastSelectedColumn): New field.
17746 (AccessibleJTable.caption): New field.
17747 (AccessibleJTable.summary): New field.
17748 (AccessibleJTable.rowDescriptions): New field.
17749 (AccessibleJTable.columnDescriptions): New field.
17750 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17751 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17752 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17753 (AccessibleJTable.addAccessibleSelection): Implemented.
17754 (AccessibleJTable.removeAccessibleSelection): Implemented.
17755 (AccessibleJTable.clearAccessibleSelection): Implemented.
17756 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17757 (AccessibleJTable.valueChange): Implemented.
17758 (AccessibleJTable.tableRowsInserted): Implemented.
17759 (AccessibleJTable.tableRowsDeleted): Implemented.
17760 (AccessibleJTable.handleRowChange): New helper method.
17761 (AccessibleJTable.columnAdded): Implemented.
17762 (AccessibleJTable.columnMarginChanged): Implemented.
17763 (AccessibleJTable.columnMoved): Implemented.
17764 (AccessibleJTable.columnRemoved): Implemented.
17765 (AccessibleJTable.columnSelectionChanged): Implemented.
17766 (AccessibleJTable.handleColumnChange): New helper method.
17767 (AccessibleJTable.editingCanceled): Implemented.
17768 (AccessibleJTable.editingStopped): Implemented.
17769 (AccessibleJTable.getAccessibleRow): Implemented.
17770 (AccessibleJTable.getAccessibleColumn): Implemented.
17771 (AccessibleJTable.getAccessibleIndex): Implemented.
17772 (AccessibleJTable.getAccessibleCaption): Implemented.
17773 (AccessibleJTable.setAccessibleCaption): Implemented.
17774 (AccessibleJTable.getAccessibleSummary): Implemented.
17775 (AccessibleJTable.setAccessibleSummary): Implemented.
17776 (AccessibleJTable.getAccessibleRowCount): Implemented.
17777 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17778 (AccessibleJTable.getAccessibleAt): Implemented.
17779 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17780 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17781 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17782 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17783 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17784 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17785 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17786 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17787 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17788 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17789 (AccessibleJTable.isAccessibleSelected): Implemented.
17790 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17791 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17792 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17793 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17794 (getAccessibleContext): Register listeners for the accessibility
17795 class on the JTable.
17797 2006-06-01 Sven de Marothy <sven@physto.se>
17799 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17800 (setPaint): Scale +1 pixel larger.
17802 2006-06-01 Sven de Marothy <sven@physto.se>
17805 * gnu/java/awt/Buffers.java (getData): Reimplement.
17806 * gnu/java/awt/peer/gtk/CairoSurface.java
17807 (getElem, setElem): Call native methods.
17809 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17811 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17813 2006-06-01 Sven de Marothy <sven@physto.se>
17815 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17816 (drawImage): Check for zero size.
17817 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17818 (setFont): Declare new native method.
17819 (GdkTextLayout): Read some attributes.
17820 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17822 (setFont): New native method.
17824 2006-06-01 Sven de Marothy <sven@physto.se>
17826 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17827 (updateBufferedImage): Fix some errors.
17829 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17831 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17833 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17834 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17835 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17836 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17837 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17838 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17839 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17840 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17841 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17842 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17844 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17846 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17847 * javax/swing/JEditorPane.java: Likewise,
17848 * javax/swing/JFormattedTextField.java: Likewise,
17849 * javax/swing/JLayeredPane.java: Likewise,
17850 * javax/swing/JScrollPane.java: Likewise,
17851 * javax/swing/JSlider.java: Likewise,
17852 * javax/swing/JSpinner.java: Likewise,
17853 * javax/swing/JTree.java: Likewise,
17854 * javax/swing/JViewport.java: Likewise,
17855 * javax/swing/UIDefaults.java: Likewise,
17856 * javax/swing/UIManager.java: Likewise.
17858 2006-06-01 Sven de Marothy <sven@physto.se>
17860 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17861 (BufferedImageGraphics): Cache surfaces.
17862 (updateBufferedImage): Copy directly for certain color models.
17863 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17864 (drawImage): Reimplement.
17866 2006-06-01 Sven de Marothy <sven@physto.se>
17868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17869 (setPixels): Don't swap, correct size.
17871 2006-05-31 Anthony Green <green@redhat.com>
17874 * java/net/InetSocketAddress.java: Defer getting the host
17875 name until somebody calls InetSocketAddress.getHostName().
17876 Fix "represenation" typo.
17878 2006-06-01 Sven de Marothy <sven@physto.se>
17880 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17881 (updateBufferedImage): Simplify.
17882 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17883 (getPixels): Don't swap.
17885 2006-06-01 Sven de Marothy <sven@physto.se>
17887 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17888 (setGradient): Reimplement.
17890 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17892 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17893 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17895 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17896 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17897 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17898 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17901 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17903 * javax/swing/table/JTableHeader.java
17904 (getColumnHeaderRenderer): New method,
17905 (getAccessibleColumnHeaderRenderer): Delegate part to new
17906 getColumnHeaderRenderer() method,
17907 (getLocale): Implemented.
17909 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17911 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17912 (cp_gtk_grab_current_drawable): Rename
17913 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17914 cp_gtk_grab_current_drawable, remove static declaration.
17915 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17917 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17918 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17919 Remove prototype of
17920 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17921 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17923 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17924 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17925 cp_gtk_grab_current_drawable here.
17927 2006-05-31 Sven de Marothy <sven@physto.se>
17929 Should fix PR 27835
17930 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17931 (updateBufferedImage): Keep within image bounds.
17933 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17934 Andreas Tobler <a.tobler@schweiz.ch>
17936 * configure.ac: Check for libXrender when the GTK peers are
17937 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17940 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17941 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17943 2006-05-31 Lillian Angel <langel@redhat.com>
17945 * javax/swing/plaf/basic/BasicProgressBarUI.java
17946 (paintString): Implemented to paint the string vertically.
17948 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17950 * javax/swing/JTable.java
17951 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17952 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17954 (AccessibleJTable.getAccessibleTable()): Likewise,
17955 (getAccessibleContext): Create new context if required.
17957 2006-05-31 Roman Kennke <kennke@aicas.com>
17959 * javax/swing/JTabbedPane.java
17960 (AccessibleJTabbedPane.stateChanged): Implemented.
17961 (Page.getAccessibleStateSet): Implemented.
17962 (Page.getAccessibleIndexInParent): Implemented.
17963 (getAccessibleContext): Add AccessibleJTabbedPane object
17964 as ChangeListener to the JTabbedPane.
17966 2006-05-31 Roman Kennke <kennke@aicas.com>
17968 * javax/swing/JMenuItem.java
17969 (getAccessibleContext): Register accessible object as ChangeListener
17971 (AccessibleJMenuItem.armed): New field.
17972 (AccessibleJMenuItem.focusOwner): New field.
17973 (AccessibleJMenuItem.pressed): New field.
17974 (AccessibleJMenuItem.selected): New field.
17975 (stateChanged): Implemented.
17977 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17979 * javax/swing/ListSelectionModel.java: Added API docs all over.
17981 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17983 * examples/gnu/classpath/examples/swing/FillRect.java
17984 (paintComponent): Optionally paint lines rather than rectangles.
17985 (createContent): Added option to test line painting.
17987 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17989 * javax/swing/event/EventListenerList.java
17990 (getListenerList): Updated API docs.
17992 2006-05-30 Sven de Marothy <sven@physto.se>
17994 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17995 (drawImage): Clip scaled image to dest rectangle.
17997 2006-05-30 Sven de Marothy <sven@physto.se>
17999 * gnu/java/awt/peer/gtk/CairoSurface.java:
18000 (CairoSurface): Convert pixels properly.
18001 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18002 Remove commented-out lines.
18004 2006-05-30 Sven de Marothy <sven@physto.se>
18006 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18007 (drawImage): Use Toolkit to convert to BufferedImage.
18008 * gnu/java/awt/peer/gtk/CairoSurface.java
18009 (CairoSurface(GtkImage)): New Constructor.
18010 (getBufferedImage): New method.
18011 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18012 Don't fill background - FIXME.
18013 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18014 Remove unused methods.
18015 * gnu/java/awt/peer/gtk/GtkImage.java:
18016 (pixbuflock): New field. Methods change to use this lock.
18017 * gnu/java/awt/peer/gtk/GtkToolkit.java
18018 (createImage): Use Cairo-backed surfaces via GtkImage instead of
18020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18021 (setPixels): Correct length in bytes.
18023 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18025 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18026 System.loadLibrary unconditionally.
18027 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18028 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18029 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18030 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18032 2006-05-30 Mark Wielaard <mark@klomp.org>
18034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18035 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18036 Mark unused parameters, remove unused variables.
18038 2006-05-30 Sven de Marothy <sven@physto.se>
18040 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18041 (copyArea): Implemented.
18042 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18043 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18044 (copyAreaNative): New method.
18046 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
18048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18049 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18050 for non big endian systems.
18051 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18053 2006-05-30 Roman Kennke <kennke@aicas.com>
18055 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18056 * java/awt/TexturePaint.java
18057 (createContext): Implemented.
18059 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18061 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18064 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18066 * java/awt/Container.java:
18067 (removeAll): Reimplemented, added note.
18069 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18071 * java/awt/Container.java:
18072 (removeAll): Implemented different removal mechanism, added note.
18074 2006-05-30 Lillian Angel <langel@redhat.com>
18077 * java/awt/Component.java:
18078 (translateEvent): Added handling to translate WindowEvents
18079 * java/awt/Window.java:
18080 Removed unneeded imports.
18082 2006-05-30 Mark Wielaard <mark@klomp.org>
18084 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18087 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18089 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18091 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18093 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18094 (clearRect): Do not reuse the fg field, call updateColor.
18095 (drawRaster): Likewise.
18096 (setColor): Call updateColor.
18097 (updateColor): New method.
18099 2006-05-30 Mark Wielaard <mark@klomp.org>
18101 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18102 (PTR_TO_JLONG): Likewise.
18103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18104 (getPointer): Use new conversion macros.
18105 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18106 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18107 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18109 (setNativeObject): Likewise.
18110 (getNativeObject): Likewise.
18111 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18112 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18114 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18115 Correctly cast XID and pointer values.
18116 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18117 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18118 Mark unused variables.
18119 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18122 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18123 Remove unused cairographics2d struct.
18124 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18125 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18126 Use new conversion macros.
18127 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18129 2006-05-30 Mark Wielaard <mark@klomp.org>
18131 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18133 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18135 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18136 (copy): Do not reuse the fd field.
18137 (setColor): Do not set the color if the parameter
18139 (translate(double, double): Rewritten to use
18140 AffineTransform.translate.
18142 2006-05-30 Sven de Marothy <sven@physto.se>
18144 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18145 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18148 * include/Makefile.am
18149 * native/jni/gtk-peer/Makefile.am
18151 * gnu/java/awt/peer/gtk/CairoSurface.java
18152 (getSharedGtkImage): New method.
18153 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18156 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18157 Support a non-xrender context.
18158 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18160 * gnu/java/awt/peer/gtk/GtkImage.java
18161 * include/gnu_java_awt_peer_gtk_GtkImage.h
18162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18163 (initFromBuffer): New method.
18164 * native/jni/gtk-peer/gtkpeer.h:
18165 Remove declarations of previouslyremoved methods.
18167 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18169 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18171 2006-05-29 Mark Wielaard <mark@klomp.org>
18173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18174 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18176 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18177 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18178 early. Remove unused return statement in void function.
18179 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18182 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18184 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18185 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18187 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18190 2006-05-29 Sven de Marothy <sven@physto.se>
18192 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18193 (setPixels): Remove superfluous return statement.
18195 2006-05-29 Sven de Marothy <sven@physto.se>
18197 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18198 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18199 * gnu/java/awt/peer/gtk/CairoSurface.java
18200 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18201 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18202 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18203 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18204 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18205 * native/jni/gtk-peer/cairographics2d.h
18206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18207 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18210 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18212 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18215 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18217 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18218 (releasePeerGraphicsResource): Moved to Font peer class.
18220 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18221 (createGraphics): Use new context classes.
18223 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18224 Use native BufferedImages where possible.
18226 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18227 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18228 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18229 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18230 renamed to cairoDrawGdkTextLayout.
18232 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18233 (getGraphics): Use ComponentGraphics context.
18234 (createImage): Use native BufferedImage.
18236 * gnu/java/awt/peer/gtk/GtkImage.java:
18237 * include/gnu_java_awt_peer_gtk_GtkImage.h
18238 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18239 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18240 Remove drawing methods.
18242 * gnu/java/awt/print/JavaPrinterGraphics.java:
18243 Use CairoSurface instead of GtkImage.
18245 * include/Makefile.am
18246 * native/jni/gtk-peer/Makefile.am
18247 Update for new files.
18249 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18251 Remove superfluous GtkImage code for GdkPixmaps.
18253 * native/jni/gtk-peer/gtkpeer.h
18254 Remove graphics2d structure.
18256 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18258 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18259 Do not reuse fg in the constructor.
18261 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18263 * java/io/ObjectStreamConstants.java: Added API docs.
18265 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18267 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18268 Take no action if this color is already set.
18270 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18272 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18274 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18275 Optionally paint with translation. (createContent): Added option
18276 to test painting with translation
18278 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18280 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18281 pattern to the default value when null.
18282 Pass field pattern, and not parameter with same name to createFileStream.
18284 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18286 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18287 New class implementing the OS bean.
18288 * gnu/java/lang/management/package.html:
18289 New file to document the gnu.java.lang.management package.
18290 * java/lang/management/ManagementFactory.java:
18291 New class to provide access to the OS bean.
18292 * java/lang/management/OperatingSystemMXBean.java:
18294 * java/lang/management/package.html:
18295 New file to document the java.lang.management package.
18297 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18299 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18302 (SECURITY): Likewise.
18303 (CACERTS): Likewise.
18304 (CACERTS_GKR): Likewise.
18305 (gkrCaCertsPathName): New field.
18306 (jksCaCertsPathName): Likewise.
18307 (selfSignedCertificate): Likewise.
18308 (start): Initialize trusted certificate key stores if -trustcacerts is
18310 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18311 (orderChain): Implemented.
18312 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18313 certificate key stores if -trustcacerts option is specified.
18314 (findTrustInCACerts): Removed.
18315 (getCertPathParameters): New method.
18316 (validate): New method.
18317 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18319 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18321 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18322 (PATTERN_KEY): Likewise.
18323 (DEFAULT_PATTERN): Likewise.
18324 (LIMIT_KEY): Likewise.
18325 (DEFAULT_LIMIT): Likewise.
18326 (COUNT_KEY): Likewise.
18327 (DEFAULT_COUNT): Likewise.
18328 (APPEND_KEY): Likewise.
18329 (DEFAULT_APPEND): Likewise.
18330 (FileHandler()): Use pattern value as set in logging.properties.
18331 Use constants defined above.
18332 (FileHandler(1)): Use constants defined above.
18333 (FileHandler(2)): Likewise.
18334 (FileHandler(3)): Likewise.
18335 (FileHandler(4)): Likewise.
18336 (createFileStream): Likewise.
18338 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18340 * java/util/logging/FileHandler.java: Reverted previous patch.
18341 * java/util/logging/LogManager.java: Likewise.
18343 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18345 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18346 (DEFAULT_PATTERN): Likewise.
18347 (FileHandler()): Use configured pattern property if any; otherwise use a
18348 default value as per RI documentation.
18349 * java/util/logging/LogManager.java (getStringProperty): New method.
18351 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18353 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18355 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18357 * configure.ac (FOUND_CACAO): New automake conditional.
18358 Add --enable-tool-wrappers.
18359 * NEWS: Introduce the --enable-tool-wrappers option.
18360 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18361 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18363 * tools/toolwrapper.c: New file.
18365 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18367 * java/awt/Graphics2D.java: Use full class name for
18368 PrinterJob in javadoc.
18370 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18372 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18373 (callMouseMethod): Likewise.
18375 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18377 * native/jni/java-net/java_net_VMURLConnection.c:
18378 Fix function declarations to specify unused parameters.
18379 * scripts/check_jni_methods.sh:
18380 Remove copies of the same function using uniq.
18382 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18384 * vm/reference/java/net/VMURLConnection.java:
18385 Make package-private and final.
18387 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18389 * examples/gnu/classpath/examples/swing/TableDemo.java
18390 (TModed): Added editor for the icons column.
18391 (createContent): Increase the row height by 2 px.
18393 2006-05-26 Tom Tromey <tromey@redhat.com>
18395 PR classpath/27685:
18396 * java/math/BigInteger.java (modPow): Correctly handle negative
18399 2006-05-26 Tom Tromey <tromey@redhat.com>
18401 * configure.ac: Check for magic.h and -lmagic.
18402 * vm/reference/java/net/VMURLConnection.java: New file.
18403 * include/java_net_VMURLConnection.h: New file.
18404 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18405 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18406 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18408 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18409 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18411 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18413 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18415 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18417 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18418 libjawtgnu.la libjawt.la.
18420 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18422 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18425 2006-05-25 Lillian Angel <langel@redhat.com>
18428 * java/awt/Window.java
18429 (Window): Moved code to helper.
18430 (addWindowFocusListener): New function. Handles focus
18431 listener code. Added code to handle focus lost/gained
18434 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18437 Make pkg-config check for GTK+ >= 2.8.
18439 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18441 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18442 (flush): Remove debugging printfs.
18444 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18446 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18447 (schedule_flush): New function.
18448 (end_drawing_operation): Call schedule_flush.
18450 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18452 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18453 paint performance demo.
18454 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18456 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18458 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18459 Cairo version requirement. Do not mention --enable-gtk-cairo
18461 * NEWS: Add entry for GdkGraphics2D.
18462 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18463 Cairo library and headers.
18464 * .externalToolBuilders/Configure.launch: Remove
18465 --enable-gtk-cairo from configure line.
18466 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18468 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18469 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18470 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18471 useGraphics2D references. Always assume Graphics2D is enabled.
18472 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18473 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18474 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18475 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18476 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18477 useGraphics2D references. Always assume Graphics2D is enabled.
18478 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18479 Graphics2D check. Always assume Graphics2D is enabled.
18480 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18481 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18482 (realize): Remove method.
18483 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18484 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18485 (isRealized): Remove method.
18486 (realize): Implement as a native method. Remove useGraphics2D
18487 references. Always assume Graphics2D is enabled.
18488 * gnu/java/awt/peer/gtk/GtkImage.java,
18489 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18490 GdkGraphics references with GdkGraphics2D references.
18491 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18492 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18493 useGraphics2D references. Always assume Graphics2D is enabled.
18494 * include/Makefile.am (GTKPEER_H_FILES): Remove
18495 gnu_java_awt_peer_gtk_GdkGraphics.h.
18496 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18497 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18498 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18499 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18500 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18501 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18502 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18503 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18504 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18505 (AM_LDFLAGS): Remove CAIRO_LIBS.
18506 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18507 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18509 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18511 2006-05-25 Lillian Angel <langel@redhat.com>
18513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18514 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18515 Added check to prevent assertion error. If widget->window is null, then
18516 use the parent widget's window to set the cursor on.
18518 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18520 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18523 2006-05-24 Lillian Angel <langel@redhat.com>
18525 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18526 (prependCodeBase): Added check to determine if the documentbase
18527 points to a directory or a file.
18529 2006-05-24 Sven de Marothy <sven@physto.se>
18531 * java/awt/dnd/DragGestureRecognizer.java
18532 (resetRecognizer): Implement.
18533 (fireDragGestureRecognized): Implement.
18535 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18537 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18538 fixed source code formatting.
18540 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18542 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18544 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18546 Reported by Antony Balkisson.
18547 * javax/swing/JTable.java (selectAll): Return without action
18548 if the table is empty.
18550 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18552 * examples/gnu/classpath/examples/swing/TableDemo.java:
18553 (SliderCell): New inner class. (setCustomEditors,
18554 setInformativeHeaders): New fields. (createContent):
18556 * javax/swing/DefaultCellEditor.java
18557 (JComboBoxDelegate.shouldSelectCell): New method.
18558 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18559 * javax/swing/plaf/basic/BasicTableUI.java
18560 (MouseInputHandler.mouseClicked): Start editing on a single
18561 click if the cell editor is not a default cell editor.
18563 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18565 * javax/swing/naming/CompositeName.java,
18566 javax/swing/naming/CompoundName.java:
18569 2006-05-23 Archie Cobbs <archie@dellroad.org>
18571 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18574 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18576 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18577 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18578 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18579 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18580 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18581 * javax/swing/tree/ExpandVetoException.java: Likewise,
18582 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18583 * javax/swing/tree/RowMapper.java: Likewise,
18584 * javax/swing/tree/TreeNode.java: Likewise,
18585 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18586 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18588 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18590 * javax/swing/tree/DefaultTreeCellRenderer.java
18591 (DefaultTreeCellRenderer): Changed key for
18592 setBackgroundNonSelectionColor(),
18593 plus API docs all over.
18595 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18598 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18599 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18600 Initialise in constructor. (columnMoved): Cancel editing.
18601 (createDefaultEditors): Rewritten. (editCellAt):
18602 Just invert the value if this is a boolean cell.
18603 (initialiseLocalVars): Do not initialise renderer and editor tables.
18604 (setUI): Create editors and renderers here.
18606 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18608 * examples/gnu/classpath/examples/awt/Demo.java:
18609 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18610 instance as subframe.
18611 (ResolutionWindow): New inner class.
18612 (FullscreenWindow): New inner class.
18614 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18617 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18618 Set horizontal alignment to centered.
18620 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18622 * javax/accessibility/AccessibleContext.java
18623 (getAccessibleComponent): Fixed typo in docs,
18624 * javax/swing/JLabel.java:
18625 (AccessibleJLabel.getAccessibleName): Check for explicit
18627 * javax/swing/JTableHeader.java
18628 (AccessibleJTableHeaderEntry.columnIndex): New field,
18629 (AccessibleJTableHeaderEntry.parent): New field,
18630 (AccessibleJTableHeaderEntry.table): New field,
18631 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18633 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18635 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18636 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18637 (AccessibleJTableHeaderEntry.contains): Implemented,
18638 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18639 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18640 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18641 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18642 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18643 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18644 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18645 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18646 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18647 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18648 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18649 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18650 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18651 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18652 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18653 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18654 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18655 (AccessibleJTableHeaderEntry.getFont): Implemented,
18656 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18657 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18658 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18659 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18660 (AccessibleJTableHeaderEntry.getSize): Implemented,
18661 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18662 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18663 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18664 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18665 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18666 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18668 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18669 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18670 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18671 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18672 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18673 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18674 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18675 (AccessibleJTableHeaderEntry.setFont): Implemented,
18676 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18677 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18678 (AccessibleJTableHeaderEntry.setSize): Implemented,
18679 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18680 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18681 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18682 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18683 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18685 2006-05-22 Tom Tromey <tromey@redhat.com>
18689 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18691 * javax/swing/JLabel.java
18692 (AccessibleJLabel.getAccessibleName): New method (override),
18693 (setLabelFor): Fire 'labelFor' property change event before other
18696 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18698 * javax/swing/JLabel.java
18699 (AccessibleJLabel.getAccessibleRole): New method (override).
18701 2006-05-22 Tom Tromey <tromey@redhat.com>
18703 * resource/gnu/classpath/tools/serialver/messages.properties: New
18705 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18706 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18708 (classpath): Likewise.
18711 (addFileURL): New method.
18712 (getClassLoader): Likewise.
18713 (printMessage): Likewise.
18715 2006-05-22 Tom Tromey <tromey@redhat.com>
18717 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18719 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18721 * javax/swing/JTable.java (doLayout): In the column
18722 resize mode, only repaing the changed part of the table.
18723 (getLeftResizingBoundary): New method.
18725 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18727 * javax/naming/spi/InitialContextFactory.java,
18728 javax/naming/spi/InitialContextFactoryBuilder.java,
18729 javax/naming/spi/NamingManager.java,
18730 javax/naming/spi/ObjectFactory.java,
18731 javax/naming/spi/ResolveResult.java,
18732 javax/naming/spi/Resolver.java,
18733 javax/naming/spi/StateFactory.java: Documented.
18735 2006-05-21 Tom Tromey <tromey@redhat.com>
18737 PR classpath/27688:
18738 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18740 (initSet): Removed.
18741 (shouldExtract): Removed.
18743 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18744 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18747 (allItems): New field.
18748 (run): Initialize it.
18751 2006-05-22 Sven de Marothy <sven@physto.se>
18753 * java/nio/CharBuffer.java
18754 (wrap): Fix bounds checking.
18756 2004-08-26 Tom Tromey <tromey@redhat.com>
18758 * java/io/OutputStream.java
18759 (OutputStream): Implements Closeable, Flushable.
18761 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18763 * java/io/ObjectOutputStream.java:
18764 (writeObject(Object)): Added enum support.
18765 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18766 * java/io/ObjectStreamClass.java:
18767 (isEnum()): New package-private method.
18768 (setFlags(Class)): Added enum support.
18769 * java/io/ObjectStreamConstants.java:
18772 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18774 * java/io/ObjectInputStream.java:
18775 (parseContent(byte)): Added enum support.
18776 * java/io/ObjectStreamConstants.java:
18778 (TC_MAX): Changed to new maximum, TC_ENUM.
18780 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18782 * java/beans/beancontext/BeanContextSupport.java:
18783 (instantiateChild(String)): Implemented.
18785 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18787 * java/beans/beancontext/BeanContextSupport.java:
18788 (add(Object)): Add further documentation.
18789 (isEmpty()): Documented.
18790 (propertyChange(PropertyChangeEvent)): Implemented.
18791 (remove(Object)): Documented.
18792 (remove(Object,boolean)): Documented and implemented.
18793 (vetoableChange(PropertyChangeEvent)): Marked as
18794 implemented (only subclasses appear to need this).
18796 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18798 * java/beans/beancontext/BeanContextSupport.java:
18799 (add(Object)): Implement support for the child being
18800 a BeanContextChild.
18801 (avoidingGui()): Implemented.
18802 (dontUseGui()): Likewise.
18803 (needsGui()): Likewise.
18804 (okToUseGui()): Likewise.
18806 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18808 * javax/naming/Context.java,
18809 javax/naming/ContextNotEmptyException.java,
18810 javax/naming/Reference.java: Documented.
18812 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18814 * javax/swing/text/html/MinimalHTMLWriter.java
18815 (writeComponent, writeImage): Declare that the method
18816 may throw the IOException.
18818 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18821 * javax/naming/InitialContext.java (colon_list): Changed type to
18822 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18823 (merge): Rewritten.
18825 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18827 * javax/naming/InitialContext.java: Documented.
18829 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18831 * javax/naming/NameParser.java,
18832 javax/naming/NamingEnumeration.java,
18833 javax/naming/PartialResultException.java,
18834 javax/naming/SizeLimitExceededException.java,
18835 javax/naming/spi/ObjectFactory.java,
18836 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18838 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18840 * gnu/java/net/loader/JarURLLoader.java:
18841 Use Map.Entry instead of LinkedHashMap.Entry
18843 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18845 * javax/naming/Context.java: Documented.
18847 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18849 * javax/naming/Referenceable.java: Documented.
18850 * javax/naming/spi/NamingManager.java: Documented.
18852 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18854 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18855 to messages.properties.
18856 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18857 Renamed to messages.properties.
18858 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18860 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18861 Renamed from MessageBundle.properties.
18862 Added copyright notice.
18863 * resource/gnu/classpath/tools/keytool/messages.properties:
18865 * tools/gnu/classpath/tools/jarsigner/Messages.java
18866 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18867 (getFormattedString): Fixed a spelling mistake.
18868 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18870 2006-05-20 Sven de Marothy <sven@physto.se>
18872 * gnu/java/awt/font/opentype/NameDecoder.java
18874 (getName): Use getShort instead of getChar(), fix PS name.
18875 (decodeName): New method.
18876 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18877 (getSubFamilyName): Implement.
18878 (getPostScriptName): Use the NameDecoder class instead.
18879 (parsePSName): Removed.
18882 2006-05-20 Sven de Marothy <sven@physto.se>
18884 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18885 (getTrueTypeTable): New native method.
18886 (getPostScriptName): Reimplement.
18887 (parsePSName): New method.
18888 (getNumGlyphs): Implement.
18889 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18890 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18891 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18892 New function. File is now explicitly dependent on FT2.
18894 2006-05-20 Tom Tromey <tromey@redhat.com>
18896 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18897 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18899 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18900 (HandleFile): New class.
18901 (input, output, encoding, reversed): New fields.
18902 (createParser): New method.
18905 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18906 (notifyFile): Throws OptionException.
18908 2006-05-20 Tom Tromey <tromey@redhat.com>
18910 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18913 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18915 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18916 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18919 2006-05-20 Sven de Marothy <sven@physto.se>
18921 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18923 2006-05-20 Sven de Marothy <sven@physto.se>
18925 * gnu/java/awt/print/JavaPrinterJob.java
18926 (print): Use PostScriptGraphics2D.
18927 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18929 2006-05-20 Sven de Marothy <sven@physto.se>
18931 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18933 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18935 * gnu/java/security/OID.java: Updated copyright year.
18936 (OID): Removed unused Javadoc param tag.
18937 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18938 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18940 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18942 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18944 Added trace/debug statements.
18945 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18946 Entry. Also ensure that any previous entry for this alias is removed
18947 before a new one is added.
18948 (engineGetKey): Do not trace/log passwords.
18949 Trace key's class name only.
18950 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18951 Certificate Entry. Also ensure that previous entry for this alias is
18952 removed before a new one is added.
18953 (engineLoad): Do not trace/log passwords.
18954 (engineStore): Likewise.
18955 (engineSize): Use size of enumeration instead of collection size.
18957 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18959 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18960 (toString): New method.
18961 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18962 Do not trace/log passwords.
18963 Set masked to false before decoding envelope.
18964 Do not set payload to null.
18965 (encrypt): Set masked to true.
18966 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18967 Do not trace/log passwords.
18968 Set masked to false before decoding envelope.
18969 Do not set payload to null.
18970 Added trace/debug statements.
18971 (authenticate): Do not trace/log passwords.
18972 Set masked to true.
18973 Added trace/debug statements.
18974 (getMac): Added trace/debug statements.
18975 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18976 (remove(String)): Changed the signature to return a boolean.
18977 (toString): New method.
18978 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18980 (getCertificate): Likewise.
18981 (putCertificate): Likewise.
18983 Do not trace/log passwords.
18985 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18986 Do not trace/log passwords.
18987 Added more trace/logging statements.
18988 (putPrivateKey): Do not trace/log passwords.
18989 Trace only key's class name.
18991 (containsPublicKey): Formatting.
18992 (getPublicKey): Likewise.
18993 Trace only key's class name.
18994 (putPublicKey): Trace only key's class name.
18995 (containsCertPath): Formatting.
18996 (getCertPath): Likewise.
18997 (putCertPath): Likewise.
18998 (load): Do not trace/log passwords.
19001 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19002 (add): Do not set payload to null.
19003 Added trace/debug statements.
19004 (containsAlias): Added trace/debug statements.
19006 (remove(Entry)): Likewise.
19007 (remove(String)): Likewise.
19008 Changed the signature to return a boolean.
19009 Do not set payload to null unless really removed.
19010 (toString): New method.
19011 (decodeEnvelope): Clear entries before proceeding.
19012 (makeAliasList): Added trace/debug statements.
19013 Ensure only non-null aliases and alias-lists are added.
19014 * gnu/javax/crypto/keyring/Entry.java (log): New field.
19015 (TYPES): New constant.
19016 (toString): New method.
19017 (defaultDecode): Add trace/debug statement.
19019 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
19021 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19022 Increased visibility.
19023 (setup): Do not trace/log passwords.
19024 (parsed): Was not setting correct (rfc) field; fixed.
19025 (print1Chain): Formatting.
19026 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19027 Do not trace/log passwords.
19028 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19029 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19030 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19031 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19032 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19033 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19034 (orderChain): Added FIXME.
19035 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19036 Do not trace/log passwords.
19037 Removed commented out code.
19038 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19039 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19040 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19041 (setKeystoreURLParam): Likewise.
19042 (setKeystorePasswordParam): Do not trace/log passwords.
19043 (saveKeyStore): Likewise.
19045 2006-05-19 Roman Kennke <kennke@aicas.com>
19047 * gnu/java/awt/java2d/AbstractGraphics2D.java
19049 (pixel): Removed obsolete field.
19050 (draw(Shape)): Removed commented out code.
19051 (drawImage): Formatting.
19052 (drawString): Added optimization hook.
19053 (setPaint): Removed rawSetForeground().
19054 (getFontRenderContext): Return context with correct transform.
19055 (drawGlyphVector): Draw complete outline in one go.
19056 (copyArea): Added optimization hook.
19057 (clearRect): Added optimization hook.
19058 (drawImage): Added optimization hook.
19059 (fillShape): (Temporarily) Set antialiasing off by default for
19060 font rendering. Adjust the shape by some bits to improve rendering.
19061 Pass clip bounds to the render methods.
19062 (drawPixel): Removed.
19063 (rawSetPixel): Removed.
19064 (rawSetForeground): Removed.
19065 (rawDrawLine): Default impl calls standard pipeline.
19066 (rawDrawString): New method, calls standard pipeline for rendering.
19067 (rawClearRect): New method, calls standard pipeline for rendering.
19068 (rawFillRect): New method, calls standard pipeline for rendering.
19069 (rawDrawImage): New method, calls standard pipeline for rendering.
19070 (rawCopyArea): New method.
19071 (copyAreaImpl): New method.
19072 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19074 (fillShapeAntialias): Fixed AA rendering.
19075 (fillScanlineAA): Fixed AA rendering.
19076 (getSegments): Take offset into account.
19078 2006-05-19 Sven de Marothy <sven@physto.se>
19080 * javax/swing/text/AbstractWriter.java
19081 (getText): Fix parameters (start, length) not (start, end).
19083 2006-05-19 Tom Tromey <tromey@redhat.com>
19085 PR classpath/27444:
19086 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19087 Changed return type.
19088 * java/net/URLClassLoader.java (urlloaders): Removed.
19089 (addURLImpl): Updated.
19090 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19091 (indexSet): Likewise.
19092 (classPath): Changed type.
19093 (JarURLLoader): New constructor.
19094 (initialize): New method.
19095 (getResource): Use index set if it exists.
19096 (getClassPath): Updated.
19097 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19098 (prefixes): New field.
19099 (headers): Removed.
19100 (IndexListParser): Fill in prefixes.
19101 (clearAll): Clear prefixes.
19102 (getHeaders): Changed return type.
19104 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19106 * javax/swing/plaf/basic/BasicTableHeaderUI.java
19107 (MouseInputHandler.mouseExitted): No nothing there.
19108 (MouseInputHandler.endDragging): Move column to the
19109 first/last position if released outside the horizontal
19112 2006-05-19 Lillian Angel <langel@redhat.com>
19114 * java/awt/font/GlyphVector.java
19115 (getGlyphCharIndex): Implemented.
19116 (getGlyphCharIndices): Implemented.
19117 (getGlyphOutline): Implemented.
19118 (getGlyphVisualBounds): Implemented.
19119 (getGlyphVisualBounds): Implemented.
19120 (getPixelBounds): Implemented.
19121 (getLayoutFlags): Implemented.
19123 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19125 * java/awt/LightweightDispatcher.java: Added field dragButton and
19126 documentation for it.
19127 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19128 added subexpression to if-clause in MOUSE_RELEASED case.
19130 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19132 * javax/swing/metal/MetalButtonUI.java:
19133 (update): Removed some subexpression from if-clause and call
19134 updateWithGradient.
19135 (updateWithGradient): New method.
19137 2006-05-19 Roman Kennke <kennke@aicas.com>
19139 * javax/swing/JComponent.java
19140 (findOverlapFreeParent): Implemented algorithm for finding
19141 overlapping in component hierarchy.
19143 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
19145 * java/lang/Thread.java
19146 (contextClassLoaderIsSystemClassLoader): New field.
19147 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19148 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19149 and set contextClassLoaderIsSystemClassLoader.
19150 (Thread(ThreadGroup,Runnable,String,long)):
19151 Set contextClassLoaderIsSystemClassLoader.
19152 (createAnonymousThreadName): New method.
19153 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19154 and fixed security check.
19155 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19157 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19159 * javax/swing/plaf/basic/BasicToolBarUI.java:
19160 (createNonRolloverBorder): Rewritten.
19161 (createRolloverBorder): Rewritten.
19162 (setToNonRolloverBorder): Store old border instance in hashtable.
19163 (setToRolloverBorder): Store old border instance in hashtable, use
19164 AbstractButton instead of JButton in statements.
19165 (setBorderToNormal): Rewritten.
19166 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19167 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19168 ToolBar.nonrolloverBorder.
19170 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19172 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19173 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19175 2006-05-18 Lillian Angel <langel@redhat.com>
19177 * java/awt/font/GlyphMetrics.java
19178 (getLSB): Implemented.
19179 (getRSB): Implemented.
19181 2006-05-18 Lillian Angel <langel@redhat.com>
19183 * java/awt/font/GraphicAttribute.java:
19184 Documented entire class.
19185 (GraphicAttribute): Added check for alignment.
19186 (getBounds): Implemented.
19187 (getJustificationInfo): Implemented.
19189 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19191 * java/awt/LightweightDispatcher.java:
19192 (handleMouseEvent): Added note, added subexpression to if-statement.
19194 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19196 * javax/swing/plaf/basic/BasicToolBarUI.java:
19197 (navigateFocusedComp): Marked as stub.
19198 (createRolloverBorder): Create a different Border instance, added note.
19199 * javax/swing/plaf/metal/MetalBorders.java:
19200 (ButtonBorder): Added documentation.
19201 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19202 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19203 subexpression into if-else cascade, added note.
19205 2006-05-18 Lillian Angel <langel@redhat.com>
19207 * java/awt/font/ShapeGraphicAttribute.java:
19208 Documented entire class.
19209 (ShapeGraphicAttribute): Initialized bounds field.
19210 (draw): Implemented.
19211 (equals): Implemented.
19212 (getAdvance): Implemented.
19213 (getAscent): Implemented.
19214 (getBounds): Implemented.
19215 (getDescent): Implemented.
19216 (hashCode): Implemented.
19218 2006-05-18 Roman Kennke <kennke@aicas.com>
19220 * javax/swing/CellRendererPane.java
19221 (CellRendererPane): Set CellRendererPane to invisible.
19223 2006-05-18 Roman Kennke <kennke@aicas.com>
19225 * gnu/java/awt/peer/gtk/GdkGraphics.java
19226 (clipRect): Removed old intersection statement.
19228 2006-05-18 Roman Kennke <kennke@aicas.com>
19230 * gnu/java/awt/peer/gtk/GdkGraphics.java
19231 (clipRect): Don't use Rectangle.intersection() to avoid creating
19232 2 unnecessary Rectangle instances and fix a clipping problem.
19233 (computeIntersection): New helper method, adapted from SwingUtilities.
19235 2006-05-18 Roman Kennke <kennke@aicas.com>
19237 * javax/swing/JComponent.java
19238 (isCompletelyDirty): Removed.
19239 (paint): Don't mark children as clean, this is no longer necessary.
19240 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19241 painting when something overlaps the viewport (like a popup/menu).
19242 * javax/swing/RepaintManager.java
19243 (currentRepaintManagers): Made package private to avoid accessor
19245 (dirtyComponents): Made private.
19246 (dirtyComponentsWork): Made private.
19247 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19248 component-local not parent-local. Do not set flag in JComponent.
19249 (markCompletelyClean): Don't set JComponent flag.
19250 (isCompletelyDirty): Rewritten to return true when the complete
19251 component is marked dirty.
19252 (paintDirtyRegions): Improved parent-merging so that the merged-in
19253 components don't get painted too. 'Outsourced' the compilation
19254 of the repaint root components.
19255 (compileRepaintRoots): New helper method.
19257 2006-05-18 Roman Kennke <kennke@aicas.com>
19260 * javax/swing/text/GapContent.java
19261 (GapContentPosition(int)): Use adapted binarySearch method to
19262 allow for having a greater array than number of entries.
19263 (numMarks): New field, holds the end of the marks list.
19264 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19265 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19266 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19267 (setPositionsInRange): Changed signature to narrow the purpose and
19268 special cases inside. Reimplemented to crunch together equal marks.
19269 (adjustPositionsInRange): Added assertion to make sure we do
19270 not accidentally change the order of the mark. Added some debug
19271 output for a special case of which I don't know if it even exists.
19272 (resetMarksAtZero): Made impl simpler.
19273 (dumpMarks): New debug helper method.
19274 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19275 (binarySearch): New method. An adaption of Arrays.binarySearch()
19276 that allows for an maxIndex parameter.
19278 2006-05-18 Roman Kennke <kennke@aicas.com>
19280 * javax/swing/KeyboardManager.java
19281 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19283 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19285 * gnu/java/net/loader/JarURLLoader.java
19286 (JarURLLoader): Use a slightly more efficient URL constructor.
19288 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19290 * gnu/java/awt/print/JavaPrinterGraphics.java
19291 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19292 (drawImage(Image, int, int, ImageObserver)): Likewise,
19293 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19294 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19295 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19296 ImageObserver)): Likewise,
19297 (drawImage(Image, int, int, int, int, int, int, int, int,
19298 ImageObserver)): Likewise.
19300 2006-05-17 Tom Tromey <tromey@redhat.com>
19302 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19305 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19307 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19308 * javax/swing/border/BevelBorder.java: Likewise,
19309 * javax/swing/border/CompoundBorder.java: Likewise,
19310 * javax/swing/border/TitledBorder.java: Likewise.
19312 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19314 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19315 * javax/swing/table/DefaultTableModel.java: Likewise,
19316 * javax/swing/table/TableCellEditor.java: Likewise,
19317 * javax/swing/table/TableCellRenderer.java: Likewise.
19319 2006-05-17 Lillian Angel <langel@redhat.com>
19321 * java/awt/font/ImageGraphicAttribute.java:
19322 Documented entire class.
19323 (ImageGraphicAttribute): Changed to call this.
19324 (ImageGraphicAttribute): Implemented.
19325 (draw): Implemented.
19326 (equals): Implemented.
19327 (getAdvance): Implemented.
19328 (getAscent): Implemented.
19329 (getBounds): Implemented.
19330 (getDescent): Implemented.
19331 (hashCode): Implemented.
19332 * javax/swing/text/html/HTMLDocument.java
19333 (create): Removed. Sufficent enough for
19334 super to be called.
19335 (insert): Likewise.
19336 (insertUpdate): Likewise.
19337 (processHTMLFrameHyperlinkEvent): Marked as stub.
19338 (start): Removed FIXME.
19340 (start): Called super.
19341 (end): Called super.
19342 (getElement): removed unneeded code.
19343 (setParagraphAttribute): Removed. Sufficent enough
19344 for super to be called.
19345 (fireChangedUpdate): Likewise.
19346 (fireUndoableEditUpdate): Likewise.
19348 2006-05-17 Lillian Angel <langel@redhat.com>
19350 * java/awt/TexturePaint.java:
19351 Added documentation for class and all functions.
19352 (getTransparency): Implemented.
19354 2006-05-17 Roman Kennke <kennke@aicas.com>
19356 * java/awt/LightweightDispatcher.java
19357 (findTarget): Translate point to child components.
19359 2006-05-17 Roman Kennke <kennke@aicas.com>
19362 * javax/swing/text/GapContent.java
19363 (GapContentPosition): Do no more implement Comparable.
19364 (GapContentPosition.mark): Removed field.
19365 (GapContentPosition.index): New field to hold the index into
19366 the positions array.
19367 (GapContentPosition(int)): Rewritten to use the new indirection
19368 to the positions array.
19369 (GapContentPosition.compareTo): Removed.
19370 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19371 positionMarks array.
19372 (WeakPositionComparator): Removed obsolete class.
19373 (positions): Changed type to WeakHashMap.
19374 (positionMarks): New field, holds the marks of the positions.
19375 (GapContent): Initialize new fields.
19376 (createPosition): Rewritten to use the new indirection
19377 to the positions array.
19378 (getPositionsInRange): Rewritten to use the new indirection
19379 to the positions array.
19380 (setPositionsInRange): Rewritten to use the new indirection
19381 to the positions array.
19382 (adjustPositionsInRange): Rewritten to use the new indirection
19383 to the positions array.
19384 (insertMark): New helper method.
19385 (clearPositionReferences): Removed obsolete methods.
19387 2006-05-17 Lillian Angel <langel@redhat.com>
19389 * java/awt/GraphicsConfiguration.java
19390 (getImageCapabilities): Implemented.
19391 (getBufferCapabilities): Implemented.
19393 2006-05-17 Lillian Angel <langel@redhat.com>
19395 * javax/swing/plaf/basic/BasicSliderUI.java
19396 (focusGained): Implemented.
19397 (focusLost): Implemented.
19398 (paint): Added code to paint the focus.
19399 * javax/swing/plaf/metal/MetalSliderUI.java
19400 (paintThumb): Added code to set the thumbColor.
19401 (paintFocus): Implemented properly.
19403 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19406 * javax/naming/spi/NamingManager.java (getURLContext):
19407 Always search for the factory class in all possible places
19408 and use VMStackWalker.
19409 (forName): New method.
19411 2006-05-17 Roman Kennke <kennke@aicas.com>
19413 * java/awt/LightweightDispatcher.java
19414 (handleMouseEvent): Fixed search algorithm for finding the
19415 mouse event target.
19416 (findTarget): Fixed search algorithm for finding the
19417 mouse event target.
19419 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19421 * javax/naming/spi/NamingManager.java: Documented.
19423 2006-05-17 Mark Wielaard <mark@klomp.org>
19425 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19426 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19427 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19428 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19430 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19433 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19435 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19437 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19439 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19442 * java/awt/LightweightDispatcher.java:
19443 (handleMouseEvent): Moved assignment into switch-block, added notes.
19445 2006-05-16 Lillian Angel <langel@redhat.com>
19447 * javax/swing/text/StyleContext.java:
19448 Changed staticAttributeKeys to be a Hashtable.
19449 (getStaticAttribute): Implemented.
19450 (getStaticAttributeKey): Implemented.
19451 (readAttributeSet): Implemented.
19452 (writeAttributeSet): Added FIXME. Not sure how
19454 (readAttributes): Implemented.
19455 (writeAttributes): Implemented.
19456 (registerStaticAttibuteKey): Fixed to add key to
19459 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19461 * javax/swing/DefaultButtonModel.java
19462 (setGroup): Removed event notification.
19464 2006-05-16 Lillian Angel <langel@redhat.com>
19466 * javax/swing/plaf/basic/BasicComboBoxUI.java
19467 (installKeyboardActions): Implemented.
19468 (uninstallKeyboardActions): Implemented.
19469 * javax/swing/plaf/basic/BasicComboPopup.java
19470 (uninstallKeyboardActions): Removed FIXME. Nothing
19472 (installKeyboardActions): Likewise.
19473 * javax/swing/plaf/basic/BasicTextUI.java
19474 (uninstallKeyboardActions): Implemented.
19475 * javax/swing/plaf/basic/BasicTreeUI.java:
19476 Added field for hashColor.
19477 Marked stub methods.
19478 (getHashColor): Implemented to use field.
19479 (setHashColor): Likewise.
19480 (getRowX): Implemented.
19481 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19483 2006-05-16 Roman Kennke <kennke@aicas.com>
19486 * javax/swing/JTable.java
19487 (rowHeights): New field.
19488 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19489 in order to initialize rowHeights correctly.
19490 (tableChanged): Nullify rowHeights when model changes. Only
19491 create default columns from model when corresponding property
19492 is set. Sync table model with rowHeights as appropriate.
19493 (valueChanged): Call repaint with the correct rectangle.
19494 (rowAtPoint): Handle rowHeights.
19495 (getCellRect): Mostly rewritten. Check for boundaries
19496 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19497 Handle component orientation. Round correctly.
19498 (getRowHeight(int)): Implemented for variable row height.
19499 (setRowHeight(int,int)): Implemented for variable row height.
19500 (setRowHeight(int)): Nullify rowHeights.
19501 (setModel): Notify tableChanged().
19502 * javax/swing/plaf/basic/BasicTableUI.java
19503 (installDefaults): Create rendererPane in installUI.
19504 (installUI): Create and install rendererPane.
19505 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19507 (paint): Correctly handle rowMargin.
19509 2006-05-16 Tom Tromey <tromey@redhat.com>
19511 PR classpath/27563:
19512 * java/text/NumberFormat.java (getIntegerInstance): Use
19513 "integerFormat", not "numberFormat".
19515 2006-05-16 Lillian Angel <langel@redhat.com>
19517 * javax/swing/JPopupMenu.java
19518 (addMenuKeyListener): Implemented.
19519 (removeMenuKeyListener): Implemented.
19520 (getMenuKeyListeners): Implemented.
19521 * javax/swing/ProgressMonitor.java:
19522 Added new protected field.
19523 (getAccessibleContext): Implemented.
19525 2006-05-16 Lillian Angel <langel@redhat.com>
19527 * javax/swing/JFileChooser.java:
19528 Added new private field.
19529 (setDragEnabled): Implemented.
19530 (getDragEnabled): Implemented.
19532 2006-05-16 Lillian Angel <langel@redhat.com>
19534 * java/awt/Window.java
19535 (applyResourceBundle): Implemented.
19537 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19539 * javax/swing/DefaultButtonModel.java
19540 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19543 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19545 * javax/swing/JList.java (getSelectedValues):
19546 Ask the value for the indexed array element.
19548 2006-05-16 Roman Kennke <kennke@aicas.com>
19550 * javax/swing/JTable.java
19551 (valueChanged): Also repaint when table has only 1 row. Fixed
19552 repaint rectangle to span the entire changed rows.
19554 2006-05-16 Roman Kennke <kennke@aicas.com>
19557 * javax/swing/JOptionPane.java
19558 (startModal): Rewritten. The events are now dispatched, even
19559 when the event dispatch thread gets blocked by the call
19560 to this method. Also, mouse events get intercepted outside the
19563 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19565 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19566 (BorderListener.mouseDragged):Do not set cursor
19567 if the frame is being dragged.
19569 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19571 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19572 (BorderListener): Rewritten. (InternalFrameBorder):
19573 Made package private.
19574 (InternalFrameBorder.offset):
19575 Renamed to cornerSize, made package private.
19576 (bSize): Made package private.
19578 2006-05-16 Roman Kennke <kennke@aicas.com>
19580 * javax/swing/JMenu.java
19581 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19582 (AccessibleJMenu.getAccessibleChild): Implemented.
19583 (AccessibleJMenu.getAccessibleSelection): Implemented.
19584 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19585 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19586 (AccessibleJMenu.getAccessibleRole): Documented.
19587 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19588 (AccessibleJMenu.addAccessibleSelection): Implemented.
19589 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19590 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19591 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19592 (createPath): New helper method.
19594 2006-05-15 Tom Tromey <tromey@redhat.com>
19596 * java/text/MessageFormat.java (format): Now varargs.
19598 2006-05-15 Tom Tromey <tromey@redhat.com>
19600 * java/lang/Thread.java (State): Fixed typo.
19602 2006-05-15 Tom Tromey <tromey@redhat.com>
19604 * java/net/URLClassLoader.java: Moved inner classes to
19605 gnu.java.net.loader.
19606 (factoryCache): Changed type.
19607 (URL_LOADER_PREFIX): New constant.
19608 (URLClassLoader): Updated for new factoryCache.
19609 (addURLImpl): Use reflection to search for a loader.
19610 (findClass): Use getClass method on URLLoader.
19611 (getURLStreamHandler): Removed.
19612 * gnu/java/net/loader/URLLoader.java: New file, extracted
19613 from URLClassLoader.
19614 * gnu/java/net/loader/Resource.java: Likewise.
19615 * gnu/java/net/loader/FileResource.java: Likewise.
19616 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19617 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19618 * gnu/java/net/loader/JarURLResource.java: Likewise.
19619 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19620 * gnu/java/net/loader/RemoteResource.java: Likewise.
19621 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19623 2006-05-15 Sven de Marothy <sven@physto.se>
19625 * native/target/generic/target_generic_network.h:
19626 Add a pair of parenthesis.
19628 2006-05-15 Mark Wielaard <mark@klomp.org>
19630 * java/awt/Graphics2D.java: Remove PrinterJob import.
19632 2006-05-15 Mark Wielaard <mark@klomp.org>
19634 * doc/www.gnu.org/announce/20060515.wml: New file.
19635 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19636 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19638 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19640 * NEWS: Announce inclusion of gcjwebplugin.
19641 Announce inclusion of appletviewer.
19642 * INSTALL: Note gcjwebplugin dependencies.
19644 2006-05-15 Mark Wielaard <mark@klomp.org>
19646 * configure.ac (VERSION): Set to 0.91-generics.
19648 2006-05-15 Mark Wielaard <mark@klomp.org>
19650 * NEWS: Add release date and VMClassLoader.getBootPackages()
19653 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19655 * README: Added CACAO to list of VMs.
19657 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19659 * javax/swing/RepaintManager.java (paintDirtyRegions):
19660 Break loop as soon as the component repaint is merged
19661 with some parent. (ComponentComparator): Removed.
19662 (comparator): Removed.
19664 2006-05-15 Roman Kennke <kennke@aicas.com>
19666 * javax/swing/border/TitledBorder.java
19667 (paintBorderWithTitle): Fixed indentation.
19669 2006-05-15 Roman Kennke <kennke@aicas.com>
19671 * javax/swing/border/TitledBorder.java
19672 (layoutBorderWithTitle): Fetch border using getBorder() instead
19673 of using the border field directly. Allows for the use of
19674 an UI supplied border in the case when a null border was set.
19675 Fixed component orientation.
19676 (paintBorderWithTitle): Fetch border using getBorder() instead
19677 of using the border field directly. Allows for the use of
19678 an UI supplied border in the case when a null border was set.
19680 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19682 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19683 (contains): New method.
19685 2006-05-15 Tom Tromey <tromey@redhat.com>
19687 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19689 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19692 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19694 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19696 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19697 region. (paintDirtyRegions): Rewritten.
19699 2006-05-15 Tom Tromey <tromey@redhat.com>
19701 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19703 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19705 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19706 (run): Use MessageFormat.
19707 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19708 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19709 (writeFile): Use MessageFormat.
19711 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19713 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19714 instead of directly calling the class loader.
19716 2006-05-15 Tom Tromey <tromey@redhat.com>
19718 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19719 Removed old comment.
19720 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19721 Externalized strings.
19722 (getVersionString): Use MessageFormat.
19723 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19724 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19725 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19726 (getArgument): Use a MessageFormat.
19727 (handleLongOption): Likewise.
19730 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19733 * javax/swing/text/FieldView.java:
19734 (paint): Calculate intersection between clip and allocation area and
19735 set that as new clip.
19737 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19739 * javax/swing/text/JTextComponent.java: Marked stub methods.
19741 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19743 * javax/swing/JTable.java: Marked stub methods.
19745 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19747 * tools/gnu/classpath/tools/jarsigner/Main.java:
19748 Increased visibility of fields used by parser anonymous classes.
19749 (KEYTOOL_TOOL): New constant.
19750 (cmdLineParser): Changed type to ToolParser.
19751 (fileAndAlias): new field.
19752 (main): Don't catch OptionException.
19753 (processArgs): Removed validation checks; now handled by ToolParser.
19754 (getParser): Removed.
19755 (ToolParserCallback): New inner class.
19756 (ToolParser): Likewise.
19758 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19760 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19763 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19765 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19766 endResizingFrame): Do not repaint, unless in the outline mode.
19768 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19770 * javax/swing/JTabbedPane.java
19771 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19772 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19773 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19774 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19775 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19776 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19777 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19778 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19779 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19780 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19781 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19782 (Page.getAccessibleName): Implemented.
19784 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19786 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19787 Do not repaint nor revalidate here.
19789 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19791 * javax/swing/RepaintManager.java (addDirtyRegion):
19792 If there is a lightweight parent, recursively add the corresponding
19793 region of the parent instead.
19795 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19797 * java/awt/Graphics2D.java: Added some API doc comments.
19799 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19801 * javax/swing/JTabbedPane.java
19802 (paramString): Reimplemented,
19803 (getAccessibleContext): Added API docs.
19805 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19807 * javax/swing/JFileChooser.java
19808 (paramString): Reimplemented,
19809 (getAccessibleContext): Updated API docs,
19810 (AccessibleJFileChooser): Added API docs.
19812 2006-05-14 Tom Tromey <tromey@redhat.com>
19814 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19816 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19818 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19820 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19821 validation to JarParser.
19822 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19823 (run): Moved validation to JarParser. Don't throw OptionException.
19824 (initializeParser): Create a JarParser.
19825 (main): Don't catch OptionException.
19826 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19828 (validate): New method.
19829 (parse): Call it. Print '-help' in error message when long-only.
19831 2006-05-14 Tom Tromey <tromey@redhat.com>
19833 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19836 2006-05-15 Sven de Marothy <sven@physto.se>
19838 * gnu/java/awt/print/JavaPrinterGraphics.java:
19839 Sweeping changes I can't be bothered to document in detail.
19840 * gnu/java/awt/print/JavaPrinterJob.java
19841 (getPageAttributes): New method.
19842 (setPageable,cancel,isCancelled): Implement.
19844 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19846 * javax/swing/JCheckBoxMenuItem.java
19847 (requestFocus): Fixed typo in API docs,
19848 (paramString): Just call super.paramString(),
19849 (getAccessibleContext): Added API docs,
19850 (AccessibleJCheckBoxMenuItem): Likewise.
19852 2006-05-14 Tom Tromey <tromey@redhat.com>
19854 * tools/gnu/classpath/tools/jar/Indexer.java
19855 (writeCommandLineEntries): Simplify insertion.
19856 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19859 2006-05-14 Tom Tromey <tromey@redhat.com>
19861 PR classpath/27514:
19862 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19864 (JAR_INDEX_VERSION_KEY): Likewise.
19865 (IndexListParser): Updated.
19866 (getVersionInfo): Likewise.
19867 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19868 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19870 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19872 (ModeOption): New constructor.
19873 (parsed): Updated. Use setArchiveFile.
19874 (setArchiveFile): New method.
19875 (run): Handle no-argument case.
19876 (main): Emit --help message on option error.
19877 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19878 (createManifest): New method.
19879 (run): Updated. Throws OptionException. Correctly copy zip entry.
19880 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19882 (writeManifest): Removed.
19883 (outputStream): Now a JarOutputStream.
19884 (writeCommandLineEntries): Changed parameters. Updated callers.
19885 (run): Throws OptionException.
19886 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19887 * java/util/jar/Manifest.java (read): Typo fix.
19889 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19891 * javax/swing/JMenuItem.java
19892 (paramString): Fixed class name in API doc comment.
19894 2006-05-14 Tom Tromey <tromey@redhat.com>
19896 * native/plugin/.cvsignore: Updated.
19898 2006-05-14 Mark Wielaard <mark@klomp.org>
19900 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19903 2006-05-14 Chris Burdess <dog@gnu.org>
19905 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19906 nodes to be preserved during cloneNode.
19908 2006-05-14 Mark Wielaard <mark@klomp.org>
19911 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19912 inherited timeout on socket.
19914 2006-05-14 Lillian Angel <langel@redhat.com>
19916 * java/util/SimpleTimeZone.java: Reverted patch.
19917 (SimpleTimeZone): Throw exception if startMonth ==
19919 (SimpleTimeZone): Likewise.
19920 (checkRule): Rewritten to properly check all values (more
19922 This code is now more stable, at least less buggy than before.
19923 Fixed API documentation.
19924 (setStartRule): Moved checkRule call to end.
19925 (setStartRule): Likewise.
19926 (setEndRule): Likewise.
19927 (setEndRule): Likewise.
19929 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19931 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19934 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19937 * javax/swing/text/AbstractDocument.java:
19938 (insertString): Flipped if-expression and its blocks.
19940 (replace): Flipped if-expression and its blocks, added note, invoke
19941 insertString and remove instead of insertStringImpl and removeImpl.
19943 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19945 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19947 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19949 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19951 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19952 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19953 Increased visibility of fields used by parser anonymous classes.
19954 (processArgs): Removed.
19955 (getParser): New method.
19956 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19957 (setup): Mark (Eclipse) strings that need not be externalised.
19959 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19960 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19961 command line option parsing.
19962 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19963 Increased visibility of fields used by parser anonymous classes.
19964 (processArgs): Removed.
19965 (setup): set 'all' local field.
19966 (getParser): New method.
19967 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19968 Increased visibility of fields used by parser anonymous classes.
19969 (processArgs): Removed.
19970 (getParser): New method.
19971 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19972 (setNewKeyPassword): Fixed comments.
19973 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19974 Increased visibility of fields used by parser anonymous classes.
19975 (processArgs): Removed.
19976 (getParser): New method.
19977 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19979 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19980 Increased visibility of fields used by parser anonymous classes.
19981 (processArgs): Removed.
19982 (setup): Mark (Eclipse) strings that need not be externalised.
19983 (getParser): New method.
19984 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19985 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19986 Increased visibility of fields used by parser anonymous classes.
19987 (processArgs): Removed.
19988 (getParser): New method.
19989 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19990 (ATTRIBUTES_OPT): New constant.
19991 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19992 Increased visibility of fields used by parser anonymous classes.
19993 (processArgs): Removed.
19994 (setup): Mark (Eclipse) strings that need not be externalised.
19996 Reduced logging level.
19997 (getParser): New method.
19998 * tools/gnu/classpath/tools/keytool/Command.java
19999 (processArgs): Made it concrete.
20000 (getParser): New abstract method.
20001 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20003 2006-05-13 Casey Marshall <csm@gnu.org>
20005 Patch by Michael Barker <mike@middlesoft.co.uk>.
20006 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20007 * gnu/java/nio/SelectorImpl.java (register): Added condition for
20008 gnu.java.nio.SocketChannelSelectionKeyImpl.
20009 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20010 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20012 * include/gnu_java_nio_VMChannel.h: new file.
20013 * java/nio/FileChannel.java (read,write): changed to call abstract
20015 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20016 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20017 `gnu_java_nio_VMChannel.c.'
20018 * vm/reference/gnu/java/nio/VMChannel.java: new file.
20020 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
20022 * javax/swing/text/AbstractDocument.java:
20023 (insertString): Flipped if-expression and its blocks.
20025 (replace): Flipped if-expression and its blocks, added note, invoke
20026 insertString and remove instead of insertStringImpl and removeImpl.
20028 2006-05-13 Tom Tromey <tromey@redhat.com>
20030 * java/nio/ByteBufferImpl.java (compact): Always set position.
20032 2006-05-13 Sven de Marothy <sven@physto.se>
20034 * gnu/java/awt/print/JavaPrinterGraphics.java
20035 (spoolPostScript): Use a faster writer.
20037 2006-05-13 Sven de Marothy <sven@physto.se>
20039 * gnu/java/awt/print/JavaPrinterGraphics.java
20040 (colorTripleHex): Reimplement better.
20042 2006-05-13 Sven de Marothy <sven@physto.se>
20044 * javax/swing/text/html/HTMLDocument.java
20045 (CharacterAction.start): Translate tag to StyleAttribute.
20046 (pushCharacterStyle): Push copy of attributes onto stack.
20047 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20050 2006-05-13 Sven de Marothy <sven@physto.se>
20052 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20053 * java/awt/print/PrinterJob.java
20054 (getPrinterJob): Return a JavaPrinterJob
20055 (setPrintService,getPrintService): Implement.
20056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20057 (getPixels): Gtk_threads_enter required.
20058 * gnu/java/awt/print/JavaPrinterGraphics.java
20059 * gnu/java/awt/print/JavaPrinterJob.java
20060 * gnu/java/awt/print/SpooledDocumet.java:
20063 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20065 * javax/swing/text/TextAction.java:
20066 (HorizontalMovementAction): New inner class.
20067 (VerticalMovementAction): New inner class.
20068 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20069 new inner classes to array 'defaultActions'.
20070 (SelectionBeginWordAction): New inner class.
20071 (SelectionEndWordAction): New inner class.
20072 (BeginWordAction): New inner class.
20073 (EndWordAction): New inner class.
20074 (PreviousWordAction.actionPerformed): Rewritten.
20075 (SelectLineAction): New inner class.
20076 (SelectWordAction): New inner class.
20077 (SelectionDownAction): Rewritten.
20078 (SelectionUpAction): Rewritten.
20079 (DownAction): Rewritten.
20080 (UpAction): Rewritten.
20081 (SelectionForwardAction): Rewritten.
20082 (SelectionBackwardAction): Rewritten.
20083 (ForwardAction): Rewritten.
20084 (BackwardAction): Rewritten.
20085 (BeginAction): New inner class.
20086 (EndAction): New inner class.
20087 (DefaultKeyTypedAction.actionPerformed): Use int variant of
20088 Character.isISOControl.
20090 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20092 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20093 (WordFilter.getNextVisualPositionFrom): Added statement to check
20094 for variable pt not being null.
20096 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20098 * javax/swing/text/Utilities.java:
20099 (getNextWord): Fixed grammar in exception message.
20100 (getPreviousWord): Changed expression in first if-clause, added sub-
20101 expression to if-clause in while-loop.
20102 (getWordStart): Changed expression in if-clause.
20103 getNextVisualPositionFrom): Added package-private helper method.
20105 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20107 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20110 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
20112 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20114 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20115 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20116 * tools/gnu/classpath/tools/jarsigner/Main.java:
20117 Increased visibility of fields used by parser anonymous classes.
20118 (HELP_PATH): Removed.
20119 (cmdLineParser): New field.
20120 (main): Handle JVM exit status.
20121 Handle command line parsing exceptions.
20122 (processArgs): Use getopt command line parser.
20123 (getParser): New method.
20124 (setupCommonParams): Removed checks now handled by processArgs().
20125 (setupSigningParams): Likewise.
20126 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20127 Reuse an existing message-bundle constant.
20129 2006-05-12 Tom Tromey <tromey@redhat.com>
20131 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20132 Explicitly specify class for synchronization.
20134 2006-05-12 Tom Tromey <tromey@redhat.com>
20136 * java/util/logging/Logger.java (resetLogger): Fixed typo.
20138 2006-05-12 Sven de Marothy <sven@physto.se>
20140 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20141 * gnu/java/net/protocol/http/HTTPURLConnection.java
20142 (setConnectTimeout): New method.
20143 (getConnection): Add timeout parameter.
20144 * java/net/URLConnection.java
20145 (getConnectTimeout, setConnectTimeout): Implement.
20146 * native/target/generic/target_generic_network.h:
20147 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20149 2006-05-12 Sven de Marothy <sven@physto.se>
20151 * gnu/javax/print/CupsServer.java
20152 (CupsServer): Make the Cups host configurable.
20153 * java/lang/System.java: Document the system property.
20155 2006-05-12 Roman Kennke <kennke@aicas.com>
20157 * javax/swing/border/TitledBorder.java
20158 (paintBorder): Rewritten for simplicity and correctness.
20159 (layoutBorderWithTitle): New helper method.
20160 (paintBorderWithTitle): New helper method.
20161 (getBorderInsets): Rewritten.
20162 (getMinimumSize): Rewritten.
20163 (getRealJustification): Removed.
20164 (getMeasurements): Removed.
20165 (Measurements): Removed.
20167 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20169 * javax/swing/plaf/basic/BasicPanelUI.java
20170 (sharedUI): New field,
20171 (createUI): Return a shared instance rather than a new instance,
20172 (installUI): Reformatted and added API docs,
20173 (installDefaults): Install border if one is defined,
20174 (uninstallDefaults): Uninstall border.
20176 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20178 * javax/swing/JProgressBar.java: Updated API docs all over.
20180 2006-05-11 Lillian Angel <langel@redhat.com>
20182 * java/awt/ContainerOrderFocusTraversalPolicy.java
20183 (getComponentAfter): Should not throw exception if
20184 the ancestor is null. Added a check for this.
20185 Also, changed to use new helper function, we should
20186 iterate through all the components at least once.
20187 (getNextAvailableComponent): New helper function.
20188 (getPrevAvailableComponent): New helper function.
20189 (getComponentBefore): Should not throw exception if
20190 the ancestor is null. Added a check for this.
20191 Also, changed to use new helper function, we should
20192 iterate through all the components at least once.
20193 (getFirstComponent): Changed check to manually check
20194 fields. Calling accept() casts the object to a Component,
20195 so different values may be returned.
20196 (getLastComponent): Likewise.
20198 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20200 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20201 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20202 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20203 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20204 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20205 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20206 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20207 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20208 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20209 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20210 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20211 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20212 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20213 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20214 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20215 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20216 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20217 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20219 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20221 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20222 package-private, added field 'active'.
20223 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20224 cases to update field 'active'.
20225 (mouseDragged): Added documentation, added if-clause to update
20226 selection or caret position.
20227 (mouseClicked): Added early return when text component is disabled.
20228 (focusGained): Moved statements into an if-clause.
20229 (focusLost): Added subexpression to if-clause.
20230 (install): Preset value of 'active'.
20231 (paint): Added subexpression to if-clause.
20232 (isVisible): Extended return expression.
20233 * javax/swing/text/JTextComponent.java:
20234 (copy): Copy only if component is enabled.
20235 (cut): Cut only if component is enabled and editable.
20238 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20240 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20241 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20242 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20243 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20244 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20245 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20246 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20248 2006-05-11 Roman Kennke <kennke@aicas.com>
20250 * gnu/java/awt/font/GNUGlyphVector.java
20251 (GNUGlyphVector): Don't apply the font renderer context's
20254 2006-05-11 Mark Wielaard <mark@klomp.org>
20256 * java/util/logging/Logger.java (global): Initialize inside static
20259 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20261 * javax/swing/JFrame.java
20262 (EXIT_ON_CLOSE): Added note to API docs,
20263 (close_action): Renamed closeAction,
20264 (JFrame()): Change title to "",
20265 (JFrame(String)): Added API docs,
20266 (getAccessibleContext): Likewise,
20267 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20268 (processWindowEvent): Updated for renamed field,
20269 (setDefaultCloseOperation): Likewise, and updated API docs.
20271 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20273 * javax/swing/JFrame.java
20274 (paramString): Reimplemented,
20275 * javax/swing/SwingUtilities.java
20276 (convertWindowConstantToString): New method.
20278 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20280 * javax/swing/WindowConstants.java: Updated API docs.
20282 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20284 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20285 (createUI): Removed 'final' qualifier for parameter,
20286 (paint): Reformatted.
20288 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20290 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20291 (createUI): Removed 'final' qualifier on method argument.
20293 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20295 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20296 (getDefaultIcon): Removed this redundant method.
20298 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20300 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20301 (paint): Pass component size to paintFocus().
20303 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20305 * java/awt/Component.java:
20306 (dispatchEventImpl): Added comment.
20308 2006-05-11 Mark Wielaard <mark@klomp.org>
20310 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20311 Option constructor null argument to String.
20313 2006-05-11 Mark Wielaard <mark@klomp.org>
20315 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20316 Fully qualify PathIterator constants
20318 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20320 * java/awt/Component.java:
20321 (dispatchEventImpl): Added subexpression to if-clause.
20323 2006-05-11 Mark Wielaard <mark@klomp.org>
20325 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20328 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20330 * javax/swing/TransferHandler.java: Marked stub methods.
20332 2006-05-10 Roman Kennke <kennke@aicas.com>
20335 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20336 (installDefaults): Set background of content pane to null, if
20337 no custom color has been installed by the application yet.
20339 2006-05-10 Roman Kennke <kennke@aicas.com>
20342 * javax/swing/JRootPane.java
20343 (createContentPane): Don't set background to null.
20345 2006-05-10 Sven de Marothy <sven@physto.se>
20347 * java/awt/print/PrinterJob.java:
20348 (lookupPrintServices): Un-comment-out.
20350 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20352 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20353 (FILLER): New constant.
20354 (formatText(PrintStream,String,int)): New method.
20355 (formatText(PrintStream,String,int,Locale)): Likewise.
20356 (printHelp): Use formatText method.
20357 * tools/gnu/classpath/tools/getopt/Parser.java
20358 (MAX_LINE_LENGTH): New constant.
20359 (formatText(PrintStream,String)): New method.
20360 (formatText(PrintStream,String,Locale)): Likewise.
20361 (printHelp): New method.
20362 (printHelp(PrintStream)): Increased visibility to protected.
20363 Use formatText method.
20365 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20367 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20368 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20369 modify the lookup key.
20371 2006-05-10 Lillian Angel <langel@redhat.com>
20373 * java/util/SimpleTimeZone.java: Reverted patch.
20374 (SimpleTimeZone): Throw exception if startMonth ==
20376 (SimpleTimeZone): Likewise.
20377 (checkRule): Rewritten to properly check all values (more
20379 This code is now more stable, at least less buggy than before.
20380 Fixed API documentation.
20381 (setStartRule): Moved checkRule call to end.
20382 (setStartRule): Likewise.
20383 (setEndRule): Likewise.
20384 (setEndRule): Likewise.
20386 2006-05-10 Roman Kennke <kennke@aicas.com>
20388 * gnu/java/awt/peer/swing/SwingComponent.java:
20389 Some API comment fixlets.
20390 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20391 (createImage): Create a BufferedImage, not a Toolkit image.
20392 (paint): Removed bogus API comment.
20393 (prepareImage): Added checks to avoid NPE.
20394 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20395 (getInsets): Added check to avoid NPE.
20396 (handleMouseEvent): Added check to avoid NPE.
20397 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20398 Some API comment fixlets.
20399 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20400 Some API comment fixlets.
20401 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20402 Changed start_pos name to startPos.
20403 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20404 Some API comment fixlets.
20406 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20408 * java/awt/BasicStroke.java
20409 (equals): Fixed typo in HTML tag for API doc comment.
20411 2006-05-10 Gary Benson <gbenson@redhat.com>
20413 * java/lang/ThreadGroup.java (parent): Make package-private.
20414 * java/lang/SecurityManager.java (checkAccess(Thread)):
20415 Reference ThreadGroup.parent directly to avoid extra checks.
20416 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20419 2006-05-10 Roman Kennke <kennke@aicas.com>
20421 Reported by Ingo Proetel (proetel@aicas.com)
20422 * java/awt/EventDispatchThread.java
20423 (DEFAULT_PRIORITY): New constant field.
20424 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20425 system property for adjusting the priority of the event
20428 2006-05-10 Roman Kennke <kennke@aicas.com>
20430 Reported by Ingo Proetel (proetel@aicas.com)
20431 * java/awt/image/ColorModel.java
20432 (S_RGB_MODEL): New constant field.
20433 (getRGBDefault): Return constant SRGBColorModel.
20434 (SRGBColorModel): Specialized color model for sRGB.
20436 2006-05-10 Roman Kennke <kennke@aicas.com>
20438 * java/awt/ColorPaintContext.java
20439 (getRaster): Create Raster with (0,0) as source location.
20441 2006-05-10 Roman Kennke <kennke@aicas.com>
20443 * gnu/java/awt/java2d/AlphaCompositeContext.java
20444 (compose): Don't premultiply alpha to alpha itself.
20446 2006-05-10 Roman Kennke <kennke@aicas.com>
20448 * gnu/java/awt/java2d/AbstractGraphics2D.java
20449 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20450 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20452 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20453 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20454 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20456 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20457 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20459 (scale): Inverse transform by doing 1/scale instead of -scale.
20460 (drawImage(Image,int,int,ImageObserver)): Implemented.
20461 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20462 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20463 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20464 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20466 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20468 (fillScanline): Work on translated destination raster for
20469 correct compositin.
20470 (init): Fetch the clip after the destination raster is initialized.
20471 * gnu/java/awt/java2d/ImagePaint.java: New file.
20472 * gnu/java/awt/java2d/RasterGraphics
20473 (drawImage): Removed.
20475 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20477 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20478 Clarify option descriptions.
20479 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20480 uppercase for metasyntactic variables.
20482 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20485 * javax/swing/text/AbstractDocument.java:
20486 (insertString): Added more documentation, added argument check.
20487 (remove): Added more documentation.
20488 (removeImpl): Added argument check.
20489 (replace): Added more documentation, added argument check.
20491 2006-05-09 Tom Tromey <tromey@redhat.com>
20493 * tools/.cvsignore: Added appletviewer.
20495 2006-05-09 Tom Tromey <tromey@redhat.com>
20497 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20500 2006-05-09 Tom Tromey <tromey@redhat.com>
20502 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20503 Special case for '-J'. Use space instead of '='.
20504 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20507 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20509 * configure.ac: Add --disable-plugin and --with-vm options. Check
20510 for plugin support headers and libraries.
20511 * native/Makefile.am: Recurse into plugin directory.
20512 * native/plugin/.cvsignore: New file.
20513 * native/plugin/Makefile.am: New file.
20514 * native/plugin/gcjwebplugin.cc: New file.
20515 * tools/Makefile.am: Install appletviewer wrapper script.
20516 * tools/appletviewer.in: Replace VM location heuristic with
20517 VM_BINARY configure substitution.
20519 2006-05-09 Tom Tromey <tromey@redhat.com>
20521 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20522 an initial pass to look for short options. Added 'longOnly' option.
20523 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20525 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20526 options into final group. Added -J.
20527 (add): Insert new groups before final group.
20528 (printHelp): Updated.
20530 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20533 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20534 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20535 Expect -classpath option.
20536 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20537 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20539 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20540 (classLoader): New field. (loadClass, setClassPath):
20543 2006-05-09 Roman Kennke <kennke@aicas.com>
20545 * gnu/java/awt/java2d/RasterGraphics.java
20546 (RasterGraphics): Call init() and super().
20547 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20550 2006-05-09 Gary Benson <gbenson@redhat.com>
20552 * java/lang/Thread.java (Thread): Always perform threadgroup
20553 access checks on thread creation.
20555 2006-05-09 Chris Burdess <dog@gnu.org>
20557 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20558 be preserved during cloneNode.
20560 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20563 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20564 Do not demand all thrown exceptions to be an instance of RemoteException.
20566 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20568 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20569 Use hash-style comments.
20570 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20573 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20575 * javax/swing/JLabel.java
20576 (paramString): Added more attribute details,
20577 * javax/swing/SwingUtilities.java
20578 (convertHorizontalAlignmentCodeToString): New method,
20579 (convertVerticalAlignmentCodeToString): New method.
20581 2006-05-08 Tom Tromey <tromey@redhat.com>
20583 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20584 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20585 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20588 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20590 (run): Use ZipInputStream.
20591 (initSet): New method.
20592 (shouldExtract): Likewise.
20593 (run): Use new methods.
20594 * tools/gnu/classpath/tools/jar/Creator.java
20595 (writeCommandLineEntries): New overload.
20596 (writeFile): Use System.err for verbose.
20597 (writeManifest): New method.
20598 (writtenItems): New field.
20599 (writeFile): Update it.
20600 (writeCommandLineEntries): Return void. Call writeManifest.
20601 (addEntries): Don't add extra '/'.
20602 * NEWS: Mention jar.
20604 2006-05-08 Lillian Angel <langel@redhat.com>
20606 * gnu/java/net/IndexListParser.java: New class.
20607 * java/net/URLClassLoader.java
20608 (JarURLLoader): Fixed code to use new class.
20610 2006-05-08 Roman Kennke <kennke@aicas.com>
20612 * javax/swing/JComboBox.java
20613 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20614 (AccessibleJComboBox.getAccessibleChild): Implemented.
20615 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20616 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20617 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20618 (AccessibleJComboBox.getAccessibleAction): Implemented.
20619 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20620 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20621 (AccessibleJComboBox.doAccessibleAction): Implemented.
20622 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20623 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20624 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20625 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20626 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20628 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20630 * configure.ac: Add support for building appletviewer.
20631 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20633 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20635 * tools/appletviewer.c: New file.
20636 * tools/appletviewer.in: New file.
20637 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20639 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20641 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20642 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20644 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20646 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20648 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20650 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20652 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20653 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20655 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20657 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20659 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20661 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20663 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20665 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20668 2006-05-08 Tom Tromey <tromey@redhat.com>
20670 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20671 * tools/gnu/classpath/tools/jar/Action.java: New file.
20672 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20673 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20674 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20675 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20676 * tools/gnu/classpath/tools/jar/Main.java: New file.
20677 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20678 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20679 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20680 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20681 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20682 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20685 2006-05-08 Lillian Angel <langel@redhat.com>
20687 * java/net/URLClassLoader.java
20688 (JarURLLoader): Added check to make sure the INDEX.LIST file
20691 2006-05-08 Roman Kennke <kennke@aicas.com>
20693 * gnu/java/awt/java2d/AbstractGraphics2D.java
20694 (fill): Removed commented out code.
20695 (fillShape): Also determine the outline of the clip and feed
20696 it into the rendering method. Use new helper method for
20697 converting the shapes into lists of segments.
20698 (getUserBounds): Removed obsolete method.
20699 (rawFillShape): Respect the clip when rendering shapes.
20700 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20701 However, the implementation can't clip still.
20702 (getSegments): New helper method for converting a shape into
20703 a list of segments.
20704 (clipShape): Removed obsolete method.
20705 * gnu/java/awt/java2d/PolyEdge.java
20706 (isClip): New field.
20707 (PolyEdge): Added isField argument to constructor.
20709 2006-05-08 Roman Kennke <kennke@aicas.com>
20712 * javax/swing/JRootPane.java
20713 (createContentPane): Set background of the content pane to null,
20714 so that the content pane inherits its background from the
20717 2006-05-08 Roman Kennke <kennke@aicas.com>
20720 * javax/swing/ButtonGroup.java
20721 (add): Check if new button is selected and if so, deselect other
20722 buttons in the group.
20724 2006-05-08 Lillian Angel <langel@redhat.com>
20727 * java/net/URLClassLoader.java
20728 (JarURLLoader): Added code to go through
20729 META-INF/INDEX.LIST file to load all jars listed.
20731 2006-05-08 Roman Kennke <kennke@aicas.com>
20734 * javax/swing/ImageIcon.java
20735 (ImageIcon(URL)): Set description to URL.toString().
20737 2006-05-08 Roman Kennke <kennke@aicas.com>
20740 * javax/swing/JTable.java
20741 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20742 null when cell value is null.
20744 2006-05-08 Roman Kennke <kennke@aicas.com>
20747 * javax/swing/DefaultDesktopManager.java
20748 (closeFrame): Don't perform default close action on the frame
20749 to prevent endless loop.
20751 2006-05-08 Roman Kennke <kennke@aicas.com>
20754 * javax/swing/table/DefaultTableModel.java
20755 (addExtraRows): New helper method.
20756 (checkSize): New helper method.
20757 (setRowCount): Use addExtraRows helper method.
20758 (addColumn): Use addExtraRows helper method.
20759 (getColumnName): Check and adjust size if necessary using
20762 2006-05-08 Roman Kennke <kennke@aicas.com>
20765 * javax/swing/JTable.java
20766 (setValueAt): Allow setting values even when table is editable.
20768 2006-05-08 Tom Tromey <tromey@redhat.com>
20770 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20771 space to error message.
20773 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20775 * javax/swing/AbstractButton.java: Fixed comment typos.
20777 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20779 PR classpath/27435:
20780 * java/util/zip/DeflaterEngine.java:
20781 (deflateFast(boolean,boolean)): Empty buffer when full.
20783 2006-05-07 Sven de Marothy <sven@physto.se>
20786 * java/util/Calendar.java (setTimeZone): Force recalculation.
20788 2006-05-07 Sven de Marothy <sven@physto.se>
20791 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20792 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20794 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20796 PR classpath/27311:
20797 * gnu/java/text/StringFormatBuffer.java:
20798 (toString()): Implemented so we can see the contents.
20799 * java/text/DecimalFormat.java:
20800 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20801 Don't calculate the exponent when the number is 0 or less.
20802 Also, use log10 instead of log now it's available.
20804 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20806 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20807 Use instance's field creationDate not the constructor's argument.
20808 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20809 Removed unused imports.
20812 (decrypt): Added trace/debug/timing statements.
20813 (encrypt): Likewise.
20814 Use PRNG instead of instantiating every time a new SecureRandom.
20815 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20816 Removed unused imports.
20819 (verify): Added trace/debug/timing statements.
20820 (authenticate): Likewise.
20821 Use PRNG instead of instantiating every time a new SecureRandom.
20823 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20825 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20826 (THREAD_FORMAT): Likewise.
20827 (dateFormat): Added field.
20828 (threadFormat): Added field.
20829 (format): Initialize instance fields if null.
20830 Use StringBuilder instead of StringBuffer.
20832 2006-05-07 Roman Kennke <kennke@aicas.com>
20834 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20836 2006-05-07 Roman Kennke <kennke@aicas.com>
20838 * gnu/java/awt/java2d/AbstractGraphics2D.java
20839 (fillShape): Determine user space bounds of shape and feed them
20840 into the actual rendering pipeline.
20841 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20842 (rawSetForeground): Likewise.
20843 (getDestinationColorModel): Removed.
20844 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20845 (rawFillShape): Handle paint context.
20846 (fillScanline): Implement painting and compositing.
20847 (fillShapeAntialias): Handle paint context.
20848 (fillScanlineAA): Implemented preliminary antialiasing based on
20849 composite context. Not working yet.
20850 (fillScanlineAlpha): Removed.
20851 (init): Fetch destination raster.
20852 (getDestinationRaster): New abstract method.
20853 (updateRaster): New backend method.
20855 2006-05-07 Roman Kennke <kennke@aicas.com>
20857 * gnu/java/awt/java2d/AlphaCompositeContext.java
20858 (compose): Fixed loops, conditions and logic to make compositing
20861 2006-05-07 Roman Kennke <kennke@aicas.com>
20863 * java/awt/ColorPaintContext.java
20864 (ColorPaintContext): Fixed filling of the raster.
20866 2006-05-07 Sven de Marothy <sven@physto.se>
20869 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20870 * java/awt/Component.java (processMouseEvent):
20871 Do lightweight cursor handling.
20872 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20873 (endResizing,mouseMoved): Save and reset original cursor, not the
20876 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20879 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20880 getNodeDimensions): Mind the size of the node icon. (getRowX):
20881 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20882 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20883 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20884 (installDefaults): assign totalChildIndent. (installUI): Call
20885 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20886 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20889 2006-05-06 Sven de Marothy <sven@physto.se>
20892 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20893 Check for zero image sizes.
20895 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20898 * java/util/Calendar.java (clear(int)): Forced internal state
20899 completion before performing a field clearing.
20901 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20903 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20904 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20905 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20906 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20907 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20908 UnmodifiableMapEntry as part of their return value.
20910 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20912 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20913 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20914 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20915 Generate jarsigner and keytool scripts.
20916 * tools/keytool.in: New file (renamed from keytool.sh.in).
20917 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20918 * tools/.cvsignore: Replaced *.sh with *
20919 * configure.ac: Replaced tools/*.sh with tools/*.
20921 2006-05-05 Roman Kennke <kennke@aicas.com>
20923 * java/awt/image/ColorModel.java
20924 (getNormalizedComponents): Implemented.
20926 2006-05-05 Roman Kennke <kennke@aicas.com>
20928 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20929 (paint): Query the button model for it's state, not the
20932 2006-05-05 Roman Kennke <kennke@aicas.com>
20934 * javax/swing/JTable.java
20935 (tableChanged): Sync selection model with table model changes.
20937 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20939 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20940 if there are no visible nodes to paint.
20942 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20944 * javax/swing/JOptionPane.java: API doc updates.
20946 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20948 * javax/swing/JToolBar.java
20949 (paramString): Reimplemented.
20951 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20953 * javax/swing/JScrollBar.java
20954 (paramString): Reimplemented.
20956 2006-05-04 Tom Tromey <tromey@redhat.com>
20958 PR classpath/27375:
20959 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20960 (readEntries): Updated.
20961 (getEntries): Likewise.
20962 (getEntry): Likewise.
20963 (getInputStream): Likewise.
20965 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20967 * gnu/javax/imageio/jpeg/DCT.java,
20968 gnu/javax/imageio/jpeg/HuffmanTable.java,
20969 gnu/javax/imageio/jpeg/JPEGComponent.java,
20970 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20971 gnu/javax/imageio/jpeg/JPEGException.java,
20972 gnu/javax/imageio/jpeg/JPEGFrame.java,
20973 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20974 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20975 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20976 gnu/javax/imageio/jpeg/JPEGMarker.java,
20977 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20978 gnu/javax/imageio/jpeg/JPEGScan.java,
20979 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20980 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20982 2006-05-04 Lillian Angel <langel@redhat.com>
20984 * javax/swing/JLabel.java
20985 (JLabel): Pass in an empty string for the text parameter.
20986 (JLabel): Likewise.
20987 (JLabel): Likewise.
20989 2006-05-04 Roman Kennke <kennke@aicas.com>
20991 * javax/swing/plaf/basic/BasicButtonListener.java
20992 (mouseEntered): Fixed conditions for changing states.
20994 2006-05-04 Roman Kennke <kennke@aicas.com>
20996 * javax/swing/JOptionPane.java
20997 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20999 2006-05-04 Roman Kennke <kennke@aicas.com>
21001 * javax/swing/JLabel.java
21002 (AccessibleJLabel.getSelectedText): Return null instead of "".
21003 (AccessibleJLabel.getSelectionStart): Added comment why
21004 return -1 is correct here.
21005 (AccessibleJLabel.getSelectionEnd): Added comment why
21006 return -1 is correct here.
21007 (AccessibleJLabel.getCharacterAttribute): Added comment about what
21009 (AccessibleJLabel.getCharCount): Added comment about what
21011 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21012 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21013 (paramString): Return super.paramString() here, this provides
21014 a more meaningful output.
21016 2006-05-04 Roman Kennke <kennke@aicas.com>
21018 * javax/swing/JComponent.java
21019 (paint): Added null check to avoid NPE when clip == null.
21021 2006-05-04 Roman Kennke <kennke@aicas.com>
21023 * javax/swing/AbstractButton.java
21024 (addImpl): New method. Installs an OverlayLayout if no
21025 other layout has been installed before.
21026 (setLayout): New method. Detect if a client app installs a custom
21029 2006-05-04 Roman Kennke <kennke@aicas.com>
21031 * javax/swing/table/DefaultTableCellRenderer.java
21032 (noFocusBorder): Fixed width of empty border to 1.
21033 (getTableCellRendererComponent): Don't change the colors for
21034 focuses cells. Fixed border for focused cells.
21036 2006-05-04 Roman Kennke <kennke@aicas.com>
21038 * javax/swing/JTable.java
21039 (moveToCellBeingEdited): Adjust bounding box of editing component
21040 to exactly cover the grid.
21041 * javax/swing/plaf/basic/BasicTableUI.java
21042 (paint): Paint grid to the bottom and right of the cells instead
21043 of left and top. Adjust bounding box of cells accordingly.
21044 * javax/swing/plaf/metal/MetalLookAndFeel.java
21045 (initComponentDefaults): Fixed color of JTable selection border.
21046 * javax/swing/plaf/metal/OceanTheme.java
21047 (addCustomEntriesToTable): Fixed color of JTable selection border.
21049 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
21051 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21052 Use _alias instead of alias.
21054 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21057 Set version to 0.92-pre.
21059 Add space for 0.92 entries.
21061 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21063 * include/Makefile.am:
21064 Added rules for gnu.java.net.local.LocalSocketImpl.h
21065 * include/java_lang_VMSystem.h:
21066 Regenerated correctly.
21068 2006-05-03 Sven de Marothy <sven@physto.se>
21071 * java/awt/Image.java:
21072 (getScaledInstance): Default to AreaAveraging for "smooth",
21073 don't thrown an error on illegal flag values.
21074 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21076 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21078 * javax/swing/text/FieldView.java:
21079 (adjustAllocation): Added if-block to return null when shape argument
21081 * javax/swing/text/PlainView.java:
21082 (updateDamage): Added if-block to return early if a is null.
21084 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21086 * javax/swing/plaf/basic/BasicTextUI.java:
21087 (changeUpdate): Added note.
21088 (removeUpdate): Dito.
21089 (insertUpdate): Dito.
21090 (damageRange): Added if-block to return early.
21091 (modelToView): Added check of getVisibleEditorRect's return value.
21092 (getVisibleEditorRect): Return null instead of empty rectangle.
21093 * javax/swing/text/DefaultCaret.java:
21094 (clearHighlight): Removed if-clause to create a highlight entry if it
21095 did not exist before.
21096 * javax/swing/text/WrappedPlainView.java:
21097 (WrappedLine.modelToView): Throw exception if allocation area is empty,
21098 removed 2nd part of if-expression.
21099 (WrappedLine.updateDamage): Added more documentation, added check
21100 whether allocation area rectangle is null.
21102 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21104 * javax/swing/JSplitPane.java (setDividerLocation(int)):
21105 Reset to preferred sizes if the argument is negative.
21107 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
21109 * javax/swing/JList.java: Added/updated API docs.
21111 2006-05-03 Lillian Angel <langel@redhat.com>
21113 * javax/swing/JComponent.java
21114 (getRoot): New private function. Gets the root appropriate
21115 for painting. If an applet exists as a parent, then it is returned.
21116 (paintDoubleBuffered): Changed to use new function.
21117 * javax/swing/RepaintManager.java
21118 (getRoot): New private function. Gets the root appropriate
21119 for painting. If an applet exists as a parent, then it is returned.
21120 (getOffscreenBuffer): Changed to use new function.
21121 * javax/swing/SwingUtilties.java
21122 (getRoot): Reverted last patch to return Window, even if
21125 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21127 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21128 a pair of one public keyring and one private keyring.
21129 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21130 (containsCertificate): Added logging.
21131 (getCertificate): Likewise.
21132 (putCertificate): Likewsie.
21135 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21136 (containsPrivateKey): Added logging.
21137 (getPrivateKey): Likewise.
21138 (putPrivateKey): Likewise.
21139 (containsPublicKey): Likewise.
21140 (getPublicKey): Likewise.
21141 (putPublicKey): Likewise.
21142 (containsCertPath): Likewise.
21143 (getCertPath): Likewise.
21144 (putCertPath): Likewise.
21148 2006-05-03 Roman Kennke <kennke@aicas.com>
21150 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21151 * java/awt/AlphaComposite.java
21152 (createContext): Implemented.
21154 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21156 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21157 Set the current color again after drawing the raster.
21159 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21161 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21162 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21164 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21166 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21167 Assign returned value to field handler.
21168 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21171 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21173 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21174 Return without action if there is no view in the viewport.
21175 * javax/swing/text/WrappedPlainView.java
21176 (WrappedLine.getPreferredSpan): If metrics == null, update
21178 * javax/swing/tree/DefaultTreeModel.java (constructors):
21179 Do not call setRoot, assign the root node directly.
21181 2006-05-02 Lillian Angel <langel@redhat.com>
21183 * javax/swing/SwingUtilities.java
21184 (getRoot): Should return the Applet if it exists.
21185 Only return the Window if an Applet has not been
21188 2006-05-02 Lillian Angel <langel@redhat.com>
21190 * gnu/javax/swing/text/html/parser/support/Parser.java
21191 (readAttributes): Reverted Audrius' last patch. There is
21192 a slight difference in code between the NUMTOKEN and SLASH case.
21194 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21196 * javax/swing/text/JTextComponent.java:
21197 (setText): Throw InternalError from catch-block.
21198 * javax/swing/text/GapContent.java:
21199 (removed): Removed if-expression, changed '>' to '>='.
21201 2006-05-02 Roman Kennke <kennke@aicas.com>
21203 * gnu/java/awt/java2d/AbstractGraphics2D.java
21204 (AA_SAMPLING): New constant.
21205 (alpha): New field. Used in the antialiasing renderer.
21206 (edgeTable): New field. Used in the antialiasing renderer.
21207 (AbstractGraphics2D): Initialize rendering hints wrt
21209 (draw): Clip after stroking. Commented out clipping for now,
21210 it seems to be buggy.
21211 (fill): Commented out clipping for now, it seems to be buggy.
21212 (setComposite): Don't create composite context.
21213 (setPaint): Only change paint when parameter is not null.
21214 (translate): Call setClip() so subclasses can update their clip
21216 (clip): Call setClip() so subclasses can update their clip
21218 (drawGlyphVector): Added clipping, but left it commented out
21219 because it's buggy.
21220 (getClipBounds): Returns null when clip is null.
21221 (drawLine): Call rawDrawLine with translation applied.
21222 (filLRect): Call rawFillRect with translation applied.
21223 (fillShape): Added support for anti-aliasing.
21224 (rawSetForeground(int,int,int)): New method.
21225 (rawFillShape): A couple of painting fixes.
21226 (fillScanline): Implemented to call rawDrawLine.
21227 (fillShapeAntialias): New method. Implements an anti-aliasing
21229 (fillScanlineAA): New method. Used for the anti-aliasing
21231 (fillScanlineAlpha): New method. Used for the anti-aliasing
21233 (init): Initialize clip with the device bounds.
21234 (updateOptimization): Fixed the optimization condition.
21236 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21238 * javax/swing/text/GapContent.java:
21239 (GapContent): Restrict size argument by 2.
21240 (insertString): Changed expression from >= to >.
21241 (remove): Changed right side of expression to 'length - 1', changed
21243 (getChars): Throw exception if where below 0.
21244 (replace): Replaced call to setPositionsInRange() with
21245 resetMarksAtZero(), removed note.
21247 2006-05-02 Roman Kennke <kennke@aicas.com>
21250 * javax/swing/MenuSelectionManager.java
21251 (setSelectedPath): Rewritten.
21253 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21255 * gnu/javax/swing/text/html/parser/support/Parser.java
21256 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21259 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21261 * tools/.cvsignore: Added keytool.sh.
21262 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21264 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21266 * doc/tools.texinfo: New file.
21267 * doc/Makefile.am: Generate tools documentation.
21269 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21271 * tools/keytool.sh.in: New file.
21272 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21273 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21274 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21275 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21276 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21277 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21278 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21279 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21280 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21281 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21282 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21283 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21284 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21285 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21286 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21287 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21288 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21289 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21291 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21293 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21294 resemble more closely man-page style text.
21295 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21296 Mark (Eclipse) strings that need not be externalised.
21297 (writeSF): Likewise.
21298 (writeDSA): Likewise.
21299 Use package-private Messages class to provide i18n-ready strings.
21301 Use package-private Messages class to provide i18n-ready strings.
21302 (updateEntry): Likewise.
21303 Mark (Eclipse) strings that need not be externalised.
21304 (finishSigning): Likewise.
21305 * tools/gnu/classpath/tools/jarsigner/Main.java:
21306 Mark (Eclipse) strings that need not be externalised.
21307 (main): Do not use constant strings as class name.
21308 Use package-private Messages class to provide i18n-ready strings.
21309 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21310 (processArgs): Do not use constant strings as class name.
21311 Mark (Eclipse) strings that need not be externalised.
21312 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21313 (start): Do not use constant strings as class name.
21314 (teardown): Likewise.
21316 (setupCommonParams): Do not use constant strings as class name.
21317 Use package-private Messages class to provide i18n-ready strings.
21318 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21319 (installNewProvider): Do not use constant strings as class name.
21321 (setupSigningParams): Do not use constant strings as class name.
21322 Use package-private Messages class to provide i18n-ready strings.
21323 Mark (Eclipse) strings that need not be externalised.
21324 (getCallbackHandler): Use CallbackUtil.
21325 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21326 Use package-private Messages class to provide i18n-ready strings.
21327 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21328 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21329 (verifySF): Likewise.
21330 (verifySFEntries): Do not use constant strings as class name.
21331 Use Boolean.valueOf instead of new Boolean().
21332 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21333 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21335 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21336 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21338 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21340 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21341 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21342 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21344 2006-05-01 Tom Tromey <tromey@redhat.com>
21346 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21348 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21349 (close): Synchronize.
21350 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21351 * java/nio/LongBufferImpl.java (compact): Rewrote.
21352 * java/nio/IntBufferImpl.java (compact): Rewrote.
21353 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21354 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21355 * java/nio/CharBufferImpl.java (compact): Rewrote.
21356 * gnu/java/nio/ChannelWriter.java: New file.
21357 * java/nio/channels/Channels.java (newWriter): Implemented.
21359 2006-05-01 Lillian Angel <langel@redhat.com>
21361 * java/util/SimpleTimeZone.java
21362 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21363 (SimpleTimeZone): Likewise.
21364 (checkRule): Rewritten to properly check all values (more efficently).
21365 This code is now more stable, at least less buggy than before. Fixed
21367 (setStartRule): Moved checkRule call to end.
21368 (setStartRule): Likewise.
21369 (setEndRule): Likewise.
21370 (setEndRule): Likewise.
21372 2006-05-01 Tom Tromey <tromey@redhat.com>
21374 * lib/.cvsignore: Added classes.2.
21376 2006-05-01 Tom Tromey <tromey@redhat.com>
21378 * java/util/jar/JarFile.java (provider): Now package-private.
21379 * java/lang/Enum.java (compareTo): Javadoc fix.
21380 * java/lang/Boolean.java (compareTo): Javadoc fix.
21382 2006-05-01 Lillian Angel <langel@redhat.com>
21384 * gnu/javax/swing/text/html/parser/support/Parser.java
21385 (readAttributes): Formatted function. Added handling for
21386 SLASH token. The value of an attribute may start with a slash
21387 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21388 We should not be skipping over these type of attributes.
21390 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21392 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21393 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21394 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21395 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21396 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21397 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21398 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21399 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21400 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21401 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21402 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21403 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21404 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21405 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21406 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21407 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21408 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21409 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21410 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21411 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21412 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21413 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21414 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21415 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21416 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21417 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21418 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21419 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21420 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21421 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21422 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21423 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21424 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21425 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21426 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21427 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21428 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21429 * include/gnu_java_awt_peer_qt_QMatrix.h,
21430 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21431 * include/gnu_java_awt_peer_qt_QPen.h,
21432 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21433 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21434 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21435 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21436 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21437 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21438 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21439 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21440 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21441 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21442 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21443 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21444 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21445 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21446 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21447 * include/gnu_java_awt_peer_qt_QtImage.h,
21448 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21449 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21450 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21451 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21452 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21453 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21454 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21455 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21456 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21457 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21458 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21459 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21460 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21461 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21462 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21463 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21464 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21465 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21466 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21467 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21468 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21469 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21470 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21471 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21472 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21473 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21474 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21475 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21476 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21477 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21478 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21479 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21480 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21481 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21482 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21483 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21484 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21485 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21486 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21487 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21488 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21489 * include/java_lang_VMProcess.h:
21491 * native/jni/java-lang/java_lang_VMProcess.c:
21492 Redirect when pipe_count is 2 not 3.
21494 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21496 * gnu/java/awt/font/FontDelegate.java,
21497 * gnu/java/awt/font/FontFactory.java,
21498 * gnu/java/awt/font/GNUGlyphVector.java,
21499 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21500 * gnu/java/awt/font/opentype/GlyphNamer.java,
21501 * gnu/java/awt/font/opentype/MacResourceFork.java,
21502 * gnu/java/awt/font/opentype/NameDecoder.java,
21503 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21504 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21505 * gnu/java/awt/font/opentype/Scaler.java,
21506 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21507 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21508 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21509 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21510 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21511 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21512 * gnu/java/awt/font/opentype/truetype/Zone.java,
21513 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21514 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21515 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21516 New files. Imported font framework from:
21517 http://www.brawer.ch/software/fonts/
21519 2006-04-30 Roman Kennke <kennke@aicas.com>
21521 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21522 (lastTabInRun): Fix calculation of the last tab in a run. This
21523 has caused painting problems sometimes, making the
21524 last tab painted incorrectly.
21526 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21529 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21530 Use for and not while to prevent the endless loop.
21532 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21534 * javax/swing/JList.java
21535 (paramString): Changed from public to protected.
21537 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21539 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21540 (printHelpAndExit): Re-factored to use the above method.
21542 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21544 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21545 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21546 * tools/gnu/classpath/tools/jarsigner/Main.java:
21547 Changed license to GPL + Exception.
21548 (handler): New field.
21549 (getCallbackHandler): New method.
21550 (setupSigningParams): Use above method.
21551 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21552 Changed license to GPL + Exception.
21553 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21554 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21555 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21556 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21558 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21560 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21561 (handleConfirmation): Use print instead of println.
21562 (handleConfirmation): When case is YES_NO_OPTION, print default option
21564 (handleLanguage): Use print instead of println.
21566 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21568 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21569 (putComponent): Handle O and OU components.
21570 (getDer): Use correct (it2) iterator.
21571 (readAttributeValue): Read next character and break if end-of-stream.
21573 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21575 * gnu/java/security/provider/Gnu.java (run):
21576 Add "RSA" as an alias to MD5withRSA.
21577 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21578 Always encode a NULL as the value of an algorithm parameters field.
21579 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21580 (encodePrivateKey): Added trace/log statements.
21581 (decodePrivateKey): Likewise.
21582 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21583 (setup): Added trace/log statements.
21584 (generate): Likewise.
21585 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21586 (toString): New method.
21587 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21589 (toString): New method.
21590 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21591 (getEncoded): Use defaultFormat.
21592 (toString): New method.
21593 * gnu/java/security/key/dss/DSSKey.java (toString):
21594 Include defaultFormat in string.
21595 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21596 Break if successfully decoded public key.
21597 (engineGeneratePrivate): Break if successfully decoded private key.
21599 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21601 * java/security/Security.java <clinit>: Add our Callback provider.
21602 * resource/java/security/classpath.security: Likewise
21604 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21607 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21608 Decide about scroll bars from the preferred view size, not
21610 * javax/swing/ViewportLayout.java (layoutContainer):
21611 Do not change returned preferred size. Do not treat JScrollPane
21614 2006-04-28 Sven de Marothy <sven@physto.se>
21616 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21617 * javax/swing/ProgressMonitor.java (actionPerformed):
21618 Avoid divide-by-zero.
21620 2006-04-28 Sven de Marothy <sven@physto.se>
21622 * javax/swing/JSpinner.java: Fix default text justification.
21623 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21625 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21627 * javax/swing/JList.java
21628 (getMinSelectionIndex): Return correct value, added API docs,
21629 (getMaxSelectionIndex): Added API docs.
21631 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21633 * javax/swing/JList.java
21634 (JList(Object[])): Pass new model directly to init(),
21635 (JList(Vector)): Likewise,
21636 (JList(ListModel)): Renamed argument and updated API docs,
21637 (init): Throw IllegalArgumentException for null argument,
21638 (setListData(Object[])): Delegate model creation,
21639 (setListData(Vector)): Likewise,
21640 (createListModel(Object[])): New private method,
21641 (createListModel(Vector)): New private method,
21642 (paramString): Implemented.
21644 2006-04-28 Tom Tromey <tromey@redhat.com>
21646 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21648 (isSynthetic): Likewise.
21649 (isAnnotation): Likewise.
21650 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21651 (isAnnotation): Likewise.
21652 (isEnum): Likewise.
21654 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21656 * javax/swing/text/View.java:
21657 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21660 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21662 * javax/swing/text/View.java:
21663 (getNextVisualPositionFrom): Rewritten.
21664 * javax/swing/text/CompositeView.java:
21665 (getNextEastWestVisualPositionFrom): Partly implemented.
21666 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21668 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21670 * javax/swing/JList.java
21671 (setFixedCellHeight): Use correct property name for event.
21673 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21675 * javax/swing/text/Utilities.java:
21676 (getNextWord): Use codePointAt instead of charAt, added note, changed
21677 if-expression, added throwing of exception.
21678 (getPreviousWord): Use codePointAt instead of charAt.
21680 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21682 * java/lang/StringBuilder.java
21683 (ensureCapacity, getChars, append(StringBuffer),
21684 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21685 insert(int,String), insert(int,char), trimToSize): Replaced
21686 System.arraycopy calls with VMSystem.arraycopy.
21688 2006-04-27 Tom Tromey <tromey@redhat.com>
21690 * java/awt/image/renderable/RenderableImageProducer.java
21691 (requestTopDownLeftRightResend): Implemented.
21693 (startProduction): Add new consumer.
21695 2006-04-27 Sven de Marothy <sven@physto.se>
21697 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21699 2006-04-27 Roman Kennke <kennke@aicas.com>
21701 * java/awt/LightweightDispatcher.java
21702 Dispatch events only to targets that have a mouselistener
21703 attached. Changed to also handle null targets.
21705 2006-04-27 Roman Kennke <kennke@aicas.com>
21707 * NEWS: Added entries about accessibility support and L&F
21708 window decorations.
21710 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21712 * javax/swing/text/Utilities.java:
21713 (getTabbedTextOffset): Introduced width variable, rewritten the check
21714 which ends the loop.
21715 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21718 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21720 * examples/gnu/classpath/examples/swing/TreeDemo.java
21721 (createContent): Added root visibility and selection listener demos.
21722 * javax/swing/JTree.java (setRootVisible): If false, unselect
21723 the root node, if it is selected.
21724 * javax/swing/plaf/basic/BasicTreeUI.java
21725 (TreeTraverseAction.actionPerformed): Do not select the root if it
21727 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21728 removeSelectionPaths): Reset lead to null if the current lead path is
21729 removed from selection.
21730 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21731 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21732 Return the same path regardless is root visible or not. (update):
21733 Reduce the identation if the root is not visible.
21734 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21735 Return the same path regardless is root visible or not. (update):
21736 Reduce the identation if the root is not visible.
21738 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21740 * javax/swing/plaf/basic/BasicTreeUI.java
21741 (TreeAction.actionPerformed):Newly obtain the current lead
21742 path that must stay visible.
21743 (TreeTraverseAction.actionPerformed):Rewritten.
21744 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21745 Do not treat root specially. (setModel): Assume the root node
21746 initially expanded.
21747 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21748 Do not treat root specially. (setModel): Assume the root node
21749 initially expanded.
21751 2006-04-26 Chris Burdess <dog@gnu.org>
21754 * javax/xml/datatype/DatatypeFactory.java: Use complete
21755 implementation resolution mechanism.
21757 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21759 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21761 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21762 Removed NoImplementException form the implemented method.
21764 2006-04-26 Tom Tromey <tromey@redhat.com>
21766 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21769 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21771 * javax/swing/DefaultListSelectionModel.java
21772 (clone): Initialise empty listener list,
21773 (setSelectionMode): Throw IllegalArgumentException for bad input.
21775 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21777 * javax/swing/DefaultListSelectionModel.java
21778 (clearSelection): Clear the Bitset.
21780 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21782 * javax/swing/JTree.java (setLeadSelectionPath):
21783 Repaint the new and old lead pathes.
21784 * javax/swing/plaf/basic/BasicTreeUI.java
21785 (FocusHandler): Repaint the lead row when focus changes.
21786 (PropertyChangeHandler): Use existing constants, not the
21787 string literals for the property names.
21788 (TreeIncrementAction): Shrink the selection when moving
21789 from the selection edge to the selection anchor.
21790 (TreeSelectionHandler.valueChanged): Repaint the
21791 new and old lead pathes.
21792 (paintRow): Treat row as focused only if it is the lead row.
21793 * javax/swing/tree/DefaultTreeCellRenderer.java
21794 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21795 (paint): Rewritten.
21796 * javax/swing/tree/DefaultTreeSelectionModel.java
21797 (addSelectionPath): Event construction fix (old and new lead were
21799 (addSelectionPaths): Likewise.
21800 * javax/swing/JComponent.java (setOpaque): Explained.
21801 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21803 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21806 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21808 * examples/gnu/classpath/examples/swing/TreeDemo.java
21809 (createContent): Call DefaultTreeModel.reload(), not the
21810 tree.repaint(). Expand the parent of the added node.
21811 * javax/swing/JTree.java (constructor): Do not call
21812 UpdateUI (and documented why). (treeDidChange):
21813 Added comment, excluding the misinterpretation of this method.
21814 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21815 focusListener, keyListener, mouseListener, propertyListener,
21816 selectionModelPropertyChangeListener, treeModelListener,
21817 treeSelectionListener): Made package private.
21818 (PropertyChangeHandler): If the model changes, install the
21819 listener on it. (installUI): Assign treeModel.
21820 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21821 comment, excluding misinterpretation.
21822 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21823 (reload(TreeNode)): Implemented.
21825 2006-04-25 Tom Tromey <tromey@redhat.com>
21827 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21828 * javax/swing/tree/VariableHeightLayoutCache.java
21829 (getVisiblePathsFrom): Genericized.
21830 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21833 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21835 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21836 If clicked on the other row, cancel the current editing session.
21838 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21840 * javax/swing/plaf/basic/BasicTreeUI.java
21841 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21842 (paintExpandControl): Always paint in one gap distance from the left
21843 border of the path bounds.
21844 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21845 into consideration.
21846 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21849 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21851 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21853 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21855 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21856 Allow slashes (/) in the unquoted parameter value.
21858 2006-04-25 Roman Kennke <kennke@aicas.com>
21860 * gnu/java/awt/java2d/AbstractGraphics2D.java
21861 (drawString(String,int,int)): Implemented.
21862 (drawString(String,float,float)): Implemented.
21863 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21864 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21865 (getFontRenderContext): Implemented.
21866 (drawGlyphVector): Implemented.
21867 (getFont): Implemented.
21868 (setFont): Don't change font setting when null.
21869 (getFontMetrics): Implemented.
21870 (fillShape): Re-written to fill call rawFillShape() with a list
21871 of the edges instead of double arrays.
21872 (rawFillShape): Implemented using a polygon scanline conversion.
21873 (fillScanline): New helper method.
21874 (init): Initialize foreground black. Set font.
21875 * gnu/java/awt/java2d/PolyEdge.java: New file.
21876 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21878 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21880 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21882 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21884 * javax/swing/JTable.java: Fixed API doc tags,
21885 * javax/swing/text/AsyncBoxView.java: Likewise,
21886 * javax/swing/text/FlowView.java: Likewise.
21888 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21890 * javax/swing/table/DefaultTableColumnModel.java
21891 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21893 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21895 * javax/swing/table/DefaultTableColumnModel.java
21896 (DefaultTableColumnModel): Set selection model field and add 'this' as
21898 (addColumn): Add 'this' as a PropertyChangeListener,
21899 (removeColumn): Remove column before firing event, and remove 'this' as
21900 a PropertyChangeListener,
21901 (setSelectionModel): Remove 'this' as a listener from old model,
21902 (propertyChange): Check for 'width' property rather than
21903 TableColumn.COLUMN_WIDTH_PROPERTY.
21905 2006-04-24 Chris Burdess <dog@gnu.org>
21908 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21909 attributes when no doctype exists.
21911 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21913 * javax/swing/event/ChangeEvent.java: Updated API docs,
21914 * javax/swing/event/ChangeListener.java: Likewise,
21915 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21916 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21917 * javax/swing/table/TableColumnModel.java: Likewise.
21919 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21921 * javax/swing/text/Utilities.java:
21922 (getBreakLocation): Introduced shift variable, added notes.
21923 * javax/swing/text/WrappedPlainView.java:
21924 (calculateBreakPosition): Decrease allocation area bounds by insets,
21925 added early return when allocation area is empty, provide start offset
21927 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21928 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21929 numLines after loop.
21930 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21931 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21932 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21933 decreasing variable end by one, changed break condition in while-loop,
21934 added check for return value.
21935 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21936 allocation area is empty.
21938 2006-04-24 Sven de Marothy <sven@physto.se>
21940 * gnu/java/awt/java2d/Segment.java: New file.
21941 * gnu/java/awt/java2d/CubicSegment.java: New file.
21942 * gnu/java/awt/java2d/QuadSegment.java: New file.
21943 * gnu/java/awt/java2d/LineSegment.java: New file.
21944 * java/awt/BasicStroke.java
21945 (start): New field.
21947 (createStrokedShape): Implemented.
21948 (solidStroke): New method.
21949 (dashedStroke): New method.
21950 (capEnds): New method.
21951 (convertPath): New method.
21952 (addSegments): New method.
21953 (capEnd): New method.
21954 (lineIntersection): New method.
21955 (joinSegments): New method.
21957 2006-04-24 Roman Kennke <kennke@aicas.com>
21959 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21962 (clip): Changed clip to be in user space not in target space.
21963 (isOptimized): Added flag to allow optimized drawing for
21964 primitive operations (e.g. for Swing).
21965 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21966 with the paint context etc.
21967 (draw): Clip the shape before drawing it.
21968 (fill): Clip the shape before drawing it.
21969 (setComposite): Update isOptimized flag.
21970 (setPaint): Likewise.
21971 (setStroke): Likewise.
21972 (translate): Update the clip.
21973 (rotate): Likewise.
21976 (transform): Likewise.
21977 (setTransform): Likewise.
21978 (clip): Added optimization for rectangle clips.
21979 (create): Implemented.
21980 (clone): New method.
21981 (setFont): Basic implementation.
21982 (setClip): Update opimization flag.
21983 (drawLine): Added possible optimization.
21984 (fillRect): Added possible optimization.
21985 (fillShape): Implemented shape-filling by filling the flattended
21986 shape using polygon fill.
21987 (drawPixel): Added basic painting.
21988 (rawSetPixel): Changed signature to only take coordinates.
21989 (rawSetForeground): New abstract method.
21990 (getUserBounds): Implemented default for this method.
21991 (rawDrawLine): New method.
21992 (rawFillRect): New method.
21993 (rawFillPolygon): New method.
21994 (init): New method.
21995 (updateOptimization): New method.
21996 (computeIntersection): New method.
21997 (updateClip): New method.
21998 (clipShape): New method.
22000 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22002 * java/lang/Package.java: Added compatibility constructor to ease
22003 VM interface migration.
22005 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22007 * java/lang/Class.java (getEnumConstants): Implemented without
22008 delegating to VMClass.
22009 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22011 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22013 * java/lang/ClassLoader.java (definePackage): Added argument to
22014 Package constructor.
22015 * java/lang/Package.java (Package): Added ClassLoader argument.
22016 (loader): New field.
22017 (getDeclaredAnnotations): Implemented without help from VMPackage.
22018 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22019 to Package constructor.
22020 * vm/reference/java/lang/VMPackage.java: Removed.
22022 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22024 * examples/gnu/classpath/examples/swing/TreeDemo.java:
22025 (createContent): Added check box to swith between single and
22026 multiple selection.
22027 * javax/swing/JTree.java (leadSelectionPath): Removed.
22028 (addSelectionInterval): Explained. (getLeadSelectionPath):
22029 Request the path from model. (getPathsBetweenRows): Explained.
22030 (setLeadSelectionPath): Set the path in model.
22031 * javax/swing/plaf/basic/BasicTreeUI.java
22032 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
22033 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22034 (MouseHandler.mousePressed): Call selectPathForEvent.
22036 2006-04-23 Roman Kennke <kennke@aicas.com>
22038 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22040 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
22043 Mention changes to VMProcess and VMSystem.
22044 * doc/vmintegration.texinfo:
22045 Change documentation on VMProcess and VMSystem.
22046 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22047 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22048 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22049 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22050 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22051 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22052 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22053 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22054 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22055 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22056 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22057 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22058 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22059 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22060 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22061 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22062 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22063 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22064 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22065 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22066 * include/gnu_java_awt_peer_gtk_GtkImage.h,
22067 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22068 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22069 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22070 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22071 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22072 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22073 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22074 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22075 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22076 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22077 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22078 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22079 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22080 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22081 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22082 * include/gnu_java_awt_peer_qt_MainQtThread.h,
22083 * include/gnu_java_awt_peer_qt_QMatrix.h,
22084 * include/gnu_java_awt_peer_qt_QPainterPath.h,
22085 * include/gnu_java_awt_peer_qt_QPen.h,
22086 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22087 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22088 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22089 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22090 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22091 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22092 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22093 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22094 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22095 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22096 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22097 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22098 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22099 * include/gnu_java_awt_peer_qt_QtGraphics.h,
22100 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22101 * include/gnu_java_awt_peer_qt_QtImage.h,
22102 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22103 * include/gnu_java_awt_peer_qt_QtListPeer.h,
22104 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22105 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22106 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22107 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22108 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22109 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22110 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22111 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22112 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22113 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22114 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22115 * include/gnu_java_awt_peer_qt_QtToolkit.h,
22116 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22117 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22118 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22119 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22120 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22121 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22122 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22123 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22124 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22125 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22126 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22127 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22128 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22129 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22130 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22131 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22132 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22133 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22134 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22135 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22136 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22137 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22138 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22139 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22140 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22141 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22142 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22143 * include/java_lang_VMProcess.h,
22144 * include/java_lang_VMSystem.h:
22145 Regenerated with GCJ 4.1.
22147 2006-04-22 Casey Marshall <csm@gnu.org>
22149 Fixes PR classpath/27228.
22150 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22151 (initialize): also accept `DHParameterSpec.'
22152 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22153 handle a passed-in `DHParameterSpec' properly.
22154 (generate): don't check if the random exponent is less than `q -
22155 1' if no `q' was specified.
22157 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22159 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22160 Only repaint the patches, speficied in the passed event.
22161 (expandPath): Do nothing if the path is already expanded.
22162 (scrollPathToVisible): Only scroll to visible, do nothing else.
22163 * javax/swing/plaf/basic/BasicTreeUI.java
22164 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22165 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22166 (TreeTraverseAction.actionPerformed): Collapse the node on the
22167 action "selectParent". (selectPath): Rewritten.
22168 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22169 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22170 Do not reuse selection array.
22171 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22173 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22176 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22178 * javax/swing/tree/DefaultTreeSelectionModel.java
22179 (addSelectionPath): If the path cannot be added, set it.
22180 (addSelectionPaths): Call insureRowContinuity.
22181 (arePathsContiguous): Implemented.
22182 (canPathBeAdded): New private method.
22183 (canPathsBeAdded): Implemented.
22184 (canPathsBeRemoved): Implemented.
22185 (getPath): New private method.
22186 (insureRowContinuity): Implemented.
22187 (removeSelectionPath): Call insureRowContinuity.
22188 (removeSelectionPaths): Call insureRowContinuity.
22189 (resetRowSelection): Removed stub marking, not used in implementation
22190 (nothing to do there).
22191 (selectOne): New private method.
22192 (setSelectionMode) Call insureRowContinuity.
22193 (setSelectionPaths) Remove the current selection by clearing it.
22195 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22197 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22198 parameters consistendly, documented some methods.
22199 * java/sql/Blob.java: Likewise.
22200 * java/sql/CallableStatement.java: Likewise.
22201 * java/sql/Clob.java: Likewise.
22202 * java/sql/Connection.java: Likewise.
22203 * java/sql/DatabaseMetaData.java: Likewise.
22204 * java/sql/Date.java: Likewise.
22205 * java/sql/Driver.java: Likewise.
22206 * java/sql/PreparedStatement.java: Likewise.
22207 * java/sql/ResultSet.java: Likewise.
22208 * java/sql/ResultSetMetaData.java: Likewise.
22209 * java/sql/SQLData.java: Likewise.
22210 * java/sql/SQLOutput.java: Likewise.
22211 * java/sql/SQLWarning.java: Likewise.
22212 * java/sql/Statement.java: Likewise.
22213 * java/sql/Time.java: Likewise.
22214 * java/sql/Timestamp.java: Likewise.
22216 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22218 * java/lang/reflect/AccessibleObject.java:
22219 Implemented AnnotatedElement.
22220 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22221 isAnnotationPresent): New methods.
22223 2006-04-21 Tom Tromey <tromey@redhat.com>
22225 PR classpath/27163:
22226 * gnu/java/net/protocol/ftp/FTPConnection.java
22227 (changeWorkingDirectory): Do nothing if path is empty.
22229 2006-04-21 Tom Tromey <tromey@redhat.com>
22232 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22233 case where no '/' appears in 'location'.
22235 2006-04-21 Tom Tromey <tromey@redhat.com>
22237 * java/security/Security.java (<clinit>): Add all default providers.
22238 * resource/java/security/classpath.security: Added comment.
22240 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22242 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22243 * javax/swing/SpinnerNumberModel.java: Likewise.
22245 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22247 * javax/swing/SpinnerDateModel.java
22248 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22249 checking to call compareTo() on start and end.
22251 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22253 * javax/swing/border/AbstractBorder.java: API doc updates,
22254 * javax/swing/border/BevelBorder.java: Likewise,
22255 * javax/swing/border/CompoundBorder.java: Likewise,
22256 * javax/swing/border/EtchedBorder.java: Likewise,
22257 * javax/swing/border/LineBorder.java: Likewise,
22258 * javax/swing/border/MatteBorder.java: Likewise,
22259 * javax/swing/border/TitledBorder.java: Likewise.
22261 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22263 * gnu/javax/crypto/cipher/Anubis.java:
22264 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22266 * gnu/javax/crypto/cipher/Blowfish.java:
22267 (selfTest): Likewise,
22268 * gnu/javax/crypto/cipher/Cast5.java:
22269 (selfTest): Likewise,
22270 * gnu/javax/crypto/cipher/Khazad.java:
22271 (selfTest): Likewise,
22272 * gnu/javax/crypto/cipher/Rijndael.java:
22273 (selfTest): Likewise,
22274 * gnu/javax/crypto/cipher/Serpent.java:
22275 (selfTest): Likewise,
22276 * gnu/javax/crypto/cipher/Square.java:
22277 (selfTest): Likewise,
22278 * gnu/javax/crypto/cipher/Twofish.java:
22279 (selfTest): Likewise,
22280 * gnu/javax/crypto/mac/UMac32.java:
22281 (selfTest): Likewise,
22282 * gnu/javax/crypto/prng/CSPRNG.java:
22283 (getSystemInstance): Likewise.
22285 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22287 * gnu/java/security/hash/Haval.java:
22288 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22290 * gnu/java/security/hash/MD2.java:
22291 (selfTest): Likewise,
22292 * gnu/java/security/hash/MD4.java:
22293 (selfTest): Likewise,
22294 * gnu/java/security/hash/MD5.java:
22295 (selfTest): Likewise,
22296 * gnu/java/security/hash/RipeMD128.java:
22297 (selfTest): Likewise,
22298 * gnu/java/security/hash/RipeMD160.java:
22299 (selfTest): Likewise,
22300 * gnu/java/security/hash/Sha160.java:
22301 (selfTest): Likewise,
22302 * gnu/java/security/hash/Sha256.java:
22303 (selfTest): Likewise,
22304 * gnu/java/security/hash/Sha384.java:
22305 (selfTest): Likewise,
22306 * gnu/java/security/hash/Sha512.java:
22307 (selfTest): Likewise,
22308 * gnu/java/security/hash/Tiger.java:
22309 (selfTest): Likewise,
22310 * gnu/java/security/hash/Whirlpool.java:
22311 (selfTest): Likewise.
22313 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22315 * javax/swing/plaf/basic/BasicTreeUI.java
22316 (PropertyChangeHandler.propertyChange): Set the row mapper
22317 for the selection model.
22318 * javax/swing/tree/AbstractLayoutCache.java
22319 (NodeDimensions.getNodeDimensions): Explained.
22320 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22321 Implemented. (setRowHeight): Invalidate sizes.
22322 * javax/swing/tree/DefaultTreeSelectionModel.java
22323 (addSelectionPath, addSelectionPaths): Update lead row.
22324 (removeSelectionPath, removeSelectionPaths): Do nothing if
22325 selection is empty.
22326 (clone): Only clone list selection model if it is not null.
22327 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22328 setSelectionPath, setSelectionPaths, toString): Implemented.
22329 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22330 Pass the empty rectangle. (isFixedRowHeight): New method.
22331 * javax/swing/tree/VariableHeightLayoutCache.java
22332 (NodeRecord.getBounds): Pass the empty rectangle.
22334 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22336 * gnu/java/security/Properties.java
22337 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22339 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22341 * gnu/classpath/jdwp/util/Value.java
22342 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22343 creating new Boolean instances.
22345 2006-04-20 Mark Wielaard <mark@klomp.org>
22347 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22348 PrivilegedAction. Access awt.toolkit through SystemProperties.
22350 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22352 * javax/swing/ActionMap.java: Removed unused imports,
22353 * javax/swing/DefaultListSelectionModel.java
22354 (clearSelection): Removed unused label,
22355 * javax/swing/JScrollPane.java: Removed unused imports,
22356 * javax/swing/UIManager.java: Likewise,
22357 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22359 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22361 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22362 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22363 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22364 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22365 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22367 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22369 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22370 * java/sql/Blob.java: Likewise,
22371 * java/sql/CallableStatement.java: Likewise,
22372 * java/sql/Clob.java: Likewise,
22373 * java/sql/Connection.java: Likewise,
22374 * java/sql/DatabaseMetaData.java: Likewise,
22375 * java/sql/Date.java: Likewise,
22376 * java/sql/Driver.java: Likewise,
22377 * java/sql/PreparedStatement.java: Likewise,
22378 * java/sql/ResultSet.java: Likewise,
22379 * java/sql/ResultSetMetaData.java: Likewise,
22380 * java/sql/SQLData.java: Likewise,
22381 * java/sql/SQLOutput.java: Likewise,
22382 * java/sql/SQLWarning.java: Likewise,
22383 * java/sql/Statement.java: Likewise,
22384 * java/sql/Time.java: Likewise,
22385 * java/sql/Timestamp.java: Likewise.
22387 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22389 * java/sql/DriverManager.java
22390 (setLoginTimeout): Use incoming argument,
22391 (setLogStream): Likewise,
22392 (println): Fix API doc comment.
22394 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22396 * javax/swing/JMenuItem.java
22397 (paramString): Updated API docs,
22398 (getAccessibleContext): Added API docs,
22399 (AccessibleJMenuItem.stateChanged): Marked as stub,
22400 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22401 * javax/swing/JSlider.java
22402 (paramString): Fix for API docs,
22403 * javax/swing/JToolTip.java
22404 (getAccessibleContext): Fix for API docs.
22406 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22408 * javax/swing/JRadioButtonMenuItem.java
22409 (paramString): Reimplemented,
22410 (getAccessibleContext): API docs added,
22411 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22413 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22415 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22417 * javax/swing/plaf/basic/BasicTreeUI.java
22418 (finish): Invalidate path bounds.
22419 (getMaxHeight): Set the row height to the layout cache.
22420 (startEditing): Do not request to recalculated
22421 row height and preferred size.
22422 * javax/swing/tree/DefaultTreeCellEditor.java
22423 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22425 * javax/swing/tree/FixedHeightLayoutCache.java:
22428 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22430 * javax/swing/JDesktopPane.java
22431 (paramString): Reimplemented,
22432 plus API doc updates in AccessibleJDesktopPane.
22434 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22436 * javax/swing/ImageIcon.java:
22437 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22438 (AccessibleImageIcon.getLocale): Declared exception and always return
22440 (getAccessibleContext): Updated API docs,
22441 plus updated API docs all over AccessibleImageIcon.
22443 2006-04-20 Roman Kennke <kennke@aicas.com>
22446 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22447 (paintText): Fetch the ascent only once. Add the ascent to
22448 the text rect also when tabs are disabled.
22450 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22452 * java/util/Locale.java (defaultLocale): Set to en_US per
22453 default and use user.country but prioritize user.region if
22455 (getLocale(String language, String country)): Renamed region to
22457 (getLocale(String language, String region, String variant)):
22459 (getAvailableLocales): Likewise.
22461 2006-04-20 Roman Kennke <kennke@aicas.com>
22464 * javax/swing/JList.java
22465 (JList()): Call init() with DefaultListModel instance.
22466 (JList(Object[])): Call init() with null.
22467 (JList(Vector)): Call init() with null.
22468 (JList(ListModel)): Call init() with model.
22469 (init): Changed to take the model as argument. Don't call
22470 setter methods and initialize stuff directly instead.
22471 (getCellBounds): Check if UI is null.
22473 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22475 * javax/swing/text/WrappedPlainView.java: Initialize
22476 WrappedLine.numLines with -1.
22477 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22478 numLines is -1 and reculcalate the value appropriately.
22479 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22480 allocation area is empty.
22482 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22484 * javax/swing/JTabbedPane.java
22485 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22486 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22487 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22488 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22489 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22490 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22491 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22492 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22493 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22494 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22495 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22496 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22497 (Page.getAccessibleStateSet): Likewise,
22498 (Page.getAccessibleIndexInParent): Likewise.
22500 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22502 * javax/swing/JProgressBar.java
22503 (paramString): Reimplemented.
22505 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22507 * javax/swing/JButton.java: Updated API docs all over.
22509 2006-04-19 Roman Kennke <kennke@aicas.com>
22511 * java/awt/Toolkit.java
22512 (getDefaultToolkit): Use system classloader to load the
22515 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22517 * javax/swing/text/DefaultCaret.java:
22518 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22519 instead of DefaultCaret.setDot.
22521 2006-04-19 Roman Kennke <kennke@aicas.com>
22523 * native/jni/java-net/local.c
22524 (local_read): Handle EINTR correctly.
22525 (local_write): Likewise.
22527 2006-04-19 Riccardo Mottola <multix@gmail.com>
22529 PR classpath/27062, PR classpath/25650:
22530 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22532 2006-04-19 Tom Tromey <tromey@redhat.com>
22534 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22535 value of 'pureMinutes'. PR classpath/27189.
22537 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22539 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22540 boot packages list from the META-INF/INDEX.LIST file if it exists.
22542 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22544 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22545 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22546 (ITERATION_COUNT): Removed modifiers.
22547 (PASSWORD): Likewise.
22549 (PASSWORD_ENCODING): New property.
22550 (DEFAULT_PASSWORD_ENCODING): New constant.
22551 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22552 material (bytes) before a password (chars).
22554 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22556 * javax/swing/JMenu.java
22557 (getAccessibleChildrenCount): Marked as stub,
22558 (getAccessibleChild): Likewise,
22559 (getAccessibleSelection): Likewise,
22560 (getAccessibleSelection(int)): Likewise,
22561 (isAccessibleChildSelected): Likewise,
22562 (getAccessibleSelectionCount): Likewise,
22563 (addAccessibleSelection): Likewise,
22564 (removeAccessibleSelection): Likewise,
22565 (clearAccessibleSelection): Likewise,
22566 (selectAllAccessibleSelection): Likewise.
22568 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22570 * javax/swing/JSplitPane.java
22571 (getAccessibleContext): Added API docs,
22572 (paramString): Reimplemented,
22573 (setOrientation): Updated API docs,
22574 (setResizeWeight): Added argument checking and event notification.
22576 2006-04-18 Casey Marshall <csm@gnu.org>
22578 Fixes PR classpath/25673
22579 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22580 property is set. Update JavaDoc to reflect this.
22582 2006-04-18 Lillian Angel <langel@redhat.com>
22584 * gnu/xml/dom/DomDocument.java
22585 (setCheckingCharacters): New function used to set
22586 checkingCharacters flag.
22587 * gnu/xml/dom/html2/DomHTMLParser.java
22588 (parseDocument): Added call to set checkingCharacters flag
22591 2006-04-18 Lillian Angel <langel@redhat.com>
22593 * gnu/xml/dom/DomDocument.java
22594 (checkNCName): Reverted last patch. Added check for colon at
22595 last position back in.
22597 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22599 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22601 * examples/gnu/classpath/examples/swing/Demo.java:
22602 (mkMenuBar): Added NavigationFilter demo.
22604 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22606 * javax/swing/JSeparator.java: Updated API docs all over, plus
22607 (setOrientation): Fire PropertyChangeEvent,
22608 (paramString): Reimplemented.
22610 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22612 * javax/swing/plaf/basic/BasicTextUI.java:
22613 (getNextVisualPositionFrom): Implemented.
22615 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22617 * javax/swing/JPanel.java: Updated API docs all over, plus
22618 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22619 double-buffer flag.
22621 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22623 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22625 * examples/gnu/classpath/examples/swing/Demo.java:
22626 (mkMenuBar): Added DocumenFilter demo.
22628 2006-04-18 Tom Tromey <tromey@redhat.com>
22630 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22632 2006-04-18 Mark Wielaard <mark@klomp.org>
22634 Reported by John Sullivan (johns@fsf.org)
22635 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22637 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22639 * javax/swing/JInternalFrame.java
22640 (JDesktopIcon.getAccessibleContext): Added API docs,
22641 (getDefaultCloseOperation): Likewise,
22642 (paramString): Added 'title' attribute,
22643 (setDefaultCloseOperation): Added API docs.
22645 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22647 * javax/swing/JSlider.java
22648 (paramString): Reimplemented.
22650 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22652 * javax/swing/JComboBox.java
22653 (paramString): Reimplemented,
22654 (getAccessibleContext): Added API docs,
22655 (AccessibleJComboBox.getAccessibleRole): Likewise.
22657 2006-04-18 Roman Kennke <kennke@aicas.com>
22659 * javax/swing/RepaintManager.java
22660 (dirtyComponentsWork): New field.
22661 (ComponentComparator): Use dirtyComponentsWork instead of
22663 (RepaintManager): Initialize new field.
22664 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22665 and work on the copy.
22667 2006-04-18 Roman Kennke <kennke@aicas.com>
22669 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22670 (setBounds): Call reshape().
22671 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22672 (SwingContainerPeer): Changed argument to be a Component
22673 instead a Container.
22674 (getInsets): Call insets().
22675 (handleMouseEvent): Added null check to avoid NPE.
22676 (handleMouseMotionEvent): Added null check to avoid NPE.
22678 2006-04-18 Roman Kennke <kennke@aicas.com>
22681 * javax/swing/JComponent.java
22682 (paintChildrenWithOverlap): When one child is not opaque, propagate
22683 the dirty rectangles to the next child.
22684 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22685 This actually didn't work right and probably gained nothing.
22687 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22689 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22690 (moveToCellBeingEdited): Do not clone the rectangle here.
22692 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22694 * javax/swing/plaf/basic/BasicSliderUI.java
22695 (getActionMap): Fixed lookup key,
22696 (createActionMap): Modified actions to fetch slider/ui from the event
22699 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22701 * java/lang/Enum.java: Documented.
22703 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22705 * gnu/java/lang/InstrumentationImpl.java:
22706 Moved from java.lang.
22707 * java/lang/InstrumentationImpl.java:
22709 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22710 Moved from java.lang.
22711 * vm/reference/java/lang/VMClassLoader.java:
22712 Corrected reference to InstrumentationImpl.
22713 * vm/reference/java/lang/VMInstrumentationImpl.java:
22716 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22718 * java/lang/annotation/Annotation.java:
22721 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22723 * javax/swing/JToolBar.java
22724 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22725 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22726 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22727 (getAccessibleContext): Likewise.
22729 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22732 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22734 * native/fdlibm/Makefile.am,
22735 native/jni/classpath/Makefile.am:
22736 Don't use -module and -version-info for convenience libraries LDFLAGS.
22737 Fixes libtool warnings.
22739 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22741 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22742 (installKeyboardActions): Marked as stub,
22743 (uninstallKeyboardActions): Likewise,
22744 * javax/swing/plaf/basic/BasicComboPopup.java:
22745 (installKeyboardActions): Marked as stub,
22746 (uninstallKeyboardActions): Likewise,
22747 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22748 (installKeyboardActions): Marked as stub,
22749 (uninstallKeyboardActions): Likewise,
22750 * javax/swing/plaf/basic/BasicLabelUI.java:
22751 (installKeyboardActions): Marked as stub,
22752 (uninstallKeyboardActions): Likewise,
22753 * javax/swing/plaf/basic/BasicListUI.java:
22754 (installKeyboardActions): Marked as stub,
22755 (uninstallKeyboardActions): Likewise,
22756 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22757 (installKeyboardActions): Marked as stub,
22758 (uninstallKeyboardActions): Likewise,
22759 * javax/swing/plaf/basic/BasicMenuUI.java:
22760 (installKeyboardActions): Marked as stub,
22761 (uninstallKeyboardActions): Likewise,
22762 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22763 (installKeyboardActions): Marked as stub,
22764 (uninstallKeyboardActions): Likewise,
22765 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22766 (installKeyboardActions): Marked as stub,
22767 (uninstallKeyboardActions): Likewise,
22768 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22769 (installKeyboardActions): Marked as stub,
22770 (uninstallKeyboardActions): Likewise,
22771 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22772 (installKeyboardActions): Marked as stub,
22773 (uninstallKeyboardActions): Likewise,
22774 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22775 (installKeyboardActions): Marked as stub,
22776 (uninstallKeyboardActions): Likewise,
22777 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22778 (installKeyboardActions): Marked as stub,
22779 (uninstallKeyboardActions): Likewise,
22780 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22781 (installKeyboardActions): Marked as stub,
22782 (uninstallKeyboardActions): Likewise,
22783 * javax/swing/plaf/basic/BasicTableUI.java:
22784 (installKeyboardActions): Marked as stub,
22785 (uninstallKeyboardActions): Likewise,
22786 * javax/swing/plaf/basic/BasicTextUI.java:
22787 (installKeyboardActions): Marked as stub,
22788 (uninstallKeyboardActions): Likewise,
22789 * javax/swing/plaf/basic/BasicToolBarUI.java:
22790 (installKeyboardActions): Marked as stub,
22791 (uninstallKeyboardActions): Likewise.
22793 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22795 * javax/swing/plaf/basic/BasicSliderUI.java
22796 (installKeyboardActions): Implemented,
22797 (uninstallKeyboardActions): Implemented,
22798 (scrollByBlock): Accept any value for direction,
22799 (scrollByUnit): Likewise,
22800 (getInputMap): New method,
22801 (getActionMap): New method,
22802 (createActionMap): New method.
22805 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22807 * doc/vmintegration.texinfo:
22810 2006-04-16 Tom Tromey <tromey@redhat.com>
22812 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22814 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22817 Mention generics additions to the VM interface.
22818 * doc/vmintegration.texinfo:
22819 Added information on VMClass 1.5 additions and
22822 2006-04-16 Casey Marshall <csm@gnu.org>
22824 * NEWS: add an entry mentioning local socket support.
22826 2006-04-16 Casey Marshall <csm@gnu.org>
22828 * configure.ac (--enable-local-sockets): new enable argument.
22829 (ENABLE_LOCAL_SOCKETS): new define.
22830 * native/jni/java-net/Makefile.am (local_sources): new variable.
22831 (lib_javanet_la_SOURCES): append `local_sources.'
22832 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22833 * native/jni/java-net/local.c,
22834 * native/jni/java-net/local.h,
22835 * include/gnu_java_net_local_LocalSocketImpl.h,
22836 * gnu/java/net/local/LocalServerSocket.java,
22837 * gnu/java/net/local/LocalSocket.java,
22838 * gnu/java/net/local/LocalSocketAddress.java,
22839 * gnu/java/net/local/LocalSocketImpl.java: new files.
22841 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22843 * javax/accessibility/AccessibleAction.java:
22844 (DECREMENT): Added field.
22845 (INCREMENT): Likewise.
22846 (TOGGLE_EXPAND): Likewise.
22847 * javax/accessibility/AccessibleRole.java:
22848 (EDITBAR): Added field.
22849 (FOOTER): Likewise.
22850 (HEADER): Likewise.
22851 (PARAGRAPH): Likewise.
22852 (PROGRESS_MONITOR): Likewise.
22854 * javax/accessibility/AccessibleState.java:
22855 (INDETERMINATE): Added field.
22856 (MANAGES_DESCENDANTS): Likewise.
22857 (TRUNCATED): Likewise.
22859 2006-04-14 Tom Tromey <tromey@redhat.com>
22861 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22863 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22866 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22868 * javax/swing/text/DefaultCaret.java:
22869 (getBypass): New method.
22870 (moveDot): Rewritten.
22871 (moveDotImpl): New method.
22872 (setDot): Rewritten.
22873 (setDotImpl): New method.
22874 (DefaultCaret.Bypass): New class.
22876 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22878 * javax/swing/text/AbstractDocument.java:
22879 (getBypass): New method.
22880 (insertString): Rewritten.
22881 (remove): Rewritten.
22882 (replace): Rewritten.
22883 (insertStringImpl): New method.
22884 (removeImpl): New method.
22885 (replaceImpl): New method.
22886 (AbstractDocument.Bypass): New class.
22888 2006-04-14 Casey Marshall <csm@gnu.org>
22890 Fixes PR classpath/24642
22891 * NEWS: add note about SecureRandom changes, and addition of
22893 * java/security/SecureRandom.java (isSeeded): new field.
22894 (setSeed, setSeed): set `isSeeded' to `true.'
22895 (nextBytes): seed this instance if `isSeeded' is false.
22896 (getSeed): call `generateSeed.'
22897 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22898 (generateSeed, generateSeed): new methods.
22899 * vm/reference/java/security/VMSecureRandom.java: new file.
22901 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22903 * javax/swing/text/FieldView.java:
22904 (paint): Apply clipping rectangle of the allocation area
22905 before painting the text.
22906 * javax/swing/text/DefaultHighlighter.java:
22907 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22908 compute union and intersection, calculate intersection with allocation
22909 area before painting, adjust x and width when painting multiple lines
22910 by the range of the allocation area.
22912 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22914 * javax/swing/text/DefaultHighlighter.java:
22915 (paintLayeredHighlights): Marked as stub.
22917 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22919 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22920 (propertyChanged): Added note, change color only if current background
22921 is a ColorUIResource instance.
22923 2006-04-14 Tom Tromey <tromey@redhat.com>
22925 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22929 2006-04-14 Tom Tromey <tromey@redhat.com>
22931 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22933 2006-04-14 Mark Wielaard <mark@klomp.org>
22935 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22936 thread group when exceptionHandler isn't set.
22937 * vm/reference/java/lang/VMThread.java (run): Use result of
22938 thread.getUncaughtExceptionHandler directly.
22940 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22942 * javax/swing/JSplitPane.java
22943 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22944 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22945 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22946 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22947 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22948 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22949 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22951 2006-04-10 Tom Tromey <tromey@redhat.com>
22953 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22954 Fixed parameter bounds.
22956 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22958 * gnu/javax/crypto/assembly/Assembly.java,
22959 * gnu/javax/crypto/assembly/Cascade.java,
22960 * gnu/javax/crypto/assembly/CascadeStage.java,
22961 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22962 * gnu/javax/crypto/assembly/Direction.java,
22963 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22964 * gnu/javax/crypto/assembly/ModeStage.java,
22965 * gnu/javax/crypto/assembly/Operation.java,
22966 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22967 * gnu/javax/crypto/assembly/Stage.java,
22968 * gnu/javax/crypto/assembly/Transformer.java,
22969 * gnu/javax/crypto/cipher/Square.java,
22970 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22971 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22972 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22973 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22974 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22975 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22976 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22977 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22978 * gnu/javax/crypto/jce/cipher/PBES2.java,
22979 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22980 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22981 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22982 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22983 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22984 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22985 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22986 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22987 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22988 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22989 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22990 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22991 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22992 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22993 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22994 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22995 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22996 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22997 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22998 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22999 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23000 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23001 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23002 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23003 * gnu/javax/crypto/pad/WrongPaddingException.java,
23004 * gnu/javax/crypto/prng/ICMGenerator.java,
23005 * gnu/javax/crypto/prng/IPBE.java,
23006 * gnu/javax/crypto/prng/PBKDF2.java,
23007 * gnu/javax/crypto/sasl/ConfidentialityException.java,
23008 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23009 * gnu/javax/crypto/sasl/srp/IALG.java,
23010 * gnu/javax/crypto/sasl/srp/SRPServer.java:
23011 Remove CVS revision tags.
23013 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23015 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
23016 Removed debugging code.
23018 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23020 * javax/swing/JTree.java (getPreferredSize): Return the
23022 * javax/swing/ViewportLayout.java (layoutContainer):
23023 Do not manage the view size and location if the view is
23024 in the scroll pane. Also manage size and location for
23025 Scrollable, if it is not in the scroll pane.
23026 * javax/swing/plaf/basic/BasicTreeUI.java,
23027 * javax/swing/tree/FixedHeightLayoutCache.java,
23028 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23029 * gnu/javax/swing/tree/GnuPath.java: New file.
23031 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23033 * javax/swing/JToolBar.java
23034 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23036 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23038 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23039 (createCustomColoredPanel): Set background color as demo intends,
23040 changed custom selection color to red.
23041 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23042 Replaced various single variables with a Compound instance, added
23043 custom highlighter demo.
23044 (TextFieldDemo.DemoHighlightPainter): New class (taken from
23046 (TextFieldDemo.Compound): New class.
23047 (createTextFieldCompound): New method.
23048 (createLeftAlignedPanel): Rewritten.
23049 (createRightAlignedPanel): Rewritten.
23050 (createCenteredPanel): Rewritten.
23051 (createCustomColoredPanel): Removed.
23052 (createCustomColoredPanel1): New method.
23053 (createCustomColoredPanel2): New method.
23054 (createCustomBordersPanel): New method.
23055 (createMiscPanel): Rewritten.
23056 (actionPerformed): Rewritten.
23057 (createContent): Add panels of new compounds to main panel, put
23058 main panel in a JScrollPane.
23059 * examples/gnu/classpath/examples/swing/Demo.java:
23060 (Demo): Put desktop in a scrollpane.
23061 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23062 method via reflection.
23064 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23066 * javax/swing/plaf/metal/MetalDesktopIconUI.java
23067 (createUI): Return new instance rather than shared instance.
23069 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23071 * javax/swing/text/FieldView.java:
23072 (checkContainer): Call updateVisibility() at the end.
23074 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23076 * java/awt/event/MouseEvent.java:
23077 (paramString): Add value of 'consumed' variable in string.
23079 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23082 * javax/swing/JTextField.java: Removed scrollOffset variable.
23083 (JTextField): Moved up initialization of horizontalVisibility field.
23084 (getScrollOffset): Implemented.
23085 (setScrollOffset): Implemented.
23086 (getHorizonztalVisibility): Removed note.
23087 (scrollRectToVisible): New method.
23088 * javax/swing/text/FieldView.java: Added cachedSpan variable.
23089 (checkContainer): New method.
23090 (updateVisibility): New method.
23091 (calculateHorizontalSpan): New method.
23092 (adjustAllocation): Removed unneeded local variables, added code
23093 to handle scrolling.
23094 (getPreferredSpan): Use new method calculateHorizontalSpan,
23095 avoid calculation by returning cached value cachedSpan.
23096 (paint): Added check whether the hosted component is a JTextField.
23097 (insertUpdate): Invalidate cached span value, update visibility
23099 (removeUpdate): Dito.
23100 (changeUpdate): Dito.
23102 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23104 * javax/swing/JInternalFrame.java
23105 (setTitle): Set old value to 'this.title', not 'title'.
23107 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23109 * javax/swing/JInternalFrame.java
23110 (AccessibleJInternalFrame.getAccessibleName): Implemented,
23111 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23112 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23113 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23114 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23115 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23116 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23117 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23118 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23119 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
23121 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
23123 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
23125 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
23127 (JInternalFrame()): Use "" for default title,
23128 (getAccessibleContext): Updated API docs,
23129 (getDesktopIcon): Likewise,
23130 (getLayer): Check for layer in client properties, and return
23131 DEFAULT_LAYER if no setting is found,
23132 (getTitle): Updated API docs,
23133 (setDesktopIcon): Fire property change event.
23135 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23137 * javax/swing/ScrollPaneLayout.java (layoutContainer):
23138 Mind that the presence of one scroll bar may cause the
23141 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
23143 * gnu/regexp/REToken.java(unicodeAware): New field,
23144 (toLowerCase, toUpperCase): New methods.
23145 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23146 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23147 Use toLowerCase and toUpperCase defined in REToken instead of
23148 those defined in java.lang.Character.
23149 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23150 (initialize): Sets unicodeAware of the generated REToken to false if
23151 REG_ICASE_USASCII is set.
23152 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23153 to lower case and keep the original value.
23154 (matchOneString): Use the new method charEquals to compare characters.
23155 (charEquals): New method to compare characters.
23156 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23158 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23160 * javax/swing/event/InternalFrameEvent.java:
23161 (paramString): Implemented,
23162 updated API docs all over.
23164 2006-04-12 Casey Marshall <csm@gnu.org>
23166 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23167 (Generator.setup): call `fillBlock.'
23169 2006-04-12 Casey Marshall <csm@gnu.org>
23171 Fixes PR classpath/24481.
23172 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23173 initialize the adaptee.
23174 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23175 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23176 addRandomBytes): new methods.
23178 2006-04-12 Tom Tromey <tromey@redhat.com>
23180 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23183 2006-04-12 Lillian Angel <langel@redhat.com>
23185 * gnu/xml/dom/DomDocument.java
23186 (checkNCName): Removed unneeded part of check.
23187 * gnu/xml/dom/DomNode.java
23188 (dispatchEvent): Added code to grow ancestors array
23189 if needed. Changed checks to use depth of node instead.
23190 Fixes an infinite loop and segmentation fault.
23191 * gnu/xml/dom/html2/DomHTMLParser.java
23192 (handleEndTag): No need to use/make a copy of the node.
23193 Causes an infinite loop.
23195 2006-04-12 Tom Tromey <tromey@redhat.com>
23197 PR classpath/27131:
23198 * java/util/BitSet.java (get): Early return if to==from.
23200 2006-04-12 Mark Wielaard <mark@klomp.org>
23202 * java/security/SecureRandom.java (algorithm): New private field.
23203 (SecureRandom): Initialize algorithm.
23204 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23206 (getInstance): Call 3 argument constructor.
23207 (getAlgorithm): New method.
23209 2006-04-12 Mark Wielaard <mark@klomp.org>
23211 Port UncaughtExceptionHandler support from generics branch.
23212 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23214 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23216 * java/lang/Thread.java:
23217 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23218 Added docs and security check.
23219 (getUncaughtExceptionHandler()): Documented.
23220 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23221 Added docs and security check.
23222 (getDefaultUncaughtExceptionHandler()): Documented.
23223 (getId()): Documented.
23225 2006-04-12 Tom Tromey <tromey@redhat.com>
23227 * vm/reference/java/lang/VMThread.java (run): Use thread's
23229 * java/lang/Thread.java (defaultHandler): New field.
23230 (setDefaultUncaughtExceptionHandler,
23231 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23232 getUncaughtExceptionHandler): New methods.
23233 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23234 UncaughtExceptionHandler.
23235 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23237 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23239 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23240 buffer. Loop only once to determine Utf8 length when possible. Make
23241 the inner loop bounded by buf.length.
23242 (getUTFlength): New private method.
23243 (buf): New private field.
23245 2006-04-11 Lillian Angel <langel@redhat.com>
23247 * gnu/xml/dom/DomNodeIterator.java
23248 (nextNode): Moved line of code to avoid an infinite loop.
23249 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23250 (getCls): New function.
23251 (setCls): Likewise.
23252 (getSrc): Likewise.
23253 (setSrc): Likewise.
23254 * gnu/xml/dom/html2/DomHTMLDocument.java:
23255 Added DomHTMLEmbedElement to map.
23256 (getApplets): Added node name, 'embed'.
23257 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23259 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23260 (getJavaCode): New function.
23261 (setJavaCode): Likewise.
23262 (getObject): Likewise.
23263 (setObject): Likewise.
23264 (getJavaObject): Likewise.
23265 (setJavaObject): Likewise.
23266 (getJavaArchive): Likewise.
23267 (setJavaArchive): Likewise.
23268 (getJavaCodeBase): Likewise.
23269 (setJavaCodeBase): Likewise.
23270 (getJavaType): Likewise.
23271 (setJavaType): Likewise.
23272 (setMayscript): Likewise.
23273 (getMayscript): Likewise.
23274 (setScriptable): Likewise.
23275 (getScriptable): Likewise.
23276 * gnu/xml/dom/html2/DomHTMLParser.java
23277 (parseDocument): Should not check for well formedness
23278 when parsing an html document.
23279 * java/awt/Window.java
23280 (dispatchEvent): Added check to avoid NPE.
23282 2006-04-10 Tom Tromey <tromey@redhat.com>
23284 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23286 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23287 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23289 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23291 * javax/swing/plaf/basic/BasicTextUI.java:
23292 (getNextVisualPositionFrom): Marked as stub.
23294 2006-04-10 Roman Kennke <kennke@aicas.com>
23296 * javax/swing/plaf/basic/BasicLookAndFeel.java
23297 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23298 and create the defaults as strings constants.
23299 (loadSystemColors): Implemented stubbed method.
23301 2006-04-10 Tom Tromey <tromey@redhat.com>
23303 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23306 2006-04-10 Tom Tromey <tromey@redhat.com>
23308 * java/io/CharArrayWriter.java (append): Javadoc fix.
23309 (append): Likewise.
23311 2006-04-10 Tom Tromey <tromey@redhat.com>
23313 * javax/accessibility/AccessibleTextSequence.java: New file.
23314 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23316 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23317 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23318 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23319 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23320 * javax/accessibility/AccessibleExtendedText.java: New file.
23321 * javax/accessibility/AccessibleContext.java
23322 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23323 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23324 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23325 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23326 * javax/accessibility/AccessibleStreamable.java: New file.
23327 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23330 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23332 * javax/swing/tree/AbstractLayoutCache.java
23333 (getNodeDimensions, getRowsForPath): Implemented.
23334 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23335 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23337 2006-04-10 Roman Kennke <kennke@aicas.com>
23339 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23341 2006-04-10 Roman Kennke <kennke@aicas.com>
23343 * javax/swing/JInternalFrame.java
23344 (AccessibleJInternalFrame): Marked all stubbed methods as such
23345 by adding throws NotImplementedException.
23347 2006-04-10 Roman Kennke <kennke@aicas.com>
23349 * javax/swing/JFileChooser.java
23350 (getAccessibleContext): Don't create a new instance on each
23351 call, instead store the accessible context in the
23352 accessibleContext field.
23354 2006-04-10 Roman Kennke <kennke@aicas.com>
23356 * javax/swing/JComboBox.java
23357 (AccessibleJComboBox): Marked all stubbed methods as such
23358 by adding throws NotImplementedException.
23360 2006-04-10 Roman Kennke <kennke@aicas.com>
23362 * javax/swing/ActionMap.java
23363 (readObject): Removed.
23364 (writeObject): Removed.
23366 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23368 * javax/swing/tree/DefaultTreeSelectionModel.java
23369 (addSelectionPaths, setSelectionPaths): Call
23370 insureUniqueness. (clone, setRowMapper): Implemented.
23371 * TreePath (path): Marked final.
23373 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23375 * javax/swing/tree/DefaultTreeSelectionModel.java:
23376 Documented and autoformatted. (insureUniqueness):
23377 Removed stub marking.
23379 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23381 * javax/swing/SizeSequence.java
23382 (sizes): Don't initialise here,
23383 (SizeSequence(int, int)): Initialise sizes field,
23384 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23385 (setSize): Do nothing when index is out of bounds,
23386 (getIndex): Implemented,
23387 (setSizes): Reimplemented,
23388 (getSizes): Likewise,
23389 (insertEntries): Likewise,
23390 (removeEntries): Likewise,
23391 plus added API docs all over.
23393 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23395 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23396 one way message and retry after any IOException.
23398 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23400 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23401 Set the byte order.
23403 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23405 * org/omg/PortableServer/ServantLocatorPOA.java:
23406 (preinvoke, postinvoke): Remove default implementation.
23407 * org/omg/PortableServer/ServantActivatorPOA.java:
23408 (incarnate, etherealize): Remove default implementation.
23409 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23410 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23411 (make_object): Moved method from ObjectReferenceFactoryOperations.
23412 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23413 Removed unspecified interface.
23414 * org/omg/DynamicAny/_DynAnyStub.java:
23415 (_DynAnyStub(Delegate)): Removed constructor.
23416 * org/omg/DynamicAny/_DynArrayStub.java,
23417 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23418 * org/omg/DynamicAny/_DynEnumStub.java,
23419 * org/omg/DynamicAny/_DynFixedStub.java,
23420 * org/omg/DynamicAny/_DynSequenceStub.java,
23421 * org/omg/DynamicAny/_DynStructStub.java,
23422 * org/omg/DynamicAny/_DynUnionStub.java,
23423 * org/omg/DynamicAny/_DynValueStub.java:
23424 Extend from ObjectImpl and not from _DynAnyStub.
23425 (type, next, destroy, copy, rewind, assign, component_count,
23426 current_component, equal, from_any, get_any, get_boolean, get_char,
23427 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23428 get_reference, get_short, get_string, get_typecode, get_ulong,
23429 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23430 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23431 insert_long, insert_longlong, insert_octet, insert_reference,
23432 insert_short, insert_string, insert_typecode, insert_ulong,
23433 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23434 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23435 * org/omg/CosNaming/_BindingIteratorStub.java:
23436 (_BindingIteratorStub(Delegate)): Made package private.
23437 * org/omg/CosNaming/_NamingContextExtStub.java:
23438 (_NamingContextExtStub(Delegate)): Made package private.
23439 * org/omg/CosNaming/_NamingContextStub.java:
23440 (_NamingContextStub(Delegate)): Made package private.
23441 (throw4, throw5): Likewise.
23442 * gnu/CORBA/NamingService/NameParser.java (resolve):
23443 Adapt to package private constructor. Use _set_delegate instead.
23444 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23445 * org/omg/CORBA/ORB.java:
23446 (create_recursive_sequence_tc): Made abstract.
23447 (get_default_context): Likewise.
23448 * gnu/CORBA/OrbRestricted.java:
23449 (create_recursive_sequence_tc): New moved method.
23450 (get_default_context): Likewise.
23451 * org/omg/CORBA/ParameterMode.java:
23452 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23454 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23456 * gnu/CORBA/GIOP/MessageHeader.java (write):
23457 More informative exception.
23458 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23459 * gnu/CORBA/SocketRepository.java (get_socket):
23460 Removed debugging code.
23462 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23464 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23465 one way message, but ignore if EOF was received.
23466 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23467 Minor.EOF if the end of file is received instead of the header.
23469 2006-04-09 Roman Kennke <kennke@aicas.com>
23471 * javax/swing/plaf/metal/MetalRootPaneUI.java
23472 (MetalTitlePane.IconifyAction): New inner class.
23473 (MetalTitlePane.MaximizeAction): New inner class.
23474 (MetalTitlePane.createActions): Create iconifyAction and
23476 (MetalRootLayout.titlePane): New field.
23477 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23479 (MetalRootLayout.preferredLayoutSize): Changed to not make
23480 assumptions about the actual component order.
23481 (MetalRootLayout.layoutContainer): Changed to not make
23482 assumptions about the actual component order.
23483 (installWindowDecorations): Pass the titlePane as parameter to
23484 the MetalRootLayout constructor.
23485 (uninstallWindowDecorations): Changed to not make
23486 assumptions about the actual component order.
23488 2006-04-08 Roman Kennke <kennke@aicas.com>
23490 * javax/swing/plaf/metal/MetalRootPaneUI.java
23491 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23493 (MetalTitlePane.installListeners): Don't register a focus listener
23494 on the window. This is a potential memory leak and must be
23495 implemented on a different way. Install mouse listener here.
23496 (installWindowDecorations): Fixed assertion condition. Always
23497 insert the window decoration at index#1 in the layered
23500 2006-04-08 Roman Kennke <kennke@aicas.com>
23502 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23503 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23504 Only resize window if actual width or height value changes.
23505 Avoids nasty flicker when only setLocation() is beeing called
23508 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23510 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23511 exception if the magic sequence does not match.
23513 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23515 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23516 response for the one way messages.
23518 2006-04-08 Roman Kennke <kennke@aicas.com>
23520 * javax/swing/MenuSelectionManager.java
23521 (processKeyEvent): Implemented stub method.
23522 * javax/swing/JMenu.java
23523 (processKeyEvent): Implemented stub method.
23524 * javax/swing/JMenu.java
23525 (processKeyEvent): Implemented stub method.
23526 (processMenuKeyEvent): Implemented stub method.
23528 2006-04-08 Roman Kennke <kennke@aicas.com>
23530 * javax/swing/AbstractAction.java
23531 (readObject): Removed unneeded method.
23532 (writeObject): Removed unneeded method.
23534 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23536 * javax/swing/plaf/synth/SynthPainter.java:
23537 (paintSplitPaneDividerBorder): Removed.
23539 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23541 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23542 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23543 No longer constants.
23544 (static_initializer): Added to initialize above fields.
23545 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23546 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23547 (static_initializer): Added to initialize above fields.
23549 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23551 * java/awt/Dialog.java: Improved documentation all over.
23552 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23553 (Dialog(Dialog)): Likewise.
23555 2006-04-08 Mark Wielaard <mark@klomp.org>
23557 * java/util/jar/JarFile.java (provider): New static field.
23558 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23561 2006-04-08 Mark Wielaard <mark@klomp.org>
23564 * java/lang/StackTraceElement.java (toString): Don't add space
23565 between type and source indicator.
23567 2006-04-07 Casey Marshall <csm@gnu.org>
23569 Fixes PR classpath/24464
23570 * java/util/jar/JarFile.java (verify, verifyHashes,
23571 EntryInputStream.<init>): pass the Gnu provider directly to
23574 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23577 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23578 (DIGEST0): Use version 3 test vector.
23580 (S_box): New field: Version 3 S-box values.
23581 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23582 (transform): Formating.
23583 (padBuffer): Likewise.
23584 (getResult): Likewise.
23585 (selfTest): Likewise.
23587 2006-04-07 Tom Tromey <tromey@redhat.com>
23589 * java/util/InvalidPropertiesFormatException.java
23590 (serialVersionUID): New field.
23591 (readObject, writeObject): New methods.
23592 * java/util/Arrays.java (toString): Javadoc fixes.
23593 * java/net/URLConnection.java: Cleaned up imports.
23594 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23595 * java/lang/reflect/MalformedParameterizedTypeException.java
23596 (serialVersionUID): New field.
23597 * java/lang/reflect/GenericSignatureFormatError.java
23598 (serialVersionUID): New field.
23599 * java/lang/Class.java (Class): Javado fixes.
23600 (getComponentType): Likewise.
23601 (getGenericInterfaces): Likewise.
23602 (getTypeParameters): Likewise.
23603 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23604 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23606 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23608 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23611 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23613 * java/awt/Dialog.java
23614 (AccessibleAWTDialog): Added api docs
23615 (AccessibleAWTDialog.getAccessibleStateSet):
23616 Renamed from getAccessibleState.
23617 * java/awt/Frame.java
23618 (AccessibleAWTFrame): Added api docs
23619 (AccessibleAWTFrame.getAccessibleStateSet):
23620 Renamed from getAccessibleState.
23622 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23624 * java/awt/Dialog.java: Reformatted.
23626 2006-04-07 Lillian Angel <langel@redhat.com>
23628 * java/awt/Component.java
23629 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23630 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23632 2006-04-07 Tom Tromey <tromey@redhat.com>
23634 * java/beans/beancontext/BeanContextMembershipEvent.java
23635 (serialVersionUID): New field.
23636 * java/beans/beancontext/BeanContextServicesSupport.java
23637 (addBeanContextServicesListener): Synchronize.
23638 (addService): Implemented.
23639 (createBCSChild): Implemented.
23640 (BCSSChild): Added arguments.
23641 (fireServiceAdded): Implemented.
23642 (fireServiceRevoked): Implemented.
23643 (getCurrentServiceSelectors): Implemented.
23644 (hasService): Implemented.
23645 (removeBeanContextServicesListener): Implemented.
23646 (serviceAvailable): Implemented.
23647 (serviceRevoked): Implemented.
23648 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23650 (createBCSChild): Implemented.
23651 (BeanContextSupport):
23652 (addBeanContextMembershipListener): Synchronize.
23653 (fireChildrenAdded): Implemented.
23654 (fireChildrenRemoved): Implemented.
23655 (BeanContextSupport): Use default locale.
23656 (isEmpty): Implemented.
23657 (isDesignTime): Implemented.
23658 (size): Implemented.
23659 (toArray): Synchronized.
23660 (toArray): Likewise.
23661 (iterator): Likewise.
23662 (BCSIterator): Implemented.
23663 (bcsChildren): Implemented.
23664 (validatePendingAdd): Implemented.
23665 (validatePendingRemove): Likewise.
23666 (childJustAddedHook): Implemented.
23667 (childJustRemovedHook): Likewise.
23668 (classEquals): Likewise.
23669 (toArray): Mark as stub.
23670 (setDesignTime): Implemented.
23671 (copyChildren): Implemented.
23672 (containsKey): Implemented.
23673 (contains): Likewise.
23674 (containsAll): Likewise.
23675 (getResource): Implemented.
23676 (getResourceAsStream): Likewise.
23677 (removeBeanContextMembershipListener): Likewise.
23678 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23679 (serialVersionUID): New field.
23680 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23681 (serialVersionUID): New field.
23682 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23685 2006-04-06 Roman Kennke <kennke@aicas.com>
23688 * javax/swing/MenuSelectionManager.java
23689 (setSelectedPath): Search one more item in the loop.
23691 2006-04-06 Tom Tromey <tromey@redhat.com>
23693 * java/awt/image/renderable/RenderableImageProducer.java
23694 (image, context, consumers): New fields.
23695 (RenderableImageProducer): Implemented.
23696 (setRenderContext): Likewise.
23697 (addConsumer): Likewise.
23698 (isConsumer): Likewise.
23699 (removeConsumer): Likewise.
23700 (startProduction): Likewise.
23702 2006-04-06 Roman Kennke <kennke@aicas.com>
23704 * java/awt/Component.java
23705 (AccessibleAWTComponent.getBounds): Return the component
23706 bounds regardless of its showing state.
23707 (AccessibleAWTComponent.getLocation): Return the component
23708 location regardless of its showing state.
23709 (AccessibleAWTComponent.getSize): Return the component
23710 size regardless of its showing state.
23712 2006-04-06 Roman Kennke <kennke@aicas.com>
23714 * javax/swing/JRootPane.java
23715 (getAccessibleContext): New method. Provides an accessibleContext
23718 2006-04-06 Roman Kennke <kennke@aicas.com>
23720 * java/awt/Toolkit.java
23721 (initAccessibility): Use the 'gnu.classpath.home.url' property
23722 to determine the system confiuration directory.
23723 * java/awt/Component.java
23724 (dispatchEvent): Trigger Toolkit dispatching here.
23725 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23726 so it can't be overridden by subclasses and is performed in
23729 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23731 * javax/naming/Binding.java: Added API docs.
23732 * javax/naming/NameClassPair.java: Added API docs.
23733 (fullName): New field.
23734 (setNameInNamespace): New 1.5 method.
23735 (getNameInNamespace): Likewise.
23737 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23739 * javax/naming/CompositeName.java:
23740 (readObject): New deserialization method.
23741 (writeObject): New serialization method.
23743 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23745 * javax/security/auth/x500/X500Principal.java
23746 (readAttributeValue) Check for separator after quoted value was
23747 failing in all cases.
23749 2006-04-06 Mark Wielaard <mark@klomp.org>
23751 * java/lang/Class.java (getClassLoader): Don't do security check
23752 when loader is null.
23754 2006-04-06 Roman Kennke <kennke@aicas.com>
23756 * java/awt/Toolkit.java
23757 (getDefaultToolkit): Initialize accessibility after setting
23759 (initAccessibility): New helper method to setup accessibility.
23761 2006-04-06 Roman Kennke <kennke@aicas.com>
23763 * javax/swing/AbstractButton.java
23764 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23765 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23767 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23768 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23769 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23770 (AccessibleAbstractButton.getCharCount): Implemented stub.
23771 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23772 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23773 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23774 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23775 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23776 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23779 2006-04-06 Roman Kennke <kennke@aicas.com>
23781 * java/awt/Component.java
23782 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23783 state here. This is only done in JComponent.
23784 * javax/swing/JComponent.java
23785 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23787 (getNextFocusableComponent): Implemented stub method.
23788 (grabFocus): Implemented stub method.
23789 (unregisterKeyboardAction): Implemented stub method.
23790 (setNextFocusableComponent): Implemented stub method.
23791 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23792 This is a helper class for providing compatibility with the older
23795 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23798 * javax/naming/directory/BasicAttribute.java,
23799 * javax/naming/directory/BasicAttributes.java:
23800 (readObject): New deserialization method.
23801 (writeObject): New serialization method.
23803 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23805 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23806 (getErrorHandler): Made method abstract.
23807 (setErrorHanlder): Likewise.
23808 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23809 (getErrorHandler): Implement abstract method from superclass.
23810 (setErrorHandler): Likewise.
23811 (errorHandler): New field.
23812 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23813 (getErrorHandler): Implement abstract method from superclass.
23814 (setErrorHandler): Likewise.
23815 (errorHandler): New field.
23816 * javax/xml/XMLConstants.java: Corrected since tag.
23817 (XMLConstants): Added private constructor.
23818 * javax/xml/datatype/Duration.java: Corrected since tag.
23819 (multiply): Made method abstract.
23820 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23821 (DatatypeConstants): Added private constructor.
23822 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23823 (XPathConstants): Added private constructor.
23825 2006-04-05 Tom Tromey <tromey@redhat.com>
23827 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23829 2006-04-05 Tom Tromey <tromey@redhat.com>
23832 * lib/Makefile.am (compile-classes): Touch the output file.
23834 2006-04-05 Roman Kennke <kennke@aicas.com>
23836 * javax/swing/AbstractButton.java
23837 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23838 of the focused state. This is already done in AccessibleAWTComponent.
23840 2006-04-05 Roman Kennke <kennke@aicas.com>
23842 * javax/swing/JComponent.java
23843 (accessibleContext): Fixed API doc for this field.
23844 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23845 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23846 Implemented and added API docs.
23847 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23848 Implemented and added API docs.
23849 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23850 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23851 Implemented and added API docs.
23852 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23853 Implemented and added API docs.
23854 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23855 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23856 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23857 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23858 (AccessibleJComponent.getAccessibleStateSet): Simply return
23859 super here. Added comment about this.
23861 2006-04-05 Roman Kennke <kennke@aicas.com>
23863 * javax/swing/JComponent.java
23864 (AccessibleJComponent.addPropertyChangeListener): Install
23865 ContainerHandler and FocusHandler here.
23866 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23867 ContainerHandler and FocusHandler here.
23868 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23869 by super.getAccessibleChildrenCount().
23870 (AccessibleJComponent.getAccessibleChild): Replaced
23871 by super.getAccessibleChild().
23872 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23873 adding OPAQUE to the supported states.
23874 (AccessibleJComponent.getAccessibleName): Added titled border
23875 and label fallbacks.
23876 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23877 and label fallbacks.
23878 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23879 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23880 explaining why return null seems correct here.
23881 * javax/swing/JLabel.java
23882 (LABEL_PROPERTY): New constant.
23883 (setLabelFor): Store label in labeled component's client properties
23884 for the AccessibleJComponent to read.
23886 2006-04-05 Tom Tromey <tromey@redhat.com>
23888 * java/util/zip/ZipFile.java (available): Defer to super if
23889 entry's size is unknown.
23891 2006-04-05 Tom Tromey <tromey@redhat.com>
23893 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23894 property with mime.types name.
23895 * gnu/classpath/SystemProperties.java: Set
23896 gnu.classpath.mime.types.file if not already set.
23897 * java/net/URLConnection.java (defaultFactory): New field.
23898 (guessContentTypeFromStream): Mark as unimplemented.
23899 (getContentHandler): Updated with libgcj's implementation.
23900 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23903 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23907 * java/util/AbstractList.java (hasNext): Don't throw
23908 ConcurrentModificationException. Update Javadoc.
23909 (hasPrevious): Likewise.
23910 (nextIndex): Likewise.
23911 (previousIndex): Likewise.
23912 * java/util/HashMap.java (hasNext): Likewise.
23913 * java/util/Hashtable.java (hasNext): Likewise.
23914 * java/util/IdentityHashMap.java (hasNext): Likewise.
23915 * java/util/LinkedHashMap.java (hasNext): Likewise.
23916 * java/util/LinkedList.java (nextIndex): Likewise.
23917 (previousIndex): Likewise.
23918 (hasNext): Likewise.
23919 (hasPrevious): Likewise.
23920 * java/util/TreeMap.java (hasNext): Likewise.
23921 * java/util/WeakHashMap.java (hasNext): Likewise.
23923 2006-04-05 Roman Kennke <kennke@aicas.com>
23925 * javax/swing/AbstractButton.java
23926 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23927 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23928 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23929 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23930 (AccessibleAbstractButton.getAccessibleActionDescription):
23932 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23933 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23934 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23935 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23936 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23937 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23939 2006-04-05 Roman Kennke <kennke@aicas.com>
23941 * javax/swing/JComboBox.java
23942 (selectWithKeyChar): Implemented stubbed method.
23944 2006-04-05 Roman Kennke <kennke@aicas.com>
23946 * javax/swing/LookAndFeel.java
23947 (installProperty): New method. Allows primitive typed properties
23948 to be handled like UIResources.
23949 * javax/swing/AbstractButton.java
23950 (clientBorderPaintedSet): New field.
23951 (clientRolloverEnabledSet): New field.
23952 (clientIconTextGapSet): New field.
23953 (clientContentAreaFilledSet): New field.
23954 (setRolloverEnabled): Set the client field to true.
23955 (setBorderPainted): Likewise.
23956 (setIconTextGap): Likewise.
23957 (setContentAreaFilled): Likewise.
23958 (setUIProperty): New helper method.
23959 * javax/swing/JComponent.java
23960 (clientOpaqueSet): New field.
23961 (clientAutoscrollsSet): New field.
23962 (setAutoscrolls): Set the client field to true.
23963 (setOpaque): Likewise.
23964 (setUIProperty): New helper method.
23965 * javax/swing/JDesktopPane.java
23966 (clientDragModeSet): New field.
23967 (setDragMode): Set the client field to true.
23968 (setUIProperty): New helper method.
23969 * javax/swing/JSplitPane.java
23970 (clientDividerSizeSet): New field.
23971 (clientOneTouchExpandableSet): New field.
23972 (setDividerSize): Set the client field to true.
23973 (setOneTouchExpandable): Likewise.
23974 (setUIProperty): New helper method.
23975 * javax/swing/JTable.java
23976 (clientRowHeightSet): New field.
23977 (setRowHeight): Set the client field to true.
23978 (setUIProperty): New helper method.
23979 * javax/swing/JTree.java
23980 (clientRowHeightSet): New field.
23981 (clientScrollsOnExpandSet): New field.
23982 (clientShowsRootHandlesSet): New field.
23983 (setRowHeight): Set the client field to true.
23984 (setShowsRootHandles): Likewise.
23985 (setScrollsOnExpand): Likewise.
23986 (setUIProperty): New helper method.
23988 2006-04-05 Roman Kennke <kennke@aicas.com>
23990 * java/awt/Component.java
23991 (getFont): Don't request the font from the peer's graphics. The
23992 graphics should instead get the font from the Component, which might
23994 (getFocusCycleAncestor): Don't special case Window.
23995 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23996 to here. Correctly determine the focus cycle root.
23997 (transferFocusBackward): Likewise.
23998 (transferFocusUpCycle): Likewise.
23999 * java/awt/Container.java
24000 (transferFocusDownCycle): Moved implementation from
24001 DefaultKeyboardFocusManager to here.
24002 * java/awt/DefaultKeyboardFocusManager.java
24003 (focusPreviousComponent): Moved implementation to
24004 Component.transferFocusBackward().
24005 (focusNextComponent): Moved implementation to
24006 Component.nextFocus().
24007 (upFocusCycle): Moved implementation to
24008 Component.transferFocusUpCycle().
24009 (downFocusCycle): Moved implementation to
24010 Container.transferFocusDownCycle().
24012 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24014 * java/awt/image/ComponentSampleModel.java
24015 (equals): Implemented,
24016 (hashCode): Likewise.
24018 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
24020 * java/lang/Class.java
24021 (cast): New method.
24023 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24025 * java/awt/image/ComponentSampleModel.java
24026 (getBankIndices): Return a copy of the array, not a reference to the
24028 (getBandOffsets): Likewise.
24030 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24032 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24034 2006-04-04 Tom Tromey <tromey@redhat.com>
24036 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24038 2006-04-04 Tom Tromey <tromey@redhat.com>
24040 * java/net/MimeTypeMapper.java (mime_types): No longer static.
24041 (MimeTypeMapper): Initialize.
24042 (fillFromFile): New method.
24043 (main): New method.
24044 (mime_strings): Updated.
24046 2006-04-04 Tom Tromey <tromey@redhat.com>
24048 * lib/gen-classlist.sh.in: Correct handle generated files.
24050 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
24052 * gnu/regexp/CharIndexed.java(setAnchor): New method.
24053 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24054 * gnu/regexp/CharIndexedCharSequence.java: New file.
24055 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24056 gnu.regexp.CharIndexedCharSequence.
24057 * gnu/regexp/CharIndexedString.java: Likewise.
24058 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24059 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24060 using CharIndexedCharSequence. Use setAnchor when the input
24061 object is already a CharIndexed.
24062 * java/util/regex/Matcher.java(inputCharIndexed): New field
24063 to be used as a parameter of the RE#getMatch.
24065 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24067 * java/awt/image/SampleModel.java: Reformatted.
24069 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24071 * java/awt/image/ComponentSampleModel.java
24072 (ComponentSampleModel(int, int, int, int, int[])): Added API
24074 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
24075 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24076 of the bandOffsets and bankIndices arguments, added API documentation,
24077 * java/awt/image/SampleModel.java
24078 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24079 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24080 less than or equal to zero, added API documentation.
24082 2006-04-04 Lillian Angel <langel@redhat.com>
24084 * java/util/zip/ZipFile.java
24085 (getInputStream): Fixed to return size of ZipEntry
24086 minus the total bytes read. This guarantees that the
24087 right value is returned even if some bytes have already
24090 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
24092 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24093 Remove static modifier.
24095 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24097 * java/awt/image/ComponentSampleModel.java: Reformatted.
24099 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24101 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24102 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24103 retrieval instructions to javadoc header.
24104 * javax/imageio/ImageWriteParam.java: Fix javadoc for
24105 compressionType field.
24106 * lib/Makefile.am (propertydirs): Add javax directory.
24107 (propertyfiles): Likewise.
24108 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24111 2006-04-03 Tom Tromey <tromey@redhat.com>
24113 PR classpath/26971:
24114 * javax/naming/directory/BasicAttribute.java: Added missing @since.
24115 (BasicAttributeEnumeration.where): Initialize to 0.
24116 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24118 2006-04-03 Lillian Angel <langel@redhat.com>
24120 PR classpath/24596 and PR classpath/26930
24121 * java/util/zip/ZipFile.java
24122 (getInputStream): Override available function for
24123 InflaterInputStream instance.
24125 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24127 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24129 2006-04-03 Tom Tromey <tromey@redhat.com>
24131 * javax/security/auth/kerberos/ServicePermission.java: New file.
24132 * javax/security/auth/kerberos/DelegationPermission.java: New file.
24133 * javax/security/auth/kerberos/KerberosKey.java: New file.
24134 * javax/security/auth/kerberos/KeyImpl.java: New file.
24135 * javax/security/auth/kerberos/KerberosTicket.java: New file.
24136 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24138 2006-04-03 Sven de Marothy <sven@physto.se>
24140 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24141 non-GtkImage images.
24143 2006-04-03 Mark Wielaard <mark@klomp.org>
24145 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24146 as temporary file name.
24148 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24150 * INSTALL: Documented --with-glibj-zip option.
24152 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24154 Fixed all pscan warnings.
24156 * native/jni/classpath/jcl.c (JCL_ThrowException),
24157 native/jni/classpath/jcl.h (DBG),
24158 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24159 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24160 Use "%s" format in fprintf and snprintf explicitely when printing a single
24161 string to prevent format string exploits.
24163 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24164 definition. Included jcl.h instead.
24166 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24168 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24169 (provider): Made it protected.
24170 (providerInstalled): New field.
24171 (Main): Made it a 0-arguments constructor.
24172 Removed throws clasue.
24173 (main): Removed throws clause.
24174 Call processArgs(args) after constructing instance.
24175 Call teardown() before existing.
24176 (processArgs): Added javadoc.
24177 Reduced to throws Exception.
24179 (teardown): New method.
24180 (setupCommonParams): Added javadoc.
24181 Install designated provider if not already installed.
24182 (installNewProvider): New method.
24183 (setupSigningParams): Added javadoc.
24184 Instantiate the KeyStore using type only.
24185 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24186 Removed unused imports.
24187 (start): Reduced to throws Exception.
24188 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24189 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24190 Re-organized imports.
24191 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24192 Test ignoring case.
24193 (getNames): Add "dsa" as an algorithm provided by this Factory.
24194 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24196 2006-04-03 Roman Kennke <kennke@aicas.com>
24198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24199 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24200 Replaced g_free() with pango_item_free() to avoid problems
24201 with the allocator.
24203 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24206 * java/util/logging/Level.java (parse): Document.
24207 * java/util/logging/LogManager.java (rootLogger): Removed.
24208 (LogManager): Just set loggers to new HashMap.
24209 (getLogManager): Make synchronized. Create and init LogManager if it
24211 (static): Removed block.
24212 (MANAGER_PROPERTY): New private final string.
24213 (makeLogManager): Use new property string, move warning to
24214 createInstance() method.
24215 (CONFIG_PROPERTY): New private final string.
24216 (initLogManager): New method.
24217 (addLogger): Use Logger.root, not rootLogger.
24218 (findAncestor): Likewise.
24219 (readConfiguration): Move warning to createInstance() method.
24220 Add handlers directly to Logger.root. Warn about bad level values.
24221 (getClassProperty): Use new locateClass() method.
24222 (getInstanceProperty): Only catch specific newInstance Errors.
24223 (createInstance): Make private and takes a string to use in warning
24224 messages. Use new locateClass() method and generate appropriate
24226 (warn): New methods.
24227 (locateClass): Locates a class through the context class loader and
24228 system class loader as backup.
24229 * java/util/logging/Logger.java (root): New static final field.
24230 (Logger): Set parent to root.
24231 (setParent): Directly check root field.
24233 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24235 * java/util/Collections.java:
24236 (binarySearch(List, T)): Fixed signature.
24237 (unmodifiableList(List)): Likewise.
24238 (UnmodifiableList(List)): Fixed constructor.
24239 (UnmodifiableRandomAccessList(List)): Likewise.
24240 (unmodifiableMap(Map)): Fixed signature.
24241 (UnmodifiableMap(Map)): Fixed constructor.
24242 (unmodifiableSortedMap(Map)): Fixed signature.
24243 (UnmodifiableSortedMap(Map)): Fixed constructor.
24245 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24247 * java/io/ObjectOutputStream.java:
24248 (writeObject(Object)): Added enum support.
24249 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24250 * java/io/ObjectStreamClass.java:
24251 (isEnum()): New package-private method.
24252 (setFlags(Class)): Added enum support.
24253 * java/io/ObjectStreamConstants.java:
24256 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24258 * javax/swing/text/Segment.java:
24259 (setPosition): Make exception message more verbose.
24260 * javax/swing/text/WrappedPlainView.java:
24261 (insertUpdate): Removed unneeded repaint call.
24262 (changeUpdate): Dito.
24263 (removeUpdate): Dito.
24264 (WrappedLine.determineNumLines): Do not return numLines, break
24265 from loop if no new break point has been calculated.
24266 (WrappedLine.updateDamage): Rewritten.
24267 (WrappedLine.insertUpdate): Removed unneeded update code.
24268 (WrappedLine.removeUpdate): Removed unneeded update code, added
24271 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24273 * configure.ac (with-glibj-zip): Added new option.
24275 * examples/Makefile.am,
24277 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24278 in addition to classes in lib directory.
24280 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24282 * tools/gnu/classpath/tools/giop/GRMIC.java,
24283 tools/gnu/classpath/tools/giop/IorParser.java,
24284 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24285 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24286 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24287 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24288 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24289 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24290 tools/gnu/classpath/tools/rmi/RMIC.java,
24291 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24292 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24293 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24294 linking exception from the licensing header.
24295 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24296 Added licensing header.
24298 2006-04-02 Mark Wielaard <mark@klomp.org>
24300 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24301 (jarsigner): Removed.
24303 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24305 * configure.ac: don't check for isnan function.
24306 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24308 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24310 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24311 * tools/Makefile.am: Generate jarsigner shell script.
24312 * tools/jarsigner.sh.in: New template.
24313 * tools/.cvsignore: Added jarsigner.sh.
24315 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24317 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24318 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24319 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24320 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24321 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24322 Re-organised imports.
24324 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24326 PR classpath/25924:
24327 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24328 Handle case where alpha==0.
24330 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24333 * javax/swing/text/Utilities.java:
24334 (getTabbedTextOffset): Added check to decrement pos not below zero,
24335 changed '>' comparison to '>='.
24336 * javax/swing/text/WrappedPlainView.java:
24337 (lineHeight): New field.
24338 (calculateBreakPosition): Throw InternalError in catch block, removed
24339 unneeded brackets, use specific version of
24340 Utilities.getTabbedTextOffset.
24341 (paint): Set various properties neccessary for drawing.
24342 (WrappedLine.paint): Removed code to set field of outer class.
24343 (WrappedLine.modelToView): Removed unneeded expression from
24345 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24346 -1 from return statement, copy only a subset into the Segment, removed
24347 special handling of mark value - just return it, simplified
24348 incrementation of currLineStart.
24349 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24350 change to parent view.
24351 (WrappedLine.removeUpdate): Dito.
24353 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24355 * javax/swing/text/Segment.java:
24356 (toString): Return empty string when array is null.
24358 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24360 * javax/swing/plaf/basic/BasicTextUI.java:
24361 (damageRange): Use SwingUtilities.computeUnion to avoid
24362 unneccessary Rectangle instantiation.
24364 2006-04-01 Tom Tromey <tromey@redhat.com>
24366 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24368 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24370 * javax/swing/text/CompositeView.java: Fixed copyright header.
24371 * javax/swing/text/BoxView.java: Fixed copyright header.
24372 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24373 * javax/swing/text/Utilities.java: Fixed copyright header.
24375 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24377 * javax/swing/text/CompositeView.java:
24378 (modelToView): Throw BadLocationException when no child
24379 view can be found, restructed to throw exception as early
24381 (viewToModel): Use mutable allocation as argument for viewToModel
24382 call on child view.
24383 * javax/swing/text/BoxView.java:
24384 (getViewAtPoint): Call setBounds() r before method returns with
24385 suitable child view.
24386 * javax/swing/text/Utilities.java:
24387 (getPositionBelow): Added try-catch-block around modelToView call,
24388 added method return when BadLocationException was thrown.
24389 * javax/swing/text/WrappedPlainView.java:
24390 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24391 added note about meaning of rect.x and rect.width, removed unneeded
24392 checks, added code to not return the last possible document offset.
24394 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24396 * javax/swing/text/WrappedPlainView.java:
24397 (WrappedLine.viewToModel): Change < to <= in if-statement,
24398 removed addition of currLineStart to return value.
24399 * javax/swing/text/BoxView.java:
24400 (getViewAtPoint): Use copy instead of r for method call
24401 which modifies the second argument.
24403 2006-04-01 Mark Wielaard <mark@klomp.org>
24406 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24408 2006-03-31 Tom Tromey <tromey@redhat.com>
24410 * lib/split-for-gcj.sh: Updated for multi-field format.
24411 * lib/Makefile.am (CLEANFILES): Added classes.2.
24412 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24413 classes.2 using multiple fields.
24415 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24417 * javax/swing/JTable.java (columnSelectionChanged):
24418 Removed print statement.
24419 * javax/swing/DefaultListSelectionModel.java
24420 (addSelectionInterval, removeSelectionInterval):
24421 Fire the difference between selection. (setLeadSelectionIndex):
24422 Fire the difference and mark current and previous lead
24423 selection indexes for repaint.
24425 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24427 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24428 unnecessary copying.
24429 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24431 2006-03-31 Lillian Angel <langel@redhat.com>
24433 * java/awt/Component.java
24434 (translateEvent): oldKey should be the value of the
24437 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24439 * javax/swing/JTable.java (columnSelectionChanged):
24440 Treat second repaint parameter as width.
24442 2006-03-31 Lillian Angel <langel@redhat.com>
24445 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24446 (realize): New native function.
24447 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24448 Added new function declaration.
24449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24450 (realize): New function.
24452 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24454 * javax/swing/text/GapContent.java:
24455 (replace): Move all Position instances from gap's end to
24456 it's start before increasing the gap start.
24457 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24458 (propertyChanged): Update the view only instead of
24459 indicating a document change.
24461 2006-03-31 Roman Kennke <kennke@aicas.com>
24463 * javax/swing/JTextField.java
24464 (fireActionPerformed): Put the textfields text in the action
24465 instead of the action name.
24467 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24469 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24470 Check for null jar-file argument.
24471 (setupSigningParams): Check for null alias argument.
24473 2006-03-31 Roman Kennke <kennke@aicas.com>
24475 * javax/swing/JComponent.java
24476 (paintChildren): Split up in two cases, depending on the
24477 optimizedDrawingEnabled flag.
24478 (paintChildrenWithOverlap): New method. Paints children when
24479 not optimizedDrawingEnabled. This implements better painting
24480 algorithm for overlapping components, so that the painted
24481 regions are minimized.
24482 (paintChildrenOptimized): New method. Paints children when
24483 when optimizedDrawingEnabled. This implements a painting
24484 algorithm that is optimized for the case when all children
24485 are guaranteed to be tiled.
24487 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24489 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24490 Attributes.putValue(String,String).
24491 (finishSigning): Likewise.
24492 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24493 (SIGNATURE_VERSION): Likewise.
24494 (readSFManifest): Use local string constant.
24495 (readMainSection): Likewise.
24496 (readVersionInfo): Likewise.
24497 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24498 Redefined using JarUtils constant.
24499 (SIGNATURE_VERSION): Likewise.
24500 (putValue(Name,String)): Made it private.
24502 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24504 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24505 New method. (clearSelection): Rewritten. (setSelectionInterval):
24506 Fire the difference between current and new selection.
24507 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24508 Only repaint the region, where selection has been changed.
24509 * javax/swing/plaf/basic/BasicTableUI.java
24510 (TableAction.actionPerformed): Do not change the column selection
24511 when only row selection change is wanted (and in reverse) and
24512 do not call the repaint() here.
24514 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24517 * javax/swing/DefaultComboBoxModel.java
24518 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24520 (addElement): Call list.addElement() rather than list.add(), and only
24521 update selected item if it is currently null,
24522 (removeElementAt): Update selected item, then remove the element.
24524 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24527 * java/awt/geom/Point2D.java
24528 (distanceSq(double, double)): Fixed order of arguments,
24529 (distanceSq(Point2D)): Likewise,
24530 (distance(double, double)): Likewise,
24531 (distance(Point2D)): Likewise.
24533 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24535 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24536 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24537 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24538 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24539 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24541 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24543 * javax.swing.JTable (constructor): Initialize column
24544 model column margin and table row margin before setting the
24545 table column model. (initialiseLocalVars): Do not call
24546 setIntercellSpacing.
24548 2006-03-30 Chris Burdess <dog@gnu.org>
24550 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24552 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24554 2006-03-30 Mark Wielaard <mark@klomp.org>
24557 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24558 adjust bounds. On resize invalidate and validate container.
24559 Always pass on ComponentEvents to Container super class.
24560 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24561 menuBar and pass to GtkWindowPeer super class.
24562 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24563 bounds and pass to GtkWindowPeer super class.
24564 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24565 New fields for local bounds.
24566 (getX, getY): New methods.
24567 (getWidth): Don't call into awtComponent.
24568 (getHeight): Likewise.
24569 (create): Cache local bounds.
24570 (setLocation): Documented, made protected and just call
24572 (setLocationUnlocked): Removed unused method.
24573 (setBoundsUnlocked): Likewise.
24574 (setBounds): Check whether bounds actually changed and cache local
24576 (setSize): Documented and made protected.
24577 (setResizable): Documented and cache local bounds.
24578 (postConfigureEvent): Update local bounds. Don't call awtComponent
24579 directly but post ComponentEvents.
24580 (show): Cache local bounds.
24581 (getBounds): Override to return cached bounds.
24583 2006-03-30 Lillian Angel <langel@redhat.com>
24585 * gnu/java/awt/peer/gtk/GdkGraphics.java
24586 (drawImage): Added check to prevent NPE.
24587 (drawImage): Likewise.
24588 (drawImage): Likewise.
24589 * java/awt/Choice.java
24590 (dispatchEventImpl): New function. selectedIndex was
24591 not being updated properly otherwise.
24593 2006-03-30 Roman Kennke <kennke@aicas.com>
24595 * javax/swing/JTabbedPane.java
24596 (removeTabAt): Removed debug code.
24598 2006-03-30 Roman Kennke <kennke@aicas.com>
24601 * javax/swing/plaf/basic/BasicTextUI.java
24602 (installKeyboardActions): Simply call getKeymap() and install this.
24603 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24605 2006-03-30 Roman Kennke <kennke@aicas.com>
24607 * javax/swing/JTabbedPane.java
24608 (removeTabAt): Adjust selection correctly when removing a tab
24609 before the selected tab. Also remove the component from the
24610 container, not only the tab object. Repaint and revalidate the
24611 component after the removal.
24612 (removeAll): Set selection to -1 before removing the tabs.
24614 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24616 * java/io/ObjectInputStream.java:
24617 (parseContent(byte)): Added enum support.
24618 * java/io/ObjectStreamConstants.java:
24620 (TC_MAX): Changed to new maximum, TC_ENUM.
24622 2006-03-29 Lillian Angel <langel@redhat.com>
24624 Partial fix for bug #26929
24625 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24626 (updateComponent): Removed. We want to clear the panel
24628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24629 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24630 Should set the background to the saved background color.
24632 2006-03-29 Mark Wielaard <mark@klomp.org>
24634 Partial fix for bug #26848 (pack).
24635 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24636 Always show instances of Window.
24638 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24640 * javax/swing/JSlider.java
24641 (setPaintLabels): Only create standard labels if labelTable is null,
24642 * javax/swing/plaf/basic/BasicSliderUI.java
24643 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24644 "paintTicks" property change,
24645 (calculateThumbSize): Updated API docs,
24646 (calculateContentRect): Likewise,
24647 (calculateTrackBuffer): Take into account the lowest and highest
24648 labels when calculating buffer space,
24649 (calculateTrackRect): Include labels, if visible, in the calculation of
24650 the trackRect position,
24651 (calculateTickRect): Height is zero if ticks are not painted,
24652 (calculateLabelRect): Use max dimensions of actual labels,
24653 (getWidthOfHighValueLabel): Use preferred size,
24654 (getWidthOfLowValueLabel): Likewise,
24655 (getHeightOfHighValueLabel): Likewise,
24656 (getHeightOfLowValueLabel): Likewise,
24657 (drawInverted): Just return slider setting,
24658 (getHighestValueLabel): Updated API docs,
24659 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24660 to xPositionForValue() and yPositionForValue(),
24661 (paintHorizontalLabel): Removed full qualification of class name,
24662 (paintVerticalLabel): Likewise,
24663 (xPositionForValue): Reimplemented,
24664 (yPositionForValue): Reimplemented,
24665 * javax/swing/plaf/metal/MetalSliderUI.java
24666 (paintTrack): Made track one pixel longer.
24668 2006-03-29 Tom Tromey <tromey@redhat.com>
24671 * tools/Makefile.am (JCOMPILER): Added encoding options.
24672 * examples/Makefile.am (JCOMPILER): Added encoding options.
24674 2006-03-29 Gary Benson <gbenson@redhat.com>
24676 Partial fix for PR classpath/24895
24677 * java/io/FilePermission.java (implies): Canonicalize paths.
24679 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24682 * javax/swing/text/GapContent.java:
24683 (replace): Added call to resetMarksAtZero.
24685 2006-03-29 Roman Kennke <kennke@aicas.com>
24688 * javax/swing/plaf/basic/BasicMenuItemUI.java
24689 (cachedRect): New field.
24690 (BasicMenuItemUI): Initialize cachedRect field.
24691 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24692 to determine layout. Store maximum accelerator and text width
24693 in client properties of parent to allow correct alignment
24694 of accelerators among menu items of one menu.
24695 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24696 method. Align accelerators according to the values calculated
24697 in getPreferredMenuItemSize.
24698 (getAcceleratorString) New helper method.
24699 (layoutMenuItem): New helper method.
24701 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24703 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24704 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24705 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24707 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24708 readExternal, writeExternal): New methods.
24709 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24710 two stages, invokeCommon(Remote, ...) and
24711 invokeCommen(UnicastConnection, ...).
24712 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24713 also the ActivatableRef. toString(): Documented.
24714 * gnu/java/rmi/server/ActivatableRef.java,
24715 tools/gnu/classpath/tools/rmi/Persistent.java,
24716 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24717 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24718 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24719 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24720 tools/gnu/classpath/tools/rmi/RMID.java,
24721 tools/gnu/classpath/tools/rmi/RMID.txt,
24722 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24723 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24724 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24725 tools/gnu/classpath/tools/rmi/registry/package.html,
24726 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24727 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24729 * tools/README: Documented.
24730 * NEWS: Added entry about the activation.
24732 2006-03-29 Roman Kennke <kennke@aicas.com>
24735 * javax/swing/plaf/basic/BasicMenuItemUI.java
24736 (viewRect): New field.
24737 (textRect): New field.
24738 (accelRect): New field.
24739 (iconRect): New field.
24740 (arrowIconRect): New field.
24741 (checkIconRect): New field.
24742 (BasicMenuItemUI): Initialize new fields.
24743 (paintMenuItem): Rewritten to correctly layout and paint
24744 the menu item in a more straightforward way. Use cached rectangle
24745 objects for layout.
24746 (paintAccelerator): Pulled inside the paintMenuItem method.
24748 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24750 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24751 Do not use initCause with UnexpectedException.
24752 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24755 2006-03-29 Mark Wielaard <mark@klomp.org>
24757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24758 (setCursorID): Removed unused static variable.
24760 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24762 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24764 2006-03-29 Mark Wielaard <mark@klomp.org>
24767 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24768 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24770 2006-03-28 Roman Kennke <kennke@aicas.com>
24772 * javax/swing/UIManager.java
24773 (installLookAndFeel): Implemented.
24774 (setInstalledLookAndFeels): Implemented.
24776 2006-03-28 Roman Kennke <kennke@aicas.com>
24778 * javax/swing/plaf/metal/MetalButtonUI.java
24779 (update): Paint gradient only when the background color
24780 is not a UIResource and if the button is neither armed nor
24781 pressed and if the button is contentAreaFilled.
24783 2006-03-28 Roman Kennke <kennke@aicas.com>
24785 * javax/swing/JLayeredPane.java
24786 (addImpl): Repaint added component.
24788 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24790 * java/util/regex/Matcher.java: Reverted.
24792 2006-03-28 Roman Kennke <kennke@aicas.com>
24794 * javax/swing/text/AsyncBoxView.java
24795 (setEstimatedMajorSpan): Made method protected.
24796 (getEstimatedMajorSpan): Made method protected.
24797 * javax/swing/text/BoxView.java
24798 (flipEastAndWestAtEnds): Fixed typo.
24799 * javax/swing/text/InternationalFormatter.java
24800 (getActions): Made method protected.
24801 * javax/swing/text/Position.java
24802 (Bias): Made class final.
24803 * javax/swing/text/html/HTML.java
24804 (MEDIA): Made field package private. Not specified.
24805 (NOBR): Made field package private. Not specified.
24806 * javax/swing/text/html/NullView.java
24807 Made class package private.
24808 * javax/swing/text/html/parser/Entity.java
24809 Made class non-serializable as specified.
24811 2006-03-28 Roman Kennke <kennke@aicas.com>
24813 * javax/swing/plaf/metal/MetalButtonUI.java
24814 (update): Don't paint gradient if the background color is
24815 no UIResource. Removed double getModel() call. Don't check for
24818 2006-03-28 Roman Kennke <kennke@aicas.com>
24820 * javax/swing/plaf/basic/BasicMenuItemUI.java
24821 (paint): Call paintMenuItem with the selectionBackground as
24823 (paintBackground): Fixed the condition and color for the background
24826 2006-03-28 Roman Kennke <kennke@aicas.com>
24828 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24829 (tabsOpaque): New field.
24830 (paintLeftTabBorder): Paint some parts only when the tabs are
24831 opaque. Determine the tab background using the paintLeftTabBorder()
24833 (paintRightTabBorder): Likewise.
24834 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24836 2006-03-27 Tom Tromey <tromey@redhat.com>
24838 PR classpath/25189:
24839 * java/lang/Enum.java (valueOf): Ensure that the named field
24840 is an enum constant.
24841 (compareTo): Check class of enum.
24843 2006-03-27 Tom Tromey <tromey@redhat.com>
24845 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24847 2006-03-27 Tom Tromey <tromey@redhat.com>
24849 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24851 (getModifiersInternal): Renamed from getModifiers.
24852 (getModifiers): New method.
24853 (isBridge): Likewise.
24854 (isSynthetic): Likewise.
24855 (isVarArgs): Likewise.
24856 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24858 (getModifiersInternal): Renamed from getModifiers.
24859 (getModifiers): New method.
24860 (isSynthetic): Likewise.
24861 (isEnumConstant): Likewise.
24862 * vm/reference/java/lang/reflect/Constructor.java
24863 (getModifiersInternal): Renamed from getModifiers.
24864 (getModifiers): New method
24865 (CONSTRUCTOR_MODIFIERS): New constant.
24866 (isSynthetic): New method.
24867 (isVarArgs): Likewise.
24868 * java/lang/reflect/Member.java (isSynthetic): New method.
24870 2006-03-28 Tom Tromey <tromey@redhat.com>
24872 * java/net/Proxy.java (TYPE): Added missing ";".
24874 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24876 * java/math/RoundingMode.java:
24877 Fixed serialization UID.
24878 * java/net/Proxy.java:
24881 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24883 * java/io/CharArrayWriter.java:
24884 (append(char)): Documented.
24885 (append(CharSequence)): Likewise.
24886 (append(CharSequence,int,int)): Likewise.
24888 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24890 * vm/reference/java/lang/reflect/Constructor.java
24891 (getTypeParameters): Check return value of getSignature for null.
24892 * vm/reference/java/lang/reflect/Method.java
24893 (getTypeParameters): Check return value of getSignature for null.
24895 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24897 * java/rmi/activation/ActivationGroup_Stub.java:
24900 2006-03-27 Tom Tromey <tromey@redhat.com>
24902 * java/io/CharArrayWriter.java (append): New overloads.
24904 2006-03-27 Lillian Angel <langel@redhat.com>
24906 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24907 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24908 Added check for colormap. Prevents assertion error.
24909 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24911 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24913 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24915 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24917 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24920 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24922 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24923 AC_MSG_ERROR instead of echoing the error message
24924 that no compiler has been found manually.
24926 2006-03-27 Roman Kennke <kennke@aicas.com>
24928 * javax/swing/RepaintManager.java
24929 (commitBuffer): Use simple drawImage() method instead of the
24932 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24934 * javax/swing/text/PlainView.java:
24935 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24936 for painting the selected line.
24938 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24940 * javax/swing/plaf/basic/BasicSliderUI.java
24941 (getThumbSize): Removed TODO and updated API docs.
24943 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24945 * javax/swing/text/DefaultCaret.java:
24946 (mouseClicked): Word selection rewritten.
24947 (paint): Draw line inside the bounding rectangle.
24948 (damage): Retrieve caret height from line height.
24950 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24952 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24954 Check for -help option.
24955 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24957 2006-03-27 Roman Kennke <kennke@aicas.com>
24959 * javax/swing/text/FieldView.java
24960 (getPreferredSpan): Don't include trailing newline in
24962 * javax/swing/text/PlainView.java
24963 (drawLine): Don't include trailing newline.
24964 (determineMaxLineLength): Don't include trailing newline.
24965 (getLineBuffer): Made method final.
24967 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24969 * javax/swing/JSlider.java
24970 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24971 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24972 NotImplementedException,
24973 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24975 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24977 * java/lang/ProcessBuilder.java:
24980 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24982 * gnu/java/net/protocol/http/Headers.java:
24983 Match layout of file on HEAD.
24984 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24986 * java/awt/datatransfer/DataFlavor.java
24989 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24991 * gnu/java/security/jce/hash/HavalSpi.java,
24992 * gnu/java/security/jce/hash/MD2Spi.java,
24993 * gnu/java/security/jce/hash/MD4Spi.java,
24994 * gnu/java/security/jce/hash/MD5Spi.java,
24995 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24996 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24997 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24998 * gnu/java/security/jce/hash/Sha160Spi.java,
24999 * gnu/java/security/jce/hash/Sha256Spi.java,
25000 * gnu/java/security/jce/hash/Sha384Spi.java,
25001 * gnu/java/security/jce/hash/Sha512Spi.java,
25002 * gnu/java/security/jce/hash/TigerSpi.java,
25003 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25004 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25005 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25006 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25007 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25008 * gnu/java/security/jce/sig/SignatureAdapter.java,
25009 * gnu/java/security/key/IKeyPairCodec.java,
25010 * gnu/java/security/key/IKeyPairGenerator.java,
25011 * gnu/java/security/key/KeyPairGeneratorFactory.java,
25012 * gnu/java/security/key/dss/DSSKey.java,
25013 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25014 * gnu/java/security/key/dss/DSSPrivateKey.java,
25015 * gnu/java/security/key/dss/DSSPublicKey.java,
25016 * gnu/java/security/key/dss/FIPS186.java,
25017 * gnu/java/security/key/rsa/GnuRSAKey.java,
25018 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25019 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25020 * gnu/java/security/sig/ISignature.java,
25021 * gnu/java/security/sig/ISignatureCodec.java,
25022 * gnu/java/security/sig/dss/DSSSignature.java,
25023 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25024 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25025 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25026 * gnu/java/security/util/Util.java:
25027 Remove CVS revision tags.
25029 2006-03-26 Tom Tromey <tromey@redhat.com>
25031 * java/io/InputStream.java (InputStream): Implements Closeable.
25033 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
25035 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25037 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25038 getAnchor): New methods.
25039 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25040 getAnchor): New methods.
25041 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25042 getAnchor): New methods.
25043 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25044 getAnchor): New methods.
25045 * gnu/regexp/REMatch.java(start1): New field.
25046 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25047 (match): set the starting position to start1[] instead of start[],
25048 (getMatchImpl): Set the found REMatch to the input,
25049 (makeCharIndexed): Made public.
25050 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25051 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25052 set the value of start[] copying from start1[].
25053 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25055 * java/util/regex/Matcher.java(inputCharIndexed): New field
25056 to be used as a parameter of the RE#getMatch.
25058 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25060 * gnu/java/rmi/activation/DefaultActivationGroup.java:
25061 Documented the default jre spawning strategy (none).
25062 * java/rmi/activation/ActivationGroup.java (currentGroupId,
25063 getSystem): Obtain the acticivation system from the
25064 DefaultActivationSystem.
25066 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25068 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25069 Ask user for keystore password if one was not provided.
25071 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25073 * tools/README: Added Security tools section.
25074 Documented the jarsigner tool.
25076 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
25078 * javax/swing/JScrollBar.java
25079 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25080 (AccessibleJScrollBar.getAccessibleRole): Likewise,
25081 (AccessibleJScrollBar.getAccessibleValue): Likewise,
25082 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25083 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25084 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25085 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25086 (getAccessibleContext): Updated API docs.
25088 2006-03-25 Tom Tromey <tromey@redhat.com>
25090 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25091 change or if generator script changes.
25093 2006-03-25 Tom Tromey <tromey@redhat.com>
25095 * javax/naming/ldap/StartTlsRequest.java: New file.
25096 * javax/naming/ldap/StartTlsResponse.java: New file.
25098 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
25100 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25101 to validate all components of a resource path.
25102 (FileURLLoader.walkPathComponents): Helper which ensures that we are
25103 allowed to walk through every component of a resource path.
25105 2006-03-25 Michael Koch <konqueror@gmx.de>
25107 * NEWS: Added item for CLDR 1.3 update.
25109 2006-03-25 Michael Koch <konqueror@gmx.de>
25111 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25112 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25113 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25114 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25115 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25116 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25119 2006-03-25 Michael Koch <konqueror@gmx.de>
25121 * resource/gnu/java/locale/LocaleInformation_az.properties,
25122 resource/gnu/java/locale/LocaleInformation_bs.properties,
25123 resource/gnu/java/locale/LocaleInformation_byn.properties,
25124 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25125 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25126 resource/gnu/java/locale/LocaleInformation_gez.properties,
25127 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25128 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25129 resource/gnu/java/locale/LocaleInformation_haw.properties,
25130 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25131 resource/gnu/java/locale/LocaleInformation_kok.properties,
25132 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25133 resource/gnu/java/locale/LocaleInformation_sid.properties,
25134 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25135 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25136 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25137 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25138 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25139 resource/gnu/java/locale/LocaleInformation_syr.properties,
25140 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25141 resource/gnu/java/locale/LocaleInformation_tig.properties,
25142 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25143 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25144 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25145 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25146 resource/gnu/java/locale/LocaleInformation_wal.properties,
25147 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25150 2006-03-25 Michael Koch <konqueror@gmx.de>
25152 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25153 resource/gnu/java/locale/LocaleInformation_kn.properties,
25154 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25155 resource/gnu/java/locale/LocaleInformation_ko.properties,
25156 resource/gnu/java/locale/LocaleInformation_sl.properties,
25157 resource/gnu/java/locale/LocaleInformation_so.properties,
25158 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25159 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25160 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25161 resource/gnu/java/locale/LocaleInformation_sr.properties:
25162 Random fixes I forgot to commit before.
25164 2006-03-25 Michael Koch <konqueror@gmx.de>
25166 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25167 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25168 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25169 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25170 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25171 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25172 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25173 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25174 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25175 resource/gnu/java/locale/LocaleInformation_en.properties,
25176 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25177 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25178 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25179 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25180 resource/gnu/java/locale/LocaleInformation_fa.properties,
25181 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25182 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25183 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25184 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25185 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25186 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25187 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25188 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25189 resource/gnu/java/locale/LocaleInformation_pa.properties,
25190 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25191 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25192 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25193 resource/gnu/java/locale/LocaleInformation_sa.properties,
25194 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25195 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25196 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25197 Updated currency formats.
25199 2006-03-25 Roman Kennke <kennke@aicas.com>
25201 * javax/swing/text/AbstractDocument.java
25202 (getAttributeContext): Made method final.
25203 (getCurrentWriter): Likewise.
25204 (getEndPosition): Likewise.
25205 (getProperty): Likewise.
25206 (getStartPosition): Likewise.
25207 (putProperty): Likewise.
25208 (readLock): Likewise.
25209 (readUnlock): Likewise.
25210 (writeLock): Likewise.
25211 (writeUnlock): Likewise.
25213 2006-03-25 Roman Kennke <kennke@aicas.com>
25215 * javax/swing/InputMap.java
25216 (allKeys): Check if parent keys is null.
25217 * javax/swing/KeyboardManager.java
25218 (registerEntireMap): Also register map's parent keys.
25219 * javax/swing/plaf/metal/MetalRootPaneUI.java
25220 (propertyChange): Also call super.propertyChange().
25222 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25224 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25225 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25226 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25227 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25228 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25229 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25231 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25233 * gnu/java/util/jar/JarUtils.java: New file.
25234 * java/util/jar/Manifest.java (CRLF): Removed.
25235 (read_main_section): Likewise.
25236 (read_version_info): Likewise.
25237 (expect_header(String,BufferedReader)): Likewise.
25238 (expect_header(String,BufferedReader,String)): Likewise.
25239 (read_header_value): Likewise.
25240 (read_attributes): Likewise.
25241 (read_attribute): Likewise.
25242 (read_individual_sections): Likewise.
25243 (read_section_name): Likewise.
25244 (write_main_section): Likewise.
25245 (write_version_info): Likewise.
25246 (write_header): Likewise.
25247 (write_main_attributes): Likewise.
25248 (write_attribute_entry): Likewise.
25249 (write_individual_sections): Likewise.
25250 (write_entry_attributes): Likewise.
25251 (read): use JarUtils.
25254 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25256 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25259 (SignerInfo(BERReader)): Updated javadoc.
25261 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25263 (encode): New method.
25264 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25265 (PKCS7_DATA): Removed.
25268 (PKCS7SignedData(BERReader)): Updated javadoc.
25270 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25272 (encode): New method.
25273 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25274 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25275 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25276 (decodePrivateKey): Decode x from an OCTET STRING.
25277 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25278 (toString): New method.
25279 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25281 (toString): New method.
25282 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25283 (toString): New method.
25284 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25286 2006-03-25 Roman Kennke <kennke@aicas.com>
25288 * java/util/GregorianCalender.java
25289 (computeTime): Fix comparison to correctly calculate the
25292 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25295 * java/awt/Window.java:
25296 (setFocusCycleRoot): New overriden method.
25297 (isFocusCycleRoot): Likewise.
25298 (getFocusCycleRootAncestor): Likewise.
25299 * java/awt/Container.java:
25300 (getFocusTraversalPolicy): Check also for anchestor == null.
25302 2006-03-25 Mark Wielaard <mark@klomp.org>
25304 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25305 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25308 2006-03-24 Tom Tromey <tromey@redhat.com>
25310 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25312 (writeChar): Removed useless cast.
25313 (writeChars(String)): Implemented.
25314 (writeDouble): Rewrote.
25315 (writeFloat): Likewise.
25316 (writeUTF): Implemented.
25317 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25320 2006-03-24 Roman Kennke <kennke@aicas.com>
25322 * javax/swing/JButton.java
25323 (def): Replaced field with defaultCapable field.
25324 (is_def): Removed field.
25325 (JButton): Initialize defaultCapable with true.
25326 (isDefaultButton): Documented and implemented method by querying
25327 the button's root pane if present.
25328 (isDefaultCapable): Changed def field to defaultCapable.
25329 Added documentation.
25330 (paramString): Call isDefaultButton() instead of accessing field,
25332 (setDefaultCapable): Changed def field to defaultCapable.
25333 Added documentation.
25334 * javax/swing/JRootPane.java
25335 (setDefaultButton): Only change the default button if the
25336 new button is defaultCapable.
25337 * javax/swing/plaf/basic/BasicRootPaneUI.java
25338 (DefaultPressAction): New class.
25339 (DefaultReleaseAction): New class.
25340 (installKeyboardActions): Implemented.
25341 (uninstallKeyboardActions): Implemented.
25342 (propertyChange): Implemented.
25343 * javax/swing/plaf/metal/MetalBorders.java
25344 (ButtonBorder.paintBorder): 'Outsourced' default theme
25345 painting to paintDefaultButtonBorder().
25346 (ButtonBorder.paintDefaultButtonBorder): New helper method
25347 to paint the border in the default theme. This also fixes
25348 painting of the border for default buttons.
25349 (ButtonBorder.paintOceanButtonBorder): Added support for
25350 default button painting. Fixed border for pressed/default state.
25351 * javax/swing/plaf/metal/MetalButtonUI.java
25352 (update): Only paint gradient when in OceanTheme and when the
25353 button is not armed.
25355 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25357 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25358 Inherit from Activator.
25360 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25362 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25363 Print debug message if debug flag is set.
25364 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25365 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25366 detail, do not call iniCause(). (exportClass): New method.
25367 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25368 Ignore null (bootstrap) class loader.
25369 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25370 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25371 visibility to protected.
25372 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25373 (toStub): New method.
25374 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25375 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25376 Explained property java.rmi.activation.port.
25378 2006-03-24 Tom Tromey <tromey@redhat.com>
25380 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25381 * gnu/java/locale/.cvsignore: New file.
25382 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25383 * java/util/Locale.java (getAvailableLocales): Clone result.
25384 (getISOCountries): Likewise.
25385 (getISOLanguages): Likewise.
25386 * scripts/generate-locale-list.sh: Make class public. Added new
25388 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25389 (getLocaleCount): Likewise.
25390 * java/text/Collator.java (getInstance): Javadoc typo fix.
25391 (getAvailableLocales): Wrote.
25393 2006-03-24 Roman Kennke <kennke@aicas.com>
25395 * javax/swing/JTabbedPane.java
25396 (getSelectedComponent): Return null when no component is
25399 2006-03-24 Mark Wielaard <mark@klomp.org>
25401 * NEWS: Add cursor and selection improvements.
25403 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25405 * java/awt/Component.java
25406 (getAccessibleName): Just return accessibleName,
25407 * javax/swing/AbstractButton.java
25408 (getAccessibleStateSet): Mark as stub,
25409 (getAccessibleName): Implemented,
25410 (getAcessibleIcon): Mark as stub,
25411 (getAccessibleRelationSet): Likewise,
25412 (getAccessibleAction): Likewise,
25413 (getAccessibleValue): Likewise,
25414 (getAccessibleActionCount): Likewise,
25415 (getAccessibleActionDescription): Likewise,
25416 (doAccessibleAction): Likewise,
25417 (getCurrentAccessibleValue): Likewise,
25418 (setCurrentAccessibleValue): Likewise,
25419 (getMinimumAccessibleValue): Likewise,
25420 (getMaximumAccessibleValue): Likewise,
25421 (getAccessibleText): Likewise,
25422 (getIndexAtPoint): Likewise,
25423 (getCharacterBounds): Likewise,
25424 (getCharCount): Likewise,
25425 (getCaretPosition): Likewise,
25426 (getAtIndex): Likewise,
25427 (getAfterIndex): Likewise,
25428 (getBeforeIndex): Likewise,
25429 (getCharacterAttribute): Likewise,
25430 (getSelectionStart): Likewise,
25431 (getSelectionEnd): Likewise,
25432 (getSelectedText): Likewise,
25433 (getTextRectangle): Likewise,
25434 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25435 (getIconTextGap): Added @since 1.4,
25436 (setContentAreaFilled): Reordered code to make event sequence match
25437 reference implementation,
25438 * javax/swing/JButton.java
25439 (getSelectedObjects): Removed,
25440 *javax/swing/JComponent.java
25441 (getAccessibleName): Call super.
25443 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25445 * javax/swing/JProgressBar.java
25446 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25447 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25448 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25449 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25450 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25451 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25452 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25453 (getAccessibleContext): Added API docs.
25455 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25457 * javax/swing/plaf/basic/BasicTextUI.java:
25458 (FocusListener.focusLost): Put current selection into the system
25461 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25463 * java/awt/Component.java:
25464 (processMouseEvent): Remove call to consume event.
25465 (dispatchEventImpl): Handle specific events first, do focus request
25466 only when mouse event was not yet consumed.
25467 * javax/swing/text/DefaultCaret.java:
25468 (mousePressed): Rewritten.
25469 (setDot): Changed order of operations.
25472 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25474 * javax/swing/JComponent.java
25475 (AccessibleJComponent.changeSupport): Removed field,
25476 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25477 (AccessibleJComponent.addPropertyChangeListener): Call super,
25478 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25479 * javax/swing/JSlider.java
25480 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25481 (AccessibleJSlider.getAccessibleRole): Likewise,
25482 (AccessibleJSlider.getAccessibleValue): Likewise,
25483 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25484 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25485 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25486 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25487 (getAccessibleContext): Added API docs.
25489 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25491 * gnu/java/rmi/activation/ActivationSystemTransient.java
25492 (debug): Made public. (constructor): Made protected.
25493 (activate, getActivationDesc): Throw more informative exceptions.
25494 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25496 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25498 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25500 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25502 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25503 system, passed in the activation descriptor field.
25504 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25505 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25506 to package private final. (equals): Compare uid, not the system.
25507 (hashCode): Forward to uid.hashCode(). toString(): New method.
25508 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25509 Rewritten. (equals): Compare UID only. toString(): New method.
25510 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25511 UID (space). (hashCode, toString): Rewritten.
25512 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25513 New method. (invoke): Treat null as an empty array for parameters.
25514 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25515 Include count, do not include the static machineId.
25517 2006-03-23 Tom Tromey <tromey@redhat.com>
25519 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25521 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25523 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25524 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25525 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25526 (force): New field. (setForce): New method. (compile): Handle -force.
25527 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25528 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25530 2006-03-23 Roman Kennke <kennke@aicas.com>
25532 * javax/swing/JTabbedPane.java
25533 (Page.getBackground): Return the JTabbedPane's background,
25534 rather than the page's component background.
25535 (Page.getForeground): Return the JTabbedPane's foreground,
25536 rather than the page's component foreground.
25537 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25538 (uninstallUI): Don't set colors to null.
25539 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25540 (paintTabBackground): Correctly determine the tab background.
25541 (getUnselectedBackground): New helper method to
25542 handle the UI property 'TabbedPane.unselectedBackground'
25545 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25547 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25548 (BorderListener.showingResizeCursor): New field.
25549 (BorderListener.mouseMoved, BorderListner.mouseExited):
25552 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25554 * javax/swing/JComboBox.java
25555 (selectWithKeyChar): Mark as stub,
25556 * javax/swing/JFileChooser.java
25557 (setDragEnabled): Mark as stub,
25558 (getDragEnabled): Likewise,
25559 * javax/swing/JSlider.java
25560 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25561 (AccessibleJSlider.getAccessibleRole): Likewise,
25562 (AccessibleJSlider.getAccessibleValue): Likewise,
25563 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25564 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25565 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25566 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25567 * javax/swing/UIManager.java
25568 (installLookAndFeel): Mark as stub,
25569 (setInstalledLookAndFeels): Likewise.
25571 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25573 * javax/swing/filechooser/UnixFileSystemView.java
25574 (getSystemDisplayName): Mark as stub,
25575 (getSystemIcon): Likewise,
25576 (getSystemTypeDescription): Likewise.
25578 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25580 * javax/swing/tree/AbstractLayoutCache.java
25581 (getNodeDimensions): Mark as stub,
25582 (getPreferredHeight): Likewise,
25583 (getPreferredWidth): Likewise,
25584 (getRowsForPaths): Likewise,
25585 (isFixedRowHeight): Likewise,
25586 * javax/swing/tree/DefaultTreeModel.java
25587 (reload()): Mark as stub,
25588 (reload(TreeNode)): Likewise,
25589 (nodeStructureChanged): Likewise,
25590 * javax/swing/tree/DefaultTreeSelectionModel.java
25591 (clone): Mark as stub,
25592 (setRowMapper): Likewise,
25593 (setSelectionPaths): Likewise,
25594 (isRowSelected): Likewise,
25595 (resetRowSelection): Likewise,
25596 (insureRowContinuity): Likewise,
25597 (arePathsContiguous): Likewise,
25598 (canPathsBeAdded): Likewise,
25599 (canPathsBeRemoved): Likewise,
25600 (notifyPathChange): Likewise,
25601 (updateLeadIndex): Likewise,
25602 (insureUniqueness): Likewise,
25603 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25605 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25607 2006-03-22 Tom Tromey <tromey@redhat.com>
25609 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25611 (getStaticAttributeKey): Likewise.
25612 (readAttributeSet): Likewise.
25613 (writeAttributeSet): Likewise.
25614 (readAttributes): Likewise.
25615 (writeAttributes): Likewise.
25616 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25618 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25620 (fireChangedUpdate): Likewise.
25623 (handleEndOfLineString): Likewise.
25624 (textAreaContent): Likewise.
25625 (preContent): Likewise.
25626 (addSpecialElement): Likewise.
25627 (setInnerHTML): Likewise.
25628 (setOuterHTML): Likewise.
25629 (insertBeforeStart): Likewise.
25630 (insertBeforeEnd): Likewise.
25631 (insertAfterEnd): Likewise.
25632 (insertAfterStart): Likewise.
25633 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25634 Mark all methods as stub.s
25635 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25637 (paintHorizontalSeparators): Likewise.
25638 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25640 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25642 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25644 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25647 2006-03-22 Mark Wielaard <mark@klomp.org>
25649 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25651 2006-03-22 Mark Wielaard <mark@klomp.org>
25654 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25655 Takes GtkImage, x and y coordinates.
25656 (gtkWidgetSetCursorUnlocked): Likewise.
25657 (GtkComponentPeer): Set cursor when set.
25658 (setCursor): Handle GtkCursor.
25659 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25661 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25662 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25663 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25664 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25666 2006-03-23 Roman Kennke <kennke@aicas.com>
25669 * gnu/java/security/Registry.java
25670 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25671 * gnu/javax/crypto/pad/PadFactory.java
25672 (getInstance): For PKCS#5, also return PKCS#7 pad
25674 (getNames): Added PKCS#5.
25675 * javax/crypto/KeyGenerator.java
25676 (getInstance): Initialize key generator before returning
25679 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25681 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25682 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25683 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25684 if COMMENTS is set.
25686 2006-03-22 Tom Tromey <tromey@redhat.com>
25688 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25689 (getBoolean): Likewise.
25690 (getString): Likewise.
25691 (getIcon): Likewise.
25693 2006-03-22 Mark Wielaard <mark@klomp.org>
25696 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25697 (GLightweightPeer(Component)): Install MouseListener.
25698 (setCursor): Implement.
25699 (mouseEntered): New method.
25701 2006-03-22 Tom Tromey <tromey@redhat.com>
25703 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25705 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25707 (getFontForState): Likewise.
25708 (getInsets): Added 'result' argument.
25709 (getPainter): Renamed.
25711 2006-03-22 Tom Tromey <tromey@redhat.com>
25713 * javax/swing/plaf/synth/SynthPainter.java
25714 (paintScrollBarThumbBackground): Added 'orientation' argument.
25715 (paintScrollBarThumbBorder): Likewise.
25716 (paintSliderThumbBackground): Likewise.
25717 (paintSliderThumbBorder): Likewise.
25718 (paintTabbedPaneTabBackground): Added 'index' argument.
25719 (paintTabbedPaneTabBorder): Likewise.
25721 2006-03-22 Tom Tromey <tromey@redhat.com>
25723 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25724 (toString): New method.
25726 2006-03-22 Tom Tromey <tromey@redhat.com>
25728 * doc/hacking.texinfo (Source Code Style Guide): Mention
25729 NotImplementedException.
25730 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25731 (flushBefore): Mark as stub.
25733 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25735 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25738 (writeBit): Likewise.
25739 (writeChars): Likewise.
25740 (writeUTF): Likewise.
25741 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25744 * java/net/URLConnection.java (getContent): Mark as stub.
25745 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25746 * java/awt/TexturePaint.java (createContext): Mark as stub.
25747 (getTransparency): Mark as stub.
25748 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25749 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25750 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25752 (getImageCapabilities): Likewise.
25753 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25754 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25755 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25757 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25758 (getAdvanceBetween): Likewise.
25759 (getLayout): Likewise.
25760 (insertChar): Likewise.
25761 (getLineBreakIndex): Likewise.
25762 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25763 (getAdvance): Likewise.
25764 (getAscent): Likewise.
25765 (getDescent): Likewise.
25766 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25767 (insertChar): Likewise.
25768 (nextLayout): Likewise.
25769 (nextLayout): Likewise.
25770 (nextOffset): Likewise.
25771 (nextOffset): Likewise.
25772 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25773 (equals): Likewise.
25774 (getAdvance): Likewise.
25775 (getAscent): Likewise.
25776 (getBounds): Likewise.
25777 (getDescent): Likewise.
25778 (hashCode): Likewise.
25779 (ImageGraphicAttribute): Likewise.
25780 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25781 (getJustificationInfo): Likewise.
25782 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25783 (getGlyphCharIndices): Likewise.
25784 (getGlyphOutline): Likewise.
25785 (getGlyphPixelBounds): Likewise.
25786 (getLayoutFlags): Likewise.
25787 (getPixelBounds): Likewise.
25788 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25789 (getRSB): Likewise.
25790 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25791 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25792 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25794 (resetRecognizer): Likewise.
25795 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25797 (getNativesForFlavor): Likewise.
25798 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25799 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25801 (getRegion): Likewise.
25802 (createUI): Likewise.
25803 (initialize): Likewise.
25804 (uninitialize): Likewise.
25805 (getDefaults): Likewise.
25807 (shouldUpdateStyleOnAncestorChanged): Likewise.
25808 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25810 (getPreferredSize): Likewise.
25811 (getMaximumSize): Likewise.
25812 (paintText): Likewise.
25813 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25815 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25817 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25819 * java/io/ObjectStreamConstants.java: Added since tag.
25820 (PROTOCOL_VERSION_1): Added javadoc.
25821 (PROTOCOL_VERSION_2): Likewise.
25822 * java/io/ObjectOutputStream.java:
25823 (setDefaultProtocolVersion): Removed.
25824 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25826 2006-03-21 Lillian Angel <langel@redhat.com>
25828 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25829 (BMPInfoHeader): Removed debug lines.
25830 * gnu/javax/imageio/bmp/EncodeRLE4.java
25831 (encode): Implemented.
25832 (uncompress): New function implemented to
25833 uncompress the image before encoding.
25834 * gnu/javax/imageio/bmp/EncodeRLE8.java
25835 (encode): Implemented.
25836 (uncompress): New function implemented to
25837 uncompress the image before encoding.
25839 2006-03-21 Roman Kennke <kennke@aicas.com>
25841 * javax/swing/text/html/FormView.java
25842 (getImageData): New helper method.
25844 2006-03-21 Tom Tromey <tromey@redhat.com>
25846 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25848 (Unsafe): Now final.
25850 2006-03-21 Roman Kennke <kennke@aicas.com>
25852 * javax/swing/text/html/FormView.java
25853 (MouseEventListener): New inner class.
25855 2006-03-21 Roman Kennke <kennke@aicas.com>
25857 * javax/swing/text/html/ListView.java: New file.
25859 2006-03-21 Tom Tromey <tromey@redhat.com>
25861 * java/text/Bidi.java: Completed.
25863 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25865 * javax/swing/JTable.java:
25866 (columnAtPoint): Removed the null check, this method should throw a NPE
25867 if the argument is null.
25869 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25871 * javax/swing/text/DefaultHighlighter.java:
25872 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25874 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25876 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25877 the textcomponent having a selection.
25878 (clearSelection): Clear 'componentWithSelection' variable.
25879 (handleSelection): Clear selection of current component having a
25880 selection before setting a new selection in another component.
25881 (mouseDragged): Only react on left mouse button.
25882 (mouseClicked): Only react on left mouse button.
25884 2006-03-21 Roman Kennke <kennke@aicas.com>
25886 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25887 (paintContentBorderTopEdge): Implemented.
25888 (paintContentBorderBottomEdge): Implemented.
25889 (paintContentBorderLeftEdge): Implemented.
25890 (paintContentBorderRightEdge): Implemented.
25891 (isLastTabInRun): New helper method.
25893 2006-03-21 Roman Kennke <kennke@aicas.com>
25895 * javax/swing/JTabbedPane.java
25896 (Page.getForeground): Fall back to returning the tabbed pane's
25897 foreground if no foreground has been exclicitly set.
25899 2006-03-21 Roman Kennke <kennke@aicas.com>
25901 * javax/swing/plaf/metal/MetalComboBoxButton.java
25902 (setEnabled): Update colors of button correctly.
25903 * javax/swing/plaf/metal/MetalComboBoxUI.java
25904 (MetalPropertyChangeListener.propertyChange): Update the colors
25905 of the list and the button when any of the color properties
25906 of the ComboBox change.
25908 2006-03-21 Roman Kennke <kennke@aicas.com>
25910 * javax/swing/plaf/basic/BasicButtonUI.java
25911 (uninstallDefaults): Only nullify button colors if they are
25912 not UIResource instances.
25914 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25916 * javax/swing/JComponent.java
25917 (AccessibleJComponent.getAccessibleDescription): Call super,
25918 * javax/swing/JToolTip.java: API doc updates all over, plus
25919 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25920 (AccessibleJToolTip.getAccessibleRole): Implemented,
25921 (getAccessibleContext): Implemented,
25922 (paramString): Reimplemented,
25923 (setComponent): Fire PropertyChangeEvent,
25924 (setTipText): Likewise.
25926 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25928 * java/util/Formatter.java:
25929 Make the class final.
25931 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25933 * java/lang/System.java:
25934 (nanoTime()): Documented.
25935 * java/lang/Thread.java:
25936 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25937 Added docs and security check.
25938 (getUncaughtExceptionHandler()): Documented.
25939 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25940 Added docs and security check.
25941 (getDefaultUncaughtExceptionHandler()): Documented.
25942 (getId()): Documented.
25943 (Thread.State): Documented.
25944 * vm/reference/gnu/classpath/Unsafe.java:
25946 (getUnsafe()): Updated to handle security.
25948 2006-03-20 Tom Tromey <tromey@redhat.com>
25950 * java/lang/System.java:
25951 (nanoTime()): Implemented.
25952 * java/lang/Thread.java:
25953 (getId()): Implemented.
25954 * java/util/AbstractMap.java:
25955 (SimpleImmutableEntry): New 1.6 class.
25956 (BasicMapEntry): Modified to be SimpleEntry.
25957 * java/util/Collections.java:
25958 Modified to use SimpleEntry.
25959 * java/util/EnumMap.java: Likewise.
25960 * java/util/HashMap.java: Likewise.
25961 * java/util/Hashtable.java: Likewise.
25962 * java/util/TreeMap.java: Likewise.
25963 * vm/reference/gnu/classpath/Unsafe.java:
25964 New class to handle low-level facilities for concurrency.
25965 * vm/reference/java/lang/VMSystem.java:
25966 (nanoTime()): Implemented.
25968 2006-03-20 Tom Tromey <tromey@redhat.com>
25970 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25971 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25972 (CertStoreSpi): Updated throws clause.
25973 * java/security/cert/CertPathValidatorSpi.java: Added import for
25975 (engineValidate): Updated 'throws' clause.
25976 * java/security/cert/PKIXParameters.java: Javadoc fix.
25977 * java/security/cert/X509CertSelector.java
25978 (setAuthorityKeyIdentifier): Javadoc fix.
25980 2006-03-20 Tom Tromey <tromey@redhat.com>
25982 * .classpath: Build gnu.javax.swing.plaf.
25984 2006-03-20 Lillian Angel <langel@redhat.com>
25986 * gnu/javax/imageio/bmp/BMPDecoder.java:
25987 Removed unneeded import.
25988 * gnu/javax/imageio/bmp/BMPEncoder.java:
25990 * gnu/javax/imageio/bmp/BMPFileHeader.java
25991 (BMPFileHeader): New constructor used to create info header
25992 for an output stream.
25993 (write): Fixed indexes.
25994 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25995 Initialized writerSpiNames field.
25996 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25998 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26000 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26001 Change visibility for fields.
26002 (BMPInfoHeader): New constructor used to create
26003 file header for an output stream.
26004 (intToDWord): New method. Converts an int to a
26006 (intToWord): New method. Converts an int to a word.
26007 * gnu/javax/imageio/bmp/DecodeBF32.java:
26008 Removed unneeded imports.
26009 * gnu/javax/imageio/bmp/EncodeRGB1.java:
26011 * gnu/javax/imageio/bmp/EncodeRGB16.java:
26013 * gnu/javax/imageio/bmp/EncodeRGB24.java:
26015 * gnu/javax/imageio/bmp/EncodeRGB32.java:
26017 * gnu/javax/imageio/bmp/EncodeRGB4.java:
26019 * gnu/javax/imageio/bmp/EncodeRGB8.java:
26021 * gnu/javax/imageio/bmp/EncodeRLE4.java:
26023 * gnu/javax/imageio/bmp/EncodeRLE8.java:
26025 * javax/imageio/ImageIO.java:
26028 2006-03-20 Roman Kennke <kennke@aicas.com>
26030 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26031 (TabbedPaneLayout.normalizeTabRuns): New method.
26032 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26033 (paintTabBorder): Replaced if-else chain with switch.
26034 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26036 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26038 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26040 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26042 (paintTabBackground): Fetch background color from the TabbedPane.
26043 Fixed painting and improved by not using fillPolygon, and instead
26044 using fillRectangle. Replaced if-else chain with switch.
26045 (calculateMaxTabHeight): Added overridden method with FIXME.
26046 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26048 (paintContentBorderTopEdge): Added stub with FIXME.
26049 (paintContentBorderBottomEdge): Added stub with FIXME.
26050 (paintContentBorderLeftEdge): Added stub with FIXME.
26051 (paintContentBorderRightEdge): Added stub with FIXME.
26053 2006-03-20 Roman Kennke <kennke@aicas.com>
26055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26056 (tabsOpaque): New field.
26057 (installDefaults): Fetch tabsOpaque property from UIManager.
26058 (paintTab): Fill tab background when tabsOpaque property is true.
26059 * javax/swing/plaf/basic/BasicLookAndFeel.java
26060 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26062 2006-03-20 Roman Kennke <kennke@aicas.com>
26064 * javax/swing/JTabbedPane.java
26065 (Pane.getBackground): When no background was explicitly set, return
26066 the JTabbedPane's background.
26068 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
26070 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26071 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26072 * org/omg/CORBA/BAD_INV_ORDER.java,
26073 * org/omg/CORBA/BAD_CONTEXT.java,
26074 * org/omg/CORBA/BAD_OPERATION.java,
26075 * org/omg/CORBA/BAD_PARAM.java,
26076 * org/omg/CORBA/BAD_QOS.java,
26077 * org/omg/CORBA/BAD_TYPECODE.java,
26078 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26079 * org/omg/CORBA/COMM_FAILURE.java,
26080 * org/omg/CORBA/CurrentHolder.java,
26081 * org/omg/CORBA/DATA_CONVERSION.java,
26082 * org/omg/CORBA/FREE_MEM.java,
26083 * org/omg/CORBA/IMP_LIMIT.java,
26084 * org/omg/CORBA/INITIALIZE.java,
26085 * org/omg/CORBA/INTERNAL.java,
26086 * org/omg/CORBA/INTF_REPOS.java,
26087 * org/omg/CORBA/INVALID_ACTIVITY.java,
26088 * org/omg/CORBA/INVALID_TRANSACTION.java,
26089 * org/omg/CORBA/INV_FLAG.java,
26090 * org/omg/CORBA/INV_IDENT.java,
26091 * org/omg/CORBA/INV_OBJREF.java,
26092 * org/omg/CORBA/INV_POLICY.java,
26093 * org/omg/CORBA/MARSHAL.java,
26094 * org/omg/CORBA/NO_RESOURCES.java,
26095 * org/omg/CORBA/NO_MEMORY.java,
26096 * org/omg/CORBA/NO_IMPLEMENT.java,
26097 * org/omg/CORBA/NO_PERMISSION.java,
26098 * org/omg/CORBA/NO_RESPONSE.java,
26099 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26100 * org/omg/CORBA/OBJ_ADAPTER.java,
26101 * org/omg/CORBA/ParameterModeHolder.java,
26102 * org/omg/CORBA/PolicyError.java,
26103 * org/omg/CORBA/PolicyErrorHolder.java,
26104 * org/omg/CORBA/PolicyHolder.java,
26105 * org/omg/CORBA/PolicyListHolder.java,
26106 * org/omg/CORBA/REBIND.java,
26107 * org/omg/CORBA/TIMEOUT.java,
26108 * org/omg/CORBA/TRANSACTION_MODE.java,
26109 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26110 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26111 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26112 * org/omg/CORBA/TRANSIENT.java,
26113 * org/omg/CORBA/TypeCodeHolder.java,
26114 * org/omg/CORBA/UNKNOWN.java,
26115 * org/omg/CORBA/UnionMember.java,
26116 * org/omg/CORBA/UnknownUserException.java,
26117 * org/omg/CORBA/UnknownUserExceptionHolder.java,
26118 * org/omg/CORBA/WrongTransactionHolder.java,
26119 * org/omg/IOP/IOR.java,
26120 * org/omg/IOP/IORHolder.java,
26121 * org/omg/IOP/MultipleComponentProfileHolder.java,
26122 * org/omg/IOP/ServiceContextHolder.java,
26123 * org/omg/IOP/ServiceContextListHolder.java,
26124 * org/omg/IOP/TaggedComponentHolder.java,
26125 * org/omg/IOP/TaggedProfileHolder.java,
26126 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26127 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26128 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26129 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26130 Made class final, various javadoc fixlets.
26131 * org/omg/CORBA/CompletionStatus.java,
26132 * org/omg/CORBA/PERSIST_STORE.java,
26133 * org/omg/CORBA/ValueMember.java,
26134 * org/omg/PortableInterceptor/ForwardRequest.java,
26135 * org/omg/PortableInterceptor/InvalidSlot.java,
26136 * org/omg/IOP/CodecPackage/TypeMismatch.java,
26137 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26138 * org/omg/IOP/CodecPackage/FormatMismatch.java,
26139 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26140 * org/omg/IOP/Encoding.java,
26141 * org/omg/IOP/TaggedComponent.java,
26142 * org/omg/IOP/TaggedProfile.java: Made class final.
26143 * org/omg/CORBA/SystemException.java: Made class abstract.
26144 * org/omg/CORBA/UserException.java: Made class abstract.
26145 (UserException): Now protected.
26146 (UserException(String)): Likewise.
26147 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26148 (typecode): Removed unused private variable.
26150 2006-03-20 Chris Burdess <dog@gnu.org>
26153 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26155 2006-03-20 Roman Kennke <kennke@aicas.com>
26157 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26158 (paintTabArea): Look up tab run indices in tabRuns array instead
26159 of using the index directly.
26161 2006-03-20 Roman Kennke <kennke@aicas.com>
26163 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26164 (paintTab): Fixed painting.
26165 (paintText): Fixed text painting.
26166 (paintFocusIndicator): Fixed painting of the focus rectangle.
26167 (paintContentBorder): Fixed painting of the content area.
26169 2006-03-20 Mark Wielaard <mark@klomp.org>
26171 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26172 static lock Object field.
26173 (produce): Synchronize on pixbufLock when calling initState(),
26174 pumpBytes() and pumpDone().
26175 (finalize): Likewise when calling finish().
26176 (GdkPixbufWriter.write): Likewise when calling streamImage().
26177 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26178 when calling loadPixbuf. Chain exception.
26179 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26180 (GtkImage(URL)): Likewise.
26181 (GtkImage(int,int)): Likewise when calling createPixmap().
26182 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26183 createScaledPixmap().
26184 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26185 (setImage): Likewise when calling createPixmap() and setPixels().
26186 (getSource): Likewise when calling getPixels().
26187 (flush): Likewise when calling freePixmap().
26188 (finalize): Likewise.
26189 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26190 drawPixelsScaledFlipped().
26191 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26192 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26193 gdk_threads_enter/leave().
26194 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26195 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26196 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26197 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26199 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26200 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26201 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26202 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26203 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26204 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26205 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26206 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26208 2006-03-20 Roman Kennke <kennke@aicas.com>
26210 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26211 (calculateTabHeight): Not need to use SwingUtilities here.
26212 (getTabInsets): Do not rotate insets.
26214 2006-03-20 Roman Kennke <kennke@aicas.com>
26216 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26217 (paint): Make sure the layout is valid before painting.
26218 (paintTabArea): Made tab painting more straightforward and efficient.
26220 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26222 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26223 (getScrollableUnitIncrement): Rewritten.
26224 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26225 (getScrollableUnitIncrement): Rewritten.
26226 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26227 (ROWS_PER_WHEEL_CLICK): New field.
26228 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26230 2006-03-20 Roman Kennke <kennke@aicas.com>
26232 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26233 (paint): Make sure the layout is valid before painting.
26234 (paintTabArea): Made tab painting more straightforward and efficient.
26236 2006-03-20 Roman Kennke <kennke@aicas.com>
26238 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26239 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26241 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26242 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26243 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26244 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26245 bounds here. That is moved into layoutContainer().
26246 (calculateSize): Correctly respect insets. Made code slightly more
26247 clear and efficient.
26248 (calculateTabRects): Rewritten completely. The old code was
26249 not quite right and unstable in some situations.
26250 (layoutContainer): Moved layout of tabbed pane's subcomponents
26252 (tabRunsDirty): New field.
26253 (rolloverTab): New field.
26254 (tabForCoordinate): Rewritten for simplicity and correctness.
26255 (setRolloverTab): New method.
26256 (getRolloverTab): New method.
26258 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26260 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26261 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26262 (getScrollableUnitIncrement
26263 * javax/swing/Scrollable.java: Documented.
26264 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26265 (MouseWheelHandler):Rewritten.
26267 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26269 * doc/vmintegration.texinfo:
26270 Updated with gnu.classpath.Unsafe
26272 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26275 Updated with VMArray and Unsafe changes.
26277 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26279 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26280 (getScrollableUnitIncrement): Rewritten.
26281 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26282 (getScrollableUnitIncrement): Rewritten.
26283 (getScrollableBlockIncrement): Rewritten.
26284 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26285 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26286 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26287 New field. (installListeners): Install wheel listeners.
26288 (uninstallListeners): Uninstall wheel listeners.
26289 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26290 of the MouseWheelListener. (installListeners): Do not install wheel
26291 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26293 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26295 * vm/reference/gnu/classpath/Unsafe.java:
26297 (getUnsafe()): Updated to handle security.
26299 2006-03-19 Tom Tromey <tromey@redhat.com>
26301 * vm/reference/gnu/classpath/Unsafe.java:
26302 New class to handle low-level facilities for concurrency.
26304 2006-03-19 Mark Wielaard <mark@klomp.org>
26306 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26307 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26308 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26309 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26311 2006-03-19 Mark Wielaard <mark@klomp.org>
26313 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26315 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26317 2006-03-19 Michael Koch <konqueror@gmx.de>
26319 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26320 resource/gnu/java/locale/LocaleInformation_am.properties,
26321 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26322 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26323 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26324 resource/gnu/java/locale/LocaleInformation_bg.properties,
26325 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26326 resource/gnu/java/locale/LocaleInformation_ca.properties,
26327 resource/gnu/java/locale/LocaleInformation_cs.properties,
26328 resource/gnu/java/locale/LocaleInformation_cy.properties,
26329 resource/gnu/java/locale/LocaleInformation_da.properties,
26330 resource/gnu/java/locale/LocaleInformation_de.properties,
26331 resource/gnu/java/locale/LocaleInformation_dv.properties,
26332 resource/gnu/java/locale/LocaleInformation_el.properties,
26333 resource/gnu/java/locale/LocaleInformation_en.properties,
26334 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26335 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26336 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26337 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26338 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26339 resource/gnu/java/locale/LocaleInformation_es.properties,
26340 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26341 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26342 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26343 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26344 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26345 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26346 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26347 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26348 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26349 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26350 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26351 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26352 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26353 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26354 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26355 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26356 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26357 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26358 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26359 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26360 resource/gnu/java/locale/LocaleInformation_fa.properties,
26361 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26362 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26363 resource/gnu/java/locale/LocaleInformation_fi.properties,
26364 resource/gnu/java/locale/LocaleInformation_fr.properties,
26365 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26366 resource/gnu/java/locale/LocaleInformation_ga.properties,
26367 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26368 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26369 resource/gnu/java/locale/LocaleInformation_hr.properties,
26370 resource/gnu/java/locale/LocaleInformation_hu.properties,
26371 resource/gnu/java/locale/LocaleInformation_id.properties,
26372 resource/gnu/java/locale/LocaleInformation_is.properties,
26373 resource/gnu/java/locale/LocaleInformation_it.properties,
26374 resource/gnu/java/locale/LocaleInformation_ja.properties,
26375 resource/gnu/java/locale/LocaleInformation_kk.properties,
26376 resource/gnu/java/locale/LocaleInformation_kl.properties,
26377 resource/gnu/java/locale/LocaleInformation_km.properties,
26378 resource/gnu/java/locale/LocaleInformation_ky.properties,
26379 resource/gnu/java/locale/LocaleInformation_lo.properties,
26380 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26381 resource/gnu/java/locale/LocaleInformation_lt.properties,
26382 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26383 resource/gnu/java/locale/LocaleInformation_lv.properties,
26384 resource/gnu/java/locale/LocaleInformation_mk.properties,
26385 resource/gnu/java/locale/LocaleInformation_mn.properties,
26386 resource/gnu/java/locale/LocaleInformation_mr.properties,
26387 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26388 resource/gnu/java/locale/LocaleInformation_ms.properties,
26389 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26390 resource/gnu/java/locale/LocaleInformation_mt.properties,
26391 resource/gnu/java/locale/LocaleInformation_nb.properties,
26392 resource/gnu/java/locale/LocaleInformation_nl.properties,
26393 resource/gnu/java/locale/LocaleInformation_nn.properties,
26394 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26395 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26396 resource/gnu/java/locale/LocaleInformation_pa.properties,
26397 resource/gnu/java/locale/LocaleInformation_pl.properties,
26398 resource/gnu/java/locale/LocaleInformation_pt.properties,
26399 resource/gnu/java/locale/LocaleInformation_ru.properties,
26400 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26401 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26402 resource/gnu/java/locale/LocaleInformation_sa.properties,
26403 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26404 resource/gnu/java/locale/LocaleInformation_sk.properties,
26405 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26406 resource/gnu/java/locale/LocaleInformation_sv.properties,
26407 resource/gnu/java/locale/LocaleInformation_sw.properties,
26408 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26409 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26410 resource/gnu/java/locale/LocaleInformation_te.properties,
26411 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26412 resource/gnu/java/locale/LocaleInformation_th.properties,
26413 resource/gnu/java/locale/LocaleInformation_ti.properties,
26414 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26415 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26416 resource/gnu/java/locale/LocaleInformation_tr.properties,
26417 resource/gnu/java/locale/LocaleInformation_tt.properties,
26418 resource/gnu/java/locale/LocaleInformation_uk.properties,
26419 resource/gnu/java/locale/LocaleInformation_ur.properties,
26420 resource/gnu/java/locale/LocaleInformation_uz.properties,
26421 resource/gnu/java/locale/LocaleInformation_zh.properties,
26422 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26423 More updates for CLDR 1.3.
26425 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26427 * doc/vmintegration.texinfo:
26428 Updated to include VMArray.
26429 * include/Makefile.am:
26430 Replace java_lang_reflect_Array.h with
26431 java_lang_reflect_VMArray.h
26432 * include/java_lang_reflect_VMArray.h:
26433 New autogenerated header.
26434 * include/java_lang_reflect_Array.h:
26436 * java/lang/reflect/Array.java:
26437 (newInstance(Class,int)): Calls VMArray.
26438 (createMultiArray(Class,int[],int)): Likewise.
26439 (createObjectArray(Class,int)): Removed.
26440 * native/jni/java-lang/Makefile.am:
26441 Replaced java_lang_reflect_Array.c with
26442 java_lang_reflect_VMArray.c
26443 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26444 Renamed from java_lang_reflect_Array.c.
26445 * vm/reference/java/lang/reflect/VMArray.java:
26446 (createObjectArray(Class,int)): Native method moved
26447 from java.lang.reflect.Array.
26449 2006-03-19 Roman Kennke <kennke@aicas.com>
26451 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26452 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26454 * examples/gnu/classpath/examples/swing/Demo.java
26455 (mkButtonBar): Hook up theme editor.
26456 (mkMenuBar): Hook up theme editor.
26458 2006-03-19 Roman Kennke <kennke@aicas.com>
26460 * javax/swing/plaf/basic/BasicFileChooserUI.java
26461 (ApproveSelectionAction.actionPerformed): Added case for when
26462 nothing has been selected but the user has typed a filename
26463 into the textfield.
26464 (getFileName): Return the value of the text field.
26466 2006-03-19 Roman Kennke <kennke@aicas.com>
26468 * javax/swing/JColorChooser.java
26469 (createDialog): Create JDialog instead of ModalDialog. Make this
26470 dialog modal by calling setModal(true).
26471 (ModalDialog): Removed unnecessary inner class.
26473 2006-03-19 Tom Tromey <tromey@redhat.com>
26475 * java/awt/font/NumericShaper.java: Rewrote.
26477 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26479 * javax/swing/plaf/basic/BasicTableUI.java:
26480 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26481 New field. MouseInputHandler.mouseWheelMoved): New method.
26482 (installListeners): Register MouseInputHandler as
26483 wheel listener also.
26485 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26488 * javax/swing/ViewportLayout.java (layoutContainer):
26489 If Scrollable tracks dimension, set view size to the port size.
26490 If port is larger than the view, move the view to the top/left.
26492 2006-03-19 Roman Kennke <kennke@aicas.com>
26494 * javax/swing/MenuSelectionManager.java
26495 (isComponentPartOfCurrentMenu): Also consider the first element
26496 in a menu selection list. Make a isDescendentFrom check instead
26497 of simple equals to also catch sub components.
26499 2006-03-19 Roman Kennke <kennke@aicas.com>
26501 * javax/swing/JComboBox.java
26502 (actionPerformed): Fetch selected item directly from the editor
26503 instead of trying to get it from the event.
26505 2006-03-19 Roman Kennke <kennke@aicas.com>
26507 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26508 (listener): Removed field.
26509 (BasicComboBoxEditor): Removed initialization of listener field.
26510 (addActionListener): Add listener directly to editor.
26511 (removeActionListener): Remove listener directly from editor.
26512 (ComboBoxEditorListener): Removed class.
26513 * javax/swing/plaf/basic/BasicComboBoxUI.java
26514 (getPreferredSize): Fixed to return the minimumSize.
26515 (getMinimumSize): Improved code for more clearness.
26516 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26517 (rectangleForCurrentValue): Correctly respect insets.
26518 (getDefaultSize): Return preferredSize here. Dont override height
26520 (getDisplaySize): Moved around code for more clearness. Added
26521 handling of prototype renderer.
26522 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26523 arrowButton bounds since the former depends on the latter.
26524 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26525 (MetalComboBoxButton): Make button rollover disabled.
26526 (isFocusTraversable): Return false unconditionally.
26527 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26528 (EditorTextField): New class. Fixes the size properties.
26529 (MetalComboBoxEditor): Create instance of EditorTextField.
26530 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26531 (getMinimumSize): Fixed editable size.
26533 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26535 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26537 2006-03-18 Roman Kennke <kennke@aicas.com>
26539 * javax/swing/plaf/metal/MetalToolBarUI.java
26540 (update): Added overridden method to support OceanTheme.
26542 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26544 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26545 Activate the cell editing on character keystroke.
26547 2006-03-18 Mark Wielaard <mark@klomp.org>
26549 * java/awt/Component.java (eventTypeEnabled): Handle
26550 MouseEvent.MOUSE_WHEEL.
26551 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26552 New callback method.
26553 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26554 (AWT_MOUSE_WHEEL): New constant.
26555 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26556 (postMouseWheelEventID): New static variable.
26557 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26558 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26559 (button_number): Renamed to ...
26560 (button_number_direction): variable to hold button number or scroll
26562 (component_button_press_cb): Use button_number_direction.
26563 (component_scroll_cb): New static callback function.
26565 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26567 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26568 Return without action.
26570 2006-03-18 Mark Wielaard <mark@klomp.org>
26572 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26573 Don't cast graphics object to GdkGraphics.
26574 (updateComponent): Likewise.
26576 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26578 * examples/gnu/classpath/examples/swing/TableDemo.java
26579 (TModel.getColumnClass): Set second column to Icon.
26580 (TModel.isCellEditable): Say icons are not editable.
26581 (createContent): Fill the in second column with some icons from
26584 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26586 * examples/gnu/classpath/examples/swing/Demo.java
26587 (mkButtonBar): Set maximal button bar height to the preferred height.
26589 2006-03-18 Roman Kennke <kennke@aicas.com>
26591 * javax/swing/plaf/basic/BasicComboPopup.java
26592 (show): Substract insets from scroller width.
26593 (getPopupHeightForRowCount): If height==0, return a default of 100
26594 instead for empty ComboBoxes.
26596 2006-03-18 Roman Kennke <kennke@aicas.com>
26598 * javax/swing/plaf/basic/BasicLookAndFeel.java
26599 (PopupHelper.autoClosePopups): Removed field.
26600 (PopupHelper.mousePressed): Removed processing of registered
26602 (registerForAutoClose): Removed unneeded method.
26603 (autoClosePopups): Removed unneeded method.
26604 (registerForAutoClose): Removed unneeded method.
26606 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26608 * javax.swing.JTable.java (TableTextField): Set border.
26609 (moveToCellBeingEdited): Do not adjust the editor boundaries
26611 2006-03-18 Michael Koch <konqueror@gmx.de>
26613 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26614 resource/gnu/java/locale/LocaleInformation_af.properties,
26615 resource/gnu/java/locale/LocaleInformation_am.properties,
26616 resource/gnu/java/locale/LocaleInformation_ar.properties,
26617 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26618 resource/gnu/java/locale/LocaleInformation_be.properties,
26619 resource/gnu/java/locale/LocaleInformation_bg.properties,
26620 resource/gnu/java/locale/LocaleInformation_bn.properties,
26621 resource/gnu/java/locale/LocaleInformation_ca.properties,
26622 resource/gnu/java/locale/LocaleInformation_cs.properties,
26623 resource/gnu/java/locale/LocaleInformation_cy.properties,
26624 resource/gnu/java/locale/LocaleInformation_da.properties,
26625 resource/gnu/java/locale/LocaleInformation_de.properties,
26626 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26627 resource/gnu/java/locale/LocaleInformation_dz.properties,
26628 resource/gnu/java/locale/LocaleInformation_en.properties,
26629 resource/gnu/java/locale/LocaleInformation_eo.properties,
26630 resource/gnu/java/locale/LocaleInformation_es.properties,
26631 resource/gnu/java/locale/LocaleInformation_et.properties,
26632 resource/gnu/java/locale/LocaleInformation_eu.properties,
26633 resource/gnu/java/locale/LocaleInformation_fa.properties,
26634 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26635 resource/gnu/java/locale/LocaleInformation_fi.properties,
26636 resource/gnu/java/locale/LocaleInformation_fo.properties,
26637 resource/gnu/java/locale/LocaleInformation_fr.properties,
26638 resource/gnu/java/locale/LocaleInformation_ga.properties,
26639 resource/gnu/java/locale/LocaleInformation_gl.properties,
26640 resource/gnu/java/locale/LocaleInformation_gu.properties,
26641 resource/gnu/java/locale/LocaleInformation_he.properties,
26642 resource/gnu/java/locale/LocaleInformation_hi.properties,
26643 resource/gnu/java/locale/LocaleInformation_hr.properties,
26644 resource/gnu/java/locale/LocaleInformation_hu.properties,
26645 resource/gnu/java/locale/LocaleInformation_hy.properties,
26646 resource/gnu/java/locale/LocaleInformation_id.properties,
26647 resource/gnu/java/locale/LocaleInformation_is.properties,
26648 resource/gnu/java/locale/LocaleInformation_it.properties,
26649 resource/gnu/java/locale/LocaleInformation_ja.properties,
26650 resource/gnu/java/locale/LocaleInformation_ka.properties,
26651 resource/gnu/java/locale/LocaleInformation_km.properties,
26652 resource/gnu/java/locale/LocaleInformation_ko.properties,
26653 resource/gnu/java/locale/LocaleInformation_lo.properties,
26654 resource/gnu/java/locale/LocaleInformation_lt.properties,
26655 resource/gnu/java/locale/LocaleInformation_lv.properties,
26656 resource/gnu/java/locale/LocaleInformation_mk.properties,
26657 resource/gnu/java/locale/LocaleInformation_mr.properties,
26658 resource/gnu/java/locale/LocaleInformation_ms.properties,
26659 resource/gnu/java/locale/LocaleInformation_mt.properties,
26660 resource/gnu/java/locale/LocaleInformation_nb.properties,
26661 resource/gnu/java/locale/LocaleInformation_nl.properties,
26662 resource/gnu/java/locale/LocaleInformation_nn.properties,
26663 resource/gnu/java/locale/LocaleInformation_om.properties,
26664 resource/gnu/java/locale/LocaleInformation_pl.properties,
26665 resource/gnu/java/locale/LocaleInformation_ps.properties,
26666 resource/gnu/java/locale/LocaleInformation_pt.properties,
26667 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26668 resource/gnu/java/locale/LocaleInformation_ro.properties,
26669 resource/gnu/java/locale/LocaleInformation_ru.properties,
26670 resource/gnu/java/locale/LocaleInformation_sk.properties,
26671 resource/gnu/java/locale/LocaleInformation_sl.properties,
26672 resource/gnu/java/locale/LocaleInformation_so.properties,
26673 resource/gnu/java/locale/LocaleInformation_sq.properties,
26674 resource/gnu/java/locale/LocaleInformation_sr.properties,
26675 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26676 resource/gnu/java/locale/LocaleInformation_sv.properties,
26677 resource/gnu/java/locale/LocaleInformation_sw.properties,
26678 resource/gnu/java/locale/LocaleInformation_ta.properties,
26679 resource/gnu/java/locale/LocaleInformation_te.properties,
26680 resource/gnu/java/locale/LocaleInformation_th.properties,
26681 resource/gnu/java/locale/LocaleInformation_tr.properties,
26682 resource/gnu/java/locale/LocaleInformation_uk.properties,
26683 resource/gnu/java/locale/LocaleInformation_uz.properties,
26684 resource/gnu/java/locale/LocaleInformation_vi.properties,
26685 resource/gnu/java/locale/LocaleInformation_zh.properties,
26686 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26687 Updated to use the new localized strings for currencies, languages,
26688 variants, territories, etc.
26690 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26692 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26693 (start, end): Added comment about the negative values of them,
26694 (finish): Saves the input text in matchedCharIndexed,
26695 (toString): If the start or end index is out of bounds of the
26696 matched text, get the substring from matchedCharIndexed.
26697 Added special handlings in case start/end index < -1,
26698 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26699 Added special handlings in case start/end index < -1,
26700 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26701 found match, but keep the index as the original match.
26702 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26703 found match, but keep the index as the original match.
26704 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26705 in case start/end index < -1.
26707 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26709 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26712 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26714 * javax/swing/text/DefaultCaret.java:
26715 (mouseClicked) Use setDot() and moveDot() instead of
26716 JTextComponent.select().
26718 2006-03-17 Roman Kennke <kennke@aicas.com>
26720 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26721 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26722 border painting for the Ocean theme.
26723 (MetalComboBoxEditor): Create editor directly instead of going
26726 2006-03-17 Roman Kennke <kennke@aicas.com>
26728 * javax/swing/text/JTextComponent.java
26729 (JTextComponent): Make text components opaque.
26731 2006-03-17 Roman Kennke <kennke@aicas.com>
26733 * javax/swing/plaf/metal/MetalComboBoxUI.java
26734 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26736 (MetalPropertyChangeListener.propertyChange): Update focusable
26737 flag according to the enable and editable state.
26738 (editablePropertyChanged): Removed unnecessary code.
26739 (getMinimumSize): Rewritten to correctly compute the
26740 size, respecting the insets of the components and the icon,
26741 the visual properties of the combobox, etc.
26742 (configureEditor): Update listeners correctly.
26743 (unconfigureEditor): Update listeners correctly.
26744 (layoutComboBox): Implemented.
26746 2006-03-17 Roman Kennke <kennke@aicas.com>
26748 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26749 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26750 instead of Flush3DBorder.
26751 (paintBorder): Fixed border painting.
26752 (editorBorderInsets): Fixed border's insets.
26754 2006-03-17 Roman Kennke <kennke@aicas.com>
26756 * javax/swing/plaf/metal/MetalComboBoxButton.java
26757 (rendererPane): Documented.
26758 (MetalComboBoxButton): Set enabled flag from ComboBox.
26759 Set focusable flag from ComboBox's enabled flag.
26760 (isFocusTraversable): Make button focus traversable if
26761 ComboBox is not editable but enable.
26762 (paintComponent): Fixed painting to correctly adjust
26763 the boxes of the renderer and button.
26765 2006-03-17 Roman Kennke <kennke@aicas.com>
26767 * javax/swing/plaf/basic/BasicButtonUI.java
26768 (installDefaults): Only install UI margin if installed margin.
26769 is null or a UIResource.
26770 (uninstallDefaults): Only uninstall margin if it's
26773 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26775 * javax/swing/text/DefaultCaret.java:
26776 (mouseClicked) Use setDot() and moveDot() instead of
26777 JTextComponent.select().
26779 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26781 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26782 inner classes into package-private inner classes, added actions
26783 for caret movement and selection to the next and previous word
26784 and an action which selects the whole text.
26786 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26788 * javax/swing/Spring.java: Uncomment springdebug methods and
26789 rename them toString.
26790 * javax/swing/SpringLayout.java: Likewise.
26792 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26794 * javax/swing/text/FieldView.java:
26795 (viewToModel): Added call to adjust allocation area.
26797 2006-03-17 Roman Kennke <kennke@aicas.com>
26799 * javax/swing/plaf/basic/BasicComboBoxUI.java
26800 (mouseListener): Removed field.
26801 (buttonBackground): Removed field.
26802 (buttonShadow): Removed field.
26803 (buttonDarkShadow): Removed field.
26804 (buttonHighlight): Removed field.
26805 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26806 (installUI): Initialize and configure renderer and editor here.
26807 (uninstallUI): Close popup before uninitializing.
26808 Message popup that we are uninitializing. Clear layout.
26809 (installDefaults): Install UI border. Don't install colors.
26810 (installListeners): Install listeners fetched from the popup.
26811 Remove handling of mouseListener.
26812 (uninstallDefaults): Uninstall border. Don't handle colors.
26813 (uninstallListeners): Don't handle mouseListener. Uninstall
26814 listener from the popup.
26815 (createMouseListener): Removed method.
26816 (createRenderer): Create UIResource.
26817 (installComponents): Cleaned up.
26818 (uninstallComponents): Only remove renderer when it is
26820 (addEditor): Remove editor before adding new one.
26821 Fetch editor from comboBox.
26822 (removeEditor): Only do something when editor != null. Unconfigure
26823 editor before removing.
26824 (configureEditor): Add key listener. Call comboBox.configureEditor.
26825 (unconfigureEditor): Removed key listener.
26826 (configureArrowButton): Only handle when arrowButton != null.
26827 Add mouse listeners to arrow button.
26828 (unconfigureArrowButton): Remove listeners.
26829 (createArrowButton): Don't handle colors here.
26830 (setPopupVisible): Don't handle focus here.
26831 (paint): Only paint when comboBox is not editable. Update
26833 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26834 (getMinimumSize): Respect insets here.
26835 (getMaximumSize): Return preferredSize with width of 32767.
26836 (getInsets): Return ComboBox insets.
26837 (paintCurrentValue): Paint using currentValuePane.
26838 Install correct colors. Don't revalidate.
26839 (paintCurrentValueBackground): Implemented.
26840 (getDefaultSize): Reimplemented using a default renderer.
26841 (getDisplaySize): Reimplemented to use renderer.
26842 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26843 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26844 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26845 (FocusHandler.focusGained): Don't invalidate minimumSize.
26846 (FocusHandler.focusLost): Don't invalidate minimumSize.
26847 Only close popup if focus change is not temporary.
26848 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26849 Reconfigure editor if not null.
26850 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26851 editor if necessary.
26852 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26853 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26854 (MouseHandler): Removed unnecessary class.
26856 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26858 * examples/gnu/classpath/examples/swing/Demo.java:
26859 (Demo): Set default closing operation to shutdown the runtime.
26861 2006-03-17 Roman Kennke <kennke@aicas.com>
26863 * javax/swing/plaf/basic/BasicComboPopup.java
26864 (BasicComboPopup): Create listeners here.
26865 Configure components here.
26866 (show): Correctly calculate bounds using computePopupBounds().
26867 Make scroller fixed-size. Removed special autocloser handling.
26868 (hide): Rewritten to use MenuSelectionHandler.
26869 (createList): Don't set selection mode here.
26870 (configureList): Correctly install colors and fonts and selectionMode.
26871 (createScroller): Set scrollpane policies.
26872 (configureScroller): Make scroller and scrollbar not-focusable.
26873 (configurePopup): Make popup opaque and borderPainted.
26874 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26875 (delegateFocus): Implemented.
26876 (convertMouseEvent): Implemented.
26877 (updateListBoxSelectionForEvent): Implemented to also handle
26879 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26880 Only open popup on left mouse-click.
26881 (InvocationMouseHandler.mouseReleased): Rewritten.
26882 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26883 support autoscrolling.
26884 (ItemHandler.itemStateChanged): Implemented to sync selection with
26886 (ListMouseHandler.mouseReleased): Fetch selected index directly
26888 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26890 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26891 When model changes, then update listeners correctly.
26892 (uninstallListeners): Don't uninstall list listeners.
26893 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26895 (syncSelection): New helper method.
26897 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26899 * javax/swing/text/PlainView.java:
26900 (drawLine): Rewritten.
26901 (drawSelectedText): Corrected last argument for
26902 Utilities.drawTabbedText() call.
26903 (paint): Store start and end of selection in object variables,
26904 store constant values of for-loop in local variables.
26905 * javax/swing/text/Utilities.java:
26906 (drawTabbedText): Add 'pixelWidth' to the return value, store
26907 constant value of for-loop in local variable.
26909 2006-03-17 Roman Kennke <kennke@aicas.com>
26911 * javax/swing/plaf/basic/BasicComboPopup.java
26912 (BasicComboPopup): Create listeners here.
26913 Configure components here.
26914 (show): Correctly calculate bounds using computePopupBounds().
26915 Make scroller fixed-size. Removed special autocloser handling.
26916 (hide): Rewritten to use MenuSelectionHandler.
26917 (createList): Don't set selection mode here.
26918 (configureList): Correctly install colors and fonts and selectionMode.
26919 (createScroller): Set scrollpane policies.
26920 (configureScroller): Make scroller and scrollbar not-focusable.
26921 (configurePopup): Make popup opaque and borderPainted.
26922 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26923 (delegateFocus): Implemented.
26924 (convertMouseEvent): Implemented.
26925 (updateListBoxSelectionForEvent): Implemented to also handle
26927 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26928 Only open popup on left mouse-click.
26929 (InvocationMouseHandler.mouseReleased): Rewritten.
26930 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26931 support autoscrolling.
26932 (ItemHandler.itemStateChanged): Implemented to sync selection with
26934 (ListMouseHandler.mouseReleased): Fetch selected index directly
26936 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26938 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26939 When model changes, then update listeners correctly.
26940 (uninstallListeners): Don't uninstall list listeners.
26941 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26943 (syncSelection): New helper method.
26945 2006-03-17 Roman Kennke <kennke@aicas.com>
26947 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26948 (noFocusBorder): Make border with insets of (1,1,1,1).
26949 (BasicComboBoxRenderer): Make renderer opaque.
26950 No need to explicitly set alignment.
26951 (getListCellRendererComponent): Rewritten to correctly initialize
26954 2006-03-17 Roman Kennke <kennke@aicas.com>
26956 * javax/swing/JPopupMenu.java
26957 (setVisible): Handle JPopupMenu opening and closing via
26958 the MenuSelectionHandler.
26960 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26962 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26963 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26964 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26966 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26967 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26968 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26969 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26970 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26971 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26972 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26973 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26974 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26975 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26977 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26979 * java/rmi/activation/Activatable.java: Implemented.
26980 java/rmi/activation/ActivationDesc.java: Implemented.
26981 java/rmi/activation/ActivationGroup.java: Implemented.
26982 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26983 java/rmi/activation/ActivationID.java: Implemented.
26984 java/rmi/activation/ActivationSystem.java: Implemented.
26985 * gnu/java/rmi/server/UnicastServerRef.java
26986 (exportObject, incommingMessageCall): Documented.
26987 * java/rmi/activation/package.html: Documented.
26988 * java/rmi/server/ObjID.java (objNum, space): Made package
26990 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26991 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26993 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26994 gnu/java/rmi/activation/BidiTable.java: New file.
26995 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26996 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26997 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26999 2006-03-17 Mark Wielaard <mark@klomp.org>
27001 * java/security/BasicPermission.java (BasicPermission): Check
27002 name equals empty string to force NullPointerException.
27004 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27007 Commit patch by Caolan McNamara <caolanm@redhat.com>
27008 * javax/swing/Spring.java: Complete implementation
27009 * javax/swing/SpringLayout.java: Likewise.
27011 2006-03-16 Keith Seitz <keiths@redhat.com>
27013 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27015 (run): Remove catch clause for InterruptedException. It is no
27018 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27021 (getFontMetrics): Handle monospaced fonts specially.
27023 2006-03-16 Keith Seitz <keiths@redhat.com>
27025 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27026 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27027 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27028 Don't suspend the current thread unless it is not part of the JDWP
27031 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27033 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27035 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27036 font metrics through toolkit.
27037 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27040 (getFontMetrics): To calculate Java logical ascent and descent
27041 values, average Pango ink and logical values.
27043 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
27045 * java/lang/Character.java: Updated header comment.
27047 2006-03-16 Tom Tromey <tromey@redhat.com>
27049 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27051 * javax/sound/sampled/FloatControl.java: Now abstract.
27052 * javax/sound/sampled/EnumControl.java: Now abstract.
27053 * javax/sound/sampled/CompoundControl.java: Now abstract.
27054 * javax/sound/sampled/BooleanControl.java: Now abstract.
27056 2006-03-16 Tom Tromey <tromey@redhat.com>
27058 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27060 2006-03-16 Roman Kennke <kennke@aicas.com>
27062 * java/util/zip/ZipFile.java
27063 (openFile): New helper method.
27064 (ZipFile): Use new openFile method to ensure the proper
27065 exception is thrown. This applies for all overloaded constructors.
27067 2006-03-16 Roman Kennke <kennke@aicas.com>
27069 * java/text/DateFormatSymbols.java
27070 (setAmPmStrings): Added null check and throw NPE.
27071 (setEras): Likewise.
27072 (setLocalPatternChars): Likewise.
27073 (setMonths): Likewise.
27074 (setShortMonths): Likewise.
27075 (setShortWeekdays): Likewise.
27076 (setWeekdays): Likewise.
27077 (setZoneStrings): Likewise.
27079 2006-03-16 Roman Kennke <kennke@aicas.com>
27081 * javax/swing/DefaultDesktopManager.java
27082 (iconifyFrame): Repaint after removing the frame.
27083 (removeIconFor): Repaint after removing the icon.
27085 2006-03-16 Roman Kennke <kennke@aicas.com>
27087 * javax/swing/JInternalFrame.java
27088 (remove): Respect the rootPaneCheckingEnabled flag here.
27090 2006-03-16 Roman Kennke <kennke@aicas.com>
27092 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27093 Moved from examples into gnu.javax.swing.. namespace.
27094 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27095 Moved to gnu.javax.swing.. namespace.
27096 * examples/gnu/classpath/examples/swing/Demo.java:
27097 (themesMenu): New field. Used to disable theme switch in
27099 (mkMenuBar): Added L&F menu.
27100 (ChangeThemeAction.actionPerformed): Only switch theme when
27102 (ChangeLAFAction): New class used for changing themes.
27103 * javax/swing/UIManager.java
27104 (installed): Added GNU L&F as installed L&F.
27106 2006-03-16 Mark Wielaard <mark@klomp.org>
27108 * examples/gnu/classpath/examples/swing/badge.png: Removed.
27109 * examples/gnu/classpath/examples/icons/badge.png: Added.
27110 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27111 from icon directory.
27113 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27115 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27117 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27118 * examples/gnu/classpath/examples/awt/Demo.java: Add
27119 AnimationApplet demo.
27120 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27123 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27126 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27128 (handleEvent): Likewise.
27129 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27131 (beginNativeRepaint): Remove method.
27132 (endNativeRepaint): Likewise.
27133 (handleEvent): Call paintComponent and updateComponent.
27134 (paintComponent): New method.
27135 (updateComponent): Likewise.
27136 (repaint): Return early if width or height is less than one.
27137 (postExposeEvent): Remove isInRepaint reference.
27138 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27140 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27141 from GtkWindowPeer.
27142 (postMouseEvent): Likewise.
27143 (postExposeEvent): Likewise.
27144 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27145 Override to do nothing.
27146 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27147 from GtkWindowPeer.
27148 (postMouseEvent): Likewise.
27149 (postExposeEvent): Likewise.
27150 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27151 paint and update handling from GtkComponentPeer.
27152 (updateComponent): Override to call paintComponent.
27153 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27154 gdk_flush calls with schedule_flush calls.
27155 (flush): New function.
27156 (schedule_flush): Likewise.
27158 2006-03-15 Tom Tromey <tromey@redhat.com>
27160 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27162 (BCSIterator): Likewise.
27163 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27165 (BCSSProxyServiceProvider): Likewise.
27166 (BCSSServiceProvider): Likewise.
27168 2006-03-15 Tom Tromey <tromey@redhat.com>
27170 * javax/sound/midi/Track.java (Track): New constructor.
27171 (events): Now package-private.
27172 * javax/sound/midi/MidiUnavailableException.java
27173 (MidiUnavailableException): Removed invalid constructors.
27174 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27175 * javax/sound/midi/InvalidMidiDataException.java
27176 (InvalidMidiDataException): Removed invalid constructors.
27177 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27178 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27179 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27180 (SYSTEM_EXCLUSIVE): Removed.
27181 (getDataLength): Updated.
27182 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27183 (equals): Now final
27184 (getName): Now final.
27185 (getVendor): Now final.
27186 (getDescription): Likewise.
27187 (hashCode): Likewise.
27188 (getVersion): Likewise.
27189 (toString): Likewise.
27190 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27191 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27192 (getEarlyReflectionDelay): Likewise.
27193 (getEarlyReflectionIntensity): Likewise.
27194 (getLateReflectionDelay): Likewise.
27195 (getLateReflectionIntensity): Likewise.
27196 (toString): Likewise.
27197 * javax/sound/sampled/Port.java (toString): Now final.
27198 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27199 (getLine): Likewise.
27200 (getType): Likewise.
27201 * javax/sound/sampled/Mixer.java (Info): Now protected.
27202 (getDescription): Now final.
27203 (getName): Likewise.
27204 (getVendor): Likewise.
27205 (getVersion): Likewise.
27206 (toString): Likewise.
27207 * javax/sound/sampled/Control.java: Now abstract.
27208 (Type.toString): Now final.
27210 2006-03-15 Keith Seitz <keiths@redhat.com>
27212 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27213 of this redundant variable.
27214 (LineTable): Assert that the number of line numbers and the number of
27215 code indicies is the same.
27217 2006-03-15 Tom Tromey <tromey@redhat.com>
27219 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27221 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27223 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27224 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27225 * java/util/zip/Inflater.java (end): Not deprecated.
27226 * java/util/zip/Deflater.java (end): Not deprecated.
27227 * java/text/Bidi.java (Bidi): Now final.
27228 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27230 2006-03-15 Keith Seitz <keiths@redhat.com>
27232 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27233 (Location): Index is a long, not an int.
27234 (getMethod): New method.
27235 (getIndex): New method.
27236 (toString): New method.
27238 2006-03-15 Tom Tromey <tromey@redhat.com>
27240 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27241 * java/awt/image/LookupOp.java (filter): Now final.
27242 (getBounds2D): Likewise.
27243 (getPoint2D): Likewise.
27244 (getTable): Likewise.
27245 (getRenderingHints): Likewise.
27246 * java/awt/image/ConvolveOp.java (filter): Now final.
27247 (getBounds2D): Likewise.
27248 (getKernel): Likewise.
27249 (getPoint2D): Likewise.
27250 (getRenderingHints): Likewise.
27251 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27252 (getMatrix): Likewise.
27253 (getBounds2D): Likewise.
27254 (getRenderingHints): Likewise.
27255 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27256 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27258 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27260 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27262 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27264 2006-03-15 Keith Seitz <keiths@redhat.com>
27266 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27268 (matches): Implement.
27270 2006-03-15 Keith Seitz <keiths@redhat.com>
27272 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27274 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27276 2006-03-15 Tom Tromey <tromey@redhat.com>
27278 * java/lang/StrictMath.java (signum): New methods.
27280 2006-03-15 Tom Tromey <tromey@redhat.com>
27282 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27284 2006-03-15 Lillian Angel <langel@redhat.com>
27287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27288 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27289 Added check to avoid segmentation fault.
27291 2006-03-15 Lillian Angel <langel@redhat.com>
27293 * java/awt/Container.java
27294 (getComponentAt): Fixed documentation.
27295 (getComponentAt): Likewise.
27297 2006-03-15 Roman Kennke <kennke@aicas.com>
27299 * javax/swing/JComponent.java
27300 (dragBuffer): New field.
27301 (dragBufferInitialized): New field.
27302 (paint): Added facility for buffered dragging of components.
27303 (initializeDragBuffer): New method.
27304 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27306 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27307 (BorderListener.mouseDragged): Turn on buffered dragging.
27308 (BorderListener.mouseReleased): Turn off buffered dragging.
27310 2006-03-15 Lillian Angel <langel@redhat.com>
27312 * java/awt/Container.java
27313 (getComponentAt): Fixed documentation.
27314 (getComponentAt): Likewise.
27315 (findComponentAt): Likewise.
27316 (findComponentAt): Likewise.
27318 2006-03-15 Roman Kennke <kennke@aicas.com>
27320 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27321 (PropertyChangeHandler.propertyChange): Call enableActions().
27322 Fixed 'iconable' property name.
27324 2006-03-15 Chris Burdess <dog@gnu.org>
27327 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27329 2006-03-15 Roman Kennke <kennke@aicas.com>
27331 * examples/gnu/classpath/examples/swing/Demo.java:
27332 (desktop): New field.
27333 (mkMenuBar): Added new subdemos.
27334 (mkButtonWorld): Removed.
27335 (CheckCellRenderer): Moved to ListDemo.
27336 (LabelCellRenderer): Moved to ListDemo.
27337 (mkTreeWorld): Moved to TreeDemo.
27338 (mkDesktopWorld): Removed.
27339 (mkTabWorld): Moved to TabbedPaneDemo.
27340 (mkTabbedPane): Removed.
27341 (Demo): Replaced 'worlds' tabbed pane with desktop.
27342 (PopupAction): Made class non-static.
27343 (PopupAction.actionPerformed): Bring up subdemos in internal
27345 (mkButtonBar): Added new demos.
27346 (createDesktop): New method.
27347 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27348 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27349 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27350 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27351 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27353 2006-03-15 Lillian Angel <langel@redhat.com>
27355 * java/awt/Container.java
27356 (getComponentAt): Fixed mistake in comments.
27357 (getComponentAt): Likewise.
27358 (locate): Likewise. Also, handled lightweight components.
27359 Heavyweights take precedence over lightweights, so we should
27360 iterate through the heavyweights first.
27362 2006-03-15 Lillian Angel <langel@redhat.com>
27364 * java/awt/Container.java
27365 (getComponentAt): Added API documentation.
27366 (getComponentAt): Likewise.
27367 (locate): Likewise. Also, removed lines to ignore
27368 invisible components.
27369 (findComponentAt): Added API documentation.
27370 (findComponentAt): Added API documentation.
27371 (findComponentForMouseEvent): Removed, never used.
27373 2006-03-15 Roman Kennke <kennke@aicas.com>
27375 * javax/swing/Popup.java
27376 (LightweightPopup.show): Repaint the panel after showing it.
27378 2006-03-15 Lillian Angel <langel@redhat.com>
27380 * java/awt/Component.java
27381 (show): repaint should only be called if the component
27382 isShowing and isLightweight.
27384 2006-03-15 Roman Kennke <kennke@aicas.com>
27386 * javax/swing/JInternalFrame.java
27387 (setClosable): Made this property bound.
27388 (setResizable): Made this property bound.
27389 (setIconifiable): Made this property bound.
27390 (setMaximizable): Made this property bound.
27392 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27394 * javax/swing/table/TableColumn.java
27395 (sizeWidthToFit): Implemented.
27397 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27399 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27400 (setIdentifier): Fire required PropertyChangeEvent,
27401 (setCellEditor): Likewise.
27403 2006-03-15 Roman Kennke <kennke@aicas.com>
27405 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27406 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27407 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27408 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27409 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27410 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27411 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27412 * examples/gnu/classpath/examples/swing/TableDemo.java,
27413 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27414 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27415 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27416 * examples/gnu/classpath/examples/swing/Demo.java:
27417 Cleaned up. Reworked handling of Sub-demos to load lazily.
27418 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27419 New interface. Used for loading the subdemos lazily.
27421 2006-03-15 Roman Kennke <kennke@aicas.com>
27423 * javax/swing/plaf/basic/BasicToolBarUI.java
27424 (PropertyListener.propertyChange): Added null check to avoid NPE.
27426 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27428 * javax/swing/table/TableColumn.java
27429 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27431 (minWidth): Likewise,
27432 (preferredWidth): Likewise,
27433 (maxWidth): Likewise,
27434 (headerRenderer): Likewise,
27435 (cellRenderer): Likewise,
27436 (cellEditor): Likewise,
27437 (changeSupport): Likewise,
27438 (firePropertyChange(String, Object, Object)): Removed,
27439 (firePropertyChange(String, int. int)): Likewise,
27440 (firePropertyChange(String, boolean, boolean)): Likewise,
27441 (setModelIndex): Fire property change,
27442 (setHeaderValue): Call changeSupport directly to generate event,
27443 (setHeaderRenderer): Likewise,
27444 (setCellRenderer): Likewise,
27445 (setWidth): Likewise,
27446 (setPreferredWidth): Likewise,
27447 (setMinWidth): Likewise,
27448 (setMaxWidth): Likewise,
27449 (createDefaultHeaderRenderer): Added API docs.
27451 2006-03-14 Roman Kennke <kennke@aicas.com>
27453 * examples/gnu/classpath/examples/swing/Demo.java
27454 Removed static initializer.
27455 (mkMenuBar): Made method non-static. Added themes menu.
27456 (ChangeThemeAction): New inner class, used to change themes.
27458 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27460 * javax/swing/table/TableColumn.java
27461 (setMaxWidth): Updated width and preferredWidth if necessary,
27462 (getMaxWidth): Updated API docs.
27464 2006-03-14 Roman Kennke <kennke@aicas.com>
27466 * javax/swing/plaf/basic/BasicSliderUI.java
27467 (TrackListener.mouseDragged): Only process event when slider is
27469 (TrackListener.mouseReleased): Only process event when slider is
27471 (TrackListener.mousePressed): Only process event when slider is
27474 2006-03-14 Roman Kennke <kennke@aicas.com>
27476 * NEWS: Added note about OceanTheme support.
27478 2006-03-14 Roman Kennke <kennke@aicas.com>
27480 * javax/swing/plaf/metal/MetalIconFactory.java
27481 (HorizontalSliderThumbIcon.gradientMask): New field
27482 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27484 (VerticalSliderThumbIcon.gradientMask): New field
27485 (VerticalSliderThumbIcon.paintIcon): Added support for the
27487 * javax/swing/plaf/metal/MetalUtils.java
27488 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27489 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27491 2006-03-14 Mark Wielaard <mark@klomp.org>
27494 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27495 of handleMouseEvent.
27496 (handleMouseEvent): Return boolean to indicate whether we handled the
27497 event by passing it to a lightweight.
27499 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27501 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27502 * org/omg/PortableServer/ServantActivatorPOA.java,
27503 * org/omg/PortableServer/ServantLocatorPOA.java:
27504 Make class abstract and minor api docs fixlets.
27505 * org/omg/PortableServer/ForwardRequest.java,
27506 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27507 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27508 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27509 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27510 * org/omg/PortableServer/POAPackage/NoServant.java,
27511 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27512 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27513 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27514 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27515 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27516 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27517 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27518 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27519 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27520 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27522 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27524 * NEWS: Added entry about printing support.
27526 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27528 * javax/swing/table/TableColumn.java
27529 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27530 (isResizable): Likewise,
27531 (setWidth): Likewise,
27532 (getWidth): Likewise,
27533 (setPreferredWidth): Likewise,
27534 (getPreferredWidth): Likewise,
27535 (setMinWidth): Check for negative argument and update width and
27536 preferredWidth if necessary,
27537 (getMinWidth): Updated API docs.
27539 2006-03-14 Lillian Angel <langel@redhat.com>
27541 * java/awt/Container.java
27542 (addImpl): Removed call to repaint. No need to repaint here.
27544 2006-03-14 Roman Kennke <kennke@aicas.com>
27546 * javax/swing/plaf/metal/MetalSliderUI.java
27547 (paintTrack): Added OceanTheme support.
27549 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27551 * javax/swing/table/TableColumn.java
27552 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27553 (isResizable): Updated API docs.
27555 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27557 * javax/swing/LookAndFeel.java: Updated API docs.
27559 2006-03-14 Roman Kennke <kennke@aicas.com>
27561 * javax/swing/plaf/metal/MetalUtils.java
27562 (paintGradient): Added support for 'masked' gradients.
27563 (paintHorizontalGradient): Likewise.
27564 (paintVerticalGradient): Likewise.
27565 * javax/swing/plaf/metal/MetalIconFactory.java
27566 (RadioButtonIcon.gradientMask): New field.
27567 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27569 2006-03-14 Mark Wielaard <mark@klomp.org>
27572 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27574 (removeActionListener): Add listener to ComboBoxEditorListener.
27575 (removeActionListener): Remove listener from ComboBoxEditorListener.
27576 (ComboBoxEditorListener): New static helper class.
27578 2006-03-14 Roman Kennke <kennke@aicas.com>
27580 * javax/swing/plaf/metal/MetalBorders.java
27581 (getToolBarButtonBorder): Don't create a UIResource border
27583 * javax/swing/plaf/metal/MetalToolBarUI.java
27584 (installUI): New overridden method. Installs the rollover property.
27585 (uninstallUI): New overridden method. Resets the rollover property.
27586 * javax/swing/plaf/metal/MetalUtils.java
27587 (paintGradient): Fetch Float values from the UIManager. Adjusted
27588 method signatures accordingly.
27589 (paintHorizontalGradient): Adjusted signature to accept float
27591 (paintVerticalGradient): Adjusted signature to accept float
27593 * javax/swing/plaf/metal/OceanTheme.java
27594 (addCustomEntriesToTable): Added missing UIDefaults entries,
27595 except of Icons. Fixed gradient entries to use Float instead
27598 2006-03-14 Roman Kennke <kennke@aicas.com>
27600 * javax/swing/JInternalFrame.java
27601 (JInternalFrame): Make JInternalFrame opaque.
27602 * javax/swing/JToolBarFrame.java
27603 (JToolBar): Make JToolBar opaque.
27605 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27607 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27608 * javax/swing/tree/TreePath.java: Likewise.
27610 2006-03-13 Tom Tromey <tromey@redhat.com>
27612 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27614 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27615 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27617 2006-03-13 Keith Seitz <keiths@redhat.com>
27619 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27620 (executeMethods): Output number of methods.
27622 2006-03-13 Roman Kennke <kennke@aicas.com>
27624 * javax/swing/plaf/basic/BasicButtonUI.java
27625 (uninstallDefaults): Only uninstall border if it's a UIResource.
27626 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27627 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27628 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27629 (installUI): Don't touch the opaque flag of the glassPane and
27630 the frame. Don't invalidate.
27631 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27632 (installUI): Don't touch the opaque flag of the glassPane.
27633 * javax/swing/plaf/basic/BasicMenuBarUI.java
27634 (properyChangeListener): Made field private.
27635 (ChangeHandler): Made class private.
27636 (ContainerHandler): Made class private.
27637 (PropertyChangeHandler): Made class private.
27638 * javax/swing/plaf/basic/BasicMenuUI.java
27639 (MenuHandler): Made class private.
27640 (PropertyChangeHandler): Removed unneeded class.
27641 (MenuDragMouseHandler): Made class private.
27642 (MenuKeyHandler): Made class private.
27643 * javax/swing/plaf/basic/BasicPanelUI.java
27644 (installDefaults): Made method protected. Don't set opaque
27646 * javax/swing/plaf/basic/BasicScrollBarUI.java
27647 (TrackListener.shouldScroll): Made method private.
27648 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27649 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27650 Made constructor package private.
27651 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27652 (cellBorder): Made field private.
27653 * javax/swing/plaf/basic/BasicTextUI.java
27654 (installDefaults): Don't make component opaque.
27655 * javax/swing/plaf/basic/BasicToolBarUI.java
27656 (createNonRollOverBorder): Don't create UIResource border.
27657 (createRollOverBorder): Don't create UIResource border.
27658 (installComponents): Moved setRolloverBorders call here.
27659 (installDefaults): Moved setRolloverBorders call from here.
27660 (installUI): Don't make toolbar opaque.
27661 (setBorderToNonRollover): Handle AbstractButton instead of
27663 (uninstallComponents): Don't nullify class fields here.
27665 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27667 * javax/swing/SwingUtilities.java
27668 (calculateInnerArea): handle null component, and replace
27669 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27672 2006-03-13 Roman Kennke <kennke@aicas.com>
27674 * javax/swing/JColorChooser.java
27675 (updateUI): Don't call revalidate().
27676 * javax/swing/JComboBox.java
27677 (updateUI): Don't call invalidate().
27678 * javax/swing/JDesktopPane.java
27679 (updateUI): Don't call invalidate().
27680 * javax/swing/JFileChooser.java
27681 (updateUI): Don't call revalidate().
27682 * javax/swing/JMenu.java
27683 (updateUI): Don't call invalidate().
27684 * javax/swing/JMenuBar.java
27685 (updateUI): Don't call invalidate().
27686 * javax/swing/JMenuItem.java
27687 (updateUI): Don't call invalidate().
27688 * javax/swing/JOptionPane.java
27689 (updateUI): Don't call invalidate().
27690 * javax/swing/JPopupMenu.java
27691 (updateUI): Don't call invalidate().
27692 * javax/swing/JProgressBar.java
27693 (updateUI): Don't call invalidate().
27694 * javax/swing/JScrollBar.java
27695 (updateUI): Don't call invalidate() and repaint().
27696 * javax/swing/JScrollPane.java
27697 (updateUI): Rewritten to be like the other updateUI()
27699 * javax/swing/JSlider.java
27700 (updateUI): Don't call invalidate() and repaint().
27701 * javax/swing/JSplitPane.java
27702 (updateUI): Don't call invalidate() and repaint().
27703 * javax/swing/JTabbedPane.java
27704 (updateUI): Don't call invalidate().
27705 * javax/swing/JTable.java
27706 (updateUI): Don't call revalidate() and repaint().
27707 * javax/swing/JToolBar.java
27708 (updateUI): Don't call revalidate() and repaint().
27709 * javax/swing/JToolTip.java
27710 (updateUI): Don't call revalidate() and repaint().
27712 2006-03-13 Roman Kennke <kennke@aicas.com>
27714 * javax/swing/SwingUtilities.java
27715 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27716 menus and non-Swing components is improved.
27717 (updateComponentTreeUIImpl): New helper method.
27718 (replaceUIActionMap): Added check for uiActionMap==parent to
27720 (replaceUIInputMap): Added check for uiInputMap==parent to
27723 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27725 * gnu/classpath/debug/Component.java:
27726 (IPP) New component for IPP debugging.
27727 (EVERYTHING): Adapted to include IPP.
27728 * javax/print/PrintServiceLookup.java:
27729 (registerServiceProvider): New method.
27730 (registerService): Likewise.
27731 (lookupPrintServices): Likewise.
27732 (lookupMultiDocPrintServices): Likewise.
27733 (lookupDefaultPrintService): Likewise.
27734 (static_initializer): Likewise.
27735 (printServiceLookups): New field for found service providers.
27736 (printServices): New field for application registered providers.
27737 (systemProvider): New field for the system provider.
27738 * javax/print/ServiceUI.java: New file.
27739 * javax/print/package.html: Added more usage content.
27740 * javax/print/event/package.html: Likewise.
27741 * javax/print/attribute/package.html: Likewise.
27742 * javax/print/attribute/standard/package.html: Likewise.
27743 * gnu/javax/print/PrintUriException.java,
27744 gnu/javax/print/PrintFlavorException.java,
27745 gnu/javax/print/PrinterDialog.java,
27746 gnu/javax/print/PrintAttributeException.java,
27747 gnu/javax/print/CupsPrintServiceLookup.java,
27748 gnu/javax/print/CupsServer.java,
27749 gnu/javax/print/CupsPrintService.java,
27750 gnu/javax/print/CupsMediaMapping.java,
27751 gnu/javax/print/CupsIppOperation.java:
27752 New implementation files of the Java Print Service API.
27753 * gnu/javax/print/ipp/IppValueTag.java,
27754 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27755 gnu/javax/print/ipp/IppStatusCode.java,
27756 gnu/javax/print/ipp/IppUtilities.java,
27757 gnu/javax/print/ipp/IppResponse.java,
27758 gnu/javax/print/ipp/IppException.java,
27759 gnu/javax/print/ipp/IppPrintService.java,
27760 gnu/javax/print/ipp/IppRequest.java,
27761 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27762 gnu/javax/print/ipp/IppDelimiterTag.java,
27763 gnu/javax/print/ipp/DocPrintJobImpl.java:
27764 New files of the IPP client implementation.
27765 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27766 gnu/javax/print/ipp/attribute/StatusMessage.java,
27767 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27768 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27769 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27770 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27771 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27772 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27773 New attribute syntax/role files of the printing implementation.
27774 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27775 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27776 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27777 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27778 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27779 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27780 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27781 gnu/javax/print/ipp/attribute/supported/
27782 OrientationRequestedSupported.java,
27783 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27784 gnu/javax/print/ipp/attribute/supported/
27785 MultipleDocumentHandlingSupported.java,
27786 gnu/javax/print/ipp/attribute/supported/
27787 MultipleDocumentJobsSupported.java,
27788 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27789 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27790 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27791 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27792 gnu/javax/print/ipp/attribute/supported/
27793 GeneratedNaturalLanguageSupported.java,
27794 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27795 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27796 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27797 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27798 New supported attribute files.
27799 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27800 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27801 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27802 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27803 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27804 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27805 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27806 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27807 New printer description attribute files.
27808 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27809 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27810 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27811 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27812 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27813 gnu/javax/print/ipp/attribute/job/JobId.java,
27814 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27815 gnu/javax/print/ipp/attribute/job/JobUri.java,
27816 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27817 New job description attribute files.
27818 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27819 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27820 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27821 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27822 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27823 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27824 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27825 gnu/javax/print/ipp/attribute/defaults/
27826 MultipleDocumentHandlingDefault.java,
27827 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27828 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27829 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27830 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27831 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27832 New default printing attribute files.
27833 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27834 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27835 * examples/gnu/classpath/examples/print/Demo.java:
27836 New demo application of the current implemented functionality.
27838 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27840 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27841 java/rmi/activation/ActivationDesc.java.java,
27842 java/rmi/activation/ActivationGroup.java,
27843 java/rmi/activation/ActivationID.java,
27844 java/rmi/activation/ActivationMonitor.java,
27845 java/rmi/activation/ActivationSystem.java,
27846 java/rmi/activation/package.html: Documenting.
27848 2006-03-13 Roman Kennke <kennke@aicas.com>
27850 * javax/swing/JInternalFrame.java
27851 (setSelected): Repaint frame when it is showing and the selection
27854 2006-03-13 Roman Kennke <kennke@aicas.com>
27856 * javax/swing/AbstractButton.java
27857 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27860 2006-03-13 Roman Kennke <kennke@aicas.com>
27862 * javax/accessibility/AccessibleContext.java
27863 (getAccessibleRelationSet): Return empty set instead of null.
27865 2006-03-13 Roman Kennke <kennke@aicas.com>
27867 * javax/swing/ImageIcon.java
27868 (loadImage): Remove completed images from the MediaTracker. This
27869 avoids a potential memory leak.
27871 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27873 * javax/print/MultiDocPrintService.java,
27874 * javax/print/MultiDocPrintJob.java,
27875 * javax/print/MultiDoc.java: Added and enhanced documentation.
27877 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27879 * java/rmi/activation/ActivationID.java (uid): New field.
27880 (writeExternal, readExternal): New methods.
27881 (equals, hashCode): Rewritten.
27882 * java/rmi/activation/ActivationInstantiator.java,
27883 * java/rmi/activation/ActivationSystem.java,
27884 * java/rmi/activation/Activator.java,
27885 * java/rmi/activation/Activatable.java,
27886 * java/rmi/activation/ActivationGroup.java,
27887 * java/rmi/activation/ActivationGroupDesc.java:
27888 Documented and autoformatted.
27889 * java/rmi/activation/package.html: Added content.
27891 2006-03-12 Chris Burdess <dog@gnu.org>
27894 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27895 encoding are specified.
27897 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27899 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27900 (changeEvent): Initialise in fireStateChange(),
27901 (setSelectedIndex): Check if change is made before firing event,
27902 (clearSelection): Delegate to setSelectedIndex(),
27903 (fireStateChanged): Initialise changeEvent if necessary,
27904 * javax/swing/SingleSelectionModel.java: API docs all over.
27906 2006-03-11 Tom Tromey <tromey@redhat.com>
27908 * java/util/zip/InflaterInputStream.java: Reverted previous
27911 2006-03-11 Mark Wielaard <mark@klomp.org>
27913 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27916 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27918 * javax/swing/event/TreeSelectionEvent.java
27919 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27920 not one of the added/removed paths,
27921 (cloneWithSource): Reformatted.
27923 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27925 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27926 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27928 2006-03-10 Casey Marshall <csm@gnu.org>
27931 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27933 (doFinal, update): new methods.
27934 (init, init, init, init): initialize `state' after trying the
27935 implementation, which can throw an exception.
27936 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27939 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27941 * gnu/regexp/BacktrackStack.java: New file.
27942 * gnu/regexp/RE.java(findMatch): New method.
27943 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27944 REMatchList): Removed. (backtrackStack): New field.
27945 * gnu/regexp/REToken.java(match): Changed from an abstract
27946 method to an ordinary method defined with the new method
27947 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27948 findFixedLengthMatches, backtrack, toString): New methods.
27949 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27950 * gnu/regexp/RETokenBackRef.java: Likewise.
27951 * gnu/regexp/RETokenChar.java: Likewise.
27952 * gnu/regexp/RETokenEnd.java: Likewise.
27953 * gnu/regexp/RETokenEndSub.java: Likewise.
27954 * gnu/regexp/RETokenIndependent.java: Likewise.
27955 * gnu/regexp/RETokenLookAhead.java: Likewise.
27956 * gnu/regexp/RETokenLookBehind.java: Likewise.
27957 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27958 * gnu/regexp/RETokenPOSIX.java: Likewise.
27959 * gnu/regexp/RETokenRange.java: Likewise.
27960 * gnu/regexp/RETokenStart.java: Likewise.
27961 * gnu/regexp/RETokenWordBoundary.java: Likewise
27962 * gnu/regexp/RETokenOneOf.java: Rewriten.
27963 * gnu/regexp/RETokenRepeated.java: Rewriten.
27965 2006-03-10 Roman Kennke <kennke@aicas.com>
27967 * javax/swing/plaf/metal/MetalBorders.java
27968 (RolloverButtonBorder.paintBorder): Only call super here.
27969 * javax/swing/plaf/metal/MetalButtonListener.java
27970 (propertyChange): Only call super here.
27971 * javax/swing/plaf/metal/MetalButtonUI.java
27972 (update): Changed condition from isOpaque() to isContentAreaFilled()
27973 for the gradient fill.
27974 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27975 (paintText): API doc fix. Makes paintText not deprecated as specified
27976 but adds comment that this is obsolete.
27977 * javax/swing/plaf/metal/MetalUtils.java
27978 (fillMetalPattern): Fixed condition so that the Java2D is not
27979 used when the noGraphics2D property is set.
27981 2006-03-10 Roman Kennke <kennke@aicas.com>
27983 * javax/swing/plaf/metal/MetalLookAndFeel.java
27984 (createDefaultTheme): Set OceanTheme as default metal theme.
27986 2006-03-10 Roman Kennke <kennke@aicas.com>
27988 * javax/swing/text/WrappedPlainView.java
27989 (metrics): Made field package private to avoid accessor method.
27990 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27991 The drawLine (righly) interprets the y parameter as the baseline.
27992 * javax/swing/text/Utilities.java
27993 (getBreakLocation): Don't consider the offset. The returned value
27994 for getTabbedTextOffset is already relative to the offset.
27996 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27998 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27999 (dateFormat): Made private.
28000 (put): Replace only the last occurance and the value.
28001 (putAll): Save one iteration. Clarified documentation.
28003 2006-03-10 Tom Tromey <tromey@redhat.com>
28005 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28007 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28010 2006-03-10 Lillian Angel <langel@redhat.com>
28012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28013 (comboboxgroup_get_widget): New function.
28014 (removed): Fixed to use new function to get the correct widget.
28015 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28016 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28019 2006-03-10 Lillian Angel <langel@redhat.com>
28021 * java/awt/GridBagLayout.java
28022 (ArrangeGrid): Added checks to determine if component
28023 is placed last in a row or column. If so, the location
28024 of the last component should be used to get the location
28025 of the current component.
28027 2006-03-10 Lillian Angel <langel@redhat.com>
28029 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28030 (nativeSetCheckboxGroup): No need to use new function here.
28031 Should just pass in pointer.
28033 2006-03-10 Lillian Angel <langel@redhat.com>
28035 * java/awt/GridBagLayout.java
28036 (distributeSizeAndWeight): Change else if to else. This
28037 allows for components to be added to a new row when
28038 their gridheight is REMAINDER.
28040 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28042 * java/rmi/activation/ActivationDesc.java,
28043 java/rmi/activation/ActivationGroupID.java,
28044 java/rmi/activation/Activator.java,
28045 java/rmi/server/Operation.java,
28046 java/rmi/server/RemoteServer.java: Documented and formatted.
28048 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28050 * javax/swing/JToggleButton.java: Fixed API doc tags,
28051 * javax/swing/OverlayLayout.java: Likewise.
28053 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28055 * javax/swing/DefaultCellEditor.java
28056 (cancelCellEditing): Removed spurious API doc tag.
28058 2006-03-10 Lillian Angel <langel@redhat.com>
28060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28061 (create): Put checkbox widget into an event box so it paints properly.
28062 (connectSignals): Fixed to use new function.
28063 (nativeSetCheckboxGroup): Likewise.
28064 (gtkToggleButtonSetActive): Likewise.
28065 (gtkWidgetModifyFont): Likewise.
28066 (gtkButtonSetLabel): Likewise.
28067 (combobox_get_widget): New function.
28069 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28071 * javax/swing/text/rtf/package.html: New file.
28073 2006-03-10 Roman Kennke <kennke@aicas.com>
28075 * javax/swing/plaf/metal/OceanTheme.java
28076 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28077 * javax/swing/plaf/metal/MetalScrollBarUI.java
28078 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28079 (paintThumbHorizontal): Added handling of OceanTheme.
28080 (paintThumbVertical): Added handling of OceanTheme.
28082 2006-03-10 Roman Kennke <kennke@aicas.com>
28084 Reported by Fridjof Siebert <siebert@aicas.com>
28085 * java/awt/MediaTracker.java
28086 (removeImage): Only set prev to e when the the images of the
28087 entries are not the same. This avoids a potentially corrupt list.
28089 2006-03-10 Chris Burdess <dog@gnu.org>
28092 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28093 checking while reindenting.
28095 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
28097 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28099 2006-03-09 Tom Tromey <tromey@redhat.com>
28101 PR classpath/26585:
28102 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28103 subdir. Added README.
28104 (install-data-local): Removed.
28105 (uninstall-local): Likewise.
28106 (EXTRA_DIST): Removed.
28108 2006-03-09 Tom Tromey <tromey@redhat.com>
28110 PR classpath/26623:
28111 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28113 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28115 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28117 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28119 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28121 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28123 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28125 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28127 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28129 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28131 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28132 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28134 2006-03-09 Keith Seitz <keiths@redhat.com>
28136 * gnu/classpath/jdwp/processor/MethodCommandSet.java
28137 (executeVariableTable): Use VMMethod instead of reflection.
28138 (executeLineTable): Likewise.
28139 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28140 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28141 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28142 (getLineTable): Removed. Now resides in VMMethod.
28143 (getVarTable): Likewise.
28144 (getAllClassMethods): New method.
28146 2006-03-09 Keith Seitz <keiths@redhat.com>
28148 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28149 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28150 (ThreadStartEvent): Likewise.
28151 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28152 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28153 (ConditionalFilter): Likewise.
28154 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28155 (ExceptionOnlyFilter): Likewise.
28156 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28157 (FieldOnlyFilter): Likewise.
28158 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28159 (getSize): Likewise.
28160 (StepFilter): Likewise.
28161 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28162 * gnu/classpath/jdwp/transport/JdwpPacket.java
28163 (JdwpPacket): Likewise.
28164 (fromBytes): Likewise.
28165 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28166 (JdwpReplyPacket): Likewise.
28167 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28168 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28169 (getReferenceType): Likewise.
28170 (newObjectId): Likewise.
28171 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28172 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28173 (getFrames): Fix typo in parameter name and update javadoc.
28174 (getClassMethod): Update javadoc.
28176 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28178 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28179 * javax/swing/event/TreeSelectionListener.java: Likewise.
28181 2006-03-09 Lillian Angel <langel@redhat.com>
28183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28184 (getHScrollbarHeight): Fixed property name.
28185 (getVScrollbarHeight): Likewise.
28187 2006-03-09 Lillian Angel <langel@redhat.com>
28189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28190 (get_widget): New function.
28191 (gtkWidgetSetParent): Changed to use new function.
28192 (gtkWidgetSetCursorUnlocked): Likewise.
28193 (gtkWidgetSetSensitive): Likewise.
28194 (gtkWidgetRequestFocus): Likewise.
28195 (gtkWindowGetLocationOnScreen): Likewise.
28196 (gtkWidgetGetDimensions): Likewise.
28197 (gtkWidgetGetPreferredDimensions): Likewise.
28198 (setNativeBounds): Likewise.
28199 (gtkWidgetGetBackground): Likewise.
28200 (gtkWidgetGetForeground): Likewise.
28201 (gtkWidgetSetBackground): Likewise.
28202 (gtkWidgetSetForeground): Likewise.
28203 (setVisibleNativeUnlocked): Likewise.
28204 (isEnabled): Likewise.
28205 (isRealized): Likewise.
28206 (setNativeEventMask): Likewise.
28208 2006-03-09 Lillian Angel <langel@redhat.com>
28211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28212 (create): Added combobox widget to an event box.
28213 (connectSignals): Added call to choice_get_widget to get the
28214 combobox out of the event box.
28215 (append): Likewise.
28216 (nativeRemoveAll): Likewise.
28217 (nativeRemove): Likwise.
28218 (nativeAdd): Likewise.
28219 (selectNative): Likewise.
28220 (choice_get_widget): New function.
28221 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28222 (create): Added list scroll window widget to an event box.
28223 (connectSignals): Changed call to use new function to get the
28224 correct widget out of the event box.
28225 (getWidgetModifyFont): Likewise.
28226 (getWidgetRequestFocus): Likewise.
28227 (append): Likewise.
28229 (delItems): Likewise.
28230 (select): Likewise.
28231 (deselect): Likewise.
28232 (getSize): Likewise.
28233 (getSelectedIndexes): Likewise.
28234 (makeVisible): Likewise.
28235 (setMultipleMode): Likewise.
28236 (list_get_widget): New function.
28237 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28238 (create): Added scrollpane to an eventbox.
28239 (setScrollPosition): Changed call to use new function to get the
28240 correct widget out of the event box.
28241 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28242 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28243 (getHScrollbarHeight): Likewise.
28244 (getVScrollbarWidth): Likewise.
28245 (setPolicy): Likewise.
28246 (scrollpane_get_widget): New function.
28247 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28248 (connectSignals): Changed call to use new function to get the
28249 correct widget out of the event box.
28250 (create): Added scrollbar to an eventbox.
28251 (setLineIncrement): Changed call to use new function to get the
28252 correct widget out of the event box.
28253 (setPageIncrement): Likewise.
28254 (setBarValues): Likewise.
28255 (scrollbar_get_widget): New function.
28256 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28257 (create): Added text area scroll window widget to an event box.
28258 (connectSignals): Changed call to use new function to get the
28259 correct widget out of the event box.
28260 (insert): Likewise.
28261 (replaceRange): Likewise.
28262 (gtkWidgetModifyFont): Likewise.
28263 (gtkWidgetRequestFocus): Likewise.
28264 (getHScrollbarHeight): Likewise.
28265 (getVScrollbarWidth): Likewise.
28266 (getCaretPosition): Likewise.
28267 (setCaretPosition):Likewise.
28268 (getSelectionStart): Likewise.
28269 (getSelectionEnd): Likewise.
28270 (select): Likewise.
28271 (setEditable): Likewise.
28272 (getText): Likewise.
28273 (setText): Likewise.
28274 (textarea_get_widget): New function.
28276 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28278 * java/rmi/dgc/VMID.java:
28279 (equals, hashCode, static initializer): Rewritten.
28280 * java/rmi/dgc/package.html: Documented.
28282 2006-03-09 Mark Wielaard <mark@klomp.org>
28284 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28286 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28287 (canCache): Likewise.
28288 (GtkClipboard): Take String argument.
28289 (getInstance): Removed.
28290 (getClipboardInstance, getSelectionInstance): New static methods.
28291 (setSystemContents): Make synchronized. Takes boolean argument.
28292 (initNativeState): Add clipboard and selection.
28293 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28294 (announceClipboardChange, announcePrimaryChange): New static field.
28295 (announce): Take GtkClipboard as argument.
28296 (run): Check which clipboard to announce change for.
28297 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28299 (GtkSelection): Take GtkClipboard as argument.
28300 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28301 clipboard argument.
28302 (requestMimeTypes): Likewise.
28303 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28305 * java/awt/Toolkit.java (getSystemSelection): Document.
28306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28307 (cp_gtk_selection_instance): New var.
28308 (current_selection, owner): Removed.
28309 (clipboard_owner_change_cb): Use clipboard argument.
28310 (initNativeState): Store clipboard and selection instances. Cache
28311 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28313 (clipboard_get_func): Use clipboard argument.
28314 (clipboard_clear_func): Likewise. Always call method.
28315 (advertiseContent): Don't cache method ids here. Check whether to
28316 use clpboard or selection. Don't set owner or current_selection.
28317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28318 (requestText, requestImage, requestURIs, requestBytes): Use extra
28319 boolean argument to select clipboard.
28320 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28321 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28322 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28323 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28325 2006-03-09 Keith Seitz <keiths@redhat.com>
28327 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28328 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28329 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28330 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28331 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28332 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28333 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28334 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28335 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28337 2006-03-09 Mark Wielaard <mark@klomp.org>
28339 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28340 bounds for index is valid.
28341 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28343 (getCellBounds): Update documentation.
28345 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28347 * .classpath: added exclude pattern on source folders
28348 (Makefiles, README and .cvsignore)
28350 2006-03-08 Michael Koch <konqueror@gmx.de>
28352 * java/net/Proxy.java (NO_PROXY): Made final.
28353 (equals): Likewise.
28354 (hashCode): Likewise.
28356 2006-03-08 Keith Seitz <keiths@redhat.com>
28358 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28359 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28360 (getClassMethod): New method.
28362 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28364 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28366 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28368 * java/rmi/server/ObjID.java: Documented and autoformatted.
28370 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28373 * tools/Makefile.am (install-data-local,
28374 uninstall-local): Install/uninstall the tools/README only.
28375 * tools/gnu/classpath/tools/giop/README: Updated.
28376 * tools/README: New file.
28378 2006-03-08 Lillian Angel <langel@redhat.com>
28380 * java/awt/GridBagLayout.java
28381 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28382 then the next item should be set to current_y (not 0).
28384 2006-03-08 Lillian Angel <langel@redhat.com>
28386 * java/awt/GridBagLayout.java
28387 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28388 in the bottom-most spot of the column, we need to place that component
28389 at the y-location of the other components in that row. If there are
28390 no other components in that row, then place it at y = 0.
28392 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28394 * javax/swing/ProgressMonitor.java: Updated API docs,
28395 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28397 2006-03-08 Michael Koch <konqueror@gmx.de>
28399 * java/net/InetSocketAddress.java
28400 (InetSocketAddress(String,int,resolve)): New private contructor.
28401 (InetSocketAddress(String,int)): Use new private constructor.
28402 (createUnresolved): New method.
28404 2006-03-07 Michael Koch <konqueror@gmx.de>
28406 * gnu/java/net/DefaultProxySelector.java,
28407 java/net/Proxy.java, java/net/ProxySelector.java:
28410 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28412 * java/rmi/server/UID.java (constructor): Assign last and time fields
28415 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28417 * java/rmi/server/UID.java: New file (replacing).
28419 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28421 * java/util/jar/Manifest.java: Removed unused imports.
28422 (CRLF): New constant.
28423 (read): Added method documentation.
28424 Use UTF-8 encoding instead of 8859_1.
28425 (write): Added method documentation.
28426 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28427 (write_main_section): Replace PrintWriter arg with OutputStream.
28428 Replace JarException with IOException.
28429 (write_version_info): Likewise.
28430 (write_main_attributes): Likewise.
28431 (write_attribute_entry): Likewise.
28432 (write_individual_sections): Likewise.
28433 (write_entry_attributes): Likewise.
28434 (write_header): Replace PrintWriter arg with OutputStream.
28437 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28439 * javax/swing/tree/DefaultMutableTreeNode.java
28440 (getFirstChild): Updated API docs,
28441 (getLastChild): Likewise,
28442 (getChildAfter): Likewise,
28443 (getChildBefore): Likewise,
28444 (isNodeSibling): Return true if node == this,
28445 (getSiblingCount): Updated API docs,
28446 (getNextSibling): Likewise,
28447 (getPreviousSibling): Likewise,
28448 (isLeaf): Likewise,
28449 (getFirstLeaf): Likewise,
28450 (getLastLeaf): Likewise,
28451 (getNextLeaf): Implemented,
28452 (getPreviousLeaf): Implemented.
28454 2006-03-07 Tom Tromey <tromey@redhat.com>
28456 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28457 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28458 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28459 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28462 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28464 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28465 (clone): Reimplemented,
28466 (add): Throw IllegalArgumentException if child is an ancestor,
28467 (remove(int)): Set child's parent to null,
28468 (remove(MutableTreeNode)): Check arguments and set child's parent to
28470 (insert): Check allowsChildren flag, check for null argument, and
28471 check for a node that is an ancestor,
28472 (getIndex): Throw IllegalArgumentException for null argument,
28473 (setAllowsChildren): If setting to false, remove existing children,
28474 (removeAllChildren): Set parent to null for removed children.
28476 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28478 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28481 2006-03-06 Tom Tromey <tromey@redhat.com>
28483 * java/lang/StrictMath.java (ulp): New methods.
28484 * java/lang/Math.java (ulp): New methods.
28486 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28488 * gnu/java/rmi/server/UnicastRef.java,
28489 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28491 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28493 * gnu/java/rmi/server/CombinedClassLoader.java
28494 (findClass, findLibrary, findResouce, findResources): check
28495 all loaders in array.
28497 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28500 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28501 (RefProtector): new inner class. (dirty): Rewritten.
28502 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28503 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28504 new methods. (readExternal): Create LeaseRenewingTask if non local.
28505 * gnu/java/rmi/server/UnicastServer.java (objects):
28506 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28507 (getExported): New method.
28508 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28510 2006-03-06 Mark Wielaard <mark@klomp.org>
28512 * doc/www.gnu.org/announce/20060306.wml: New file.
28513 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28514 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28516 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28518 * javax/swing/plaf/metal/MetalLookAndFeel.java
28519 (initComponentDefaults): Use Boolean.TRUE for
28520 'CheckBoxMenuItem.borderPainted'.
28522 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28524 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28525 (dateFormat): Made private.
28526 (put): Replace only the last occurance and the value.
28527 (putAll): Reimplemented with the put method.
28529 2006-03-06 Lillian Angel <langel@redhat.com>
28532 * java/awt/List.java
28533 (preferredSize): Return the size of the list if the peer is
28535 * gnu/java/awt/peer/gtk/GtkListPeer.java
28536 (preferredSize): Code was returning the minimum size of the
28537 list. Added adjustment to the width of the list so it is a
28540 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28542 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28543 (getRequestProperty): Remove duplicated null check.
28544 * java/net/URLConnection.java:
28545 (URLConnection): Javadoc fix.
28546 (addRequestProperty): Likewise.
28547 (getDefaultRequestProperty): Likewise.
28548 (getHeaderField): Likewise.
28549 (getHeaderFieldDate): Likewise.
28550 (getHeaderFieldKey): Likewise.
28551 (getHeaderFields): Likewise.
28552 (getRequestProperties): Likewise.
28553 (getRequestProperty): Likewise.
28554 (setDefaultRequestProperty): Likewise.
28555 (setRequestProperty): Likewise.
28557 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28559 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28560 * examples/gnu/classpath/examples/swing/Demo.java:
28561 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28563 (mkMenuBar): Added entry for text area example.
28565 2006-03-06 Tom Tromey <tromey@redhat.com>
28567 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28568 (FORMATTED_TEXT_FIELD): Likewise.
28570 2006-03-06 Tom Tromey <tromey@redhat.com>
28572 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28574 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28576 * examples/gnu/classpath/examples/swing/Demo.java:
28577 (mkMenuBar): Added menu entry that will display the VM's name,
28578 version and distributor.
28580 2006-03-06 Tom Tromey <tromey@redhat.com>
28582 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28584 (getName): Likewise.
28586 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28588 * java/util/jar/Manifest.java: Removed unused imports.
28589 (CRLF): New constant.
28590 (read): Added method documentation.
28591 Use UTF-8 encoding instead of 8859_1.
28592 (write): Added method documentation.
28593 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28594 (write_main_section): Replace PrintWriter arg with OutputStream.
28595 Replace JarException with IOException.
28596 (write_version_info): Likewise.
28597 (write_main_attributes): Likewise.
28598 (write_attribute_entry): Likewise.
28599 (write_individual_sections): Likewise.
28600 (write_entry_attributes): Likewise.
28601 (write_header): Replace PrintWriter arg with OutputStream.
28604 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28607 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28608 API doc tag warnings,
28609 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28611 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28613 * gnu/java/net/protocol/file/Connection.java (unquote):
28614 Update position in buffer after decoding a unicode character
28615 outside of the basic plane.
28617 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28619 * java/net/URI.java
28620 (quote): Pass Unicode characters outside the basic plane through.
28622 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28624 * javax/swing/plaf/basic/BasicTextUI.java:
28625 (damageRange): Rewritten if-expressions to correctly identify the
28628 2006-03-06 Mark Wielaard <mark@klomp.org>
28630 * configure.ac: Set version to 0.90-generics.
28633 2006-03-06 Mark Wielaard <mark@klomp.org>
28635 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28636 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28637 (isnan): Define explicitly isnan if it is not a macro.
28639 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28641 * javax/swing/text/GapContent.java:
28642 (insertString): Throw exception when argument is below
28645 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28647 * javax/swing/text/PlainDocument.java:
28648 (insertUpdate): Extended if-expression, added
28649 code to generate another Element when newly inserted characters
28650 and old ones will be on the same line.
28652 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28654 * javax/swing/text/DefaultCaret.java:
28655 (mouseDragged): Do selection when shift is pressed.
28656 (mouseClicked): Implemented.
28658 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28660 * javax/swing/text/PlainDocument.java: Fix copyright header,
28662 (insertUpdate): Do not copy the whole document any more, added some
28663 more variables to prevent needless method calls.
28665 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28667 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28668 is required on Darwin.
28669 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28670 (AM_CFLAGS): Likewise.
28672 2006-03-06 Mark Wielaard <mark@klomp.org>
28674 * NEWS: Add updates for 0.90 release.
28676 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28678 * javax/swing/text/GapContent.java:
28679 (insertString): Throw exception when argument is below
28682 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28685 * javax/swing/filechooser/FileFilter.java:
28686 (accept): Fixed API doc tag,
28687 (getDescription): Likewise,
28688 * javax/swing/filechooser/FileView.java:
28689 (isTraversable): Fixed API doc tag.
28691 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28693 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28694 added API docs all over.
28696 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28698 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28699 and corrected a bad API doc tag.
28701 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28703 * javax/swing/undo/StateEditable.java
28704 (restoreState): Fixed bad API doc tag,
28705 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28706 AbstractUndoableEdit.java,
28707 * javax/swing/undo/UndoableEditSupport.java
28708 (createCompoundEdit): Fixed bad API doc tag,
28709 * javax/swing/undo/UndoManager.java
28710 (editToBeUndone): Fixed bad API doc tag,
28711 (editToBeRedone): Likewise.
28713 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28715 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28716 * javax/swing/FocusManager.java: Likewise.
28719 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28722 * javax/swing/plaf/metal/MetalComboBoxButton.java
28723 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28724 JList)): Fixed API doc tag,
28725 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28726 (createLayout): Fixed API doc warning.
28728 2006-03-05 Tom Tromey <tromey@redhat.com>
28730 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28731 ClassHelper.getUserName.
28732 * vm/reference/java/lang/reflect/Method.java (toString): Use
28733 ClassHelper.getUserName.
28734 (getUserTypeName): Removed.
28735 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28736 * vm/reference/java/lang/reflect/Field.java (toString): Use
28737 ClassHelper.getUserName.
28739 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28742 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28743 Allows directories as valid resources.
28745 2006-03-05 Mark Wielaard <mark@klomp.org>
28747 * configure.ac (VERSION): Set to 0.90-pre-generics.
28748 * Merge with CVS trunk from classpath-0_90-branch-point.
28750 2006-03-04 Tom Tromey <tromey@redhat.com>
28752 * javax/swing/SpringLayout.java (Constraints): New constructor.
28753 * javax/swing/Spring.java (width): New method.
28754 (height): Likewise.
28757 2006-03-04 Mark Wielaard <mark@klomp.org>
28759 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28760 existing connection from pool before returning.
28762 2006-03-04 Mark Wielaard <mark@klomp.org>
28764 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28765 exceptions thrown by handlers while cleaning up and rethrow original
28768 2006-03-04 Tom Tromey <tromey@redhat.com>
28770 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28772 (findConstructor): Likewise.
28773 (instantiateClass): Likewise.
28775 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28777 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28778 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28779 lease value and not always the default one.
28780 (LeaseRecord): Remember the array of objects, marked as dirty.
28781 java/rmi/dgc/Lease.java: Boilerplate fix.
28783 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28785 * java/util/jar/Attributes.java (putValue): Made it public and updated
28786 method documentation.
28788 2006-03-04 Mark Wielaard <mark@klomp.org>
28790 * java/awt/Container.java (remove(int)): Always call removeNotify()
28791 on removed Component.
28793 2006-03-04 Mark Wielaard <mark@klomp.org>
28795 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28796 * javax/swing/JEditorPane.java (setText): Check for empty String
28797 with equals(), not equality (==).
28799 2006-03-04 Mark Wielaard <mark@klomp.org>
28801 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28802 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28804 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28806 * javax/swing/text/GapContent.java
28807 (getArray): Mark as final.
28809 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28811 * javax/swing/text/StyleConstants.java
28812 (CharacterConstants.Background): Marked final,
28813 (CharacterConstants.BidiLevel): Likewise,
28814 (CharacterConstants.Bold): Likewise,
28815 (CharacterConstants.ComponentAttribute): Likewise,
28816 (CharacterConstants.Family): Likewise,
28817 (CharacterConstants.Size): Likewise,
28818 (CharacterConstants.Foreground): Likewise,
28819 (CharacterConstants.IconAttribute): Likewise,
28820 (CharacterConstants.Italic): Likewise,
28821 (CharacterConstants.StrikeThrough): Likewise,
28822 (CharacterConstants.Subscript): Likewise,
28823 (CharacterConstants.Superscript): Likewise,
28824 (CharacterConstants.Underline): Likewise,
28825 (ColorConstants.Foreground): Likewise,
28826 (ColorConstants.Background): Likewise,
28827 (FontConstants.Bold): Likewise,
28828 (FontConstants.Family): Likewise,
28829 (FontConstants.Italic): Likewise,
28830 (FontConstants.Size): Likewise,
28831 (ParagraphConstants.Alignment): Likewise,
28832 (ParagraphConstants.FirstLineIndent): Likewise,
28833 (ParagraphConstants.LeftIndent): Likewise,
28834 (ParagraphConstants.LineSpacing): Likewise,
28835 (ParagraphConstants.Orientation): Likewise,
28836 (ParagraphConstants.RightIndent): Likewise,
28837 (ParagraphConstants.SpaceAbove): Likewise,
28838 (ParagraphConstants.SpaceBelow): Likewise,
28839 (ParagraphConstants.TabSet): Likewise.
28841 2006-03-03 Tom Tromey <tromey@redhat.com>
28843 * javax/net/ssl/SSLException.java: Added missing @since.
28846 2006-03-03 Tom Tromey <tromey@redhat.com>
28848 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28849 (serialVersionUID): New field.
28851 2006-03-03 Tom Tromey <tromey@redhat.com>
28853 * java/security/spec/InvalidKeySpecException.java
28854 (InvalidKeySpecException): New constructors.
28855 * java/security/cert/CertificateParsingException.java
28856 (CertificateParsingException): New constructors.
28857 * java/security/cert/CertificateEncodingException.java
28858 (CertificateEncodingException): New constructors.
28859 * java/security/cert/CertificateException.java (CertificateException):
28861 * java/security/cert/CRLException.java (CRLException): New
28864 2006-03-03 Tom Tromey <tromey@redhat.com>
28866 * java/security/SignatureException.java (SignatureException): New
28868 * java/security/ProviderException.java (ProviderException): New
28870 * java/security/NoSuchAlgorithmException.java
28871 (NoSuchAlgorithmException): New constructors.
28872 * java/security/KeyStoreException.java (KeyStoreException): New
28874 * java/security/KeyManagementException.java (KeyManagementException):
28876 * java/security/InvalidKeyException.java (InvalidKeyException): New
28878 * java/security/KeyException.java (KeyException): New constructors.
28879 * java/security/InvalidAlgorithmParameterException.java
28880 (InvalidAlgorithmParameterException): New constructors.
28881 * java/security/DigestException.java (DigestException): New
28883 * java/security/GeneralSecurityException.java
28884 (GeneralSecurityException): New constructors.
28886 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28888 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28890 * javax/swing/event/DocumentEvent.java: Likewise,
28891 * javax/swing/event/EventListenerList.java: Likewise,
28892 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28893 * javax/swing/event/MenuKeyEvent.java: Likewise,
28894 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28895 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28896 * javax/swing/event/TreeModelEvent.java: Likewise,
28897 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28898 * javax/swing/event/UndoableEditEvent.java: Likewise.
28900 2006-03-03 Tom Tromey <tromey@redhat.com>
28902 * java/awt/Insets.java (set): New method.
28903 (equals): Added @since.
28905 2006-03-03 David Daney <ddaney@avtrex.com>
28907 * gnu/java/net/protocol/http/HTTPURLConnection.java
28908 (getRequestProperties): Rewrote.
28909 (addRequestProperty): Rewrote.
28910 (getHeaderFields): Rewrote.
28911 (getHeaderField): Rewrote.
28912 (getHeaderFieldKey): Rewrote.
28913 (getHeaderField): Removed useless cast.
28914 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28915 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28917 (notifyHeaderHandlers): Use new Headers interface.
28919 2006-03-03 Tom Tromey <tromey@redhat.com>
28921 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28922 * javax/naming/spi/ResolveResult.java,
28923 javax/naming/event/NamingExceptionEvent.java,
28924 javax/naming/event/NamingEvent.java,
28925 javax/naming/directory/SearchResult.java,
28926 javax/naming/directory/SearchControls.java,
28927 javax/naming/directory/SchemaViolationException.java,
28928 javax/naming/directory/NoSuchAttributeException.java,
28929 javax/naming/directory/ModificationItem.java,
28930 javax/naming/directory/InvalidSearchFilterException.java,
28931 javax/naming/directory/InvalidSearchControlsException.java,
28932 javax/naming/directory/InvalidAttributesException.java,
28933 javax/naming/directory/InvalidAttributeIdentifierException.java,
28934 javax/naming/directory/AttributeModificationException.java,
28935 javax/naming/directory/AttributeInUseException.java,
28936 javax/naming/TimeLimitExceededException.java,
28937 javax/naming/SizeLimitExceededException.java,
28938 javax/naming/PartialResultException.java,
28939 javax/naming/Reference.java,
28940 javax/naming/ServiceUnavailableException.java,
28941 javax/naming/OperationNotSupportedException.java,
28942 javax/naming/NotContextException.java,
28943 javax/naming/NoPermissionException.java,
28944 javax/naming/NoInitialContextException.java,
28945 javax/naming/NameNotFoundException.java,
28946 javax/naming/NameAlreadyBoundException.java,
28947 javax/naming/NameClassPair.java,
28948 javax/naming/MalformedLinkException.java,
28949 javax/naming/LinkLoopException.java,
28950 javax/naming/LinkException.java,
28951 javax/naming/LimitExceededException.java,
28952 javax/naming/InvalidNameException.java,
28953 javax/naming/InterruptedNamingException.java,
28954 javax/naming/InsufficientResourcesException.java,
28955 javax/naming/ContextNotEmptyException.java,
28956 javax/naming/ConfigurationException.java,
28957 javax/naming/CannotProceedException.java,
28958 javax/naming/CommunicationException.java,
28959 javax/naming/Binding.java,
28960 javax/naming/AuthenticationNotSupportedException.java,
28961 javax/naming/AuthenticationException.java: Added serialVersionUID.
28963 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28965 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28967 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28969 * javax/swing/event/TableModelListener.java: Updated API docs.
28971 2006-03-03 Mark Wielaard <mark@klomp.org>
28973 * java/awt/Component.java (addNotify): Expand documentation.
28975 2006-03-03 Mark Wielaard <mark@klomp.org>
28977 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28978 Always call setParentAndBounds().
28979 (setComponentBounds): Always call setBounds().
28980 (setBounds): Call setVisible().
28981 (setVisible): If no pixels are showing then don't make it visible.
28982 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28983 to call setParentAndBounds() anymore.
28985 2006-03-03 Roman Kennke <kennke@aicas.com>
28987 * javax/swing/JInternalFrame.java
28988 (JInternalFrame): Set frame invisible.
28989 (show): Reformatted.
28990 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28991 (installDefaults): Do not set invisible here.
28993 2006-03-03 Roman Kennke <kennke@aicas.com>
28995 * java/awt/Toolkit.java
28996 (getScreenInsets): Return (0,0,0,0) here.
28998 2006-03-03 Roman Kennke <kennke@aicas.com>
29000 * javax/swing/text/FlowView.java
29001 (FlowStrategy.layoutRow): Added check for rowCount == 0.
29002 (FlowStrategy.getLogicalView): Made method protected.
29004 2006-03-03 Chris Burdess <dog@gnu.org>
29006 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29007 gnu/xml/validation/relaxng/AttributePattern.java,
29008 gnu/xml/validation/relaxng/ChoiceNameClass.java,
29009 gnu/xml/validation/relaxng/ChoicePattern.java,
29010 gnu/xml/validation/relaxng/DataPattern.java,
29011 gnu/xml/validation/relaxng/Define.java,
29012 gnu/xml/validation/relaxng/ElementPattern.java,
29013 gnu/xml/validation/relaxng/EmptyPattern.java,
29014 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29015 gnu/xml/validation/relaxng/Grammar.java,
29016 gnu/xml/validation/relaxng/GrammarException.java,
29017 gnu/xml/validation/relaxng/GrammarValidator.java,
29018 gnu/xml/validation/relaxng/GroupPattern.java,
29019 gnu/xml/validation/relaxng/InterleavePattern.java,
29020 gnu/xml/validation/relaxng/ListPattern.java,
29021 gnu/xml/validation/relaxng/NSNameNameClass.java,
29022 gnu/xml/validation/relaxng/NameClass.java,
29023 gnu/xml/validation/relaxng/NameNameClass.java,
29024 gnu/xml/validation/relaxng/NotAllowedPattern.java,
29025 gnu/xml/validation/relaxng/OneOrMorePattern.java,
29026 gnu/xml/validation/relaxng/Param.java,
29027 gnu/xml/validation/relaxng/Pattern.java,
29028 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29029 gnu/xml/validation/relaxng/RefPattern.java,
29030 gnu/xml/validation/relaxng/TextPattern.java,
29031 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29032 builder and data model.
29033 * gnu/xml/validation/xmlschema/AnyAttribute.java,
29034 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29035 gnu/xml/validation/xmlschema/AttributeUse.java,
29036 gnu/xml/validation/xmlschema/ComplexType.java,
29037 gnu/xml/validation/xmlschema/ElementDeclaration.java,
29038 gnu/xml/validation/xmlschema/Particle.java,
29039 gnu/xml/validation/xmlschema/ValidationException.java,
29040 gnu/xml/validation/xmlschema/XMLSchema.java,
29041 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29042 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29043 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29044 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29045 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29046 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29047 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29048 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29049 W3C XML Schema builder and schema components.
29050 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29051 XML Schema namespace URIs.
29053 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
29055 * NEWS: Add entry for --enable-collections.
29056 * configure.ac: Add --enable-collections option.
29057 * lib/Makefile.am (collections.jar): New target.
29058 (glibj_DATA): Add $(COLLECTIONS).
29059 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29060 configure substitution.
29061 (classpath): Read from command line.
29062 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
29064 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29066 * javax/swing/SpringLayout.java: Fixed API doc warnings.
29068 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29070 * javax/swing/event/ListSelectionEvent.java
29071 (toString): Implemented,
29072 plus updated API docs all over.
29074 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29076 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29078 * javax/swing/event/ListSelectionListener.java: Updated API docs.
29080 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
29082 * gnu/java/rmi/dgc/DGCImpl.java,
29083 java/rmi/dgc/DGC.java,
29084 java/rmi/dgc/Lease.java: Formatted and commented.
29086 2006-03-03 Roman Kennke <kennke@aicas.com>
29088 * NEWS: Added comment about text highlighting and copy+paste
29091 2006-03-03 Roman Kennke <kennke@aicas.com>
29093 * javax/swing/JTabbedPane.java
29094 (remove(int)): Call super.remove(int) instead of remove(Component).
29095 Avoids a stack overflow.
29097 2006-03-03 Roman Kennke <kennke@aicas.com>
29099 * javax/swing/JTable.java
29100 (distributeSpillResizing): Avoid ArithmeticException by checking
29103 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29105 * javax/swing/text/package.html: Added package description.
29107 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29109 * javax/swing/CellRendererPane.java: Minor API doc fix,
29110 * javax/swing/ComboBoxModel.java: Updated API docs.
29112 2006-03-03 Chris Burdess <dog@gnu.org>
29115 * gnu/xml/stream/EntityReferenceImpl.java,
29116 gnu/xml/stream/FilteredEventReader.java,
29117 gnu/xml/stream/SAXParser.java,
29118 gnu/xml/stream/XIncludeFilter.java,
29119 gnu/xml/stream/XMLEventAllocatorImpl.java,
29120 gnu/xml/stream/XMLEventFactoryImpl.java,
29121 gnu/xml/stream/XMLEventImpl.java,
29122 gnu/xml/stream/XMLEventReaderImpl.java,
29123 gnu/xml/stream/XMLEventWriterImpl.java,
29124 gnu/xml/stream/XMLInputFactoryImpl.java,
29125 gnu/xml/stream/XMLOutputFactoryImpl.java,
29126 gnu/xml/stream/XMLParser.java,
29127 javax/xml/stream/EventFilter.java,
29128 javax/xml/stream/Location.java,
29129 javax/xml/stream/StreamFilter.java,
29130 javax/xml/stream/XMLEventFactory.java,
29131 javax/xml/stream/XMLEventReader.java,
29132 javax/xml/stream/XMLEventWriter.java,
29133 javax/xml/stream/XMLInputFactory.java,
29134 javax/xml/stream/XMLOutputFactory.java,
29135 javax/xml/stream/XMLReporter.java,
29136 javax/xml/stream/XMLResolver.java,
29137 javax/xml/stream/XMLStreamConstants.java,
29138 javax/xml/stream/XMLStreamReader.java,
29139 javax/xml/stream/events/EntityDeclaration.java,
29140 javax/xml/stream/events/EntityReference.java,
29141 javax/xml/stream/events/XMLEvent.java,
29142 javax/xml/stream/util/EventReaderDelegate.java,
29143 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29144 StAX API as specified in JWSDP 2.0.
29145 * gnu/xml/stream/EndEntityImpl.java,
29146 gnu/xml/stream/LocationImpl.java,
29147 gnu/xml/stream/StartEntityImpl.java,
29148 gnu/xml/stream/XMLStreamReaderImpl.java,
29149 javax/xml/stream/XMLFilter.java,
29150 javax/xml/stream/XMLIterator.java,
29151 javax/xml/stream/events/EndEntity.java,
29152 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29154 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29156 * javax/swing/CellEditor.java: API doc updates,
29157 * javax/swing/DefaultCellEditor.java: Likewise.
29159 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29161 * javax/swing/AbstractListModel.java:
29162 (AbstractListModel): Added API docs,
29163 (fireContentsChanged): Minor API doc correction,
29164 (fireIntervalAdded): Likewise,
29165 (fireIntervalRemoved): Likewise.
29167 2006-03-03 Roman Kennke <kennke@aicas.com>
29169 * NEWS: Added paragraph about Swing improvements.
29171 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29173 * javax/swing/AbstractAction.java: Updated API docs all over,
29174 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29175 (stopCellEditing): Minor API doc correction,
29176 * javax/swing/UnsupportedLookAndFeelException.java
29177 (UnsupportedLookAndFeelException): Changed argument name, updated API
29180 2006-03-03 Roman Kennke <kennke@aicas.com>
29182 * javax/swing/plaf/metal/MetalUtils.java
29183 (fillMetalPattern): Added switch to not use Graphics2D methods,
29184 even if they are available.
29186 2006-03-03 Roman Kennke <kennke@aicas.com>
29188 * javax/swing/plaf/basic/BasicHTML.java
29189 (isHTMLString): Check for string beeing null.
29190 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29191 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29192 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29193 (InternalFrameLayout): Don't touch the glass pane here.
29194 (installUI): Fix handling of glass pane.
29195 * javax/swing/plaf/basic/BasicLabelUI.java
29199 (BasicLabelUI): Initialize new fields.
29200 (getPreferredSize): Avoid creating new Rectangles by using
29201 SwingUtilities method.
29202 (paint): Avoid creating new Rectangles by reusing
29203 new fields. Added some preliminary handling of HTML inside the
29205 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29206 (uninstallComponents): Clear HTML renderer.
29207 (propertyChange): Check for HTML text and install renderer if
29209 * javax/swing/plaf/basic/BasicListUI.java
29210 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29212 * javax/swing/plaf/basic/BasicTextUI.java
29213 (RootView.getStartOffset): Implemented.
29214 (RootView.getEndOffset): Implemented.
29215 (RootView.getDocument): Implemented.
29217 2006-03-03 Roman Kennke <kennke@aicas.com>
29219 * javax/swing/text/DefaultStyledDocument.java
29220 (ElementBuffer.inserUpdate): Added check for zero-length
29222 * javax/swing/text/DefaultStyledDocument.java
29223 (setIndex): Improved exception message.
29224 * javax/swing/text/TableView.java
29225 Made class abstract.
29226 (TableRow.replace): Probably extend columnRequirements
29228 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29229 of super.layoutMajorAxis.
29230 (columnRequirements): Made field package private.
29231 (TableView): Do not load any child views here.
29232 (layoutColumns): Implemented this method.
29233 (updateColumnRequirements): New helper method.
29234 * javax/swing/text/Utilities.java
29235 (getBreakLocation): Also take offset into account when
29236 finding end location.
29237 * javax/swing/text/html/HTMLDocument.java
29238 (HTMLReader.parseStack): New field.
29239 (HTMLReader.blockOpen): Properly handle p-implied tags.
29240 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29241 (HTMLReader.addContent): Insert p-implied when adding content to
29243 * javax/swing/text/html/HTMLEditorKit.java
29244 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29245 ParagraphView for TD tags. Print out warning for tags that don't have
29246 matching view yet and create NullView for them.
29247 (read): Only set document base when document != null.
29248 * javax/swing/text/html/HTMLTableView.java:
29251 2006-03-03 Roman Kennke <kennke@aicas.com>
29253 * javax/swing/plaf/basic/BasicHTML.java
29254 (HTMLRootView): New inner class.
29255 (createHTMLView): Embed view inside a HTMLRootView.
29257 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29259 * gnu/java/net/protocol/jar/Connection.java:
29260 (connect): Throw FileNotFoundException.
29261 (getInputStream): Remove duplicated code.
29263 2006-03-03 Roman Kennke <kennke@aicas.com>
29265 * javax/swing/RepaintManager.java
29266 (commitBuffer): Added null check for clip.
29268 2006-03-02 Lillian Angel <langel@redhat.com>
29270 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29271 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29272 to use GtkWidget instead of GTKMenu.
29274 2006-03-02 Lillian Angel <langel@redhat.com>
29276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29277 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29278 use the submenu to get the list of children. This now works
29279 in the same way as addItem.
29281 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29283 * java/lang/StringBuilder.java:
29284 (codePointAt): New method.
29285 (codePointBefore): Likewise.
29286 (codePointCount): Likewise.
29287 (trimToSize): Likewise.
29289 2006-03-02 Tom Tromey <tromey@redhat.com>
29291 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29293 2006-03-02 Tom Tromey <tromey@redhat.com>
29295 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29296 (getProviderInstance):
29298 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29300 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29301 Fix regression caused by move to VM variant.
29302 PR classpath/22926.
29304 2006-03-01 Tom Tromey <tromey@redhat.com>
29306 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29307 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29308 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29309 imports for javadoc.
29310 (getProxyClass): Javadoc fixes.
29311 (getProxyData): Likewise.
29312 (generateProxyClass): Likewise.
29313 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29314 (setOut): Likewise.
29315 (setErr): Likewise.
29316 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29317 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29319 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29321 (getModifiers): Likewise.
29322 (getDeclaredClasses): Javadoc fix.
29323 (getDeclaredFields): Likewise.
29324 (getDeclaredMethods): Likewise.
29325 (getDeclaredConstructors): Likewise.
29326 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29329 2006-03-01 Tom Tromey <tromey@redhat.com>
29331 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29332 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29333 (getVersion): Javadoc fix.
29335 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29336 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29338 2006-03-01 David Daney <ddaney@avtrex.com>
29340 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29341 as relative if it contains a colon but no protocol handler can be
29344 2006-03-01 Roman Kennke <kennke@aicas.com>
29346 * javax/swing/text/AbstractDocument.java
29347 (LeafElement.LeafElement): Handle delta with respect to content
29348 length not document length.
29349 * javax/swing/text/CompositeView.java
29350 (getViewIndex): Handle bias correctly.
29351 * javax/swing/text/DefaultCaret.java
29352 (paint): Align caret position to document bounds to avoid trouble
29353 when removing large portions of content.
29354 * javax/swing/text/DefaultStyledDocument.java
29355 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29356 (ElementBuffer.createFracture): Copy old childs attribute. The
29357 ElementSpec usually doesn't carry attribute information.
29358 Use pos instead of offset.
29359 (ElementBuffer.insertFracture): Use pos instead of offset.
29360 (createDefaultRootElement): Don't use create* and instead directly
29361 instantiate the elements.
29362 (handleInsertAfterNewline): Compare the paragraphs startOffset
29363 rather than previous paragraphs endOffset.
29364 * javax/swing/text/JTextComponent.java
29365 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29367 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29369 * javax/swing/text/PlainView.java
29370 (damageLineRange): Avoid creating new Rectangle by using
29372 * javax/swing/text/View.java
29373 (forwardUpdate): Correct the use of bias.
29374 (modelToView): Avoid new Rectangles by using SwingUtilities.
29375 (dump): Made (temprorarily) protected for use in BasicTextUI.
29376 (dump(int)): Dump out the element of the view.
29378 2006-03-01 Lillian Angel <langel@redhat.com>
29380 * NEWS: javax.imageio.plugins.bmp implementation.
29382 2006-03-01 Lillian Angel <langel@redhat.com>
29384 * javax/imageio/ImageWriteParam.java:
29385 Added documentation for fields.
29386 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29387 New class implemented.
29389 2006-03-01 Tom Tromey <tromey@redhat.com>
29391 * NEWS: Mention java.util.prefs update.
29393 2006-03-01 Tom Tromey <tromey@redhat.com>
29395 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29396 * java/nio/charset/UnmappableCharacterException.java:
29397 (serialVersionUID): New field.
29398 * java/nio/charset/MalformedInputException.java:
29399 (serialVersionUID): New field.
29400 * java/nio/charset/CoderMalfunctionError.java:
29401 (serialVersionUID): New field.
29402 * java/nio/charset/CharacterCodingException.java:
29403 (serialVersionUID): New field.
29404 * java/nio/channels/UnsupportedAddressTypeException.java:
29405 (serialVersionUID): New field.
29406 * java/nio/channels/UnresolvedAddressException.java:
29407 (serialVersionUID): New field.
29408 * java/nio/channels/OverlappingFileLockException.java:
29409 (serialVersionUID): New field.
29410 * java/nio/channels/NotYetConnectedException.java:
29411 (serialVersionUID): New field.
29412 * java/nio/channels/NotYetBoundException.java
29413 (serialVersionUID): New field.
29414 * java/nio/channels/NonWritableChannelException.java
29415 (serialVersionUID): New field.
29416 * java/nio/channels/NonReadableChannelException.java
29417 (serialVersionUID): New field.
29418 * java/nio/channels/NoConnectionPendingException.java
29419 (serialVersionUID): New field.
29420 * java/nio/channels/IllegalSelectorException.java
29421 (serialVersionUID): New field.
29422 * java/nio/channels/IllegalBlockingModeException.java
29423 (serialVersionUID): New field.
29424 * java/nio/channels/FileLockInterruptionException.java
29425 (serialVersionUID): New field.
29426 * java/nio/channels/ConnectionPendingException.java
29427 (serialVersionUID): New field.
29428 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29430 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29432 * java/nio/channels/ClosedByInterruptException.java
29433 (serialVersionUID): New field.
29434 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29436 * java/nio/channels/AsynchronousCloseException.java
29437 (serialVersionUID): New field.
29438 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29440 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29441 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29442 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29444 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29445 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29446 Javadoc fix. Added import.
29447 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29448 (validOps): Likewise.
29449 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29450 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29451 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29452 * java/nio/channels/Channels.java: Added import.
29453 * java/nio/channels/FileChannel.java (lock): Typo fix.
29454 (tryLock): Likewise.
29456 2006-03-01 Tom Tromey <tromey@redhat.com>
29458 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29460 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29461 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29463 (putSpi): Likewise.
29464 (newNode): Likewise.
29466 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29467 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29469 (systemRoot): Use it.
29470 (userPreferences): New field.
29471 (userRoot): Use it.
29473 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29475 * java/util/ResourceBundle.java
29476 (tryBundle): Catch and ignore all Exceptions.
29478 2006-02-28 Roman Kennke <kennke@aicas.com>
29480 * javax/swing/plaf/basic/BasicScrollBarUI.java
29481 (getPreferredSize): Fixed add a fixed space between the buttons
29482 instead of something related to min/max.
29483 (installComponents): Create and install buttons here.
29484 (installDefaults): Don't create buttons here.
29485 * javax/swing/plaf/metal/MetalScrollBarUI.java
29486 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29487 (getPreferredSize): New method.
29489 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29491 * examples/gnu/classpath/examples/swing/Demo.java
29492 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29493 connected 'Spinner' action to SpinnerDemo,
29494 (mkCheckbox): Removed,
29495 (mkRadio): Likewise,
29496 (mkSpinner): Likewise,
29497 (mkToggle): Likewise,
29498 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29499 connected 'Spinner' action to SpinnerDemo.
29501 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29503 * javax/print/ServiceUIFactory.java: Added documentation to class.
29505 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29508 * javax/swing/DefaultListSelectionModel.java:
29509 (addSelectionInterval): Return early if either of the arguments is -1.
29510 (removeSelectionInterval): Likewise.
29511 (setSelectionInterval): Likewise.
29513 2006-02-28 Lillian Angel <langel@redhat.com>
29515 * javax/swing/text/DefaultFormatter.java
29516 (stringToValue): Added NPE check.
29518 2006-02-28 Roman Kennke <kennke@aicas.com>
29521 * javax/swing/JList.java
29522 (getPreferredScrollableViewportSize): Restored specified behaviour.
29523 * javax/swing/plaf/metal/MetalFileChooserUI.java
29524 (createList): Set filelist panel's preferredSize, so that it doesn't
29525 get size into infinity for big lists.
29527 2006-02-28 Lillian Angel <langel@redhat.com>
29529 * javax/swing/ViewportLayout.java
29530 (layoutContainer): Should not extend container to be
29531 minimum size. Mauve test shows that the preferred size
29532 and the size of the viewport can be set smaller than
29535 2006-02-28 Lillian Angel <langel@redhat.com>
29538 * javax/swing/JList.java
29539 (getPreferredScrollableViewportSize): Added a check to determine
29540 if orientation is VERTICAL_WRAP. If it is, we should only
29543 2006-02-28 Lillian Angel <langel@redhat.com>
29546 * javax/swing/ViewportLayout.java:
29547 Patch submitted by Audrius Meskauskas
29548 (addLayoutComponent): Added documentation.
29549 (removeLayoutComponent): Likewise.
29550 (preferredLayoutSize): Likewise.
29551 (minimumLayoutSize): Likewise.
29552 (layoutContainer): Fixed code, so view is set
29553 to the right position when inside a scrollpane.
29555 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29557 * java/math/BigInteger.java:
29558 Committed patch by Rafael:
29559 developer.classpath.org/pipermail/classpath-patches/
29560 2006-February/000473.html
29561 (signum): Return early 0 if words == null and ival == 0.
29562 (readObject): Handle special case of magnitude.length or signum being
29564 (writeObject): If signum is zero return a zero-sized byte[].
29566 2006-02-28 Lillian Angel <langel@redhat.com>
29568 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29569 (create): Initially set the directory to the current working directory.
29570 (setDirectory): Removed else-if. No need for this check.
29572 2006-02-28 Tom Tromey <tromey@redhat.com>
29574 * .project: Run java builder before header generation.
29576 2006-02-28 Tom Tromey <tromey@redhat.com>
29578 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29580 * gnu/java/util/prefs/EventDispatcher.java: New file.
29581 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29582 (NodeWriter): Specify UTF-8.
29583 (writeHeader): Emit DOCTYPE.
29584 * java/util/prefs/Preferences.java (getFactory): Add cause to
29586 (exportNode): Documented.
29587 (exportSubtree): Likewise.
29588 (importPreferences): Likewise.
29589 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29590 (writeObject): Likewise.
29591 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29592 (writeObject): Likewise.
29593 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29594 (nodeListeners): New field.
29595 (preferenceListeners): Likewise.
29596 (addNodeChangeListener): Implemented.
29597 (addPreferenceChangeListener): Likewise.
29598 (removeNodeChangeListener): Likewise.
29599 (removePreferenceChangeListener): Likewise.
29600 (fire): New methods.
29602 (remove): Likewise.
29603 (purge): Likewise. Fixed synchronization.
29604 (removeNode): Fixed synchronization.
29605 (getNode): Fire event.
29606 (flushNode): Fixed synchronization.
29608 2006-02-28 Roman Kennke <kennke@aicas.com>
29610 * javax/swing/text/BranchElement.java
29611 (startOffset): New field.
29612 (endOffset): New field.
29613 (BranchElement): Initialize new fields.
29614 (getEndOffset): Rewritten to possibly return cached values
29615 if element has no children.
29616 (getStartOffset): Rewritten to possibly return cached values
29617 if element has no children.
29618 * javax/swing/text/LeafElement.java
29619 (startDelta): New field.
29620 (endDelta): New field.
29621 (LeafElement): Handle possible delta of start/endOffset when
29622 these parameters lie outside the document range.
29623 (getStartOffset): Handle possible startDelta.
29624 (getEndOffset): Handle possible startDelta.
29626 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29628 * NEWS: Added line about Unicode 4.0.0 support.
29630 2006-02-28 Roman Kennke <kennke@aicas.com>
29632 * javax/swing/SwingUtilities.java
29633 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29635 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29637 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29639 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29641 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29642 Amended class documentation.
29643 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29645 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29646 a BIT STRING construct.
29647 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29649 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29651 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29652 a BIT STRING construct.
29653 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29654 (engineVerify): Added logging.
29656 2006-02-28 Roman Kennke <kennke@aicas.com>
29658 * java/awt/Component.java
29659 (dispatchEventImpl): Let the Toolkit dispatch global events.
29660 * java/awt/Container.java
29661 (dispatchEventImpl): Let the LightweightDispatcher handle events
29663 * java/awt/EventQueue.java
29664 (dispatchEvent): Don't do the global event dispatching here. This
29665 is moved to the Component.
29666 (globalDispatchEvent): Moved this method to Toolkit.
29667 * java/awt/LightweightDispatcher.java
29668 (instances): New field.
29669 (getInstance): New method. Delivers an instance of
29670 LightweightDispatcher.
29671 (LightweightDispatcher): Made default constructor private.
29672 (dispatchEvent): New method. Replaces the eventDispatched method.
29673 This now returns true when the event was actually dispatched.
29674 (eventDispatched): Replaced by dispatchEvent.
29675 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29676 received the last MOUSE_RELEASED.
29677 * java/awt/Toolkit.java
29678 (Toolkit): Don't register LightweightDispatcher as global event
29680 (globalDispatchEvent): Moved here from EventQueue.
29682 2006-02-27 David Daney <ddaney@avtrex.com>
29685 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29687 (getRequestProperties): Rewrote.
29689 2006-02-27 David Daney <ddaney@avtrex.com>
29692 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29694 (ChunkedInputStream): Extend InputStream.
29696 (headers): Moved to top of class.
29697 (constructor): Save referenct to in.
29698 (read(byte[])): Removed method.
29699 (read(byte[], int, int)): Made synchronized and throw IOException
29700 on error parsing chunk header.
29701 (available): New method.
29702 (close): New method.
29704 2006-02-27 David Daney <ddaney@avtrex.com>
29706 * gnu/java/net/protocol/http/HTTPURLConnection.java
29707 (imports): Cleaned up.
29708 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29709 (constructor): ... Here, using SystemProperties instead of System.
29711 2006-02-27 Lillian Angel <langel@redhat.com>
29713 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29714 (setDirectory): GtkFileChooser requires an absolute directory
29715 name. Added a check to make the directory passed to nativeSetDirectory
29718 2006-02-27 Roman Kennke <kennke@aicas.com>
29720 * javax/swing/SwingUtilities.java
29721 (computeIntersection): Changed to store result in rect, instead of
29722 creating new Rectangle instances. Fixed API docs accordingly.
29723 (computeUnion): Changed to store result in rect, instead of
29724 creating new Rectangle instances. Fixed API docs accordingly.
29726 2006-02-27 Roman Kennke <kennke@aicas.com>
29728 * javax/swing/JViewport.java
29729 (static_init): Changed default scrollmode to BLIT.
29730 (paintSimple): Added some clipping to avoid painting problems.
29731 (paintBlit): Added some clipping to avoid painting problems.
29733 2006-02-27 Roman Kennke <kennke@aicas.com>
29735 * javax/swing/JComponent.java
29736 (rectCache): Made field static to save memory.
29737 (getVisibleRect): Don't use rectCache and create new Rectangle
29739 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29740 (repaint(long,int,int,int,int)): Directly call
29741 RepaintManager.addDirtyRegion(). The visibleRect check is now
29742 performed in the RepaintManager.
29744 2006-02-27 Roman Kennke <kennke@aicas.com>
29746 * javax/swing/RepaintManager.java
29747 (currentRepaintManagers): Made field private.
29748 (rectCache): New field.
29749 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29750 component. Changed Rectangle handling to avoid unnecessary new
29751 Rectangle instances.
29752 (getOffscreenBuffer): Create buffer with size of the root window.
29753 Respect the maximum buffer size here.
29754 (commitBuffer): Align the regions so that they are inside the buffer
29755 image and inside the clip. This avoids problems with a bug in GTKImage.
29756 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29758 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29760 * native/fdlibm/e_acos.c,
29761 * native/fdlibm/e_asin.c,
29762 * native/fdlibm/e_atan2.c,
29763 * native/fdlibm/e_cosh.c,
29764 * native/fdlibm/e_exp.c,
29765 * native/fdlibm/e_fmod.c,
29766 * native/fdlibm/e_hypot.c,
29767 * native/fdlibm/e_log.c,
29768 * native/fdlibm/e_log10.c,
29769 * native/fdlibm/e_rem_pio2.c,
29770 * native/fdlibm/e_remainder.c,
29771 * native/fdlibm/e_sinh.c,
29772 * native/fdlibm/e_sqrt.c,
29773 * native/fdlibm/k_cos.c,
29774 * native/fdlibm/k_sin.c,
29775 * native/fdlibm/k_tan.c,
29776 * native/fdlibm/s_atan.c,
29777 * native/fdlibm/s_cbrt.c,
29778 * native/fdlibm/s_ceil.c,
29779 * native/fdlibm/s_copysign.c,
29780 * native/fdlibm/s_cos.c,
29781 * native/fdlibm/s_expm1.c,
29782 * native/fdlibm/s_fabs.c,
29783 * native/fdlibm/s_finite.c,
29784 * native/fdlibm/s_floor.c,
29785 * native/fdlibm/s_log1p.c,
29786 * native/fdlibm/s_rint.c,
29787 * native/fdlibm/s_scalbn.c,
29788 * native/fdlibm/s_sin.c,
29789 * native/fdlibm/s_tan.c,
29790 * native/fdlibm/s_tanh.c:
29791 Fixed to call our macros rather than __HI and __LO.
29792 * native/fdlibm/fdlibm.h:
29793 Reintroduced previous extraction code.
29794 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29795 (GET_HIGH_WORD(i,d)): Readded.
29796 (GET_LOW_WORD(i,d)): Readded.
29797 (INSERT_WORDS(d,ix0,ix1)): Readded.
29798 (SET_HIGH_WORD(d,i)): Readded.
29799 (SET_LOW_WORD(d,i)): Readded.
29800 * native/jni/gtk-peer/gthread-jni.c:
29801 Use Glib macros to convert integers/pointers portably.
29803 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29805 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29806 as the fallback SPI.
29807 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29808 ones referencing GNU-CRYPTO classes.
29809 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29810 (engineValidate): Use GNU-CRYPTO class.
29811 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29812 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29813 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29814 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29815 * gnu/java/security/provider/DSAParameters: Likewise.
29816 * gnu/java/security/provider/DSASignature: Likewise.
29817 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29818 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29819 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29820 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29821 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29822 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29823 * gnu/java/security/provider/MD2withRSA: Likewise.
29824 * gnu/java/security/provider/MD4withRSA: Likewise.
29825 * gnu/java/security/provider/MD5: Likewise.
29826 * gnu/java/security/provider/MD5withRSA: Likewise.
29827 * gnu/java/security/provider/RSA: Likewise.
29828 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29829 * gnu/java/security/provider/SHA: Likewise.
29830 * gnu/java/security/provider/SHA1PRNG: Likewise.
29831 * gnu/java/security/provider/SHA1withRSA: Likewise.
29832 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29834 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29836 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29837 (engineGeneratePublic): Added logging.
29838 (engineGeneratePrivate): Likewise.
29839 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29840 (encodePublicKey): Added logging.
29841 Clarified in method documentation that params is optional, but is
29842 always NULL if present.
29843 (decodePublicKey): Added logging.
29844 Handle optional NULL element.
29846 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29848 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29850 2006-03-03 Tom Tromey <tromey@redhat.com>
29852 * java/awt/MenuBar.java (shortcuts): Genericized.
29854 2006-03-03 Tom Tromey <tromey@redhat.com>
29856 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29858 (getListenerType): Likewise.
29859 * java/beans/Introspector.java (getBeanInfo): Genericized.
29860 * java/beans/DefaultPersistenceDelegate.java (initialize):
29863 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29865 * java/math/BigDecimal.java:
29866 (precision): Fixed overflow problem with large numbers.
29867 (longValueExact): New method.
29868 (intValueExact): Likewise.
29869 (byteValueExact): Likewise.
29870 (shortValueExact): Likewise.
29872 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29874 * java/math/BigDecimal.java:
29875 (remainder(BigDecimal)): New method.
29876 (divideAndRemainder(BigDecimal)): Likewise.
29877 (divideToIntegralValue(BigDecimal)): Likewise.
29878 (floor): New implementation method.
29880 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29882 * java/math/BigDecimal.java:
29883 (divide(BigDecimal, int, RoundingMode)): New method.
29884 (divide(BigDecimal, RoundingMode)): Likewise.
29885 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29886 when the new scale is < 0.
29887 (setScale(int, RoundingMode)): New method.
29890 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29892 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29893 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29894 (add(BigDecimal, MathContext)): New method.
29895 (subtract(BigDecimal, MathContext)): Likewise.
29896 (precision): Fixed to correctly handle BigIntegers with more than 19
29898 (pow(int, MathContext)): New method.
29900 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29902 * java/math/BigDecimal.java: Added @throws clause to constructors.
29903 (mathContext): Removed this unneeded field.
29904 (BigDecimal(int, MathContext)): New constructor.
29905 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29906 (multiply(BigDecimal, MathContext)): New method.
29907 (negate(MathContext)): Likewise.
29908 (plus(MathContext)): Likewise.
29909 (numDigitsInLong): Fixed to properly handle negatives.
29911 2006-02-25 Chris Burdess <dog@gnu.org>
29913 * gnu/java/net/CRLFInputStream.java,
29914 gnu/java/net/LineInputStream.java: Streams that use mark
29915 capabilities on the underlying stream do not expose mark
29916 functionality themselves.
29917 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29920 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29922 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29923 option flags passed to match methods.
29924 (MF_FIND_ALL): New flag.
29925 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29926 do not try other possibilties once a match is found.
29927 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29928 so that all possibilities can be found.
29929 (match): Rewritten using new methods matchMinimum and _match.
29930 (_match): New method which performs a depth-first recursive search.
29931 (matchMinimum): New method.
29932 (initVisited), (visitedContains), (addVisited): New methods for
29933 manipulating an array of icharacter positions which _match has
29936 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29938 * java/math/BigDecimal.java:
29939 (BigDecimal(long, MathContext)): New constructor.
29940 (BigDecimal(BigInteger, MathContext)): Likewise.
29941 (BigDecimal(String, MathContext)): Likewise.
29942 (BigDecimal(double, MathContext)): Likewise.
29943 (round): Fixed a typo where the precision field was used instead of a
29944 call to the precision method, and also store the new precision in the
29945 returned BigDecimal.
29946 (abs(MathContext)): New method.
29948 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29950 * java/math/BigDecimal.java
29951 (toBigInteger): Fixed problem where this method couldn't handle
29952 negative values for scale.
29953 (toBigIntegerExact): New method.
29954 (stripTrailingZeros): Likewise.
29956 2006-02-24 David Daney <ddaney@avtrex.com>
29959 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29961 (Pool): New inner class.
29962 (timeLastUsed): New field.
29963 (setPool): Changed parameter type to Pool.
29964 (release): Moved pool management logic to new class Pool.
29965 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29967 (maxConnections) : Removed.
29968 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29969 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29971 2006-02-24 Lillian Angel <langel@redhat.com>
29973 * java/awt/Container.java:
29974 Added new field. True if Container has been cleared and
29975 heavyweights need to be repainted.
29976 (paint): Fixed comment. Fixed to use backCleared and
29978 (update): Set backCleared to true after the background
29979 of the container has been cleared.
29981 2006-02-24 Lillian Angel <langel@redhat.com>
29983 * java/awt/TextField.java
29984 (addNotify): Added call to super.
29986 2006-02-24 Lillian Angel <langel@redhat.com>
29988 * java/awt/Component.java
29989 (reshape): Reverted last patch. Should have check here.
29990 (addNotify): Added check. If parent is lightweight, then
29991 initialize listener on the parent.
29992 (HeavyweightInLightweightListener): New class.
29994 2006-02-24 Roman Kennke <kennke@aicas.com>
29996 * javax/swing/plaf/basic/BasicComboPopup.java
29997 (show): Register the popup with the autocloser after it has been
29998 opened completely, by putting the registration on the eventqueue.
30000 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30002 * gnu/java/security/prng/BasePRNG.java:
30003 (clone()): Added cast of buffer to byte[].
30004 * gnu/javax/crypto/mac/TMMH16.java:
30005 (clone()): Fixed casting of cloned arrays.
30006 * native/fdlibm/fdlibm.h:
30007 Added missing defines from old fdlibm.h needed by Darwin.
30008 (GET_FLOAT_WORD(i,d)): Re-added.
30009 (SET_FLOAT_WORD(d,i)): Re-added.
30011 2006-02-24 Roman Kennke <kennke@aicas.com>
30013 * java/awt/Container.java:
30014 (dispatcher): Removed field.
30015 (dispatchEventImpl): Removed lightweight dispatching.
30016 (addNotifyContainerChildren): Removed LightweightDispatcher
30018 (LightweightDispatcher): Removed class.
30019 * java/awt/LightweightDispatcher.java: New class.
30020 * java/awt/Toolkit.java
30021 (Toolkit): Install LightweightDispatcher in global listener
30024 2006-02-24 Chris Burdess <dog@gnu.org>
30027 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30030 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30032 * NEWS: Mentions the VMMath runtime changes.
30033 * doc/vmintegration.texinfo: Updated to include
30036 2006-02-24 Roman Kennke <kennke@aicas.com>
30038 * javax/swing/plaf/basic/BasicLookAndFeel.java
30039 (PopupHelper.autoClosePopups): New field.
30040 (PopupHelper.mousePressed): Also autoclose any registered popups.
30041 (PopupHelper.registerForAutoClose): New method.
30042 (PopupHelper.autoClosePopups): New method.
30043 (popupHelper): Changed type of field to PopupHelper.
30044 (registerForAutoClose): New method.
30045 * javax/swing/plaf/basic/BasicComboPopup.java
30046 (show): Register this popup for autoclosing.
30048 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
30050 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30051 * gnu/java/security/prng/MDGenerator.java (clone): New method.
30052 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30054 2006-02-24 Roman Kennke <kennke@aicas.com>
30056 Reported by Ingo Proetel <proetel@aicas.com>
30057 * java/util/logging/LogManager.java
30058 (addLogger): Search the parent loggers for log level
30059 configuration and inherit that.
30060 (readConfiguration): Provide minimal default configuration
30061 if no configuration can be found otherwise.
30063 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30065 * java/math/BigDecimal.java:
30066 (toString): Fixed a problem where the negative sign was being displayed
30067 twice in the exponent.
30068 (toEngineeringString): New method.
30069 (toPlainString): Likewise.
30072 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30074 * java/math/BigDecimal.java:
30075 (toString): Rewrote this method to behave as specified. Added API
30076 comments to explain behaviour.
30077 (scaleByPowerOfTen): New method.
30079 2006-02-23 Roman Kennke <kennke@aicas.com>
30081 * javax/swing/JRootPane.java
30082 (isOptimizedDrawingEnabled): Implemented to return true
30083 when the glassPane is not visible.
30085 2006-02-23 Roman Kennke <kennke@aicas.com>
30087 * javax/swing/plaf/basic/BasicLookAndFeel.java
30088 (PopupHelper): New inner class.
30089 (popupHelper): New field.
30090 (initialize): New method.
30091 (uninitialize): New method.
30092 * javax/swing/plaf/basic/BasicPopupMenuUI.java
30093 (mouseInputListener): Removed field.
30094 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30095 handling of GlassPane.
30096 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30097 handling of GlassPane.
30098 (MouseInputHandler): Removed class.
30100 2006-02-23 Roman Kennke <kennke@aicas.com>
30102 * java/awt/AWTEvent.java
30103 (eventIdToMask): New utility method.
30104 * java/awt/EventQueue.java
30105 (dispatchEvent): Also globally dispatch events via the toolkit.
30106 (globalDispatchEvent): New method.
30107 * java/awt/Toolkit.java
30108 (awtEventListeners): New field.
30109 (Toolkit()): Initialize new field.
30110 (createComponent): Create GLightweightPeer here.
30111 (addAWTEventListener): Implemented and documented.
30112 (removeAWTEventListener): Implemented and documented.
30113 (getAWTEventListeners): Implemented and documented both method
30115 * java/awt/event/AWTEventListenerProxy.java
30116 (eventDispatched): Don't filter events here.
30118 2006-02-23 Chris Burdess <dog@gnu.org>
30121 * gnu/xml/dom/DomDocumentBuilderFactory.java,
30122 gnu/xml/dom/JAXPFactory.java,
30123 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30124 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30125 implement DocumentBuilderFactory.get/setFeature methods.
30127 2006-02-23 Lillian Angel <langel@redhat.com>
30129 * gnu/java/awt/peer/GLightweightPeer.java
30130 (repaint): Scott's proposed fix. Send repaint to the
30131 component's parent.
30132 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30133 (setBounds): Removed next_parent, not needed. Removed
30134 lightweightChild, we always need to compensate for the
30136 * java/awt/Component.java
30137 (setBounds): Removed check. Caused lots of problems, because some
30138 components were not being invalidated. Components should be
30139 invalidated when they are resized or moved, and in some cases,
30140 when a parent is resized/moved, the components do not know
30141 about it and do not adjust.
30142 * java/awt/Graphics.java
30143 (hitClip): Scott's proposed fix. Added check to handle a
30146 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30148 * javax/print/attribute/standard/MediaSize.java:
30149 (media): Field renamed to mediaName for serialization.
30150 (MediaSize): Adapted to new fieldname.
30151 (getMediaSizeName): Likewise.
30152 * javax/print/attribute/HashAttributeSet.java:
30153 (interfaceName): Field renamed to myInterface for serialization.
30154 (HashAttributeSet): Adapted to the new fieldname.
30156 (addAll): Likewise.
30157 (addInternal): Likewise.
30158 (attributeMap): Made transient.
30159 (readObject): New serialization method.
30160 (writeObject): Likewise.
30161 * javax/print/attribute/AttributeSetUtilities.java:
30162 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30163 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30164 (SynchronizedAttributeSet.addAll): Likewise.
30165 (SynchronizedAttributeSet.clear): Likewise.
30166 (SynchronizedAttributeSet.containsKey): Likewise.
30167 (SynchronizedAttributeSet.containsValue): Likewise.
30168 (SynchronizedAttributeSet.equals): Likewise.
30169 (SynchronizedAttributeSet.get): Likewise.
30170 (SynchronizedAttributeSet.hashCode): Likewise.
30171 (SynchronizedAttributeSet.isEmpty): Likewise.
30172 (SynchronizedAttributeSet.remove): Likewise.
30173 (SynchronizedAttributeSet.size): Likewise.
30174 (SynchronizedAttributeSet.toArray): Likewise.
30175 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30176 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30177 (UnmodifiableAttributeSet.addAll): Likewise.
30178 (UnmodifiableAttributeSet.clear): Likewise.
30179 (UnmodifiableAttributeSet.containsKey): Likewise.
30180 (UnmodifiableAttributeSet.containsValue): Likewise.
30181 (UnmodifiableAttributeSet.equals): Likewise.
30182 (UnmodifiableAttributeSet.get): Likewise.
30183 (UnmodifiableAttributeSet.hashCode): Likewise.
30184 (UnmodifiableAttributeSet.isEmpty): Likewise.
30185 (UnmodifiableAttributeSet.remove): Likewise.
30186 (UnmodifiableAttributeSet.size): Likewise.
30187 (UnmodifiableAttributeSet.toArray): Likewise.
30188 * javax/print/attribute/standard/MediaPrintableArea.java:
30189 (width): Field renamed to w for serialization.
30190 (height): Field renamed to h for serialization.
30191 (MediaPrintableArea): Adapted to the new fieldnames.
30192 (MediaPrintableArea): Likewise.
30193 (equals): Likewise.
30194 (hashCode): Likewise.
30195 (getHeight): Likewise.
30196 (getWidth): Likewise.
30198 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30200 * include/java_lang_VMMath.h:
30201 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30202 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30203 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30204 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30205 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30206 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30207 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30208 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30209 * java/lang/Math.java:
30210 (cbrt(double)): Implemented.
30211 (cosh(double)): Implemented.
30212 (expm1(double)): Implemented.
30213 (hypot(double,double)): Implemented.
30214 (log10(double)): Implemented.
30215 (log1p(double)): Implemented.
30216 (signum(double)): Implemented.
30217 (signum(float)): Implemented.
30218 (sinh(double)): Implemented.
30219 (tanh(double)): Implemented.
30220 * native/fdlibm/Makefile.am:
30221 Added new files from fdlibm 5.3.
30222 * native/fdlibm/e_acos.c,
30223 * native/fdlibm/e_asin.c,
30224 * native/fdlibm/e_atan2.c,
30225 * native/fdlibm/e_exp.c,
30226 * native/fdlibm/e_fmod.c,
30227 * native/fdlibm/e_log.c,
30228 * native/fdlibm/e_rem_pio2.c,
30229 * native/fdlibm/e_remainder.c,
30230 * native/fdlibm/e_scalb.c,
30231 * native/fdlibm/e_sqrt.c,
30232 * native/fdlibm/k_cos.c,
30233 * native/fdlibm/k_rem_pio2.c,
30234 * native/fdlibm/k_sin.c,
30235 * native/fdlibm/k_tan.c,
30236 * native/fdlibm/s_atan.c,
30237 * native/fdlibm/s_ceil.c,
30238 * native/fdlibm/s_copysign.c,
30239 * native/fdlibm/s_cos.c,
30240 * native/fdlibm/s_fabs.c,
30241 * native/fdlibm/s_finite.c,
30242 * native/fdlibm/s_floor.c,
30243 * native/fdlibm/s_rint.c,
30244 * native/fdlibm/s_scalbn.c,
30245 * native/fdlibm/s_sin.c,
30246 * native/fdlibm/s_tan.c,
30247 * native/fdlibm/w_acos.c,
30248 * native/fdlibm/w_asin.c,
30249 * native/fdlibm/w_atan2.c,
30250 * native/fdlibm/w_acos.c,
30251 * native/fdlibm/w_exp.c,
30252 * native/fdlibm/w_fmod.c,
30253 * native/fdlibm/w_log.c,
30254 * native/fdlibm/w_pow.c,
30255 * native/fdlibm/w_remainder.c,
30256 * native/fdlibm/w_sqrt.c:
30257 Updated to fdlibm 5.3.
30258 * native/fdlibm/e_cosh.c,
30259 * native/fdlibm/e_hypot.c,
30260 * native/fdlibm/e_log10.c,
30261 * native/fdlibm/e_sinh.c,
30262 * native/fdlibm/s_cbrt.c,
30263 * native/fdlibm/s_expm1.c,
30264 * native/fdlibm/s_log1p.c,
30265 * native/fdlibm/s_tanh.c,
30266 * native/fdlibm/w_cosh.c,
30267 * native/fdlibm/w_hypot.c,
30268 * native/fdlibm/w_log10.c,
30269 * native/fdlibm/w_sinh.c:
30270 Imported from fdlibm 5.3.
30271 * native/fdlibm/fdlibm.h:
30272 Imported from fdlibm 5.3 with Classpath additions.
30273 * native/fdlibm/namespace.h:
30274 Updated from new math_symbols file.
30275 * native/jni/java-lang/java_lang_VMMath.c:
30276 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30277 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30278 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30279 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30281 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30282 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30283 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30284 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30285 * scripts/math_symbols:
30286 Added tanh, expm1, log10 and log1p.
30287 * vm/reference/java/lang/VMMath.java:
30288 (cbrt(double)): Implemented.
30289 (cosh(double)): Implemented.
30290 (expm1(double)): Implemented.
30291 (hypot(double,double)): Implemented.
30292 (log10(double)): Implemented.
30293 (log1p(double)): Implemented.
30294 (sinh(double)): Implemented.
30295 (tanh(double)): Implemented.
30297 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30299 * javax/print/DocFlavor.java: Added documentation all over.
30300 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30301 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30302 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30303 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30304 (URL.TEXT_HTML_HOST): Likewise.
30305 (URL.TEXT_PLAIN_HOST): Likewise.
30306 (hostEncoding): Initialize with host default charset encoding.
30307 (mediaSubtype): Made transient.
30308 (mediaType): Likewise.
30309 (params): Made transient. Changed type to TreeMap.
30310 (className): Removed, changed to myClassName.
30311 (myClassName): New field as defined in serialized form.
30312 (DocFlavor): Adapted to new variable types, names.
30313 (parseMimeType): Reimplemented.
30314 (getParameter): Search with lowercase name.
30315 (getRepresentationClassName): Adapted to changed variable name.
30316 (hashCode): Likewise.
30317 (toString): Reimplemented.
30318 (readObject): New method for serialization.
30319 (writeObject): Likewise.
30321 2006-02-23 Roman Kennke <kennke@aicas.com>
30323 * javax/swing/RepaintManager.java
30324 (commitBuffer): Clip the repaint area with the current clip.
30326 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30328 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30329 (DEFAULT_PRIME_SIZE): Made public.
30330 (DEFAULT_EXPONENT_SIZE): Likewise.
30331 (setup): Handle DHParameterSpec as well.
30332 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30333 defaultFormat instead of Raw.
30334 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30335 (checkIsConstructed): Removed.
30336 (checkIsBigInteger): Likewise.
30337 (decodePublicKey): Use DerUtil.
30338 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30339 (checkIsConstructed): Removed.
30340 (checkIsBigInteger): Likewise.
30341 (decodePrivateKey): Use DerUtil.
30342 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30344 Added mappings for AlgorithmParameters.DH and
30345 AlgorithmParameterGenerator.DH.
30346 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30347 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30348 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30349 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30351 (engineGeneratePublic): Likewise.
30352 * gnu/java/security/util/DerUtil.java: New file.
30353 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30354 Include only valid RSA PKCS1 (v1.5) signature names.
30355 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30356 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30357 (checkIsConstructed): Likewise.
30358 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30359 (checkIsConstructed): Removed.
30360 (checkIsBigInteger): Likewise.
30361 (decodeSignature): Use DerUtil.
30362 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30363 (checkIsConstructed): Removed.
30364 (checkIsBigInteger): Likewise.
30365 (decodePublicKey): Use DerUtil.
30366 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30367 (checkIsConstructed): Removed.
30368 (checkIsBigInteger): Likewise.
30369 (decodePrivateKey): Use DerUtil.
30370 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30371 (checkIsConstructed): Removed.
30372 (checkIsBigInteger): Likewise.
30373 (decodePublicKey): Use DerUtil.
30374 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30375 (checkIsConstructed): Removed.
30376 (checkIsBigInteger): Likewise.
30377 (decodePrivateKey): Use DerUtil.
30378 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30379 (DEFAULT_MODULUS_LENGTH): Made it public.
30380 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30381 defaultFormat instead of Raw.
30382 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30383 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30384 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30386 (engineGeneratePublic): Likewise.
30387 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30389 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30391 * java/math/BigDecimal.java:
30392 (BigDecimal(char[], int, int, MathContext)): New constructor.
30393 (BigDecimal(char[], MathContext)): Likewise.
30394 (BigDecimal(char[])): Likewise.
30395 (BigDecimal(char[], int, int)): Likewise.
30396 (BigDecimal(String)): Fixed handling of exponent and scale.
30398 2006-02-22 Mark Wielaard <mark@klomp.org>
30400 * java/awt/Checkbox.java (setState): Check that state actually changed
30401 before calling peer.
30402 (dispatchEventImpl): Set new state if ItemEvent.
30403 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30404 (create): Set currentState.
30405 (setState): Make synchronized, check and set currentState before
30406 calling gtkToggleButtonSetActive.
30407 (postItemEvent): Make synchronized, check and set currentState before
30409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30410 (postItemEventID): Method now takes boolean.
30411 (item_toggled_cb): Likewise.
30413 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30415 * javax/swing/text/DefaultHighlighter.java:
30416 (changeHighlight): Added code to minimize the damaged area.
30418 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30420 * javax/swing/text/PlainView.java:
30421 (getPreferredSpan): Added missing 'break'.
30422 statement which corrects an unwanted fall through.
30423 (updateDamage): Update maxLineLength correctly when text is
30424 removed, call preferenceChanged accordingly.
30425 (viewToModel): Restrict line number to be within 0 and the
30426 number of elements-1.
30428 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30430 * javax/swing/text/Utilities.java:
30431 (getPositionAbove): Prefer first value by changing comparison
30433 (getPositionBelow): Dito.
30435 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30437 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30438 behavior when magic caret position is null.
30440 2006-02-22 Roman Kennke <kennke@aicas.com>
30442 * javax/swing/JTextField.java
30443 (isValidateRoot): New method.
30445 2006-02-22 Roman Kennke <kennke@aicas.com>
30447 * javax/swing/JEditorPane.java
30448 (getPreferredSize): Rewritten to behave like the reference impl.
30449 (getScrollableTracksViewportWidth): Likewise.
30450 (getScrollableTracksViewportHeight): Likewise.
30452 2006-02-22 Roman Kennke <kennke@aicas.com>
30454 * javax/swing/RepaintManager.java
30455 (addInvalidComponent): Also consider the component itself.
30457 2006-02-22 Mark Wielaard <mark@klomp.org>
30459 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30460 qualify AbstractDocument.AttributeContext.
30461 (blockOpen): Likewise.
30463 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30465 * java/math/BigDecimal.java:
30466 (mathContext): New field.
30467 (precision): Likewise.
30468 (BigDecimal(int)): New constructor.
30469 (BigDecimal(long)): Likewise.
30470 (BigDecimal(BigInteger)): Added API docs.
30471 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30472 and added API docs.
30473 (plus): New method.
30475 (precision): Likewise.
30476 (valueOf): Likewise.
30477 (numDigitsInLong): New implementation method.
30479 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30481 * java/math/MathContext.java: New class.
30482 * java/math/RoundingMode: New Enum.
30484 2006-02-21 Mark Wielaard <mark@klomp.org>
30486 * java/awt/Component.java (translateEvent): Translate
30487 AdjustmentEvents to 1.0 Events.
30488 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30489 Call setValue() before processing event.
30490 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30491 whether we are currently changing and being called back from the
30492 Scrollbar component.
30493 (setBarValues): New native method.
30494 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30496 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30497 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30498 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30500 2006-02-21 Roman Kennke <kennke@aicas.com>
30502 * javax/swing/text/View.java
30503 (setParent): Set child parent to null when disconnecting
30504 the view from the View hierarchy.
30506 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30508 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30510 2006-02-21 Roman Kennke <kennke@aicas.com>
30512 * javax/swing/text/WrappedPlainView.java
30513 (calculateBreakPosition): Changed to use the view's allocation instead
30514 of the container's preferredSize.
30516 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30518 * java/awt/CardLayout.java:
30519 (first): Updated api documentation.
30522 (previous): Likewise.
30523 (show): Clarified api docs. Return if name is null. Throw
30524 IllegalArgumentException if layout of container is not this.
30525 (gotoComponent): Updated api documentation. Throw
30526 IllegalArgumentException if layout of container is not this.
30528 2006-02-21 Roman Kennke <kennke@aicas.com>
30530 * javax/swing/text/NavigationFilter.java
30531 (getNextVisualPositionFrom): New method.
30533 2006-02-21 Roman Kennke <kennke@aicas.com>
30535 * javax/swing/plaf/basic/BasicTextUI.java
30536 (RootView.setView): Call setParent() on the view with this as
30537 argument instead of null.
30538 (setView): Don't set root view's parent here.
30540 2006-02-21 Roman Kennke <kennke@aicas.com>
30542 * javax/swing/text/AbstractDocument.java
30543 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30544 the resolving parent.
30545 (AbstractElement.getResolveParent): Fixed to handle possible null
30547 * javax/swing/text/BoxView.java
30548 (childReqs): New field.
30549 (paint): Added debugging code (commented out).
30550 (getPreferredSpan): Rewritten to use new update* methods.
30551 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30552 for the minor axis and preferredSpan for the major axis.
30553 (getMinimumSpan): Rewritten to use new update* methods.
30554 (baselineRequirements): Rewritten to avoid creation of
30555 unnecessary SizeRequirements objects.
30556 (baselineLayout): Rewritten to use new update* methods.
30557 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30558 unnecessary SizeRequirements objects.
30559 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30560 unnecessary SizeRequirements objects.
30561 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30563 (layoutMajorAxis): Rewritten to use new update* methods.
30564 (layoutMinorAxis): Rewritten to use new update* methods.
30565 (getChildRequirements): Replaced by the update* methods.
30566 (getAlignment): Use update* methods.
30567 (updateChildRequirements): New methods. Updates the child requirements
30569 (updateRequirements): New methods. Updates the BoxView requirements
30571 * javax/swing/text/DefaultStyledDocument.java
30572 (ElementBuffer.insert): Added warning for illegal replacement operation.
30573 * javax/swing/text/FlowView.java
30574 (layoutRow): When offset doesn't change, return -1.
30575 (LogicalView): Now subclasses BoxView.
30576 (loadChildren): Let the CompositeView.setParent() load the children
30577 of the logicalView.
30578 (calculateMinorRequirements): New overridden method.
30579 * javax/swing/text/GlyphView.java
30580 (DefaultGlyphPainter.paint): Fixed typo.
30581 (startOffset): Made field private.
30582 (endOffset): Made field private.
30583 (paint): Call getStartOffset() and getEndOffset() instead of the
30585 (isStrikeThrough): Fixed typo.
30586 (breakView): Use Utilities.getBreakLocation() to determine best
30588 (changedUpdate): Call preferencedChange on this instead of parent.
30589 (removeUpdate): Call preferencedChange on this instead of parent.
30590 * javax/swing/text/ParagraphView.java
30591 (Row.getAlignment): For Y_AXIS, call super.
30592 (getAlignment): Likewise.
30593 * javax/swing/text/Utilities.java
30594 (getBreakLocation): Set Segment object directly on the BreakIterator.
30595 * javax/swing/text/html/HTML.java
30596 (Attribute): Made class non-serializable and final as specified.
30597 (Attribute(String)): Made constructor private.
30598 (Attribute.compareTo): Removed.
30599 (Attribute.equals): Removed.
30600 (Attribute.hashCode): Removed.
30601 (Tag): Made class non-comparable and non-serializable as specified.
30602 (Tag.compareTo): Removed.
30603 (Tag.equals): Removed.
30604 (Tag.hashCode): Removed.
30605 * javax/swing/text/html/HTMLDocument.java
30606 (HTMLReader.blockOpen): Add tag as name attribute to element.
30607 * javax/swing/text/html/HTMLEditorKit.java
30608 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30610 * javax/swing/text/html/InlineView.java
30611 (setPropertiesFromAttributes): Call super.
30612 * javax/swing/text/html/NullView.java: New class.
30614 2006-02-21 Roman Kennke <kennke@aicas.com>
30617 * javax/swing/text/GapContent.java
30618 (GapContentPosition): Made class private.
30619 (InsertUndo): Made class private.
30620 (UndoRemove): Made class private.
30621 (WeakPositionComparator): New inner class.
30622 (positions): Made field private.
30623 (createPosition): Clear up GC'ed positions before creating
30624 a new one. Store position as WeakReference.
30625 (getPositionsInRange): Changed to handle WeakReference
30627 (setPositionsInRange): Changed to handle WeakReference
30629 (adjustPositionsInRange): Changed to handle WeakReference
30631 (dumpPositions): Handle WeakReference positions.
30632 (clearPositionReferences): New method.
30634 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30636 * javax/swing/plaf/basic/BasicTextUI.java:
30637 (paint): Remove unneccessary part of the if-expression.
30638 (damageRange): Added case where the range spans multiple lines.
30639 * javax/swing/text/DefaultCaret.java:
30640 (clearHighlight): New method.
30641 (handleHighlight): Removed unneccessary part of the if-expression.
30642 (setDot): Use clearHighlight method.
30643 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30645 (paint): Prevented calling size() on every loop iteration, fixed
30646 calculation of allocation area bounds.
30647 (getHighlights): Implemented.
30648 (removeHighlight): Mark damaged area in textcomponent.
30649 (addHighlight): Mark damaged area in textcomponent.
30650 (changeHighlight): Mark damaged area in textcomponent.
30651 (DefaultHighlighter.HighlightEntry): Made it a real
30652 Highlighter.Highlight implementation.
30653 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30656 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30658 * java/util/zip/ZipConstants.java
30659 (LOCSIG): Change type to long.
30660 (EXTSIG): Likewise.
30661 (CENSIG): Likewise.
30662 (ENDSIG): Likewise.
30663 * java/util/zip/ZipOutputStream.java
30664 (writeLeInt(long)): New method.
30666 2006-02-21 Michael Koch <konqueror@gmx.de>
30668 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30670 2006-02-20 Mark Wielaard <mark@klomp.org>
30672 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30673 (begin_drawing_operation): Output stacktrace and return on bad cairo
30675 (end_drawing_operation): Likewise. And reset cairo_t.
30677 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30679 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30680 in backward selection action.
30682 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30684 * java/lang/reflect/Proxy.java:
30685 (ProxyData.getProxyData): Skipped overriding of core methods.
30686 (ProxyData.isCoreObjectMethod): New method.
30688 2006-02-20 Mark Wielaard <mark@klomp.org>
30690 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30692 2006-02-20 Roman Kennke <kennke@aicas.com>
30694 * javax/swing/text/html/Option.java: New class.
30696 2006-02-20 Lillian Angel <langel@redhat.com>
30698 * java/swt/Window.java
30699 (show): Calling show() on the owned windows caused problems.
30700 Changed back to get the peer and call setVisible.
30702 2006-02-20 Roman Kennke <kennke@aicas.com>
30704 * javax/swing/plaf/basic/BasicTextUI.java
30705 (damageRange): Implemented this method.
30707 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30709 * javax/swing/text/GapContent.java:
30710 (shiftGapEndUp): Corrected new mark value.
30711 * javax/swing/text/AbstractDocument.java:
30712 (remove): Changed order of operations.
30714 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30716 * javax/swing/text/GapContent.java:
30717 (shiftGapEndUp): Reverted.
30718 * javax/swing/text/AbstractDocument.java:
30719 (remove): Reverted.
30721 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30723 * javax/swing/text/GapContent.java:
30724 (shiftGapEndUp): Corrected new mark value.
30725 * javax/swing/text/AbstractDocument.java:
30726 (remove): Changed order of operations.
30728 2006-02-20 Mark Wielaard <mark@klomp.org>
30730 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30732 (insert): Likewise.
30733 (addNotify): Add the item after addNotifying it.
30734 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30735 there is a peer. Use getParent() and setParent() to manipulate parent
30737 (add(Menu)): Use getParent() and setParent() to manipulate parent
30738 field. Call addNotify() and addMenu() when there is a peer.
30739 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30740 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30741 when there is a peer.
30742 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30743 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30744 (setFont): Call setFont(Font).
30745 (setFont(Font)): Document. Only set font when not null.
30746 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30748 (connectSignals): Likewise.
30749 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30751 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30753 (postMenuActionEvent): Document.
30754 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30756 (addItem): Document. Made private.
30757 (addTearOff): Made private.
30758 (connectSignals): New protected overridden method.
30759 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30760 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30761 (create): Document.
30762 (addMenu): Made private, take GtkMenuPeer as argument and document.
30763 (GtkMenuBarPeer): Document.
30764 (nativeSetHelpMenu): Removed.
30765 (addHelpMenu): Implement.
30766 (delMenu): Document.
30767 (addMenu): Implement.
30768 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30769 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30770 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30771 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30774 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30776 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30777 Expect that proxy interfaces may have different class loaders.
30778 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30779 * java/rmi/registry/Registry.java,
30780 * java/rmi/server/UnicastRemoteObject.java:
30781 Documented about proxy stubs.
30782 * gnu/java/rmi/server/CombinedClassLoader.java,
30783 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30784 * NEWS: Added entry.
30786 2006-02-19 Mark Wielaard <mark@klomp.org>
30788 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30789 Parent and Bounds of our children if either or parent is showing, or
30790 we are a Window and are showing ourselves now.
30792 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30794 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30796 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30797 Another stub name fix.
30799 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30801 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30802 Call convertStubName. (convertStubName): New method.
30803 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30804 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30805 (convertStubName): New method.
30806 (getMethodHashCode):
30807 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30808 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30810 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30812 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30814 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30816 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30818 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30820 * javax/swing/JViewport.java (paintBackingStore): If the component has
30821 not been scrolled, only repaint the buffer part, indicated by
30822 the parameter graphics clip.
30824 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30826 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30828 (writePrivateKey): Likewise.
30829 (writeKey): New method.
30830 (getKeyType): Likewise.
30831 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30833 (readPrivateKey): Likewise.
30834 (getKeyPairCodec): New method.
30835 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30836 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30837 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30838 (RSA_PSS_ENCODING): Likewise..
30839 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30840 (RSA_PSS_SIG): Redefined using other constants.
30841 (RSA_PKCS1_V1_5_SIG): Likewise.
30842 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30843 * gnu/java/security/util/FormatUtil.java: New file.
30844 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30845 (getInstance): Let RSASignatureFactory handle RSA signature names.
30846 (getNames): Handle new RSA signature (with format) names.
30847 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30848 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30850 (name): Include hash algorithm name.
30851 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30852 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30853 (RSAPSSSignature): Call constructor with IMessageDigest.
30854 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30855 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30857 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30859 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30860 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30861 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30862 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30863 hash algorithm name to exception.
30864 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30865 * gnu/java/security/key/KeyPairCodecFactory.java
30866 (names): New class field.
30867 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30868 (getInstance(String,String)): New method.
30869 (getInstance(String,int)): New method.
30870 (getInstance(byte[])): Removed.
30871 (getInstance(Key)): Handle new formats.
30872 (getNames): Likewise.
30873 (getEncodingName(int)): Moved to FormatUtil.
30874 (getEncodingShortName(int)): Likewise.
30875 (getRawCodec(String)): New method.
30876 (getX509Codec(String)): Likewise.
30877 (getPKCS8Codec(String)): Likewise.
30878 (getRawCodec(Key)): Likewise.
30879 (getX509Codec(Key)): Likewise.
30880 (getPKCS8Codec(Key)): Likewise.
30881 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30882 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30883 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30884 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30885 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30886 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30887 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30888 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30889 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30891 2006-02-18 Mark Wielaard <mark@klomp.org>
30893 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30895 (NoDragGestureRecognizer): New static class.
30896 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30897 Toolkit doesn't support drag and drop.
30899 2006-02-18 Mark Wielaard <mark@klomp.org>
30901 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30902 (AbstractAction(String)): Just call putValue() for NAME.
30903 (putValue): Nothing to do is old and new value are both null.
30905 2006-02-18 Mark Wielaard <mark@klomp.org>
30907 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30908 through getContentPane().
30909 (preferredLayoutSize): Likewise.
30911 2006-02-18 Mark Wielaard <mark@klomp.org>
30913 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30914 actually set before painting.
30916 2006-02-18 Mark Wielaard <mark@klomp.org>
30918 * javax/swing/text/html/HTMLDocument.java (addContent):
30919 Fully qualify AbstractDocument.AttributeContext and
30920 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30922 2006-02-18 Mark Wielaard <mark@klomp.org>
30924 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30925 (getRepresentationClassFromMime): Add exception cause to
30926 IllegalArgumentException.
30928 2006-02-17 Lillian Angel <langel@redhat.com>
30930 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30931 Removed unneeded import.
30932 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30933 Removed unneeded imports.
30934 * java/awt/BorderLayout.java:
30935 Fixed comment, this is not yet handled in the JDK 1.5.
30936 * java/awt/Container.java:
30937 Removed unneeded import.
30939 2006-02-17 Lillian Angel <langel@redhat.com>
30941 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30942 (setBounds): Removed check. Coordinates should always be changed
30943 to incorporate the parent's coordinates.
30944 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30945 (setMenuBar): Added checks. Don't validate component if it has
30946 not been validated yet, it will be validated later. Only validate
30947 if it has already been validated, in that case it needs to be
30949 * java/awt/Window.java
30950 (show): Added check. If the window is visible, then bring it to the
30951 front. Otherwise, iterate through all its children windows and show them.
30952 No need to do both.
30954 2006-02-17 Roman Kennke <kennke@aicas.com>
30956 * javax/swing/text/html/ParagraphView.java: New file.
30958 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30960 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30961 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30962 same location where was the initial text.
30963 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30965 2006-02-17 Chris Burdess <dog@gnu.org>
30967 Fixes PRs 26319, 26320, 26321, 26322, 26325
30968 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30969 rethrowing exception.
30970 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30971 1.1-style prefix unbinding in 1.0 document" error for xmlns
30972 prefixes, not xmlns attributes. Fix a problem with empty namespace
30973 stack at the end of a document. Permit parameter entity references
30974 in element and attribute-list definition name area. Corrected
30975 normalisation of whitespace character entity references in CDATA
30976 attribute values. Fixed number of characters read following a
30977 reset when detecting end of character data with characters after a
30978 Unicode surrogate pair.
30980 2006-02-17 Roman Kennke <kennke@aicas.com>
30982 * javax/swing/text/html/HTMLEditorKit.java
30983 (HTMLFactory.create): Create InlineView for content tags.
30984 * javax/swing/text/html/HTMLDocument.java
30985 (HTMLReader.flush): Call create() on first flush and insert
30986 on subsequent flushes.
30988 2006-02-17 Roman Kennke <kennke@aicas.com>
30990 * javax/swing/text/AbstractDocument.java
30991 (BranchElement.getStartOffset): Implemented workaround for wrong
30993 (BranchElement.getEndOffset): Implemented workaround for wrong
30995 (ElementBuffer.split): Use createBranchElement() instead of
30996 new BranchElement().
30997 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30998 new BranchElement().
30999 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31000 instead of new BranchElement().
31001 (createDefaultRoot): Use createBranchElement() and createLeafElement
31002 instead of the constructors.
31003 (create): Rewritten.
31005 2006-02-17 Keith Seitz <keiths@redhat.com>
31007 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31008 (SIZE): New constant.
31009 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31010 (executeIDsizes): Use SIZE constant.
31011 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31012 (SIZE): New constant.
31014 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31016 * javax/swing/JTable.java (IconCellRenderer): Set the component
31017 text to empty string. (createDefaultRenderers): Register
31018 IconCellRenderer also for ImageIcon.
31019 (getCellEditor(int, int), getCellRenderer(int, int)):
31020 Use model index for data model and column index for column model.
31021 (getColumnClass): Convert to model index before requesting class
31024 2006-02-17 Roman Kennke <kennke@aicas.com>
31026 * javax/swing/text/html/HTMLDocument.java
31027 (createDefaultRoot): Implemented.
31028 (createLeafElement): Implemented.
31029 (createBranchElement): Implemented.
31030 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31031 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31032 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31033 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31034 (HTMLReader.blockOpen): Add name attribute with the current tag.
31035 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31037 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31039 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31041 * javax/swing/table/JTableHeader.java: Documenting related methods.
31043 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31046 * gnu/java/net/protocol/ftp/FTPURLConnection.java
31047 (connect): Changed to use SystemProperties.
31048 (getInputStream): Try changeWorkingDirectory to figure out if
31049 url is a directory, if not use retrieve.
31050 (getOutputStream): Don't worry about directories, simply always
31053 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31055 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31056 (ActiveModeDTP): Mark accept thread as daemon.
31058 2006-02-17 Michael Koch <konqueror@gmx.de>
31060 * tools/.cvsignore: Ignore tools.zip.
31062 2006-02-16 Keith Seitz <keiths@redhat.com>
31064 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31065 Set the ID's reference.
31066 (<clinit>): Remove comments for field, method, and frame ID types,
31067 which will not be handled by VMIdManager.
31069 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31071 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31072 Use model index, not the column number.
31073 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31074 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
31075 movement by painting draggingHeaderRect.
31076 * NEWS: Added entry about JTable columns.
31078 2006-02-16 Keith Seitz <keiths@redhat.com>
31080 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31081 default size of eight bytes.
31082 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31083 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31084 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31085 (executeIDsizes): Use new static methods.
31086 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31089 2006-02-16 David Daney <ddaney@avtrex.com>
31092 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31093 return value with 0xff.
31095 2006-02-16 Keith Seitz <keiths@redhat.com>
31097 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31098 (matches): Use Iterator instead of ListIterator.
31100 2006-02-16 Keith Seitz <keiths@redhat.com>
31102 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31103 processor thread for easier debugging.
31104 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31107 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31109 * javax/swing/JTable.java
31110 (TableColumnPropertyChangeHandler.propertyChange): Return without
31111 action if table header resizing column in not null. (doLayout):
31112 Only repaint the header if it is not null.
31113 * javax/swing/plaf/basic/BasicTableHeaderUI.java
31114 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31115 Rewritten. (MouseInputHandler.endResizing): New method.
31117 2006-02-16 Roman Kennke <kennke@aicas.com>
31119 * javax/swing/text/html/InlineView.java: New file.
31121 2006-02-16 Roman Kennke <kennke@aicas.com>
31123 * javax/swing/JTabbedPane.java
31124 (AccessibleJTable.getAccessibleChild): Implemented to return
31125 the Page instance for the specified index.
31126 (Page): Changed to implement Accessible and extend
31128 (Page.getAccessibleContext): New method.
31129 (Page.getAccessibleRole): New method.
31130 (Page.getAccessibleStateSet): New method.
31131 (Page.getAccessibleIndexInParent): New method.
31132 (Page.getAccessibleChildrenCount): New method.
31133 (Page.getAccessibleChild): New methdod.
31134 (Page.getLocale): New method.
31136 2006-02-16 Roman Kennke <kennke@aicas.com>
31138 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31139 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31140 tabCount gets greater than tabRuns.length.
31141 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31142 when tabCount gets greater than tabRuns.length.
31143 (paintTabArea): Don't set tabCount == runCount.
31145 2006-02-16 Roman Kennke <kennke@aicas.com>
31147 * javax/swing/plaf/basic/BasicTextUI.java
31148 (installUI): Moved installation of PropertyChangeListener
31149 to installListeners(). Call modelChanged() after everything is
31151 (installListeners): Install PropertyChangeListener here.
31152 (uninstallUI): Moved uninstallation of PropertyChangeListener
31153 to uninstallListeners.
31154 (uninstallListeners): Uninstall PropertyChangeListener here.
31156 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31158 * javax/swing/JTable.java (doLayout):
31159 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31161 javax/swing/plaf/basic/BasicTableHeaderUI.java
31162 (MouseInputHandler.mouseDragged): Do not repaint the header.
31164 2006-02-16 Roman Kennke <kennke@aicas.com>
31166 * javax/swing/JViewport.java
31167 (static_initializer): Set default scrollMode to backingstore.
31169 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31171 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31172 returned by getCellRect. To not translate the component.
31174 2006-02-16 Roman Kennke <kennke@aicas.com>
31176 * javax/swing/JComponent.java
31177 (rectCache): Made field non-static to avoid nasty interferences.
31178 (computeVisibleRect): Avoid creation of new Rectangles and double
31179 calculations on ints by using Swing.computeIntersection() instead
31180 of Rectangle2D.intersect().
31181 (repaint): Interect the dirty region with the visible rectangle
31182 of this component to avoid unnecessary painting.
31184 2006-02-16 Gary Benson <gbenson@redhat.com>
31186 * java/lang/Thread.java (stop): Add a missing access check.
31188 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31190 * javax/swing/text/JTextComponent.java:
31191 (replaceSelection): Added code to update the magic caret position.
31192 * javax/swing/text/DefaultEditorKit.java: Added code to update
31193 the magic caret position of the text component in all relevant
31194 movement actions, make use of the magic caret position in up
31195 and down movements and selections, simplified some actions
31198 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31200 * gnu/java/lang/CharData.java: Regenerated from
31201 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31202 and scripts/unicode-muncher.pl.
31203 * java/lang/Character.java:
31204 (PrivateUseCharacters): New private static class.
31205 (UnassignedCharacters): Likewise.
31206 (blocks): Changed from char[] to char[][] to reflect the changes in
31207 gnu/java/lang/CharData. There is now one char[] per Unicode code
31210 (numValue): Likewise.
31213 (direction): Likewise.
31214 (readChar): Replaced this method with new method readCodePoint.
31215 (readCodePoint): New method.
31216 (isLowerCase(char)): Redirected to new isLowerCase(int).
31217 (isLowerCase(int)): New method.
31218 (isUpperCase(char)): Redirected to new isUpperCase(int).
31219 (isUpperCase(int)): New method.
31220 (isTitleCase(char)): Redirected to new isTitleCase(int).
31221 (isTitleCase(int)): New method.
31222 (isDigit(char)): Redirected to new isDigit(int).
31223 (isDigit(int)): New method.
31224 (isDefined(char)): Redirected to new isDefined(int).
31225 (isDefined(int)): New method.
31226 (isLetter(char)): Redirected to new isLetter(int).
31227 (isLetter(int)): New method.
31228 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31229 (isLetterOrDigit(int)): New method.
31230 (isJavaIdentifierStart(char)): Redirected to new
31231 isJavaIdentifierStart(int).
31232 (isJavaIdentifierStart(int)): New method.
31233 (isJavaIdentifierPart(char)): Redirected to new
31234 isJavaIdentifierPart(int).
31235 (isJavaIdentifierPart(int)): New method.
31236 (isUnicodeIdentifierStart(char)): Redirected to new
31237 isUnicodeIdentifierStart(int).
31238 (isUnicodeIdentifierStart(int)): New method.
31239 (isUnicodeIdentifierPart(char)): Redirected to new
31240 isUnicodeIdentifierPart(int).
31241 (isUnicodeIdentifierPart(int)): New method.
31242 (isIdentifierIgnorable(char)): Redirected to new
31243 isIdentifierIgnorable(int).
31244 (isIdentifierIgnorable(int)): New method.
31245 (toLowerCase(char)): Changed access to lower to correspond with new
31246 char[][] type of lower.
31247 (toLowerCase(int)) New method.
31248 (toUpperCase(char)): Changed access to upper to correspond with new
31249 char[][] type of upper.
31250 (toUpperCase(int)): New method.
31251 (toTitleCase(int)): New method.
31252 (digit(char, int)): Replaced call to readChar with call to
31253 readCodePoint and changed access to numValue to reflect new char[][]
31255 (digit(int, int)): New method.
31256 (getNumericValue(char)): Changed access to numValue to reflect new
31257 char[][] type of numValue.
31258 (getNumericValue(int)): New method.
31259 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31260 (isSpaceChar(int)): New method.
31261 (isWhitespace(char)): Redirected to new isWhitespace(int).
31262 (isWhitespace(int)): New method.
31263 (isISOControl(char)): Redirected to new isISOControl(int).
31264 (isISOControl(int)): New method.
31265 (getType(char)): Redirected to new getType(int).
31266 (getType(int)): New method.
31267 (getDirectionality(char)): Redirected to new getDirectionality(int).
31268 (getDirectionality(int)): New method.
31269 (isMirrored(char)): Changed call to readChar to readCodePoint.
31270 (isMirrored(int)): New method.
31271 * java/lang/String.java:
31272 (upperCaseExpansion): Changed access to Character.direction to reflect
31273 new char[][] type of direction.
31274 (offsetByCodePoints): New method.
31275 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31276 4.0.0 which introduced supplementary character assignments.
31278 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31280 * javax/swing/JTable.java,
31281 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31282 javax/swing/table/DefaultTableModel.java: Documented.
31284 2006-02-15 Lillian Angel <langel@redhat.com>
31286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31287 Removed duplicate methods.
31289 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31291 * javax/swing/JTable.java (distributeSpillResizing): New method.
31292 (doLayout): Use distributeSpillResizing when resizing.
31293 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31294 Rewritten. (installListeners): Add mouse motion listener.
31295 (uninstallListeners): Remove mouse motion listener.
31297 2006-02-15 Lillian Angel <langel@redhat.com>
31299 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31300 (setVisible): Removed method.
31301 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31302 (setLocation): New method.
31303 (setLocationUnlocked): New method.
31304 (show): Changed to use setLocation instead of setBounds.
31305 * java/awt/Component.java
31306 (show): Should call peer.show(), not peer.setVisible(), so the
31307 location of the component is correctly set.
31308 (preferredSize): Added curly braces so else statements are
31309 properly associated with if's.
31310 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31311 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31313 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31314 LocationUnlocked): New function.
31315 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31316 Added declarations for Java_gnu_java_awt_peer_gtk_
31317 GtkWindowPeer_nativeSetLocation and
31318 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31319 _nativeSetLocationUnlocked.
31321 2006-02-15 Mark Wielaard <mark@klomp.org>
31323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31324 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31325 Downcast gtk_plug_new result when used.
31327 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31329 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31330 Call assignNewHandle() after writing Proxy class.
31332 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31335 * java/io/ObjectInputStream.java (readClassDescriptor):
31336 Class doesn't have to be abstract for first_nonserial.
31338 2006-02-15 Roman Kennke <kennke@aicas.com>
31340 * javax/swing/JInternalFrame.java
31341 (setClosed): Call dispose to actually make the frame invisible
31344 2006-02-15 Roman Kennke <kennke@aicas.com>
31346 * javax/swing/JInternalFrame.java
31347 (dispose): Call setVisible(false) instead of hide.
31348 (doDefaultCloseOperation): Likewise.
31350 2006-02-15 Roman Kennke <kennke@aicas.com>
31352 * javax/swing/JComponent.java
31353 (paintChildren): Also check for the visibility of a child component
31354 to avoid artifacts.
31355 (repaint): Simply add this component to the RepaintManager rather than
31356 trying to do useless optimization here.
31358 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31360 * javax/swing/JSpinner.java
31361 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31362 PropertyChangeListener,
31363 (DefaultEditor.getSpinner): Updated API docs,
31364 (DefaultEditor.dismiss): Likewise,
31365 (DefaultEditor.getTextField): Likewise,
31366 (DefaultEditor.layoutContainer): Likewise,
31367 (DefaultEditor.minimumLayoutSize): Likewise,
31368 (DefaultEditor.preferredLayoutSize): Likewise,
31369 (DefaultEditor.propertyChange): Implemented,
31370 (DefaultEditor.stateChanged): Implemented,
31371 (DefaultEditor.removeLayoutComponent): Updated API docs,
31372 (DefaultEditor.addLayoutComponent): Likewise,
31373 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31374 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31375 (NumberEditor.getFormat): Implemented,
31376 (NumberEditor.getModel): Updated API docs,
31377 (NumberEditorFormatter): New static inner class,
31378 (ListEditor.getModel): Updated API docs,
31379 (DateEditor.dateFormat): Removed,
31380 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31381 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31382 (DateEditor.init): Removed,
31383 (DateEditor.getFormat): Reimplemented,
31384 (DateEditorFormatter): New static inner class,
31385 (ModelListener): New inner class,
31386 (model): Updated API docs,
31387 (editor): Likewise,
31388 (listener): Removed,
31389 (JSpinner()): Updated API docs,
31390 (JSpinner(SpinnerModel)): Set up ModelListener,
31391 (setEditor): Fire property change,
31392 (getModel): Updated API docs,
31393 (setModel): Removed check for null editor,
31394 (setValue): Updated API docs,
31395 (getUIClassID): Updated API docs,
31396 (createEditor): Handle SpinnerListModel case,
31397 * javax/swing/plaf/basic/BasicSpinnerUI.java
31398 (createUI): Updated API docs,
31399 (createPropertyChangeListener): Added FIXME,
31400 (installDefaults): Set text field border to null,
31401 (DefaultLayoutManager): Updated API docs,
31402 (DefaultLayoutManager.layoutContainer): Modified layout,
31403 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31404 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31405 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31406 (DefaultLayoutManager.addLayoutComponent): Likewise,
31407 (DefaultLayoutManager.minSize): Renamed prefSize,
31408 (DefaultLayoutManager.setBounds): Reformatted,
31409 (DefaultLayoutManager.editor): Added API docs,
31410 (DefaultLayoutManager.next): Likewise,
31411 (DefaultLayoutManager.previous): Likewise,
31412 * javax/swing/plaf/metal/MetalLookAndFeel.java
31413 (initComponentDefaults): Added entry for 'Spinner.border',
31414 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31416 2006-02-15 Chris Burdess <dog@gnu.org>
31418 * gnu/xml/validation/datatype/BooleanType.java,
31419 gnu/xml/validation/datatype/ByteType.java,
31420 gnu/xml/validation/datatype/DateTimeType.java,
31421 gnu/xml/validation/datatype/DateType.java,
31422 gnu/xml/validation/datatype/DecimalType.java,
31423 gnu/xml/validation/datatype/DoubleType.java,
31424 gnu/xml/validation/datatype/DurationType.java,
31425 gnu/xml/validation/datatype/FloatType.java,
31426 gnu/xml/validation/datatype/GDayType.java,
31427 gnu/xml/validation/datatype/GMonthDayType.java,
31428 gnu/xml/validation/datatype/GMonthType.java,
31429 gnu/xml/validation/datatype/GYearMonthType.java,
31430 gnu/xml/validation/datatype/GYearType.java,
31431 gnu/xml/validation/datatype/IntType.java,
31432 gnu/xml/validation/datatype/IntegerType.java,
31433 gnu/xml/validation/datatype/LongType.java,
31434 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31435 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31436 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31437 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31438 gnu/xml/validation/datatype/NegativeIntegerType.java,
31439 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31440 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31441 gnu/xml/validation/datatype/PositiveIntegerType.java,
31442 gnu/xml/validation/datatype/ShortType.java,
31443 gnu/xml/validation/datatype/SimpleType.java,
31444 gnu/xml/validation/datatype/TimeType.java,
31445 gnu/xml/validation/datatype/TypeBuilder.java,
31446 gnu/xml/validation/datatype/UnsignedByteType.java,
31447 gnu/xml/validation/datatype/UnsignedIntType.java,
31448 gnu/xml/validation/datatype/UnsignedLongType.java,
31449 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31450 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31451 minInclusive facets use the value space of the base type, and
31454 2006-02-15 Mark Wielaard <mark@klomp.org>
31456 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31457 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31458 gtk_plug_new() returns a GtkWindow.
31460 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31462 * javax/swing/SpinnerNumberModel.java
31463 (getNextValue): Check for null maximum,
31464 (getPreviousValue): Check for null minimum.
31466 2006-02-15 Roman Kennke <kennke@aicas.com>
31468 * javax/swing/plaf/basic/BasicTableUI.java
31469 (paint): Paint vertical and horizontal lines one pixel shifted
31472 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31474 * java/util/zip/ZipFile.java
31475 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31476 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31477 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31478 (readEntries): Rewritten to use PartialInputStream.
31479 (locBuf, checkLocalHeader): Removed.
31480 (getInputStream): Rewritten to use new PartialInputStream.
31481 (PartialInputStream): Rewritten to do buffering.
31483 2006-02-15 Michael Koch <konqueror@gmx.de>
31485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31486 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31487 Make sure the embedded window gets no decorations.
31488 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31489 (window_get_frame_extents): Return early of the window has no
31492 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31494 * examples/gnu/classpath/examples/swing/TableDemo.java
31495 (TModel, createContent): Explain which value appears in the header.
31496 * javax/swing/JTable.java (setColumnModel): Only set the
31497 column header value if the getHeaderValue() returns null.
31499 2006-02-14 Mark Wielaard <mark@klomp.org>
31502 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31503 (getErrorImage): New static method.
31504 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31505 (bufferedImageOrError): Renamed to ...
31506 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31507 Returns GtkImage.getErrorImage() when argument null.
31508 (createImage(String)): Always use imageOrError.
31509 (createImage(URL)): Likewise.
31510 (createImage(ImageProducer)): Likewise.
31511 (createImage(byte[],int,int)): Likewise.
31513 2006-02-14 Roman Kennke <kennke@aicas.com>
31515 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31517 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31518 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31519 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31520 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31521 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31523 2006-02-14 Roman Kennke <kennke@aicas.com>
31525 * javax/swing/text/AsyncBoxView.java
31526 (ChildState.locator): Removed wrong field.
31527 (ChildState): Removed initialization of removed field.
31528 (locator): Changed access modifier to be protected as specified.
31530 2006-02-14 Roman Kennke <kennke@aicas.com>
31532 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31533 * javax/swing/Timer.java: Some small reindention.
31534 (task): Made package private to avoid synthetic accessor method.
31536 2006-02-14 Roman Kennke <kennke@aicas.com>
31538 * javax/swing/SwingUtilities.java
31539 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31542 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31544 * examples/gnu/classpath/examples/swing/TableDemo.java:
31545 Making the columns variable width.
31546 * javax/swing/JTable.java (distributeSpill, doLayout):
31547 Call getPreferredSize and not getSize().
31549 2006-02-14 Roman Kennke <kennke@aicas.com>
31551 * javax/swing/DefaultCellEditor.java
31552 (DefaultCellEditor): API doc fixlet.
31554 2006-02-14 Roman Kennke <kennke@aicas.com>
31556 * javax/swing/JViewport.java
31557 (isPaintRoot): New field.
31558 (repaint): Only call super here. Also added a comment regarding
31559 the diversion from the JDK.
31560 (paintBlit): Implemented real blitting.
31561 (paintImmediately2): New method. Overrides the same package private
31562 method in JComponent.
31564 2006-02-14 Roman Kennke <kennke@aicas.com>
31566 * javax/swing/plaf/basic/BasicTableUI.java
31567 (paint): Check for boundary cases when determining the painting
31570 2006-02-14 Mark Wielaard <mark@klomp.org>
31572 * java/awt/Menu.java (add): Always set parent of item to this. Call
31573 addNotify() on item when we have a MenuPeer already.
31574 (insert): Always adjust parent for item. Call addNotify() on item if
31575 we already have a peer.
31576 (remove(int)): Always clear item parent. Call removeNotify() on item
31579 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31581 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31582 row == getRowCount().
31584 2006-02-14 Lillian Angel <langel@redhat.com>
31586 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31587 (setVisible): New method to override super. Need to set the
31588 native bounds of the component, so it appears at the
31591 2006-02-14 Mark Wielaard <mark@klomp.org>
31593 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31594 (remove): If menu component is the current MenuBar remove it,
31595 otherwise call super.remove().
31596 * java/awt/MenuBar.java (frame): Remove field.
31597 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31599 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31601 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31602 to NameServicePersistent.
31603 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31604 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31606 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31608 * NEWS: Updated tool status.
31609 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31610 (constructor, bind, rebind): Rewritten.
31611 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31612 * tools/gnu/classpath/tools/giop/README: Updated.
31613 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31614 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31615 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31616 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31617 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31620 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31622 * javax/swing/JComponent.java
31623 (getListeners): Check for PropertyChangeListener.class and delegate to
31624 getPropertyChangeListeners() for that case.
31626 2006-02-13 Roman Kennke <kennke@aicas.com>
31628 * javax/swing/plaf/basic/BasicTableUI.java
31629 (paint): Determine the cells that need painting based on the
31630 current clip. Use getCellRect() for calculating the cell
31633 2006-02-13 Roman Kennke <kennke@aicas.com>
31635 * javax/swing/JTable.java
31636 (rectCache): New field.
31637 (getCellRect): Returns cached Rectangle instance.
31639 2006-02-13 Roman Kennke <kennke@aicas.com>
31641 * javax/swing/JLayeredPane.java
31642 (removeAll): New method. Avoid potential memory leak.
31643 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31646 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31648 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31649 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31651 2006-02-13 Tom Tromey <tromey@redhat.com>
31653 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31654 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31656 2006-02-13 Roman Kennke <kennke@aicas.com>
31658 * javax/swing/RepaintManager.java
31659 (offscreenBuffers): New field.
31660 (doubleBuffer): Removed field.
31661 (repaintUnderway): New field.
31662 (commitRequests): New field.
31663 (RepaintManager): Initialize new fields.
31664 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31666 (getOffscreenBuffer): Returns the offscreen buffer for the
31667 corresponding root component.
31668 (commitBuffer): New method.
31669 (commitRemainingBuffers): New method.
31670 * javax/swing/JComponent.java
31671 (paint): Call paintDoubleBuffered with the current clip.
31672 (paintImmediately2): Don't paint on screen here.
31673 (paintDoubleBuffered): Rewritten for real double buffering.
31674 (paintSimple): Draw to screen in this method.
31676 2006-02-13 Roman Kennke <kennke@aicas.com>
31678 * javax/swing/JRootPane.java
31679 (JRootPane): Set opaque property to true.
31681 2006-02-13 Tom Tromey <tromey@redhat.com>
31683 * .classpath: Updated for external/relaxngDatatype.
31685 2006-02-13 Chris Burdess <dog@gnu.org>
31687 * gnu/xml/stream/UnicodeReader.java,
31688 gnu/xml/validation/datatype/Annotation.java,
31689 gnu/xml/validation/datatype/AnySimpleType.java,
31690 gnu/xml/validation/datatype/AnyType.java,
31691 gnu/xml/validation/datatype/AnyURIType.java,
31692 gnu/xml/validation/datatype/AtomicSimpleType.java,
31693 gnu/xml/validation/datatype/Base64BinaryType.java,
31694 gnu/xml/validation/datatype/BooleanType.java,
31695 gnu/xml/validation/datatype/ByteType.java,
31696 gnu/xml/validation/datatype/DateTimeType.java,
31697 gnu/xml/validation/datatype/DateType.java,
31698 gnu/xml/validation/datatype/DecimalType.java,
31699 gnu/xml/validation/datatype/DoubleType.java,
31700 gnu/xml/validation/datatype/DurationType.java,
31701 gnu/xml/validation/datatype/EntitiesType.java,
31702 gnu/xml/validation/datatype/EntityType.java,
31703 gnu/xml/validation/datatype/EnumerationFacet.java,
31704 gnu/xml/validation/datatype/Facet.java,
31705 gnu/xml/validation/datatype/FloatType.java,
31706 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31707 gnu/xml/validation/datatype/GDayType.java,
31708 gnu/xml/validation/datatype/GMonthDayType.java,
31709 gnu/xml/validation/datatype/GMonthType.java,
31710 gnu/xml/validation/datatype/GYearMonthType.java,
31711 gnu/xml/validation/datatype/GYearType.java,
31712 gnu/xml/validation/datatype/HexBinaryType.java,
31713 gnu/xml/validation/datatype/IDRefType.java,
31714 gnu/xml/validation/datatype/IDRefsType.java,
31715 gnu/xml/validation/datatype/IDType.java,
31716 gnu/xml/validation/datatype/IntType.java,
31717 gnu/xml/validation/datatype/IntegerType.java,
31718 gnu/xml/validation/datatype/LanguageType.java,
31719 gnu/xml/validation/datatype/LengthFacet.java,
31720 gnu/xml/validation/datatype/ListSimpleType.java,
31721 gnu/xml/validation/datatype/LongType.java,
31722 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31723 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31724 gnu/xml/validation/datatype/MaxLengthFacet.java,
31725 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31726 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31727 gnu/xml/validation/datatype/MinLengthFacet.java,
31728 gnu/xml/validation/datatype/NCNameType.java,
31729 gnu/xml/validation/datatype/NMTokenType.java,
31730 gnu/xml/validation/datatype/NMTokensType.java,
31731 gnu/xml/validation/datatype/NameType.java,
31732 gnu/xml/validation/datatype/NegativeIntegerType.java,
31733 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31734 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31735 gnu/xml/validation/datatype/NormalizedStringType.java,
31736 gnu/xml/validation/datatype/NotationType.java,
31737 gnu/xml/validation/datatype/PatternFacet.java,
31738 gnu/xml/validation/datatype/PositiveIntegerType.java,
31739 gnu/xml/validation/datatype/QNameType.java,
31740 gnu/xml/validation/datatype/ShortType.java,
31741 gnu/xml/validation/datatype/SimpleType.java,
31742 gnu/xml/validation/datatype/StringType.java,
31743 gnu/xml/validation/datatype/TimeType.java,
31744 gnu/xml/validation/datatype/TokenType.java,
31745 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31746 gnu/xml/validation/datatype/Type.java,
31747 gnu/xml/validation/datatype/TypeBuilder.java,
31748 gnu/xml/validation/datatype/TypeLibrary.java,
31749 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31750 gnu/xml/validation/datatype/UnionSimpleType.java,
31751 gnu/xml/validation/datatype/UnsignedByteType.java,
31752 gnu/xml/validation/datatype/UnsignedIntType.java,
31753 gnu/xml/validation/datatype/UnsignedLongType.java,
31754 gnu/xml/validation/datatype/UnsignedShortType.java,
31755 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31756 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31757 RELAX NG datatype library implementation for XML Schema Datatypes.
31759 2006-02-13 Chris Burdess <dog@gnu.org>
31765 external/Makefile.am,
31766 external/relaxngDatatype/.cvsignore,
31767 external/relaxngDatatype/Makefile.am,
31768 external/relaxngDatatype/README.txt,
31769 external/relaxngDatatype/copying.txt,
31770 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31771 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31772 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31773 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31774 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31775 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31776 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31777 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31778 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31779 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31781 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31782 datatypes library API.
31784 2006-02-13 Mark Wielaard <mark@klomp.org>
31786 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31788 (gtkWidgetModifyFont(Font)): New protected helper method.
31789 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31790 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31791 protected and document.
31792 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31794 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31796 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31798 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31799 (setFont): Removed method. Done in GtkMenuComponent.
31800 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31801 abstract and protected.
31802 (setFont): Made private, add implementation.
31803 (setFont(Font)): Implemented.
31804 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31805 Made protected and document.
31806 (create): Made protected.
31807 (setFont): Removed method. Done in GtkMenuComponent.
31808 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31809 (gtkWidgetModifyFont): Made protected and document.
31810 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31811 Removed, similar to GtkGenericPeer super class implementation.
31812 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31813 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31814 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31817 2006-02-13 Mark Wielaard <mark@klomp.org>
31819 * java/lang/Math.java (static): Explicitly call
31820 System.loadLibrary("javalang").
31822 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31824 * javax/print/StreamPrintServiceFactory.java: New file.
31826 2006-02-13 Tom Tromey <tromey@redhat.com>
31828 * tools/.cvsignore: Added Makefile.
31830 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31832 * java/awt/print/PrinterGraphics.java: Reformatted.
31833 * java/awt/print/Paper.java: Likewise.
31834 * java/awt/print/PageFormat.java: Likewise.
31835 * java/awt/print/Pageable.java: Likewise.
31837 2006-02-13 Lillian Angel <langel@redhat.com>
31839 * java/awt/BorderLayout.java
31840 (layoutContainer): Rewrote part of this function to
31841 properly set the bounds of the components.
31842 (setBounds): Removed method, not needed.
31844 2006-02-13 Roman Kennke <kennke@aicas.com>
31846 * javax/swing/text/DefaultStyledDocument.java
31847 (ElementBuffer.clone): Fixed replace call.
31848 (clone): Removed method.
31850 2006-02-13 Roman Kennke <kennke@aicas.com>
31852 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31854 2006-02-13 Roman Kennke <kennke@aicas.com>
31856 * java/rmi/server/UnicastRemoteObject.java
31857 (exportObject(Remote)): Forward method call to export(Remote,int).
31859 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31861 * include/Makefile.am:
31862 Swapped Math.h for VMMath.h
31863 * include/java_lang_Math.h:
31865 * include/java_lang_VMMath.h:
31866 New autogenerated header for the new class.
31867 * java/lang/Math.java:
31868 (sin(double)): Changed to link to VMMath.
31869 (cos(double)): Changed to link to VMMath.
31870 (tan(double)): Changed to link to VMMath.
31871 (asin(double)): Changed to link to VMMath.
31872 (acos(double)): Changed to link to VMMath.
31873 (atan(double)): Changed to link to VMMath.
31874 (atan2(double)): Changed to link to VMMath.
31875 (exp(double)): Changed to link to VMMath.
31876 (log(double)): Changed to link to VMMath.
31877 (sqrt(double)): Changed to link to VMMath.
31878 (pow(double,double)): Changed to link to VMMath.
31879 (IEEEremainder(double,double)): Changed to link to VMMath.
31880 (ceil(double)): Changed to link to VMMath.
31881 (floor(double)): Changed to link to VMMath.
31882 (rint(double)): Changed to link to VMMath.
31883 * native/jni/java-lang/Makefile.am:
31884 Replaced java_lang_Math.c with java_lang_VMMath.c
31885 * native/jni/java-lang/java_lang_Math.c:
31887 * native/jni/java-lang/java_lang_VMMath.c:
31888 Renamed from java_lang_Math.c.
31889 * vm/reference/java/lang/VMMath.java:
31891 (sin(double)): New native method.
31892 (cos(double)): New native method.
31893 (tan(double)): New native method.
31894 (asin(double)): New native method.
31895 (acos(double)): New native method.
31896 (atan(double)): New native method.
31897 (atan2(double)): New native method.
31898 (exp(double)): New native method.
31899 (log(double)): New native method.
31900 (sqrt(double)): New native method.
31901 (pow(double,double)): New native method.
31902 (IEEEremainder(double,double)): New native method.
31903 (ceil(double)): New native method.
31904 (floor(double)): New native method.
31905 (rint(double)): New native method.
31907 2006-02-13 Lillian Angel <langel@redhat.com>
31909 * java/awt/Component.java
31910 (repaint): No need to call isShowing, it is done in the other repaint call.
31911 (repaint): Likewise.
31912 (repaint): Likewise.
31914 2006-02-13 Lillian Angel <langel@redhat.com>
31916 * java/awt/Component.java
31917 (repaint): Reverted last change.
31918 (repaint): Likewise.
31919 (repaint): Likewise.
31921 2006-02-13 Lillian Angel <langel@redhat.com>
31923 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31924 (handleEvent): Made more efficent by handling paint event and
31925 setting the clip for the graphics.
31926 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31927 (handleEvent): Likewise.
31928 * java/awt/Component.java
31929 (repaint): No need to call isShowing, it is done in the other repaint call.
31930 (repaint): Likewise.
31931 (repaint): Likewise.
31933 2006-02-13 Roman Kennke <kennke@aicas.com>
31935 * javax/swing/text/AbstractDocument.java
31936 (setParent): Added API docs. Call setParent(null) on children before
31937 disconnecting this view from the View hierarchy.
31939 2006-02-13 Roman Kennke <kennke@aicas.com>
31941 * javax/swing/text/AbstractDocument.java
31942 (readUnlock): Don't attempt to unlock when the current threads also
31943 holds a write lock.
31945 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31947 * javax/swing/plaf/metal/MetalBorders.java
31948 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31949 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31951 (Flush3DBorder.borderInsets): New field,
31952 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31953 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31954 null insets argument, and populate result from borderInsets,
31955 (PaletteBorder.borderInsets): New field,
31956 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31957 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31958 null insets argument, and populate result from borderInsets,
31959 (InternalFrameBorder.borderInsets): New field,
31960 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31962 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31963 for null insets argument, and populate result from borderInsets,
31964 (MenuItemBorder.borderInsets): Initialise to correct value.
31966 2006-02-13 Roman Kennke <kennke@aicas.com>
31968 * javax/swing/text/AsyncBoxView.java: New file.
31970 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31973 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31974 was moved to a new method parseCharClass.
31975 (parseCharClass): New method originally in initialize. Added parsing
31976 of nested character classes.
31977 (ParseCharClassResult): New inner class used as a return value of
31979 (getCharExpression),(getNamedProperty): Made static.
31980 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31981 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31982 nested character classes.
31983 (RETokenOneOf): New constructor accepting the Vector addition.
31984 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31985 stands for only one character.
31986 (match): Added the processing of the Vector addition.
31987 (matchN), (matchP): Do not check next token if addition is used.
31989 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31991 * AUTHORS: add self.
31993 2006-02-12 Tom Tromey <tromey@redhat.com>
31995 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31996 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31997 (securityContext): Likewise.
32000 2006-02-12 Dalibor Topic <robilad@kaffe.org>
32004 * gnu/java/net/protocol/file/Connection.java (unquote):
32005 Convert Unicode characters outside basic plane to UTF-8,
32006 rather than throwing an exception.
32008 2006-02-12 Tom Tromey <tromey@redhat.com>
32010 * javax/sound/sampled/LineEvent.java (readObject): New method.
32011 (writeObject): Likewise.
32012 (serialVersionUID): New field.
32014 2006-02-12 Mark Wielaard <mark@klomp.org>
32016 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32017 Silently ignores null listener.
32018 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32019 (getPropertyChangeListeners): Returns empty PropertyChangeListener
32020 array for null propertyName.
32022 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32024 * java/rmi/MarshalledObject.java: Added api docs to the class.
32025 * java/rmi/Remote.java: Added interface api docs.
32026 * java/rmi/package.html: Added package description.
32027 * java/rmi/AccessException.java: Minor api doc fixes.
32028 * java/rmi/NoSuchObjectException.java: Likewise.
32029 * java/rmi/AlreadyBoundException.java: Likewise.
32030 * java/rmi/RemoteException.java: Likewise.
32031 * java/rmi/NotBoundException.java: Likewise.
32032 * java/rmi/RMISecurityException.java: Likewise.
32033 * java/rmi/StubNotFoundException.java: Likewise.
32035 2006-02-12 Mark Wielaard <mark@klomp.org>
32037 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32038 q() to get EventQueue.
32039 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32040 (enableQueue): Remove static method.
32041 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32042 Don't call GtkGenericPeer.enableQueue().
32044 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32046 * java/rmi/MarshalledObject.java: Reformatted.
32047 * java/rmi/Naming.java: Likewise.
32049 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32051 * java/io/InputStream.java
32052 (read(byte[],int,int)): Changed argument validation to prevent
32053 integer overflow. Remove redundant check.
32055 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32058 * java/io/InputStreamReader.java
32059 (InputStreamReader(InputStream)): Use SystemProperties.
32060 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32061 Throw NullPointerException if in is null.
32062 Added maxBytesPerChar initialisation.
32063 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32064 Throw NullPointerException if in is null.
32066 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
32068 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32069 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32070 (GnuDHPublicKey): New constructor.
32071 (getEncoded): Removed.
32072 (valueOf): Added support for ASN.1 encoding.
32073 (getEncoded(int)): Likewise.
32074 (equals): New method.
32075 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32076 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32077 (GnuDHPrivateKey(5)): New constructor.
32078 (getEncoded): Removed.
32079 (valueOf): Added support for ASN.1 encoding.
32080 (getEncoded(int)): Likewise.
32081 (equals): New method.
32082 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32083 (PREFERRED_ENCODING_FORMAT): New constant.
32084 (DEFAULT_ENCODING_FORMAT): Likewise.
32085 (preferredFormat): New field.
32086 (setup): Handle preferred encoding format identifier.
32087 (generate): Call constructors with format identifier.
32088 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32089 (GnuDHKey): Added an int argument.
32090 (getEncoded): New method.
32091 (getFormat): New implementation.
32092 (getEncoded(int)): New abstract method.
32093 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32094 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32095 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32096 key-pair generator and key-factory.
32097 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32098 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32099 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32100 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32101 (invokeConstructor): New method.
32102 (getConcreteClass): Likewise.
32103 (getConcreteCtor): Likewise.
32104 (invokeValueOf): Likewise.
32105 (getValueOfMethod): Likewise.
32106 (engineGeneratePublic): Add support for DH keys.
32107 (engineGeneratePrivate): Likewise.
32108 (decodeDHPublicKey(DHPublicKeySpec)): New method.
32109 (decodeDHPublicKey(byte[])): Likewise.
32110 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32111 (decodeDHPrivateKey(byte[])): Likewise.
32113 2006-02-11 Mark Wielaard <mark@klomp.org>
32115 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32117 (repaint): Immediately post to queue when tm <= 0, otherwise call
32118 RepaintTimerTask.schedule().
32119 (RepaintTimerTask): Make static.
32120 (RepaintTimerTask.repaintTimer): New static final field.
32121 (RepaintTimerTask.awtComponent): New field.
32122 (schedule): New static method.
32124 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32126 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32127 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32128 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32129 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32130 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32132 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32134 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
32136 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32137 (engineGeneratePublic): Added support for raw key-specifications.
32138 (engineGeneratePrivate): Likewise.
32139 (decodeDSSPublicKey): New method.
32140 (decodeRSAPublicKey): Likewise.
32141 (decodeDSSPrivateKey): Likewise.
32142 (decodeRSAPrivateKey): Likewise.
32143 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32144 (encodePrivateKey): Throw InvalidParameterException.
32145 (decodePublicKey): Likewise.
32146 (decodePrivateKey): Likewise.
32147 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32148 (encodePublicKey): Likewise.
32149 (encodePrivateKey): Likewise.
32150 (decodePublicKey): Likewise.
32151 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32152 (encodePrivateKey): Likewise.
32153 (decodePublicKey): Likewise.
32154 (decodePrivateKey): Likewise.
32155 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32156 (encodePublicKey): Likewise.
32157 (encodePrivateKey): Likewise.
32158 (decodePublicKey): Likewise.
32160 2006-02-10 Roman Kennke <kennke@aicas.com>
32162 * javax/swing/text/StyleContext.java
32163 (registerStaticAttributeKey): New static method.
32165 2006-02-10 Roman Kennke <kennke@aicas.com>
32167 * javax/swing/text/DefaultStyledDocument.java
32168 (ElementBuffer.clone): New method.
32170 2006-02-10 Roman Kennke <kennke@aicas.com>
32172 * javax/swing/text/ParagraphView.java
32173 (findOffsetToCharactersInString): New method.
32174 (getClosestPositionTo): New method.
32175 (getPartialSize): New method.
32176 (getTabBase): New method.
32177 (adjustRow): New method.
32178 (breakView): New method.
32179 (getBreakWeight): New method.
32181 2006-02-10 Roman Kennke <kennke@aicas.com>
32183 * javax/swing/text/GapContent.java
32184 (updateUndoPositions): New method.
32185 * javax/swing/text/StringContent.java
32186 (updateUndoPositions): New method.
32188 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32190 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32192 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32193 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32194 Added support for encoded key specifications.
32195 (engineGeneratePrivate): Likewise.
32196 (engineGetKeySpec): Likewise.
32197 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32199 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32201 * javax/swing/text/Utilities.java:
32202 (getTabbedTextOffset): Fixed usage of variable p0.
32203 (getPositionAbove): Rewritten.
32204 (getPositionBelow): Rewritten.
32206 2006-02-09 Roman Kennke <kennke@aicas.com>
32208 * javax/swing/text/BoxView.java
32209 (getAxis): Added @since tag.
32210 (setAxis): Added @since tag.
32211 (layoutChanged): Added @since tag.
32212 (isLayoutValid): Added @since tag.
32213 (paint): Don't call setSize here. This is done in RootView already.
32214 (getMaximumSpan): Reimplemented to return the requirements'
32215 maximum size. Added API docs.
32216 (getMinimumSpan): New method.
32217 (layout): Fixed layout order.
32218 (modelToView): Call layout instead of setSize here.
32219 (getResizeWeight): New method.
32220 (getChildAllocation): New method.
32221 (forwardUpdate): New method.
32222 (viewToModel): New method.
32223 (flipEastEndWestEnds): New method.
32224 * javax/swing/text/CompositeView.java
32225 (modelToView): Made this method more robust by returning a default
32226 location if it's not possible to calculate one via the children.
32227 This default location returns the left or right edge of this
32229 (createDefaultLocation): New helper method.
32230 * javax/swing/text/IconView.java
32231 (modelToView): Don't throw BadLocationException. This should
32232 really only be thrown if the position is outside the document
32233 model, not if it's outside the view's boundary.
32235 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32237 * tools/Makefile.am: Handle rmi and giop folders separately.
32239 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32241 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32242 * javax/swing/SpinnerNumberModel.java: Likewise.
32244 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32246 * javax/swing/SpinnerDateModel.java: Removed tabs,
32247 * javax/swing/SpinnerNumberModel.java: Likewise.
32249 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32251 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32252 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32254 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32257 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32258 (isRedirect): Removed, moved to Response.java.
32259 (connect): If error condition redirect responseSink to errorSink.
32260 (getInputStream): If error condition throw IOException, for the error
32261 codes 404 and 410 throw a FileNotFoundException.
32262 * gnu/java/net/protocol/http/Response.java (isError): New method.
32263 (isRedirect): New method, moved from HTTPURLConnection.java.
32265 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32267 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32268 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32269 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32271 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32273 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32274 AbstractMethodGenerator.
32275 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32276 tools/gnu/classpath/tools/rmi/RMIC.java,
32277 tools/gnu/classpath/tools/rmi/RMIC.txt,
32278 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32279 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32280 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32281 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32282 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32283 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32285 * NEWS: Corrected entry about the tools.
32287 2006-02-09 Lillian Angel <langel@redhat.com>
32289 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32290 (handleEvent): Added more to check to prevent assertion errors.
32291 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32292 (handleEvent): Likewise.
32293 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32294 (handleEvent): Likewise.
32296 2006-02-09 Mark Wielaard <mark@klomp.org>
32298 * javax/swing/JTable.java (tableChanged): Interpret null event as
32299 "everything changed".
32301 2006-02-09 Roman Kennke <kennke@aicas.com>
32303 * javax/swing/text/DefaultCaret.java
32304 (DocumentHandler.removeUpdate): When update policy is
32305 'on eventqueue', and the update doesn't come from the
32306 event queue, check if the current dot location is still
32308 (moveDot): Make sure the new dot location is valid.
32309 (setDot): Set the mark the same as the dot.
32311 2006-02-09 Roman Kennke <kennke@aicas.com>
32313 * javax/swing/text/AbstractDocument.java
32314 (remove): Perform all operations within a write lock and in the
32317 2006-02-09 Mark Wielaard <mark@klomp.org>
32319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32320 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32321 creater than min, adjusting page_size if necessary.
32322 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32324 2006-02-09 Lillian Angel <langel@redhat.com>
32326 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32327 (handleEvent): Added code to handle PaintEvent.UPDATE.
32328 Sun does not call update(Graphics g) on Panels.
32329 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32330 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32331 Sun does not call update(Graphics g) on Panels.
32333 2006-02-09 Roman Kennke <kennke@aicas.com>
32335 * javax/swing/text/BoxView.java
32336 (myAxis): Made field private.
32337 (xLayoutValid): Replaced by layoutValid array.
32338 (yLayoutValid): Replaced by layoutValid array.
32339 (layoutValid): New field.
32340 (spansX): Replaced by spans array.
32341 (spansY): Replaced by spans array.
32342 (spans): New field.
32343 (offsetsX): Replaced by offsets array.
32344 (offsetsY): Replaced by offsets array.
32345 (offsets): New field.
32346 (requirements): New field.
32347 (BoxView): Initialize new fields.
32348 (layoutChanged): Rewritten to use the layoutValid array.
32349 (isLayoutValid): Rewritten to use the layoutValid array.
32350 (replace): Use the new arrays.
32351 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32352 instead of baselineRequirements.
32353 (baselineRequirements): Rewritten to calculate baseline requirements.
32354 (baselineLayout): Rewritten to calculate baseline layout.
32355 (childAllocation): Use new arrays.
32356 (layout): Rewritten. Only update the layout if necessary.
32357 (layoutMajorAxis): Directly set layoutValid.
32358 (layoutMinorAxis): Directly set layoutValid. Use cached size
32360 (getWidth): Use new span array.
32361 (getHeight): Likewise.
32362 (setSize): Rewritten to simply call layout().
32363 (validateLayout): Removed unneeded method.
32364 (getSpan): Use new arrays.
32365 (getOffset): Use new arrays.
32366 (getAlignment): Use cached requirements if possible.
32367 (preferenceChanged): Use new arrays.
32368 * javax/swing/text/FlowView.java
32369 (FlowStrategy.insertUpdate): Do nothing here.
32370 (FlowStrategy.removeUpdate): Do nothing here.
32371 (FlowStrategy.changedUpdate): Do nothing here.
32372 (FlowStrategy.layoutRow): Rewritten.
32373 (FlowStrategy.createView): Rewritten.
32374 (FlowStrategy.adjustRow): New method.
32375 (LogicalView.getViewIndex): Fixed condition for finding child
32377 (layoutDirty): New field indicating the state of the layout.
32378 (FlowView): Initialize new field.
32379 (loadChildren): Set parent on logical view so that preferenceChanges
32380 get propagated upwards.
32381 (layout): Rewritten to match the specs.
32382 (insertUpdate): Set layout to dirty.
32383 (removeUpdate): Set layout to dirty.
32384 (changedUpdate): Set layout to dirty.
32385 * javax/swing/text/GlyphView.java
32386 (getBreakWeight): Rewritten to use the Utilities class. Commented
32387 out though because that is broken.
32388 (insertUpdate): Call preferenceChanged on this object instead of
32390 * javax/swing/text/ParagraphView.java
32391 (Row.loadChildren): Overridden to be a noop to prevent initial
32392 creation of child views. This is carried out by the flow layout.
32393 * javax/swing/text/View.java
32394 (getPreferredSpan): Added API docs.
32395 (getResizeWeight): Added API docs.
32396 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32398 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32399 resizable instead of Integer.MAX_VALUE.
32400 (getAlignment): Added API docs.
32401 (replace): Added API docs.
32402 (forwardUpdate): Rewritten to only notify child views that need to
32405 2006-02-09 Roman Kennke <kennke@aicas.com>
32407 * javax/swing/plaf/basic/BasicTextUI.java
32408 (RootView.paint): Call setSize() before painting the view.
32410 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32413 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32414 flag which enables backslash escape in a replacement.
32415 (getReplacement): New public static method.
32416 (substituteImpl),(substituteAllImpl): Use getReplacement.
32417 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32418 * java/util/regex/Matcher.java(appendReplacement)
32419 Use RE#getReplacement.
32420 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32422 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32424 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32425 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32426 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32427 (PREFERRED_ENCODING_FORMAT): New constant.
32428 (DEFAULT_ENCODING_FORMAT): Likewise.
32429 (preferredFormat): New field.
32430 (setup): Add support for preferred encoding format.
32431 (generate): Call key constructors with explicit format identifier.
32432 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32433 Call constructor with 3 arguments..
32434 (GnuRSAPublicKey(3)): New constructor.
32435 (valueOf): Added support for ASN.1 format.
32436 (getEncoded): Likewise.
32437 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32438 Call constructor with 5 arguments.
32439 (GnuRSAPrivateKey(5)): New constructor.
32440 (GnuRSAPrivateKey(9)): New constructor.
32441 (valueOf): Added support for ASN.1 format.
32442 (getEncoded): Likewise.
32443 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32444 (GnuRSAKey): Modified constructor.
32445 (getFormat): Return preferred format identifier.
32446 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32447 (decodePrivateKey): Fixed documentation.
32448 Check Version field.
32449 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32450 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32452 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32453 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32454 (engineGeneratePublic): Added support for RSA.
32455 (engineGeneratePrivate): Likewise.
32457 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32459 * java/net/URLConnection.java:
32460 (setAllowUserInteraction): Throw IllegalStateException if connected.
32461 (getRequestProperty): Document return value if key is null.
32462 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32463 (getRequestProperty): Return null if key is null.
32464 (getRequestProperties): Throw IllegalStateException if connected.
32465 (setRequestProperty): Call super method for exception tests.
32466 (addRequestProperty): Likewise.
32468 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32470 * gnu/java/net/protocol/http/Request.java:
32471 (Request): Remove initialization of removed field.
32472 (requestBodyNegotiationThreshold): Removed now unused field.
32473 (setRequestBodyNegotiationThreshold): Remove now unused method.
32474 (dispatch): Do not use 'Expect 100-continue' header if content-length
32475 is over a treshold. If user specified 'Expect 100-continue' still
32476 initialize the expectingContinue variable.
32478 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32480 * javax/swing/SpinnerNumberModel.java
32481 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32482 maximum and minimum to take null values,
32483 (setValue): Only fire ChangeEvent if new value is different to old
32485 (setMinimum): Fixed test for updating value,
32486 (setMaximum): Likewise,
32487 (setStepSize): Likewise.
32489 2006-02-08 Tom Tromey <tromey@redhat.com>
32491 * tools/.cvsignore: Added Makefile.in.
32493 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32495 * java/rmi/server/RemoteRef.java,
32496 java/rmi/server/RemoteStub.java: Commented.
32498 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32500 * javax/swing/SpinnerDateModel.java
32501 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32503 (getPreviousValue): Check result against start, not end,
32504 (setValue): Check that value actually changes before firing
32507 2006-02-08 Lillian Angel <langel@redhat.com>
32509 * java/awt/Choice.java
32510 (select): Fixed up code, added some checks to prevent errors.
32511 (dispatchEventImpl): Removed. This function is not needed. It
32512 causes several assertion errors.
32514 2006-02-08 Roman Kennke <kennke@aicas.com>
32516 * javax/swing/text/PlainView.java
32517 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32518 drawing unnecessary characters.
32520 2006-02-08 Lillian Angel <langel@redhat.com>
32522 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32523 (handleEvent): Fixed check to determine if height or
32524 width is less than 1.
32526 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32528 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32530 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32532 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32533 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32534 Documenting the code generator.
32535 * gnu/CORBA/IOR.java (toStringFormatted,
32536 CodeSet_component.toStringFormatted): New methods.
32537 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32538 * tools/gnu/classpath/tools/giop/README: Rewritten.
32539 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32540 (printHelpAndExit): Removed.
32541 *tools/gnu/classpath/tools/giop/IorParser.java,
32542 tools/gnu/classpath/tools/giop/IorParser.txt,
32543 tools/gnu/classpath/tools/giop/NameService.java,
32544 tools/gnu/classpath/tools/giop/NamingService.txt,
32545 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32546 NEWS: Added note about GIOP tools.
32548 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32550 * .classpath: New source patch (tools).
32551 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32552 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32553 * tools/gnu/classpath/tools/Makefile.am,
32554 tools/gnu/classpath/tools/giop/GRMIC.java
32555 tools/gnu/classpath/tools/giop/GRMIC.txt,
32556 tools/gnu/classpath/tools/giop/README,
32557 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32558 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32559 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32560 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32561 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32562 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32563 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32564 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32565 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32566 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32567 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32568 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32570 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32572 * java/awt/BasicStroke.java: Updated API docs all over,
32573 * java/awt/doc-files/capjoin.png: New file.
32575 2006-02-07 Lillian Angel <langel@redhat.com>
32577 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32578 (handleEvent): Added check. Should not paint or update the
32579 component if it's width and height are both 0.
32581 2006-02-07 Roman Kennke <kennke@aicas.com>
32583 * javax/swing/text/AbstractDocument.java
32584 (insertString): Enclose locking/unlocking in try-finally block
32585 and also keep locked while notifying the listeners.
32587 2006-02-07 Roman Kennke <kennke@aicas.com>
32589 * javax/swing/text/GlyphView.java
32590 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32592 (getStartOffset): Return element boundary if startOffset < 0.
32593 (getEndOffset): Return element boundary if endOffset < 0.
32594 (createFragment): Set startOffset and endOffset fields of fragment
32595 if one of p0 or p1 is not at the element boundary.
32597 2006-02-07 Roman Kennke <kennke@aicas.com>
32599 * javax/swing/CellRendererPane.java
32600 (paintComponent): Enclosed painting in try finally to properly
32601 clean up even when throwing an exception.
32603 2006-02-07 Roman Kennke <kennke@aicas.com>
32605 * javax/swing/UIManager.java
32606 (listeners): Made this an instance of
32607 java.beans.PropertyChangeSupport instead of the obsoleted
32608 SwingPropertyChangeSupport.
32610 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32612 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32613 of actions "delete-next" and "delete-previous", added new TextAction
32614 implementations for "selection-begin", "selection-begin-line",
32615 "selection-end" and "selection-end-line".
32617 2006-02-07 Roman Kennke <kennke@aicas.com>
32619 * javax/swing/plaf/basic/BasicTextUI.java
32620 (paint): Acquire read lock on the document before calling
32622 (paintSafely): Added comment about what this method does.
32623 (paintBackground): Implemented to actually paint the background.
32624 (update): Overridden to _not_ paint the background. This is done
32625 in paintBackground in this UI.
32627 2006-02-07 Roman Kennke <kennke@aicas.com>
32629 * javax/swing/text/View.java
32630 (forwardUpdate): Don't notify newly added child views as specified.
32632 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32634 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32636 2006-02-07 Roman Kennke <kennke@aicas.com>
32638 * javax/swing/text/DefaultStyledDocument.java
32639 (ElementBuffer.insert): Only register change when the element
32642 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32644 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32646 (getEncodingShortName): Likewise.
32647 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32648 (PKCS8_FORMAT): Likewise.
32649 (ASN1_FORMAT): Likewise.
32650 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32651 constructor with 5 arguments.
32652 (DSSPublicKey(5)): New constructor.
32653 (valueOf): Handle ASN.1 encoding.
32654 (getEncoded): Likewise.
32655 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32656 constructor with 5 arguments.
32657 (DSSPrivateKey(5)): New constructor.
32658 (valueOf): Handle ASN.1 encoding.
32659 (getEncoded): Likewise.
32660 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32661 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32662 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32663 (PREFERRED_ENCODING_FORMAT): New constant.
32664 (DEFAULT_ENCODING_FORMAT): Likewise.
32665 (preferredFormat): New field.
32666 (setup): Handle preferred format ID.
32667 (generate): Use new ctors with 5 arguments.
32668 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32669 ID as an additional argument.
32670 (defaultFormat): new field.
32671 (getFormat): Returns the preferred format as a short string.
32672 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32673 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32675 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32676 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32678 (initialize(int,boolean,SecureRandom)): Likewise.
32679 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32680 writeLength() instead of write().
32681 return buf.length + 1 instead of buf.length.
32683 2006-02-07 Roman Kennke <kennke@aicas.com>
32685 * javax/swing/plaf/basic/BasicTextUI.java
32686 (RootView.preferenceChange): Changed view parameter to view so
32687 that it doesn't hide a field of that class.
32688 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32689 (RootView.modelToView): Removed unnecessary cast from View to View.
32690 (PropertyChangeHandler): Made inner class private.
32691 (updateHandler): Made field private.
32692 (getVisibleEditorRect): Removed unneeded local variable that
32693 shadowed a field with the same name and purpose.
32695 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32697 * javax/swing/text/JTextComponent.java:
32698 (getSelectedText): Calculate offset and use that as
32701 2006-02-07 Roman Kennke <kennke@aicas.com>
32703 * javax/swing/JTextPane.java
32704 (setCharacterAttributes): Replace input attributes when
32707 2006-02-07 Roman Kennke <kennke@aicas.com>
32709 * java/awt/Component.java
32710 (firePropertyChange(String,byte,byte)): Made method public.
32711 (firePropertyChange(String,char,char)): Made method public.
32712 (firePropertyChange(String,short,short)): Made method public.
32713 (firePropertyChange(String,long,long)): Made method public.
32714 (firePropertyChange(String,float,float)): Made method public.
32715 (firePropertyChange(String,double,double)): Made method public.
32717 2006-02-06 Tom Tromey <tromey@redhat.com>
32719 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32721 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32723 2006-02-06 Anthony Green <green@redhat.com>
32725 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32727 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32729 * .settings/org.eclipse.jdt.core.prefs:
32730 Force a line split on extends and implements.
32731 Force a white-space after unary operators.
32732 Don't force a new-line after @params.
32733 Add new-line at end-of-file.
32734 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32736 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32738 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32740 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32742 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32744 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32746 * gnu/java/security/provider/EncodedKeyFactory.java
32747 (ID_DSA): Redefined in terms of Registry constant.
32748 (ID_DSA): Redefined in terms of Registry constant.
32749 (ID_DH): Redefined in terms of Registry constant.
32750 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32751 (PKCS8_ENCODING): Likewise.
32752 (ASN1_ENCODING): Likewise.
32753 (RAW_ENCODING_SHORT_NAME): Likewise.
32754 (X509_ENCODING_SORT_NAME): Likewise.
32755 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32756 (ASN1_ENCODING_SHORT_NAME): Likewise.
32757 (X509_ENCODING_ID): Likewise.
32758 (PKCS8_ENCODING_ID): Likewise.
32759 (ASN1_ENCODING_ID): Likewise.
32760 (DSA_OID_STRING): Likewise.
32761 (RSA_OID_STRING): Likewise.
32762 (DH_OID_STRING): Likewise.
32764 2006-02-06 Roman Kennke <kennke@aicas.com>
32766 * javax/swing/text/GlyphView.java:
32767 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32768 Only fill background if there is a background set on the view.
32769 Call Utilities.drawTabbedText with the baseline height, rather than
32770 the upper left corner of the view rectangle.
32771 (getBackground): Return null if no background is set.
32772 * javax/swing/text/GlyphView.java:
32773 (setPropertiesFromAttributes): Use null for background when no
32774 background is set. StyleConstants.getBackground() doesn't work
32775 for this, because it returns Color.BLACK in that case.
32777 2006-02-06 Roman Kennke <kennke@aicas.com>
32779 * java/awt/Container.java
32780 (changeSupport): Removed duplicate (from Component) field.
32781 (addPropertyChangeListener): Call super.
32783 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32785 * java/util/regex/Matcher.java(matches):
32786 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32788 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32791 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32792 * gnu/regexp/CharIndexedCharArray.java
32793 (lookBehind),(length): Implemented.
32794 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32795 * gnu/regexp/CharIndexedString.java: Likewise.
32796 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32797 * gnu/regexp/REToken.java(getMaximumLength): New method.
32798 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32800 (initialize): Parse (?<=X), (?<!X), (?>X).
32801 (getMaximumLength): Implemented.
32802 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32803 * gnu/regexp/RETokenChar.java: Likewise.
32804 * gnu/regexp/RETokenEnd.java: Likewise.
32805 * gnu/regexp/RETokenEndSub.java: Likewise.
32806 * gnu/regexp/RETokenLookAhead.java: Likewise.
32807 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32808 * gnu/regexp/RETokenOneOf.java: Likewise.
32809 * gnu/regexp/RETokenPOSIX.java: Likewise.
32810 * gnu/regexp/RETokenRange.java: Likewise.
32811 * gnu/regexp/RETokenRepeated.java: Likewise.
32812 * gnu/regexp/RETokenStart.java: Likewise.
32813 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32814 * gnu/regexp/RETokenIndependent.java: New file.
32815 * gnu/regexp/RETokenLookBehind.java: New file.
32817 2006-02-06 Roman Kennke <kennke@aicas.com>
32819 * java/awt/Component.java
32820 (firePropertyChange(String,byte,byte)): New method.
32821 (firePropertyChange(String,char,char)): New method.
32822 (firePropertyChange(String,short,short)): New method.
32823 (firePropertyChange(String,long,long)): New method.
32824 (firePropertyChange(String,float,float)): New method.
32825 (firePropertyChange(String,double,double)): New method.
32827 2006-02-06 Roman Kennke <kennke@aicas.com>
32829 * javax/swing/JComponent.java
32830 (AccessibleJComponent.changeSupport): Changed to be a
32831 java.beans.PropertyChangeSupport rather than
32832 SwingPropertyChangeSupport.
32833 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32835 (changeSupport): Removed unneeded field.
32836 (removePropertyChangeListener): Removed unneeded methods.
32837 (addPropertyChangeListener): Removed unneeded methods.
32838 (getPropertyChangeListeners): Removed unneeded methods.
32839 (firePropertyChange(String,boolean,boolean)): Changed to simply
32840 call super. Added specnote.
32841 (firePropertyChange(String,char,char)): Changed to simply
32842 call super. Added specnote.
32843 (firePropertyChange(String,int,int)): Changed to simply
32844 call super. Added specnote.
32845 (firePropertyChange(String,byte,byte)): Removed.
32846 (firePropertyChange(String,Object,Object)): Removed.
32847 (firePropertyChange(String,double,double)): Removed.
32848 (firePropertyChange(String,float,float)): Removed.
32849 (firePropertyChange(String,long,long)): Removed.
32850 (firePropertyChange(String,short,short)): Removed.
32852 2006-02-06 Roman Kennke <kennke@aicas.com>
32854 * javax/swing/event/SwingPropertyChangeSupport.java
32855 (listeners): Removed field.
32856 (propertyListeners): Removed field.
32857 (source): Removed field.
32858 (SwingPropertyChangeSupport()): Removed initialization of removed
32860 (addPropertyChangeListener): Removed methods.
32861 (removePropertyChangeListener): Removed methods.
32862 (getPropertyChangeListeners): Removed methods.
32863 (firePropertyChange): Removed methods.
32864 (hasListeners): Removed methods.
32866 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32869 * java/net/InetAddress.java
32870 (readResolve): Implemented.
32872 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32875 * java/io/ObjectInputStream.java
32876 (readNextBlock()): Handle TC_RESET.
32878 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32880 * javax/print/attribute/standard/Compression.java,
32881 * javax/print/attribute/standard/Finishings.java,
32882 * javax/print/attribute/standard/JobMediaSheets.java,
32883 * javax/print/attribute/standard/JobSheets.java,
32884 * javax/print/attribute/standard/JobState.java,
32885 * javax/print/attribute/standard/JobStateReason.java,
32886 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32887 * javax/print/attribute/standard/PrintQuality.java,
32888 * javax/print/attribute/standard/Media.java,
32889 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32890 * javax/print/attribute/standard/PrinterStateReason.java,
32891 * javax/print/attribute/standard/PDLOverrideSupported.java:
32892 (getName): Make method final.
32893 (getCategory): Likewise.
32894 * javax/print/attribute/standard/MediaSize.java:
32895 (getName): Make method final.
32896 (getCategory): Likewise.
32897 (ISO): Added private default constructor.
32901 (Engineering): Likewise.
32903 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32905 * native/jni/java-net/javanet.c (_javanet_connect):
32906 Throw ConnectException instead of IOException if connection failed.
32907 * native/jni/java-net/javanet.h:
32908 Add a define for java.net.ConnectException
32910 2006-02-05 Mark Wielaard <mark@klomp.org>
32913 reported by Egon Willighagen <egon.willighagen@gmail.com>
32914 * javax/swing/DefaultListCellRenderer.java
32915 (getListCellRendererComponent): Turn null value into empty string.
32917 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32919 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32920 a Unicode block if the name starts with "In".
32921 (UnicodeBlockHandler): New inner class.
32923 2006-02-04 Roman Kennke <kennke@aicas.com>
32925 * java/awt/Container.java
32926 (getComponentZOrder): New method.
32927 (setComponentZOrder): New method.
32928 * javax/swing/JLayeredPane.java
32929 (setPosition): Reimplemented to use setComponentZOrder().
32930 (getIndexOf): Reimplemented to use getComponentZOrder().
32931 (addImpl): Pass layerContraint to super call. Important for possibly
32932 installed layout managers.
32933 (swapComponents): Remove unneeded method.
32935 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32937 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32938 DSAKeyPairGenerator.
32939 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32940 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32942 Surround call to adaptee in a try/catch.
32943 (initialize((DSAParams,SecureRandom)): New method.
32944 (initialize(int,boolean,SecureRandom)): New method.
32945 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32946 KeyPairGenerator rather than KeyPairGeneratorSpi.
32947 (KeyPairGeneratorAdapter): Call super with algorithm name.
32949 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32951 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32952 (getDefaultPRNG): New method.
32953 (parseO): Use method above.
32954 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32955 (getDefaultPRNG): New method.
32956 (createO): Use method above.
32957 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32958 (nextByte): Use above field.
32959 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32960 * gnu/java/security/sig/rsa/RSA.java: New class field.
32961 (newR): Use above field
32962 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32963 (encode): Use field.above.
32964 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32965 (getDefaultPRNG): new method.
32966 (nextRandomBytes): Use above method.
32967 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32968 * gnu/java/security/sig/BaseSignature.java: Likewise.
32969 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32970 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32971 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32972 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32973 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32974 (getDefaultPRNG): new method.
32975 (nextRandomBytes): Use above method.
32976 (STRICT_DEFAULTS): new class field.
32977 (USE_DEFAULTS): more documentation to clarify behavior.
32978 (setup): amended to handle new attribute.
32979 * gnu/java/security/util/PRNG.java: New file.
32981 2006-02-03 Lillian Angel <langel@redhat.com>
32983 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32984 chooser field should be protected, not package-private.
32986 2006-02-03 Lillian Angel <langel@redhat.com>
32988 * javax/swing/text/DefaultStyledDocument.java
32989 (changeUpdate): Cleaned up code.
32991 (insertUpdate): Set offset to be equal to pos after
32992 insertContentTag call.
32993 (insertContentTag): If paragraph has no children, should use
32994 replace instead of Edit.
32995 (insertFracture): Moved around code to prevent any exception. Also,
32996 left side of tree should not be recreated if it has already been
32997 edited. In that case, we should only be creating a new right branch
32999 (getEditForParagraphAndIndex): No need to check index. We should
33000 use the same edit for each paragraph.
33002 2006-02-03 Mark Wielaard <mark@klomp.org>
33004 * javax/swing/event/SwingPropertyChangeSupport.java
33005 (propertyListeners): Change type to HashMap.
33006 (SwingPropertyChangeSupport): Allocate HashMap.
33008 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
33010 * java/security/KeyPairGenerator.java (getInstance): Test for
33011 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33013 2006-02-02 Roman Kennke <kennke@aicas.com>
33015 * javax/swing/RepaintManager.java
33016 Made fields private.
33017 (RepaintWorker.run): Enclosed work stuff in try finally block in
33018 order to clean up correctly if invalidation or painting fails,
33019 otherwise we would get no more RepaintWorkers onto the EventQueue.
33020 Also, now the RepaintWorker is marked 'dead' only after it has
33021 finished its work, avoid more than one RepaintWorker on the queue.
33022 (ComponentComparator.compareTo): Compare dirty rectangle sizes
33023 instead of hierarchy depths.
33024 (workDirtyComponents): Removed unused field.
33025 (repaintOrder): Removed unused field.
33026 (workRepaintOrder): Removed unused field.
33027 (workInvalidComponents): Removed unused field.
33028 (RepaintManager()): Removed initialization of removed fields.
33029 (addInvalidComponent): Fine tuned synchronization.
33030 (removeInvalidComponent): Fine tune synchronization.
33031 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33032 synchronization. Don't manager repaintOrder here.
33033 (insertRepaintOrder): Removed method.
33034 (markCompletelyClean): Fine tuned synchronization.
33035 (validateInvalidComponents): Dont use a working copy of the
33036 invalidComponents list, instead fine tuned synchronization on this
33037 list. Also, don't search validateRoot, this is already done in
33038 addInvalidComponent().
33039 (paintDirtyRegions): Compute repaint order here, based on size of
33040 damaged regions. Fine tuned synchronization. Avoid use of working
33041 copies of dirtyComponent.
33043 2006-02-02 Lillian Angel <langel@redhat.com>
33045 * javax/swing/text/DefaultStyledDocument.java
33046 (insertUpdate): JoinNextDirection should push the
33047 'next' paragraph on the stack.
33049 2006-02-02 Lillian Angel <langel@redhat.com>
33051 * javax/swing/text/DefaultStyledDocument.java
33052 (insertUpdate): Rewrote code for Originate. This prevents
33053 leaves being created multiple times. If it is on the last
33054 ElementSpec, the leaves need to be created right then;
33055 otherwise, only a branch is created.
33056 (insertContentTag): Rewrote to add new leaf directly if
33057 this is a branch with no children. Otherwise, it
33058 recreates the remainder of the tree as before.
33060 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
33062 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33063 for making a list of REMatch instances.
33064 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33065 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33066 (match): Rewritten using REMatchList.
33067 (matchRest): Rewritten using REMatchList.
33069 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33071 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
33072 (friendsMove): Call repaint() only after endOfGame is assigned.
33074 2006-02-02 Mark Wielaard <mark@klomp.org>
33076 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33077 * java/util/AbstractCollection.java (toString): Only use Iterator,
33078 check whether collection contains itself.
33080 2006-02-01 Casey Marshall <csm@gnu.org>
33082 Partial fix for PR classpath/25143.
33083 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33084 (<init>): fill in `algName,' derive `algOid' from `algName.'
33085 (getOid): new method.
33086 (encode): embed NULL value for parameters if `params' is `null.'
33088 2006-02-01 Casey Marshall <csm@gnu.org>
33090 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33091 <monoman@gmail.com>.
33092 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33093 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33095 2006-02-01 Casey Marshall <csm@gnu.org>
33097 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33098 * gnu/java/security/der/DERValue.java
33099 (getLength, getEncoded, getEncodedLength): throw an exception,
33100 don't initialize `encoded' to a bogus value.
33101 (toString): return a more helpful string.
33103 Partial fix for PR classpath/25144.
33104 * gnu/java/security/der/DERWriter.java (write): if the value is
33105 the pseudo-value used for CONSTRUCTED, write the encoded value
33108 2006-02-01 Tom Tromey <tromey@redhat.com>
33110 * java/security/Security.java (loadProviders): Use system class
33113 2006-02-01 Mark Wielaard <mark@klomp.org>
33115 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33116 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33117 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33118 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33119 (UnicodeCategoriesHandler): New private static class.
33121 2006-02-01 Lillian Angel <langel@redhat.com>
33123 * javax/swing/text/DefaultStyledDocument.java:
33124 Removed unneeded fields.
33125 (insertUpdate): Removed field initialization.
33126 (insertContentTag): Rewrote part of function. Still
33129 2006-02-01 Lillian Angel <langel@redhat.com>
33131 * javax/swing/text/DefaultStyledDocument.java
33132 (insertParagraph): Cleaned up code.
33133 (insertFirstContentTag): Fixed call to recreateLeaves.
33134 (insertContentTag): Added check to code to determine where
33135 content should be inserted with respect to next element.
33136 (createFracture): Removed check, recreateLeaves is called in
33137 other places when needed.
33138 (recreateLeaves): Added new parameter for paragraph instead
33139 of checking the stack. Removed editing for newBranch, replaced
33140 with a replace call.
33142 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
33144 * doc/unicode/Blocks-4.0.0.txt: New file.
33145 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
33146 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33147 * scripts/unicode-blocks.pl: Copied this over from the generics branch
33148 but replaced some 1.5-only features (such as enum).
33150 2006-01-31 Roman Kennke <kennke@aicas.com>
33152 * javax/swing/text/PasswordView.java
33153 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33155 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33158 2006-01-31 Roman Kennke <kennke@aicas.com>
33160 * javax/swing/JTextField.java
33161 (getPreferredSize): Also include textfield's insets in width
33164 2006-01-31 Roman Kennke <kennke@aicas.com>
33166 * javax/swing/plaf/basic/BasicTextUI.java
33167 (getPreferredSize): Include the textcomponent's insets in
33170 2006-01-31 Roman Kennke <kennke@aicas.com>
33172 * javax/swing/table/DefaultTableCellRenderer.java
33173 (getTableCellRendererComponent): Moved setting of the value into
33174 setValue(). Removed (bogus) special handling of JTextField values.
33175 (setValue): Made ?: statement more clear by rewriting it
33178 2006-01-31 Roman Kennke <kennke@aicas.com>
33180 * javax/swing/JLayeredPane.java
33181 (insertIndexForLayer): Fixed algorithm to correctly determine
33182 inser index for positions >= 0.
33183 (addImpl): Fixed API docs for the index parameter.
33185 2006-01-31 Mark Wielaard <mark@klomp.org>
33187 * java/net/URI.java (getURIGroup): Check for null to see whether
33188 group actually exists.
33190 2006-01-31 Lillian Angel <langel@redhat.com>
33192 * javax/swing/text/DefaultStyledDocument.java
33193 (changeUpdate): Fixed calls to split to incorporate
33195 (insertParagraph): Likewise. Uses 0 as editIndex
33196 because inserting into a new paragraph.
33197 (insertContentTag): Fixed check to use
33198 recreateLeaves. Added a FIXME comment.
33199 (split): Added a new parameter for edits.
33201 2006-01-31 Roman Kennke <kennke@aicas.com>
33203 * javax/swing/plaf/basic/BasicRootPaneUI.java
33204 (installDefaults): Don't install a background color here.
33206 2006-01-31 Lillian Angel <langel@redhat.com>
33208 * javax/swing/text/DefaultStyledDocument.java
33209 (insert): Removed comment.
33210 (insertUpdate): Added comment.
33211 (recreateLeaves): Removed call to push newBranch onto the
33212 stack. This does not need to be done here.
33214 2006-01-31 Chris Burdess <dog@gnu.org>
33216 * gnu/xml/stream/SAXParser.java,
33217 gnu/xml/stream/UnicodeReader.java,
33218 gnu/xml/stream/XIncludeFilter.java,
33219 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33220 only resolved the system ID not the stream. Make some utility methods
33221 public and static for use by other private XML APIs.
33222 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33223 called without throwing IllegalStateException.
33224 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33227 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33230 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33231 for an invalid index and return null for a skipped group.
33233 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33236 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33237 (NamedProperty): New inner class.
33238 (getNamedProperty): New method.
33239 (getRETokenNamedProperty): New Method.
33240 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33241 * gnu/regexp/RETokenNamedProperty.java: New file.
33243 2006-01-31 Roman Kennke <kennke@aicas.com>
33245 * javax/swing/plaf/PlainView.java
33246 (paint): Call drawLine with baseline coordinates.
33247 (drawLine): Documented and indented this method.
33248 (drawUnselecetedText): Documented and indented this method.
33249 * javax/swing/plaf/text/Utilites.java
33250 (drawTabbedText): The coordinates denote the baseline of the text
33251 not the upper left corner.
33253 2006-01-31 Roman Kennke <kennke@aicas.com>
33255 * javax/swing/plaf/basic/BasicTextUI.java
33256 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33257 UIManager. Added FIXME regarding the implementation of this method.
33259 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33261 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33262 (ButtonDemo): Move content initialisation to new method,
33263 (initFrameContent): New method,
33264 (main): Call initFrameContent(),
33265 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33266 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33267 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33268 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33269 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33271 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33273 * examples/gnu/classpath/examples/swing/Demo.java
33274 (Demo): Set frame size,
33275 (mkButtonBar): Removed stacked sub-panels.
33277 2006-01-30 Lillian Angel <langel@redhat.com>
33279 * javax/swing/text/DefaultStyledDocument.java:
33281 (insert): Initialized fields. Removed call to addEdit,
33282 and created ElementEdit instead.
33283 (insertUpdate): Added check for fracturing. If the
33284 fracturing was not successful, we should push the
33285 last element back on the stack.
33286 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33287 Also, changed replace calls to use Edit.
33288 (insertFirstContentTag): Removed unneeded check and fixed call
33290 (insertContent): Fixed check to use new fields. Added code in
33291 to check if leaves overlap.
33292 (createFracture): Fixed call to recreateLeaves.
33293 (recreateLeaves): Fixed code and cleaned it up a bit.
33294 (insertFracture): Set fracNotCreated field.
33295 (addEdit): Removed, this method is not needed.
33297 2006-01-30 Roman Kennke <kennke@aicas.com>
33299 * javax/swing/JRootPane.java
33300 (RootLayout.prefSize): Removed caching for preferredSize.
33301 (RootLayout.invalidateLayout): Likewise.
33302 (RootLayout.preferredLayoutSize): Likewise.
33304 2006-01-30 Roman Kennke <kennke@aicas.com>
33307 * javax/swing/JFrame.java
33308 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33309 * javax/swing/plaf/metal/MetalRootPaneUI.java
33310 (MetalFrameBorder): New inner class, provides the border for
33311 top level containers with L&F decorations.
33312 (MetalTitlePane): New inner class, provides the title pane for
33313 top level containers with L&F decorations.
33314 (MetalRootLayout): New inner class. Used to layout the root pane
33315 when L&F window decorations are enabled.
33316 (installUI): New method. Handles window decorations.
33317 (uninstallUI): New method. Handles window decorations.
33318 (propertyChange): Handles window decorations.
33319 (installWindowDecorations): New method. Handles window
33321 (uninstallWindowDecorations): New method. Handles window
33323 * javax/swing/plaf/metal/MetalLookAndFeel.java
33324 (getSupportsWindowDecorations): Overridden to return true.
33326 2006-01-30 Mark Wielaard <mark@klomp.org>
33328 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33329 IllegalArgumentException when orientation is illegal.
33330 (JProgressBar(int, int, int)): Likewise and throw exception.
33331 (setOrientation): Likewise.
33333 2006-01-30 Roman Kennke <kennke@aicas.com>
33335 * javax/swing/ViewportLayout.java
33336 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33338 2006-01-30 Mark Wielaard <mark@klomp.org>
33340 * javax/swing/JProgressBar.java (orientation): Always set by
33342 (JProgressBar(int)): Document default on 'illegal' value.
33343 (JProgressBar(int, int, int)): Likewise and set orientation to
33344 HORIZONTAL when 'illegal'.
33345 (setOrientation): Likewise.
33347 2006-01-30 Roman Kennke <kennke@aicas.com>
33349 * javax/swing/plaf/basic/BasicListUI.java
33350 (ListDataHandler.contentsChanged): Update the
33351 updateLayoutStateNeeded flag.
33352 (ListDataHandler.intervalAdded): Update the
33353 updateLayoutStateNeeded flag.
33354 (ListDataHandler.intervalRemoved): Update the
33355 updateLayoutStateNeeded flag.
33356 (PropertyChangeHandler.propertyChange): Correctly update the
33357 listeners on new list model.
33358 (maybeUpdateLayoutState): Don't consider the validation state
33361 2006-01-30 Mark Wielaard <mark@klomp.org>
33363 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33366 2006-01-30 Roman Kennke <kennke@aicas.com>
33368 * javax/swing/JLayeredPane.java
33369 (insertIndexForLayer): Fixed algorithm to correctly insert
33370 components within different layers and -1 position.
33372 2006-01-30 Mark Wielaard <mark@klomp.org>
33374 * doc/api/Makefile.am (create_html): Add -validhtml.
33376 2006-01-30 Roman Kennke <kennke@aicas.com>
33378 * javax/swing/JLayeredPane.java
33379 (insertIndexForLayer): Fixed algorithm to correctly insert
33380 components within same layer and -1 position.
33382 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33385 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33386 New execution flag.
33387 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33388 implicit RETokenEnd at the end of the regexp chain.
33389 Do not select the longest match, but select the first match.
33390 (match): Do not take care of REMatch.empty.
33391 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33392 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33393 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33394 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33395 Do not take care of REMatch.empty. Set and check REMatch.empty
33396 when trying to match the single token.
33398 2006-01-30 Mark Wielaard <mark@klomp.org>
33400 * java/awt/Cursor.java (toString): Include name and type.
33402 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33404 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33406 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33408 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33411 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33412 Consider the validation state of the list.
33414 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33416 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33418 * java/beans/XMLDecoder.java:
33419 (setExceptionListener): Use shared DefaultExceptionListener
33421 * java/beans/Encoder.java:
33422 (setExceptionListener): Use shared DefaultExceptionListener
33425 2006-01-29 Roman Kennke <kennke@aicas.com>
33427 * javax/swing/ScrollPaneLayout.java
33428 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33430 2006-01-29 Mark Wielaard <mark@klomp.org>
33432 * java/net/SocketPermission.java (setActions): Trim and lower case
33435 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33437 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33438 incorrectly failing primality test for some known primes. Fixed.
33439 (passFermatLittleTheorem): Removed.
33440 (passMillerRabin): Removed.
33441 (isProbablePrime): Cache primes that pass the primality tests.
33442 Use BigInteger.isProbablePrime(int) for primality tests.
33443 (debugBI): New static debugging method.
33445 2006-01-28 Roman Kennke <kennke@aicas.com>
33447 * javax/swing/plaf/basic/BasicListUI.java
33448 (updateLayoutState): Removed unneeded special case for VERTICAL.
33450 2006-01-28 Roman Kennke <kennke@aicas.com>
33452 * javax/swing/plaf/basic/BasicListUI.java
33453 (getCellBounds): Determine correct list width when having a
33454 layoutOrientation of VERTICAL.
33455 (maybeUpdateLayoutState): Don't consider the validation state of
33458 2006-01-28 Mark Wielaard <mark@klomp.org>
33460 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33461 * java/awt/print/NoPrinterJob.java: New (fake) class.
33462 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33464 2006-01-28 Mark Wielaard <mark@klomp.org>
33466 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33468 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33470 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33471 (addChildren): New method.
33473 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33475 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33476 constructor for cloning purposes.
33477 (clone): New implementation that ensures cloning.
33478 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33479 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33482 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33484 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33485 Call updateCurrentVisiblePath.
33487 2006-01-27 Roman Kennke <kennke@aicas.com>
33489 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33491 2006-01-27 Roman Kennke <kennke@aicas.com>
33493 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33494 (createContent): Only create new content if we don't have one
33496 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33497 (createContent): Only create new content if we don't have one
33499 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33500 (createContent): Only create new content if we don't have one
33502 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33503 (createContent): Only create new content if we don't have one
33505 * examples/gnu/classpath/examples/swing/SliderDemo.java
33506 (createContent): Only create new content if we don't have one
33508 * examples/gnu/classpath/examples/swing/TableDemo.java
33509 (createContent): Only create new content if we don't have one
33511 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33512 (createContent): Only create new content if we don't have one
33515 2006-01-27 Lillian Angel <langel@redhat.com>
33517 * javax/swing/text/DefaultStyledDocument.java
33518 (insertFirstContentTag): Removed check, not needed. This
33519 still needs to be fixed for some cases. Added call to
33521 (createFracture): Added call to recreateLeaves.
33522 (recreateLeaves): New method used to recreate all the
33523 leaves after the initial insertion. This still needs
33525 (handleInsertAfterNewline): Removed else, not needed.
33527 2006-01-27 Roman Kennke <kennke@aicas.com>
33529 * javax/swing/JLayeredPane.java
33530 (inserIndexForLayer): Fixed direction of search.
33532 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33534 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33535 node into nodeStates.
33537 2006-01-27 Roman Kennke <kennke@aicas.com>
33539 * javax/swing/JLayeredPane.java
33540 (FRAME_CONTENT_LAYER): Made field final.
33541 (componentToLayer): Made field private.
33542 (rectCache): Removed field.
33543 (layers): Removed field.
33544 (JLayeredPane()): Removed initialization of removed fields.
33545 (getLayer): Rewritten to make use of client properties in
33546 JComponents and to be more straighforward.
33547 (static getLayer): Rewritten to make use of client properties in
33549 (layerToRange): Removed method.
33550 (incrLayer): Removed method.
33551 (decrLayer): Removed method.
33552 (highestLayer): Rewritten to be more straightforward.
33553 (lowestLayer): Rewritten to be more straightforward.
33554 (getPosition): Rewritten to be more straightforward.
33555 (getComponentsInLayer): Rewritten to be more straightforward.
33556 (getComponentCountInLayer): Rewritten to be more straightforward.
33557 (getIndexOf): Rewritten to be more straightforward.
33558 (inserIndexForLayer): Rewritten to be more straightforward.
33559 (remove): Rewritten to be more straightforward.
33560 (setLayer): Rewritten to be more straightforward.
33561 (addImpl): Rewritten to be more straightforward.
33562 (putLayer): Rewritten to be more straightforward.
33564 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33566 * java/lang/Character.java:
33567 (offsetByCodePoints(CharSequence, int, int)): New API method.
33568 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33569 (toChars): Throw the Exception that the docs say we throw.
33570 (codePointAt): Fixed an off-by-one error in the bounds of the if
33572 * java/lang/String.java:
33573 (String(int[], int, int)): New API constructor.
33575 2006-01-27 Lillian Angel <langel@redhat.com>
33577 * javax/swing/text/DefaultStyledDocument.java
33578 (insert): Moved this loop to insertUpdate.
33579 (insertUpdate): Likewise. Fixed variable
33580 names. Incremented pos if new paragraph
33582 (split): Changed edits to use replace instead. Prevents
33584 (insertFirstContentTag): Removed else.
33585 (insertContentTag): Implemented else for JoinNextDirection.
33586 (createFracture): Fixed up code, still not fully complete.
33587 (insertFracture): Fixed to use return value from
33588 recreateAfterFracture.
33589 (recreateAfterFracture): Changed to return an array of the
33590 elements to be added. This prevents an assertion error.
33591 (contains): New function checks if an element is already in
33592 the Vector. Vector's contain function was not enough to use.
33593 (addAddedElement): Changed to use new contains function.
33594 (addAddedElements): Likewise.
33595 (addRemovedElement): Likewise.
33596 (addRemovedElements): Likewise.
33598 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33601 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33602 If no user class loaders found on the stack, return the thread
33603 context class loader. (currentClassLoader): Explained.
33605 2006-01-27 Roman Kennke <kennke@aicas.com>
33607 * java/awt/Container.java
33608 (swapComponents): Removed unspecified method.
33609 * javax/swing/JLayeredPane.java
33610 (setPosition): Reimplemented correctly.
33611 (swapComponents): New helper method.
33613 2006-01-27 Mark Wielaard <mark@klomp.org>
33615 * configure.ac: Set version to 0.21-pre.
33617 2006-01-27 Roman Kennke <kennke@aicas.com>
33620 * javax/swing/JComponent.java
33621 (findOverlapFreeParent): Improved the algorithm to make better use
33622 of the optimizedDrawingEnabled flag.
33623 * javax/swing/JLayeredPane.java
33624 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33625 * javax/swing/JViewport.java
33626 (computeBlit): Fixed check to decide if blitting is possible or not,
33627 so that it doesn't blit if nothing was scrolled (in order to
33628 update the buffer when the view updates itself).
33630 2006-01-27 Roman Kennke <kennke@aicas.com>
33632 * javax/swing/plaf/metal/MetalFileChooserUI.java
33633 (createList): Don't set scrollbar policy.
33635 2006-01-27 Roman Kennke <kennke@aicas.com>
33637 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33638 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33639 Fixed to also handle non-Swing toplevel containers.
33640 (PopupMenuHandler.popupMenuWillBecomeVisible):
33641 Fixed to also handle non-Swing toplevel containers.
33642 * javax/swing/Popup.java
33643 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33646 2006-01-27 Roman Kennke <kennke@aicas.com>
33648 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33649 (InternalFramePropertyChangeListener): Don't implement
33650 VetoableChangeListener.
33651 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33652 (internalFrameVetoableChangeListener): Removed unneeded field.
33653 (installListeners): Don't install vetoableChangeListener.
33654 * javax/swing/event/DocumentEvent.java
33655 (EventType): Made class final.
33657 2006-01-27 Roman Kennke <kennke@aicas.com>
33659 * javax/swing/SwingUtilities.java
33660 (calculateInsetArea): Removed unneeded method. The method
33661 calculateInnerArea has the same purpose and is actually specified.
33662 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33663 * javax/swing/plaf/basic/BasicMenuItemUI.java
33664 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33665 of SwingUtilities.calculateInsetArea().
33667 2006-01-27 Roman Kennke <kennke@aicas.com>
33669 * javax/swing/plaf/basic/BasicTreeUI.java
33670 (installDefaults): Removed requestFocusInWindow() call.
33671 * javax/swing/JComponent.java
33672 (requestFocusInWindow(boolean)): Made method protected.
33673 (printComponent): Made method protected.
33674 (printChildren): Made method protected.
33675 (printComponent): Made method protected.
33676 (printBorder): Made method protected.
33678 2006-01-27 Roman Kennke <kennke@aicas.com>
33680 * javax/swing/AbstractButton.java
33681 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33683 * javax/swing/ImageIcon.java
33684 (component): Made field final.
33685 (tracker): Made field final.
33686 * javax/swing/JApplet.java
33687 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33688 * javax/swing/JCheckBox.java
33689 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33691 * javax/swing/JDialog.java
33692 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33693 * javax/swing/JFrame.java
33694 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33695 * javax/swing/JLayeredPane.java
33696 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33698 (DEFAULT_LAYER): Made field final.
33699 (PALETTE_LAYER): Made field final.
33700 (MODAL_LAYER): Made field final.
33701 (POPUP_LAYER): Made field final.
33702 (DRAG_LAYER): Made field final.
33703 * javax/swing/JMenu.java
33704 (ActionChangeListener): Made class private.
33705 * javax/swing/JOptionPane.java
33706 (UNITITIALIZED_VALUE): Made field final.
33707 * javax/swing/JPanel.java
33708 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33709 * javax/swing/JPopupMenu.java
33710 (ActionChangeListener): Made class private.
33711 * javax/swing/JTree.java
33712 (paramString): Made method protected.
33713 * javax/swing/JViewport.java
33714 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33715 * javax/swing/JWindow.java
33716 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33717 * javax/swing/RepaintManager.java
33718 (RepaintWorker): Made class private.
33720 2006-01-27 Roman Kennke <kennke@aicas.com>
33722 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33723 (handleEvent): Removed debug statement.
33725 2006-01-27 Roman Kennke <kennke@aicas.com>
33727 * java/awt/Component.java
33728 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33729 more than it helps.
33731 2006-01-26 Lillian Angel <langel@redhat.com>
33733 * javax/swing/text/DefaultStyledDocument.java
33734 (createFracture): Commented out a known problem,
33737 2006-01-26 Lillian Angel <langel@redhat.com>
33739 * javax/swing/text/DefaultStyledDocument.java
33740 (ElementBuffer): Added fields.
33741 (remove): Initialized pos.
33742 (change): Likewise.
33743 (insert): Likewise.
33744 (insertUpdate): Incremented pos. Fixed check, createFracture should
33745 be called on first tag if it is not ContentType.
33746 (insertFirstContentTag): Reworked to use proper offsets and
33747 set offset accordingly. This might need more work in the future.
33748 (insertContentTag): Likewise. Fixed to use pos, instead of
33750 (createFracture): Fixed to recreate other leaves. Still needs
33752 (insertFracture): Reimplemented.
33753 (recreateAfterFracture): New method.
33754 (getParagraphElement): Reimplemented, more efficent.
33756 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33758 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33759 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33760 ordering for little-endian arms without VFP.
33762 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33765 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33767 2006-01-26 Mark Wielaard <mark@klomp.org>
33769 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33770 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33771 Add trailing zeros to the fraction of the decimal with the smallest
33774 2006-01-26 Roman Kennke <kennke@aicas.com>
33776 * javax/swing/text/html/ObjectView.java: New file.
33778 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33780 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33781 Call startEditing when appropriate.
33782 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33783 (startEditing): Always edit if directly ordered from
33784 MouseHandler.mousePressed.
33785 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33786 New field. (createTreeCellEditor): Set click count to start.
33787 (getTreeCellEditorComponent): Assing realEditor directly.
33789 2006-01-25 Casey Marshall <csm@gnu.org>
33791 Merging GNU Crypto and Jessie.
33793 * NEWS: mention the merge in the 0.21 notes.
33794 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33795 (SSL_RECORD_LAYER): new constants.
33796 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33798 * resource/java/security/classpath.security: add new providers.
33799 * gnu/javax/crypto/assembly/Assembly.java,
33800 gnu/javax/crypto/assembly/Cascade.java,
33801 gnu/javax/crypto/assembly/CascadeStage.java,
33802 gnu/javax/crypto/assembly/CascadeTransformer.java,
33803 gnu/javax/crypto/assembly/DeflateTransformer.java,
33804 gnu/javax/crypto/assembly/Direction.java,
33805 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33806 gnu/javax/crypto/assembly/ModeStage.java,
33807 gnu/javax/crypto/assembly/Operation.java,
33808 gnu/javax/crypto/assembly/PaddingTransformer.java,
33809 gnu/javax/crypto/assembly/Stage.java,
33810 gnu/javax/crypto/assembly/Transformer.java,
33811 gnu/javax/crypto/assembly/TransformerException.java,
33812 gnu/javax/crypto/cipher/Anubis.java,
33813 gnu/javax/crypto/cipher/BaseCipher.java,
33814 gnu/javax/crypto/cipher/Blowfish.java,
33815 gnu/javax/crypto/cipher/Cast5.java,
33816 gnu/javax/crypto/cipher/CipherFactory.java,
33817 gnu/javax/crypto/cipher/DES.java,
33818 gnu/javax/crypto/cipher/IBlockCipher.java,
33819 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33820 gnu/javax/crypto/cipher/Khazad.java,
33821 gnu/javax/crypto/cipher/NullCipher.java,
33822 gnu/javax/crypto/cipher/Rijndael.java,
33823 gnu/javax/crypto/cipher/Serpent.java,
33824 gnu/javax/crypto/cipher/Square.java,
33825 gnu/javax/crypto/cipher/TripleDES.java,
33826 gnu/javax/crypto/cipher/Twofish.java,
33827 gnu/javax/crypto/cipher/WeakKeyException.java,
33828 gnu/javax/crypto/jce/GnuCrypto.java,
33829 gnu/javax/crypto/jce/GnuSasl.java,
33830 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33831 gnu/javax/crypto/jce/cipher/AESSpi.java,
33832 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33833 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33834 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33835 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33836 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33837 gnu/javax/crypto/jce/cipher/DESSpi.java,
33838 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33839 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33840 gnu/javax/crypto/jce/cipher/PBES2.java,
33841 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33842 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33843 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33844 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33845 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33846 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33847 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33848 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33849 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33850 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33851 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33852 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33853 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33854 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33855 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33856 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33857 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33858 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33859 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33860 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33861 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33862 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33863 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33864 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33865 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33866 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33867 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33868 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33869 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33870 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33871 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33872 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33873 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33874 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33875 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33876 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33877 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33878 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33879 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33880 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33881 gnu/javax/crypto/jce/mac/MacAdapter.java,
33882 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33883 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33884 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33885 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33886 gnu/javax/crypto/jce/mac/OMacImpl.java,
33887 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33888 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33889 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33890 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33891 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33892 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33893 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33894 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33895 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33896 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33897 gnu/javax/crypto/jce/params/DEREncodingException.java,
33898 gnu/javax/crypto/jce/params/DERReader.java,
33899 gnu/javax/crypto/jce/params/DERWriter.java,
33900 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33901 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33902 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33903 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33904 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33905 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33906 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33907 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33908 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33909 gnu/javax/crypto/key/GnuSecretKey.java,
33910 gnu/javax/crypto/key/IKeyAgreementParty.java,
33911 gnu/javax/crypto/key/IncomingMessage.java,
33912 gnu/javax/crypto/key/KeyAgreementException.java,
33913 gnu/javax/crypto/key/KeyAgreementFactory.java,
33914 gnu/javax/crypto/key/OutgoingMessage.java,
33915 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33916 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33917 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33918 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33919 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33920 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33921 gnu/javax/crypto/key/dh/ElGamalSender.java,
33922 gnu/javax/crypto/key/dh/GnuDHKey.java,
33923 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33924 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33925 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33926 gnu/javax/crypto/key/dh/RFC2631.java,
33927 gnu/javax/crypto/key/srp6/SRP6Host.java,
33928 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33929 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33930 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33931 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33932 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33933 gnu/javax/crypto/key/srp6/SRP6User.java,
33934 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33935 gnu/javax/crypto/key/srp6/SRPKey.java,
33936 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33937 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33938 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33939 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33940 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33941 gnu/javax/crypto/keyring/BaseKeyring.java,
33942 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33943 gnu/javax/crypto/keyring/CertPathEntry.java,
33944 gnu/javax/crypto/keyring/CertificateEntry.java,
33945 gnu/javax/crypto/keyring/CompressedEntry.java,
33946 gnu/javax/crypto/keyring/EncryptedEntry.java,
33947 gnu/javax/crypto/keyring/Entry.java,
33948 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33949 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33950 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33951 gnu/javax/crypto/keyring/IKeyring.java,
33952 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33953 gnu/javax/crypto/keyring/IPublicKeyring.java,
33954 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33955 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33956 gnu/javax/crypto/keyring/MeteredInputStream.java,
33957 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33958 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33959 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33960 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33961 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33962 gnu/javax/crypto/keyring/Properties.java,
33963 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33964 gnu/javax/crypto/mac/BaseMac.java,
33965 gnu/javax/crypto/mac/HMac.java,
33966 gnu/javax/crypto/mac/HMacFactory.java,
33967 gnu/javax/crypto/mac/IMac.java,
33968 gnu/javax/crypto/mac/MacFactory.java,
33969 gnu/javax/crypto/mac/MacInputStream.java,
33970 gnu/javax/crypto/mac/MacOutputStream.java,
33971 gnu/javax/crypto/mac/OMAC.java,
33972 gnu/javax/crypto/mac/TMMH16.java,
33973 gnu/javax/crypto/mac/UHash32.java,
33974 gnu/javax/crypto/mac/UMac32.java,
33975 gnu/javax/crypto/mode/BaseMode.java,
33976 gnu/javax/crypto/mode/CBC.java,
33977 gnu/javax/crypto/mode/CFB.java,
33978 gnu/javax/crypto/mode/CTR.java,
33979 gnu/javax/crypto/mode/EAX.java,
33980 gnu/javax/crypto/mode/ECB.java,
33981 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33982 gnu/javax/crypto/mode/ICM.java,
33983 gnu/javax/crypto/mode/IMode.java,
33984 gnu/javax/crypto/mode/ModeFactory.java,
33985 gnu/javax/crypto/mode/OFB.java,
33986 gnu/javax/crypto/pad/BasePad.java,
33987 gnu/javax/crypto/pad/IPad.java,
33988 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33989 gnu/javax/crypto/pad/PKCS7.java,
33990 gnu/javax/crypto/pad/PadFactory.java,
33991 gnu/javax/crypto/pad/SSL3.java,
33992 gnu/javax/crypto/pad/TBC.java,
33993 gnu/javax/crypto/pad/TLS1.java,
33994 gnu/javax/crypto/pad/WrongPaddingException.java,
33995 gnu/javax/crypto/prng/ARCFour.java,
33996 gnu/javax/crypto/prng/CSPRNG.java,
33997 gnu/javax/crypto/prng/Fortuna.java,
33998 gnu/javax/crypto/prng/ICMGenerator.java,
33999 gnu/javax/crypto/prng/IPBE.java,
34000 gnu/javax/crypto/prng/PBKDF2.java,
34001 gnu/javax/crypto/prng/PRNGFactory.java,
34002 gnu/javax/crypto/prng/UMacGenerator.java,
34003 gnu/javax/crypto/sasl/AuthInfo.java,
34004 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34005 gnu/javax/crypto/sasl/ClientFactory.java,
34006 gnu/javax/crypto/sasl/ClientMechanism.java,
34007 gnu/javax/crypto/sasl/ConfidentialityException.java,
34008 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34009 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34010 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34011 gnu/javax/crypto/sasl/InputBuffer.java,
34012 gnu/javax/crypto/sasl/IntegrityException.java,
34013 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34014 gnu/javax/crypto/sasl/NoSuchUserException.java,
34015 gnu/javax/crypto/sasl/OutputBuffer.java,
34016 gnu/javax/crypto/sasl/SaslEncodingException.java,
34017 gnu/javax/crypto/sasl/SaslInputStream.java,
34018 gnu/javax/crypto/sasl/SaslOutputStream.java,
34019 gnu/javax/crypto/sasl/SaslUtil.java,
34020 gnu/javax/crypto/sasl/ServerFactory.java,
34021 gnu/javax/crypto/sasl/ServerMechanism.java,
34022 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34023 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34024 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34025 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34026 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34027 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34028 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34029 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34030 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34031 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34032 gnu/javax/crypto/sasl/plain/PasswordFile.java,
34033 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34034 gnu/javax/crypto/sasl/plain/PlainClient.java,
34035 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34036 gnu/javax/crypto/sasl/plain/PlainServer.java,
34037 gnu/javax/crypto/sasl/srp/CALG.java,
34038 gnu/javax/crypto/sasl/srp/ClientStore.java,
34039 gnu/javax/crypto/sasl/srp/IALG.java,
34040 gnu/javax/crypto/sasl/srp/KDF.java,
34041 gnu/javax/crypto/sasl/srp/PasswordFile.java,
34042 gnu/javax/crypto/sasl/srp/SRP.java,
34043 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34044 gnu/javax/crypto/sasl/srp/SRPClient.java,
34045 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34046 gnu/javax/crypto/sasl/srp/SRPServer.java,
34047 gnu/javax/crypto/sasl/srp/SecurityContext.java,
34048 gnu/javax/crypto/sasl/srp/ServerStore.java,
34049 gnu/javax/crypto/sasl/srp/StoreEntry.java,
34050 gnu/javax/net/ssl/Base64.java,
34051 gnu/javax/net/ssl/EntropySource.java,
34052 gnu/javax/net/ssl/NullManagerParameters.java,
34053 gnu/javax/net/ssl/PrivateCredentials.java,
34054 gnu/javax/net/ssl/SRPManagerParameters.java,
34055 gnu/javax/net/ssl/SRPTrustManager.java,
34056 gnu/javax/net/ssl/StaticTrustAnchors.java,
34057 gnu/javax/net/ssl/provider/Alert.java,
34058 gnu/javax/net/ssl/provider/AlertException.java,
34059 gnu/javax/net/ssl/provider/Certificate.java,
34060 gnu/javax/net/ssl/provider/CertificateRequest.java,
34061 gnu/javax/net/ssl/provider/CertificateType.java,
34062 gnu/javax/net/ssl/provider/CertificateVerify.java,
34063 gnu/javax/net/ssl/provider/CipherSuite.java,
34064 gnu/javax/net/ssl/provider/ClientHello.java,
34065 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34066 gnu/javax/net/ssl/provider/CompressionMethod.java,
34067 gnu/javax/net/ssl/provider/Constructed.java,
34068 gnu/javax/net/ssl/provider/ContentType.java,
34069 gnu/javax/net/ssl/provider/Context.java,
34070 gnu/javax/net/ssl/provider/DiffieHellman.java,
34071 gnu/javax/net/ssl/provider/DigestInputStream.java,
34072 gnu/javax/net/ssl/provider/DigestOutputStream.java,
34073 gnu/javax/net/ssl/provider/Enumerated.java,
34074 gnu/javax/net/ssl/provider/Extension.java,
34075 gnu/javax/net/ssl/provider/Extensions.java,
34076 gnu/javax/net/ssl/provider/Finished.java,
34077 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34078 gnu/javax/net/ssl/provider/Handshake.java,
34079 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34080 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34081 gnu/javax/net/ssl/provider/Jessie.java,
34082 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34083 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34084 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34085 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34086 gnu/javax/net/ssl/provider/KeyPool.java,
34087 gnu/javax/net/ssl/provider/MacException.java,
34088 gnu/javax/net/ssl/provider/OverflowException.java,
34089 gnu/javax/net/ssl/provider/PRNG.java,
34090 gnu/javax/net/ssl/provider/ProtocolVersion.java,
34091 gnu/javax/net/ssl/provider/Random.java,
34092 gnu/javax/net/ssl/provider/RecordInput.java,
34093 gnu/javax/net/ssl/provider/RecordInputStream.java,
34094 gnu/javax/net/ssl/provider/RecordOutputStream.java,
34095 gnu/javax/net/ssl/provider/RecordingInputStream.java,
34096 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34097 gnu/javax/net/ssl/provider/SSLHMac.java,
34098 gnu/javax/net/ssl/provider/SSLRSASignature.java,
34099 gnu/javax/net/ssl/provider/SSLRandom.java,
34100 gnu/javax/net/ssl/provider/SSLServerSocket.java,
34101 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34102 gnu/javax/net/ssl/provider/SSLSocket.java,
34103 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34104 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34105 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34106 gnu/javax/net/ssl/provider/SecurityParameters.java,
34107 gnu/javax/net/ssl/provider/ServerHello.java,
34108 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34109 gnu/javax/net/ssl/provider/Session.java,
34110 gnu/javax/net/ssl/provider/SessionContext.java,
34111 gnu/javax/net/ssl/provider/Signature.java,
34112 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34113 gnu/javax/net/ssl/provider/TLSHMac.java,
34114 gnu/javax/net/ssl/provider/TLSRandom.java,
34115 gnu/javax/net/ssl/provider/Util.java,
34116 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34117 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34118 gnu/javax/net/ssl/provider/XMLSessionContext.java,
34119 gnu/javax/security/auth/Password.java,
34120 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34121 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34122 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34123 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34124 gnu/javax/security/auth/callback/GnuCallbacks.java,
34125 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34126 gnu/java/security/Registry.java,
34127 gnu/java/security/Properties.java,
34128 gnu/java/security/hash/BaseHash.java,
34129 gnu/java/security/hash/HashFactory.java,
34130 gnu/java/security/hash/Haval.java,
34131 gnu/java/security/hash/IMessageDigest.java,
34132 gnu/java/security/hash/MD2.java,
34133 gnu/java/security/hash/MD4.java,
34134 gnu/java/security/hash/MD5.java,
34135 gnu/java/security/hash/RipeMD128.java,
34136 gnu/java/security/hash/RipeMD160.java,
34137 gnu/java/security/hash/Sha160.java,
34138 gnu/java/security/hash/Sha256.java,
34139 gnu/java/security/hash/Sha384.java,
34140 gnu/java/security/hash/Sha512.java,
34141 gnu/java/security/hash/Tiger.java,
34142 gnu/java/security/hash/Whirlpool.java,
34143 gnu/java/security/jce/hash/HavalSpi.java,
34144 gnu/java/security/jce/hash/MD2Spi.java,
34145 gnu/java/security/jce/hash/MD4Spi.java,
34146 gnu/java/security/jce/hash/MD5Spi.java,
34147 gnu/java/security/jce/hash/MessageDigestAdapter.java,
34148 gnu/java/security/jce/hash/RipeMD128Spi.java,
34149 gnu/java/security/jce/hash/RipeMD160Spi.java,
34150 gnu/java/security/jce/hash/Sha160Spi.java,
34151 gnu/java/security/jce/hash/Sha256Spi.java,
34152 gnu/java/security/jce/hash/Sha384Spi.java,
34153 gnu/java/security/jce/hash/Sha512Spi.java,
34154 gnu/java/security/jce/hash/TigerSpi.java,
34155 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34156 gnu/java/security/jce/prng/HavalRandomSpi.java,
34157 gnu/java/security/jce/prng/MD2RandomSpi.java,
34158 gnu/java/security/jce/prng/MD4RandomSpi.java,
34159 gnu/java/security/jce/prng/MD5RandomSpi.java,
34160 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34161 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34162 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34163 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34164 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34165 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34166 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34167 gnu/java/security/jce/prng/TigerRandomSpi.java,
34168 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34169 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34170 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34171 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34172 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34173 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34174 gnu/java/security/jce/sig/SignatureAdapter.java,
34175 gnu/java/security/key/IKeyPairCodec.java,
34176 gnu/java/security/key/IKeyPairGenerator.java,
34177 gnu/java/security/key/KeyPairCodecFactory.java,
34178 gnu/java/security/key/KeyPairGeneratorFactory.java,
34179 gnu/java/security/key/dss/DSSKey.java,
34180 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34181 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34182 gnu/java/security/key/dss/DSSPrivateKey.java,
34183 gnu/java/security/key/dss/DSSPublicKey.java,
34184 gnu/java/security/key/dss/FIPS186.java,
34185 gnu/java/security/key/rsa/GnuRSAKey.java,
34186 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34187 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34188 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34189 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34190 gnu/java/security/prng/BasePRNG.java,
34191 gnu/java/security/prng/EntropySource.java,
34192 gnu/java/security/prng/IRandom.java,
34193 gnu/java/security/prng/LimitReachedException.java,
34194 gnu/java/security/prng/MDGenerator.java,
34195 gnu/java/security/prng/PRNGFactory.java,
34196 gnu/java/security/prng/RandomEvent.java,
34197 gnu/java/security/prng/RandomEventListener.java,
34198 gnu/java/security/sig/BaseSignature.java,
34199 gnu/java/security/sig/ISignature.java,
34200 gnu/java/security/sig/ISignatureCodec.java,
34201 gnu/java/security/sig/SignatureFactory.java,
34202 gnu/java/security/sig/dss/DSSSignature.java,
34203 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34204 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34205 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34206 gnu/java/security/sig/rsa/EMSA_PSS.java,
34207 gnu/java/security/sig/rsa/RSA.java,
34208 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34209 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34210 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34211 gnu/java/security/util/Base64.java,
34212 gnu/java/security/util/ExpirableObject.java,
34213 gnu/java/security/util/Prime2.java,
34214 gnu/java/security/util/Sequence.java,
34215 gnu/java/security/util/SimpleList.java,
34216 gnu/java/security/util/Util.java,
34217 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34218 new files imported from GNU Crypto and Jessie.
34220 2006-01-25 Tom Tromey <tromey@redhat.com>
34222 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34223 Fixed calculation of number of bytes to read.
34224 (size, count, meta, eof): Document.
34226 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34228 * java/lang/Character.java:
34229 (codePointCount(char[], int, int)): New API method.
34230 (codePointCount(CharSequence, int, int)): Likewise.
34232 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34235 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34237 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34238 action if not editing.
34239 * javax/swing/plaf/basic/BasicTreeUI.java
34240 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34241 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34242 (EditorUpdateTimer): Removed.
34243 (TreeAction.actionPerformed): Stop and not cancel the current editing
34244 when starting editing another node.
34245 (editorTimer, newVal): Removed.
34246 (cancelEditing): Do not send the cancel message.
34247 (completeEditing): Obtain the edited value from the editor.
34248 (finish): New method.
34249 (paintRow): Do not paint the editing component here.
34250 (startEditing, stopEditing): Rewritten.
34251 * javax/swing/tree/DefaultTreeCellEditor.java
34252 (DefaultTextField): Added SVUID.
34253 (EditorContainer): Rewritten.
34254 (RealEditorListener): New inner class.
34255 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34256 (constructor): Add cell editor listener. Do not instantiate timer.
34257 (actionPerformed): Return without action.
34258 (cancelCellEditing): Rewritten.
34259 (createTreeCellEditor): Add cell editor listener to the editor.
34260 (getCellEditorValue): Request the value from the realEditor.
34261 (isCellEditable): Removed timer management.
34262 (prepareForEditing): Remove all components befor adding the
34264 (startEditingTimer): Start only if it is not null.
34265 (stopCellEditing): Rewritten.
34266 (stopEditingTimer): New method.
34267 (valueChanged): Do not configure editing component here.
34269 2006-01-25 Roman Kennke <kennke@aicas.com>
34271 * javax/swing/text/html/FormView.java: New file.
34273 2006-01-25 Roman Kennke <kennke@aicas.com>
34275 * javax/swing/JSplitPane.java
34276 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34277 has been set in order to set an initial layout.
34278 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34279 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34280 layout of the right component.
34281 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34282 dividerLocation to the size of the left component.
34283 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34285 (setDividerLocation): Don't validate the location here. Sometimes
34286 the divider needs to be set to an invalid location.
34287 (startDragging): Don't revalidate and repaint here.
34288 (finishDraggingTo): Don't repaint here. Also, don't call
34289 dragDividerTo() here.
34290 * javax/swing/plaf/basic/BasicLookAndFeel.java
34291 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34294 2006-01-25 Roman Kennke <kennke@aicas.com>
34296 * javax/swing/JSplitPane.java
34297 (addImpl): Removed invalidate() and layout() call.
34298 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34299 (PropertyHandler.propertyChange): Remove layoutContainer() and
34302 2006-01-25 Roman Kennke <kennke@aicas.com>
34305 * native/Makefile.am
34306 * native/jni/classpath/Makefile.am
34307 * native/jni/classpath/jcl.c
34308 * native/jni/classpath/jcl.h
34309 * native/jni/classpath/native_state.c
34310 * native/jni/gtk-peer/Makefile.am
34311 * native/jni/java-io/Makefile.am
34312 * native/jni/java-io/java_io_VMFile.c
34313 * native/jni/java-io/java_io_VMObjectStreamClass.c
34314 * native/jni/java-lang/Makefile.am
34315 * native/jni/java-net/Makefile.am
34316 * native/jni/java-net/java_net_VMInetAddress.c
34317 * native/jni/java-net/javanet.c
34318 * native/jni/java-net/javanet.h
34319 * native/jni/java-nio/Makefile.am
34320 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34321 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34322 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34323 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34324 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34325 * native/jni/java-util/Makefile.am
34326 * native/jni/java-util/java_util_VMTimeZone.c
34327 * native/jni/midi-dssi/Makefile.am
34328 * native/jni/xmlj/Makefile.am
34329 * native/target/Makefile.am
34330 * native/target/Linux/target_native_math.h
34331 * native/target/Linux/target_native_memory.h
34332 * native/target/Linux/Makefile.am
34333 * native/target/Linux/target_native_io.h
34334 * native/target/Linux/target_native_math_float.h
34335 * native/target/Linux/target_native_math_int.h
34336 * native/target/generic/target_generic.c
34337 * native/target/generic/target_generic_io.c
34338 * native/target/generic/target_generic_math.h
34339 * native/target/generic/target_generic_memory.h
34340 * native/target/generic/target_generic_misc.c
34341 * native/target/generic/target_generic_network.c
34342 * native/target/generic/Makefile.am
34343 * native/target/generic/target_generic.h
34344 * native/target/generic/target_generic_file.h
34345 * native/target/generic/target_generic_io.h
34346 * native/target/generic/target_generic_math_float.h
34347 * native/target/generic/target_generic_math_int.h
34348 * native/target/generic/target_generic_misc.h
34349 * native/target/generic/target_generic_network.h:
34350 Reverted target native related changes back to the state of the
34352 * native/target/MinGW/.cvsignore
34353 * native/target/MinGW/Makefile.am
34354 * native/target/MinGW/target_native.h
34355 * native/target/MinGW/target_native_file.h
34356 * native/target/MinGW/target_native_io.h
34357 * native/target/MinGW/target_native_math.h
34358 * native/target/MinGW/target_native_memory.h
34359 * native/target/MinGW/target_native_misc.h
34360 * native/target/MinGW/target_native_network.h
34361 * native/target/RTEMS/.cvsignore
34362 * native/target/RTEMS/Makefile.am
34363 * native/target/RTEMS/target_native.h
34364 * native/target/RTEMS/target_native_file.h
34365 * native/target/RTEMS/target_native_io.h
34366 * native/target/RTEMS/target_native_math.h
34367 * native/target/RTEMS/target_native_memory.h
34368 * native/target/RTEMS/target_native_misc.h
34369 * native/target/RTEMS/target_native_network.h
34370 * native/target/SunOS/.cvsignore
34371 * native/target/SunOS/Makefile.am
34372 * native/target/SunOS/target_native.h
34373 * native/target/SunOS/target_native_file.h
34374 * native/target/SunOS/target_native_io.h
34375 * native/target/SunOS/target_native_math.h
34376 * native/target/SunOS/target_native_memory.h
34377 * native/target/SunOS/target_native_misc.h
34378 * native/target/SunOS/target_native_network.h
34379 * native/target/embOS/.cvsignore
34380 * native/target/embOS/Makefile.am
34381 * native/target/embOS/target_native.h
34382 * native/target/embOS/target_native_file.h
34383 * native/target/embOS/target_native_io.c
34384 * native/target/embOS/target_native_io.h
34385 * native/target/embOS/target_native_math.h
34386 * native/target/embOS/target_native_memory.h
34387 * native/target/embOS/target_native_misc.h
34388 * native/target/embOS/target_native_network.h
34389 * native/target/posix/.cvsignore
34390 * native/target/posix/Makefile.am
34391 * native/target/posix/target_posix.c
34392 * native/target/posix/target_posix.h
34393 * native/target/posix/target_posix_file.c
34394 * native/target/posix/target_posix_file.h
34395 * native/target/posix/target_posix_io.c
34396 * native/target/posix/target_posix_io.h
34397 * native/target/posix/target_posix_math.c
34398 * native/target/posix/target_posix_math.h
34399 * native/target/posix/target_posix_memory.c
34400 * native/target/posix/target_posix_memory.h
34401 * native/target/posix/target_posix_misc.c
34402 * native/target/posix/target_posix_misc.h
34403 * native/target/posix/target_posix_network.c
34404 * native/target/posix/target_posix_network.h:
34407 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34409 * javax/print/PrintService.java,
34410 * javax/print/DocPrintJob.java,
34411 * javax/print/CancelablePrintJob.java:
34412 Added and enhanced api documentation for class and methods.
34414 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34416 * javax/print/SimpleDoc.java: Make class final.
34417 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34418 * javax/print/attribute/DateTimeSyntax.java:
34419 (toString): New overridden method.
34420 * javax/print/attribute/standard/JobStateReasons.java:
34421 (add): Use the super.add method to avoid recursion.
34422 * javax/print/attribute/standard/PrinterStateReasons.java:
34423 (put): Use the super.put method to avoid recursion.
34425 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34427 * java/beans/XMLEncoder.java:
34428 (writeExpression): Added early return (fixes PR #25941).
34429 (setExceptionListener, anonymous Class): Removed printStackTrace
34431 * java/beans/Encoder: Removed unused imports.
34432 (setupDefaultPersistenceDelegates): Removed unneccessary
34433 PersistenceDelegates for subclasses.
34434 * java/beans/PersistenceDelegate:
34435 (initialize): Use local variable as first argument as it was
34437 * java/beans/DefaultPersistenceDelegate:
34438 (initialize): Added call to superclass' implementation, added
34441 2006-01-24 Tom Tromey <tromey@redhat.com>
34443 * java/util/regex/PatternSyntaxException.java: Added @since.
34444 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34445 * java/util/regex/MatchResult.java: New file.
34447 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34449 * javax/swing/text/StringContent.java: Added API docs all over, plus
34450 minor reformatting.
34452 2006-01-24 Gary Benson <gbenson@redhat.com>
34454 * java/net/SocketPermission.java: Implemented serialization.
34456 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34458 * javax/swing/text/StringContent.java
34459 (remove): Modified argument check to prevent removal of last character,
34460 (getChars): Removed null argument check to allow NullPointerException,
34462 (checkLocation): Added API docs and white space.
34464 2006-01-23 Lillian Angel <langel@redhat.com>
34466 * javax/swing/text/DefaultStyledDocument.java
34467 (insertUpdate): Should only call createFracture with
34468 StartTagType. Added check.
34469 (insertContentTag): Should use the tags length for splitting.
34470 Also, added a check to determine if current's start and end offset are
34471 equal to the offset and endOffset. If so, only one leaf element
34473 (createFracture): Removed FIXME. This function is complete.
34474 (split): Added calls to replace. Changed so the child is
34475 added immediately to the paragraph. Prevents NPEs.
34477 2006-01-23 Mark Wielaard <mark@klomp.org>
34479 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34481 2006-01-23 Tom Tromey <tromey@redhat.com>
34483 * gnu/java/security/x509/X509Certificate.java (parse):
34484 Unconditionally read value; for version==1 case when reading
34487 2006-01-23 Roman Kennke <kennke@aicas.com>
34489 * javax/swing/plaf/synth/ColorType.java,
34490 * javax/swing/plaf/synth/Region.java,
34491 * javax/swing/plaf/synth/SynthConstants.java,
34492 * javax/swing/plaf/synth/SynthContext.java
34493 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34494 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34495 * javax/swing/plaf/synth/SynthPainter.java,
34496 * javax/swing/plaf/synth/SynthStyle.java,
34497 * javax/swing/plaf/synth/SynthStyleFactory.java,
34498 * javax/swing/plaf/synth/package.html:
34499 New files. Added the public API and framework classes for the
34500 Synth look and feel.
34502 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34504 * javax/swing/text/Segment.java: API docs all over.
34506 2006-01-23 Lillian Angel <langel@redhat.com>
34508 * javax/swing/text/DefaultStyledDocument.java
34509 (split): Should not use createLeafElement and createBranchElement here.
34510 We should just instaniate the LeafElements and BranchElements instead
34511 to avoid the case where create*Element is overridden.
34513 2006-01-23 Lillian Angel <langel@redhat.com>
34515 * javax/swing/text/DefaultStyledDocument.java
34516 (insertFirstContentTag): Moved check outside of if-statement.
34517 This should be checked before creating the new leaf element.
34518 (insertFracture): Fixed check to prevent an NPE. The previous
34519 leaf should only be recreated if it has been created by
34520 insertFirstContentTag. Also, fixed up code: if the endOffset is
34521 greater than the offset, then we need to create a temp leaf
34522 as a place holder. Otherwise, the leaf elements should be
34525 2006-01-23 Gary Benson <gbenson@redhat.com>
34527 * java/net/SocketPermission.java: Almost completely rewritten.
34529 2006-01-23 Lillian Angel <langel@redhat.com>
34531 * javax/swing/text/DefaultStyledDocument.java
34532 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34534 2006-01-23 Lillian Angel <langel@redhat.com>
34536 * javax/swing/text/DefaultStyledDocument.java:
34537 Formatted ElementBuffer and added new fields.
34538 (remove): Added check to determine if length is 0.
34539 (insertFirstContentTag): Initialized firstCreated to the element that is created
34540 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34541 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34542 that have been recreated.
34543 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34544 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34545 FIXME tags to the lines that need to be rewritten.
34547 2006-01-23 Mark Wielaard <mark@klomp.org>
34549 * examples/Makefile.am: Add support for fastjar.
34551 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34553 * gnu/regexp/REToken.java(empty): Made Cloneable.
34554 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34555 Use separate methods matchN and matchP depending on the
34557 (matchN): New method used when negative. Done as before.
34558 (matchP): New method used when not negative. Each token is
34559 tried not by itself but by a clone of it.
34561 2006-01-23 Chris Burdess <dog@gnu.org>
34564 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34565 class to avoid getLength method contention.
34566 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34568 2006-01-23 Chris Burdess <dog@gnu.org>
34570 * native/jni/java-util/Makefile.am: Include library required
34571 explicitly by BSD systems.
34572 * native/target/generic/target_generic_misc.h: Remove old commented
34574 * native/target/generic/target_generic_network.h: Fallbacks (to
34575 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34577 2006-01-22 Tom Tromey <tromey@redhat.com>
34579 * native/target/posix/.cvsignore: Added .deps.
34581 2006-01-22 Mark Wielaard <mark@klomp.org>
34584 reported by James Damour <James.Damour@corp.request.com>
34585 * java/awt/Container.java (addImpl): Use empty string as name when
34586 null constraints for LayoutManager.addLayoutComponent().
34588 2006-01-22 Chris Burdess <dog@gnu.org>
34591 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34592 representing current directory as base for relative URLs.
34594 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34597 * gnu/regexp/REMatch.java(empty): New boolean indicating
34598 an empty string matched.
34599 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34601 (initialize): Support back reference \10, \11, and so on.
34602 (parseInt): renamed from getEscapedChar and returns int.
34603 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34604 when an empty string matched. Fixed a bug of the case where
34605 an empty string matched. Added special handling of {0}.
34606 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34607 when an empty string matched. Fixed the case insensitive matching.
34609 2006-01-21 Roman Kennke <kennke@aicas.com>
34611 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34612 (paint): Added painting of border if one is installed.
34614 2006-01-21 Roman Kennke <kennke@aicas.com>
34616 PR classpath/25843:
34617 * javax/swing/plaf/basic/BasicBorders.java
34618 (getSplitPaneDividerBorder): Use new border constructor
34620 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34621 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34622 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34623 colors are fetched dynamically in the paintBorder method.
34624 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34626 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34628 * javax/swing/plaf/basic/BasicLookAndFeel.java
34629 (initComponentDefaults): Added default for SplitPaneDivider.border.
34630 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34631 (tmpBorder): Removed unneeded inner class.
34632 (BasicSplitPaneDivider): Removed setting of border.
34633 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34635 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34636 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34637 to get behaviour right.
34638 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34639 implementation. This must be rewritten since the layout now works
34640 slightly different (basically, it shouldn't modify the sizes[]
34641 here but instead the dividerLocation.
34642 (dividerLocation): New field.
34643 (installDefaults): Initialize border on divider.
34644 (uninstallDefaults): Only remove background color and border from
34645 splitPane if they are instances of UIDefaults (== not set by
34647 (setDividerLocation): Set the dividerLocation field instead of
34648 doing stunt acts here.
34649 (getDividerLocation): Return dividerLocation field.
34650 (getMinimumDividerLocation): Fixed calculation of minimum location.
34652 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34655 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34657 * lib/Makefile.am: Likewise.
34659 2006-01-21 Roman Kennke <kennke@aicas.com>
34661 * javax/swing/PopupFactory.java
34662 (getPopup): If there is no Swing root found in any way, use a
34663 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34664 for the Swing AWT peers.
34666 2006-01-20 Tom Tromey <tromey@redhat.com>
34668 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34669 Read response body for redirect.
34671 2006-01-20 Chris Burdess <dog@gnu.org>
34673 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34676 2006-01-20 Lillian Angel <langel@redhat.com>
34678 * javax/swing/text/DefaultStyledDocument.java
34679 (pad): Removed, not needed.
34680 (printElements): Likewise.
34681 (printEdit): Likewise.
34683 2006-01-20 Roman Kennke <kennke@aicas.com>
34685 * javax/swing/text/DefaultFormatter.java
34686 (DefaultFormatter): Don't set a value class.
34688 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34690 * javax/swing/DefaultCellEditor.java: Commented.
34692 2006-01-19 Roman Kennke <kennke@aicas.com>
34694 * javax/swing/JOptionPane.java
34695 Added cast to Frame for JDialog constructor.
34697 2006-01-19 Roman Kennke <kennke@aicas.com>
34699 * javax/swing/JWindow.java
34700 (JWindow(Window)): Fixed to accept null owner argument.
34701 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34703 * javax/swing/SwingUtilities.java
34704 (getOwnerFrame): Owner parameter and return value are fixed to
34705 be of type Window for compatibity with the above JWindow
34707 * javax/swing/JDialog.java
34708 (JDialog): Added cast to Frame to make sure the correct constructor
34710 * javax/swing/JFileChooser.java
34711 (createDialog): Added cast to Frame for JDialog constructor.
34713 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34715 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34717 2006-01-19 Roman Kennke <kennke@aicas.com>
34719 * javax/swing/JWindow.java: Added API docs to the constructors.
34721 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34723 * javax/swing/JTable.java: Commenting method headers.
34724 (EditorUpdateTimer): Removed.
34726 2006-01-19 Roman Kennke <kennke@aicas.com>
34728 * javax/swing/JDialog.java
34729 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34730 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34731 SwingUtilities.getOwnerFrame() with the owner argument.
34732 * javax/swing/JFileChooser.java
34733 (showOpenDialog(Component)): Call pack() on the dialog instead of
34734 setting a fixed height.
34735 (showSaveDialog()): Likewise.
34736 (showDialog()): Likewise.
34737 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34738 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34740 * javax/swing/JWindow.java
34741 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34742 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34744 * javax/swing/SwingUtilities.java
34745 (getOwnerFrame): Changed to take a owner parameter that is returned
34746 as owner frame when not null.
34748 2006-01-19 Roman Kennke <kennke@aicas.com>
34750 * gnu/java/awt/peer/swing/SwingFramePeer.java
34751 (handleMouseEvent): Fixed handling of mouse events.
34752 (handleMouseMotionEvent): Fixed handling of mouse events.
34754 2006-01-19 Roman Kennke <kennke@aicas.com>
34756 * native/target/generic/target_generic_misc.c:
34757 (targetGenericMisc_formatString): Added missing method.
34759 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34761 * m4/acinclude.m4: Test also for ecj found before exiting configure
34762 with no javac found error message.
34764 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34767 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34768 \0123, \x1B, \u1234.
34769 (getEscapedChar): New method.
34770 (CharExpression): New inner class.
34771 (getCharExpression): New Method.
34772 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34773 RE_UNICODE_CHAR): New syntax bits.
34775 2006-01-19 Roman Kennke <kennke@aicas.com>
34777 * native/target/Makefile.am: Fixed so that posix stuff is really
34778 only built when requested.
34780 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34782 * javax/swing/JTable.java (editingStopped, editingCancelled):
34783 Repaint the edited cell.
34784 (setValueAt): Do not add the value object to this container.
34785 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34786 (editingStopped): Use editingRow, editingColumn and not
34787 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34788 (doLayout): Move the editor component, if present, into the new
34789 location and call repaint(). (moveToCellBeingEdited): new method.
34790 (TableTextField): new inner class.
34791 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34792 (setValueAt): Repaint the changed segment.
34793 (createDefaultEditors): Implemented.
34794 (BooleanCellRenderer): Center the checkbox and use the default foreground
34795 and background colors.
34796 * javax/swing/plaf/basic/BasicTableUI.java
34797 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34798 (paint): No need to allocate rectangle for each cell.
34799 * javax/swing/DefaultCellEditor.java: Rewritten.
34800 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34801 Use TableDemo.java table example.
34802 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34804 2006-01-19 Roman Kennke <kennke@aicas.com>
34806 * configure.ac: Added/fixed --enable-posix-layer option to enable
34807 build of posix layer.
34808 * native/target/Makefile.am: Added build for posix layer.
34810 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34812 * configure.ac: Set TARGET to Linux per default.
34813 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34815 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34816 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34819 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34821 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34822 what looked like proprietary documentation with original or new one.
34823 * java/security/spec/PSSParameterSpec.java: Likewise.
34824 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34825 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34826 * java/security/AlgorithmParameterGenerator.java: Likewise.
34827 * java/security/AlgorithmParameters.java: Likewise.
34828 * java/security/Identity.java: Likewise.
34829 * java/security/IdentityScope.java: Likewise.
34830 * java/security/KeyFactory.java: Likewise.
34831 * java/security/KeyPairGenerator.java: Likewise.
34832 * java/security/MessageDigest.java: Likewise.
34833 * java/security/Policy.java: Likewise.
34834 * java/security/ProtectionDomain.java: Likewise.
34835 * java/security/Security.java: Likewise.
34836 * java/security/Signature.java: Likewise.
34837 * java/security/SignatureSpi.java: Likewise.
34838 * java/security/SignedObject.java: Likewise.
34839 * java/security/Signer.java: Likewise.
34841 2006-01-18 Roman Kennke <kennke@aicas.com>
34843 * configure.ac: Added --enable-posix-layer option to enable
34844 build of the posix target layer.
34846 2006-01-18 Roman Kennke <kennke@aicas.com>
34848 * native/jni/java-net/java_net_VMInetAddress.c
34849 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34852 2006-01-18 Roman Kennke <kennke@aicas.com>
34854 * native/jni/java-util/java_util_VMTimeZone.c:
34855 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34856 to use target native layer.
34857 (jint_to_charbuf): Removed unneeded helper function.
34859 2006-01-18 Roman Kennke <kennke@aicas.com>
34861 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34862 Removed unnecessary include.
34863 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34864 Reorganized includes to only include sys/* headers when available.
34865 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34866 (get_pagesize): Return 0 when nothing else works.
34867 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34868 Replaced munmap() and strerror() with corresponding target macros.
34869 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34870 Replaced strerror() with corresponding target macro.
34871 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34872 Replaced strerror() with corresponding target macro.
34873 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34874 (Java_java_nio_VMDirectByteBuffer_allocate):
34875 Replaced malloc() with the corresponding target macro.
34876 (Java_java_nio_VMDirectByteBuffer_free):
34877 Replaced free() with the corresponding target macro.
34878 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34879 Add index to pointer when assigning the value.
34880 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34881 Replaced memcpy with corresponding target macro. Add index when
34882 doing the memcpy, not when fetching the pointer.
34883 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34884 Replaced memcpy with corresponding target macro.
34885 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34886 Replaced memmove with the corresponding target macro.
34888 2006-01-17 Tom Tromey <tromey@redhat.com>
34890 PR classpath/20198:
34891 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34892 (JarURLLoader): Likewise.
34893 (addURLImpl): Canonicalize file URLs.
34895 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34897 * configure.ac: Set TARGET.
34898 * native/Makefile.am, native/jni/classpath/Makefile.am,
34899 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34900 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34901 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34902 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34903 native/target/Linux/Makefile.am,
34904 native/target/generic/Makefile.am,
34905 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34906 and target stuff linked in and link it against lib*.so libraries.
34908 2006-01-17 Roman Kennke <kennke@aicas.com>
34910 * native/jni/java-net/javanet.c:
34911 (_javanet_connect): Changed type of some local variables to jint.
34912 Fixed error handling to throw a SocketTimeoutException if the
34913 connection attempt times out.
34914 (_javanet_bind): Changed type of some local variables to jint.
34915 (_javanet_accept): Likewise.
34916 (_javanet_recvfrom): Likewise.
34917 (_javanet_sendto): Fixed error handling to throw a
34918 PortUnreachableException when connection is refused.
34919 (_javanet_get_option): Changed type of some local variables to jint.
34920 Implemented SOCKOPT_SO_BROADCAST.
34921 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34922 target native macro.
34923 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34924 target native macro.
34925 * native/jni/java-net/javanet.h:
34926 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34927 SOCKOPT_SO_BROADCAST.
34929 2006-01-17 Lillian Angel <langel@redhat.com>
34931 * javax/swing/text/DefaultStyledDocument.java
34932 (insert): Cleaned up loop. No need to make so many calls
34933 to getAddedElements and getRemovedElements.
34934 (insertFracture): Removed unneeded array.
34936 2006-01-17 Lillian Angel <langel@redhat.com>
34938 * javax/swing/text/JTextComponent.java
34939 (AccessibleJTextComponent): Implemented.
34940 (getCaretPosition): Implemented.
34941 (getSelectedText): Implemented.
34942 (getSelectionStart): Implemented.
34943 (getSelectionEnd): Implemented.
34944 (getSelectionEnd): Implemented.
34945 (getCharCount): Implemented.
34946 (insertTextAtIndex): Implemented.
34947 (getTextRange): Implemented.
34948 (delete): Implemented.
34949 (cut): Implemented.
34950 (paste): Implemented.
34951 (replaceText): Implemented.
34952 (selectText): Implemented.
34954 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34956 * javax/swing/text/DefaultStyledDocument.java:
34957 (pad): New debugging method.
34958 (printElements): Likewise.
34959 (printPendingEdits): Likewise.
34960 (printElement): Likewise.
34961 (Edit): Improved docs, moved this class to be an inner class of
34962 ElementBuffer since it only applies within that scope. Changed added
34963 and removed to be Vectors instead of arrays because we need to be able
34964 to add to them after construction.
34965 (ElementBuffer): Updated docs with link to article that helped in this
34966 classes implementation.
34967 (ElementBuffer.Edit.getRemovedElements): New method.
34968 (ElementBuffer.Edit.getAddedElements): Likewise.
34969 (ElementBuffer.Edit.addRemovedElement): Likewise.
34970 (ElementBuffer.Edit.addRemovedElements): Likewise.
34971 (ElementBuffer.Edit.addAddedElement): Likewise.
34972 (ElementBuffer.Edit.addAddedElements): Likewise.
34973 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34975 (ElementBuffer.getEditForParagraphAndIndex): New method.
34976 (ElementBuffer.removeUpdate): Changed type of paragraph to
34977 BranchElement. Corrected style of adding the edit to use the new Edit
34979 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34980 the new Edit facilities.
34981 (ElementBuffer.split): Likewise.
34982 (ElementBuffer.insertParagraph): Likewise.
34983 (ElementBuffer.insertContentTag): Likewise.
34984 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34985 not just the root and the first one. Apply the structural changes to
34986 the tree at the same time as updating the DocumentEvent.
34987 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34988 handling of EndTags as the first ElementSpec. Instead have to handle
34989 ContentTags as a special case if they are the first ElementSpec and if
34990 not have to fracture the tree.
34991 (ElementBuffer.createFracture): New method. May not be complete yet.
34992 Added FIXME indicating what may remain to be done.
34993 (ElementBuffer.insertFirstContentTag): New method.
34994 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34995 be done. Changed the adding of edits to use the new Edit facilities.
34996 Removed the adding of edits for Elements that weren't in the tree prior
34998 (insertUpdate): Removed incorrect condition for setting a StartTag's
34999 direction to JoinNextDirection.
35000 * javax/swing/text/StyleContent.java:
35001 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
35002 that was causing an ArrayOutOfBoundsException.
35004 2006-01-17 Roman Kennke <kennke@aicas.com>
35006 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35007 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35008 exception messages a little.
35009 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35010 alternative implementation for systems without filesystems.
35011 Replaced snprintf with the corresponding target native macro.
35012 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35013 Only do something when we have a filesystem.
35014 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35015 alternative implementation for systems without filesystems.
35016 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35017 alternative implementation for systems without filesystems.
35018 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35019 alternative implementation for systems without filesystems.
35020 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35021 Only do something when we have a filesystem.
35022 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35023 Only do something when we have a filesystem.
35024 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35025 alternative implementation for systems without filesystems.
35026 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35027 Replaced ssize_t variables with jint. Provided
35028 alternative implementation for systems without filesystems.
35029 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35030 Replaced ssize_t variables with jint. Provided
35031 alternative implementation for systems without filesystems.
35032 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35033 Replaced ssize_t variables with jint. Provided
35034 alternative implementation for systems without filesystems.
35035 (Java_gnu_java_nio_channels_FileChannelImpl_force):
35036 Only do something when we have a filesystem.
35037 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35038 Replaced ssize_t variables with jint. Provided
35039 alternative implementation for systems without filesystems.
35040 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35041 to use the corresponding target native macro.
35042 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35043 to use the corresponding target native macro.
35045 2006-01-17 Lillian Angel <langel@redhat.com>
35047 * javax/swing/text/DefaultTextUI.java:
35048 Added deprecated tag.
35049 * javax/swing/text/JTextComponent.java
35050 (AccessibleJTextComponent): Fixed API doc and
35051 partiall9 implemented.
35052 (getCaretPosition): Fixed API doc and implemented.
35053 (getSelectedText): Fixed API doc.
35054 (getSelectionStart): Likewise.
35055 (getSelectionEnd): Likewise.
35056 (caretUpdate): Fixed API doc and
35057 partially implemented.
35058 (getAccessibleStateSet): Likewise.
35059 (getAccessibleRole): Fixed API doc and implemented.
35060 (getAccessibleEditableText): Implemented.
35061 (getAccessibleText): Fixed API doc and implemented.
35062 (insertUpdate): Fixed API doc.
35063 (changedUpdate): Likewise.
35064 (getIndexAtPoint): Likewise.
35065 (getRootEditorRect): Removed.
35066 (getCharacterBounds): Fixed API doc.
35067 (getCharCount): Likewise.
35068 (getCharacterAttribute): Likewise.
35069 (getAtIndex): Likewise.
35070 (getAfterIndex): Likewise.
35071 (getBeforeIndex): Likewise.
35072 (getAccessibleActionCount): Added function stub.
35073 (getAccessibleActionDescription): Added function,
35074 partially implemented.
35075 (doAccessibleAction): Added function stub.
35076 (setTextContents): Likewise.
35077 (insertTextAtIndex): Likewise.
35078 (delete): Likewise.
35081 (replaceText): Likewise.
35082 (selectText): Likewise.
35083 (setAttributes): Likewise.
35084 (getAccessibleContext): Implemented.
35086 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35089 * gnu/regexp/RETokenRange.java(constructor):
35090 Keep lo and hi as they are.
35091 (match): Changed the case insensitive comparison.
35093 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35095 * gnu/regexp/RETokenChar.java(chain):
35096 Do not concatenate tokens whose insens flags are diffent.
35098 2006-01-17 Roman Kennke <kennke@aicas.com>
35100 * native/target/generic/target_generic_network.c:
35101 (targetGenericNetwork_receive): Fixed signature to match the
35102 corresponding .h file.
35103 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35104 to match the corresponding .h file.
35106 2006-01-17 Roman Kennke <kennke@aicas.com>
35108 * native/jni/classpath/jcl.c:
35109 (JCL_malloc): Replaced calls to malloc with the corresponding
35110 target layer macro.
35111 (JCL_free): Replaced calls to free with the corresponding
35112 target layer macro.
35113 * native/jni/classpath/native_state.c:
35114 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35115 calloc with the corresponding target layer macro.
35116 (remove_node): Replaced calls to free with the corresponding
35117 target layer macro.
35118 (add_node): Replaced calls to malloc with the corresponding
35119 target layer macro.
35121 2006-01-17 Roman Kennke <kennke@aicas.com>
35123 * native/jni/java-io/java_io_VMObjectStreamClass.c:
35124 (getFieldReference): Use MALLOC/FREE macros for portability instead
35125 of direct call to malloc() and free().
35127 2006-01-17 Roman Kennke <kennke@aicas.com>
35129 * native/jni/classpath/jcl.c: Added missing imports.
35130 (JCL_realloc): Fixed signature to include oldsize. This is needed
35131 for some targets. Make this function use the MEMORY_REALLOC macro
35133 * native/jni/classpath/jcl.h
35134 (JCL_realloc): Adjusted signature.
35135 * native/jni/java-io/java_io_VMFile.c:
35136 (Java_java_io_VMFile_create): Use target layer macro for handling
35137 errno, for portability.
35138 (Java_java_io_VMFile_length): Release filename string in error cases
35140 (Java_java_io_VMFile_list): Initialize filename variable. Use new
35141 version of JCL_realloc.
35142 * native/jni/java-net/java_net_VMInetAddress.c:
35143 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35144 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35145 * native/jni/java-net/javanet.c:
35146 (_javanet_bind): Make errorstr variable const to avoid compiler
35148 (_javanet_set_option): Fixed typo.
35149 (_javanet_get_option): Fixed typo.
35150 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35151 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35152 error_string variable const to avoid compiler warning.
35153 * native/target/generic/target_generic_file.h:
35154 Replaced // comments with /* */ comments to avoid compiler warnings.
35155 Added some spaces to make code better readable.
35156 * native/target/generic/target_generic_memory.h:
35157 Replaced // comments with /* */ comments to avoid compiler warnings.
35158 * native/target/generic/target_generic_misc.c:
35159 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35160 compiler warnings due to use of varargs.
35161 * native/target/generic/target_generic_misc.h:
35162 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35163 compiler warnings due to use of varargs.
35164 * native/target/generic/target_generic_network.h:
35165 Replaced // comments with /* */ comments to avoid compiler warnings.
35166 (targetGenericNetwork_receive): Fixed signature to use signed chars
35167 for buffer parameter to avoid warning when passing a jbyte to the
35170 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35172 * javax/swing/text/StyleConstants.java
35173 (getAlignment): Removed isDefined() check, so that resolving parent is
35175 (getBackground): Likewise, plus changed default value to Color.BLACK,
35176 (getBidiLevel): Removed isDefined() check,
35177 (getComponent): Likewise,
35178 (getFirstLineIndent): Likewise,
35179 (getFontFamily): Likewise,
35180 (getFontSize): Likewise,
35181 (getForeground): Likewise,
35182 (getIcon): Likewise,
35183 (getLeftIndent): Likewise,
35184 (getLineSpacing): Likewise,
35185 (getRightIndent): Likewise,
35186 (getSpaceAbove): Likewise,
35187 (getSpaceBelow): Likewise,
35188 (getTabSet): Likewise,
35189 (isBold): Likewise,
35190 (isItalic): Likewise,
35191 (isStrikeThrough): Likewise,
35192 (isSubscript): Likewise,
35193 (isSuperscript): Likewise,
35194 (isUnderline): Likewise.
35196 2006-01-17 Gary Benson <gbenson@redhat.com>
35198 * java/lang/System.java (setSecurityManager): Catch
35199 ClassNotFoundException not Throwable.
35201 2006-01-16 Anthony Green <green@redhat.com>
35204 * gnu/java/net/protocol/http/Request.java
35205 (createResponseBodyStream): Remove Content-Encoding for
35206 compressed streams.
35208 2006-01-16 Chris Burdess <dog@gnu.org>
35210 * gnu/xml/stream/XMLParser.java,
35211 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35212 XMLStreamWriter arguments for conformance to the XML specifications.
35213 * gnu/xml/transform/Stylesheet.java,
35214 gnu/xml/transform/Template.java,
35215 gnu/xml/transform/TransformerImpl.java,
35216 gnu/xml/xpath/LangFunction.java,
35217 gnu/xml/xpath/Selector.java: better handling of template priorities;
35218 fix indents when pretty-printing; recursive tests for xml:lang.
35219 * gnu/xml/util/XHTMLWriter.java,
35220 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35222 2006-01-16 Roman Kennke <kennke@aicas.com>
35224 * native/target/MinGW/.cvsignore: New file.
35225 * native/target/RTEMS/.cvsignore: New file.
35226 * native/target/SunOS/.cvsignore: New file.
35227 * native/target/embOS/.cvsignore: New file.
35228 * native/target/posix/.cvsignore: New file.
35230 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35232 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35234 2006-01-16 Roman Kennke <kennke@aicas.com>
35236 * configure.ac: Include new target native directories in build.
35238 2006-01-16 Roman Kennke <kennke@aicas.com>
35240 * native/target/generic/target_generic_file.h: Added missing
35242 * native/target/generic/target_generic_network.c: Fixed several
35243 typos and includes.
35244 * native/target/generic/target_generic_network.h: Likewise.
35246 2006-01-16 Roman Kennke <kennke@aicas.com>
35248 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35249 to include the new targets.
35250 * native/target/posix/Makefile.am: Fixed filenames.
35252 2006-01-16 Roman Kennke <kennke@aicas.com>
35254 * native/target/Makefile.am: Include new targets.
35255 * native/target/Linux/Makefile.am: Include new memory layer.
35256 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35257 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35258 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35259 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35260 * native/target/generic/Makefile.am: Include new memory and math
35262 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35264 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35267 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35268 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35270 2006-01-16 Roman Kennke <kennke@aicas.com>
35272 * native/target/generic/target_generic_network.c: Fixed typo.
35273 * native/target/generic/target_generic_network.h: Fixed typo.
35275 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35277 * doc/vmintegration.texinfo: Updated subsection of the
35278 java.lang.InstrumentationImpl documentation.
35280 2006-01-16 Roman Kennke <kennke@aicas.com>
35282 * native/target/RTEMS/target_native.h,
35283 * native/target/RTEMS/target_native_file.h,
35284 * native/target/RTEMS/target_native_io.h,
35285 * native/target/RTEMS/target_native_math.h,
35286 * native/target/RTEMS/target_native_memory.h,
35287 * native/target/RTEMS/target_native_misc.h,
35288 * native/target/RTEMS/target_native_network.h:
35289 New files. Implement the target native layer for the RTEMS platform.
35291 2006-01-16 Roman Kennke <kennke@aicas.com>
35293 * native/target/SunOS/target_native.h,
35294 * native/target/SunOS/target_native_file.h,
35295 * native/target/SunOS/target_native_io.h,
35296 * native/target/SunOS/target_native_math.h,
35297 * native/target/SunOS/target_native_memory.h,
35298 * native/target/SunOS/target_native_misc.h,
35299 * native/target/SunOS/target_native_network.h:
35300 New files. Implement the target native layer for the SunOS platform.
35302 2006-01-16 Roman Kennke <kennke@aicas.com>
35304 * native/target/MinGW/target_native.h,
35305 * native/target/MinGW/target_native_file.h,
35306 * native/target/MinGW/target_native_io.h,
35307 * native/target/MinGW/target_native_math.h,
35308 * native/target/MinGW/target_native_memory.h,
35309 * native/target/MinGW/target_native_misc.h,
35310 * native/target/MinGW/target_native_network.h:
35311 New files. Implement the target native layer for the MinGW
35314 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35317 * javax/swing/DefaultCellEditor.java
35318 (delegate): Assign new instance immediately.
35319 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35320 (getTableCellEditorComponent): Rewritten.
35321 (prepareAsJTextField):New method (add listener only once).
35322 * javax/swing/JTable.java
35323 (editingCanceled): Rewritten.
35324 (editingStopped ): Rewritten.
35325 (rowAtPoint): Mind row margin.
35326 (getCellRect): Mind row margin.
35327 (getDefaultEditor): Removing JTextComponent border.
35328 (editCellAt): Rewritten.
35329 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35330 Activate editing mode by the mouse clicks.
35331 (getMaximumSize): Mind row margin.
35332 (getPreferredSize): Mind row margin.
35333 (TableAction): Added 'stop editing' command.
35335 2006-01-16 Roman Kennke <kennke@aicas.com>
35337 * jni/java-io/java_io_VMFile.c
35338 (Java_java_io_VMFile_list): Use new 4 argument version of
35339 TARGET_NATIVE_FILE_READ_DIR macro.
35340 * target/Linux/target_native_io.h: Fixed comment at #endif.
35341 * target/Linux/target_native_memory.h: New file. Contains
35342 portability macros for memory operations.
35343 * target/generic/target_generic.c: New file. Contains some functions
35345 * target/generic/target_generic.h: Use posix target and shorter macro
35346 names if CP_NEW is set.
35347 * target/generic/target_generic_file.h: Use posix target and shorter
35348 macro names if CP_NEW is set.
35349 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35350 * target/generic/target_generic_io.c: New file. Contains some
35351 functions for IO portability.
35352 * target/generic/target_generic_io.h: Use posix target and shorter
35353 macro names if CP_NEW is set.
35354 * target/generic/target_generic_misc.c: New file. Contains some
35355 functions for miscallaneaous portability issues.
35356 * target/generic/target_generic_misc.h: Use posix target and shorter
35357 macro names if CP_NEW is set.
35358 * target/generic/target_generic_network.c: New file. Contains some
35359 functions for networking portability.
35360 * target/generic/target_generic_network.h: Use posix target and
35361 shorter macro names if CP_NEW is set.
35362 * target/posix/Makefile.am,
35363 * target/posix/target_posix.c,
35364 * target/posix/target_posix.h,
35365 * target/posix/target_posix_file.c,
35366 * target/posix/target_posix_file.h,
35367 * target/posix/target_posix_io.c,
35368 * target/posix/target_posix_io.h,
35369 * target/posix/target_posix_math.c,
35370 * target/posix/target_posix_math.h,
35371 * target/posix/target_posix_memory.c,
35372 * target/posix/target_posix_memory.h,
35373 * target/posix/target_posix_misc.c,
35374 * target/posix/target_posix_misc.h,
35375 * target/posix/target_posix_network.c,
35376 * target/posix/target_posix_network.h:
35377 New files. This implements the target native layer macros for
35378 Posix-like systems.
35380 2006-01-16 Gary Benson <gbenson@redhat.com>
35382 * java/net/SocketPermission.java (implies): Fix action checks.
35384 2006-01-16 Roman Kennke <kennke@aicas.com>
35386 * native/target/generic/target_generic_math_float.h: Removed. This
35387 file has been replaced by target_generic_math.h.
35388 * native/target/generic/target_generic_math_int.h: Removed. This
35389 file has been replaced by target_generic_math.h.
35390 * native/target/generic/target_generic_math.h: New file. Replaces
35391 the old _int and _float versions.
35392 * native/target/Linux/target_native_math_float.h: Removed. This
35393 file has been replaced by target_native_math.h.
35394 * native/target/Linux/target_native_math_int.h: Removed. This
35395 file has been replaced by target_native_math.h.
35396 * native/target/Linux/target_native_math.h: New file. Replaces
35397 the old _int and _float versions.
35398 * native/target/Linux/Makefile.am: Adjusted for the changed
35400 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35401 instead of target_native_math_int.h.
35402 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35404 * native/target/generic/target_generic_file.h: Likewise.
35406 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35408 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35410 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35412 * javax/swing/text/SimpleAttributeSet.java
35413 (SimpleAttributeSet()): Initialise storage directly,
35414 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35415 NullPointerException,
35416 (containsAttribute): If key is found locally, don't check resolving
35417 parent if the value doesn't match,
35418 (getAttribute): Removed redundant instanceof and cast.
35420 2006-01-16 Gary Benson <gbenson@redhat.com>
35422 * java/lang/System.java (setSecurityManager): Ensure policy
35423 files are loaded before a security manager is put in place.
35425 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35427 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35429 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35431 * javax/print/attribute/standard/MediaSize.java:
35432 (static_initializer): Added comment.
35433 (MediaSize): Added javadoc to mention cache registration.
35434 (MediaSize): Likewise.
35435 (MediaSize): Likewise.
35436 (MediaSize): Likewise.
35438 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35441 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35442 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35443 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35444 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35446 (toString): Added method implementation.
35447 (LoginModuleControlFlag.toString): Removed class name from result.
35448 * javax/security/auth/login/Configuration.java: Updated copyright year.
35449 (getConfig(): replaced calls to NullConfiguration with
35452 2006-01-15 Tom Tromey <tromey@redhat.com>
35454 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35455 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35456 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35457 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35458 (setPersistenceDelegate): Likewise.
35460 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35462 * javax/print/attribute/standard/PrinterStateReasons.java:
35463 (printerStateReasonSet): Genericize the return type.
35465 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35467 * javax/swing/table/DefaultTableCellRenderer.java
35468 (getTableCellRendererComponent): Render null as the empty cell.
35470 2006-01-14 Anthony Green <green@redhat.com>
35472 * java/net/ServerSocket.java (accept): Remove bogus
35474 (implAccept): Add FIXME comment.
35476 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35479 * javax/print/Doc.java: Added and enhanced documentation.
35480 * javax/print/SimpleDoc.java: New file.
35482 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35484 * javax/print/attribute/standard/MediaSize.java:
35485 (Other.TABLOID): New MediaSize added in 1.5
35487 2006-01-14 Chris Burdess <dog@gnu.org>
35489 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35490 correctly when I/O and runtime exceptions occur during parsing.
35492 2006-01-13 Roman Kennke <kennke@aicas.com>
35494 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35495 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35496 * gnu/java/awt/peer/swing/SwingComponent.java,
35497 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35498 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35499 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35500 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35501 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35502 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35503 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35504 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35505 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35506 * gnu/java/awt/peer/swing/SwingToolkit.java,
35507 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35508 * gnu/java/awt/peer/swing/package.html:
35509 New files. Implemented some basic AWT peers based on Swing.
35511 2006-01-13 Roman Kennke <kennke@aicas.com>
35513 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35515 2006-01-13 Roman Kennke <kennke@aicas.com>
35517 * java/awt/MenuComponent.java: Reformatted to better match our
35520 2006-01-13 Roman Kennke <kennke@aicas.com>
35522 * java/awt/Frame.java: Reformatted to better match our
35525 2006-01-13 Roman Kennke <kennke@aicas.com>
35527 * java/awt/MenuBar.java
35528 (accessibleContext): Removed unnecessary field. This is already
35529 defined in MenuComponent.
35530 (setHelpMenu): Renamed the peer variable to myPeer because it was
35531 hiding a field of MenuComponent.
35532 (addNotify): Removed unnecessary cast.
35534 2006-01-13 Roman Kennke <kennke@aicas.com>
35536 * java/awt/MenuBar.java: Reformatted to better match our
35539 2006-01-13 Roman Kennke <kennke@aicas.com>
35541 * java/awt/MenuBar.java
35542 (frame): New field.
35543 (removeNotify): Clear frame field when beeing removed from the
35545 * java/awt/Frame.java
35546 (setMenuBar): Store a reference of the frame in the MenuBar.
35547 * java/awt/MenuComponent.java
35548 (postEvent): Implemented to forward the call to the parent until
35549 a parent can handle the event.
35550 (dispatchEvent): Moved handling of old style events from
35551 dispatchEventImpl() to here.
35552 (dispatchEventImpl): Moved handling of old style events to
35555 2006-01-13 Roman Kennke <kennke@aicas.com>
35557 * java/awt/Component.java
35558 (dispatchEvent): Moved handling of old style events from
35559 dispatchEventImpl() to this method.
35560 (translateEvent): Removed unnecessary cast.
35561 (dispatchEventImpl): Moved handling of old style events to
35564 2006-01-13 Lillian Angel <langel@redhat.com>
35566 * javax/swing/text/DefaultStyledDocument.java
35567 (createDefaultRoot): Removed FIXME.
35568 (setLogicalStyle): Added fireUndoableEditUpdate call and
35571 2006-01-13 Lillian Angel <langel@redhat.com>
35573 * javax/swing/text/DefaultStyledDocument.java
35574 (Edit): New inner class.
35575 (changeUpdate): Changed addEdit call to add a new
35576 instance of Edit to the edits Vector, so addEdits can
35579 (insertParagraph): Likewise.
35580 (insertFracture): Likewise.
35581 (insertContentTag): Likewise.
35582 (insert): Added loop to go through edits Vector and perform
35583 addEdit on each object.
35585 2006-01-13 Chris Burdess <dog@gnu.org>
35587 * gnu/xml/transform/AbstractNumberNode.java,
35588 gnu/xml/transform/ApplyImportsNode.java,
35589 gnu/xml/transform/ApplyTemplatesNode.java,
35590 gnu/xml/transform/AttributeNode.java,
35591 gnu/xml/transform/CallTemplateNode.java,
35592 gnu/xml/transform/ChooseNode.java,
35593 gnu/xml/transform/CommentNode.java,
35594 gnu/xml/transform/CopyNode.java,
35595 gnu/xml/transform/CopyOfNode.java,
35596 gnu/xml/transform/DocumentFunction.java,
35597 gnu/xml/transform/ElementNode.java,
35598 gnu/xml/transform/ForEachNode.java,
35599 gnu/xml/transform/IfNode.java,
35600 gnu/xml/transform/LiteralNode.java,
35601 gnu/xml/transform/MessageNode.java,
35602 gnu/xml/transform/OtherwiseNode.java,
35603 gnu/xml/transform/ParameterNode.java,
35604 gnu/xml/transform/ProcessingInstructionNode.java,
35605 gnu/xml/transform/Stylesheet.java,
35606 gnu/xml/transform/Template.java,
35607 gnu/xml/transform/TemplateNode.java,
35608 gnu/xml/transform/TextNode.java,
35609 gnu/xml/transform/TransformerImpl.java,
35610 gnu/xml/transform/ValueOfNode.java,
35611 gnu/xml/transform/WhenNode.java,
35612 gnu/xml/xpath/NodeTypeTest.java,
35613 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35614 with-param parameters when template does not define parameters; apply
35615 conflict resolution for templates; strip whitespace on documents
35616 retrieved via document() function; allow node() to match document
35619 2006-01-13 Mark Wielaard <mark@klomp.org>
35621 * doc/www.gnu.org/announce/20060113.wml: New file.
35622 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35623 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35625 2006-01-13 Lillian Angel <langel@redhat.com>
35627 * javax/swing/text/DefaultStyledDocument.java:
35628 Removed unused fields.
35629 (insert): Removed unused fields.
35630 (endEdit): Removed, not needed.
35631 (insertUpdate): Removed call to endEdit.
35632 (prepareContentInsertion): Removed, not needed.
35633 (insertContentTag): Removed call to prepareContentInsertion.
35634 (printElements): Removed, not needed.
35635 (attributeSetsAreSame): Removed, not needed.
35637 2005-01-13 Mark Wielaard <mark@klomp.org>
35639 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35640 Duplicate of toString(int, StringBuilder).
35642 2005-01-13 Mark Wielaard <mark@klomp.org>
35644 * configure.ac: Set version to 0.20.
35645 * NEWS: Add entries for all the new work done.
35647 2005-01-13 Mark Wielaard <mark@klomp.org>
35649 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35651 2005-01-13 Mark Wielaard <mark@klomp.org>
35653 * java/util/regex/Pattern.java (Pattern): Chain REException.
35655 2006-01-13 Chris Burdess <dog@gnu.org>
35657 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35659 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35661 * java/security/Security.java
35662 (getProperty): Added hack to skip security check when trusted
35663 code is direct caller.
35665 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35667 * java/io/PrintStream.java
35668 (line_separator, PrintStream(OutputStream,boolean)): Use
35671 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35673 * gnu/java/nio/charset/Provider.java: Added comment about its
35674 special relation with CharsetProvider.
35676 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35677 its special relation with CharsetProvider.
35679 * java/nio/charset/spi/CharsetProvider.java
35680 (CharsetProvider): Add special case to skip security check for
35681 built in providers.
35683 2005-01-13 Mark Wielaard <mark@klomp.org>
35685 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35686 name, accel, mnemonic and command are defined before setting.
35688 2005-01-12 Mark Wielaard <mark@klomp.org>
35690 * javax/swing/plaf/metal/MetalFileChooserUI.java
35691 (FileRenderer.getListCellRendererComponent): Set empty name and null
35692 icon when File is null.
35694 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35696 * gnu/java/rmi/server/UnicastRef.java (newCall):
35697 Throw ConnectException after catching IOException.
35699 2006-01-12 Lillian Angel <langel@redhat.com>
35701 * javax/swing/text/DefaultStyledDocument.java
35702 (insertUpdate): Removed unneeded check.
35704 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35706 * javax/swing/text/DefaultStyledDocument.java:
35707 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35708 and we haven't come immediately after a fracture, adjust the Element
35709 offsets. Added comment explaining the situation.
35710 (insert): Return early if no ElementSpecs passed in. Removed redundant
35711 call to insertUpdate. Fired the UndoableEditUpdate.
35713 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35716 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35717 character classes within a subexpression.
35719 2006-12-12 Lillian Angel <langel@redhat.com>
35721 * javax/swing/text/DefaultStyledDocument.java
35722 (insertUpdate): Added check to check if attribute set is
35724 (insertUpdate): Added check to determine if last character
35725 is a newline. If it is, we should not be fracturing.
35726 (insert): Added check to determine if attribute set is empty.
35727 If it is, insertUpdate should not be called.
35729 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35731 * configure.ac: Check for isnan.
35733 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35736 2006-01-12 Chris Burdess <dog@gnu.org>
35738 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35739 1.1 character ranges.
35741 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35743 * javax/swing/TransferHandler.java:
35744 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35745 gnu/testlet/javax/swing/JTextField/CopyPaste.
35747 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35749 * resource/Makefile.am: Install
35750 logging.properties into $(prefix)/lib.
35751 * resource/Makefile.am (securitydir): Changed to
35752 $(prefix)/lib/security.
35754 2006-01-12 Roman Kennke <kennke@aicas.com>
35756 * javax/swing/JTextField.java
35757 (createDefaultModel): Moved installation of the filterNewlines
35758 property to setDocument().
35759 (setDocument): New method. Installs the filterNewlines property
35762 2006-01-12 Chris Burdess <dog@gnu.org>
35764 * gnu/xml/dom/DomNode.java,
35765 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35767 * gnu/xml/xpath/NameTest.java,
35768 gnu/xml/xpath/NamespaceTest.java,
35769 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35771 * gnu/xml/transform/MessageNode.java: Use standard logging system
35772 for outputting messages.
35774 2006-01-12 Tom Tromey <tromey@redhat.com>
35776 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35777 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35778 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35779 (static initializer): Removed cache code.
35780 (checkCacheFor, addToCache): Removed.
35781 (getAllByName): Removed cache code.
35782 (lookup_time): Removed.
35783 (InetAddress): Updated.
35785 2006-01-12 Chris Burdess <dog@gnu.org>
35787 * gnu/xml/dom/DomDocument.java,
35788 gnu/xml/dom/DomElement.java,
35789 gnu/xml/dom/DomNode.java,
35790 gnu/xml/stream/XMLParser.java,
35791 gnu/xml/transform/Bindings.java,
35792 gnu/xml/transform/ElementAvailableFunction.java,
35793 gnu/xml/transform/ElementNode.java,
35794 gnu/xml/transform/FunctionAvailableFunction.java,
35795 gnu/xml/transform/NamespaceProxy.java,
35796 gnu/xml/transform/StreamSerializer.java,
35797 gnu/xml/transform/Stylesheet.java,
35798 gnu/xml/transform/TransformerImpl.java,
35799 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35800 document and element nodes; correct coalescing semantics when parsing;
35801 attribute-sets can only refer to top-level variables and parameters;
35802 fix namespace retrieval during element-available and
35803 function-available functions; implement xsl:fallback for extension
35804 elements; tokenize whitespace correctly during whitespace stripping;
35805 correct following and previous node axes selectors.
35807 2006-01-12 Roman Kennke <kennke@aicas.com>
35809 * java/util/Hashtable.java
35810 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35811 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35813 2006-01-12 Lillian Angel <langel@redhat.com>
35815 * javax/swing/text/GapContent.java
35816 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35818 2006-01-12 Mark Wielaard <mark@klomp.org>
35820 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35821 Throw UnknowHostException when name could not be resolved.
35823 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35825 * java/net/URL.java
35826 (static, getURLStreamHandler): Use SystemProperties.
35828 2006-01-12 Mark Wielaard <mark@klomp.org>
35830 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35831 Use packet.getLength().
35832 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35833 (nativeReceive): Check whether the receiver wants zero bytes.
35835 2006-01-12 Mark Wielaard <mark@klomp.org>
35837 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35838 other side orderly closed connection.
35839 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35840 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35841 when end of stream reached.
35843 2006-01-12 Mark Wielaard <mark@klomp.org>
35845 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35847 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35848 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35849 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35850 * native/jni/java-net/javanet.c: Likewise.
35852 2006-01-12 Mark Wielaard <mark@klomp.org>
35854 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35855 PR classpath/23863.
35857 2006-01-11 Chris Burdess <dog@gnu.org>
35859 * gnu/xml/transform/AttributeNode.java,
35860 gnu/xml/transform/ElementNode.java,
35861 gnu/xml/transform/LiteralNode.java,
35862 gnu/xml/transform/StreamSerializer.java,
35863 gnu/xml/transform/StrippingInstruction.java,
35864 gnu/xml/transform/Stylesheet.java,
35865 gnu/xml/transform/TransformerImpl.java,
35866 gnu/xml/transform/ValueOfNode.java,
35867 gnu/xml/xpath/Expr.java,
35868 gnu/xml/xpath/LocalNameFunction.java,
35869 gnu/xml/xpath/NameFunction.java,
35870 gnu/xml/xpath/NameTest.java,
35871 gnu/xml/xpath/NamespaceUriFunction.java,
35872 gnu/xml/xpath/NodeTypeTest.java,
35873 gnu/xml/xpath/SubstringFunction.java,
35874 javax/xml/namespace/QName.java: don't determine element namespace
35875 from namespace aliases when specified; better namespace handling
35876 when serializing elements; don't create HTML meta element unless
35877 head element exists; correct encoding of CDATA sections containing
35878 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35879 default encoding for HTML output; rewrite of XSLT
35880 strip-space/preserve-space handling; correct doctype-public and
35881 doctype-system output attributes; insert generated doctype before
35882 document element; fixed result tree whitespace stripping
35883 algorithm; fixed semantics of XPath name, local-name, and
35884 namespace-uri functions; name tests handle XML/XMLNS namespaces
35885 correctly; fixed semantics of processing-instruction node test.
35886 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35889 2006-01-11 Lillian Angel <langel@redhat.com>
35891 * javax/swing/text/DefaultStyledDocument.java
35892 (insertFracture): Added calls to addEdit for each time a structure
35893 is changed. addEdit is called on the newBranch, previous, and parent
35896 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35898 * javax/swing/text/DefaultStyledDocument.java:
35899 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35900 This will have been taken care of in insertFracture. Added a comment
35901 explaining that we need to add edits to the DocumentEvent and that
35902 this may be the place to do it.
35904 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35906 * javax/swing/text/DefaultStyledDocument.java:
35907 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35908 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35909 elementStack when there is a start tag with JoinNextDirection.
35911 2006-01-11 Roman Kennke <kennke@aicas.com>
35913 Reported by: Fridjof Siebert <siebert@aicas.com>
35914 * java/util/Hashtable.java
35915 (KEYS): Removed unneeded field.
35916 (VALUES): Removed unneeded field.
35917 (ENTRIES): Removed unneeded field.
35918 (keys): Return a KeyEnumerator instance.
35919 (elements): Returns a ValueEnumerator instance.
35920 (toString): Use an EntryIterator instance.
35921 (keySet): Return a KeyIterator instance.
35922 (values): Return a ValueIterator instance.
35923 (entrySet): Return an EntryIterator instance.
35924 (hashCode): Use EntryIterator instance.
35925 (rehash): Changed this loop to avoid redundant reads and make
35926 it obvious that null checking is not needed.
35927 (writeObject): Use EntryIterator instance.
35928 (HashIterator): Removed class.
35929 (Enumerator): Removed class.
35930 (EntryIterator): New class.
35931 (KeyIterator): New class.
35932 (ValueIterator): New class.
35933 (EntryEnumerator): New class.
35934 (KeyEnumerator): New class.
35935 (ValueEnumerator): New class.
35937 2006-01-11 Lillian Angel <langel@redhat.com>
35939 * javax/swing/text/DefaultStyledDocument.java
35940 (toString): Shouldn't append the '>' character here.
35941 (createDefaultRoot): Should not set the resolve parent. This
35942 causes problems when comparing attribute sets.
35944 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35946 * javax/swing/text/DefaultStyledDocument.java:
35947 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35949 (ElementBuffer.insertFracture): New method.
35950 (ElementBuffer.insertContentTag): Removed unnecessary case for
35951 JoinFractureDirection - this only applies to start tags, not content
35953 (insertUpdate): Corrected conditions for setting direction to
35956 2006-01-10 Roman Kennke <kennke@aicas.com>
35958 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35959 * ChangeLog-2005: New File.
35961 2006-01-10 Roman Kennke <kennke@aicas.com>
35963 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35964 (get): Release the array with the correct pointer.
35965 (put): Release the array with the correct pointer. Copy the array
35966 around _before_ releasing it.
35968 2006-01-10 Roman Kennke <kennke@aicas.com>
35970 * javax/swing/ViewportLayout.java
35971 (layoutContainer): Fixed condition, to avoid ClasscastException.
35973 2006-01-10 Roman Kennke <kennke@aicas.com>
35975 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35976 (MouseHandler.mousePressed): Fixed indendation.
35977 (MouseHandler.mouseDragged): Fixed indendation.
35979 2006-01-10 Roman Kennke <kennke@aicas.com>
35981 * javax/swing/plaf/basic/BasicLookAndFeel.java
35982 (playSound): Added @since 1.4 to the API docs.
35984 2006-01-10 Roman Kennke <kennke@aicas.com>
35986 * javax/swing/plaf/basic/BasicListUI.java
35987 (maybeUpdateLayoutState): Also update the layout state, if the
35988 list has been invalidated since the last update.
35990 2006-01-10 Roman Kennke <kennke@aicas.com>
35992 * javax/swing/plaf/ComponentUI.java
35993 (update): Fixed indendation.
35995 2006-01-10 Roman Kennke <kennke@aicas.com>
35997 * javax/swing/ViewportLayout.java
35998 (layoutContainer): Fixed condition, so that Scrollable components
35999 are always forced to have to Viewport size, when they
36000 return true for getScrollableTracksViewportHeight() and ..Width().
36002 2006-01-10 Roman Kennke <kennke@aicas.com>
36004 * javax/swing/RepaintManager.java
36005 (validateInvalidComponents): Fixed condition to avoid NPE.
36007 2006-01-10 Roman Kennke <kennke@aicas.com>
36009 * javax/swing/JViewport.java:
36010 (static_initializer): Removed unused variable myScrollMode.
36012 2006-01-10 Roman Kennke <kennke@aicas.com>
36014 * javax/swing/JTabbedPane.java:
36015 Cleared API docs a little.
36017 2006-01-10 Roman Kennke <kennke@aicas.com>
36019 * java/util/StringTokenizer.java
36020 (StringTokenizer(String, String, boolean)):
36021 Don't trigger NPE here for conformance with the spec.
36023 2006-01-10 Roman Kennke <kennke@aicas.com>
36025 * java/util/ArrayList.java
36026 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36028 2006-01-10 Roman Kennke <kennke@aicas.com>
36030 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36031 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36032 field to avoid NPE.
36034 2006-01-10 Roman Kennke <kennke@aicas.com>
36036 * native/jni/java-net/javanet.c
36037 (_javanet_shutdownOutput): Replaced strerror() with
36038 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36039 (_javanet_shutdownInput): Replaced strerror() with
36040 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36042 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36044 * java/beans/EventSetDescriptor.java: Reformatted and
36047 2006-01-10 Roman Kennke <kennke@aicas.com>
36049 * java/lang/SecurityManager.java
36050 Fully qualified AWT class references in API docs.
36052 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36054 * java/beans/EventSetDescriptor.java:
36055 (getGetListenerMethod): New method.
36057 2006-01-10 Mark Wielaard <mark@klomp.org>
36059 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36061 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36064 * java/util/Hashtable.java
36065 (contains): Call equals on existing value.
36066 (containsKey, get, put, remove): Call equals on existing key.
36067 (getEntry): Call equals on existing entry.
36069 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36072 * java/util/AbstractMap.java
36073 (equals(Object,Object)): Test for identity first.
36074 * java/util/WeakHashMap.java
36075 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36076 (WeakBucket.WeakEntry.toString): Fixed string representation of
36078 (internalGet): Use helper method to determine equality.
36080 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36082 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36085 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36087 * javax/swing/text/PlainDocument.java:
36088 (insertUpdate): Handle special case of an insertion immediately
36089 following a newline character.
36091 2006-01-09 Roman Kennke <kennke@aicas.com>
36093 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36094 (connect): Added stream parameter to _connect() call.
36095 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36096 (connect): Added stream parameter to _connect() call.
36097 * native/jni/java-net/javanet.c
36098 (_javanet_create_localfd): Added stream parameter. Look up
36099 fd field based on the stream parameter either in SocketImpl or
36100 in DatagramSocketImpl.
36101 (_javanet_connect): Added stream parameter. Call create_localfd
36102 using this stream parameter. Set localPort field either in
36103 SocketImpl or in DatagramSocketImpl, depending on the stream
36105 * native/jni/java-net/javanet.c
36106 (_javanet_connect): Added stream parameter.
36108 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36110 * javax.management.Attribute.java: Grammar and
36113 2006-01-09 Mark Wielaard <mark@klomp.org>
36115 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36116 exception when channel is not readable or writable.
36117 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36118 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36119 there is enough space to mmap().
36121 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36123 * java/beans/Introspector.java:
36124 (getBeanInfo(Class, int)): New method.
36125 (getBeanInfo(Class, Class): Moved common code in a new method.
36126 (merge): New method.
36128 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36130 * java/beans/XMLEncoder.java: Fix spelling mistakes.
36132 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36134 * javax/swing/text/DefaultStyledDocument.java:
36135 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36136 inlined this method because it needs to change the value of the
36137 finalStartTag and finalStartDirection variables.
36138 (checkForInsertAfterNewline): Removed this method.
36139 (handleInsertAfterNewline): Added case for making the start tag's
36140 direction JoinNextDirection.
36142 2006-01-09 Lillian Angel <langel@redhat.com>
36144 * javax/swing/plaf/basic/BasicTreeUI.java:
36146 (setRowHeight): Row height is set to the max height of
36147 all the nodes, or 20 as a default value.
36148 (getPathBounds): Cleaned up code.
36149 (getMaxHeight): New helper function that gets the max
36150 height of all the rows.
36151 (getClosestPathForLocation): Fixed to use getMaxHeight.
36152 (updateCachedPreferredSize): Likewise.
36153 (installUI): Shouldn't expand tree on startup.
36154 (getNodeDimensions): Fixed to use getMaxHeight.
36156 2006-01-09 Mark Wielaard <mark@klomp.org>
36158 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36159 argument is negative.
36161 2006-01-08 Mark Wielaard <mark@klomp.org>
36163 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36165 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36167 * javax.management.Attribute.java: New file.
36169 2006-01-09 Roman Kennke <kennke@aicas.com>
36171 * java/net/DatagramSocketImpl.java
36172 (localPort): Renamed to localport for correct access from native
36175 2006-01-09 Roman Kennke <kennke@aicas.com>
36177 * javax/swing/Popup.java
36178 (LightweightPopup.hide): Repaint the layered pane when popup is
36181 2006-01-09 Roman Kennke <kennke@aicas.com>
36183 * java/awt/Container.java
36184 (remove): Don't repaint the container here.
36186 2006-01-08 Tom Tromey <tromey@redhat.com>
36188 * java/lang/InheritableThreadLocal.java: Organized imports.
36190 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36193 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36194 when an empty string matched an empty token.
36196 2006-01-08 Chris Burdess <dog@gnu.org>
36198 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36199 content models from external entities.
36200 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36201 attempting to continue with unpaired surrogates.
36202 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36203 resolving entities with character entity references; better
36204 checking of valid character ranges; don't report an error for URI
36205 fragments in notation declarations; check unbound namespace
36206 prefixes for elements and attributes, including XML 1.1 unbinding
36207 syntax; namespace-aware checking of attribute duplicates.
36209 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36211 * java/beans/Statement.java: Doc fixes.
36212 (doExecute): Workaround for Class.forName call.
36213 (toString): Made output look more like on the JDK.
36214 * java/beans/Expression.java: Doc fixes.
36215 (toString): Made output look more like on the JDK.
36216 * java/beans/PersistenceDelegate.java,
36217 java/beans/DefaultPersistenceDelegate.java,
36218 java/beans/Encoder.java,
36219 java/beans/XMLEncoder.java: New file.
36220 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36221 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36222 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36223 gnu/java/beans/encoder/Context.java,
36224 gnu/java/beans/encoder/GenericScannerState.java,
36225 gnu/java/beans/encoder/IgnoringScannerState.java,
36226 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36227 gnu/java/beans/encoder/ObjectId.java,
36228 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36229 gnu/java/beans/encoder/ReportingScannerState.java,
36230 gnu/java/beans/encoder/Root.java,
36231 gnu/java/beans/encoder/ScanEngine.java,
36232 gnu/java/beans/encoder/ScannerState.java,
36233 gnu/java/beans/encoder/StAXWriter.java,
36234 gnu/java/beans/encoder/Writer.java: New file.
36235 * gnu/java/beans/encoder/elements/Array_Get.java,
36236 gnu/java/beans/encoder/elements/Element.java,
36237 gnu/java/beans/encoder/elements/List_Set.java,
36238 gnu/java/beans/encoder/elements/Array_Set.java,
36239 gnu/java/beans/encoder/elements/NullObject.java,
36240 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36241 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36242 gnu/java/beans/encoder/elements/StringReference.java,
36243 gnu/java/beans/encoder/elements/ClassResolution.java,
36244 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36245 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36246 gnu/java/beans/encoder/elements/ObjectReference.java,
36247 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36248 gnu/java/beans/encoder/elements/List_Get.java,
36249 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36251 2006-01-08 Chris Burdess <dog@gnu.org>
36253 * java/lang/Character.java (toChars,toCodePoint): Correct these
36254 methods to use algorithms from Unicode specification.
36256 2006-01-08 Mark Wielaard <mark@klomp.org>
36258 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36260 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36263 * examples/Makefile.am: Corrected DESTDIR install paths.
36265 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36267 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36268 ASCII character (line 46).
36270 2006-01-07 Roman Kennke <kennke@aicas.com>
36272 * javax/swing/text/TableView.java: New file.
36274 2006-01-07 Chris Burdess <dog@gnu.org>
36276 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36277 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36278 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36279 available; correct handling of unparsed entity references;
36280 absolutize all base URIs; remove commented out code.
36282 2006-01-07 Chris Burdess <dog@gnu.org>
36284 * gnu/xml/stream/SAXParser.java,
36285 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36286 URI of the current event.
36288 2006-01-07 Chris Burdess <dog@gnu.org>
36290 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36293 2006-01-07 Chris Burdess <dog@gnu.org>
36295 * gnu/xml/stream/SAXParser.java,
36296 gnu/xml/stream/XIncludeFilter.java,
36297 gnu/xml/stream/XMLParser.java: Updated documentation.
36299 2006-01-07 Chris Burdess <dog@gnu.org>
36301 * AUTHORS: add self.
36303 2006-01-06 Casey Marshall <csm@gnu.org>
36305 * AUTHORS: add myself.
36307 2006-01-06 Casey Marshall <csm@gnu.org>
36310 * javax/crypto/CipherInputStream.java (logger): new constant.
36311 (cipher): make final.
36312 (outLength, inBuffer, inLength): removed.
36313 (isStream): make final.
36314 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36316 (<init>): call `super,' not `this;' remove `inBuffer' and
36317 `outBuffer' initialization; init `eof;' add debug logging.
36318 (<init>): call `this' with a new null cipher.
36319 (available): fix javadoc to reflect the real semantics; if we
36320 don't have a buffer, call `nextBlock.'
36321 (close): synchronize.
36322 (read): synchronize; fix testing for buffered data.
36323 (read): synchronize; add `skip' semantics if first argument is
36324 `null;' decrypt stream cipher data only if there is any; fix tests
36326 (skip): stop using `available' to see how many data are buffered.
36327 (nextBlock): simplify to use cipher-allocated output buffers
36328 instead of internally allocated ones.
36330 2006-01-06 Tom Tromey <tromey@redhat.com>
36332 * java/lang/String.java (codePointCount): Fixed javadoc.
36334 2006-01-06 Tom Tromey <tromey@redhat.com>
36336 * java/lang/String.java (contains): Added @since.
36338 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36341 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36342 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36343 when an empty string matched an empty token.
36345 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36348 * gnu/java/util/WeakIdentityHashMap.java: New file.
36349 * java/lang/InheritableThreadLocal.java
36350 (newChildThread): Modified to remove key indirection.
36351 * java/lang/Thread.java
36352 (locals): Changed type to WeakIdentityHashMap.
36353 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36355 * java/lang/ThreadLocal.java
36356 (key, Key): Removed.
36357 (get, set): Changed to use "this" instead of "key".
36359 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36361 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36363 * native/fdlibm/java-assert.h: Removed file.
36365 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36366 Replaced use of JvAssert by assert.
36368 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36370 * javax/swing/text/DefaultCaret.java:
36371 (setDot): Fixed paramater to Math.max to be this.dot and not the
36374 2006-01-05 Roman Kennke <kennke@aicas.com>
36376 * javax/swing/plaf/basic/BasicListUI.java
36377 (getCellHeight): New helper method.
36378 (getCellBounds): Use new helper method for determining the cell
36380 (paint): Don't call list.indexToLocation() but instead call
36381 directly into the same UI method.
36382 (locationToIndex): Fixed calculation of # visible rows and handling
36384 (indexToLocation): Fixed calculation of # visible rows and handling
36387 2006-01-05 Roman Kennke <kennke@aicas.com>
36389 * javax/swing/plaf/metal/MetalFileChooserUI.java
36390 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36391 in the file chooser.
36393 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36395 * javax/swing/JTextPane.java:
36396 (replaceSelection): If the document is an AbstractDocument, use replace
36397 rather than remove and insert.
36398 * javax/swing/event/EventListenerList.java:
36399 (getListeners): Reversed the order of the listeners to match the
36400 reference implementation.
36401 * javax/swing/text/AbstractDocument.java:
36402 (insertString): Add the UndoableEdit from the content.insertString call
36403 to the DocumentEvent.
36404 (DefaultDocumentEvent.toString): Implemented.
36405 * javax/swing/text/DefaultCaret.java:
36406 (setDot): Make sure dot is > 0 and less than the length of the
36408 * javax/swing/text/DefaultStyledDocument.java:
36409 (ElementBuffer.insertUpdate): Set the modified tag of the document
36410 event when we get start and end tags. This ensures that we create the
36411 proper BranchElements in endEdit().
36412 (ElementBuffer.insertUpdate): Added FIXME to handle
36413 JoinFractureDirection case.
36414 (insertUpdate): Added code to check if we're inserting immediately
36415 after a newline and to handle this case (create start and end tags).
36416 Only change the direction of the first and last tags if they are of
36418 (checkForInsertAfterNewline): New helper method.
36419 (handleInsertAfterNewline): Likewise.
36420 * javax/swing/text/View.java:
36421 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36424 2006-01-05 Mark Wielaard <mark@klomp.org>
36426 * newsitems.txt: Add fosdem meeting.
36427 * events/events.wml: Likewise.
36428 * events/fosdem06.wml: New file.
36430 2006-01-05 Lillian Angel <langel@redhat.com>
36432 * javax/swing/text/GapContent.java
36433 (createPosition): No positions should be created inside the
36434 gap. Fixed check to ensure this does not happen.
36436 2006-01-05 Roman Kennke <kennke@aicas.com>
36438 * javax/swing/RepaintManager.java
36439 (validateInvalidComponents): Search for the validate root
36440 and start validating there.
36442 2006-01-05 Roman Kennke <kennke@aicas.com>
36444 * javax/swing/plaf/basic/BasicListUI.java
36445 (ComponentHandler): Removed unneeded class.
36446 (ListDataHandler.contentsChanged): Revalidate instead of calling
36448 (ListDataHandler.intervalAdded): Revalidate instead of calling
36450 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36452 (PropertyChangeHandler.propertyChange): Or flags together instead
36453 of adding them. Don't call damageLayout().
36454 (componentListener): Removed unnecessary field.
36455 (damageLayout): Removed unnecessary method.
36456 (installListeners): Don't install unnecessary listeners.
36457 (uninstallListeners): Dito.
36458 (getPreferredSize): Don't ask for the real list height and
36459 calculate with the previously calculated list height.
36460 (locationToIndex): Renamed list parameter to l so that it doesn't
36461 shadow the field with the same name.
36462 (indexToLocation): Renamed list parameter to l so that it doesn't
36463 shadow the field with the same name.
36465 2006-01-04 Tom Tromey <tromey@redhat.com>
36467 * include/.cvsignore: Ignore config-int.h.
36469 2006-01-04 Roman Kennke <kennke@aicas.com>
36471 * javax/swing/plaf/basic/BasicListUI.java
36472 (getPreferredSize): Rewritten to match the specs.
36474 2006-01-04 Roman Kennke <kennke@aicas.com>
36476 * javax/swing/JFileChooser.java
36477 (showOpenDialog): Set fixed width on the dialog.
36478 (showSaveDialog): Set fixed width on the dialog.
36479 (showDialog): Set fixed width on the dialog.
36481 2006-01-04 Roman Kennke <kennke@aicas.com>
36483 * javax/swing/plaf/basic/BasicListUI.java
36484 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36485 Adjusted iteration to not use visibleRowCount and instead iterate
36486 over the real number of elements in cellHeights.
36487 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36488 Adjusted iteration to not use visibleRowCount and instead iterate
36489 over the real number of elements in cellHeights.
36491 2006-01-04 Roman Kennke <kennke@aicas.com>
36493 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36494 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36495 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36497 2006-01-04 Roman Kennke <kennke@aicas.com>
36499 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36500 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36502 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36503 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36505 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36507 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36508 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36509 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36510 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36511 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36512 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36513 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36514 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36516 2006-01-04 Lillian Angel <langel@redhat.com>
36518 * javax/swing/plaf/metal/MetalFileChooserUI.java
36519 (propertyChange): Fixed to change the combo box label
36520 appropriately. Also, fixed to set the textfield's text
36522 (editFile): Fixed size of editing field.
36523 (installComponents): Correctly aligned all panels.
36524 (installStrings): Fixed to set the label's text
36525 appropriately depending on the dialog type.
36527 2006-01-04 Lillian Angel <langel@redhat.com>
36531 * javax/swing/JTree.java
36532 (JTree): Because some L&F defaults have been updated,
36533 the selectionMode for the tree needed to be set to SINGLE.
36534 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36535 Initialized accessoryPanel.
36536 * javax/swing/plaf/metal/MetalFileChooserUI.java
36537 (installComponents): Added accessoryPanel to the filechooser.
36539 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36541 * configure.ac: Added AX_CREATE_STDINT_H
36543 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36545 * m4/ax_create_stdint_h.m4: New file.
36547 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36548 typedefs. Removed stdint.h and inttypes.h includes.
36550 2006-01-03 Mark Wielaard <mark@klomp.org>
36552 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36553 register keyboard action when accelerator is not null.
36554 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36555 re-register accelerator if not null.
36556 (installKeyboardActions): Only put accelerator in map when not null.
36558 2006-01-04 Lillian Angel <langel@redhat.com>
36560 * javax/swing/plaf/basic/BasicLookAndFeel.java
36561 (initComponentDefaults): Removed unneeded default.
36562 * javax/swing/plaf/metal/MetalLookAndFeel.java
36563 (initComponentDefaults): Added and fixed several defaults.
36565 2006-01-04 Roman Kennke <kennke@aicas.com>
36567 * javax/swing/plaf/basic/BasicHTML.java: New class.
36569 2006-01-03 Tom Tromey <tromey@redhat.com>
36571 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36572 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36574 2006-01-03 Mark Wielaard <mark@klomp.org>
36576 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36578 2006-01-03 Mark Wielaard <mark@klomp.org>
36580 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36581 Always call createDefaultTheme().
36582 (createDefaultTheme): Check whether theme is still null.
36584 2006-01-03 Mark Wielaard <mark@klomp.org>
36586 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36587 Color.WHITE if null.
36589 2006-01-03 Lillian Angel <langel@redhat.com>
36591 * javax/swing/plaf/metal/MetalLookAndFeel.java
36592 (getDescription): Fixed to return the correct string.
36594 (getName): Likewise.
36595 (getDefaults): Added check to avoid NPE.
36596 (getAcceleratorForeground): Likewise.
36597 (getAcceleratorSelectedForeground): Likewise.
36598 (getBlack): Likewise.
36599 (getControl): Likewise.
36600 (getControlDarkShadow): Likewise.
36601 (getControlDisabled): Likewise.
36602 (getControlHighlight): Likewise.
36603 (getControlInfo): Likewise.
36604 (getControlShadow): Likewise.
36605 (getControlTextColor): Likewise.
36606 (getControlTextFont): Likewise.
36607 (getDesktopColor): Likewise.
36608 (getFocusColor): Likewise.
36609 (getHighlightedTextColor): Likewise.
36610 (getInactiveControlTextColor): Likewise.
36611 (getInactiveSystemTextColor): Likewise.
36612 (getMenuBackground): Likewise.
36613 (getMenuDisabledForeground): Likewise.
36614 (getMenuForeground): Likewise.
36615 (getMenuSelectedBackground): Likewise.
36616 (getMenuSelectedForeground): Likewise.
36617 (getMenuTextFont): Likewise.
36618 (getPrimaryControl): Likewise.
36619 (getPrimaryControlDarkShadow): Likewise.
36620 (getPrimaryControlHighlight): Likewise.
36621 (getPrimaryControlInfo): Likewise.
36622 (getPrimaryControlShadow): Likewise.
36623 (getSeparatorBackground): Likewise.
36624 (getSeparatorForeground): Likewise.
36625 (getSubTextFont): Likewise.
36626 (getSystemTextColor): Likewise.
36627 (getSystemTextFont): Likewise.
36628 (getTextHighlightColor): Likewise.
36629 (getUserTextColor): Likewise.
36630 (getUserTextFont): Likewise.
36631 (getWhite): Likewise.
36632 (getWindowBackground): Likewise.
36633 (getWindowTitleBackground): Likewise.
36634 (getWindowTitleFont): Likewise.
36635 (getWindowTitleForeground): Likewise.
36636 (getWindowTitleInactiveBackground): Likewise.
36637 (getWindowTitleInactiveForeground): Likewise.
36639 2006-01-03 Mark Wielaard <mark@klomp.org>
36641 * javax/swing/JTextArea.java
36642 (JTextArea(Document,text,int,int)): Only call setText() when text is
36645 2006-01-03 Lillian Angel <langel@redhat.com>
36647 * javax/swing/plaf/basic/BasicFileChooserUI.java
36648 (installStrings): Fixed installation of defaults that
36649 were changed in BasicLookAndFeel.
36650 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36651 (installDefaults): Fixed installation of defaults that
36652 were changed in BasicLookAndFeel.
36654 2006-01-03 Lillian Angel <langel@redhat.com>
36656 * javax/swing/plaf/basic/BasicLookAndFeel.java
36657 (initComponentDefaults): Fixed several defaults that differed
36660 2006-01-03 Lillian Angel <langel@redhat.com>
36662 * javax/swing/tree/DefaultTreeSelectionModel.java
36663 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36665 2006-01-03 Lillian Angel <langel@redhat.com>
36667 * javax/swing/AbstractAction.java
36668 (AbstractAction): Fixed to pass in null. Should not be
36669 an empty string. Removed TODO comment.
36670 (AbstractAction): Removed TODO comment.
36671 * javax/swing/JList.java
36672 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36673 * javax/swing/JMenuItem.java
36674 (JMenuItem): Set all defaults if the action passed in is not null.
36675 * javax/swing/JProgressBar.java
36676 (JProgressBar): Added check to prevent NPE.
36678 2006-01-03 Lillian Angel <langel@redhat.com>
36680 * javax/swing/plaf/basic/BasicListUI.java
36681 (getPreferredSize): The JDK adds some extra space to
36682 the list, so we should as well.
36683 * javax/swing/plaf/metal/MetalFileChooserUI.java
36684 (getPreferredSize): Should only take the fileListPanel's
36685 width into account when getting the size. Also, the buttonPanel's
36686 size should not be checked, since it is in the bottomPanel already.
36687 (getMinimumSize): Likewise.
36689 2006-01-03 Lillian Angel <langel@redhat.com>
36691 * javax/swing/JList.java
36692 (init): visibleRowCount should be 7, like the JDK.
36693 * javax/swing/plaf/metal/MetalFileChooserUI.java
36694 (installComponents): No need to add the fileFilterCombo
36695 to a panel. It can be added to the row directly.
36697 2006-01-03 Lillian Angel <langel@redhat.com>
36699 PR classpath/25480 PR classpath/25478
36700 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36701 (updateViewport): Made changes suggested by
36703 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36704 Removed unneeded import.
36705 (createList): Removed comment, JList wrapping
36707 (getPreferredSize): Made changes suggested by
36708 Chris Lansdown. Uses fileListPanel, instead
36710 (getMinimumSize): Uses fileListPanel, instead
36712 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36713 (paintFocus): Fixed height.
36715 2006-01-03 Roman Kennke <kennke@aicas.com>
36717 * javax/swing/plaf/basic/BasicListUI.java
36718 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36720 2006-01-03 Roman Kennke <kennke@aicas.com>
36722 * javax/swing/plaf/basic/BasicListUI.java
36723 (locationToIndex): Special case for when variable cell heights
36724 are possible. (cellHeights is used instead of cellHeight).
36725 (indexToLocation): Special case for when variable cell heights
36726 are possible. (cellHeights is used instead of cellHeight).
36728 2006-01-03 Roman Kennke <kennke@aicas.com>
36730 * javax/swing/text/DefaultStyledDocument.java
36731 (ElementBuffer.remove): New method.
36732 (ElementBuffer.removeUpdate): New method.
36733 (removeUpdate): New method.
36735 2006-01-03 Roman Kennke <kennke@aicas.com>
36738 (dist-hook): Preserve attributes of Java sources when copying to
36741 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36743 * AUTHORS: Added self.
36744 * java/security/Security.java (getProvider): Ensures provider's name is
36745 not null, not an empty string, and is trimmed before usage.
36747 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36749 * gnu/CORBA/Poa/AOM.java (add):
36750 Changed parameter Object into gnuServantObject.
36751 (Obj.object): Changed type to gnuServantObject.
36752 (findObject): Rewritten.
36754 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36756 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36757 buffering. Ability has gone in Qt-4.1.x.
36759 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36760 to have the right include flags.
36762 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36764 * java/security/MessageDigest.java (getInstance(String,String)):
36765 Use trimmed copy of provider name.
36766 * gnu/java/security/Engine.java
36767 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36768 service and algorithm names.
36770 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36772 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36773 localhost is null or is an empty string. Trim hostname before