1 2007-04-27 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/event/EventManager.java
4 (getEventRequest): Rename to...
5 (getEventRequests): ...this.
6 Change return type to array of requests.
7 Construct a list of all matching events and return
9 * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
10 and send event notifications for all matching requests.
12 2007-04-27 Keith Seitz <keiths@redhat.com>
14 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
15 (matches): Use Location.equals to determine equality.
16 * gnu/classpath/jdwp/VMMethod.java (equals):
18 * gnu/classpath/jdwp/util/Location.java (equals):
21 2007-03-16 Francis Kung <fkung@redhat.com>
23 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
24 (cairoArc): Make protected rather than private so it can be over-ridden.
25 (cairoClip): Likewise.
26 (cairoClosePath): Likewise.
27 (cairoCurveTo): Likewise.
28 (cairoDrawGlyphVector): Likewise.
29 (cairoFill): Likewise.
30 (cairoLineTo): Likewise.
31 (cairoMoveTo): Likewise.
32 (cairoNewPath): Likewise.
33 (cairoRectangle): Likewise.
34 (cairoResetClip): Likewise.
35 (cairoRestore): Likewise.
36 (cairoSave): Likewise.
37 (cairoScale): Likewise.
38 (cairoSetAntialias): Likewise.
39 (cairoSetDash): Likewise.
40 (cairoSetFillRule): Likewise.
41 (cairoSetFont): Likewise.
42 (cairoSetLine): Likewise.
43 (cairoSetMatrix): Likewise.
44 (cairoSetOperator): Likewise.
45 (cairoSetRGBAColor): Likewise.
46 (cairoStroke): Likewise.
47 (drawPixels): Likewise.
49 (setGradient): Likewise.
50 (setPaintPixels): Likewise.
51 (cairoDrawLine): Removed.
52 (cairoDrawRect): Removed.
53 (cairoFillRect): Removed.
54 (cairoPreserveClip): Removed.
55 (cairoRelCurveTo): Removed.
56 (cairoRelLineTo): Removed.
57 (cairoRelMoveTo): Removed.
58 * gnu/java/awt/peer/gtk/ComponentGraphics.java
59 (cairoArc): New method wrapping superclass method in locks.
60 (cairoClip): Likewise.
61 (cairoClosePath): Likewise.
62 (cairoCurveTo): Likewise.
63 (cairoDrawGlyphVector): Likewise.
64 (cairoFill): Likewise.
65 (cairoLineTo): Likewise.
66 (cairoMoveTo): Likewise.
67 (cairoNewPath): Likewise.
68 (cairoRectangle): Likewise.
69 (cairoResetClip): Likewise.
70 (cairoRestore): Likewise.
71 (cairoSave): Likewise.
72 (cairoScale): Likewise.
73 (cairoSetAntialias): Likewise.
74 (cairoSetDash): Likewise.
75 (cairoSetFillRule): Likewise.
76 (cairoSetFont): Likewise.
77 (cairoSetLine): Likewise.
78 (cairoSetMatrix): Likewise.
79 (cairoSetOperator): Likewise.
80 (cairoSetRGBAColor): Likewise.
81 (cairoStroke): Likewise.
82 (disposeNative): Likewise.
83 (drawPixels): Likewise.
85 (setGradient): Likewise.
86 (setPaintPixels): Likewise.
87 (draw): Do not lock, as locking is now done in the wrapped native methods.
88 (drawComposite): Likewise.
89 (drawGlyphVector): Likewise.
90 (drawImage): Likewise.
91 (drawRenderedImage): Likewise.
94 (lock): Added documentation.
95 (unlock): Added documentation.
96 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
97 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
98 * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
99 * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
100 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
101 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
102 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
103 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
104 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
105 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
106 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
107 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
109 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
112 * java/util/Arrays.java (qsort): Corrected initial median calculation.
114 2007-04-19 Casey Marshall <csm@gnu.org>
117 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
118 (createSocket): New method.
120 2007-04-18 Tom Tromey <tromey@redhat.com>
122 * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
123 Changed arguments. Directly print method name.
124 * tools/gnu/classpath/tools/javah/ClassWrapper.java
125 (methodNameMap): New field.
126 (makeVtable): Initialize it.
127 (printMethods): Compute name for bridge targets.
129 2007-04-17 Andrew Haley <aph@redhat.com>
131 * gnu/java/rmi/server/UnicastConnectionManager.java
132 (UnicastConnectionManager(int port, RMIServerSocketFactory)):
133 Listen on "localhost", not localhost.
135 2007-04-17 Francis Kung <fkung@redhat.com>
138 * gnu/java/awt/peer/gtk/ComponentGraphics.java
139 (dispose): Removed method.
140 (disposeSurface): Removed method.
141 * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
143 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
144 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
145 after it is used to create a cairo context.
147 2007-04-16 Tom Tromey <tromey@redhat.com>
149 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
150 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
151 (createSocket): Change order of delegation.
153 2007-04-16 Andrew Haley <aph@redhat.com>
155 * java/io/ObjectInputStream.java: (parseContent): Call (String,
156 Object) version of dumpElementln.
157 (dumpElementln(String, Object)): New method.
158 * java/io/ObjectOutputStream.java (writeObject): Call (String,
159 Object) version of dumpElementln.
160 (dumpElementln(String, Object)): New method.
162 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
164 * javax/management/ObjectName.java:
165 (parse(String)): Catch multiple wildcards,
166 initialise with an empty string (so null isn't
167 appended), and emit comma even when wildcard
169 (checkComponents()): Catch newlines.
170 (quote(String)): Handle newlines and quotes
173 2007-04-16 Andrew Haley <aph@redhat.com>
175 * org/omg/IOP/TaggedComponentHelper.java (read): Use
176 read_octet_array(), not read().
177 (write): Use write_octet_array(), not write().
179 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
180 delegate has been set.
182 * javax/management/ObjectName.java serialVersionUID: Declare.
183 Make all fields transient.
184 (parse): Break out from constructor.
185 (writeObject, readObject): New methods.
187 2007-04-02 Keith Seitz <keiths@redhat.com>
189 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
190 Event type is "THREAD_START" not "THREAD_END".
192 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
193 Handle configure strings ":port" and "port".
195 2007-03-30 Andrew Haley <aph@redhat.com>
197 * javax/management/ObjectName.java: Handle 0-length names.
199 2007-03-27 Andrew Haley <aph@redhat.com>
201 * javax/management/MBeanServerFactory.java: Use the domain that
202 we've been passed, not the fixed string "DefaultDomain".
204 2007-03-29 Tom Tromey <tromey@redhat.com>
207 * gnu/java/util/jar/JarUtils.java (log): Commented out.
208 (readSFManifest): Don't log.
210 2007-03-28 Casey Marshall <csm@gnu.org>
212 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
213 check keyEncipherment bit of the certificate, and just pass the public
216 2007-03-27 Casey Marshall <csm@gnu.org>
219 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
220 Always make a new socket.
221 (bind, connect, getInetAddress, getLocalAddress, getPort,
222 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
223 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
224 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
225 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
226 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
227 getTrafficClass, setReuseAddress, getReuseAddress, close,
228 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
229 isInputShutdown, isOutputShutdown): Always use
232 2007-03-27 Tom Tromey <tromey@redhat.com>
235 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
236 (createXMLReader): Code in Classpath default.
238 2007-03-27 Keith Seitz <keiths@redhat.com>
240 Merged from upstream:
241 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
242 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
243 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
244 (executeGetValues): Use Value type.
245 (exectureSetValues): Ditto.
246 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
247 (executeGetValues): Use Value type.
248 (executeSetValues): Ditto.
249 (invokeMethod): Record method return type.
250 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
251 (executeGetValues): Use Value type.
252 (executeSetValues): Ditto.
253 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
254 (executeGetValues): Use Value type.
255 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
256 (executeGetValues): Use Value type.
257 (executeSetValues): Ditto.
258 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
260 (getResultType): New Method.
261 (setResultType): Ditto.
262 * gnu/classpath/jdwp/util/Value.java: Remove.
263 * gnu/classpath/jdwp/value: New Package.
264 * gnu/classpath/jdwp/value/Value.java: New file.
265 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
266 * gnu/classpath/jdwp/value/ByteValue.java: New file.
267 * gnu/classpath/jdwp/value/CharValue.java: New file.
268 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
269 * gnu/classpath/jdwp/value/FloatValue.java: New file.
270 * gnu/classpath/jdwp/value/IntValue.java: New file.
271 * gnu/classpath/jdwp/value/LongValue.java: New file.
272 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
273 * gnu/classpath/jdwp/value/ShortValue.java: New file.
274 * gnu/classpath/jdwp/value/StringValue.java: New file.
275 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
276 * gnu/classpath/jdwp/value/VoidValue.java: New file.
278 2007-02-28 Keith Seitz <keiths@redhat.com>
279 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
280 (executeSet): Check if VM has capability for field access
281 or modification events.
282 * gnu/classpath/jdwp/processor/MethodCommandSet.java
283 (executeByteCodes): Check if VM has capability and
285 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
286 (executeMonitorInfo): Likewise.
287 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
288 (executeSourceDebugExtension): Likewise.
289 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
290 (executePopFrames): Likewise.
291 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
292 (executeOwnedMonitors): Likewise.
293 (executeCurrentContendedMonitor): Likewise.
294 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
295 (executeCapabilities): Rewrite using new VMVirtualMachine
297 (executeRedefineClasses): Check if VM has capability and
299 (executeSetDefaultStratum): Likewise.
300 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
301 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
302 (canWatchFieldModification): New class constant.
303 (canWatchFieldAccess): Likewise.
304 (canGetBytecodes): Likewise.
305 (canGetSyntheticAttribute): Likewise.
306 (canGetOwnedMonitorInfo): Likewise.
307 (canGetCurrentContendedMonitor): Likewise.
308 (canGetMonitorInfo): Likewise.
309 (canRedefineClasses): Likewise.
310 (canAddMethod): Likewise.
311 (canUnrestrictedlyRedefineClasses): Likewise.
312 (canPopFrames): Likewise.
313 (canUseInstanceFilters): Likewise.
314 (canGetSourceDebugExtension): Likewise.
315 (canRequestVMDeathEvent): Likewise.
316 (canSetDefaultStratum): Likewise.
317 (redefineClasses): New method.
318 (setDefaultStratum): Likewise.
319 (getSourceDebugExtension): Likewise.
320 (getBytecodes): Likewise.
321 (getMonitorInfo): Likewise.
322 (getOwnedMonitors): Likewise.
323 (getCurrentContendedMonitor): Likewise.
324 (popFrames): Likewise.
326 2007-02-28 Keith Seitz <keiths@redhat.com>
327 * gnu/classpath/jdwp/processor/MethodCommandSet.java
328 (executeLineTable): Use ReferenceTypeId instead of
329 ClassReferenceTypeId.
330 (executeVariableTable): Likewise.
331 (executeVariableTableWithGeneric): Fix error message.
332 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
333 (executeSignatureWithGeneric): Fix error message.
334 (executeFieldWithGeneric): Likewise.
335 (executeMethodsWithGeneric): Likewise.
336 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
337 (executeGetValues): Use ThreadId instead of ObjectId.
338 (executeSetValues): Likewise.
339 (executeThisObject): Likewise.
341 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
342 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
343 * gnu/classpath/jdwp/util/NullObject.java: New class.
344 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
345 (getObjectId): Handle null object.
346 (get): Handle objectId of 0.
348 2007-02-22 Keith Seitz <keiths@redhat.ecom>
349 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
350 (getAllLoadedClassesCount): Remove.
351 (getAllLoadedClasses): Return a Collection.
352 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
353 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
354 now returns Collection.
355 (executeAllClasses): Likewise.
356 Get size of return from Colleciton instead of calling
357 getAllLoadedClassesCount.
359 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
360 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
361 (executeGetValues): Pass a signature byte to VMFrame.getValue.
362 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
365 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
366 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
367 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
368 (executeSetValues): Ditto.
369 (executeThisObject): Ditto.
370 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
371 and a constructor used to create VMFrames.
372 (getThread): New method.
373 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
374 Changed to take a long instead of a ByteBuffer to pass the frameID.
376 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
377 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
379 2007-03-26 Tom Tromey <tromey@redhat.com>
381 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
382 (rmid Tool): Likewise.
384 2007-03-25 Dalibor Topic <robilad@kaffe.org>
386 * doc/cp-tools.texinfo: Fix node ordering.
388 2007-03-19 Matthias Klose <doko@ubuntu.com>
390 * doc/Makefile.am: Build a gcjh(1) man page.
391 * doc/cp-tools.texinfo: Add documentation for gcjh.
393 2007-03-26 Stepan Kasal <skasal@redhat.com>
395 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
397 (getParser): Use new field.
399 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
401 * resource/com/sun/tools/javac/messages.properties
402 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
403 messages for when --with-ecj-jar is not specified.
404 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
405 * tools/Makefile.am: Build com.sun.tools.javac package
407 * configure, doc/api/Makefile.in, doc/Makefile.in,
408 examples/Makefile.in, external/jsr166/Makefile.in,
409 external/Makefile.in, external/relaxngDatatype/Makefile.in,
410 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
411 include/Makefile.in, lib/Makefile.in, Makefile.in,
412 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
413 native/jni/classpath/Makefile.in,
414 native/jni/gconf-peer/Makefile.in,
415 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
416 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
417 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
418 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
419 native/jni/midi-dssi/Makefile.in,
420 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
421 native/jni/xmlj/Makefile.in, native/Makefile.in,
422 native/plugin/Makefile.in, resource/Makefile.in,
423 scripts/Makefile.in, tools/Makefile.in: Regenerate.
424 * tools/classes/com/sun/tools/javac: New directory.
425 * tools/classes/com/sun/tools/javac/Main.class,
426 tools/classes/com/sun/tools/javac/Messages.class: New files.
428 2007-03-16 Tom Tromey <tromey@redhat.com>
430 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
433 2007-03-16 Tom Tromey <tromey@redhat.com>
435 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
436 (printClass): Added filename argument.
437 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
438 (printClass): Added filename argument.
439 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
440 (printClass): Use user's file name.
441 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
442 (printClass): Use user's file name.
443 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
445 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
447 (writeHeaders): Use a HashMap.
448 (run): Put class name into HashMap for writeHeaders.
450 2007-03-02 Mario Torre <neugens@limasoftware.net>
453 committed for Petteri Räty <betelgeuse@gentoo.org>
454 * configure.ac: fix broken build for gcj browser plugin
456 2007-02-20 Jakub Jelinek <jakub@redhat.com>
458 * java/util/Date.java (parse): Properly parse 09:01:02 as
459 hours/minutes/seconds, not as hours/minutes/year.
460 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
461 {start,end}TimeMode constructor by calling shorter constructor,
462 set {start,end}TimeMode fields after it returns.
463 (setStartRule): Don't adjust startTime into WALL_TIME. Set
464 startTimeMode to WALL_TIME.
465 (endStartRule): Similarly.
466 (getOffset): Handle properly millis + dstOffset overflowing into the
467 next day. Adjust startTime resp. endTime based on startTimeMode
469 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
471 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
472 If non-null, set up aliases0 and don't put anything into
474 (defaultZone): Call getTimeZone instead of timezones().get.
475 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
476 getTimeZoneInternal instead of timezones().get.
477 (parseTime): Parse correctly hour:minute.
478 (getTimeZoneInternal): New private method.
479 (getTimeZone): Do the custom ID checking first, canonicalize
480 ID for custom IDs as required by documentation. Call
481 getTimeZoneInternal to handle the rest.
482 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
483 (getAvailableIDs(File,String,ArrayList)): New private method.
484 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
485 * gnu/java/util/ZoneInfo.java: New file.
487 2007-02-20 Matthias Klose <doko@ubuntu.com>
489 * doc/Makefile.am: Add rules to build and install man pages
491 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
492 Rename, prefix files with "cp-".
493 * doc/cp-tools.texinfo: Add markup for man page generation,
494 add documentation for command line options for gjar, gjavah,
495 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
496 doc/texi2pod.pl: New, taken from the GCC sources.
498 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
501 * javax/management/MBeanInfo.java (MBeanInfo):
502 Use clone to duplicate the arrays in order to
503 preserve the array type.
505 2007-02-16 Andrew Haley <aph@redhat.com>
507 * gnu/java/lang/management/MemoryMXBeanImpl.java,
508 javax/management/MBeanServerDelegate.java: Use
509 gnu.javax.management.ListenerData rather than
510 gnu.classpath.ListenerData.
511 * gnu/javax/management/ListenerData.java: Move here from
512 gnu/classpath/ListenerData.java.
514 2007-02-14 Jakub Jelinek <jakub@redhat.com>
515 Andrew Haley <aph@redhat.com>
517 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
519 2007-02-09 Tom Tromey <tromey@redhat.com>
522 * configure: Rebuilt.
523 * configure.ac: Also check for jack/jack.h.
525 2007-02-09 Jakub Jelinek <jakub@redhat.com>
527 * java/util/TimeZone.java: Handle default (one hour) daylight
530 2007-02-09 Jakub Jelinek <jakub@redhat.com>
533 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
534 just Rule lines, in the other everything else. Pass 0 instead of
535 $savings as second argument to parseRule when parsing the start
537 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
539 2007-02-07 Chris Burdess <dog@gnu.org>
542 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
543 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
544 SAXSources without a backing URL or stream.
547 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
548 LSParser if implementation does not support asynchronous.
549 * gnu/xml/stream/XMLParser.java,
550 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
551 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
552 protocol handler problems.
554 2007-02-06 Tom Tromey <tromey@redhat.com>
557 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
558 (printClass): Always print a header.
560 2007-02-05 Andrew Haley <aph@redhat.com>
563 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
564 (printClass): Replace '/' in filenames with '_'.
565 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
566 (printClass): Likewise.
568 2007-02-05 Tom Tromey <tromey@redhat.com>
570 * java/net/Proxy.java (equals): Handle case where address==null.
571 (hashCode): Likewise.
572 (toString): Likewise.
574 2007-01-31 Tom Tromey <tromey@redhat.com>
576 * resource/gnu/classpath/tools/jar/messages.properties
577 (Main.Stdin): New message.
578 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
580 (readNames): New method.
583 2007-01-26 Andrew Haley <aph@redhat.com>
585 * java/lang/SecurityManager.java: Load and initialize
586 java.security.Security.
588 2007-01-26 Tom Tromey <tromey@redhat.com>
590 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
591 'volatile' after field type.
593 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
595 * java/util/Arrays.java (binarySearch): Change comparison order.
597 2007-01-17 Tom Tromey <tromey@redhat.com>
599 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
600 (PathOptionGroup): Set default boot class path.
602 2006-12-14 Andrew Haley <aph@redhat.com>
604 * tools/gnu/classpath/tools/jar/Creator.java: Close the
607 2006-10-12 Andrew Haley <aph@redhat.com>
609 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
610 * java/lang/ThreadLocal.java: Likewise.
612 2006-09-13 Andrew Haley <aph@redhat.com>
614 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
615 Revert previous gcj-specific disabling of checks.
616 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
618 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
621 2006-09-13 Andrew Haley <aph@redhat.com>
623 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
625 (Iterator.remove()): Decrement index after removing element.
627 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
629 * javax/net/ssl/SSLSocketFactory.java (getDefault):
630 Chain exception cause.
632 2006-12-11 Roman Kennke <kennke@aicas.com>
634 * .classpath: Include ASM in Eclipse classpath.
636 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
638 * gnu/java/lang/management/BeanImpl.java:
639 (translate(String)): Trim strings of whitespace.
640 * javax/management/MBeanAttributeInfo.java:
641 (MBeanAttributeInfo(String,String,Method,Method)):
642 Use Class.getName() for normal (non-parameterized) cases.
643 * javax/management/MBeanConstructorInfo.java:
644 (MBeanConstructorInfo(String, Constructor)):
646 * javax/management/MBeanOperationInfo.java:
647 (MBeanOperationInfo(String, Method)):
650 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
652 * java/lang/Class.java:
653 (getClasses()): Return Class<?>[].
654 (internalGetClasses()): Likewise.
655 (getConstructor(Class<?>...)): Add type parameter
657 (getDeclaredConstructor(Class<?>...)): Likewise.
658 (getDeclaredClasses()): Return Class<?>[].
659 (getDeclaredClasses(boolean)): Likewise.
660 (getDeclaredConstructors()): Return Constructor<?>[].
661 (getDeclaredConstructors(boolean)): Likewise.
662 (getDeclaredMethod(String,Class<?>...)): Add type
663 parameter to parameters.
664 (getInterfaces()): Return Class<?>[].
665 (getMethods(String,Class<?>...)): Add type
666 parameter to parameters.
667 * java/text/CollationKey.java:
669 * java/text/DecimalFormatSymbols.java:
672 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
674 * gnu/java/lang/management/BeanImpl.java:
675 (translate(String)): Handle Map and List as
676 Strings of the form "java.util.Map<K,V>" and
678 * javax/management/MBeanAttributeInfo.java:
679 (MBeanAttributeInfo(String,String,Method,Method)):
680 Use generic parameter and return types.
681 * javax/management/MBeanConstructorInfo.java:
682 (MBeanConstructorInfo(String, Constructor)):
683 Use generic parameter types.
684 * javax/management/MBeanOperationInfo.java:
685 (MBeanOperationInfo(String, Method)):
686 Use generic parameter and return types.
688 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
690 * gnu/java/lang/management/BeanImpl.java:
691 (translate(String)): Comment out code for using type
692 variables for Map and List.
693 * java/lang/Thread.java:
694 (Thread(ThreadGroup,Runnable,String,long)): Fix
695 incrementation of totalThreadsCreated to be prior to use.
697 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
699 * javax/management/MBeanServerFactory.java:
700 (createMBeanServer(String)): Added security check.
701 (findMBeanServer(String)): Likewise.
702 (newMBeanServer(String)): Likewise.
703 (releaseMBeanServer(String)): Likewise.
704 * javax/management/MBeanServerPermission.java:
707 2006-12-08 David Daney <ddaney@avtrex.com>
709 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
712 2006-12-08 David Daney <ddaney@avtrex.com>
714 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
716 2006-12-08 David Daney <ddaney@avtrex.com>
718 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
720 (HTTPConnection): Handle NumberFormatException in properties parsing.
721 (Pool.get): Set timeout on reused sockets.
722 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
724 (HTTPURLConnection): Cleanup properties handling.
725 (getConnection): Use both connection and read timeouts.
726 (setConnectTimeout): Removed.
727 (setReadTimeout): New method.
728 * java/net/URLConnection.java (timeout): Renamed to...
729 (connectTimeout): ... connectTimeout throughout.
730 (readTimeout): New field.
731 (getReadTimeout): New method.
732 (setReadTimeout): New method.
734 2006-12-08 Tania Bento <tbento@redhat.com>
736 * java/awt/ScrollPane.java
737 (doLayout): Change the location of the scrollpane's child
740 2006-12-08 David Daney <ddaney@avtrex.com>
742 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
744 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
745 SocketTimeoutException if a blocking socket timesout.
746 (Java_gnu_java_nio_VMChannel_readScattering): Same.
747 (Java_gnu_java_nio_VMChannel_read__I): Same.
748 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
749 (Java_gnu_java_nio_VMChannel_connect6): Same.
751 2006-12-08 Mark Wielaard <mark@klomp.org>
753 * configure.ac (VERSION): Set to 0.93-generics.
754 * NEWS: Add release date.
756 2006-12-08 Tania Bento <tbento@redhat.com>
758 * java/awt/ScrollPane.java
759 (getScrollPosition): Throw NullPointerException if scrollpane
761 (setScrollPosition(int, int)): Throw NullPointerException if
762 scrollpane does have a child. Check that both ints are within
763 the allowed bounds; If they are not, scroll to the closest allowed
766 2006-12-07 Roman Kennke <kennke@aicas.com>
768 * javax/swing/JEditorPane.java
769 (EditorKitMapping): New inner helper class.
770 (editorKits): New static field for caching editor kit instances.
771 (static_initiazer): Initialize static mappings here.
772 (createEditorKitForContentType): Try to use cached instance.
773 Use correct classloader for loading.
774 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
776 (getEditorKitForContentType): Store the fetched editor kit.
777 Fallback to createDefaultEditorKit().
778 (init): Don't clean the static registry here.
779 (registerEditorKitForContentType(String,String,ClassLoader)):
781 (registerEditorKitForContentType(String,String)): Delegate to
782 the other version of this method with the thread's context
785 2006-12-07 Mark Wielaard <mark@klomp.org>
787 * examples/gnu/classpath/examples/swing/HtmlDemo.java
788 (setPage): Don't convert URL to String for setPage().
790 2006-12-07 Mark Wielaard <mark@klomp.org>
792 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
794 2006-12-07 Mark Wielaard <mark@klomp.org>
796 * tools/Makefile.am: Explicitly define and use bootclasspath as
799 2006-12-07 Mark Wielaard <mark@klomp.org>
801 * javax/swing/JEditorPane.java (createEditorKitForContentType):
802 Always load from system class loader.
804 2006-12-07 Mark Wielaard <mark@klomp.org>
806 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
808 (URL(URL,String,URLStreamHandler)): Call new constructor.
809 (URL(URL,String)): Likewise.
810 (URL(String)): Likewise.
812 2006-12-07 Tom Tromey <tromey@redhat.com>
815 * INSTALL: Don't mention --with-asm.
816 * tools/external/README: New file.
817 * tools/toolwrapper.c (main): Don't use ASM_JAR.
818 * tools/gjavah.in: Don't use PATH_TO_ASM.
819 * tools/grmic.in: Likewise.
820 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
822 (javah, rmic): Removed variables.
823 (bin_PROGRAMS): Updated.
824 (gappletviewer_CFLAGS): Don't define ASM_JAR.
825 (gjarsigner_CFLAGS): Likewise.
826 (gkeytool_CFLAGS): Likewise.
827 (gjar_CFLAGS): Likewise.
828 (gnative2ascii_CFLAGS): Likewise.
829 (gserialver_CFLAGS): Likewise.
830 (grmiregistry_CFLAGS): Likewise.
831 (gtnameserv_CFLAGS): Likewise.
832 (gorbd_CFLAGS): Likewise.
833 (grmid_CFLAGS): Likewise.
834 (gjavah_CFLAGS): Likewise.
835 (grmic_CFLAGS): Likewise.
836 (bin_SCRIPTS): Updated.
837 (TOOLS_JAVA_FILES): Updated.
838 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
839 * configure.ac: Removed --with-asm. Always build gjavah.
841 2006-12-06 Roman Kennke <kennke@aicas.com>
843 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
845 * examples/gnu/classpath/examples/swing/HtmlDemo.java
846 (LoadActionListener): Call setPage() helper method.
847 (createContent): Register tweaked editor kit. For FormSubmitEvents
848 call submitForm(), otherwise setPage().
849 (postData): Helper method for posting form data.
850 (setPage): Helper method for navigating to a new URL.
851 (submitForm): Helper method for submitting a form.
852 * examples/gnu/classpath/examples/swing/forms.html:
853 Added text/password fields and select boxes.
854 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
856 2006-12-06 Roman Kennke <kennke@aicas.com>
858 * javax/swing/text/html/FormView.java
859 (SubmitThread.postData): Implemented.
860 (SubmitThread.run): Pass data to postData().
861 (actionPerformed): Reset form when reset button is activated.
862 (createComponent): Add support for select lists and comboboxes.
863 Don't set value of text and password fields here, this is done
864 now in HTMLDocument for consistency.
865 (getElementFormData): Add support for fetching form data from
866 select lists and comboboxes as well as textareas.
867 (getSelectData): New helper method. Fetches form data from
869 (getTextAreaData): New helper method. Fetches form data from
871 (resetForm): New helper method. Resets the entire form.
872 * javax/swing/text/html/HTMLDocument.java
873 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
874 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
875 (HTMLReader.FormAction.setModel): Initialize text and password
876 values here. Also, use the resetable special models.
877 Group radio buttons into ButtonGroup for exclusive selection.
878 (HTMLReader.FormTagAction): New class. Handles FORM tags.
879 (HTMLReader.buttonGroups): New field.
880 (HTMLReader.numOptions): New field.
881 (HTMLReader.option): New field.
882 (HTMLReader.selectModel): New field.
883 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
884 (HTMLReader.handleText): Handle OPTION text.
885 (HTMLReader.initTags): Map FORM tags to FormTagAction.
886 (HTMLReader.textAreaContent): Set initial content.
887 * javax/swing/text/html/Option.java
888 (Option): Make copy of attribute set. Initialize selected state.
889 (getValue): Fetch value from attribute set.
890 * javax/swing/text/html/ResetableModel.java: New interface.
891 * javax/swing/text/html/ResetablePlainDocument.java: New class.
892 Supports resetting the state.
893 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
894 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
895 * javax/swing/text/html/SelectListModel.java: Likewise.
897 2006-12-06 Roman Kennke <kennke@aicas.com>
899 * javax/swing/text/DefaultCaret.java
900 (appear): Adjust visibility here.
901 (setDotImpl): Don't adjust visibility here.
902 (moveDotImpl): Don't adjust visibility here.
904 2006-12-06 Roman Kennke <kennke@aicas.com>
906 * gnu/java/awt/peer/gtk/AsyncImage.java
907 (Loader.run): Synchronize on the AsyncImage to avoid threading
909 (addObservers): Check for obs==null outside and synchronize on
910 this inside to avoid locking issues.
911 (checkImage): New helper method.
912 (notifyObservers): Check that the correct lock is held and
913 remove actual locking.
914 * gnu/java/awt/peer/gtk/GtkToolkit.java
915 (checkImage): Added special handling for AsyncImages.
917 2006-12-06 Roman Kennke <kennke@aicas.com>
919 * examples/gnu/classpath/examples/swing/Demo.java
920 (getIcon): Made package private.
921 * examples/gnu/classpath/examples/swing/HtmlDemo.java
922 (hyperlinkUpdate): Convert URL to string.
924 2006-12-06 Mark Wielaard <mark@klomp.org>
926 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
929 2006-12-06 Roman Kennke <kennke@aicas.com>
931 * examples/gnu/classpath/examples/icons/back.png,
932 * examples/gnu/classpath/examples/icons/reload.png:
933 New icons for the HTML browser.
934 * examples/gnu/classpath/examples/swing/HtmlDemo.java
935 (history): New field. Manages the browsing history.
936 (HtmlDemo): Initialize history.
937 (createContent): Set location and add history. Add toolbar.
938 (createToolBar): New helper method.
939 (main): Make default size bigger.
940 * examples/gnu/classpath/examples/swing/frame1.html,
941 * examples/gnu/classpath/examples/swing/frame2.html,
942 * examples/gnu/classpath/examples/swing/frame3.html,
943 * examples/gnu/classpath/examples/swing/frame4.html,
944 * examples/gnu/classpath/examples/swing/frames.html,
945 * examples/gnu/classpath/examples/swing/tables.html:
947 * examples/gnu/classpath/examples/swing/welcome.html
948 Add a couple of links and new test pages.
950 2006-12-06 Roman Kennke <kennke@aicas.com>
952 * javax/swing/JEditorPane.java
953 (getStream): Buffer the stream for efficiency.
954 (setPage): Don't scroll the view at this point.
955 * javax/swing/plaf/basic/BasicTextUI.java
956 (RootView.paint): Call RootView's setSize to get synchronization.
957 (RootView.setSize): Synchronize to prevent race in layout code.
958 * javax/swing/text/AbstractDocument.java
959 (notifyListeners): New field.
960 (fireChangedUpdate): Track notifyListener field.
961 (fireRemoveUpdate): Track notifyListener field.
962 (fireIndertUpdate): Track notifyListener field.
963 (writeLock): Check notifyListener and throw IllegalStateException.
964 * javax/swing/text/View.java
965 (preferenceChanged): Create local var for better thread safety and
968 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
970 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
971 lightweight component, not just for non-Panel components.
972 (addImpl): Do not call doLayout.
973 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
974 (setNativeBounds): Ensure widget parent is a GtkFixed before
975 calling gtk_fixed_move.
976 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
977 (setNativeBounds): Likewise.
978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
979 (setNativeBounds): Likewise.
981 2006-12-06 Roman Kennke <kennke@aicas.com>
983 * javax/swing/text/html/TableView.java
984 (RowView.layoutMajorAxis): Check column index for invalid value.
985 (updateGrid): Check column index for invalid value.
987 2006-12-06 Roman Kennke <kennke@aicas.com>
989 * javax/swing/text/html/BlockView.java
990 (getAlignment): Align blocks horizontally by the superclass.
991 * javax/swing/text/html/HTMLEditorKit.java
992 (HTMLFactory.create): Replace equals comparison by == for efficiency.
993 Add mapping for misplaced tr, td and th tags. Include object mapping.
994 * javax/swing/text/html/TableView.java
995 (RowView.replace): Invalidate grid early.
996 (gridValid): Initialize with false.
997 (create): Only create RowView and CellView for correctly placed
998 tags. Avoid unnecessary casts.
999 (getAlignment): Removed.
1000 (replace): Invalidate grid early.
1002 2006-12-06 Francis Kung <fkung@redhat.com>
1004 * java/awt/geom/RectangularShape.java
1005 (getBounds): Remove empty rectangle check.
1007 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1010 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1011 newValue are the same.
1012 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1014 2006-12-06 Tania Bento <tbento@redhat.com>
1016 * javax/swing/border/CompoundBorder.java:
1017 (isBorderOpaque): If inside border is null, return true if outside
1018 border is opaque, false otherwise; if outside border is null, return
1019 true if inside border is opaque, false otherwise; if inside or
1020 outside border are both not null, then return true only if both the
1021 inside and outside border are opaque, false otherwise.
1023 2006-12-06 Tania Bento <tbento@redhat.com>
1025 * javax/swing/border/CompoundBorder.java:
1026 (isBorderOpaque): If inside and outside border both have a null
1029 2006-12-06 Chris Burdess <dog@gnu.org>
1032 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1033 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1035 2006-12-06 Chris Burdess <dog@gnu.org>
1038 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1041 2006-12-06 Chris Burdess <dog@gnu.org>
1044 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1045 discover schema factory implementation class.
1047 2006-12-05 Francis Kung <fkung@redhat.com>
1049 * java/awt/BasicStroke.java
1050 (capEnd): Prevent division by zero.
1051 * java/awt/geom/Arc2D.java
1052 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1053 (ArcIterator.currentSegment): Handle a negative extent.
1055 2006-12-05 Francis Kung <fkung@redhat.com>
1057 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1058 (constructor): Handle translated subimages properly, ie, if the image's
1059 0,0 position is not the data buffer's first element.
1061 2006-12-05 Roman Kennke <kennke@aicas.com>
1063 * gnu/java/awt/peer/gtk/AsyncImage.java
1064 (Loader.run): Nullify observers after loading.
1065 (observers): Made package private.
1066 (addObserver): Check for null observers field. Create local
1067 variable for thread safety.
1068 (getHeight): Use addObserver() for checking state of field
1069 and notifying observer when necessary.
1070 (getWidth): Use addObserver() for checking state of field
1071 and notifying observer when necessary.
1072 (getProperty): Use addObserver() for checking state of field
1073 and notifying observer when necessary.
1074 (notifyObservers): Check for null observers field. Create local
1075 variable for thread safety.
1077 2006-12-05 Roman Kennke <kennke@aicas.com>
1079 * javax/swing/text/html/HTMLEditorKit.java
1080 (HTMLFactory.create): Removed debug output.
1081 * javax/swing/text/html/InlineView.java
1082 (getBreakWeight): Likewise.
1083 * javax/swing/text/html/StyleSheet.java
1084 (addRule): Likewise.
1085 (ListPainter.paint): Removed debug output.
1087 2006-12-05 Roman Kennke <kennke@aicas.com>
1089 * javax/swing/text/html/BlockView.java
1090 (painter): Made package visible.
1091 * javax/swing/text/html/StyleSheet.java
1092 (translateBorder): New helper method.
1093 (translateHTMLToCSS): Add mappings for border attributes.
1094 * javax/swing/text/html/TableView.java
1095 Made class subclass of BlockView to get CSS goodness.
1096 (CellView.rowSpan): New field.
1097 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1098 (RowView.overlap): New field.
1099 (RowView.rowIndex): New field.
1100 (RowView.layoutMajorAxis): Skip overlapping cells.
1101 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1102 (numColumns): New field.
1103 (tmpRect): New field.
1104 (TableView): Initialize tmpRect.
1105 (calculateColumnRequirements): Adjusted and fixed for multirows.
1106 (getAlignment): Overridden to center tables.
1107 (paint): Overridden to fix clipping.
1108 (getStyleSheet): Made protected.
1109 (layoutMajorAxis): Invalidate rows.
1110 (setPropertiesFromAttributes): Made protected and call super.
1111 (updateGrid): Update the overlapping information for multirows.
1113 2006-12-05 Roman Kennke <kennke@aicas.com>
1115 * gnu/java/awt/peer/gtk/AsyncImage.java
1116 (addObserver): Check for null and ignore null observers.
1117 (getWidth): Check for null and ignore null observers.
1118 (getHeight): Check for null and ignore null observers.
1119 (getProperty): Check for null and ignore null observers.
1121 2006-12-05 Francis Kung <fkung@redhat.com>
1123 * java/awt/BasicStroke.java
1124 (capEnd): Prevent division by zero.
1125 * java/awt/geom/Arc2D.java
1126 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1127 (ArcIterator.currentSegment): Handle a negative extent.
1129 2006-12-05 Francis Kung <fkung@redhat.com>
1131 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1132 (constructor): Handle translated subimages properly, ie, if the image's
1133 0,0 position is not the data buffer's first element.
1135 2006-12-05 Roman Kennke <kennke@aicas.com>
1137 * javax/swing/text/html/ImageView.java
1138 (imageUpdate): Use spans field to determine if the CSS width/height
1139 are set. Call safePreferenceChanged to protect view structure
1140 from threading issues.
1141 (spans): Made package private.
1142 (ImageView): Initialize loadOnDemand with false.
1143 (loadImage): Call Toolkit.prepareImage() to make sure we have
1144 our Observer registered.
1145 (safePreferenceChanged): New helper method. Calls preferenceChanged
1146 in a thread safe environment.
1148 2006-12-05 Roman Kennke <kennke@aicas.com>
1150 * NEWS: Add entry about improved HTML support.
1152 2006-12-05 Roman Kennke <kennke@aicas.com>
1154 * javax/swing/text/html/ImageView.java
1155 (ImageView): Initialize spans array here.
1156 (setPropertiesFromAttributes): Moved init of spans array to
1159 2006-12-05 Roman Kennke <kennke@aicas.com>
1161 * javax/swing/text/html/BlockView.java
1162 (painter): Made package visible.
1163 * javax/swing/text/html/StyleSheet.java
1164 (translateBorder): New helper method.
1165 (translateHTMLToCSS): Add mappings for border attributes.
1166 * javax/swing/text/html/TableView.java
1167 Made class subclass of BlockView to get CSS goodness.
1168 (CellView.rowSpan): New field.
1169 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1170 (RowView.overlap): New field.
1171 (RowView.rowIndex): New field.
1172 (RowView.layoutMajorAxis): Skip overlapping cells.
1173 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1174 (numColumns): New field.
1175 (tmpRect): New field.
1176 (TableView): Initialize tmpRect.
1177 (calculateColumnRequirements): Adjusted and fixed for multirows.
1178 (getAlignment): Overridden to center tables.
1179 (paint): Overridden to fix clipping.
1180 (getStyleSheet): Made protected.
1181 (layoutMajorAxis): Invalidate rows.
1182 (setPropertiesFromAttributes): Made protected and call super.
1183 (updateGrid): Update the overlapping information for multirows.
1185 2006-12-05 Roman Kennke <kennke@aicas.com>
1187 * javax/swing/text/html/HTMLEditorKit.java
1188 (HTMLFactory.create): Removed debug output.
1189 * javax/swing/text/html/InlineView.java
1190 (getBreakWeight): Likewise.
1191 * javax/swing/text/html/StyleSheet.java
1192 (addRule): Likewise.
1193 (ListPainter.paint): Removed debug output.
1195 2006-12-06 Roman Kennke <kennke@aicas.com>
1197 * javax/swing/text/html/BlockView.java
1198 (getAlignment): Align blocks horizontally by the superclass.
1199 * javax/swing/text/html/HTMLEditorKit.java
1200 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1201 Add mapping for misplaced tr, td and th tags. Include object mapping.
1202 * javax/swing/text/html/TableView.java
1203 (RowView.replace): Invalidate grid early.
1204 (gridValid): Initialize with false.
1205 (create): Only create RowView and CellView for correctly placed
1206 tags. Avoid unnecessary casts.
1207 (getAlignment): Removed.
1208 (replace): Invalidate grid early.
1211 2006-12-06 Roman Kennke <kennke@aicas.com>
1213 * javax/swing/text/html/TableView.java
1214 (RowView.layoutMajorAxis): Check column index for invalid value.
1215 (updateGrid): Check column index for invalid value.
1217 2006-12-06 Roman Kennke <kennke@aicas.com>
1219 * javax/swing/JEditorPane.java
1220 (getStream): Buffer the stream for efficiency.
1221 (setPage): Don't scroll the view at this point.
1222 * javax/swing/plaf/basic/BasicTextUI.java
1223 (RootView.paint): Call RootView's setSize to get synchronization.
1224 (RootView.setSize): Synchronize to prevent race in layout code.
1225 * javax/swing/text/AbstractDocument.java
1226 (notifyListeners): New field.
1227 (fireChangedUpdate): Track notifyListener field.
1228 (fireRemoveUpdate): Track notifyListener field.
1229 (fireIndertUpdate): Track notifyListener field.
1230 (writeLock): Check notifyListener and throw IllegalStateException.
1231 * javax/swing/text/View.java
1232 (preferenceChanged): Create local var for better thread safety and
1235 2006-12-06 Roman Kennke <kennke@aicas.com>
1237 * examples/gnu/classpath/examples/icons/back.png,
1238 * examples/gnu/classpath/examples/icons/reload.png:
1239 New icons for the HTML browser.
1240 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1241 (history): New field. Manages the browsing history.
1242 (HtmlDemo): Initialize history.
1243 (createContent): Set location and add history. Add toolbar.
1244 (createToolBar): New helper method.
1245 (main): Make default size bigger.
1246 * examples/gnu/classpath/examples/swing/frame1.html,
1247 * examples/gnu/classpath/examples/swing/frame2.html,
1248 * examples/gnu/classpath/examples/swing/frame3.html,
1249 * examples/gnu/classpath/examples/swing/frame4.html,
1250 * examples/gnu/classpath/examples/swing/frames.html,
1251 * examples/gnu/classpath/examples/swing/tables.html:
1253 * examples/gnu/classpath/examples/swing/welcome.html
1254 Add a couple of links and new test pages.
1256 2006-12-06 Roman Kennke <kennke@aicas.com>
1258 * examples/gnu/classpath/examples/swing/Demo.java
1259 (getIcon): Made package private.
1260 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1261 (hyperlinkUpdate): Convert URL to string.
1263 2006-12-06 Roman Kennke <kennke@aicas.com>
1265 * javax/swing/text/DefaultCaret.java
1266 (appear): Adjust visibility here.
1267 (setDotImpl): Don't adjust visibility here.
1268 (moveDotImpl): Don't adjust visibility here.
1270 2006-12-06 Roman Kennke <kennke@aicas.com>
1272 * javax/swing/text/html/FormView.java
1273 (SubmitThread.postData): Implemented.
1274 (SubmitThread.run): Pass data to postData().
1275 (actionPerformed): Reset form when reset button is activated.
1276 (createComponent): Add support for select lists and comboboxes.
1277 Don't set value of text and password fields here, this is done
1278 now in HTMLDocument for consistency.
1279 (getElementFormData): Add support for fetching form data from
1280 select lists and comboboxes as well as textareas.
1281 (getSelectData): New helper method. Fetches form data from
1283 (getTextAreaData): New helper method. Fetches form data from
1285 (resetForm): New helper method. Resets the entire form.
1286 * javax/swing/text/html/HTMLDocument.java
1287 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1288 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1289 (HTMLReader.FormAction.setModel): Initialize text and password
1290 values here. Also, use the resetable special models.
1291 Group radio buttons into ButtonGroup for exclusive selection.
1292 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1293 (HTMLReader.buttonGroups): New field.
1294 (HTMLReader.numOptions): New field.
1295 (HTMLReader.option): New field.
1296 (HTMLReader.selectModel): New field.
1297 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1298 (HTMLReader.handleText): Handle OPTION text.
1299 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1300 (HTMLReader.textAreaContent): Set initial content.
1301 * javax/swing/text/html/Option.java
1302 (Option): Make copy of attribute set. Initialize selected state.
1303 (getValue): Fetch value from attribute set.
1304 * javax/swing/text/html/ResetableModel.java: New interface.
1305 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1306 Supports resetting the state.
1307 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1308 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1309 * javax/swing/text/html/SelectListModel.java: Likewise.
1311 2006-12-06 Roman Kennke <kennke@aicas.com>
1313 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1315 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1316 (LoadActionListener): Call setPage() helper method.
1317 (createContent): Register tweaked editor kit. For FormSubmitEvents
1318 call submitForm(), otherwise setPage().
1319 (postData): Helper method for posting form data.
1320 (setPage): Helper method for navigating to a new URL.
1321 (submitForm): Helper method for submitting a form.
1322 * examples/gnu/classpath/examples/swing/forms.html:
1323 Added text/password fields and select boxes.
1324 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1326 2006-12-07 Mark Wielaard <mark@klomp.org>
1328 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1329 private constructor.
1330 (URL(URL,String,URLStreamHandler)): Call new constructor.
1331 (URL(URL,String)): Likewise.
1332 (URL(String)): Likewise.
1334 2006-12-07 Mark Wielaard <mark@klomp.org>
1336 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1337 Always load from system class loader.
1339 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1342 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1343 newValue are the same.
1344 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1346 2006-12-06 Chris Burdess <dog@gnu.org>
1349 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1350 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1352 2006-12-06 Chris Burdess <dog@gnu.org>
1355 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1358 2006-12-056 Chris Burdess <dog@gnu.org>
1361 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1362 discover schema factory implementation class.
1364 2006-12-05 Roman Kennke <kennke@aicas.com>
1366 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1367 asynchronous loading of images.
1368 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1369 (drawImage): Fetch real image from possibly AsyncImage.
1370 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1371 (drawImage): Fetch real image from possibly AsyncImage.
1372 * gnu/java/awt/peer/gtk/GtkToolkit.java
1373 (createImage(URL)): Create async image.
1374 (imageOrError): Made method static for easy access from AsyncImage.
1375 (prepareImage): For async images, register the observer to the
1378 2006-12-05 Roman Kennke <kennke@aicas.com>
1380 (paintComponent): Include paint area from event.
1381 (updateComponent): Include paint area from event.
1383 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1385 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1386 lightweight component, not just for non-Panel components.
1387 (addImpl): Do not call doLayout.
1388 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1389 (setNativeBounds): Ensure widget parent is a GtkFixed before
1390 calling gtk_fixed_move.
1391 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1392 (setNativeBounds): Likewise.
1393 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1394 (setNativeBounds): Likewise.
1396 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1398 * java/awt/Component.java (getFontImpl): Return a default font if
1399 topmost parent's font is null.
1401 2006-12-04 Mark Wielaard <mark@klomp.org>
1403 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1404 Remove debug output.
1406 2006-12-04 Roman Kennke <kennke@aicas.com>
1408 * java/awt/font/TextLayout.java
1409 (hitTestChar): Fixed conditions for inclusion of range.
1410 Use layout information in the run for more efficiency.
1412 2006-12-04 Roman Kennke <kennke@aicas.com>
1414 * javax/swing/text/GlyphView.java
1415 (J2DGlyphPainter): New inner class.
1416 (checkPainter): For Java2D capable environments create
1419 2006-12-04 Roman Kennke <kennke@aicas.com>
1421 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1422 (FreeTypeGlyphVector): Don't filter control chars here.
1423 (getGlyphs): Filter control chars and replace them by
1426 2006-12-04 Roman Kennke <kennke@aicas.com>
1428 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1429 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1431 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1433 * gnu/java/lang/management/BeanImpl.java:
1434 (translate(String)): Don't assume the list uses "E",
1435 just use the first and only type variable.
1436 * java/lang/management/ManagementFactory.java:
1437 (getPlatformMBeanServer()): Register logging bean.
1438 * javax/management/openmbean/OpenType.java:
1439 (OpenType(String,String,String)): Actually use
1440 the string created to handle arrays.
1442 2006-12-04 Mark Wielaard <mark@klomp.org>
1444 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1445 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1447 2006-12-04 Mark Wielaard <mark@klomp.org>
1449 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1451 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1452 (JCL_thread_interrupted): Only take JNIEnv.
1453 (vm_channel_class): New static variable.
1454 (initID): Set vm_channel_class.
1455 Wrap all reads() and writes() in do-while blocks that check
1458 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1460 * gnu/javax/management/Server.java:
1461 Make map final and initialise it.
1462 (unregisterMBean(ObjectName)): Match against
1463 delegate's object name and not the instance.
1464 * java/lang/management/ManagementFactory.java:
1465 Added constant fields.
1466 (getPlatformMBeanServer()): Implemented.
1467 * javax/management/MBeanServerFactory.java: New file.
1469 2006-12-04 Roman Kennke <kennke@aicas.com>
1471 * javax/swing/text/BoxView.java
1472 (paint): Replaced painting algorithm with more simple and more
1473 reliable painting of the box.
1474 * javax/swing/text/html/BlockView.java
1475 (PositionInfo): New inner class. Stores additional CSS
1476 positioning information.
1477 (positionInfo): New field.
1478 (BlockView): Initialize positionInfo field.
1479 (fetchLayoutInfo): New helper method. Fetches additional
1480 CSS positioning information.
1481 (layoutMajorAxis): Perform additional CSS layout.
1482 (layoutMinorAxis): Perform additional CSS layout.
1483 (positionView): New helper method.
1484 (replace): Overridden to fetch additional layout information.
1485 * javax/swing/text/html/CSS.java
1486 (Attribute.POSITION): New field.
1487 (Attribute.LEFT): New field.
1488 (Attribute.RIGHT): New field.
1489 (Attribute.TOP): New field.
1490 (Attribute.BOTTOM): New field.
1491 (getValue): Create Length for left, right, top and bottom
1494 2006-12-04 Roman Kennke <kennke@aicas.com>
1496 * gnu/javax/swing/text/html/parser/support/Parser.java
1497 (Sgml): Consume any whitespace that immediately follows
1499 (parseDocument): Consume any initial whitespace.
1501 2006-12-03 Mark Wielaard <mark@klomp.org>
1503 * gnu/javax/management/Server.java (beans): Initialize.
1504 (registerMBean): Don't initialize beans.
1506 2006-12-03 Mark Wielaard <mark@klomp.org>
1508 * java/util/logging/LogManager.java (getLevelProperty): Check
1509 whether value is null before passing to Level.parse().
1511 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1513 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1514 whether given a null lock and lockOwner.
1516 2006-12-03 Mark Wielaard <mark@klomp.org>
1518 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1519 (PageLoader.page): Made package local.
1520 (PageLoader.run): Don't reset loader.
1521 (PageLoader.cancel): New method.
1522 (loading): Renamed to loader.
1523 (getPage): Return loader.page.
1524 (setPage): Always set loader. Never reset to null.
1526 2006-12-03 Mark Wielaard <mark@klomp.org>
1528 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1530 (isLastChild): Return false when path is null.
1532 2006-12-03 Mark Wielaard <mark@klomp.org>
1534 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1535 to currentPaintArea.
1536 (paintComponent): Work with local reference to currentPaintArea.
1537 (updateComponent): Likewise.
1538 (coalescePaintEvent): Set currentPaintArea.
1540 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1542 * javax/management/MBeanServerBuilder.java: New file.
1544 2006-12-01 Mark Wielaard <mark@klomp.org>
1546 * java/text/DecimalFormat.java (parse): Always increment parsing
1547 index and adjust pos result.
1549 2006-12-01 Roman Kennke <kennke@aicas.com>
1551 * javax/swing/text/html/HTML.java
1552 (Attribute.DYNAMIC_CLASS): New field.
1553 (Attribute.PSEUDO_CLASS): New field.
1554 * javax/swing/text/html/HTMLDocument.java
1555 (HTMLReader.CharacterAction.start): Initialize anchor with link
1557 (updateSpecialClass): New helper method. Updates the dynamic
1558 or pseudo class for anchor tags.
1559 * javax/swing/text/html/HTMLEditorKit.java
1560 (LinkController.lastAnchorElement): New field. For tracking
1561 enter/exit of anchors.
1562 (LinkController.activateLink): Set pseudo class to 'visited'.
1563 (LinkController.mouseMoved): Added support for tracking
1564 the 'hover' dynamic class.
1565 * javax/swing/text/html/InlineView.java
1566 (changedUpdate): Fetch new properties.
1567 * javax/swing/text/html/StyleSheet.java
1568 (attributeSetToMap): New helper method.
1569 (getRule): Also append dynamic and pseudo class to key.
1570 (resolveStyle): Resolve style based generally on all attributes.
1571 * javax/swing/text/html/TableView.java
1572 (RowView.layoutMajorAxis): Make sure the grid is valid.
1573 (updateGrid): Made package private.
1574 * gnu/javax/swing/text/html/css/Selector.java
1575 (calculateSpecificity): Added support for dynamic and pseudo classes.
1576 (matches): Changed to operate on general attributes.
1577 Added support for dynamic and pseudo classes.
1579 2006-12-01 Mario Torre <neugens@limasoftware.net>
1581 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1582 fractional portion in a separate method.
1583 Also fixes the handling of decimal separator and its associated field.
1584 (handleFractionalPart): new method, needed to relax a bit
1587 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1589 * java/beans/beancontext/BeanContextServicesSupport.java:
1590 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1591 Class)): Implemented.
1592 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1593 Class, Object)): Implemented.
1594 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1595 Object, Object)): Implemented.
1596 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1598 (initialiseBeanContextResources()): Implemented.
1599 (releaseBeanContextResoures()): Implemented.
1601 2006-12-01 Mark Wielaard <mark@klomp.org>
1603 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1605 2006-12-01 Roman Kennke <kennke@aicas.com>
1607 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1608 handling border styles.
1609 * gnu/javax/swing/text/html/css/BorderWidth.java
1610 (isValid): New method.
1611 * gnu/javax/swing/text/html/css/Length.java
1612 (isValid): New method.
1613 * javax/swing/text/html/CSS.java
1614 (addInternal): Added shorthand parsing for border, padding and
1616 (parseBackgroundShorthand): Added API docs.
1617 (parsePaddingShorthand): New method. Handles padding shorthand
1619 (parseMarginShorthand): New method. Handles margin shorthand
1621 (parseBorderShorthand): New method. Handles border shorthand
1623 * javax/swing/text/html/StyleSheet.java
1624 (translateHTMLToCSS): Set specific padding attributes.
1625 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1626 These shorthands are now handled in CSS.
1627 (BoxPainter.paint): Exclude the outer margin.
1629 2006-12-01 Roman Kennke <kennke@aicas.com>
1631 * gnu/javax/swing/text/html/css/Length.java
1632 (emBase): New field.
1633 (exBase): New field.
1634 (isFontEMRelative): New field.
1635 (isFontEXRelative): New field.
1636 (Length): Recognize and setup EM and EX relative values.
1637 (getValue): Handle EM and EX relative values.
1638 (isEMRelative): New method.
1639 (isEXRelative): New method.
1640 (setEMBase): New method.
1641 (setEXBase): New method.
1642 (setFontBases): New method.
1643 * gnu/javax/swing/text/html/parser/support/Parser.java
1644 (_handleEmptyTag): Use new isBlock() helper method.
1645 (_handleEndTag_remaining): Use new isBlock() helper method.
1646 (_handleStartTag): Consume whitespace after block start tag.
1647 (Comment): Consume whitespace after a comment.
1648 (isBlock): New helper method.
1649 (readAttributes): Consider all characters in unquoted attribute
1651 * javax/swing/text/html/BlockView.java
1652 (layoutMinorAxis): Use cached span value.
1653 (paint): Added debug code (commented out).
1654 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1655 * javax/swing/text/html/CSSBorder.java
1656 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1658 (getBorderWidth): Set the EM and EX base on the length values.
1659 * javax/swing/text/html/HTMLDocument.java
1660 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1661 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1662 (HTMLReader.inImpliedParagraph): Removed.
1663 (HTMLReader.inParagraph): Removed.
1664 (HTMLReader.parseStack): New field.
1665 (HTMLReader.addContent): Use new paragraph handling.
1666 (HTMLReader.addSpecialElement): Use new paragraph handling.
1667 (HTMLReader.blockClose): Use new paragraph handling.
1668 (HTMLReader.blockOpen): Use new paragraph handling.
1669 (HTMLReader.inImpliedParagraph): New helper method.
1670 (HTMLReader.inParagraph): New helper method.
1671 * javax/swing/text/html/ImageView.java
1672 (attributes): New field. Caches view attributes.
1673 (spans): New field. Caches CSS spans.
1674 (getAttributes): Correctly setup CSS view attributes.
1675 (getPreferredSpan): Use caches spans.
1676 (getStyleSheet): Use the view's getDocument() method.
1677 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1678 (updateSize): Use cached spans.
1679 * javax/swing/text/html/ParagraphView.java
1680 (setPropertiesFromAttributes): Setup EM and EX.
1681 * javax/swing/text/html/StyleSheet.java
1682 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1683 (getEMBase): New helper method.
1684 (getEXBase): New helper method.
1685 * javax/swing/text/html/TableView.java
1686 (width): New field. Caches the table width.
1687 (calculateMinorAxisRequirements): Use caches span.
1688 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1689 (updateGrid): Correctly setup EM/EX.
1691 2006-11-30 Roman Kennke <kennke@aicas.com>
1693 * javax/swing/text/html/FormSubmitEvent.java: New class.
1694 * javax/swing/text/html/FormView.java
1695 (SubmitThread): New class for submitting data in a separate thread.
1696 (actionPerformed): Fetch the actual for data.
1697 (addData): New helper method.
1698 (getElementFormData): New helper method.
1699 (getFormData): New helper method.
1700 (getInputFormData): New helper method.
1701 (submitData): Implemented.
1702 * javax/swing/text/html/FrameView.java
1703 (createComponent): Add this as hyperlink listener.
1704 Set the target document as frame document.
1705 (getTopEditorPane): New helper method.
1706 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1707 (handleHyperlinkEvent): New helper method.
1708 (handleFormSubmitEvent): New helper method.
1709 * javax/swing/text/html/HTMLDocument.java
1710 (HTMLReader.BaseAction.start): Track the base target.
1711 (HTMLReader.BaseAction.end): Removed.
1712 (baseTarget): New field.
1713 (frameDocument): New field.
1714 (getBaseTarget): New property accessor.
1715 (isFrameDocument): New property accessor.
1716 (processHTMLFrameHyperlinkEvent): Implemented.
1717 (setFrameDocument): New property accessor.
1718 (updateFrame): New helper method.
1719 (updateFrameSet): New helper method.
1720 * javax/swing/text/html/HTMLEditorKit.java
1721 (LinkController.createHyperlinkEvent): Handle frame documents.
1722 (autoFormSubmission): New field.
1723 (HTMLEditorKit): Set autoFormSubmission to true.
1724 (isAutoFormSubmission): New property accessor.
1725 (setAutoFormSubmission): New property accessor.
1727 2006-11-30 Roman Kennke <kennke@aicas.com>
1729 * javax/swing/text/ElementIterator.java
1730 (ElementRef): New inner class.
1731 (currentDepth): Removed.
1732 (currentElement): Removed.
1733 (previousItem): Removed.
1734 (stack): New field. Holds the iteration stack.
1736 (ElementIterator(Document)): Removed init of removed fields.
1737 (ElementIterator(Element)): Removed init of removed fields.
1738 (current): Changed to stack based algorithm.
1739 (deepestLeaf): New helper method.
1740 (depth): Changed to stack based algorithm.
1741 (first): Changed to stack based algorithm.
1742 (next): Changed to stack based algorithm.
1743 (previous): Changed to stack based algorithm.
1745 2006-11-30 Francis Kung <fkung@redhat.com>
1747 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1748 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1750 2006-11-30 Francis Kung <fkung@redhat.com>
1752 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1753 (draw): Set transform in buffered composite.
1754 (drawComposite): Do not transform bounds; round bounds.
1755 (drawGlyphVector): Set transform in buffered composite.
1756 (drawRenderedImage): Set transform in buffered composite.
1757 (fill): Set transform in buffered composite.
1758 (updateBufferedImage): Fix scanline & height calculations.
1759 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1760 (createPath): Simplify width & height calculation.
1761 (drawImage): Also transform width & height.
1763 2006-11-30 Roman Kennke <kennke@aicas.com>
1765 * javax/swing/text/html/FrameSetView.java: New class. Implements
1767 * javax/swing/text/html/FrameView.java: New class. Implements
1769 * javax/swing/text/html/HTMLDocument.java:
1770 (HTMLReader.addSpecialElement): Only add one artificial space.
1771 * javax/swing/text/html/HTMLEditorKit.java
1772 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1773 * gnu/javax/swing/text/html/parser/support/Parser.java
1774 (_handleEmptyTag): Also consume whitespace after frame tags.
1776 2006-11-30 Gary Benson <gbenson@redhat.com>
1778 * java/lang/Thread.java: Javadoc fixes.
1780 2006-11-29 Tom Tromey <tromey@redhat.com>
1783 * java/lang/Class.java (getAnnotations): Rewrote.
1785 2006-11-29 Tania Bento <tbento@redhat.com>
1787 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1788 (parseParams): Unescape 'val' before putting it into the Map.
1789 (unescapeString): New private method.
1791 2006-11-29 Tom Tromey <tromey@redhat.com>
1793 * tools/gnu/classpath/tools/getopt/package.html: New file.
1795 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1797 * javax/swing/plaf/metal/MetalIconFactory.java
1798 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1799 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1801 2006-11-29 Mario Torre <neugens@limasoftware.net>
1803 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1804 with the default international currency sign \u00A4.
1805 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1806 table for string formatting.
1807 (formatInternal): likewise.
1808 (scanNegativePattern): likewise.
1809 (applyPattern): likewise.
1810 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1811 Locale is immutable and does not need clone.
1813 2006-11-29 Francis Kung <fkung@redhat.com>
1815 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1816 (drawLine): Remove hard-coded pixel shifting.
1818 2006-11-29 Roman Kennke <kennke@aicas.com>
1820 * java/awt/Component.java
1821 (isShowing): Simplified condition code and avoid unnecessary
1823 (coalesceEvents): Always coalesce paint events and let the peer
1824 figure out the expanding of the repaint area.
1825 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1826 (currentPaintEvents): Removed. Replaced by paintArea.
1827 (paintArea): New field. Tracks the dirty area.
1828 (SwingComponentPeer): Removed init of currentPaintEvents.
1829 (coalescePaintEvent): Simplified to only union the dirty regions.
1830 (handleEvent): Paint dirty region that was tracked in paintArea.
1831 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1832 (paintArea): New field. Tracks the dirty region.
1833 (coalescePaintEvent): Implemented to track the dirty region.
1834 (paintComponent): Use the dirty region in paintArea. Protect
1835 state by putting the paint and dispose code in a try-finally.
1836 (updateComponent): Use the dirty region in paintArea. Protect
1837 state by putting the paint and dispose code in a try-finally.
1839 2006-11-29 Roman Kennke <kennke@aicas.com>
1841 * java/awt/font/TextLayout.java
1842 (getVisualHighlightShape): Removed debug output.
1844 2006-11-28 Andrew Haley <aph@redhat.com>
1846 * vm/reference/sun/reflect/misc/ReflectUtil.java
1847 (checkPackageAccess): Implement.
1849 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1851 * native/jni/java-lang/java_lang_VMDouble.c:
1852 (parseDoubleFromChars) New function. Factored out from ...
1853 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1854 (dtoa_toString): New function. Factored out from ...
1855 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1856 Changed conversion mode to 2, as modes 0 and 1 don't round
1857 as the API spec demands. Invoke conversion function as often
1858 as necessary with growing precision until a reversible
1859 representation of the double in form of a string is reached.
1861 2006-11-28 Roman Kennke <kennke@aicas.com>
1863 * javax/swing/JComponent.java
1864 (putClientProperty): Do not fire event when both old and new
1867 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1869 * java/lang/Enum.java:
1870 Make name and ordinal final.
1872 2006-11-27 Casey Marshall <csm@gnu.org>
1874 * java/util/jar/JarEntry.java (certs): removed.
1875 (jarfile): new field.
1876 (getCertificates): read the certificates from the containing JarFile.
1877 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1878 fill in 'certs,' fill in 'jarfile' for the entry.
1879 (getEntry): likewise.
1881 2006-11-27 Francis Kung <fkung@redhat.com>
1883 * java/awt/image/WritableRaster.java
1884 (createChild): Implemented.
1886 2006-11-27 Roman Kennke <kennke@aicas.com>
1888 * java/awt/font/TextLayout.java
1889 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1890 (getVisualHighlightShape): Implemented.
1891 (layoutRuns): Fixed boundary so that the last run is also laid out.
1892 (left): New helper method.
1893 (right): New helper method.
1895 2006-11-27 Roman Kennke <kennke@aicas.com>
1897 * java/awt/font/TextLayout.java
1898 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1899 (getCaretShape(TextHitInfo)): Use natural bounds.
1900 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1901 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1902 above with DEFAULT_CARET_POLICY.
1903 (getCaretShapes(int)): Use natural bounds.
1905 2006-11-27 Roman Kennke <kennke@aicas.com>
1907 * java/awt/font/TextLayout.java
1908 (Run.font): New field.
1909 (Run.location): New field.
1910 (Run.Run): Initialize font.
1911 (font): Removed field. This is moved into Run as the actual font
1912 is something run-specific.
1913 (TextLayout(String,Font,FontRenderContext)): Set font on the
1914 single runs. Layout the runs here.
1915 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1916 (findRunAtIndex): New helper method.
1917 (getCaretInfo): Implemented.
1918 (layoutRuns): New helper method.
1919 (toString): Don't put font in output string.
1921 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1923 * AUTHORS: Added Jeroen Fritjers.
1925 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1927 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1928 for FieldPosition to be null.
1929 Check if the factional part is just 0 and can be omitted from the
1931 (scanNegativePattern): Fixed index out of bound exception when searching
1932 for international currency symbol in negative pattern.
1934 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1936 * java/beans/beancontext/BeanContextSupport.java:
1937 (readObject(ObjectInputStream)): Implemented.
1938 (writeObject(ObjectOutputStream)): Likewise.
1939 (BCSChild.getTargetChild()): Added.
1940 (bcsPreDeserializationHook()): Implemented.
1941 (bcsPreSerializationHook()): Likewise.
1942 (childDeserializedHook(Object,BCSChild)): Likewise.
1943 (isSerializing()): Likewise.
1944 (readChildren(ObjectInputStream)): Likewise.
1945 (writeChildren(ObjectOutputStream)): Likewise.
1947 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1948 Ian Lance Taylor <ian <at> airs.com>
1949 Paolo Bonzini <bonzini <at> gnu.org>
1953 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1954 increased portability. Likewise, use -f instead of -e.
1956 2006-11-26 Mark Wielaard <mark@klomp.org>
1958 * lib/Makefile.am (propertydirs): Removed.
1959 (resources): Explicitly create all dirs.
1961 2006-11-26 Mark Wielaard <mark@klomp.org>
1963 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1965 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1967 * native/target/.cvsignore,
1968 native/target/generic/.cvsignore,
1969 native/target/Linux/.cvsignore:
1970 Removed no longer used files.
1972 * native/target: Removed no longer used directory.
1974 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1978 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1979 (Java_gnu_java_nio_VMSelector_select):
1980 Use strerror if strerror_r is not available.
1982 Reported by: Michael Franz <mvfranz@gmail.com>,
1983 Riccardo Mottola <zuse@libero.it>
1985 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1989 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1990 STRICT_WARNING_CFLAGS since it caused the build to fail
1993 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1995 * doc/vmintegration.texinfo: Update VM Threading Model section.
1997 2006-11-26 Tom Tromey <tromey@redhat.com>
1999 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
2001 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
2003 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
2004 Conditionally include ifaddrs.h.
2005 (getif_address): Updated conditional.
2006 (getif_index): Likewise.
2007 * configure.ac: Check for ifaddrs.h.
2009 2006-11-25 Mark Wielaard <mark@klomp.org>
2011 * java/io/File.java (list): Return empty list for unreadable dirs.
2013 2006-11-25 Mark Wielaard <mark@klomp.org>
2015 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2016 Synchronize on font peer.
2017 (setFont): Likewise.
2018 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2020 (getTextMetrics): Likewise.
2022 2006-11-25 Roman Kennke <kennke@aicas.com>
2024 * javax/swing/text/GapContent.java
2025 (getPositionsInRange): Rewritten to use the more efficient
2026 binary search searchFirst() and avoid an NPE that was caused
2029 2006-11-25 Mark Wielaard <mark@klomp.org>
2031 * javax/swing/text/CompositeView.java (modelToView): Never return
2034 2006-11-25 Mark Wielaard <mark@klomp.org>
2036 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2037 Check whether rowView instanceof RowView.
2038 (updateGrid): Likewise.
2040 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
2043 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2044 * java/text/NumberFormat.java (format): all format methods, fixed
2045 FieldPosition argument should never be null.
2046 (format(Object, StringBuffer, FieldPosition)): fixed signature,
2047 method is not final.
2048 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2050 * AUTHORS: added my name to the file.
2052 2006-11-25 Mark Wielaard <mark@klomp.org>
2054 * javax/swing/text/html/StyleSheet.java (paint): Guard against
2055 getChildAllocation() returning null.
2057 2006-11-25 Mark Wielaard <mark@klomp.org>
2059 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2060 Use clazzIndex for id substring.
2062 2006-11-25 Mark Wielaard <mark@klomp.org>
2064 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2065 it is still running.
2067 2006-11-25 Mark Wielaard <mark@klomp.org>
2070 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2073 2006-11-24 Tania Bento <tbento@redhat.com>
2075 * java/awt/font/TextHitInfo.java
2076 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2077 (beforeOffset): Decreased first parameter by 1.
2079 2006-11-24 Francis Kung <fkung@redhat.com>
2081 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2082 (constructor): Check sample model when setting fastCM flag.
2083 (updateBufferedImage): Check scanline and sample model offsets before
2084 copying data directly into the image data buffer.
2086 2006-11-24 Francis Kung <fkung@redhat.com>
2088 * gnu/java/awt/java2d/QuadSegment.java
2089 (offsetSubdivided): Handle special straight-line cases.
2091 2006-11-24 Roman Kennke <kennke@aicas.com>
2093 * java/awt/dnd/DropTarget.java
2094 (DropTargetAutoScroller.HYSTERESIS): New constant.
2095 (DropTargetAutoScroller.DELAY): New constant.
2096 (DropTargetAutoScroller.inner): New field. A cached
2098 (DropTargetAutoScroller.outer): New field. A cached
2100 (DropTargetAutoScroller.timer): New field. The actual timer.
2101 (DropTargetAutoScroller.DropTargetAutoScroller):
2103 (DropTargetAutoScroller.actionPerformed): Implemented.
2104 (DropTargetAutoScroller.stop): Implemented.
2105 (DropTargetAutoScroller.updateLocation): Implemented.
2106 (clearAutoscroll): Stop the autoscroller before nullifying it.
2107 (createDropTargetAutoScroller): Don't set the field here,
2108 only return a new instance.
2109 (dragEnter): Only do something when active. Initialize
2111 (dragExit): Only do something when active. Stop auto scrolling.
2112 (dragOver): Only do something when active. Update auto scrolling.
2113 (drop): Only do something when active. Update auto scrolling.
2114 (dropActionChanged): Only do something when active. Update
2116 (initializeAutoScrolling): Check if component is an instance
2117 of Autoscroll, otherwise do nothing.
2118 (setActive): Disable autoscrolling when deactivating.
2119 (setComponent): When component is set to null, disable autoscrolling.
2121 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
2123 * java/beans/beancontext/BeanContextServicesSupport.java
2124 (getChildBeanContextServicesListener): Implemented.
2126 2006-11-23 Roman Kennke <kennke@aicas.com>
2128 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2129 (createGraphics): Use constructor to create new instance of
2130 BufferedImageGraphics.
2131 * java/awt/Toolkit.java
2132 (getDefaultToolkit): Really try to get a real toolkit. Only
2133 use HeadlessToolkit if no other is available.
2134 * gnu/java/awt/peer/gtk/GtkToolkit.java
2135 (checkHeadless): New helper method. Checks for headless environment
2136 and throws HeadlessException if appropriate.
2137 (createButton): Check for headless.
2138 (createCanvas): Check for headless.
2139 (createCheckbox): Check for headless.
2140 (createCheckboxMenuItem): Check for headless.
2141 (createChoice): Check for headless.
2142 (createDialog): Check for headless.
2143 (createDragGestureRecognizer): Check for headless.
2144 (createDragSourceContextPeer): Check for headless.
2145 (createEmbeddedWindow): Check for headless.
2146 (createFileDialog): Check for headless.
2147 (createFrame): Check for headless.
2148 (createCheckbox): Check for headless.
2149 (createLabel): Check for headless.
2150 (createList): Check for headless.
2151 (createMenu): Check for headless.
2152 (createMenuBar): Check for headless.
2153 (createMenuItem): Check for headless.
2154 (createPanel): Check for headless.
2155 (createPopupMenu): Check for headless.
2156 (createScrollbar): Check for headless.
2157 (createScrollPane): Check for headless.
2158 (createTextArea): Check for headless.
2159 (createTextField): Check for headless.
2160 (createWindow): Check for headless.
2162 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2164 * java/beans/beancontext/BeanContextSupport.java
2165 (deserialize): Implemented,
2166 (serialize): Implemented.
2168 2006-11-23 Roman Kennke <kennke@aicas.com>
2170 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2171 (createGraphics): Try to use Cairo graphics if available.
2173 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2175 * java/beans/beancontext/BeanContextSupport.java
2176 (toArray): Added API docs,
2177 (toArray(Object[])): Added API docs, removed NotImplementedException.
2179 2006-11-22 Tania Bento <tbento@redhat.com>
2181 * javax/swing/JRootPane.java
2182 (setLayeredPane): Added documentation; throw
2183 IllegalComponentStateException if layered pane parameter is null.
2185 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2187 * java/beans/beancontext/BeanContextSupport.java
2188 (avoidingGui): Removed NotImplementedException.
2190 2006-11-22 Francis Kung <fkung@redhat.com>
2192 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2193 (drawGlyphVector): Clip updated area to glyph bounds.
2194 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2195 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2196 x-coordinate and y-coordinate pixel shifting.
2197 (shifted): Removed method.
2198 (shiftX): New method, recognising scaling transforms.
2199 (shiftY): New method, recognising scaling transforms.
2200 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2202 2006-11-22 Roman Kennke <kennke@aicas.com>
2204 * java/awt/font/TextLayout.java
2205 (hash): New field. Caches the hash code.
2206 (hashCode): Implemented.
2208 2006-11-22 Roman Kennke <kennke@aicas.com>
2210 * java/awt/image/ImageFilter.java
2211 Reformat whole class.
2212 (getFilterInstance): Don't touch the consumer field. Don't check
2214 (imageComplete): Don't check consumer.
2215 (setColorModel): Don't check consumer.
2216 (setDimensions): Don't check consumer.
2217 (setHints): Don't check consumer.
2218 (setPixels): Don't check consumer.
2219 (setProperties): Pass the original property too.
2220 * java/awt/image/IndexColorModel.java
2221 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2222 transparent pixel by calling the new helper method.
2223 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2224 transparent pixel by calling the new helper method.
2225 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2226 transparent pixel by calling the new helper method.
2227 (coerceData): Removed. This is not needed.
2228 (getAlpha): Simply return value from color map. The transparent
2229 pixel has to be there.
2230 (setTransparentPixel): New helper method. Inserts the transparent
2232 * java/awt/image/RGBImageFilter.java
2233 Reformat whole class.
2234 (convertColorModelToDefault): Removed. No longer needed.
2235 (filterIndexColorModel): Don't handle transparent pixels
2237 (filterRGBPixels): Set pixels on consumer already.
2238 (makeColor): Removed. No longer needed.
2239 * java/awt/image/ReplicateScaleFilter.java
2240 (replicatePixels): Removed.
2241 (setDimension): Correctly compute destination size, avoid double
2243 (setPixels): Avoid double calculations. Fixed some boundary cases.
2244 (setupSources): New helper method.
2245 * java/awt/image/SampleModel.java
2246 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2248 * java/awt/image/SinglePixelPackedSampleModel.java
2249 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2250 This is not needed as the superclass already copies line
2252 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2253 removed some checks that the RI also doesn't perform. Call
2254 DataBuffer.setElem().
2256 2006-11-22 Roman Kennke <kennke@aicas.com>
2258 * java/awt/text/TextLayout.java
2259 (getLogicalRangesForVisualSelection): Implemented.
2261 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2263 * sun/reflect/annotation/AnnotationParser.java,
2264 * sun/reflect/annotation/AnnotationType.java,
2265 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2266 * sun/reflect/annotation/ExceptionProxy.java:
2268 * sun/misc/ServiceConfigurationError.java,
2269 * sun/misc/Service.java:
2272 2006-11-21 Roman Kennke <kennke@aicas.com>
2274 * java/awt/text/TextLayout.java
2275 (Run.isLeftToRight): New helper method.
2276 (logicalToVisual): New field. Maps logical indices to visual
2278 (visualToLogical): New field. Maps visual indices to logical
2280 (TextLayout): Setup mappings.
2281 (setupMappings): New method for setting up the mappings.
2282 (getCharacterLevel): Reorganized code.
2283 (getNextLeftHit(int)): Implemented.
2284 (getNextLeftHit(int,CaretPolicy)): New method.
2285 (getNextLeftHit(TextHitInfo)): Implemented.
2286 (getNextRightHit(int)): Implemented.
2287 (getNextRightHit(int,CaretPolicy)): New method.
2288 (getNextRightHit(TextHitInfo)): New method.
2289 (getVisualOtherHit): Implemented.
2290 (checkHitInfo): New helper methods for checking parameters.
2291 (hitToCaret): New helper method. Maps hit infos to caret locations.
2292 (caretToHit): New helper method. Maps caret locations to hit infos.
2293 (isCharacterLTR): New helper method.
2294 (CaretPolicy.getStrongCaret): Implemented.
2296 2006-11-21 Francis Kung <fkung@redhat.com>
2298 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2299 (draw): Include stroke width when calculating bounds.
2300 (updateBufferedImage): Round bounds more generously, handle negative
2301 height/width values, and clip more intelligently.
2302 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2303 (createPath): Add shortcut optimization for lines.
2304 (draw): Include stroke width when calculating bounds.
2305 (drawLine): Delegate to main draw() method.
2306 (drawRect): Likewise.
2307 (fillRect): Delegate to main fill() method.
2308 (findStrokedBounds): New method.
2309 (setCustomPaint): Round bounds more generously.
2310 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2311 (drawLine): Removed.
2312 (drawRect): Removed.
2313 (fillRect): Removed.
2315 2006-11-21 Francis Kung <fkung@redhat.com>
2317 * gnu/java/awt/java2d/TexturePaintContext.java
2318 (getRaster): Handle negative coordinate values.
2319 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2320 (setPaint): Moved custom paint processing to a new method.
2321 (setPaintPixels): Added x, y parameters.
2322 (getRealBounds): Added documentation.
2323 (copy): Copy clipping information.
2324 (drawLine): Process custom paints.
2325 (setCustomPaint): New method.
2326 (fill): Process custom paints.
2327 (drawGlyphVector): Process custom paints.
2328 (drawRect): Process custom paints.
2329 (draw): Process custom paints.
2330 * gnu/java/awt/peer/gtk/CairoSurface.java
2331 (cairoCM_opaque): New constant.
2332 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2333 (argb32): Removed constant.
2334 (rgb32): Removed constant.
2335 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2336 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2337 (updateBufferedImage): Transform to device-space before updating.
2338 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2339 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2342 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2343 source at designated x, y origin.
2345 2006-11-21 Roman Kennke <kennke@aicas.com>
2347 * java/awt/text/TextLayout.java
2348 (Run): New inner helper class.
2349 (length): New field.
2350 (naturalBounds): New field.
2351 (offset): New field.
2352 (runIndices): Removed. This is now encapsulate in a Run object.
2353 (runs): Changed to Run[].
2354 (string): Changed to char[].
2355 (totalAdvance): New field. Caches advance value.
2356 (TextLayout(String,Font,FontRenderContext)): Change to store
2357 string as char[] and run layout as Run[]. Clean out empty
2359 (TextLayout(TextLayout,int,int)): Change to store
2360 string as char[] and run layout as Run[].
2361 (clone): Call private constructor for maximum efficiency.
2362 (determineWhitespace): Adapted to use char[] data.
2363 (draw): Adapted to use Run objects.
2364 (getAdvance): Cache computed total advance.
2365 (getBlackBoxBounds): Adapted to use Run objects.
2366 (getCaretInfo): Use natural layout bounds.
2367 (getCharacterCount): Return length field.
2368 (getLogicalHighlightShape): Adapted to use Run objects.
2369 (getNaturalBounds): New helper method. Calculates and returns the
2370 natural bounds of this text layout.
2371 (getOutline): Adapted to use Run objects.
2372 (getStringProperties): Adapted to use char[] data.
2373 (getVisibleAdvance): Adapted to use char[] and Run data.
2374 (handleJustify): Adapted to use char[] and Run data.
2375 (hitTestChar(float,float,Rectangle2D)): Implemented.
2376 (hitTestChar(float,float)): Use natural bounds.
2377 (setCharIndices): Adapted to use char[] and Run data.
2378 (toString): Adapted to use char[] and Run data.
2379 * java/text/Bidi.java
2380 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2382 2006-11-21 Roman Kennke <kennke@aicas.com>
2384 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2385 Removed. This is now an inner class in GdkFontPeer.
2386 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2387 (drawString(float,float)): Use text layout cache from
2389 (getFontMetrics): Delegate to GdkFontPeer.
2390 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2391 (getGlyphCodes): Also check array size.
2392 (getGlyphPositions): Also check array size.
2393 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2394 (GdkFontLineMetrics.fm): Removed.
2395 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2396 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2397 (GdkFontLineMetrics.underlineOffset): Removed.
2398 (GdkFontLineMetrics.underlineThickness): Removed.
2399 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2400 FontMetrics argument. Don't init removed fields.
2401 (GdkFontLineMetrics.getAscent): Return font peer's field.
2402 (GdkFontLineMetrics.getDescent): Return font peer's field.
2403 (GdkFontLineMetrics.getHeight): Return font peer's field.
2404 (GdkFontLineMetrics.getLeading): Return font peer's field.
2405 (GdkFontLineMetrics.getNumChars): Reformat.
2406 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2407 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2408 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2409 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2410 (GdkFontMetrics): Moved class in here as inner class.
2411 Make it use the font peer's fields and for the char(s) width
2412 and string width method, use TextLayout to measure the actual widths.
2413 (ascent): New field.
2415 (DEFAULT_CTX): New constant field.
2416 (descent): New field.
2417 (FONT_METRICS_ASCENT): New constant.
2418 (FONT_METRICS_DESCENT): New constant.
2419 (FONT_METRICS_HEIGHT): New constant.
2420 (FONT_METRICS_MAX_ADVANCE): New constant.
2421 (FONT_METRICS_MAX_ASCENT): New constant.
2422 (FONT_METRICS_MAX_DESCENT): New constant.
2423 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2424 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2425 (height): New field.
2426 (maxAdvance): New field.
2427 (maxAscent): New field.
2428 (maxDescent): New field.
2429 (metrics): New field. Stores a FontMetrics for this font.
2430 (textLayoutCache): New field. Caches TextLayout instances.
2431 (underlineOffset): New field.
2432 (underlineThickness): New field.
2433 (cinit): Don't initialize resource bundle.
2434 (GdkFontPeer): Setup the metrics.
2435 (getFontMetrics): Return stored metrics if possible.
2436 (getLineMetrics): Adapt to new constructor.
2437 (initFont): New helper method.
2438 (setupMetrics): New helper method.
2439 * gnu/java/awt/peer/gtk/GtkToolkit.java
2440 (LRUCache): Made class a static class.
2441 (getFontMetrics): Delegate to GdkFontPeer.
2442 * native/jni/gtk-peer/gdkfont.h
2443 Added new constant defines.
2444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2445 (getFontMetrics): Rewritten to fetch the font metrics from
2448 2006-11-20 Tania Bento <tbento@redhat.com>
2450 * javax/swing/ButtonGroup.java:
2451 (setSelected): Select the ButtonModel if all conditions
2454 2006-11-20 Tania Bento <tbento@redhat.com>
2456 * javax/swing/JSlider.java:
2457 (updateLabelUIs): Removed casting.
2459 2006-11-20 Mark Wielaard <mark@klomp.org>
2461 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2462 (bundle): New static final String field.
2463 (getLocalizedMessage): Initialize messages when still null.
2464 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2465 (set): Use RE.getLocalizedMessage().
2467 (setLineSeparator): Likewise.
2469 2006-11-20 Roman Kennke <kennke@aicas.com>
2471 * javax/swing/text/html/StyleSheet.java
2472 (linked): New field.
2473 (styleSheet): Replaced by linked.
2474 (addStyleSheet): Use an arraylist for simplicity.
2475 (getRule): Removed useless instantiation.
2476 (getStyleSheets): Convert array list to array.
2477 (removeStyleSheet): Use an arraylist for simplicity.
2478 (resolveStyle): Include styles from linked lists.
2480 2006-11-20 Roman Kennke <kennke@aicas.com>
2482 * javax/swing/text/BoxView.java
2483 (BoxView): Initialize with invalid req's.
2484 (forwardUpdate): Trigger repaint when children changed the
2486 (getResizeWeight): Return resizable when the pref differs from
2487 the min or the pref differs from the max size.
2488 (layoutMajorAxis): Actually sum up the preferred sizes.
2489 (paint): Made binary search more robust.
2490 (replace): Let arrays shrink when needed.
2491 (replaceLayoutArray): Let arrays shrink when needed.
2492 (setAxis): Trigger preferenceChanged.
2493 * javax/swing/text/CompositeView.java
2494 (getInsideAllocation): Call insets method to take account
2495 of overriding subclasses.
2496 * javax/swing/text/DefaultStyledDocument.java
2497 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2498 (ElementBuffer.insertUpdate): Only remove the found element, not
2500 * javax/swing/text/GlyphView.java
2501 (insertUpdate): Pass null in preferenceChanged.
2502 (removeUpdate): Pass null in preferenceChanged.
2503 (changedUpdate): Pass null in preferenceChanged.
2504 * javax/swing/text/Utilities.java
2505 (drawTabbedText): Avoid single calls to charWidth() and instead
2506 call charsWidth() on whole chunks.
2507 * javax/swing/text/html/HTMLDocument.java
2508 (BlockElement.getName): Fall back to super when necessary.
2509 (RunElement.getName): Fall back to super when necessary.
2510 (HTMLReader.MAX_THRESHOLD): New constant field.
2511 (HTMLReader.GROW_THRESHOLD): New constant field.
2512 (HTMLReader.theshold): New field.
2513 (HTMLReader.HTMLReader): Fetch threshold from document.
2514 (HTMLReader.addContent): Sucessivly grow the threshold.
2515 (createLeafElement): Don't create two elemens and don't set
2517 * javax/swing/text/html/TableView.java
2518 (RowView.replace): Invalidate grid.
2519 (gridValid): Made package private.
2520 (layoutMinorAxis): Mark all rows as invalid.
2521 (replace): Invalidate grid.
2523 2006-11-20 Roman Kennke <kennke@aicas.com>
2525 * javax/swing/text/AbstractDocument.java
2526 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2527 (DefaultDocumentEvent.modified): Made private.
2528 (DefaultDocumentEvent.THRESHOLD): New constant field.
2529 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2531 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2532 exceeding threshold.
2533 (DefaultDocumentEvent.getChange): Use iterative approach
2534 when we have no hashmap yet.
2535 (documentCV): Removed.
2536 (numWriters): Renamed from numWritersWaiting.
2537 (createPosition): Reformat.
2538 (getCurrentWriter): Synchronized.
2539 (readLock): Implement more straightforward.
2540 (readUnlock): Implement more straightforward.
2541 (writeLock): Implement more straightforward.
2542 (writeUnlock): Implement more straightforward.
2543 (remove): Write-lock here.
2544 (removeImpl): Don't write-lock here.
2546 2006-11-20 Roman Kennke <kennke@aicas.com>
2548 * javax/swing/JEditorPane.java
2549 (setPage): Set priority on loading thread.
2551 2006-11-20 Roman Kennke <kennke@aicas.com>
2553 * javax/swing/plaf/basic/BasicTextUI.java
2554 (RootView.paint): Avoid allocation.
2555 (cachedInsets): New field. Caches an Insets instance.
2556 (getNextVisualPositionFrom): Read-lock the document to avoid
2557 thread nastiness. Push allocation.
2558 (getPreferredSize): Push fake allocation when not yet laid out.
2559 (getVisibleEditorRect): Use cached insets.
2560 (viewToModel): Read-lock the document to avoid
2561 thread nastiness. Push allocation.
2563 2006-11-20 Roman Kennke <kennke@aicas.com>
2565 * javax/swing/text/StyleContext.java
2566 (attributeSetPool): Synchronize this map.
2567 (addAttribute): Synchronize this method.
2568 (addAttributes: Synchronize this method.
2569 (readObject): Install synchronized map on target object.
2570 (removeAttribute): Synchronize this method.
2571 (removeAttributes): Synchronize this method.
2572 (removeAttributes): Synchronize this method.
2574 2006-11-20 Roman Kennke <kennke@aicas.com>
2576 * javax/swing/text/GapContent.java
2577 (GapContentPosition.GapContentPosition): Removed constructor.
2578 (Mark): Made subclass of WeakReference to refer directly to
2579 the associated position.
2580 (Mark.refCount): Removed.
2581 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2582 New constructor. Used to reference a position and register the
2584 (Mark.Mark(index)): Call super and don't adjust mark offset.
2585 (Mark.compareTo): Removed.
2586 (Mark.equals): Removed.
2587 (Mark.getOffset): Return at least null. Removed assert.
2588 (Mark.getPosition): New helper method.
2589 (garbageMarks): New field.
2590 (positions): Removed.
2591 (searchMark): New field.
2592 (GapContent): Removed init of positions map.
2593 (addImpl): New helper method.
2594 (adjustPositionsInRange): Removed.
2595 (compare): New helper method.
2596 (createPosition): Rewritten for new datastructures. This now
2597 performs a much more efficient binary search for finding
2598 a position at the requested offste.
2599 (garbageCollect): Rewritten to collect unused marks.
2600 (getPositionsInRange): Adjusted for new data structures.
2601 (removeImpl): New helper method.
2602 (replace): Use new addImpl() and removeImpl() helper method for
2603 correctly adjusting the positions and gap.
2604 (search): Rewritten. Implements a more suitable binary search.
2605 (searchFirst): New helper method.
2606 (setPositionsInRange): Removed.
2607 (shiftEnd): Update the marks here.
2608 (shiftGap): Update the marks here.
2609 (shiftGapEndUp): Update the marks here.
2610 (shiftGapStartDown): Update the marks here.
2612 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2614 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2615 digest algorithm implementations.
2616 (readSignatures): Parse the manifest once and reuse that data.
2617 Add support for line breaks.
2618 (verifyHashes): Use the parsed manifest entry.
2619 (readManifestEntry): Removed.
2621 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2623 * java/beans/beancontext/BeanContextServicesSupport.java:
2624 Added more documentation.
2625 (addService(Class,BeanContextServiceProvider,boolean)):
2626 Synchronized over global hierarchy lock.
2627 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2628 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2629 (childJustRemovedHook(Object,BCSChild)): Implemented.
2630 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2632 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2633 Added revocation-only listeners.
2634 (getBeanContextServicesPeer()): Implemented.
2635 (getCurrentServiceClasses(Class)): Synchronized over global
2637 (getCurrentServiceSelectors(Class)): Synchronized over global
2638 hierarchy lock, and fixed FIXME.
2639 (getService(BeanContextChild,Object,Class,Object,
2640 BeanContextServiceRevokedListener)): Implemented.
2641 (hasService(Class)): Synchronized over global hierarchy lock.
2642 (releaseService(BeanContextChild,Object,Object)): Implemented.
2643 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2644 * java/beans/beancontext/BeanContextSupport.java:
2645 (remove(Object, boolean)): Documentation correction.
2647 2006-11-19 Roman Kennke <kennke@aicas.com>
2649 * javax/swing/JEditorPane.java
2650 (PageStream): New inner class.
2651 (PageLoader): New inner class.
2652 (loading): New field.
2653 (setPage): Implemented asynchronous loading.
2654 * javax/swing/text/DefaultStyledDocument.java
2655 (ElementBuffer.create): New helper method.
2656 (create): Use new ElementBuffer method instead of hack.
2657 * javax/swing/text/html/HTMLDocument.java
2658 (HTMLReader.flushImpl): New helper method.
2659 (HTMLReader.addContent): Use flushImpl().
2660 (HTMLReader.blockClose): Added null check.
2661 (HTMLReader.flush): Use flushImpl().
2662 * javax/swing/text/html/HTMLEditorKit.java
2663 (createDefaultDocument): Set load priority to 4 and token threshold
2665 * javax/swing/text/html/TableView.java
2666 (insertUpdate): Overridden to provide correct view factory.
2667 (removeUpdate): Overridden to provide correct view factory.
2668 (changedUpdate): Overridden to provide correct view factory.
2670 2006-11-19 Roman Kennke <kennke@aicas.com>
2672 * javax/swing/text/BoxView.java
2673 (clipRect): New field.
2674 (tmpRect): New field.
2675 (layout): Reorganized code. Now uses layoutAxis() helper method.
2676 (layoutAxis): New helper method.
2677 (paint): Optimized by using cached Rectangle objects and
2678 a binary search for child views inside the clip.
2679 * javax/swing/text/CompositeView.java
2680 (insideAllocation): Made private and initialized in constructor.
2681 (getInsideAllocation): Removed initialization block for
2682 insideAllocation field. Avoid unnecessary allocations.
2683 * javax/swing/text/GlyphView.java
2684 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2685 The remaining stuff (background, underline and striking) is
2686 done in the GlpyhView itself. Avoid unnecessary allocations.
2687 (cached): A cached Segment instance.
2688 (getText): Return cached segment.
2689 (paint): Paint underline, strike and background here. Avoid
2692 2006-11-19 Roman Kennke <kennke@aicas.com>
2694 * javax/swing/text/html/StyleSheet.java
2695 (getFontSize): Removed debug output.
2696 (ListPainter.tmpRect): New field.
2697 (ListPainter.paint): Align bullet vertically centered to
2698 the first line of the paragraph.
2700 2006-11-17 Roman Kennke <kennke@aicas.com>
2702 * gnu/javax/swing/text/html/css/CSSParser.java
2703 (parseDeclaration): Trim string before reporting.
2704 * gnu/javax/swing/text/html/css/FontSize.java
2706 (isRelative): New field.
2707 (sizeIndex): New field.
2708 (FontSize): Initialize new fields.
2709 (getValue): Changed to call getValue(int).
2710 (getValue(int)): New method. Implements relative font sizes.
2711 (isRelative): New method.
2712 (mapAbsolute): Store index.
2713 (mapEM): New helper method.
2714 (mapLarger): New helper method.
2715 (mapPercent): New helper method.
2716 (mapRelative): New helper method.
2717 (mapSmaller): New helper method.
2718 (mapValue): New helper method.
2719 * javax/swing/text/html/CSS.java
2720 (parseBackgroundShorthand): Create CSSColor directly.
2721 * javax/swing/text/html/StyleSheet.java
2722 (addRule): Invalidate resolved styles.
2723 (getFont): Call new getFontSize() method to resolve relative
2725 (getFontSize): New helper method. Resolves relative font sizes.
2726 (translateHTMLToCSS): Create CSS objects directly.
2728 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2730 * gnu/java/util/regex/RETokenNamedProperty.java:
2731 (getHandler(String)): Add support for 'all'.
2733 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2735 * gnu/javax/management/Server.java:
2736 Initial implementation of a GNU management server.
2737 * javax/management/MBeanPermission.java,
2738 * javax/management/MBeanRegistration.java,
2739 * javax/management/MBeanTrustPermission.java:
2742 2006-11-17 Mark Wielaard <mark@klomp.org>
2744 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2746 2006-11-17 Gary Benson <gbenson@redhat.com>
2748 * java/net/DatagramSocket.java (getLocalAddress, connect,
2749 receive): Perform security check on address not hostname.
2751 2006-11-16 Roman Kennke <kennke@aicas.com>
2753 * gnu/javax/swing/text/html/parser/support/Parser.java
2754 (_handleText): Fixed condition for consuming whitespace.
2755 Removed validator check, this is superfluous now.
2757 2006-11-16 Roman Kennke <kennke@aicas.com>
2759 * gnu/javax/swing/text/html/css/CSSParser.java
2760 (parseRuleset): Support 'combined' selectors.
2761 (main): Adapt callback for combined selectors support.
2762 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2763 (startStatement): Take selector array as argument, to
2764 support combined selectors.
2765 * javax/swing/text/html/BlockView.java
2766 (calculateMinorAxisRequirements): Fetch and apply alignment.
2767 * javax/swing/text/html/StyleSheet.java
2768 (CSSStyle): Inverted the constants for correct precedence.
2769 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2771 (CSSStyleSheetParserCallback.style): Removed.
2772 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2773 (CSSStyleSheetParserCallback.end): Push multiple styles.
2774 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2776 2006-11-16 Roman Kennke <kennke@aicas.com>
2778 * javax/swing/text/FlowView.java
2779 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2780 * javax/swing/text/GlyphView.java
2781 (tabExpander): New field.
2783 (breakView): Set tabX on broken view.
2784 (getPartialSpan): Let the painter fetch the span.
2785 (getTabbedSpan): Update the tab expander field. Maybe trigger
2787 (getTabExpander): Simply return the stored expander.
2788 * javax/swing/text/Utilities.java
2789 (getTabbedTextOffset): Made algoritm a little smarter and more
2791 (getTabbedTextWidth): Don't add single char widths, instead add
2792 chunks of characters.
2793 * javax/swing/text/html/ParagraphView.java
2794 (calculateMinorAxisRequirements): Adjust margin only when the
2795 CSS span is not fixed.
2797 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2799 * java/beans/beancontext/BeanContextSupport.java
2800 (getChildBeanContextMembershipListener): Implemented,
2801 (getChildPropertyChangeListener): Implemented,
2802 (getChildSerializable): Implemented,
2803 (getChildVetoableChangeListener): Implemented,
2804 (getChildVisibility): Implemented,
2805 (setDesignTime): Use same property name as Sun's implementation.
2807 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2809 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2810 * java/beans/Statement.java
2811 (toString): Updated to match reference implementation.
2813 2006-11-15 Roman Kennke <kennke@aicas.com>
2815 * javax/swing/text/html/HTMLEditorKit.java
2816 (InsertHTMLTextAction.actionPerformed): Also try inserting
2817 the alternate tag. Adjust the selection accordingly.
2818 (InsertHTMLTextAction.adjustSelection): New helper method.
2819 Adjusts the selection after an insertion.
2820 (insertAtBoundary): Delegate to deprecated method.
2821 (insertAtBoundry): Implemented missing method.
2822 (tryInsert): New helper method.
2823 (defaultActions): Implemented to fill the array with
2824 a couple of InsertHTMLTextActions.
2826 2006-11-15 Roman Kennke <kennke@aicas.com>
2828 * javax/swing/text/html/ImageView.java
2829 (Observer): New class. Observes image loading.
2830 (haveHeight): New field.
2831 (haveWidth): New field.
2832 (height): New field.
2835 (imageIcon): New field.
2836 (loading): New field.
2837 (observer): New field.
2838 (reloadImage): New field.
2839 (reloadProperties): New field.
2840 (ImageView): Initialize observer and some flags.
2841 (getImage): Update the image state and return the image.
2842 (loadImage): New helper method. Actually starts loading.
2843 (paint): Rewritten to paint the image directly, not via Icon.
2844 (reloadImage): Rewritten. Loads the image and its properties.
2845 (renderIcon): Removed. No more necessary.
2846 (setPropertiesFromAttributes): Don't nullify image here.
2847 Added comment about missing impl.
2848 (setSize): Added comment about missing impl.
2849 (updateSize): New helper method. Updates the size attributes.
2850 (updateState): New helper method. Makes sure the image
2851 and its properties are valid.
2853 2006-11-15 Roman Kennke <kennke@aicas.com>
2855 * gnu/javax/swing/text/html/parser/support/Parser.java
2856 (_handleEndTag_remaining): Consume whitespace after a closing
2859 2006-11-15 Roman Kennke <kennke@aicas.com>
2861 * javax/swing/text/html/HTMLDocument.java
2862 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2864 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2866 (HTMLReader.parseStack): Removed.
2867 (HTMLReader.blockClose): Simply call addContent() with ' '
2868 instead of doing more complicated stuff. Removed parseStack
2870 (HTMLReader.blockOpen): Removed parseStack handling.
2871 (getInsertingReader): Removed parseStack init.
2872 * gnu/javax/swing/text/html/parser/htmlValidator.java
2873 (closeTag): Return true only when the tag actually should be
2875 * gnu/javax/swing/text/html/parser/support/Parser.java
2876 (_handleEndTag): Only actually close the tag when the validator
2879 2006-11-15 Roman Kennke <kennke@aicas.com>
2881 * javax/swing/text/html/CSS.java
2882 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2884 * javax/swing/text/html/StyleSheet.java
2885 (BoxPainter.bottomPadding): New field.
2886 (BoxPainter.leftPadding): New field.
2887 (BoxPainter.rightPadding): New field.
2888 (BoxPainter.topPadding): New field.
2889 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2891 (BoxPainter.getInset): Recognize and include the padding.
2892 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2893 javax/swing/text/html/TableView.java
2894 (RowView.calculateMajorAxisRequirements): Adjust req's for
2896 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2897 (cellSpacing): New field.
2898 (columnRequirements): Made package private to avoid accessor method.
2899 (calculateMinorAxisRequirements): Include cellSpacing.
2900 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2901 (layoutMajorAxis): Likewise.
2902 (layoutColumns): Respect cellSpacing.
2903 (setParent): Overridden to fetch the CSS attributes when view gets
2905 (setPropertiesFromAttributes): New method. Fetches the cell
2906 spacing from the CSS attributes.
2908 2006-11-15 Roman Kennke <kennke@aicas.com>
2910 * gnu/javax/swing/text/html/parser/support/Parser.java
2911 (_handleText): Consume whitespace directly before a closing tag.
2912 (restOfTag): Consume whitespace directly after opening.
2913 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2914 (preprocess): Don't perform array boundary checking by
2915 catch AIOOBE, instead check the boundary in loop condition.
2916 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2917 (TAG_CLOSE): New constants. Describes the token pattern for
2920 2006-11-14 Roman Kennke <kennke@aicas.com>
2922 * javax/swing/text/html/ImageView.java
2923 (getPreferredSpan): Use CSS length values.
2924 * javax/swing/text/html/TableView.java
2925 (CellView.calculateMajorAxisRequirements): Overridden to
2926 set the maximum reqs to maximum.
2927 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2929 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2930 the total column reqs.
2931 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2932 the total column reqs.
2933 * gnu/javax/swing/text/html/css/CSSColor.java
2934 (convertValue): Catch NumberFormatExceptions for more robustness.
2935 * gnu/javax/swing/text/html/css/FontSize.java
2936 (mapPixels): Actually map px values. Catch NFE for more robustness.
2938 2006-11-14 Roman Kennke <kennke@aicas.com>
2940 * gnu/java/awt/font/autofit/AxisHints.java,
2941 * gnu/java/awt/font/autofit/Constants.java,
2942 * gnu/java/awt/font/autofit/GlyphHints.java,
2943 * nu/java/awt/font/autofit/Latin.java,
2944 * nu/java/awt/font/autofit/LatinAxis.java,
2945 * gnu/java/awt/font/autofit/LatinMetrics.java,
2946 * gnu/java/awt/font/autofit/Scaler.java,
2947 * gnu/java/awt/font/autofit/Script.java,
2948 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2949 * gnu/java/awt/font/autofit/Segment.java,
2950 * gnu/java/awt/font/autofit/Width.java:
2951 New classes. This is some skeleton stuff for the FreeType-alike
2953 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2954 * gnu/java/awt/font/opentype/OpenTypeFont.java
2955 (unitsPerEm): Made field public.
2956 (getRawGlyphOutline): New method. Fetches the raw outline.
2957 * gnu/java/awt/font/opentype/Scaler.java
2958 (getRawGlyphOutline): New method. Fetches the raw outline.
2959 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2960 (loadGlyph): New method. This is used to load raw outlines.
2961 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2962 (getRawOutline): New method. Fetches the raw outline.
2963 * gnu/java/awt/font/opentype/truetype/Zone.java:
2966 2006-11-14 Roman Kennke <kennke@aicas.com>
2968 * javax/swing/RepaintManager.java
2969 (RepaintManager): Fetch the default state for the double buffering
2970 from a system property gnu.swing.doublebuffering.
2972 2006-11-14 Roman Kennke <kennke@aicas.com>
2974 * javax/swing/plaf/basic/BasicLabelUI.java
2975 (cachedInsets): New field.
2976 (getFontMetrics): New helper method. Fetches the font metrics
2977 from the component or the toolkit.
2978 (getPreferredSize): Use getFontMetrics() helper method for
2979 fetching the font metrics.
2980 (paint): Use getFontMetrics() helper method for
2981 fetching the font metrics. Only paint if icon or text
2982 are != null. Use cached insets.
2983 (paintDisabledText): Don't store/restore color object. The
2984 JComponent painting mechanism takes care of this by calling
2986 (paintEnabledText): Don't store/restore color object. The
2987 JComponent painting mechanism takes care of this by calling
2990 2006-11-14 Roman Kennke <kennke@aicas.com>
2992 * gnu/java/awt/peer/GLightweightPeer.java
2993 (handleEvent): Try to do something reasonable and trigger painting
2994 for the lightweight component.
2995 (getFontMetrics): Fetch and return a font metrics object from
2998 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
3000 * gnu/java/util/regex/RETokenNamedProperty.java:
3001 (getHandler(String)): Add support for 'all'.
3003 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
3005 * AUTHORS: Add myself.
3007 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3009 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
3010 Dalibor Topic. Re-order 'K' section. Remove trailing space from
3011 Roman Kennke's entry.
3013 2006-11-13 Roman Kennke <kennke@aicas.com>
3015 * java/awt/image/IndexColorModel.java
3016 (createCompatibleSampleModel): Implemented missing method.
3018 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
3020 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3021 from big endian systems correctly.
3023 2006-11-11 Roman Kennke <kennke@aicas.com>
3025 * gnu/javax/swing/text/html/css/CSSColor.java
3026 (isValidColor): New helper method. Checks strings if they
3027 form a valid color value.
3028 * gnu/javax/swing/text/html/css/Length.java
3029 (Length): Catch number format exceptions.
3030 * javax/swing/text/html/CSS.java
3031 (addInternal): New method. Checks for shorthand CSS attributes
3033 (parseBackgroundShorthand): New method. Parses the background
3034 shorthand attribute.
3035 * javax/swing/text/html/HTMLDocument.java
3036 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3037 (HTMLReader.LinkAction.start): Implemented to load the linked
3039 (HTMLReader.LinkAction.end): Removed. This is not needed.
3040 * javax/swing/text/html/StyleSheet.java
3041 (CSSStyleSheetParserCallback.declaration): Push declaration
3042 through CSS.addInternal() to parse shorthand attributes.
3043 (addCSSAttribute): Push declaration through CSS.addInternal()
3044 to parse shorthand attributes.
3045 (importStyleSheet): Implemented. This adds a stylesheet from
3047 * javax/swing/text/html/TableView.java
3048 (calculateColumnRequirements): Increase column index for
3049 non CellView children to avoid endless loop.
3050 * javax/swing/text/CompositeView.java
3051 (setParent): Comparen with numChildren not with real arraylength.
3053 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
3055 * java/beans/beancontext/BeanContextSupport.java
3056 (getChildBeanContextChild): Implemented.
3058 2006-11-10 Roman Kennke <kennke@aicas.com>
3060 * javax/swing/text/View.java
3061 (updateLayout): Only repaint when needed.
3063 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
3065 * java/util/Collections.java
3066 (sort(List)): Minor API doc addition,
3067 (sort(List, Comparator)): Likewise.
3069 2006-11-10 David Fu <fchoong@netbeans.jp>
3071 * javax/swing/text/html/HTMLWriter.java
3072 (traverse): Removed Classpath specific handling of implied
3074 (traverseHtmlFragment): Removed Classpath specific handling of
3077 2006-11-10 Roman Kennke <kennke@aicas.com>
3079 * javax/swing/text/ParagraphView.java
3080 (Row.getMaximumSize): Removed. This method is not necessary.
3081 * javax/swing/text/html/TableView.java
3082 (CellView): Moved attribute init to setPropertiesFromAttributes().
3083 (setPropertiesFromAttributes): Fetch attributes here.
3084 (RowView.RowView): Documented.
3085 (RowView.getMaximumSpan): Overridden to restrict the max span
3087 (RowView.layoutMajorAxis): Correctly layout the spans.
3088 (columnWidths): New field. Stores the width attributes of
3090 (calculateColumnRequirements): Added support for relative
3091 (== percent) width attributes.
3092 (calculateMajorAxisRequirements): Removed.
3093 (calculateMinorAxisRequirements): Removed unnecessary code.
3094 (getMaximumSpan): Overridden to restrict the table's width.
3095 (layoutColumns): Documented. Implement more clever table layout,
3096 i.e. for relative columns etc.
3097 (layoutMinorAxis): Don't mark rows invalid.
3098 (updateGrid): Added docs. Initialize column widths.
3100 2006-11-09 Roman Kennke <kennke@aicas.com>
3102 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3103 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3104 Implement basic headless toolkit.
3105 * java/awt/Toolkit.java
3106 (getDefaultToolkit): Check headless property and create
3107 headless toolkit when true.
3109 2006-11-09 Ingo Proetel <proetel@aicas.com>
3110 2006-11-09 Roman Kennke <kennke@aicas.com>
3112 * gnu/java/awt/peer/swing/SwingButtonPeer.java
3113 (SwingButton.button): New field.
3114 (SwingButton.SwingButton): Added constructor.
3115 (SwingButton.isShowing): Access button field instead of
3116 the surrounding class.
3117 (SwingButton.getParent): Access button field instead of
3118 the surrounding class.
3119 (SwingButtonPeer): Call new SwingButton constructor.
3120 * gnu/java/awt/peer/swing/SwingComponent.java:
3121 Several documentation updates.
3122 * gnu/java/awt/peer/swing/SwingComponentPeer.java
3123 (currentPaintEvents): New field.
3124 (peerFont): New field.
3125 (SwingComponentPeer): Initialize currentPaintEvents fields.
3126 (coalescePaintEvents): Implemented.
3127 (dispose): Unregister peer from heavyweight list of its container.
3128 (getGraphics): Fetch graphics from parent component.
3129 (handleEvent): Discard paint event if its coalesced.
3130 (init): Register component with its container for proper painting.
3131 (paint): Call peerPaint().
3132 (peerPaint): Added argument that indicates if we should update.
3133 Call paint or update on the actual AWT component.
3134 (peerPaintComponent): New method. Paints the peer (Swing) component.
3135 (setFont): Set peerFont field.
3136 * gnu/java/awt/peer/swing/SwingContainerPeer.java
3137 (backbuffer): New field.
3138 (focusOwner): New field.
3139 (heavyweightDescendents): New field.
3140 (SwingContainerPeer): Take Container as argument. Don't call init
3142 (addHeavyweightDescendent): New method.
3143 (getFocusOwner): New helper method.
3144 (getInsets): Delegate to insets().
3145 (handleKeyEvent): Dispatch event to focus owner.
3146 (handleMouseEvent): Dispatch to child component.
3147 (isDoubleBuffering): New helper method.
3148 (peerPaint): Overridden to implement container painting with
3150 (peerPaintChildren): New method. Paints the descendents of this
3152 (removeHeavyweightDescendent): New helper method.
3153 * gnu/java/awt/peer/swing/SwingFramePeer.java
3154 (peerPaint): Removed.
3155 (peerPaintComponent): Overridden to paint the menu bar.
3156 * gnu/java/awt/peer/swing/SwingLabelPeer.java
3157 (SwingLabel.label): New field.
3158 (SwingLabel.SwingLabel): Added constructor with Label argument.
3159 (SwingLabel.getGraphics): Implemented to fetch the graphics from
3160 the actual AWT component.
3161 (SwingLabel.getParent): Implemented to fetch the parent from
3163 (SwingLabel.isShowing): Access the label field.
3164 (SwingLabelPeer): Set alignment from label.
3165 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3166 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3168 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3169 Don't be a lighweight peer.
3170 (SwingPanelPeer): Call init.
3171 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3172 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3173 (SwingTextField.textField): New field.
3174 (SwingTextField.SwingTextField): New constructor.
3175 (SwingTextField.isShowing): Access field not enclosing class.
3176 (SwingTextField.getGraphics): New method.
3177 (SwingTextField.getParent): New method.
3178 (SwingTextFieldPeer): Call new constructor.
3179 (select): Renamed arguments.
3180 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3181 (SwingWindowPeer): Call init.
3183 2006-11-09 Tania Bento <tbento@redhat.com>
3185 * javax/swing/JLabel.java
3186 (JLabel(Icon)): Changed documentation; Changed text to null.
3187 (JLabel(Icon,int)): Likewise.
3188 (JLabel(text)): Changed documenation.
3189 (JLabel(text,int)): Likewise.
3190 (JLabel(text,Icon,int)): Changed documentation; Throw
3191 IllegalArgumentException if int is not one of LEFT, RIGHT,
3192 CENTER, LEADING or TRAILING.
3194 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3196 * java/beans/beancontext/BeanContextSupport.java
3197 (BeanContextSupport): Use correct dtime default,
3198 (BeanContextSupport(BeanContext)): Likewise,
3199 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3201 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3202 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3204 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3206 * java/beans/beancontext/BeanContextSupport.java
3207 (getBeanContextPeer): Implemented.
3209 2006-11-09 Roman Kennke <kennke@aicas.com>
3211 * javax/swing/text/html/BlockView.java
3212 (cssHeight): Removed.
3213 (cssWidth): Removed.
3214 (cssSpans): New field. Replaces the two fields above.
3215 (BlockView): Allocate cssSpans array.
3216 (layoutMinorAxis): Fetch and use child span, not this view's span.
3217 (setCSSSpan): Adjusted to use cssSpans array.
3218 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3220 2006-11-09 Roman Kennke <kennke@aicas.com>
3222 * javax/swing/text/html/InlineView.java
3223 (nowrap): New field.
3224 (getBreakWeight): Add support for nowrap.
3225 (setPropertiesFromAttributes): Fetch the nowrap setting.
3227 2006-11-09 Roman Kennke <kennke@aicas.com>
3229 * gnu/javax/swing/text/html/css/CSSParser.java
3230 (parseRuleset): Use new Selector class.
3231 (parseValue): Parse multiple anys, not only one.
3232 (main): Allow stylesheet be specified on the command line.
3233 Use new Selector class.
3234 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3235 (startStatement): Use Selector class.
3236 * gnu/javax/swing/text/html/css/CSSScanner.java
3237 (readName): Actually read a character in the loop to avoid
3239 * gnu/javax/swing/text/html/css/Length.java
3240 (getValue): Only multiply when we have a percentage value.
3241 * gnu/javax/swing/text/html/css/Selector.java:
3242 New class. Provides handling of CSS selectors.
3243 * javax/swing/text/html/StyleSheet.java
3244 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3245 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3246 (CSSStyle.PREC_NORM): New constant field.
3247 (CSSStyle.PREC_UA): New constant field.
3248 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3249 (CSSStyle.precedence): New field.
3250 (CSSStyle.priority): Removed.
3251 (CSSStyle.selector): New field.
3252 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3254 (CSSStyle.compareTo): Adjusted to use the precedence and
3255 specificity of the selector.
3256 (CSSStyleSheetParserCallback.precedence): New field.
3257 (CSSStyleSheetParserCallback.selector): Removed.
3258 (CSSStyleSheetParserCallback.style): New field.
3259 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3260 Initialize with precedence.
3261 (CSSStyleSheetParserCallback.declaration): Don't look up
3262 existing rule, simply create new one.
3263 (CSSStyleSheetParserCallback.endStatement): Append style
3265 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3267 (css): Changed to be ArrayList.
3268 (addRule): Create parser with author-normal precendence.
3269 (getRule): Fixed implementation.
3270 (loadRules): Create parser with UA precendence.
3271 (resolveStyle): Use Selector class for resolving and matching
3273 (translateHTMLToCSS): Added mappings for a couple of HTML
3276 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3279 * java/beans/SimpleBeanInfo.java
3280 (loadImage): Check for nulls.
3282 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3284 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3285 (getpeername): Added 16 byte offset to memcpy operation.
3287 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3289 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3290 (getsockname): Added 16 byte offset to memcpy operation.
3292 2006-11-08 Mark Wielaard <mark@klomp.org>
3295 * java/io/OutputStreamWriter.java
3296 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3297 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3299 2006-11-08 Roman Kennke <kennke@aicas.com>
3301 * javax/swing/text/html/HTMLEditorKit.java
3302 (getParser): Use plain HTML_401F DTD.
3303 * javax/swing/text/html/HTMLDocument.java
3304 (HTMLReader.print): Removed method and all calls to it.
3305 (HTMLReader.printBuffer): Removed method and all calls to it.
3306 (HTMLReader.inImpliedParagraph): New field.
3307 (HTMLReader.inParagraph): New field.
3308 (HTMLReader.addContent): Create implied p-tag if necessary.
3309 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3310 (HTMLReader.blockClose): Close implied p-tag if necessary.
3311 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3312 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3314 2006-11-08 Roman Kennke <kennke@aicas.com>
3316 * javax/swing/text/html/HTMLEditorKit.java
3317 (HTMLFactory.create): Removed mapping for TD tag. This
3318 is done in TableView.
3319 * javax/swing/text/html/TableView.java:
3320 Implemented from scratch.
3322 2006-11-07 Roman Kennke <kennke@aicas.com>
3324 * gnu/javax/swing/text/html/parser/support/Parser.java
3325 (_handleText): Check if text content is actually allowed before
3326 passing empty text fragments on to the parser callbacks.
3328 2006-11-07 Mark Wielaard <mark@klomp.org>
3330 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3334 2006-11-07 Tania Bento <tbento@redhat.com>
3336 * java/awt/FlowLayout.java
3337 (getSize): If parent does not have a component, then a
3338 different formula is used to calcuate the width.
3340 2006-11-07 Roman Kennke <kennke@aicas.com>
3342 * javax/swing/text/html/HTMLEditorKit.java
3343 (HTMLFactory.create): Include ListView.
3344 * javax/swing/text/html/ListView.java
3345 (paint): Removed comment.
3346 * javax/swing/text/html/StyleSheet.java
3347 (CSSStyle.priority): New field.
3348 (CSSStyle.CSSStyle(int)): New constructor with priority.
3349 (CSSStyle.compareTo): New method. Used for sorting the styles.
3350 (CSSStyleSheetParserCallback.declaration): Store the style
3351 with the complete selector.
3352 (ListPainter.attributes): Renamed as field.
3353 (ListPainter.styleSheet): New field.
3354 (ListPainter.type): New field.
3355 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3356 (ListPainter.paint): Provide simplistic implementation.
3357 (getListPainter): Pass StyleSheet to constructor.
3358 (resolveStyle): Fixed CSS style resolving.
3360 2006-11-07 Roman Kennke <kennke@aicas.com>
3362 * gnu/javax/swing/text/html/css/BorderWidth.java:
3363 New class. Handles CSS border width values.
3364 * gnu/javax/swing/text/html/css/Length.java
3365 (floatValue): Made protected so that BorderWidth can access it.
3366 * javax/swing/text/html/CSS.java
3367 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3368 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3369 (Attribute.BORDER_LEFT_COLOR): New static field.
3370 (Attribute.BORDER_LEFT_STYLE): New static field.
3371 (Attribute.BORDER_RIGHT_COLOR): New static field.
3372 (Attribute.BORDER_RIGHT_STYLE): New static field.
3373 (Attribute.BORDER_TOP_COLOR): New static field.
3374 (Attribute.BORDER_TOP_STYLE): New static field.
3375 (getValue): Added some mappings for the border color and
3376 border width values.
3377 * javax/swing/text/html/CSSBorder.java: New class. Implements
3379 * javax/swing/text/html/StyleSheet.java
3380 (BoxPainter.background): New field.
3381 (BoxPainter.border): New field.
3382 (BoxPainter.bottomInset): Documented.
3383 (BoxPainter.leftInset): Documented.
3384 (BoxPainter.rightInset): Documented.
3385 (BoxPainter.topInset): Documented.
3386 (BoxPainter.BoxPainter): Added support for borders and background.
3387 (BoxPainter.getInset): Add border insets.
3388 (BoxPainter.paint): Implemented. Paints the background and the
3390 (addRule): Be less picky about parse and IO exceptions.
3391 (getBoxPainter): Adjust to new BoxPainter constructor.
3393 2006-11-07 Andreas <a.tobler@schweiz.org>
3395 * examples/Makefile.am: Add rule to install the *.html files we use
3398 2006-11-06 Francis Kung <fkung@redhat.com>
3400 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3401 (fillRect): Handle custom composites.
3402 (drawRenderedImage): Handle custom composites.
3403 (drawImage): Handle custom composites.
3404 (createBuffer): New method.
3405 (drawLine): Handle custom composites.
3406 (drawComposite): New method.
3407 (fill): Handle custom composites.
3408 (getNativeCM): New method.
3409 (drawGlyphVector): Handle custom composites.
3410 (drawRect): Handle custom composites.
3411 (draw): Handle custom composites.
3412 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3413 (drawComposite): Unset composite during draw call, to prevent parent
3414 from handling composite again.
3415 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3416 (getBufferCM): Added comments.
3417 (getNativeCM): Made abstract.
3418 (setComposite): Removed comments.
3420 2006-11-06 Roman Kennke <kennke@aicas.com>
3422 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3423 Fixed initial window size and start document.
3425 2006-11-06 Roman Kennke <kennke@aicas.com>
3427 * javax/swing/text/html/HTMLDocument.java
3428 (HTMLReader.addSpecialElement): Removed comment about
3430 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3431 of htmlAttributeSet.
3432 * javax/swing/text/html/parser/DocumentParser.java
3433 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3434 of htmlAttributeSet.
3435 * javax/swing/text/html/parser/ParserDelegator.java
3436 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3437 of htmlAttributeSet.
3438 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3439 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3440 of htmlAttributeSet.
3441 * gnu/javax/swing/text/html/parser/support/Parser.java
3442 (getAttributes): Return a SimpleAttributeSet.
3443 (restOfTag): Don't set resolving parent here.
3445 2006-11-06 Tania Bento <tbento@redhat.com>
3447 * java/awt/TextComponent.java
3448 (setSelectionStart): Added check.
3450 2006-11-06 Tania Bento <tbento@redhat.com>
3452 * java/awt/TextField.java
3453 (minimumSize(int)): Check if minimum size has been previously
3454 set and changed values of Dimension returned if peer == null.
3455 (preferredSize(int)): Check if preferred size has been previously
3456 set and changed values of Dimension returned if peer == null.
3458 2006-11-06 Roman Kennke <kennke@aicas.com>
3460 * javax/swing/JTree.java
3461 (TreeModelHandler.treeNodesRemoved): Implemented.
3462 (TreeModelHandler.treeStructureChanged): Implemented.
3463 (nodeStates): Made package private.
3465 2006-11-06 Francis Kung <fkung@redhat.com>
3468 * javax/swing/JTree.java
3469 (clearSelectionPathStates): New private method to clean up nodeStates.
3470 (removeSelectionPath): Call clearSelectionPathStates().
3471 (removeSelectionPaths): Call clearSelectionPathStates().
3472 (removeSelectionRow): Call clearSelectionPathStates().
3473 (setSelectionPath): Call clearSelectionPathStates().
3474 (setSelectionPaths): Call clearSelectionPathStates().
3475 (setSelectionRow): Call clearSelectionPathStates().
3477 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3480 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3482 2006-11-06 Roman Kennke <kennke@aicas.com>
3484 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3485 Changed to implement a minimalistic browser.
3486 * examples/gnu/classpath/examples/swing/forms.html,
3487 * examples/gnu/classpath/examples/swing/textstyles.html,
3488 * examples/gnu/classpath/examples/swing/welcome.html:
3489 Some example content.
3491 2006-11-06 Roman Kennke <kennke@aicas.com>
3493 * javax/swing/text/ComponentView.java
3494 (setParent): Lock the document and repaint the hosting
3496 * javax/swing/text/FlowView.java
3497 (FlowStrategy.createView): Removed comment.
3498 (FlowView): Initialize span with Short.MAX_VALUE.
3499 (getFlowStart): Return 0 unconditionally.
3500 (layout): Moved code around to make it more readable.
3501 (loadChildren): Always set the parent.
3502 * javax/swing/text/GlyphView.java
3503 (DefaultGlyphPainter.fontMetrics): New field.
3504 (DefaultGlyphPainter.getAscent): Use new helper method to
3505 synchronize the font metrics.
3506 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3507 to synchronize the font metrics.
3508 (DefaultGlyphPainter.getDescent): Use new helper method to
3509 synchronize the font metrics.
3510 (DefaultGlyphPainter.getHeight): Use new helper method to
3511 synchronize the font metrics.
3512 (DefaultGlyphPainter.getSpan): Use new helper method to
3513 synchronize the font metrics.
3514 (DefaultGlyphPainter.modelToView): Use new helper method to
3515 synchronize the font metrics.
3516 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3517 font metrics caching.
3518 (DefaultGlyphPainter.viewToModel): Use new helper method to
3519 synchronize the font metrics. Fixed view to model mapping.
3520 * javax/swing/text/View.java
3521 (removeAll): Pass null to replace().
3522 (setParent): Only reparent children that have this view as parent.
3524 2006-11-05 Mark Wielaard <mark@klomp.org>
3526 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3527 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3528 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3530 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3532 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3533 Remove gnu_java_nio_channels_FileChannelImpl.c.
3535 2006-11-03 Roman Kennke <kennke@aicas.com>
3537 * javax/swing/text/html/BlockView.java
3538 (attributes): New field.
3539 (cssHeight): New field.
3540 (cssWidth): New field.
3541 (painter): New field.
3542 (calculateMajorAxisRequirements): Overridden to account for
3544 (calculateMinorAxisRequirements): Overridden to account for
3546 (layoutMinorAxis): Overridden to account for CSS settings.
3547 (changedUpdate): Formatting fixlet.
3548 (constrainSize): New helper method.
3549 (getAlignment): Fix alignment.
3550 (getAttributes): Cache attributes for better performance.
3551 (getStyleSheet): Fetch stylesheet from document rather than creating
3553 (paint): Remove comment.
3554 (setCSSSpan): New helper method.
3555 (setPropertiesFromAttributes): Implemented to fetch the
3556 recognized properties.
3557 * javax/swing/text/html/CSS.java
3558 (getValue): Added mapping for width and height attributes.
3559 * javax/swing/text/html/InlineView.java
3560 (longestWord): New field.
3561 (getLongestWord): New helper method.
3562 (calculateLongestWord): New helper method.
3563 (getMinimumSpan): Overridden to constrain the minimum span by the
3565 * javax/swing/text/html/ParagraphView.java
3566 (cssHeight): New field.
3567 (cssWidth): New field.
3568 (calculateMinorAxisRequirements): Overridden to account for
3570 (setCSSSpan): New helper method.
3571 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3573 * gnu/javax/swing/text/html/css/Length.java
3574 (percentage): New field.
3575 (Length): Determine percentage values.
3576 (getValue(float)): New method for handling percentage values.
3577 (isPercentage): New method.
3579 2006-11-03 Tania Bento <tbento@redhat.com>
3581 * java/awt/TextArea.java
3582 (getMinimumSize): Changed documentation.
3583 (getPreferredSize): Changed documentation.
3584 (getMinimumSize(int,int)): Changed documenation.
3585 (getPreferredSize(int,int)): Changed documenation.
3586 (minimumSize): Changed documentation.
3587 (preferredSize): Changed documenation.
3588 (minimumSize(int,int)): Changed documentation. Checked if
3589 minimum size had been previously set and changed values of
3590 Dimension returned if peer == null.
3591 (preferredSize(int, int)): Checked if preferred size had been
3592 previously set and changed values of Dimension returned if
3595 2006-11-03 Tania Bento <tbento@redhat.com>
3597 * java/awt/event/ComponentEvent.java
3598 (paramString): Changed format of string representation returned.
3600 2006-11-03 Roman Kennke <kennke@aicas.com>
3602 * javax/swing/text/html/HTMLDocument.java
3603 (HTMLReader.FormAction.start): Added support for textarea.
3604 (HTMLReader.FormAction.end): Added support for textarea.
3605 (HTMLReader.HeadAction.end): Call super to actually close the
3607 (HTMLReader.inTextArea): New field.
3608 (HTMLReader.textAreaDocument): New field.
3609 (HTMLReader.handleText): Call textAreaContent when inside
3611 (HTMLReader.textAreaContent): Implemented to initialize
3612 the text area's model.
3613 * javax/swing/text/html/FormView.java
3614 (createComponent): Added support for textarea tag.
3616 2006-11-03 Roman Kennke <kennke@aicas.com>
3618 * javax/swing/text/html/HTMLDocument.java
3619 (HTMLReader.IsindexAction.start): Implemented.
3621 2006-11-03 Roman Kennke <kennke@aicas.com>
3623 * javax/swing/text/html/StyleSheet.java
3624 (addRule): Implemented.
3625 * javax/swing/text/html/HTMLDocument.java
3626 (HTMLReader.inStyleTag): New field.
3627 (HTMLReader.styles): New field.
3628 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3630 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3631 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3632 (HTMLReader.handleText): When inside a style tag, add
3633 content to the styles array.
3635 2006-11-02 Roman Kennke <kennke@aicas.com>
3637 * javax/swing/text/html/FormView.java
3638 (maxIsPreferred): New field.
3639 (createComponent): Initialize components correctly.
3640 (getMaximumSpan): Return the preferred span for components
3641 that need this. The maxIsPreferred flag is set accordingly
3643 * javax/swing/text/html/HTMLDocument.java
3644 (HTMLReader.FormAction.start): Implemented to set the
3645 correct model as attribute.
3646 (HTMLReader.FormAction.setModel): New helper method.
3647 (HTMLReader.FormAction.end): Call super to finish the element.
3648 Added TODO about things left to do.
3649 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3650 than htmlAttributeSet.
3651 * javax/swing/text/html/HTMLEditorKit.java
3652 (HTMLFactory.create): Create BlockView for FORM tags.
3653 Create FormView for INPUT, TEXTAREA and SELECT tags.
3655 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3657 * java/awt/geom/GeneralPath.java: API doc fixes.
3659 2006-11-02 Roman Kennke <kennke@aicas.com>
3661 * javax/swing/text/html/ImageView.java
3662 (getImageURL): Fetch attribute from element. Consider the
3663 base URL for relative image locations.
3665 2006-11-02 Roman Kennke <kennke@aicas.com>
3667 * javax/swing/JEditorPane.java
3668 (setContentType): Strip off attributes.
3669 * javax/swing/text/html/HTMLEditorKit.java
3670 (LinkController.activateLink(int,JEditorPane,int,int): New
3671 method. Implements activation of a hyperlink.
3672 (LinkController.activateLinke(int,JEditorPane)): Delegate
3673 to the other activateLink() method.
3674 (LinkController.createHyperlinkEvent): New helper method.
3675 (LinkController.mouseClicked): Implemented to activate the link.
3676 (LinkController.mouseDragged): Added comment that this
3677 method does nothing.
3678 (LinkController.mouseMoved): Update cursor for hyperlinks.
3679 (mouseHandler): Renamed field to linkController.
3680 (HTMLEditorKit): Create a link controller.
3681 (clone): Give the clone a new link controller.
3682 (deinstall): De-install link controller as mouseMotionListener too.
3683 (install): Install link controller as mouseMotionListener too.
3685 2006-11-02 Roman Kennke <kennke@aicas.com>
3688 * javax/swing/text/FlowView.java
3689 (FlowStrategy.changedUpdate): Reversed condition. This caused
3690 wrong layout and bad performance.
3691 (FlowStrategy.insertUpdate): Reversed condition. This caused
3692 wrong layout and bad performance.
3693 (FlowStrategy.removeUpdate): Reversed condition. This caused
3694 wrong layout and bad performance.
3695 (LogicalView): Changed to be a subclass of CompositeView.
3696 (LogicalView()): Only take one Element argument.
3697 (LogicalView.childAllocation): New method for implementing
3698 the abstract CompositeView method.
3699 (LogicalView.forwardUpdateToView): Overridden for correct
3701 (getMinimumSpan): Overridden to handle line breaking correctly.
3702 (getPreferredSpan): Implemented to handle line breaking correctly.
3703 (getViewAtPoint): New method for implementing
3704 the abstract CompositeView method.
3705 (getViewIndexAtPosition): Overridden to handle leaf elements
3707 (isAfter): New method for implementing
3708 the abstract CompositeView method.
3709 (isBefore): New method for implementing
3710 the abstract CompositeView method.
3711 (loadChildren): Overridden to handle leaf elements
3713 (paint): New method for implementing
3714 the abstract CompositeView method.
3715 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3716 (loadChildren): Initialize flow layout by sending a synthetic
3717 insertUpdate() to the layout strategy.
3718 * javax/swing/text/GlyphView.java
3719 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3720 font metrics if component is not available. Add initial offset
3722 (breakView): Be more clever when breaking the view.
3723 (getBreakLocation): New helper method to determine a good
3725 (getBreakWeight): Be more clever when breaking the view.
3726 (getTabbedSpan): Make sure we have a painter. Use view's
3727 start and end offset rather than the element's.
3728 * javax/swing/text/Utilities.java
3729 (drawTabbedText): Avoid useless add and sub with the y offset.
3731 2006-11-02 Roman Kennke <kennke@aicas.com>
3734 * gnu/java/awt/peer/ClasspathFontPeer.java
3735 (getStringBounds): Removed abstract method. This is replaced
3736 in java.awt.Font to use a TextLayout.
3737 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3738 (GtkWindowPeer): Set a font on the window object.
3739 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3740 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3741 Changed to take char,int,int instead of String. Filter
3743 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3744 Create char array out of string.
3745 (getLogicalBounds): Don't translate bounds. They already are
3747 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3748 (stringWidth): Filter out control characters.
3749 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3750 (getStringBounds): Removed unneeded method.
3751 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3753 * gnu/java/awt/peer/qt/QtFontPeer.java
3754 (getStringBounds): Removed unneeded method.
3755 * gnu/java/awt/peer/x/XFontPeer.java
3756 (getStringBounds): Removed unneeded method.
3757 * gnu/java/awt/peer/x/XFontPeer2.java
3758 (getStringBounds): Removed unneeded method.
3759 * java/awt/Font.java
3760 (getStringBounds(char[],int,int,FontRenderContext)):
3761 Use TextLayout to determine the bounds.
3762 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3763 Delegate to the char[] version of this method.
3764 (getStringBounds(String,FontRenderContext)):
3765 Delegate to the char[] version of this method.
3766 (getStringBounds(String,int,int,FontRenderContext)):
3767 Delegate to the String version of this method.
3769 2006-11-01 Tania Bento <tbento@redhat.com>
3771 * java/awt/ScrollPaneAdjustable.java
3772 (paramString): Changed format of string representation returned.
3773 (paramStringHelper): New private method.
3775 2006-11-01 Tania Bento <tbento@redhat.com>
3777 * java/awt/GridBagLayout.java
3778 (toString): Implemented method.
3780 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3782 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3783 initialization to NP_Initialize.
3784 (NP_Initialize): Initialize GLib threading.
3786 2006-10-31 Tania Bento <tbento@redhat.com>
3788 * javax/swing/JTextField.java
3789 (fireActionPerformed): When creating the new event, if
3790 actionCommand == null, then getText() is used.
3792 2006-10-31 Francis Kung <fkung@redhat.com>
3794 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3795 (fillArc): Corrected arc type to Arc2D.PIE.
3797 2006-10-31 Roman Kennke <kennke@aicas.com>
3799 * javax/swing/text/html/HTMLDocument.java
3800 (HTMLReader.PreAction.end): Implemented.
3801 (HTMLReader.PreAction.start): Implemented.
3802 (HTMLReader.inPreTag): New field.
3803 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3804 (HTMLReader.preContent): Implemented.
3806 2006-10-31 Tania Bento <tbento@redhat.com>
3808 * javax/swing/JTextField.java
3809 (fireActionPerformed): When creating the new event,
3810 actionCommand should be used as the command, not
3813 2006-10-31 Roman Kennke <kennke@aicas.com>
3815 * javax/swing/text/html/HTMLEditorKit.java
3816 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3817 HTML or Styled documents.
3819 2006-10-31 David Fu <fchoong@netbeans.jp>
3821 * javax/swing/text/html/HTMLWriter.java: New class.
3823 2006-10-30 Roman Kennke <kennke@aicas.com>
3825 * java/awt/dnd/DragSourceContext.java
3826 (dragExit): Use constant fields instead of 0.
3827 (updateCurrentCursor): Completed implementation.
3829 2006-10-30 Roman Kennke <kennke@aicas.com>
3831 * java/awt/dnd/DragGestureRecognizer.java
3832 (resetRecognizer): Added API docs. Do not replace the events object
3833 but rather clear() it. Removed not implemented tag.
3835 2006-10-30 Roman Kennke <kennke@aicas.com>
3837 * java/awt/datatransfer/DataFlavor.java
3838 (writeExternal): Remove not implemented tag.
3840 2006-10-30 Roman Kennke <kennke@aicas.com>
3842 * java/awt/datatransfer/DataFlavor.java
3843 (javaFileListFlavor): Don't explicitly specify class.
3844 (plainTextFlavor): Don't explicitly specify class.
3845 (mimeType): Changed to type MimeType. Remove final.
3846 (representationClass): Remove final.
3847 (DataFlavor): Don't do anything here.
3848 (DataFlavor(Class,String,String)): Removed.
3849 (DataFlavor(Class,String)): Initialize here.
3850 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3851 (DataFlavor(String,String)): Initialize in init().
3852 (DataFlavor(String)): Initialize in init().
3853 (init): New initialization method.
3854 (getMimeType): Delegate to MimeType.toString().
3855 (getParameter(String,String)): Removed. Is now done in MimeType.
3856 (getParameter(String)): Delegate to MimeType.
3857 (getPrimaryType): Delegate to MimeType.
3858 (getRepresentationClassFromMime): Removed.
3859 (getRepresentationClassFromMimeThrows): Removed.
3860 (getSubType): Delegate to MimeType.
3861 (hashCode): Take MimeType.toString() for the hashCode.
3862 (isFlavorRemoveObjectType): Return true only when representation
3863 class is remove and serializable and the mime type is remote.
3864 (isFlavorSerializedObjectType): Return true only when representation
3865 class is serializable and the mime type is serialized.
3866 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3867 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3868 (readExternal): Implemented stub method.
3869 (writeExternal): Implemented stub method.
3870 * java/awt/datatransfer/MimeType.java: New helper class.
3872 2006-10-28 Roman Kennke <kennke@aicas.com>
3874 * javax/swing/TransferHandler.java
3875 (importData): Implemented stub method. Added API docs.
3877 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3879 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3881 * native/jni/classpath/classpath_jawt.h: Likewise.
3882 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3883 initializer for surface_info_x11->depth.
3885 2006-10-26 Tania Bento <tbento@redhat.com>
3887 * java/awt/FileDialog.java:
3888 (setFile): Changed if-clause condition.
3890 2006-10-25 Francis Kung <fkung@redhat.com>
3892 * include/gnu_java_nio_VMChannel.h,
3893 * include/java_net_VMNetworkInterface.h,
3894 * include/gnu_java_nio_EpollSelectorImpl.h,
3895 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3896 * include/gnu_java_nio_FileChannelImpl.h,
3897 * include/gnu_java_nio_KqueueSelectorImpl.h,
3898 * include/gnu_java_nio_VMPipe.h,
3899 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3901 2006-10-25 Tania Bento <tbento@redhat.com>
3903 * java/awt/Dialog.java: Created new private variable
3905 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3906 Set cursor to default cursor.
3907 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3909 (generateName): New method.
3910 (getUniqueLong): New private method.
3911 * java/awt/FileDialog.java: Created new private variable
3912 next_file_dialog_number.
3913 (setFile): If file == "", set it to null.
3914 (generateName): New method.
3915 (getUniqueLong): New private method.
3917 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3919 * java/net/MulticastSocket.java:
3920 (setNetworkInterface): Rewritten.
3922 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3924 * native/jni/java-net/javanet.h: Added declaration for
3925 _javanet_create_inetaddress.
3926 * native/jni/java-net/javanet.c:
3927 (_javanet_create_inetaddress): Removed static keyword.
3929 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3931 * gnu/java/net/PlainDatagramSocketImpl.java:
3932 (connect): Use VMChannel instance for connect call.
3933 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3934 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3935 (setOption): Handle multicast options.
3936 (getOption): Handle multicast options.
3937 * gnu/java/net/PlainSocketImpl.java:
3938 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3939 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3940 (setOption): Filter unappropriate options.
3941 (getOption): Filter unappropriate options.
3942 (connect): Use given SocketAddress.
3943 (close): Reset address and port.
3945 * include/Makefile.am: Removed all occurences of
3946 gnu_java_net_VMPlainDatagramSocketImpl.h.
3947 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3948 * native/jni/java-net/Makefile.am: Removed
3949 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3950 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3952 as SocketException, declare to throw SocketException.
3953 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3954 for SocketException and ConnectException.
3955 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3957 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3959 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3960 (JCL_thread_interrupted): New function.
3961 (initIDs): Added initialisation for isThreadInterrupted method id.
3962 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3963 CPNET_IP_TTL to java_sockopt enum.
3964 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3965 case, handle SO_LINGER case properly.
3966 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3967 case, handle SO_LINGER case properly.
3968 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3970 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3972 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3974 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3976 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3977 * vm/reference/gnu/java/nio/VMChannel.java:
3978 (connect(int, byte[], int, int)): Declare to throw SocketException.
3979 (connect6): Declare to throw SocketException.
3980 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3981 (isThreadInterrupted): New method.
3982 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3984 (setTimeToLive): New method.
3985 (getTimeToLive): New method.
3986 (setMulticastInterface(int, InetAddress)): New method.
3987 (setMulticastInterface(int, int, Inet4Address): New method.
3988 (setMulticastInterface6(int, int, Inet6Address): New method.
3989 (setOptions): Handle SO_LINGER case.
3990 (getOptions): Add missing SO_REUSEADDR case.
3991 * java/net/Socket.java:
3992 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3993 when exception was thrown out of connect().
3994 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3995 Boolean.FALSE with Integer.valueOf(-1).
3996 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3997 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3998 * NEWS: Documented VM interface changes.
4000 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4002 * java/net/Inet6Address.java:
4003 (isMulticastAddress): Fixed check.
4005 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4008 * java/net/MulticastSocket.java:
4009 (getNetworkInterface): Return a special NetworkInterface instance
4010 if the socket's multicast interface is set to any.
4012 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4015 * java/net/NetworkInterface.java:
4016 (createAnyInterface): New method.
4017 (equals): Added if-statement to handle case where netif.name is null.
4018 * vm/reference/java/net/VMNetworkInterface.java:
4019 (hashCode): Rewritten.
4020 (VMNetworkInterface): New constructor.
4022 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4024 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4025 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4026 Add ASM_JAR to bootclasspath.
4028 2006-10-24 Tania Bento <tbento@redhat.com>
4030 * java/awt/Scrollbar.java:
4031 (setLineIncrement): Removed unnecessary if-clause and if
4032 lineIncrement == 0, then it should be set to 1, not 0.
4033 (setPageIncrement): Removed unnecessary if-clause and if
4034 pageIncrement == 0, then it should be set to 1, not 0.
4035 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4036 If maximum <= minimum, maximum should be set to mininum + 1. The
4037 actual value of maximum is maximum - visibleAmount, so I made
4038 this change to the appropriate if-check. Remove the two unneccessary
4041 2006-10-23 Francis Kung <fkung@redhat.com>
4043 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4044 (cairoSetFont): New method.
4045 (copy): Set font using setFont method.
4046 (setFont): Call cairoSetFont.
4047 (setup): Set font using setFont method.
4048 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4050 (install_font_peer): Removed.
4051 (cairoDrawGlyphVector): Removed call to install_font_peer.
4052 (cairoSetFont): New method.
4054 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4056 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4057 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4058 NativeEventLoopRunningEvent after GTK main loop start and stop.
4059 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4060 (getNextEvent): Set dispatchThread to null.
4061 (postEventImpl): Set nativeLoopRunning.
4062 (pop): Interrupt event dispatch thread.
4063 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4065 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
4067 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4069 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4072 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
4074 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4075 * javax/crypto/CipherOutputStream.java: Re-implemented.
4076 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4077 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4078 decryption mode and check if it is a complete block.
4079 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4080 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4081 partially processed data into account.
4083 2006-10-21 Tom Tromey <tromey@redhat.com>
4086 * java/util/AbstractCollection.java (toArray): Removed cast.
4088 2006-10-20 Tom Tromey <tromey@redhat.com>
4090 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4091 Don't use mangled class name for .h file.
4092 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4093 Don't use mangled class name for .c file.
4094 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4095 Handle classes from the default package.
4097 2006-10-20 Francis Kung <fkung@redhat.com>
4099 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4101 2006-10-19 Francis Kung <fkung@redhat.com>
4104 * java/awt/image/BufferedImage.java
4105 (constructor): Updated some properties of default image types.
4106 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4107 (argb32): Updated field to match default in BufferedImage.
4109 2006-10-18 Roman Kennke <kennke@aicas.com>
4112 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4113 (copyArea): Changed size comparison to return when size == 0
4115 * javax/swing/JViewport.java
4116 (paintBackingStore): Check width and height of blitted area
4117 and only do blit if its > 0.
4118 (paintBlit): Check width and height of blitted area
4119 and only do blit if its > 0.
4121 2006-10-18 Roman Kennke <kennke@aicas.com>
4124 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4125 (maximize): New native method.
4126 (unmaximize): New native method.
4127 (iconify): New native method.
4128 (deiconify): New native method.
4129 (getState): Implemented.
4130 (setState): Implemented.
4131 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4132 (oldState): Rename to windowState and made protected, so that
4133 the FramePeer can access it.
4134 (postWindowEvent): Handle state change events more gently and
4136 * java/awt/Frame.java
4137 (getState): Fetch state from getExtendedState().
4138 (setExtendedState): Update the peer. Check if the state change
4139 is actually supported.
4140 (getExtendedState): Update the state from the peer.
4141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4142 (maximize): New method.
4143 (unmaximize): New method.
4144 (iconify): New method.
4145 (deiconify): New method.
4146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4147 (AWT_FRAME_NORMAL): New macro.
4148 (AWT_FRAME_ICONIFIED): New macro.
4149 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4150 (window_window_state_cb): Rewritten to handle window state changes
4151 more gently (mostly on the java side of the world).
4152 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4154 2006-10-18 Tania Bento <tbento@redhat.com>
4156 * java/awt/CardLayout.java:
4157 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4158 its height and width if Container passed as argument is null.
4159 (gotoComponent): Consider the case where the component is not visible.
4161 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4163 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4165 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4167 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4169 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4171 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4173 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4174 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4175 Retrieve user-visible strings through Messages.getString.
4176 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4177 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4179 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4181 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4183 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4185 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4187 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4190 2006-10-18 Roman Kennke <kennke@aicas.com>
4192 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4193 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4194 (window_show_cb): Removed unnecessary function.
4195 (connect_signals): Don't connect signal for show. *
4196 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4197 (hasBeenShown): Removed. This is handled in java.awt.Window.
4198 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4199 in java.awt.Window. * java/awt/Window.java
4200 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4202 2006-10-18 Francis Kung <fkung@redhat.com>
4204 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4205 (drawRenderedImage): New method.
4206 (drawImage): New method.
4207 (CairoSurfaceGraphics): Set clip.
4208 (createBuffer): New method.
4209 (getBufferCM): New method.
4210 (drawComposite): New method.
4212 (getNativeCM): New method.
4213 (drawGlyphVector): New method.
4215 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4216 (getNativeCM): Reflect renamed field.
4217 * gnu/java/awt/peer/gtk/CairoSurface.java
4218 (cairoCM_pre): Renamed from cairoColorModel.
4219 (cairoColorModel): Set premultiplication to false.
4221 2006-10-18 Roman Kennke <kennke@aicas.com>
4224 * javax/swing/JScrollPane.java
4225 (viewportBorder): Made field private.
4226 (wheelScrollingEnabled): Made field private.
4227 (JScrollPane): Enabled wheel scrolling by default.
4228 * javax/swing/JTree.java
4229 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4231 (getScrollableUnitIncrement): Fixed thinko.
4232 * javax/swing/plaf/basic/BasicScrollBarUI.java
4233 (static scrollByBlock): New static method to avoid code duplication
4234 for the BasicScrollPane wheel scrolling.
4235 (static scrollByUnits): New static method to avoid code duplication
4236 for the BasicScrollPane wheel scrolling.
4237 (scrollByBlock): Delegate to static helper method.
4238 (scrollByUnit): Delegate to static helper method.
4239 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4240 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4241 static helper methods to avoid code duplication.
4242 (MouseWheelHandler.bounds): Removed.
4243 (MouseWheelHandler.getValue): Removed.
4244 (MouseWheelHandler.scroll): Removed.
4246 2006-10-18 Roman Kennke <kennke@aicas.com>
4249 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4250 (updateComponent): Don't override this here.
4251 * java/awt/Window.java
4252 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4253 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4255 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4258 2006-10-18 Roman Kennke <kennke@aicas.com>
4260 * javax/swing/JEditorPane.java
4261 (getStream): Try to detect and set the content type of the
4264 2006-10-18 Roman Kennke <kennke@aicas.com>
4266 * javax/swing/RepaintManager.java
4267 (RepaintWorkerEvent): Pass full set of params to super.
4268 (RepaintWorker.dispatch): Overridden to allow apps to call this
4270 (addDirtyRegion): Synchronize a little more to protect the
4271 dirtyComponents field and avoid NPEs.
4272 (invokeLater): Pass full set of params to RepaintWorkerEvent
4275 2006-10-18 Roman Kennke <kennke@aicas.com>
4277 * javax/swing/JEditorPane.java
4278 (page): Removed field. The page is now stored in the correct
4280 (getPage): Fetch page URL from document property.
4281 (read): Set the document for this JEditorPane. Use a Reader
4282 for reading in the document.
4283 (setPage): Call getStream() to get the stream from which we read.
4284 Fire property change. Store page in document property.
4286 2006-10-18 Roman Kennke <kennke@aicas.com>
4288 * java/awt/datatransfer/DataFlavor.java
4289 (DataFlavor(String)): Removed check for space in mime string.
4291 2006-10-18 Roman Kennke <kennke@aicas.com>
4293 * java/awt/Container.java
4294 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4295 begin|endValidate().
4296 (validate): Call ContainerPeer.begin|endValidate() here.
4297 Added some local vars to avoid NPEs.
4299 2006-10-18 Roman Kennke <kennke@aicas.com>
4301 * native/target/.cvsignore
4302 * native/target/Linux/.cvsignore
4303 * native/target/generic/.cvsignore:
4304 Added to let CVS ignore the generated Makefile and Makefile.in
4307 2006-10-18 Roman Kennke <kennke@aicas.com>
4310 * java/awt/Window.java
4311 (eventTypeEnabled): Overridden to handle WindowEvents.
4312 (processEvent): Switch between processWindowEvent(),
4313 processWindowFocusEvent() and processWindowStateEvent() here,
4314 rather than simply calling processWindowEvent().
4315 (processWindowEvent): Only dispatch event to listener, do not
4316 switch to processWindowFocusEvent() or processWindowStateEvent()
4318 * javax/swing/JFrame.java
4319 (frameInit): Explicitly enable window and key events here.
4320 (processWindowEvent): Throw out some unnecessary code.
4321 * javax/swing/JWindow.java
4322 (windowInit): Explicitly enable key events here.
4323 * javax/swing/JDialog.java
4324 (close_action): Renamed to closeAction.
4325 (dialogInit): Explicitly enable window events here.
4326 (getDefaultCloseOperation): Renamed close_action to closeAction.
4327 (processWindowEvent): Throw out some unnecessary code.
4328 Renamed close_action to closeAction.
4329 (setDefaultCloseOperation): Renamed close_action to closeAction.
4331 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4333 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4334 to track native GTK event loop status.
4335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4336 clear running flag when native GTK event loop starts and stops.
4338 2006-10-17 Roman Kennke <kennke@aicas.com>
4340 * javax/swing/TransferHandler.java
4341 (exportToClipboard): Implemented.
4343 2006-10-17 Francis Kung <fkung@redhat.com>
4345 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4346 region to account for pixel-shifting.
4347 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4350 2006-10-17 Francis Kung <fkung@redhat.com>
4353 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4354 (getLogicalBounds): Translate individual glyphs before appending bounds.
4355 (getOutline): Translate individual glyphs before appending outline.
4357 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4360 * java/awt/font/TextLayout.java
4362 (constructor): Store bidi in field.
4363 (getCharacterLevel): Implemented.
4365 2006-10-17 Roman Kennke <kennke@aicas.com>
4367 * javax/swing/TransferHandler.java
4368 (PropertyTransferable): New inner class. Handles transfers
4369 from component properties.
4370 (createTransferable): Implemented.
4372 2006-10-17 Francis Kung <fkung@redhat.com>
4374 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4375 (drawComposite): Ensure composite does not extend beyond buffer
4377 * java/awt/image/Raster.java
4378 (createChild): Ensure child does not extend beyond parent's
4380 * java/awt/image/WritableRaster.java
4381 (createWritableChild): Ensure child does not extend beyond
4384 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4386 * native/jni/classpath/jcl.c
4387 (JNI_OnLoad): Corrected calling convention.
4389 2006-10-16 Roman Kennke <kennke@aicas.com>
4391 * javax/swing/TransferHandler.java
4392 (propertyName): New field.
4393 (TransferHandler(String)): Store property name in field.
4394 (canImport): Implemented stub method.
4395 (exportDone): This is a no-op. Removed not-implemented mark.
4396 (getPropertyDataFlavor): New helper method.
4397 (getPropertyDescriptor): New helper method.
4399 2006-10-16 Roman Kennke <kennke@aicas.com>
4401 * javax/swing/AbstractButton.java
4402 (AccessibleJButton.getAfterIndex): Implemented.
4403 (AccessibleJButton.getAtIndex): Implemented.
4404 (AccessibleJButton.getBeforeIndex): Implemented.
4405 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4406 method implementation.
4408 2006-10-16 Roman Kennke <kennke@aicas.com>
4410 * javax/swing/JLabel.java
4411 (AccessibleJLabel.getIndexAtPoint): Implemented.
4412 (AccessibleJLabel.getCharacterBounds): Implemented.
4413 (AccessibleJLabel.getTextRectangle): New helper method.
4415 2006-10-16 Roman Kennke <kennke@aicas.com>
4417 * javax/swing/filechooser/FileSystemView.java
4418 (getFileSystemView): Mark as implemented.
4420 2006-10-14 Roman Kennke <kennke@aicas.com>
4423 * javax/swing/JComponent.java
4424 (toolTipText): Removed field.
4425 (createToolTip): Don't set tooltip text here. This is done
4426 in the ToolTipManager.
4427 (setToolTipText): Set tooltip text as client property.
4428 (getToolTipText): Get tooltip text from client property.
4429 * javax/swing/ToolTipManager.java
4430 (currentComponent): Made field non-static and of type JComponent.
4431 (currentPoint): Made field non-static.
4432 (currentTip): Made field non-static.
4433 (popup): Made field non-static.
4434 (toolTipText): New field. Stores the current tooltip text.
4435 (checkTipUpdate): New helper method. Checks for updates of
4436 the tooltip text and triggers the appropriate actions.
4437 (getContentPaneDeepestComponent): Removed unneeded casts.
4438 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4439 text from component.
4440 (mouseMoved): Check for tooltip text updates.
4441 (showTip): Set tooltip text from current setting.
4443 2006-10-14 Roman Kennke <kennke@aicas.com>
4446 * javax/swing/JSlider.java
4447 (setPaintLabels): Call setLabelTable() instead of setting
4448 the field directly. This also updates the label's size.
4450 2006-10-13 Tom Tromey <tromey@redhat.com>
4452 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4455 2006-10-13 Tania Bento <tbento@redhat.com>
4457 * java/awt/ScrollPane.java
4458 (setLayout): Should throw AWTError whenever called.
4460 2006-10-13 Roman Kennke <kennke@aicas.com>
4463 * java/awt/Component.java
4464 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4465 update the AWT's knowledge about a component's size.
4466 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4467 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4468 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4469 to update the AWT's knowledge about the component bounds.
4471 2006-10-13 Tania Bento <tbento@redhat.com>
4473 * java/awt/ScrollPaneAdjustable.java
4474 (setMaximum): Should throw AWTError whenever called.
4476 (setVisibleAmount): Same.
4478 2006-10-13 Tania Bento <tbento@redhat.com>
4480 * java/awt/ScrollPane.java
4481 (addImpl): When calling super, index should be value passed,
4483 (getIsValidString): New helper method for paramString().
4484 (getScrollbarDisplayString): New helper method for paramString().
4485 (paramString): Changed format of outputted string.
4487 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4489 * javax/swing/tree/DefaultTreeSelectionModel.java
4490 (clone): Added cast to TreePath[].
4492 2006-10-13 Roman Kennke <kennke@aicas.com>
4495 * javax/swing/JMenuItem.java
4496 (isDragging): New field. Indicates if we are inside a mouse
4498 (createMenuDragMouseEvent): Removed unneeded method.
4499 (processMenuDragMouseEvent): Track if we are dragging.
4500 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4501 * javax/swing/plaf/basic/BasicMenuItemUI.java
4502 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4503 MenuSelectionManager from event.
4504 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4505 MenuSelectionManager from event.
4506 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4507 MenuSelectionManager from event.
4508 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4509 release inside menu item, otherwise clear selection.
4510 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4511 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4512 (doClick): Perform an immediate click.
4514 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4516 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4517 return if object is not in the list.
4519 2006-10-12 Andrew Haley <aph@redhat.com>
4521 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4522 * java/lang/ThreadLocal.java: Likewise.
4524 2006-10-12 Roman Kennke <kennke@aicas.com>
4527 * javax/swing/JSlider.java
4528 (LabelUIResource): New inner class. A JLabel as UIResource.
4529 (createStandardLabels): Don't set label bounds here.
4530 Create LabelUIResource instances.
4531 (setInverted): Repaint.
4532 (setLabelTable): Update the label UIs. Revalidate and repaint.
4533 (setMajorTickSpacing): Update the label table. Repaint if
4535 (setMinorTickSpacing): Repaint if necessary.
4536 (setOrientation): Revalidate.
4537 (setPaintLabels): Revalidate and repaint.
4538 (setPaintTicks): Revalidate and repaint.
4539 (setPaintTrack): Repaint.
4540 (updateLabelUIs): Set the label sizes here.
4541 (updateUI): Also update the label UIs.
4542 * javax/swing/plaf/basic/BasicSliderUI.java
4543 (ComponentHandler.componentResized): Don't revalidate.
4544 (FocusHandler.focusGained): Don't set field.
4545 (FocusHandler.focusLost): Don't set field.
4546 (PropertyChangeHandler.propertyChange): Calculate geometry
4547 and repaint for a couple more properties.
4548 (TrackListener.mouseReleased): Repaint.
4549 (hasFocus): Removed unneeded field.
4550 (calculateContentRect): No need to check for content size < 0.
4551 (calculateFocusRect): Use insets from insetCache.
4552 (calculateLabelRect): Fixed calculation of label rectangle.
4553 It is relative to the tick rectangle, rather than the content
4555 (calculateTickRect): Small restructuring to avoid unnecessary
4557 (calculateTrackRect): Fixed calculation of track rectangle.
4558 (getMaximumSize): Fixed. Fetch preferred size and set
4559 the height of width to Short.MAX_VALUE.
4560 (getMinimumHorizontalSize): Fixed to return UIManager value.
4561 (getMinimumVerticalSize): Fixed to return UIManager value.
4562 (getPreferredHorizontalSize): Fixed to return UIManager value.
4563 (getPreferredVerticalSize): Fixed to return UIManager value.
4564 (getMinimumSize): Fixed to return the UIManager value plus
4566 (getPreferredSize): Fixed to return the UIManager value plus
4568 (getWidthOfWidestLabel): Restructured for more cleanness and
4570 (hitClip): New helper method.
4571 (paintHorizontalLabel): Replaced by more efficient and clean
4573 (paintVerticalLabel): Replaced by more efficient and clean
4575 (paintLabels): Replaced by more efficient and clean
4577 (paint): Check if rectangles intersect with clip for maximum
4579 (recalculateIfInsetsChanged): Fixed. This method should
4580 recalculate only when the insets changed.
4581 (setThumbLocation): Repaint with a reasonable clip.
4582 (xPositionForValue): Made more clean and efficient.
4583 (yPositionForValue): Made more clean and efficient.
4584 * javax/swing/plaf/basic/BasicLookAndFeel.java
4585 (initComponenDefaults): Added Slider.horizontalSize,
4586 Slider.verticalSize, Slider.minimumHorizontalSize and
4587 Slider.minimumVerticalSize properties.
4588 * javax/swing/plaf/metal/MetalSliderUI.java
4589 (getTickLength): Add 1 for horizontal sliders and 3 for
4591 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4592 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4593 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4594 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4596 2006-10-12 Roman Kennke <kennke@aicas.com>
4599 * javax/swing/text/FlowView.java
4600 (FlowStrategy.layout): Preserve logical views from getting lost.
4601 (FlowStrategy.layoutRow): Fix line breaking.
4602 (FlowStrategy.adjustRow): Fix line breaking.
4603 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4604 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4605 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4606 (createView): Don't check index.
4607 (contains): New helper method.
4608 (reparent): New helper method.
4609 (layoutDirty): Removed unneeded field.
4610 (FlowView): Removed layoutDirty field init.
4611 (changedUpdate): Removed layoutDirty handling.
4612 (insertUpdate): Removed layoutDirty handling.
4613 (removeUpdate): Removed layoutDirty handling.
4614 (layout): Use isLayoutValid() rather than the layoutDirty field.
4615 * javax/swing/text/GlyphView.java
4616 (startOffset): Removed.
4617 (endOffset): Removed.
4618 (offset): New field.
4619 (length): New field.
4620 (GlyphView): Initialize new fields. Removed old fields.
4621 (createFragment): Create fragment with new relative offsets.
4622 (getEndOffset): Work with new relative offsets.
4623 (getStartOffset): Work with new relative offsets.
4624 * javax/swing/text/ParagraphView.java
4625 (Row.getStartOffset): Overidden to determine the minimum start
4626 offset from the children.
4627 (Row.getEndOffset): Overidden to determine the maximum end
4628 offset from the children.
4629 * javax/swing/text/html/BRView.java
4630 Make subclass of InlineView.
4631 (getBreakWeight): Fall back to super for Y_AXIS.
4633 2006-10-12 Roman Kennke <kennke@aicas.com>
4636 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4637 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4638 one that avoids faulty state that could cause division by zero
4641 2006-10-12 Roman Kennke <kennke@aicas.com>
4644 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4645 (paint): Determine correct icon. Added support for HTML label.
4646 Added small optimizations.
4647 (getPreferredSize): Only consider the buttons iconTextGap, and
4648 only when the text is not null.
4649 * javax/swing/plaf/basic/BasicLookAndFeel.java
4650 (initComponentDefaults): Fetch border for RadioButton from
4651 BasicButtons.getRadioButtonBorder().
4652 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4653 (paintFocus): Paint focus rectangle one pixel smaller.
4655 2006-10-12 Roman Kennke <kennke@aicas.com>
4658 * javax/swing/tree/AbstractLayoutCache.java
4659 (getNodeDimensions): Don't throw InternalError, but instead
4661 (getRowsForPaths): Check for null here.
4662 (isFixedRowHeight): Returns true when rowHeight > 0.
4663 (setSelectionModel): Set this as the row mapper for the selection
4665 * javax/swing/tree/VariableHeightLayoutCache.java
4666 (NodeRecord.NodeRecord): Initialize bounds field.
4667 (getBounds): Simply return the bounds field.
4668 (row2Node): Changed to be an ArrayList.
4669 (RECT_CACHE): New field. Caches a Rectangle instance.
4670 (countRows): Added y parameter and return value. The method
4671 now takes the current y position as parameter, and returns
4672 the updated y position.
4673 (getBounds): Fixed to return the correct bounds.
4674 (getPathForRow): Replaced by fixed implementation.
4675 (getPreferredHeight): Replaced by more efficient implementation.
4676 This simply fetches the last node record and returns its lower
4678 (getPreferredWidth): Added null check.
4679 (getVisibleChildCount): Added null check.
4680 (getVisiblePathsFrom): Added null check.
4681 (setExpandedState): Also expand the ancestors of the node
4683 (setModel): Set dirty flag rather than updating for real.
4684 (setNodeDimensions): Overridden to set the dirty flag.
4685 (setRowHeight): Overridden to set the dirty flag.
4686 (update): Don't special case the root here, this is done now
4689 2006-10-12 Roman Kennke <kennke@aicas.com>
4691 * javax/swing/JComponent.java
4692 (paintImmediately2): Added support for components which need
4693 to force themselves as paint root.
4694 (isPaintRoot): New method. This should be overridden by components
4695 which need to force themselves as paint root.
4696 * javax/swing/JViewport.java
4697 (isPaintRoot): Overridden to force the viewport as paint root
4698 when running in backingstore mode.
4700 2006-10-12 Roman Kennke <kennke@aicas.com>
4702 * javax/swing/tree/DefaultTreeSelectionModel.java
4703 (PathPlaceHolder): New inner class. Wraps a path and its status
4705 (selectedPaths): New field. A supporting datastructure.
4706 (tmpPaths): New field. A supporting datastructure.
4707 (DefaultTreeSelectionModel): Initialize the list selection model,
4708 the leadIndex and the supporting datastructures.
4709 (addPropertyChangeListener): Create changeSupport object lazily.
4710 (addSelectionPaths): Mostly rewritten to handle the different
4711 selection modes correctly.
4712 (addSelectionPath): Delegate to addSelectionPaths().
4713 (arePathsContiguous): Replaced with more efficient implementation
4715 (canPathBeAdded): Removed unneeded method.
4716 (canPathsBeAdded): Replaced with more efficient implementation.
4717 (clearSelection): Create correct event. Clear the fields correctly,
4718 including the supporting datastructures.
4719 (clone): Also clone the supporting datastructures and nullify
4720 changeSupport field.
4721 (getMaxSelectionRow): Delegate to list selection model.
4722 (getMinSelectionRow): Delegate to list selection model.
4723 (getPath): Removed unneeded method.
4724 (getPropertyChangeListeners): Handle null changeSupport field
4726 (getRow): Handle null rowMapper field correctly.
4727 (getSelectionRows): Handle invisible rows correctly.
4728 (insureRowContinuity): Replaced by more efficient and correct
4730 (isRowSelected): Delegate to list selection model.
4731 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4733 (removePropertyChangeListener): Handle null changeSupport field.
4734 (removeSelectionPaths): Mostly rewritten to handle the different
4735 selection modes correctly.
4736 (removeSelectionPath): Delegate to removeSelectionPaths().
4737 (resetRowSelection): Handle list selection model.
4738 (selectOne): Removed unneeded field.
4739 (setRowMapper): Reset the row selection.
4740 (setSelectionMode): Check for invalid mode and set to
4741 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4742 (setSelectionPaths): Mostly rewritten to handle the different
4743 selection modes correctly.
4744 (setSelectionPath): Delegate to setSelectionPaths().
4745 (updateLeadIndex): Made more efficient.
4747 2006-10-11 Francis Kung <fkung@redhat.com>
4749 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4750 (buffer, locked): New fields.
4751 (constructors): Initialize new variables.
4752 (createBuffer): New method.
4753 (draw): Implement custom composites.
4754 (drawComposite): New method.
4755 (drawGlyphVector): Implement custom composites.
4756 (drawImage): Implement custom composites.
4757 (drawRenderedImage): Implement custom composites.
4758 (fill): Implement custom composites.
4759 (getBufferCM): New method.
4760 (getNativeCM): New method.
4761 (updateBufferedImage): Fix premultiplication.
4762 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4763 (copy): Copy composite.
4764 (drawImage): Set background properly.
4765 (getBufferCM): New method.
4766 (setComposite): Reset alpha composite when using custom composite.
4767 * gnu/java/awt/peer/gtk/CairoSurface.java
4768 (cairoColorModel): New field.
4769 (nativeColorModel): Renamed.
4770 (constructor): Use renamed createCairoSampleModel method.
4771 (createCairoSampleModel): New method.
4772 (createNativeSampleModel): Renamed.
4773 (getBufferedImage): Use renamed cairoColorModel field.
4774 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4775 (gdkColorModel): New field.
4776 (createGdkSampleModel): New method.
4777 (getPixels): Added comments.
4778 (getSnapshot): Use GDK colour and sample models.
4779 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4780 (createBuffer): Use GDK colour and sample models.
4781 (getNativeCM): Added comments.
4782 * java/awt/image/BufferedImage.java
4783 (constructor): Set premultiplied flag properly.
4785 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4787 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4788 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4790 2006-10-10 Francis Kung <fkung@redhat.com>
4793 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4794 (createPath): Added isDraw parameter.
4795 (draw): Updated createPath call.
4796 (fill): Updated createPath call.
4798 2006-10-10 Tom Tromey <tromey@redhat.com>
4801 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4802 there is a stylesheet.
4804 2006-10-10 Roman Kennke <kennke@aicas.com>
4806 * java/awt/Toolkit.java
4807 (getDefaultTookit): Make method synchronized to avoid
4808 accidentally creating more than one toolkits from different
4811 2006-10-10 Roman Kennke <kennke@aicas.com>
4813 * java/awt/LightweightDispatcher.java
4814 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4815 (redispatch): Transfer the button to the redispatched event.
4817 2006-10-10 Francis Kung <fkung@redhat.com>
4819 * java/awt/image/ColorModel.java (coerceData): Implemented.
4821 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4823 * vm/reference/java/lang/VMClassLoader.java:
4824 (defineClassWithTransformers): Use proper class name format.
4826 2006-10-09 Gary Benson <gbenson@redhat.com>
4828 * java/net/ServerSocket.java
4829 (implAccept): Add security check.
4830 (accept): Close socket if security check fails.
4831 (setSocketFactory): Add security check and already-set check.
4833 2006-10-09 Roman Kennke <kennke@aicas.com>
4836 * javax/swing/JSplitPane.java
4837 (dividerLocation): New field. Stores the divider location.
4838 (JSplitPane): Initialize dividerLocation with -1.
4839 (addImpl): Removed unneeded local variables.
4840 (getDividerLocation): Manage dividerLocation in the JSplitPane
4841 class, not in the UI.
4842 (setDividerLocation): Manage dividerLocation in the JSplitPane
4843 class, not in the UI. Only call the UI method for notification.
4844 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4845 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4846 location from the JSplitPane. Honour the minimumSize, but only
4847 if the divider location hasn't been set explicitly.
4848 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4850 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4852 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4853 the divider location.
4854 (dividerLocationSet): New field.
4855 (dividerLocation): Removed field.
4856 (createActionMap): Fetch and set divider location on the JSplitPane.
4857 (getDividerLocation): Return the actual real divider location.
4858 (getMaximumSize): Removed unneeded cast.
4859 (getPreferredSize): Removed unneeded cast.
4860 (getMinimumSize): Removed unneeded cast.
4861 (installUI): Initialize dividerLocationSet with false.
4862 (uninstallUI): Initialize dividerLocationSet with false.
4863 (setDividerLocation): Set dividerLocationSet to true.
4865 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4867 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4868 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4869 convert jstring into char *.
4870 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4871 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4872 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4873 (getif_address): Added const modifier to second argument.
4874 (getif_index): Dito.
4876 2006-10-09 Roman Kennke <kennke@aicas.com>
4878 * javax/swing/JTree.java
4879 (isSelected): Added API docs.
4881 2006-10-09 Roman Kennke <kennke@aicas.com>
4883 * javax/swing/JTree.java
4884 (isSelected): Delegate to the selection model directly.
4886 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4888 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4889 sizeof_struct_kevent to _sizeof_struct_kevent.
4891 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4893 * tools/gnu/classpath/tools/rmic/RMICException.java:
4894 javadoc corrections, reformatted.
4896 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4898 * gnu/java/lang/InstrumentationImpl.java:
4899 Made constructor package visible.
4901 2006-10-05 Gary Benson <gbenson@redhat.com>
4903 * java/net/Socket.java
4904 (Socket): Perform security check on address not hostname.
4906 2006-10-04 Roman Kennke <kennke@aicas.com>
4908 * javax/swing/tree/VariableHeightLayoutCache.java
4909 (getBounds): When rect is null, create a new Rectangle.
4911 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4913 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4914 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4915 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4916 (cpnio_select): Use CPNIO_EXPORT.
4917 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4918 inline instead of extern inline, as newer GCCs changed their
4921 2006-10-04 Gary Benson <gbenson@redhat.com>
4923 * java/net/InetAddress.java: Updated javadoc.
4924 (<clinit>, getByLiteral): Throw InternalError on failures.
4926 2006-10-03 Francis Kung <fkung@redhat.com>
4928 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4929 (compCtx): New field for composite context.
4930 (copy): Copy composite.
4931 (dispose): Dispose of composite context.
4932 (getNativeCM): New method.
4933 (setComposite): Discard old composite context and set up new context.
4934 (setRenderingHints): Update composite context.
4935 * gnu/java/awt/peer/gtk/CairoSurface.java
4936 (nativeColorModel): New field, renamed from nativeModel.
4937 (nativeModel): Renamed field to nativeColorModel.
4938 (CairoSurface(int, int)): Call new method to create sample model.
4939 (createNativeSampleModel): New method.
4940 (getBufferedImage): Updated variable name.
4941 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4942 (buffer): New field.
4943 (createBuffer): New method.
4945 (drawComposite): New method.
4946 (drawGlyphVector): New method.
4947 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4948 (drawImage(Image, int, int, ImageObserver)): Check composite.
4949 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4951 (getNativeCM): New method.
4952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4953 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4954 intermediary pixbuf to grab on-screen pixels.
4956 2006-10-03 Tom Tromey <tromey@redhat.com>
4959 * java/util/IdentityHashMap.java (tombstone): Removed.
4960 (emptyslot): Removed.
4961 (nullslot): New field.
4962 (IdentityHashMap): Don't fill array.
4963 (clear): Fill with null.
4964 (hash): Now final. Use linear probing.
4965 (xform): New method.
4966 (unxform): Likewise.
4967 (removeAtIndex): Likewise.
4968 (clone, containsKey, containsValue, entrySet, get, hashCode,
4969 keySet, put, remove, values): Updated.
4970 (IdentityIterator, IdentityEntry): Likewise.
4971 (writeObject): Likewise.
4973 2006-10-03 Tom Tromey <tromey@redhat.com>
4975 * java/util/Locale.java (hashcode): Updated javadoc.
4976 (hashcodeCache): Removed.
4978 (hashCode): Updated.
4979 (writeObject): New method.
4980 (readObject): Updated.
4982 2006-10-02 Francis Kung <fkung@redhat.com>
4984 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4985 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4986 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4987 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4988 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4989 pre-multiply data before drawing.
4990 (fillRect): Draw using regular fill() method.
4991 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4992 * gnu/java/awt/peer/gtk/CairoSurface.java
4993 (nativeModel): Use correct value for alpha premultiplication (true).
4994 * java/awt/image/BufferedImage.java
4995 (coerceData): Update isPremultiplied field.
4997 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4999 * gnu/classpath/ListenerData.java:
5000 New class for holding listener data.
5001 * gnu/java/lang/management/MemoryMXBeanImpl.java:
5002 ListenerData class moved to its own file.
5003 * javax/management/MBeanServerDelegate.java,
5004 * javax/management/MBeanServerDelegateMBean.java,
5005 * javax/management/MBeanServerNotification.java:
5008 2006-10-02 Tania Bento <tbento@redhat.com>
5010 * java/ast/Rectangle.java:
5011 (Rectangle(Rectangle)): Do not throw NPE.
5012 (Rectangle(Point, Dimension)): Same.
5013 (Rectangle(Point)): Same.
5014 (Rectangle(Dimension)): Same.
5016 2006-09-29 Casey Marshall <csm@gnu.org>
5019 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5020 `AbstractSelectionKey.'
5021 (cancel, isValid): removed.
5022 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5023 (events): new field.
5024 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5026 (<clinit>): initialize those constants.
5027 (<init>): don't initialize `cancelledKeys;' initialize `events.'
5028 (doSelect): deregister cancelled keys; remove keys attached to
5029 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5030 `events' buffer; reallocate `events' buffer if needed.
5031 (register): reallocate `events' buffer if needed.
5032 (reallocateBuffer): new method.
5035 2006-09-29 Roman Kennke <kennke@aicas.com>
5038 * javax/swing/JViewport.java
5039 (cinit): Renamed system property to gnu.swing.scrollmode
5040 to avoid bloat. Default to BACKINGSTORE, this is much
5042 (repaint): Forward repaint() to parent as is specified.
5044 2006-09-29 Tania Bento <tbento@redhat.com>
5046 * javax/swing/plaf/basic/BasicTableUI.java
5047 (getPreferredSize): The number of iterations for the for-loop should be
5048 the number of columns in the table's column model, not the number of
5049 columns of the table.
5050 * javax/swing/JTable.java
5051 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5052 lines that are not needed.
5053 (initializeLocalVars): dragEnabled should be set to false, not true.
5054 (getCellRenderer): Added a check to prevent an
5055 ArrayIndexOutOfBoundsException.
5056 (doLayout): The number of iterations for the for-loops should be the
5057 number of columns in the table's column model, not the number of columns
5060 2006-09-29 Roman Kennke <kennke@aicas.com>
5062 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5064 (isOptimized): Initialize with true.
5065 (paintRaster): Removed unneeded field.
5066 (shapeCache): New static field. Caches certain shapes for reuse.
5067 (computeIntersection): Removed unneeded casts.
5068 (drawArc): Use shape cache.
5069 (drawImage): Removed unneeded statement.
5070 (drawLine): Use shape cache. Pass untranslated coordinates
5072 (drawOval): Use shape cache.
5073 (drawPolygon): Use shape cache.
5074 (drawRect): Overridden to provide accelerated rectangle drawing
5075 if possible and to use the shape cache.
5076 (drawRoundRect): Use shape cache.
5077 (fillArc): Use shape cache.
5078 (fillOval): Use shape cache.
5079 (fillPolygon): Use shape cache.
5080 (fillRect): Pass untranslated coordinates to rawFillRect().
5082 (fillRoundRect): Use shape cache.
5083 (fillScanlineAA): Removed unneeded statement.
5084 (fillScanline): Updated API docs.
5085 (fillShapeAntialias): Removed unnecessary cast.
5086 (fillShapeImpl): Update API docs. Removed unnecessary cast.
5087 (fillShape): Updated API docs.
5088 (getShapeCache): New helper method.
5089 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5090 certain shapes for reuse in AbstractGraphics2D.
5092 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5094 * javax/management/BadBinaryOpValueExpException.java:
5095 (getExp()): Implemented.
5096 * javax/management/MBeanConnection.java:
5097 Renamed to MBeanServerConnection.
5098 * javax/management/MBeanServer.java:
5099 (setAttribute(Attribute)): Fixed...
5100 (setAttribute(ObjectName,Attribute)): to this.
5101 * javax/management/MBeanServerConnection.java:
5102 Renamed from MBeanConnection.
5103 * javax/management/QueryExp.java:
5104 Extend Serializable.
5105 * javax/management/ValueExp.java:
5107 * javax/management/loading/ClassLoaderRepository.java:
5108 (loadClass(String)): Throw ClassNotFoundException.
5109 (loadClassBefore(ClassLoader,String)): Likewise.
5110 (loadClassWithout(String, ClassLoader): Fixed...
5111 (loadClassWithout(ClassLoader,String)): to this.
5113 2006-09-28 Roman Kennke <kennke@aicas.com>
5115 * javax/swing/tree/DefaultTreeCellRenderer.java
5116 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5117 property from UIManager.
5118 (paint): Rewritten to use super's implementation and only paint
5119 background and focus indicator before.
5120 (paintFocus): New helper method.
5121 (getXOffset): New helper method.
5123 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5125 * javax/management/BadBinaryOpValueExpException.java,
5126 * javax/management/MBeanConnection.java,
5127 * javax/management/MBeanServer.java,
5128 * javax/management/ObjectInstance.java:
5130 * javax/management/ObjectName.java:
5131 (setMBeanServer(MBeanServer)): Implemented.
5132 * javax/management/QueryExp.java,
5133 * javax/management/ValueExp.java,
5134 * javax/management/loading/ClassLoaderRepository.java:
5137 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5139 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5141 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5143 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5144 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5145 * gnu/java/nio/EpollSelectorImpl.java:
5146 (doSelect): Use Integer.valueOf() instead of constructor call.
5147 (register): Use Integer.valueOf() instead of constructor call.
5149 2006-09-27 Roman Kennke <kennke@aicas.com>
5151 * java/awt/Container.java
5152 (addContainerListener): Activate newEventsOnly for the component.
5153 Ignore null listeners.
5155 2006-09-27 Roman Kennke <kennke@aicas.com>
5157 * java/awt/EventQueue.java
5158 (Queue): New inner class. Implements the actual queue.
5159 (LOW_PRIORITY): New constant field.
5160 (NORM_PRIORITY): New constant field.
5161 (queueHead): Removed. Moved into Queue.
5162 (queueTail): Removed. Moved into Queue.
5163 (queues): New field.
5164 (EventQueue): Initialize two internal queues, one for
5165 normal events, one for low priority events.
5166 (getNextEventImpl): New helper method, fetches the next event.
5167 (getNextEvent): Use getNextEventImpl() for fetching the event.
5168 (peekEvent): Use getNextEventImpl() for fetching the event.
5169 (peekEvent(int)): Search for event in all queues.
5170 (postEventImpl(AWTEvent)): Moved actual posting into
5171 postEventImpl(AWTEvent,int). Prioritize events here.
5172 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5173 event into correct queue. Re-enable event coalescing.
5174 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5175 * javax/swing/RepaintManager.java
5176 (RepaintWorkerEvent): New internal class. This is a low priority
5177 event for the repaint worker.
5178 (addDirtyRegion): Use new internal invokeLater() for sending
5179 a low priority event.
5180 (addInvalidComponent): Use new internal invokeLater() for sending
5181 a low priority event.
5182 (commitBuffer): Added some null checks.
5183 (invokeLater): New helper method. Sends a low priority
5184 repaint worker event on the event queue.
5186 2006-09-27 Roman Kennke <kennke@aicas.com>
5190 * javax/swing/plaf/basic/BasicButtonUI.java
5191 (cachedInsets): New field.
5192 (installListeners): Fire synthetic property change to initialize
5193 TEXT_LAYOUT_CACHE for the button because the font has been
5195 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5196 (paint): Use cached insets.
5197 (paintText): Let new method forward to old one, not vice versa.
5198 * javax/swing/plaf/basic/BasicMenuItemUI.java
5199 (defaultAcceleratorLabelGap): Removed unused field.
5200 (MenuGap): Removed unused field.
5201 (propertyChangeListener): Made private.
5202 (getAcceleratorRect): Removed unused method.
5203 (getAcceleratorText): Removed unused method.
5204 (getPath): Removed unnecessary cast.
5205 (installListeners): Fire synthetic property change to initialize
5206 TEXT_LAYOUT_CACHE for the button because the font has been
5208 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5209 (layoutMenuItem): Removed unused statements.
5211 2006-09-27 Roman Kennke <kennke@aicas.com>
5214 * javax/swing/tree/DefaultTreeModel.java
5215 (isLeaf): Check if the node allows children when
5216 asksAllowsChildren is true, otherwise fall back
5217 to return the node's leaf property.
5219 2006-09-27 Mario Torre <neugens@limasoftware.net>
5221 * scripts/check_jni_methods.sh: removed methods from the
5223 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5224 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5225 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5226 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5227 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5228 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5229 to better follow the GNU style.
5230 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5231 regenerated header file for GConfNativePeer.
5233 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5235 * INSTALL: Added information about grmic being built when ASM
5236 is available, added information about gconf dependency, indented
5237 Qt4 dependency section.
5238 * configure.ac: Added information about grmic being built when ASM
5241 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5243 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5244 DeleteGlobalRef on a local ref.
5246 2006-09-24 Mario Torre <neugens@limasoftware.net>
5248 * scripts/check_jni_methods.sh: added two new methods in the
5250 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5252 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5253 * native/jni/gconf-peer/GConfNativePeer.c:
5254 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5255 refacored method name, renamed from
5256 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5257 Added code to unescape escaped GConf key names.
5258 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5259 refacored method name, renamed from
5260 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5261 Added code to unescape escaped GConf key names.
5262 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5264 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5266 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5267 version javadoc tag.
5268 (escapeString): new method.
5269 (unescapeString): likewise.
5270 (gconf_escape_key): new native method.
5271 (gconf_unescape_key): likewise.
5272 (gconf_client_suggest_sync): update native method signature, now
5273 explicity throws BackingStoreException.
5274 (gconf_client_all_nodes): update native method signature, now
5275 explicity throws BackingStoreException. Refactored method name,
5276 renamed from gconf_client_gconf_client_all_nodes.
5277 (gconf_client_all_keys): update native method signature, now
5278 explicity throws BackingStoreException. Refactored method name,
5279 renamed from gconf_client_gconf_client_all_keys.
5280 (getKeys): refactored to use the new method name
5281 gconf_client_all_keys.
5282 (getChildrenNodes): refactored to use the new method name
5283 gconf_client_all_nodes.
5284 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5285 version javadoc tag.
5286 (GConfBasedPreferences): Added code to escape node names from
5287 invalid characters so that GConf now accept invalid node names.
5288 (GConfBasedPreferences): Moved code to register the current
5289 node to the list of nodes watched by GConf outside the constructor.
5290 (childSpi): Added code to register the current node to the
5291 list of nodes watched by GConf.
5292 (getGConfKey): Added code to escape key names from
5293 invalid characters so that GConf now accept invalid key names.
5295 2006-09-26 Tom Tromey <tromey@redhat.com>
5297 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5298 call mkdirs in output-directory case.
5299 (getPrintStream): Create output directory.
5300 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5303 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5305 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5306 Accept three additional arguments.
5307 (writePreambleImpl): New method.
5308 (getPrintStreamImpl): Likewise.
5309 (printClass): Adapted to use new methods in Printer superclass.
5310 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5311 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5312 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5313 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5315 (getParser): Add support for -o option.
5316 Check that only one of -d or -o is defined.
5317 Add support for -jni option.
5318 Add support for -force option.
5319 (makeOutputFile): New method.
5320 (writeHeaders): Removed File argument from signature.
5321 (run): Take into account newly added fields.
5322 Invoke concrete PrintStream implementations with augmented constructors.
5323 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5324 (isDirectory): Likewise.
5326 (wrotePreamble): Likewise.
5327 (Printer): Changed ctor to accept three additional arguments.
5328 (printClass): Changed signature to accept one ClassWrapper argument.
5329 (writePreambleImpl): New abstract method.
5330 (getPrintStreamImpl): Likewise.
5331 (getPrintStream): New method.
5332 (writePreamble): Likewise.
5334 2006-09-26 Tania Bento <tbento@redhat.com>
5336 * java/awt/GridLayout.java
5337 (toString): There is no common before hgap.
5338 * java/awt/Rectangle.java
5339 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5340 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5342 (Rectangle(Point)): Throw NPE if Point is null.
5343 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5345 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5347 * javax/swing/plaf/metal/MetalIconFactory.java
5348 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5349 returned by getShift(),
5350 (FileIcon16.getShift): Updated API docs,
5351 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5352 returned by getShift(),
5353 (FolderIcon16.getShift): Updated API docs,
5354 (TreeFolderIcon.getShift): Likewise,
5355 (TreeLeafIcon.getShift): Likewise.
5357 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5359 * javax/swing/plaf/metal/MetalIconFactory.java
5360 (FileIcon16.paintIcon): Fetch colors from look and feel,
5361 (FolderIcon16.paintIcon): Likewise.
5363 2006-09-25 Casey Marshall <csm@gnu.org>
5365 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5367 (write): revert back to using `writeGathering.'
5368 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5369 the first buffer that has data remaining, and start at that one.
5371 2006-09-25 Tom Tromey <tromey@redhat.com>
5373 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5376 2006-09-25 Tom Tromey <tromey@redhat.com>
5378 * tools/.cvsignore: Updated.
5380 2006-09-25 Tom Tromey <tromey@redhat.com>
5383 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5384 (Encoder.canEncode): Likewise.
5385 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5386 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5388 (Encoder.canEncode): Likewise.
5389 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5391 (Encoder.canEncode): Likewise.
5393 2006-09-25 Tom Tromey <tromey@redhat.com>
5395 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5398 2006-09-25 Francis Kung <fkung@redhat.com>
5400 * java/awt/image/ColorModel.java
5401 (coerceData): Made abstract.
5402 (coerceDataWorker): New protected method.
5403 * java/awt/image/ComponentColorModel.java
5404 (coerceData): Return new instance of proper ColorModel.
5405 * java/awt/image/DirectColorModel.java
5406 (coerceData): Return new instance of proper ColorModel.
5407 * java/awt/image/IndexColorModel.java
5408 (coerceData): New method.
5410 2006-09-24 Casey Marshall <csm@gnu.org>
5412 * gnu/java/nio/FileChannelImpl.java
5413 (read): call `read' in a loop, don't use `readScattering.'
5414 (write): call `write' in a loop, don't use `writeGathering.'
5416 2006-09-24 Mark Wielaard <mark@klomp.org>
5418 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5420 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5422 * java/nio/channels/spi/AbstractSelectableChannel.java
5423 (register): Set interestOps and attachment when the key already
5426 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5428 * java/net/ServerSocket.java
5429 (bind(SocketAddress,int)): Added support for null address.
5430 Throw proper exception if already bound.
5431 Handle unresolved addresses correctly. Ignore exceptions that
5432 happen during close in error path (to prevent losing the original
5435 2006-09-24 Mark Wielaard <mark@klomp.org>
5437 Suggested by Aaron M. Ucko <ucko@debian.org>
5439 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5441 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5443 * java/nio/channels/spi/AbstractSelectableChannel.java
5444 (implCloseChannel): Cancel all keys after closing the channel.
5446 2006-09-22 Casey Marshall <csm@gnu.org>
5448 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5449 after we delete them.
5450 (selectedKeys): return an empty set if nothing's been selected.
5451 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5452 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5453 throw an exception on EBADF.
5454 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5455 throw exception on EINTR, just return 0.
5457 2006-09-22 Casey Marshall <csm@gnu.org>
5459 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5460 remove `const' from `filename.'
5461 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5463 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5465 2006-09-22 Casey Marshall <csm@gnu.org>
5467 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5468 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5469 allocate `filename,' and handle changes to `cpio_readDir.'
5470 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5471 available; copy the filename into the destination buffer; return
5472 an error code if readdir returns NULL, but errno is 0.
5473 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5474 parameter to `const char *.'
5476 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5478 * javax/management/ObjectName.java:
5481 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5483 * resource/gnu/classpath/tools/orbd: New directory.
5484 * resource/gnu/classpath/tools/rmic: Likewise.
5485 * resource/gnu/classpath/tools/rmid: Likewise.
5486 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5487 * resource/gnu/classpath/tools/tnameserv: Likewise.
5488 * tools/gnu/classpath/tools/giop: Move contents to...
5489 * tools/gnu/classpath/tools/orbd,
5490 tools/gnu/classpath/tools/tnameserv: New directories.
5491 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5492 * tools/gnu/classpath/tools/rmic: New directory.
5493 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5494 * tools/gnu/classpath/tools/rmid: New directory.
5495 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5496 * tools/gnu/classpath/tools/rmiregistry: New directory.
5497 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5498 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5499 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5500 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5502 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5504 * tools/gnu/classpath/tools/orbd/Main.java,
5505 tools/gnu/classpath/tools/orbd/Messages.java,
5506 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5507 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5508 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5509 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5510 tools/gnu/classpath/tools/rmic/CompilationError.java,
5511 tools/gnu/classpath/tools/rmic/Generator.java,
5512 tools/gnu/classpath/tools/rmic/GiopIo.java,
5513 tools/gnu/classpath/tools/rmic/HashFinder.java,
5514 tools/gnu/classpath/tools/rmic/Main.java,
5515 tools/gnu/classpath/tools/rmic/Messages.java,
5516 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5517 tools/gnu/classpath/tools/rmic/RMICException.java,
5518 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5519 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5520 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5521 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5522 tools/gnu/classpath/tools/rmic/Variables.java,
5523 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5524 tools/gnu/classpath/tools/rmic/templates,
5525 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5526 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5527 tools/gnu/classpath/tools/rmid/Main.java,
5528 tools/gnu/classpath/tools/rmid/Messages.java,
5529 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5530 tools/gnu/classpath/tools/rmiregistry/Main.java,
5531 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5532 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5533 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5534 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5535 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5536 tools/gnu/classpath/tools/tnameserv/Main.java,
5537 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5538 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5539 RMIC.java from cp-tools.
5540 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5541 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5542 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5544 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5545 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5547 (start): New method.
5548 * tools/Makefile.am: Add build support for new tool wrappers.
5549 * tools/gorbd.in: New file.
5550 * tools/grmic.in: Likewise.
5551 * tools/grmid.in: Likewise.
5552 * tools/grmiregistry.in: Likewise.
5553 * tools/gtnameserv.in: Likewise.
5554 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5555 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5557 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5558 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5559 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5561 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5564 * gnu/java/util/regex/RETokenRepeated.java
5565 (findMatch): Rewriten without using recursive calls,
5566 (FindMatchControlStack): New class,
5567 (FindMatchControl): New class,
5568 (TryAnotherResult): New class,
5569 (tryAnother): New method.
5571 2006-09-22 Gary Benson <gbenson@redhat.com>
5573 * java/net/SocketPermission.java
5574 (processHostport): Cope with IPv6 addresses with a
5575 one-digit first component.
5577 2006-09-22 Roman Kennke <kennke@aicas.com>
5579 * java/awt/Component.java
5580 (enableEvents): Set newEventsOnly flag.
5581 * java/awt/Container.java
5582 (dispatchEventImpl): Consume event if lightweight dispatcher
5583 dispatched the event. Don't call processEvent() here, this
5584 is already done in Component.dispatchEventImpl(). For
5585 heavyweights or when the lightweight dispatcher could
5586 not dispatch, fall back to calling super.
5587 (dispatchNoLightweight): New helper method to avoid
5588 recursivly calling the lightweight dispatcher.
5589 * java/awt/LightweightDispatcher.java
5590 (dragButton): Removed field.
5591 (dragTarget): Removed field.
5592 (mouseEventTarget): New field.
5593 (convertPointToChild): Removed method.
5594 (dispatchEvent): Don't depend on component beeing
5596 (findTarget): Improved algorithm for finding a target.
5597 Before we went down to the deepest component and went
5598 up again to find a suitable target. Now we go
5599 down only once, without going up.
5600 (handleMouseEvent): Broke method down into some smaller
5602 (isDragging): New helper method.
5603 (isMouseListening): New helper method.
5604 (redispatch): New helper method.
5605 (trackEnterExit): New helper method.
5607 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5609 * javax/swing/SizeSequence.java
5610 (getSize): Return 0 if index is out of bounds.
5612 2006-09-21 Tom Tromey <tromey@redhat.com>
5614 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5615 (PathOptionGroup): Make -I a joined option.
5616 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5617 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5618 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5619 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5620 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5621 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5622 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5623 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5624 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5625 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5626 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5627 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5628 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5629 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5630 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5631 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5632 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5633 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5634 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5635 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5636 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5638 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5639 * tools/gnu/classpath/tools/common/Messages.java: New file.
5640 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5641 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5643 (ClasspathToolParser): Add -J option here.
5644 (ClasspathToolParser): Call other constructor in this class.
5645 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5646 Handle joined options.
5647 (handleShortOptions): Likewise.
5648 (handleShortOption): Removed.
5649 (finalGroup): New field.
5650 (Parser): Initialize new field. Don't add -J option.
5651 (addFinal): New method.
5652 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5654 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5655 (Option): Check short option for validity.
5656 (Option): New constructors.
5657 (joined): New field.
5659 2006-09-21 csm <csm@pollux.local>
5661 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5662 `InterruptedIOException;' try again if it gets thrown.
5663 (receive): likewise, but re-throw `SocketTimeoutException.'
5664 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5665 if we have nothing to select.
5667 2006-09-21 Francis Kung <fkung@redhat.com>
5669 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5670 (getLogicalBounds): Respect glyph transformations.
5671 (getGlyphOutline): Added null pointer check.
5672 (getGlyphTransform): Do not generate identity transform (API permits null).
5673 (setGlyphPosition): Do not invalidate transform.
5674 (setGlyphTransform): Do not modify glyph position.
5676 2006-09-21 Francis Kung <fkung@redhat.com>
5678 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5680 2006-09-21 Francis Kung <fkung@redhat.com>
5682 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5683 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5684 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5686 2006-09-21 Tania Bento <tbento@redhat.com>
5688 * javax/swing/JTabbedPane.java:
5689 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5690 (setModel): A ChangeListener should be created only if there does not
5691 currently exist one.
5693 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5695 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5696 (MaximizeAction.actionPerformed): Change icon on maxButton.
5698 2006-09-21 Roman Kennke <kennke@aicas.com>
5700 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5701 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5702 Use more efficient getViewPosition() and getViewSize() methods
5703 to avoid creating a rectangle.
5704 (HSBChangeListener.stateChanged): Update the view position
5705 unconditionally. Let the Viewport figure out if something
5707 (VSBChangeListener.stateChanged): Update the view position
5708 unconditionally. Let the Viewport figure out if something
5710 * javax/swing/JViewport.java
5711 (ViewListener.componentResized): Fire state change, because
5712 the extentSize changes.
5713 (extentSize): Removed unneeded field.
5714 (viewSize): Removed unneeded field.
5715 (getExtentSize): Return the viewport's size here.
5716 (getViewRect): Reformatted.
5717 (getViewSize): Reordered for only one return statement.
5718 (paintImmediately2): Fixed up javadoc.
5719 (paint): Removed unneeded statement.
5720 (setExtentSize): Set viewport size and check for actual change
5722 (setViewPosition): Simplified condition. Set scrollUnderway
5723 true and don't set isViewSizeSet. Avoid creating one Point
5725 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5727 * javax/swing/JScrollBar.java
5728 (ScrollBarListener): New class. Forwards change events from
5729 the model as adjustment events.
5730 (sbChangeListener): New field.
5731 (JScrollBar): Install listener on new model.
5732 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5734 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5735 method to allow custom isAdjusting value.
5736 (setMaximum): Only forward to model.
5737 (setMinimum): Only forward to model.
5738 (setValue): Only forward to model.
5739 (setVisibleAmount): Only forward to model.
5740 (setValues): Only forward to model.
5741 (setModel): Update the change listener.
5743 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5745 * java/util/Formatter.java (basicIntegralConversion): Removed
5746 check for ZERO && !LEFT_JUSTIFY.
5748 2006-09-20 Roman Kennke <kennke@aicas.com>
5751 * javax/swing/plaf/metal/DefaultMetalTheme.java
5752 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5753 (BOLD_CONTROL_TEXT_FONT): New constant field.
5754 (PLAIN_MENU_TEXT_FONT): New constant field.
5755 (BOLD_MENU_TEXT_FONT): New constant field.
5756 (controlTextFont): Removed.
5757 (menuTextFont): Removed.
5758 (CONTROL_TEXT_FONT): New constant field.
5759 (MENU_TEXT_FONT): New constant field.
5760 (getControlTextFont): Use getFont() helper method for fetching
5762 (getMenuTextFont): Use getFont() helper method for fetching
5764 (getFont): New helper method.
5765 (isBoldMetal): New helper method.
5767 2006-09-20 Casey Marshall <csm@gnu.org>
5769 * NEWS: mention epoll selector along with the kqueue one.
5771 2006-09-20 Casey Marshall <csm@gnu.org>
5773 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5774 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5776 2006-09-20 Francis Kung <fkung@redhat.com>
5779 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5780 (getGlyphTransform): Use translation instead of scale.
5781 (performDefaultLayout): Increment position values instead of resetting, and
5782 pre-increment instead of post-increment.
5783 (setGlyphTransform): Handle null case with identity transform.
5785 2006-09-20 Casey Marshall <csm@gnu.org>
5787 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5788 (AC_CHECK_FUNCS): check for `epoll_create.'
5789 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5790 * gnu/java/nio/EpollSelectorImpl.java: new file.
5791 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5793 (openSelector): return epoll selector if requested and available.
5794 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5795 (gnu_java_nio_EpollSelectorImpl.h): new target.
5796 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5797 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5798 gnu_java_nio_EpollSelectorImpl.c.
5799 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5801 2006-09-20 Casey Marshall <csm@gnu.org>
5803 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5805 (isConnected): return false if `connectionPending' is true.
5807 2006-09-20 Francis Kung <fkung@redhat.com>
5810 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5811 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5812 (getGlyphOutline): Call getGylphTransform to generate transform.
5813 (getGylphPosition): Read position directly out of array.
5814 (getGlyphPositions): Read positions directly out of array.
5815 (getGlyphTransform): Generate transform based on gylphPositions array.
5816 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5817 (setGlyphPosition): Set position directly into array.
5818 (setGlyphTransform): Update positions array as well.
5820 2006-09-20 David Daney <ddaney@avtrex.com>
5823 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5824 default content-type for POST method.
5826 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5828 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5829 (BasicRadioButtonUI): Don't fetch icon here,
5830 (installDefaults): Initialise icon here,
5831 (getDefaultIcon): Just return icon.
5833 2006-09-20 Mark Wielaard <mark@klomp.org>
5835 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5836 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5837 (EXTRA_DIST): Include javanio.c.
5839 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5841 * java/awt/geom/RoundRectangle2D.java:
5842 (getPathIterator): Reimplemented,
5843 and updated various API doc comments.
5845 2006-09-20 Roman Kennke <kennke@aicas.com>
5847 * java/awt/Container.java
5848 (addImpl): Set the new component's parent after it has been
5849 added to the array. Call addNotify() and invalidate()
5850 after the component has been added, so that the peer
5851 gets to know about the component structure when it is created.
5852 * java/awt/Window.java
5853 (dispatchEventImpl): Only revalidate when window is resized,
5854 let the other stuff be processed by the superclass.
5855 (dispose): Post WINDOW_CLOSED event only when some listener
5856 is registered or event is explicitly enabled.
5857 (show): Post WINDOW_OPENED event when appropriate.
5859 2006-09-20 Roman Kennke <kennke@aicas.com>
5861 * java/awt/Component.java
5862 (addNotify): Invalidate here. Fetch peer font.
5863 (getFont): Delegate to helper method, to protect from
5864 overriding client code. Lock the tree while fetching the font.
5865 (getFontImpl): New helper method. Moved code from getFont() in
5867 (removeNotify): Nullify peerFont too.
5868 (setFont): Synchronize on tree and component to avoid threading
5869 issues. Update the peerFont correctly.
5870 (validate): Update the peer font if necessary, before validating.
5871 (getGraphics): Revert to recursive graphics fetching.
5872 Set component font on the Graphics object.
5873 (translateEvent): Removed unnecessary cast.
5874 * java/awt/Container.java
5875 (invalidateTree): Made final and private. Made implementation
5876 slightly more efficient.
5877 (setFont): Get old and new font via getFont() to account for
5878 the real font, and only invalidate the tree when they are not
5879 the same and not equal.
5880 (visitChild): Set the font of the child on the component graphics.
5881 * java/awt/Frame.java
5882 (setMenuBar): Create local reference of peer for thread safety.
5883 Only call simple invalidate, not invalidateTree().
5885 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5888 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5889 (constructor): Copy image field.
5891 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5893 * javax/swing/JMenuBar.java
5894 (getHelpMenu): Implemented to throw an Error, and added API docs,
5895 (getMargin): Added API docs,
5896 (setMargin): Likewise.
5898 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5900 * javax/swing/AbstractButton.java
5901 (AbstractButton): Don't call updateUI(),
5902 * javax/swing/JButton.java
5903 (JButton(String, Icon)): Call setModel() before init(),
5904 * javax/swing/JMenuItem.java
5905 (JMenuItem()): Delegate to another constructor,
5906 (JMenuItem(Icon)): Likewise,
5907 (JMenuItem(Action)): Set model,
5908 (JMenuItem(String, Icon)): Likewise,
5909 * javax/swing/JToggleButton.java
5910 (init): Call setModel() before init().
5912 2006-09-19 Mark Wielaard <mark@klomp.org>
5915 * java/util/logging/LogManager.java (addLogger): Always check for
5916 existing children of a new Logger.
5918 2006-09-19 Roman Kennke <kennke@aicas.com>
5920 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5921 (HSBChangeListener.stateChanged): Moved handling of header to
5922 syncScrollPaneWithViewport().
5923 (VSBChangeListener.stateChanged): Moved handling of header to
5924 syncScrollPaneWithViewport().
5925 (ViewportChangedHandler.stateChanged): Removed unused statements.
5926 (syncScrollPaneWithViewport): Added null checks. Use setValues
5927 rather then the single setter methods to avoid multiple
5928 adjustments and side effects. Also snyc the headers here.
5929 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5930 (uninstallUI): Removed unnecessary cast and this qualifier as well
5931 as the call to super.
5933 2006-09-19 Gary Benson <gbenson@redhat.com>
5935 * java/net/ResolverCache.java: New class (a DNS cache).
5936 * java/net/InetAddress.java
5937 (internalGetCanonicalHostName, getAllByName): Use the above.
5939 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5941 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5942 * java/net/ServerSocket.java
5944 (bind): Set port field.
5945 (close): Set impl to null.
5946 (isClosed): Check impl and channel instead of using VMChannel.
5947 (toString): Use port field and getLocalPort() method.
5948 * java/net/Socket.java
5949 (isClosed): Check impl and channel instead of using VMChannel.
5951 2006-09-18 Tom Tromey <tromey@redhat.com>
5953 * java/util/concurrent/CopyOnWriteArrayList.java
5954 (CopyOnWriteArrayList): New constructor.
5956 2006-09-18 Casey Marshall <csm@gnu.org>
5958 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5959 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5961 2006-09-18 Tom Tromey <tromey@redhat.com>
5963 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5964 isConnected): Removed old comment.
5965 (getRemoteSocketAddress): Uncommented.
5966 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5967 setTrafficClass, getTrafficClass, setReuseAddress,
5968 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5969 isOutputShutdown): Uncommented.
5971 2006-09-18 David Pirkle <dpirkle@symyx.com>
5974 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5975 input stream during resolution.
5977 2006-09-18 Roman Kennke <kennke@aicas.com>
5979 * java/awt/LightweightDispatcher.java
5980 (findTarget): Correctly translate child coordinates.
5981 Use Component.eventTypeEnabled() for checking if a component
5982 has a certain event enabled.
5983 (handleMouseEvent): Find the correct mouse event target.
5984 Use Component.eventTypeEnabled() for checking if a component
5985 has a certain event enabled.
5987 2006-09-18 Roman Kennke <kennke@aicas.com>
5989 * java/awt/Component.java
5990 (show): Test for the peer beeing lightweight directly.
5991 (paintAll): Validate before painting. Don't paint when not
5992 showing. Call peer.paint() when the component is heavyweight.
5993 (repaint): Delegate to the parent when lightweight, rather
5994 than skipping to the nearest heavyweight.
5995 (createImage): Added null check to prevent NPE.
5996 (dispatchEvent): Moved old event dispatching and toolkit
5997 event dispatching to dispatchEventImpl.
5998 (addComponentListener): Don't enable event. Only add listener
5999 when not null. Switch to new event dispatching only.
6000 (addFocusListener): Likewise.
6001 (addHierarchyListener): Likewise.
6002 (addHierarchyBoundsListener): Likewise.
6003 (addKeyListener): Likewise.
6004 (addMouseListener): Likewise.
6005 (addMouseMotionListener): Likewise.
6006 (addMouseWheelListener): Likewise.
6007 (addInputMethodListener): Likewise.
6008 (coalesceEvents): For mouse events coalesce them only when
6009 their modifiers are equal. For paint events coalesce the events
6010 when one contains the other, without going through complicated
6012 (dispatchEventImpl): Moved old event dispatching and toolkit
6013 event dispatching to dispatchEventImpl.
6014 (coalescePaintEvents): Removed.
6015 (HeavyweightInLightweightListener.componentHidden):
6017 * java/awt/Container.java
6018 (addImpl): Don't enable events on lightweights.
6019 (remove): Reordered operations. Don't remove any listeners.
6020 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6021 Only removeNotify() when peer is != null. Only invalidate if
6022 not already invalid. Only fire ContainerEvent if there is
6023 an interested listener or the event is enabled. Dispatch this
6024 event directly without the event queue.
6025 (removeAll): Likewise.
6026 (paintComponents): Only paint when showing. Also paint heavyweights.
6027 Don't paint the container itself.
6028 (removeNotify): Create local variables for improved thread safety.
6029 (addNotifyContainerChildren): Don't enable events for lightweights.
6031 2006-09-18 Roman Kennke <kennke@aicas.com>
6033 * java/awt/EventQueue.java
6034 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6035 (next_in): Removed obsolete field.
6036 (next_out): Removed obsolete field.
6037 (queueHead): New field. Markes the head of the queue.
6038 (queueTail): New field. Markes the tail of the queue.
6039 (queue): Removed obsolete field.
6040 (EventQueue): Documented empty block.
6041 (getNextEvent): Changed array based implementation to single-linked
6042 list based implementation.
6043 (invokeAndWait): Use an Object as synchronization object rather
6044 than the current thread.
6045 (peekEvent(int)): Changed array based implementation to single-linked
6046 list based implementation.
6047 (peekEvent()): Changed array based implementation to single-linked
6048 list based implementation.
6049 (pop()): Changed array based implementation to single-linked
6050 list based implementation.
6051 (postEvent): Foward to postEventImpl.
6052 (postEventImpl): Changed array based implementation to single-linked
6053 list based implementation.
6054 (push): Changed array based implementation to single-linked
6055 list based implementation.
6056 * java/awt/AWTEvent.java
6057 (queueNext): New field. Implements a single-linked list for
6060 2006-09-17 Mark Wielaard <mark@klomp.org>
6062 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6063 resource from HTMLEditorKit.class.
6065 2006-09-17 Mark Wielaard <mark@klomp.org>
6067 * javax/swing/plaf/basic/BasicToolBarUI.java
6068 (setBorderToNonRollover): Check whether border is null.
6069 (setBorderToRollover): Likewise.
6071 2006-09-17 Mark Wielaard <mark@klomp.org>
6073 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6075 2006-09-17 Mark Wielaard <mark@klomp.org>
6077 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6078 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6079 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6080 (Java_gnu_java_nio_VMChannel_lock): Likewise.
6081 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6083 2006-09-17 Casey Marshall <csm@gnu.org>
6085 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6088 2006-09-17 Chris Burdess <dog@gnu.org>
6090 Fixes PR 27610 27687.
6091 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6092 * gnu/xml/transform/SAXTemplatesHandler.java,
6093 * gnu/xml/transform/SAXTransformerHandler.java: New files.
6094 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6095 SAXTransformerFactory.
6097 2006-09-16 Casey Marshall <csm@gnu.org>
6100 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6101 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6103 (HAVE_INET6): define if IPv6 is supported.
6104 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6105 (native_fd): removed.
6107 (<init>): throw IOException; initialize fields.
6108 (finalize): removed.
6109 (getNativeFD): removed.
6110 (bind): use `PlainSocketImpl.bind.'
6111 (create): use `PlainSocketImpl.initSocket.'
6112 (disconnect): use `PlainSocketImpl.disconnect.'
6113 (getLocalPort): new method.
6114 (send): use `VMChannel.send.'
6115 (receive): use `VMChannel.receive.'
6116 (setOption): use `PlainSocketImpl.setOption.'
6117 (getOption): use `PlainSocketImpl.getOption.'
6118 (close): use `VMChannel.State.close.'
6119 (join): use `PlainSocketImpl.join.'
6120 (leave): use `PlainSocketImpl.leave.'
6121 (joinGroup, leaveGroup): implemented.
6122 * gnu/java/net/PlainSocketImpl.java: make non-final.
6123 (native_fd): removed.
6125 (channel): new field.
6126 (<init>): initialize `impl.'
6127 (finalize, getNativeFD): removed.
6128 (setOption): use `PlainSocketImpl.setOption.'
6129 (getOption): use `PlainSocketImpl.getOption.'
6130 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6131 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6132 (create): create `channel,' initialize `impl's native state.
6133 (connect): use `connect(SocketAddress, int).'
6134 (connect): use `SocketChannelImpl.connect;' initialize `address'
6136 (bind): use `VMPlainSocketImpl.bind.'
6137 (listen): use `VMPlainSocketImpl.listen.'
6138 (accept): use `SocketChannelImpl.accept.'
6139 (available): use `VMChannel.available.'
6140 (close): use `PlainSocketImpl.close.'
6141 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6142 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6143 getPort): new methods.
6144 (SocketInputStream.read): use `VMChannel.read.'
6145 (SocketInputStream.read): use `SocketChannel.read.'
6146 (SocketOutputStream.write): use `VMChannel.write.'
6147 (SocketOutputStream.write): use `SocketChannel.write.'
6148 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6149 (channel): new field.
6150 (<init>): initialize `channel.'
6151 (implCloseSelectableChannel): use `VMChannel.close.'
6152 (implConfigureBlocking): use `VMChannel.setBlocking.'
6153 (connect): use `VMChannel.connect.'
6154 (disconnect): use `VMChannel.disconnect.'
6155 (isConnected): use `VMChannel.getPeerAddress.'
6156 (write): use `VMChannel.write.'
6157 (write): use `VMChannel.writeGathering.'
6158 (read): use `VMChannel.read.'
6159 (read): use `VMChannel.readScattering.'
6160 (receive): use `VMChannel.receive.'
6161 (send): use `VMChannel.send.'
6162 (getVMChannel): new method.
6163 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6164 access native FD through VMChannel.State.
6165 * gnu/java/nio/FileChannelImpl.java: moved from
6166 gnu/java/nio/channels/FileChannelImpl.java.
6167 * gnu/java/nio/FileLockImpl.java: fix imports.
6168 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6169 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6170 * gnu/java/nio/NIOSocket.java (impl): removed.
6171 (channel): new field.
6172 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6173 (getPlainSocketImpl, setChannel): removed.
6174 (isConnected): new method.
6175 * gnu/java/nio/NIOSocketImpl.java: new file.
6176 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6178 (SourceChannelImpl.native_fd): removed.
6179 (SourceChannelImpl.<init>): init with a `VMChannel.'
6180 (SourceChannelImpl.getNativeFD): removed.
6181 (SourceChannelImpl.getVMChannel): new method.
6182 (SourceChannelImpl.implCloseSelectableChannel): implement.
6183 (SinkChannelImpl): implement `VMChannelOwner.'
6184 (SinkChannelImpl.native_fd): removed.
6185 (SinkChannelImpl.<init>): init with a `VMChannel.'
6186 (SinkChannelImpl.implCloseSelectableChannel): implement.
6187 (SinkChannelImpl.getNativeFD): removed.
6188 (SinkChannelImpl.getVMChannel): new method.
6189 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6191 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6192 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6193 (openSelector): return kqueue selector if available.
6194 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6196 (channel): new field.
6197 (<init>): init `channel.'
6198 (finalizer): check if the `VMChannel.State' is valid.
6199 (implCloseSelectableChannel): use `VMChannel.close.'
6200 (implConfigureBlocking): use `VMChannel.setBlocking.'
6201 (accept): use `VMChannel.accept.'
6202 (getVMChannel): new method.
6203 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6204 access native FD through `VMChannel.State.'
6205 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6207 (channel, connected, connectAddress): new field.
6208 (<init>): new constructors.
6209 (getPlainSocketImpl): removed.
6210 (implCloseSelectableChannel): use `VMChannel.close.'
6211 (implConfigureBlocking): use `VMChannel.setBlocking.'
6212 (connect): use `connect(SocketAddress,int).'
6213 (connect): use `VMChannel.connect.'
6214 (finishConnect): don't use a selector.
6215 (isConnected): use `VMChannel.getPeerAddress.'
6216 (read): use `VMChannel.read.'
6217 (read): use `VMChannel.readScattering.'
6218 (write): use `VMChannel.write.'
6219 (write): use `VMChannel.writeGathering.'
6220 (getVMChannel): new method.
6221 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6222 native FD from `VMChannel.State.'
6223 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6224 get native FD from `VMChannel.State.'
6225 * gnu/java/nio/VMChannelOwner.java: new file.
6226 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6227 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6228 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6229 `gnu_java_nio_channels_FileChannelImpl.h.'
6230 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6231 * include/gnu_java_nio_FileChannelImpl.h: new file.
6232 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6233 * include/gnu_java_nio_VMChannel.h: regenerated.
6234 * include/gnu_java_nio_VMPipe.h: regenerated.
6235 * include/java_net_VMNetworkInterface.h: regenerated.
6236 * java/io/FileDescriptor.java: fix imports.
6237 * java/io/FileInputStream.java (<init>): handle exceptions.
6238 (read): wrap the destination arary.
6239 * java/io/FileOutputStream.java (<init>): handle exceptions.
6240 (write): wrap the source array.
6241 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6242 * java/net/DatagramSocket.java (<init>): handle exceptions.
6243 (receive): handle length/port setting.
6244 (connect): bind to any address/port if the argument is null.
6245 * java/net/NetworkInterface.java (name, inetAddress): removed.
6247 (<init>): make private.
6248 (getName): return `netif.name.'
6249 (getInetAddresses): access `netif.addresses.'
6250 (getDisplayName): return `netif.name.'
6251 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6252 (condense): removed.
6253 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6254 (equals): compare `netif' fields.
6255 (hashCode): get hash codes from `netif.'
6256 (toString): use a StringBuffer.
6257 * java/net/ServerSocket.java (close): don't set `impl' to null.
6258 (isClosed): use `VMChannel.State.isClosed.'
6259 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6260 the `SocketImpl' is a `PlainSocketImpl.'
6261 (close): just close the `impl.'
6262 (toString): use `super.toString' in the value we return.
6263 (isConnected): just access `impl,' not `getImpl.'
6264 (isBound): use `PlainSocketImpl' methods if we can.
6265 (isClosed): look at `VMChannel.State.'
6266 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6267 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6268 an exception if they were not.
6269 (JCL_GetRawData): throw an exception if cached fields weren't
6271 * native/jni/java-lang/java_lang_VMProcess.c: handle
6272 FileChannelImpl move.
6273 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6274 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6275 THROW_NO_NETWORK): new macros.
6276 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6277 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6278 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6279 (java_sockopt): new enum.
6280 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6281 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6282 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6284 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6286 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6288 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6289 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6290 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6291 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6292 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6293 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6294 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6295 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6296 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6297 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6298 (getif_address): new function.
6299 (getif_index): new function.
6300 * native/jni/java-net/java_net_VMNetworkInterface.c
6301 (java_net_VMNetworkInterface_init,
6302 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6303 (Java_java_net_VMNetworkInterface_initIds): new function.
6304 (struct netif_entry): new struct.
6305 (free_netif_list): new function.
6306 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6307 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6308 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6309 gnu_java_nio_channels_FileChannelImpl.c, add
6310 gnu_java_nio_KqueueSelectorImpl.c.
6311 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6312 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6313 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6314 ALIGN_DOWN): new macros.
6315 (JCL_init_buffer): get the address through GetDirectBufferAddress
6317 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6318 Java_gnu_java_nio_VMChannel_stdout_1fd,
6319 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6320 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6322 (Java_gnu_java_nio_VMChannel_read): renamed...
6323 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6324 this; handle interrupted IO; add HAVE_READ check.
6325 (Java_gnu_java_nio_VMChannel_write): renamed...
6326 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6327 this; handle zero-length write; add HAVE_WRITE check.
6328 (Java_gnu_java_nio_VMChannel_receive): new function.
6329 (Java_gnu_java_nio_VMChannel_send): new function.
6330 (Java_gnu_java_nio_VMChannel_send6): new function.
6331 (Java_gnu_java_nio_VMChannel_read__I): new function.
6332 (Java_gnu_java_nio_VMChannel_write__II): new function.
6333 (Java_gnu_java_nio_VMChannel_socket): new function.
6334 (Java_gnu_java_nio_VMChannel_connect): new function.
6335 (Java_gnu_java_nio_VMChannel_connect6): new function.
6336 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6337 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6338 (Java_gnu_java_nio_VMChannel_accept): new function.
6339 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6340 (Java_gnu_java_nio_VMChannel_close): new function.
6341 (Java_gnu_java_nio_VMChannel_available): new function.
6342 (FileChannel_mode): new enum.
6343 (Java_gnu_java_nio_VMChannel_open): new function.
6344 (Java_gnu_java_nio_VMChannel_position): new function.
6345 (Java_gnu_java_nio_VMChannel_seek): new function.
6346 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6347 (Java_gnu_java_nio_VMChannel_lock): new function.
6348 (Java_gnu_java_nio_VMChannel_unlock): new function.
6349 (Java_gnu_java_nio_VMChannel_size): new function.
6350 (Java_gnu_java_nio_VMChannel_map): new function.
6351 (Java_gnu_java_nio_VMChannel_flush): new function.
6352 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6353 (Java_gnu_java_nio_VMPipe_init): removed.
6354 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6355 * native/jni/java-nio/javanio.c: new file.
6356 * native/jni/java-nio/javanio.h: new file.
6357 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6358 systems without `gethostbyname_r.'
6359 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6361 (<init>, <init>): new constructors.
6362 (setOption, getOption): make instance methods; defer to native
6365 (bind): make an instance method; defer to native methods.
6367 (available): removed.
6368 (listen): make an instance method; defer to native method.
6370 (join, leave): new methods.
6372 (joinGroup, leaveGroup): new methods.
6373 (shutdownInput, shutdownOutput): make instance methods.
6374 (sendUrgentData): removed.
6376 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6379 (<init>): new, public constructors.
6380 (getVMChannel): methods removed.
6381 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6382 stderr_fd): new methods.
6383 (setBlocking): make an instance method.
6384 (available): new method.
6385 (read): get native fd from `nfd.'
6386 (read): new single-byte read method.
6387 (readScattering): get native fd from `nfd.'
6388 (receive): new method.
6389 (write, writeGathering): get native fd from `nfd.'
6391 (write): new single-byte write method.
6392 (initSocket): new method.
6393 (connect): new method.
6394 (disconnect): new method.
6395 (getLocalAddress): new method.
6396 (getPeerAddress): new method.
6397 (accept): new method.
6398 (openFile): new method.
6399 (position): new method.
6401 (truncate): new method.
6403 (unlock): new method.
6406 (flush): new method.
6407 (close): new method.
6410 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6411 (pipe, pipe0): new method.
6412 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6414 (<clinit>): call `initIds.'
6415 (initIds): new method.
6416 (getInterfaces): removed.
6417 (getVMInterfaces): new method.
6418 (addAddress): new method.
6419 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6421 2006-09-16 Chris Burdess <dog@gnu.org>
6424 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6425 when in text output mode.
6427 2006-09-16 Chris Burdess <dog@gnu.org>
6430 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6432 2006-09-14 Michael Koch <konqueror@gmx.de>
6434 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6436 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6438 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6439 Added !cl.isArray() to serialVersionUID mismatch check.
6441 2006-09-14 Francis Kung <fkung@redhat.com>
6443 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6444 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6445 be compatibe with Cairo 1.2.x.
6447 2006-09-14 Francis Kung <fkung@redhat.com>
6449 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6450 (cairoSurfaceSetFilter): Removed method.
6451 (drawImage): Pass interpolation type as argument to drawing methods.
6452 (drawPixels): Added interpolation parameter.
6453 (drawRaster): Pass interpolation type as argument to drawing method.
6454 (getInterpolation): New method.
6455 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6456 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6457 * gnu/java/awt/peer/gtk/CairoSurface.java
6458 (drawSurface): Added interpolation parameter.
6459 (nativeDrawSurface): Added interpolation parameter.
6460 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6461 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6463 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6464 * native/jni/gtk-peer/cairographics2d.h
6465 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6466 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6467 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6469 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6470 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6471 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6472 interpolation parameter.
6474 2006-09-14 Gary Benson <gbenson@redhat.com>
6476 * java/net/InetAddress.java
6477 (internalGetCanonicalHostName): New method.
6478 (getCanonicalHostName): Use internalGetCanonicalHostName.
6479 (getByLiteral): New method.
6480 (getAllByName): Use getByLiteral.
6481 * java/net/SocketPermission.java
6482 (host): Replaced with...
6483 (hostname, address): New fields.
6484 (equals, hashcode): Reflect the above.
6485 (setHostPort): Parse host into hostname or address.
6486 (implies): Rewrite host checks.
6488 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6491 * java/awt/Menu.java
6492 (insert(MenuItem, int)): Fixed loop range,
6493 (insert(String, int)): Updated API docs.
6495 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6498 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6499 architectures (like Arm).
6500 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6501 Reverted SWAP_DOUBLE patch.
6502 (doubleToRawLongBits): Likewise.
6503 (longBitsToDouble): Likewise.
6505 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6507 * java/awt/Menu.java: Reformatted source file.
6509 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6511 * gnu/java/rmi/server/ActivatableRef.java
6512 (readExternal, writeExternal): Partial fix for serialization format.
6514 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6517 * java/io/InputStreamReader.java
6518 (read(char[],int,int)): Fixed bug.
6520 2006-09-13 Francis Kung <fkung@redhat.com>
6522 * java/awt/image/BandCombineOp.java: Updated documentation.
6523 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6525 2006-09-13 Tom Tromey <tromey@redhat.com>
6528 * java/io/PipedReader.java (read): Return early if len==0.
6529 * java/io/PipedInputStream.java (read): Return early if len==0.
6531 2006-09-13 Francis Kung <fkung@redhat.com>
6533 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6534 Removed hard-coded max sample value.
6535 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6536 Fixed finding of max sample value.
6538 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6540 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6541 (setPaint): Check null argument ('p').
6543 2006-09-12 Francis Kung <fkung@redhat.com>
6546 * gnu/java/awt/java2d/TexturePaintContext.java
6547 (constructor): Fixed typo, getMinY instead of getMaxX.
6548 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6549 (setPaint): Implemented support for custom Paint classes.
6550 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6551 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6552 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6553 to setPaintPixels, and added repeat parameter.
6554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6555 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6557 2006-09-12 Gary Benson <gbenson@redhat.com>
6559 * java/net/NetworkInterface.java (getInetAddresses):
6560 Fix port used in security check.
6562 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6564 * javax/swing/plaf/metal/DefaultMetalTheme.java
6565 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6566 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6567 (getControlTextFont): Check 'swing.boldMetal' setting before
6569 (getMenuTextFont): Likewise.
6571 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6573 * javax/swing/plaf/metal/OceanTheme.java
6574 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6576 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6578 * javax/swing/plaf/metal/MetalIconFactory.java
6579 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6581 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6583 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6585 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6587 * javax/swing/AbstractButton.java
6588 (AbstractButton): Initialise textIconGap field.
6590 2006-09-11 Tom Tromey <tromey@redhat.com>
6592 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6593 "volatile" when needed.
6595 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6597 * java/text/AttributedCharacterIterator.java
6598 (LANGUAGE): Initialise with lower case string,
6599 (INPUT_METHOD_SEGMENT): Likewise,
6600 (READING): Likewise,
6601 * java/text/AttributedStringIterator.java
6602 (getRunLimit): Check all attributes for changes.
6604 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6606 * java/text/AttributedCharacterIterator.java: Added @since tag,
6607 renamed some variables (no underscores) and removed some spaces to
6608 match the common style,
6609 * java/text/AttributedString.java: Likewise,
6610 * java/text/AttributedStringIterator.java: Likewise.
6612 2006-09-11 Gary Benson <gbenson@redhat.com>
6614 * java/net/Inet4Address.java
6615 (FAMILY): Renamed back to AF_INET.
6616 (<init>, writeReplace): Reflect the above.
6617 * java/net/Inet6Address.java
6618 (FAMILY): Renamed back to AF_INET6.
6619 (<init>): Reflect the above.
6621 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6624 * java/text/AttributedString.java
6625 (AttributedString(AttributedCharacterIterator, int, int,
6626 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6629 2006-09-11 Gary Benson <gbenson@redhat.com>
6631 * java/net/Inet4Address.java
6632 (AF_INET): Renamed to FAMILY.
6633 (<init>, writeReplace): Reflect the above.
6634 * java/net/Inet6Address.java
6635 (AF_INET6): Renamed to FAMILY.
6636 (<init>): Reflect the above.
6638 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6641 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6642 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6643 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6644 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6645 (bind): Call getImpl().create(true).
6647 2006-09-09 Chris Burdess <dog@gnu.org>
6649 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6650 an instance of org.w3c.dom.NodeList.
6652 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6654 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6655 missing security manager when run in standalone mode.
6657 2006-09-08 Francis Kung <fkung@redhat.com>
6659 * java/awt/image/AffineTransformOp.java: Updated documentation.
6660 (createCompatibleDestRaster): Updated formatting.
6661 (filter(BufferedImage, BufferedImage)): Updated formatting.
6662 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6663 if colour model is compatible.
6664 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6665 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6667 2006-09-08 Gary Benson <gbenson@redhat.com>
6669 * java/net/InetAddress.java
6670 (family): Updated javadoc and made private.
6671 (<init>): Add an address family argument.
6672 (readObject): Don't overwrite family.
6673 * java/net/Inet4Address.java
6674 (AF_INET): New constant.
6675 (<init>): Use AF_INET as the family.
6676 (writeReplace): Likewise.
6677 * java/net/Inet6Address.java
6678 (AF_INET6): New constant.
6679 (<init>): Use AF_INET6 as the family.
6681 2006-09-08 Gary Benson <gbenson@redhat.com>
6683 * java/net/InetAddress.java
6684 (getHostName): Move lookup into getCanonicalHostName.
6685 (getCanonicalHostName): Move lookup from getHostName,
6686 Perform security check on canonical name (ie after lookup).
6688 2006-09-08 Gary Benson <gbenson@redhat.com>
6690 * java/net/Inet4Address.java (isMulticastAddress,
6691 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6692 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6693 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6694 implementations from InetAddress.
6695 * java/net/InetAddress.java (isMulticastAddress,
6696 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6697 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6698 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6699 implementations with UnsupportedOperationExceptions.
6701 2006-09-08 Gary Benson <gbenson@redhat.com>
6703 * java/net/InetAddress.java
6704 (inaddr_any): Removed.
6705 (ANY_IF, LOCALHOST): Create using getByAddress.
6706 (<init>): Updated javadoc.
6707 (getHostName): Cache hostname even if the lookup failed.
6708 (getByAddress): Create Inet4Address objects when passed
6709 IPv4-mapped IPv6 addresses.
6711 (getAllByName): Create address objects using getByAddress.
6712 Do not perform security checks unless actually required.
6713 Do not strip whitespace from the hostname.
6714 (getInaddrAny): Removed.
6715 (getLocalHost): Return the loopback address if getByName
6716 throws a SecurityException.
6717 (readResolve): Updated javadoc.
6718 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6719 * include/java_net_VMInetAddress.h
6720 (Java_java_net_VMInetAddress_aton): Likewise.
6721 * native/jni/java-net/java_net_VMInetAddress.c
6722 (Java_java_net_VMInetAddress_aton): New method.
6723 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6724 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6725 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6726 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6727 * NEWS: Added note about updated VM interface.
6729 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6731 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6732 (setNorthPane): Assign component to titlePane.
6734 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6736 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6737 Remove unused variable alt_addr.
6738 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6739 Remove unused variables.
6741 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6743 * javax/swing/plaf/metal/MetalScrollBarUI.java
6744 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6745 (createDecreaseButton): Don't fetch scrollBarWidth here,
6746 (createIncreaseButton): Likewise.
6748 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6750 * java/awt/image/MemoryImageSource.java: Added API docs.
6752 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6754 * javax/swing/plaf/basic/BasicScrollBarUI.java
6755 (installDefaults): Call configureScrollBarColors().
6757 2006-09-06 Francis Kung <fkung@redhat.com>
6759 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6760 (constructor): Make copy of arrays.
6761 (createCompatibleDestImage): Changed treatment of null ColorModel.
6762 (filter(BufferedImage, BufferedImage)): Re-implemented.
6763 (filter(Raster, WritableRaster, boolean[])): New method.
6764 (filter(Raster, WritableRaster)): Re-implemented.
6765 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6766 (getPoint2D): Cleaned up formatting.
6767 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6769 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6771 * javax/swing/UIManager.java
6772 (getBoolean(Object)): Reimplemented,
6773 (getBoolean(Object, Locale)): Likewise,
6774 (getBorder(Object)): Likewise,
6775 (getBorder(Object, Locale)): Likewise,
6776 (getColor(Object)): Likewise,
6777 (getColor(Object, Locale)): Likewise,
6778 (getDimension(Object)): Likewise,
6779 (getDimension(Object, Locale)): Likewise,
6780 (getFont(Object)): Likewise,
6781 (getFont(Object, Locale)): Likewise,
6782 (getIcon(Object)): Likewise,
6783 (getIcon(Object, Locale)): Likewise,
6784 (getInsets(Object)): Updated API docs,
6785 (getInsets(Object, Locale)): Likewise,
6786 (getInt(Object)): Reimplemented,
6787 (getInt(Object, Locale)): Likewise,
6788 (getString(Object)): Likewise,
6789 (getString(Object, Locale)): Likewise.
6791 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6793 * javax/swing/UIManager.java
6794 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6795 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6797 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6799 * javax/swing/plaf/metal/MetalLookAndFeel.java
6800 (initComponentDefaults): Corrected various font defaults.
6802 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6804 * java/awt/List.java: Added @since to various methods.
6806 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6808 * native/jni/native-lib/cpprocess.c:
6809 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6810 Add redirection of stdout to stderr.
6811 * native/jni/native-lib/cpprocess.h:
6812 Added redirect argument.
6813 * native/jni/java-lang/java_lang_VMProcess.c
6814 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6815 * vm/reference/java/lang/VMProcess.java: Likewise.
6816 * include/java_lang_VMProcess.h: Regenerated.
6818 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6820 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6821 __attribute to __attribute__.
6823 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6826 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6828 * java/awt/List.java: Source code reformatted.
6830 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6832 * gnu/CORBA/CollocatedOrbs.java,
6833 gnu/CORBA/SafeForDirectCalls.java: New files.
6834 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6835 Implement gnu.CORBA.SafeForDirectCalls.
6836 * gnu/CORBA/NamingService/Ext.java: Likewise.
6837 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6838 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6839 of the local host. (ior_to_object): Return the local object
6840 where possible. (run): Register/unregister this ORB.
6841 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6842 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6843 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6844 (constructors): Initialize noRetain. (_invoke): Drop servant
6845 if noRetain is true. (getHandler): Always seach for the new servant
6846 if noRetain is true.
6847 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6848 * NEWS: Added note about the new feature.
6850 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6852 * java/awt/Choice.java
6853 (addItem): Fixed API doc glitch.
6855 2006-09-05 Francis Kung <fkung@redhat.com>
6857 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6858 (createCompatibleDestImage): Re-implemented.
6859 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6860 compatibility, and use ColorConvertOp for color conversion if needed.
6861 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6863 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6865 gnu/CORBA/CDR/Vio.java,
6866 org/omg/CORBA_2_3/ORB.java,
6867 org/omg/CORBA_2_3/portable/InputStream.java,
6868 org/omg/CORBA_2_3/portable/OutputStream.java,
6869 org/omg/CosNaming/BindingIteratorHelper.java,
6870 org/omg/CosNaming/BindingTypeHelper.java,
6871 org/omg/CosNaming/NameComponentHelper.java,
6872 org/omg/CosNaming/NameHelper.java,
6873 org/omg/CosNaming/NamingContextExtHelper.java,
6874 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6875 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6876 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6877 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6878 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6879 org/omg/CosNaming/NamingContextHelper.java,
6880 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6881 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6882 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6883 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6884 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6885 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6886 org/omg/DynamicAny/AnySeqHelper.java,
6887 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6888 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6889 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6890 org/omg/DynamicAny/DynAnyHelper.java,
6891 org/omg/DynamicAny/DynAnyOperations.java,
6892 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6893 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6894 org/omg/DynamicAny/DynAnySeqHelper.java,
6895 org/omg/DynamicAny/DynArrayHelper.java,
6896 org/omg/DynamicAny/DynEnumHelper.java,
6897 org/omg/DynamicAny/DynFixedHelper.java,
6898 org/omg/DynamicAny/DynSequenceHelper.java,
6899 org/omg/DynamicAny/DynStructHelper.java,
6900 org/omg/DynamicAny/DynStructOperations.java,
6901 org/omg/DynamicAny/DynUnionHelper.java,
6902 org/omg/DynamicAny/DynValueHelper.java,
6903 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6904 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6905 org/omg/IOP/CodecFactoryHelper.java,
6906 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6907 org/omg/IOP/CodecOperations.java,
6908 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6909 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6910 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6911 org/omg/IOP/ComponentIdHelper.java,
6912 org/omg/IOP/ExceptionDetailMessage.java,
6913 org/omg/IOP/MultipleComponentProfileHelper.java,
6914 org/omg/IOP/ProfileIdHelper.java,
6915 org/omg/IOP/ServiceContextListHelper.java,
6916 org/omg/IOP/ServiceIdHelper.java,
6917 org/omg/IOP/TAG_CODE_SETS.java,
6918 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6919 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6920 org/omg/PortableInterceptor/CurrentHelper.java,
6921 org/omg/PortableInterceptor/IORInfo.java,
6922 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6923 org/omg/PortableInterceptor/ORBIdHelper.java,
6924 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6925 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6926 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6927 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6928 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6929 org/omg/PortableInterceptor/RequestInfoOperations.java,
6930 org/omg/PortableInterceptor/ServerIdHelper.java,
6931 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6932 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6933 org/omg/PortableServer/AdapterActivatorOperations.java,
6934 org/omg/PortableServer/CurrentHelper.java,
6935 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6936 org/omg/PortableServer/ForwardRequestHelper.java,
6937 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6938 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6939 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6940 org/omg/PortableServer/LifespanPolicyValue.java,
6941 org/omg/PortableServer/POA.java,
6942 org/omg/PortableServer/POAHelper.java,
6943 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6944 org/omg/PortableServer/POAManagerPackage/State.java,
6945 org/omg/PortableServer/POAOperations.java,
6946 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6947 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6948 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6949 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6950 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6951 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6952 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6953 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6954 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6955 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6956 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6957 org/omg/PortableServer/ServantActivatorHelper.java,
6958 org/omg/PortableServer/ServantLocatorHelper.java,
6959 org/omg/PortableServer/ServantLocatorOperations.java,
6960 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6961 org/omg/PortableServer/ThreadPolicyValue.java,
6962 org/omg/PortableServer/_ServantActivatorStub.java,
6963 org/omg/PortableServer/_ServantLocatorStub.java,
6964 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6966 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6968 * javax/rmi/CORBA/Tie.java,
6969 org/omg/CORBA/AnyHolder.java,
6970 org/omg/CORBA/AnySeqHelper.java,
6971 org/omg/CORBA/AnySeqHolder.java,
6972 org/omg/CORBA/BooleanHolder.java,
6973 org/omg/CORBA/BooleanSeqHelper.java,
6974 org/omg/CORBA/BooleanSeqHolder.java,
6975 org/omg/CORBA/ByteHolder.java,
6976 org/omg/CORBA/CharHolder.java,
6977 org/omg/CORBA/CharSeqHelper.java,
6978 org/omg/CORBA/CharSeqHolder.java,
6979 org/omg/CORBA/Context.java,
6980 org/omg/CORBA/CurrentHelper.java,
6981 org/omg/CORBA/CustomValue.java,
6982 org/omg/CORBA/DataOutputStream.java,
6983 org/omg/CORBA/DefinitionKindHelper.java,
6984 org/omg/CORBA/DomainManagerOperations.java,
6985 org/omg/CORBA/DoubleHolder.java,
6986 org/omg/CORBA/DoubleSeqHelper.java,
6987 org/omg/CORBA/DoubleSeqHolder.java,
6988 org/omg/CORBA/DynAny.java,
6989 org/omg/CORBA/DynSequence.java,
6990 org/omg/CORBA/DynValue.java,
6991 org/omg/CORBA/DynamicImplementation.java,
6992 org/omg/CORBA/FieldNameHelper.java,
6993 org/omg/CORBA/FixedHolder.java,
6994 org/omg/CORBA/FloatHolder.java,
6995 org/omg/CORBA/FloatSeqHelper.java,
6996 org/omg/CORBA/FloatSeqHolder.java,
6997 org/omg/CORBA/IdentifierHelper.java,
6998 org/omg/CORBA/IntHolder.java,
6999 org/omg/CORBA/LocalObject.java,
7000 org/omg/CORBA/LongHolder.java,
7001 org/omg/CORBA/LongLongSeqHelper.java,
7002 org/omg/CORBA/LongLongSeqHolder.java,
7003 org/omg/CORBA/LongSeqHelper.java,
7004 org/omg/CORBA/LongSeqHolder.java,
7005 org/omg/CORBA/ORB.java,
7006 org/omg/CORBA/ObjectHelper.java,
7007 org/omg/CORBA/ObjectHolder.java,
7008 org/omg/CORBA/OctetSeqHelper.java,
7009 org/omg/CORBA/OctetSeqHolder.java,
7010 org/omg/CORBA/PolicyErrorCodeHelper.java,
7011 org/omg/CORBA/PolicyErrorHelper.java,
7012 org/omg/CORBA/PolicyHelper.java,
7013 org/omg/CORBA/PolicyListHelper.java,
7014 org/omg/CORBA/PolicyTypeHelper.java,
7015 org/omg/CORBA/PrincipalHolder.java,
7016 org/omg/CORBA/RepositoryIdHelper.java,
7017 org/omg/CORBA/Request.java,
7018 org/omg/CORBA/ShortHolder.java,
7019 org/omg/CORBA/ShortSeqHelper.java,
7020 org/omg/CORBA/ShortSeqHolder.java,
7021 org/omg/CORBA/StringSeqHelper.java,
7022 org/omg/CORBA/StringSeqHolder.java,
7023 org/omg/CORBA/ULongLongSeqHelper.java,
7024 org/omg/CORBA/ULongLongSeqHolder.java,
7025 org/omg/CORBA/ULongSeqHelper.java,
7026 org/omg/CORBA/ULongSeqHolder.java,
7027 org/omg/CORBA/UShortSeqHelper.java,
7028 org/omg/CORBA/UShortSeqHolder.java,
7029 org/omg/CORBA/ValueBaseHelper.java,
7030 org/omg/CORBA/ValueBaseHolder.java,
7031 org/omg/CORBA/VersionSpecHelper.java,
7032 org/omg/CORBA/WCharSeqHelper.java,
7033 org/omg/CORBA/WCharSeqHolder.java,
7034 org/omg/CORBA/WStringSeqHelper.java,
7035 org/omg/CORBA/WStringSeqHolder.java,
7036 org/omg/CORBA/WrongTransactionHelper.java,
7037 org/omg/CORBA/_IDLTypeStub.java,
7038 org/omg/CORBA/_PolicyStub.java,
7039 org/omg/CORBA/portable/BoxedValueHelper.java,
7040 org/omg/CORBA/portable/Delegate.java,
7041 org/omg/CORBA/portable/ObjectImpl.java,
7042 org/omg/CORBA/portable/ServantObject.java,
7043 org/omg/CORBA/portable/StreamableValue.java,
7044 org/omg/CosNaming/BindingType.java,
7045 org/omg/CosNaming/IstringHelper.java,
7046 org/omg/DynamicAny/FieldNameHelper.java,
7047 org/omg/PortableServer/Servant.java: Documentation fixes.
7049 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
7051 * java/awt/Rectangle.java
7052 (setRect(double, double, double, double)): Modified rounding of input
7055 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7057 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7058 Disallow H1 - H6 in the paragraphs.
7059 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7060 (preprocess): Leave at most one leading and/or trailing space.
7061 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7062 Do not add any text after closing the HTML tag.
7064 2006-09-02 Roman Kennke <kennke@aicas.com>
7067 * javax/swing/plaf/basic/BasicTextUI.java
7068 (RootView.getPreferredSpan): Default to 10 when there is no
7070 (RootView.getMinimumSpan): Forward to view and default to 10
7071 when there is no real view.
7072 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7073 (getMaximumSize): Check for overflow.
7074 * javax/swing/text/FieldView.java
7075 (getResizeWeight): Removed unneeded assignment.
7077 2006-09-01 Francis Kung <fkung@redhat.com>
7078 * java/awt/image/ColorConvertOp.java
7079 (copyImage): Updated javadoc and comments.
7080 (copyRaster): Add javadoc.
7081 (createCompatibleColorModel): Add javadocs and comments.
7082 (createCompatibleDestImage): Use correct transfer type.
7083 (createCompatibleDestRaster): Add new parameter for transfer type.
7084 (filter): Use correct transfer type.
7085 * java/awt/image/ConvolveOp.java: Updated javadocs.
7086 (createCompatibleDestImage): Set new image properties correctly.
7087 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7088 (filter(WritableRaster, Raster): Clip sample values to [0-255].
7090 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7092 * javax/swing/table/DefaultTableModel.java:
7093 (checkSize): Added null check for dataVector.
7095 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7097 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7098 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7099 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7101 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7103 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7104 (paintIcon): Removed unused import statements, lowered cast requirement
7105 from JCheckBox to AbstractButton.
7107 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7109 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7110 (initComponentDefaults): Added, changed and removed some
7111 tabbed pane properties.
7113 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7115 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7116 (createContent): Changed menu item name and tab naming.
7118 2006-09-01 Roman Kennke <kennke@aicas.com>
7121 * javax/swing/plaf/basic/BasicHTML.java
7122 (HTMLRootView.getAttributes): Overridden to return null.
7123 (HTMLRootView.getElement): Overridden to return the view's
7126 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7128 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7129 (calculateTabAreaHeight): Use getTabRunOverlay method instead
7130 of accessing variable directly.
7131 (calculateTabAreaWidth): Dito.
7133 2006-08-31 Keith Seitz <keiths@redhat.com>
7135 * include/jvmti.h: Include jvmti_md.h.
7137 2006-08-31 Keith Seitz <keiths@redhat.com>
7139 From Martin Platter <motse@complang.tuwien.ac.at>:
7140 * Makefile.am (include_HEADERS): Include jvmti.h.
7141 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7142 (jvmtiError): Remove superfluous comma after last entry.
7143 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7144 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7145 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7146 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7148 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7149 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7150 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7153 2006-08-31 Roman Kennke <kennke@aicas.com>
7155 * javax/swing/text/BoxView.java
7156 (getWidth): Return the width with insets added, not with one
7157 added and one removed.
7158 (getHeight): Return the height with insets added, not with one
7159 added and one removed.
7160 * javax/swing/text/GlyphView.java
7161 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7162 * javax/swing/text/ParagraphView.java
7163 (Row.getAlignment): Adjust alignment with respect to
7164 the justification attribute.
7165 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7167 * javax/swing/text/html/CSS.java
7168 (getValue): Convert length values.
7169 * javax/swing/text/html/Paragraph.java
7170 (painter): New field.
7171 (paint): Implemented to delegate painting to the BoxPainter too.
7172 (setPropertiesFromAttributes): Implemented to load attributes
7174 * javax/swing/text/html/StyleSheet.java
7175 (BoxPainter.as): Removed field.
7176 (BoxPainter.leftInset): New field.
7177 (BoxPainter.bottomInset): New field.
7178 (BoxPainter.rightInset): New field.
7179 (BoxPainter.topInset): New field.
7180 (BoxPainter.BoxPainter): Implemented to load the insets from
7182 (BoxPainter.getInset): Implemented.
7183 * gnu/javax/swing/text/html/Length.java: New class.
7184 Converts CSS length units to usable values.
7186 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7188 * configure.ac: Add check for gethostbyname_r.
7189 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7190 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7191 SOCKET_NOSIGNAL according to the configure check.
7192 (cpnet_send): Use SOCKET_NOSIGNAL.
7193 (cpnet_sendTo): Likewise.
7194 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7196 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7199 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7201 2006-08-31 Roman Kennke <kennke@aicas.com>
7203 * javax/swing/JEditorPane.java
7204 (getPreferredSize): Replace preferred size with minimum
7205 UI size only if the scrollable does _not_ track the viewport
7206 size and only if the viewport's size is smaller than the
7208 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7210 * javax/swing/plaf/basic/BasicTextUI.java
7211 (getPreferredSize): Read-lock the document to avoid
7212 concurrency problems.
7213 (getMaximumSize): Return maximum size of the view.
7214 Read-lock the document to avoid concurrency problems.
7215 (getMinimumSize): Return minimum size of the view.
7216 Read-lock the document to avoid concurrency problems.
7218 2006-08-31 Gary Benson <gbenson@redhat.com>
7220 * java/net/SocketPermission.java
7221 (maybeBracketIPv6Address): Renamed to processHostport.
7222 (processHostport): Also translate "" to "localhost".
7223 (setHostPort): Remove special cases for empty hostport and for
7224 extra colons in hostport (processHostport handles these now).
7226 2006-08-31 Mark Wielaard <mark@klomp.org>
7228 * javax/swing/text/ZoneView.java (Zone): Make static class.
7229 Constructor takes axis parameter.
7230 (createZone): Create Zone with getAxis() as major axis.
7232 2006-08-30 Roman Kennke <kennke@aicas.com>
7234 * javax/swing/text/ZoneView.java
7235 (loadChildren): Implemented.
7236 (getViewIndexAtPosition): Implemented.
7237 (checkZoneAt): New helper method.
7238 (splitZone): New helper method.
7239 (getPreferredZoneEnd): New helper method.
7241 2006-08-30 Roman Kennke <kennke@aicas.com>
7243 * javax/swing/text/ZoneView.java: New class.
7245 2006-08-30 Roman Kennke <kennke@aicas.com>
7247 * javax/swing/JMenu.java
7248 (getMenu): Removed unneeded cast.
7249 (getPopupMenuOrigin): Made positioning algorithm better respect
7251 (setMenuLocation): Also set the location on the popup if it's
7253 (setModel): Use menuChangeListener so that we don't override
7254 the changeListener field from AbstractButton.
7255 (setPopupMenuVisible): Use custom location if set, otherwise
7256 fallback to getPopupMenuOrigin().
7258 2006-08-29 Roman Kennke <kennke@aicas.com>
7260 * javax/swing/text/InternationalFormatter.java
7261 (stringToValue): Fixed bounds check.
7262 * javax/swing/text/MaskFormatter.java
7263 (MaskFormatter): Don't explicitly set allosInvalid property.
7264 (convertStringToValue): New helper method.
7265 (convertValueToString): New helper method.
7266 (convertValue): Removed. Replaced by the 2 convert* methods
7268 (getPadCharAt): Removed.
7269 (isCharValid): Removed.
7271 (stringToValue): Fixed stringToValue conversion.
7272 (stripLiterals): Removed.
7273 (valueToString): Fixed valueToString conversion.
7274 * javax/swing/text/DefaultFormatter.java
7275 (DefaultFormatter): Default to commitsOnValidEdit = false.
7277 2006-08-29 Roman Kennke <kennke@aicas.com>
7279 * javax/swing/text/TextAction.java
7280 (getTextComponent): Check event for null and return null in
7282 (augmentList): Augment Actions based on their names.
7283 * javax/swing/text/DefaultEditorKit.java
7284 (BeginAction.actionPerformed): Check target for null.
7285 (BeginLineAction.actionPerformed): Check target for null.
7286 (CopyAction.actionPerformed): Check target for null.
7287 (CutAction.actionPerformed): Check target for null.
7288 (EndAction.actionPerformed): Check target for null.
7289 (EndLineAction.actionPerformed): Check target for null.
7290 (InsertBreakAction.actionPerformed): Check target for null.
7291 (InsertTabAction.actionPerformed): Check target for null.
7292 (PasteAction.actionPerformed): Check target for null.
7293 (SelectAllAction.actionPerformed): Check target for null.
7294 (SelectionBeginAction.actionPerformed): Check target for null.
7295 (SelectionBeginLineAction.actionPerformed): Check target for null.
7296 (SelectionEndAction.actionPerformed): Check target for null.
7297 (SelectionEndLineAction.actionPerformed): Check target for null.
7298 (SelectLineAction.actionPerformed): Check target for null.
7299 (SelectWordAction.actionPerformed): Check target for null.
7301 2006-08-29 Roman Kennke <kennke@aicas.com>
7303 * javax/swing/plaf/basic/BasicTextUI.java
7304 (FocusHandler): New class. This is moved from the anonymous
7305 inner focus listener class to a static member class, and
7306 is now shared between components.
7307 (DocumentHandler): This class is combined with the PropertyHandler
7308 into the Handler class.
7309 (PropertyChangeHandler): This class is combined with the
7310 DocumentHandler into the Handler class.
7311 (Handler): New class. This combines the Property and Document
7312 handler into one class.
7313 (RootView.changedUpdate): Only forward if real view != null.
7314 (RootView.insertUpdate): Only forward if real view != null.
7315 (RootView.removeUpdate): Only forward if real view != null.
7316 (documentHandler): Removed field and replaced by handler.
7317 (focuslistener): Made field static and renamed to focusListener.
7318 (handler): New field.
7319 (kit): Lazily initialize field.
7320 (rootView): Lazily initialize field.
7321 (updateHandler): Removed and replaced by handler.
7322 (getEditorKit): Lazily instantiate field.
7323 (installDefaults): Don't set margin twice. Install correct
7324 property for disabledTextColor. Moved caret and highlighter
7325 initialization to installFixedDefaults.
7326 (installFixedDefaults): New method. Installs defaults that
7327 can't be overridden by subclasses.
7328 (installListeners): Only install focus handler when new
7329 system property gnu.swing.text.no-xlike-clipboard is not set.
7330 Lazily initialize focus handler.
7331 (installUI): Lazily initialize rootView. Install handler
7332 both for property and document changes.
7333 (uninstallDefaults): Uninstall the UI defaults.
7334 (uninstallFixedDefaults): New method. Uninstalls the fixed
7336 (installListeners): Only uninstall focus handler when not null.
7337 (uninstallUI): Uninstall property and document listener here.
7339 2006-08-29 Gary Benson <gbenson@redhat.com>
7341 * java/net/SocketPermission.java
7342 (maybeBracketIPv6Address): New method.
7343 (<init>): Pass the hostport argument through the above.
7345 * java/net/NetworkInterface.java (getInetAddresses):
7346 Don't bracket IPv6 addresses.
7348 2006-08-28 Roman Kennke <kennke@aicas.com>
7350 * javax/swing/text/BoxView.java
7351 (calculateMinorAxisRequirements): Initialize max size
7352 with Integer.MAX_VALUE.
7353 * javax/swing/text/Utilities.java
7354 (getBreakLocation): For simple chars, scan the text directly.
7355 * javax/swing/text/WrappedPlainView.java
7356 (tabBase): New field.
7357 (tabSize): New field.
7358 (calculateBreakPosition): Use Utilities. Fixed for correct
7360 (changedUpdate): Update children directly.
7361 (insertUpdate): Update children directly. Notify children.
7362 (removeUpdate): Update children directly. Notify children.
7363 (updateChildren): New helper method.
7364 (nextTabStop): Fixed to return correct results.
7365 (paint): Update tabBase.
7366 (updateMetrics): Update tab size.
7368 2006-08-28 Roman Kennke <kennke@aicas.com>
7370 * javax/swing/text/Position.java
7371 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7372 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7374 2006-08-28 Roman Kennke <kennke@aicas.com>
7376 * javax/swing/text/View.java
7377 (height): Removed unneeded field.
7378 (width): Removed unneeded field.
7379 (getBreakWeight): Return GoodBreakWeight when pos is after
7381 (getToolTipText): Check view index more carefully. Avoid
7383 (insertUpdate): Only execute method body if view count > 0.
7384 When updateChildren returns false, clear the ec variable.
7385 (updateChildren): Added null checks.
7386 (viewToModel): Initialize bias array correctly.
7387 * javax/swing/text/CompositeView.java
7388 (children): Made private.
7389 (numChildren): New field.
7390 (loadChildren): Check factory for null. Don't load children
7391 when factory is null.
7392 (replace): Removed null check. Nullify removed children. Made
7393 growing the array more efficient.
7394 (getViewCount): Return numChildren rather then the real array
7396 * javax/swing/text/BoxView.java
7397 (getViewAtPoint): Fixed algorithm for finding the view.
7398 (replace): Made array growing more efficient.
7399 (replaceLayoutArray): New helper method for growing/patching
7401 (viewToModel): Make sure we have a valid layout.
7403 2006-08-28 Tania Bento <tbento@redhat.com>
7405 * java/awt/MenuShortcut.java
7406 (MenuShortcut (int, boolean)): Set keyName.
7407 (toString): Modified string output.
7408 (setKeyName): New private method.
7410 2006-08-28 Roman Kennke <kennke@aicas.com>
7412 * javax/swing/text/GapContent.java
7413 (Mark.getOffset): Made assert less strict, include boundary.
7414 (search): Made package private to avoid accessor method.
7416 2006-08-28 Roman Kennke <kennke@aicas.com>
7418 * javax/swing/text/StringContent.java
7419 (InsertUndo.positions): New field.
7420 (InsertUndo.redo): Update the undo positions.
7421 (InsertUndo.undo): Fetch the undo positions.
7422 (Mark): New class. Layer of indirection to allow Positions
7423 to be GC'ed while we still hold references to the Mark.
7424 (RemoveUndo.len): New field.
7425 (RemoveUndo.positions): New field.
7426 (RemoveUndo.RemoveUndo): Fetch undo positions.
7427 (RemoveUndo.redo): Re-fetch positions and string.
7428 (RemoveUndo.undo): Update undo positions.
7429 (StickyPosition.mark): New field.
7430 (StickyPosition.offset): Removed field.
7431 (StickyPosition.StickyPosition): Create new Mark. Register
7432 Position in queueOfDeath. Update reference count on mark.
7433 (StickyPosition.getOffset): Return offset stored in mark.
7434 (StickyPosition.setOffset): Removed unneeded method.
7435 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7437 (marks): New field. Stores the marks.
7438 (positions): Removed field.
7439 (queueOfDeath): New field. Used for GCing the positions.
7440 (StringContent): Initialize queueOfDeath.
7441 (createPosition): Lazily create marks vector.
7442 (garbageCollect): New helper method. Collects positions
7443 to be GCed and updates their marks.
7444 (getChars): Fixed bounds check.
7445 (getPositionsInRange): When v == null, create new Vector,
7446 otherwise use v. Store UndoPosRefs in vector.
7447 (getString): Added comment about bug in RI.
7448 (insertString): Use new helper method for replacing the array.
7449 Correctly update positions.
7450 (length): Removed this qualifier.
7451 (remove): Use new helper method for replacing the array.
7452 Correctly update positions.
7453 (replace): New helper method for growing or patching the array.
7454 (updateUndoPositions): Implemented. Updates the positions
7455 for undo/redo operations.
7457 2006-08-27 Roman Kennke <kennke@aicas.com>
7459 * javax/swing/text/StyleContext.java
7460 (NamedStyle.attributes): Made field transient.
7461 (NamedStyle.changeEvent): Made field transient.
7462 (NamedStyle.name): Removed field. The name is stored as
7464 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7465 storing the name and check for null name and resolveParent.
7466 Don't initialize changeEvent.
7467 (NamedStyle.copyAttributes): Return a new NamedStyle,
7468 rather than a plain copy of the attributes field.
7469 (NamedStyle.fireStateChange): Lazily create changeEvent
7471 (NamedStyle.getName): Fetch name from attributes.
7472 (NamedStyle.setName): Store name from attributes.
7473 (NamedStyle.readObject): Implemented for correct
7475 (NamedStyle.writeObject): Implemented for correct
7477 (NamedStyle.setResolveParent): When new parent is null,
7478 remove resolveParent attribute. Use addAttribute() method
7479 rather than StyleContext addAttribute().
7480 (NamedStyle.toString): Fixed to produce output equal to the
7482 (SmallAttributeSet.resolveParent): New field.
7483 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7484 the resolveParent field correctly.
7485 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7486 array but store it directly. Update
7487 the resolveParent field correctly.
7488 (SmallAttributeSet.clone): Return this as the object is
7490 (SmallAttributeSet.containsAttributes): Make sure that keys
7491 and values are the same.
7492 (SmallAttributeSet.containsAttribute): Make sure that keys
7493 and values are the same.
7494 (SmallAttributeSet.copyAttributes): Return this as the object is
7496 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7497 are equal if they have the same number of attributes and
7498 one contains the other.
7499 (SmallAttributeSet.getAttribute): Improved lookup of
7501 (SmallAttributeSet.getResolveParent): Improved lookup of
7503 (SmallAttributeSet.isEqual): When comparing object is a
7504 SmallAttributeSet, consider them equal only if they are the
7506 (SmallAttributeSet.toString): Fixed to produce output equal to the
7508 (attributeSetPool): New field.
7509 (defaultStyleContext): Initialize lazily.
7510 (defaultStyle): Removed field. This is stored in the style context
7512 (listenerList): Removed field. The NamedStyle stores the
7514 (readAttributeKeys): New static field. Used for looking up
7515 the serialization mappings when reading.
7516 (search): New field. Used as search key.
7517 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7518 (styles): New field. Stores the styles and listeners.
7519 (styleTable): Removed field. Replaced by styles field.
7520 (writeAttributeKeys): New static field. Used for looking up
7521 the serialization mappings when writing.
7522 (static_initializer): Register mappings for all keys in
7524 (StyleContext): Initialize styles correctly.
7525 (addAttributes): Fixed caching of immutable attributes.
7526 (addAttribute): Fixed caching of immutable attributes.
7527 (removeAttributes): Fixed caching of immutable attributes.
7528 (removeAttribute): Fixed caching of immutable attributes.
7529 (addChangeListener): Add listener to styles field.
7530 (removeChangeListener): Remove listener from styles field.
7531 (getChangeListeners): Fetch listeners from styles field.
7532 (addStyle): Add style to styles field.
7533 (cleanupPool): New method.
7534 (getDefaultStyleContext): Lazily create context.
7535 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7536 (getMutableAttributeSet): New helper method. Used for
7538 (getStaticAttribute): Fetch key from readAttributeKeys.
7539 (getStyleNames): Return names from styles field.
7540 (getStyle): Lookup style in styles field.
7541 (removeStyle): Remove style from styles field.
7542 (readAttributeSet): Fixed deserialization.
7543 (writeAttributeSet): Fixed serialization.
7544 (readObject): Fixed deserialization.
7545 (writeObject): Fixed serialization.
7546 (reclaim): Simply cleanup the pool.
7547 (registerStaticAttributeKey): Store mapping in both ways.
7548 (searchImmutableSet): New helper method for caching.
7549 (toString): Fixed for output like the RI.
7550 * javax/swing/text/StyleConstants.java
7551 (keys): New field. Stores all known keys.
7552 (StyleConstants): Store created key in keys list.
7553 * javax/swing/event/EventListenerList.java
7554 (readObject): Fixed deserialization.
7555 (writeObject): Fixed serialization.
7557 2006-08-25 Roman Kennke <kennke@aicas.com>
7559 * javax/swing/text/CompositeView.java
7560 (insets): Removed. Replaced by single short fields.
7561 (top): New field. Replaces insets.
7562 (bottom): New field. Replaces insets.
7563 (left): New field. Replaces insets.
7564 (right): New field. Replaces insets.
7565 (CompositeView): Initialize insets fields.
7566 (createDefaultLocation): Removed unneeded method.
7567 (getBottomInset): Return field directly.
7568 (getTopInset): Return field directly.
7569 (getLeftInset): Return field directly.
7570 (getRightInset): Return field directly.
7571 (getInsideAllocation): Adjusted to work on new insets fields.
7572 (getViewIndex): Fixed check.
7573 (loadChildren): Don't replace the old children.
7574 (replace): Make sure that there is an array to operate on.
7575 Only set parent to null, when it is this View.
7576 (setInsets): Adjusted to work with new insets fields.
7577 (setParagraphInsets): Fixed to pull insets directly from
7580 2006-08-25 Roman Kennke <kennke@aicas.com>
7582 * javax/swing/text/ComponentView.java
7583 (Interceptor): New inner helper class. Used to propagate
7584 invalidate requests and cache component layout sizes.
7585 (interceptor): New field.
7586 (getAlignment): Fetch alignment from interceptor container.
7587 (getComponent): Don't create component here. This is done
7589 (getMaximumSpan): Fetch layout info from interceptor. Check
7591 (getMinimumSpan): Fetch layout info from interceptor. Check
7593 (getPreferredSpan): Fetch layout info from interceptor. Check
7595 (modelToView): Fixed model to view mapping.
7596 (viewToModel): Fixed view to model mapping.
7597 (paint): Check for null. Set bounds on interceptor rather
7599 (setParentImpl): Install interceptor between component
7600 and hosting container.
7601 (setParent): Call super.setParent() immediately.
7603 2006-08-25 Roman Kennke <kennke@aicas.com>
7605 * javax/swing/text/LabelView.java
7606 (setPropertiesFromAttributes): Only set background when
7607 the corresponding attribute is actually defined, otherwise
7608 set to null, as the StyleConstants would return black.
7609 * javax/swing/text/DefaultStyledDocument.java
7610 (ElementBuffer.documentEvent): Removed obsolete field.
7611 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7612 to correctly update the element structure.
7613 (ElementBuffer.insertContentTag): Removed unused statement.
7614 (ElementBuffer.recreateAfterFracture): Removed
7615 unused obsolete method.
7616 (setCharacterAttributes): Removed unused statement.
7618 2006-08-25 Roman Kennke <kennke@aicas.com>
7620 * examples/gnu/classpath/examples/swing/Demo.java
7621 (LaterMain.run): Removed unused local variable.
7622 (Demo): Don't put desktop in scrollpane.
7623 (addChildren): Removed unused method.
7624 (mkButtonBar): Added HTML demo.
7625 (mkMenuBar): Added HTML demo.
7626 (mkPanel): Removed unused method.
7627 (mkScrollPane): Removed unused method.
7628 (mkTree): Removed unused method.
7629 (valign2str): Removed unused method.
7630 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7631 Initialize text field with some HTML that already works.
7632 (DEBUG): New field. Set to true for debugging output.
7633 (createContent): Dump element tree after parsing.
7635 2006-08-25 Roman Kennke <kennke@aicas.com>
7637 * javax/swing/text/html/CSS.java
7638 (getValue): Added color value conversion.
7639 * javax/swing/text/html/HTMLDocument.java
7640 (HTMLReader.ConvertAction): New class, converts HTML style tags
7642 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7643 * javax/swing/text/html/InlineView.java
7644 (setPropertiesFromAttributes): Implemented to fetch
7645 CSS character attributes.
7646 * javax/swing/text/html/StyleSheet.java
7647 (addCSSAttribute): Convert value.
7648 (getBackground): Implemented to fetch CSS background color
7650 (getForeground): Implemented to fetch CSS color
7652 (getFont): Adjust font size for superscript and subscript.
7653 (translateHTMLToCSS): Rudimentary implementation that
7654 copies the original attributes, so that any CSS attributes in
7655 there are preserved.
7656 (stringToColor): Use CSSColor for conversion.
7657 * gnu/javax/swing/text/html/css/CSSColor.java:
7658 New class. Converts CSS color values to RGB color values.
7659 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7660 Removed. This is more or less replaced by CSSColor and the
7661 ConvertAction in HTMLReader.
7663 2006-08-25 Roman Kennke <kennke@aicas.com>
7665 * javax/swing/text/BoxView.java
7666 (childReqs): Removed obsolete field.
7667 (baselineLayout): Reimplemented for correct baseline layout.
7668 (baselineRequirements): Reimplemented for correct baseline
7670 (updateChildRequirements): Removed obsolete method.
7671 * javax/swing/text/GlyphView.java
7672 (DefaultGlyphPainter.getSpan): Removed unused statement.
7673 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7674 specially. The subscript/superscript layout is performed
7675 via the alignment, the font is supplied by the StyleContext.
7676 (breakView): Removed unused statements.
7677 (getAlignment): Adjust alignment according to the
7678 superscript/subscript setting.
7679 (getFont): Reimplemented to fetch the font from the style
7680 context, or from the document if the stylecontext is not
7682 (getPreferredSpan): Adjust span for superscript. Use switch
7684 * javax/swing/text/LabelView.java
7685 (setPropertiesFromAttributes): Fetch background and foreground
7686 from document / style context.
7687 (isSubscript): Resync properties if needed.
7688 * javax/swing/text/ParagraphView.java
7689 (Row.calculateMinorAxisRequirements): Overridden to perform
7691 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7693 2006-08-24 Roman Kennke <kennke@aicas.com>
7695 * javax/swing/text/Utilities.java
7696 (BUF_LENGTH): Removed unused field.
7697 (drawTabbedText): Removed unneeded cast.
7698 (getBreakLocation): Removed unneeded cast.
7699 Fixed offset to account for Segments not starting at 0.
7701 2006-08-24 Roman Kennke <kennke@aicas.com>
7703 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7704 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7705 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7706 (ScrollingPane.updateUI): Likewise.
7707 (calculateTabWidth): Rewritten to correctly and efficiently
7708 layout the tab width.
7709 (layoutLabel): Call SwingUtilities method with the tabPane
7711 (paintContentBorderLeftEdge): Removed unused statement.
7712 (paintContentBorderRightEdge): Removed unused statement.
7713 (paintContentBorder): Removed unused statement.
7715 2006-08-24 Roman Kennke <kennke@aicas.com>
7717 * javax/swing/plaf/basic/BasicTextUI.java
7718 (RootView.getAttributes): Overridden to return null,
7719 as the RootView has no parent.
7721 2006-08-24 Roman Kennke <kennke@aicas.com>
7723 * javax/swing/text/html/CSSParser.java: Removed.
7724 * javax/swing/text/html/CSS.java
7725 (getValue): New helper method. Returns special converter
7726 instances for certain kinds of property values.
7727 * javax/swing/text/html/HTMLDocument.java
7728 (HTMLReader.CharacterAction.start): Don't translate tags
7729 here. Instead, store the attributes directly with the tag
7731 (content): Removed field. The Content object is handled
7732 by AbstractDocument.
7733 (styleSheet): Removed field. The styleSheet is the styleContext
7734 of this document and handled by the DefaultStyledDocument already.
7735 (HTMLDocument(Content,StyleSheet): Simply call super here.
7736 The super classes already handle the content and styleContext.
7737 (HTMLDocument()): Call this() with a default GapContent and
7739 (getStyleSheet): Return the styleContext here.
7740 (insertUpdate): New method. Overridden to add the
7741 CONTENT dummy tag to the element's attributes.
7742 (setBase): Set the base on the styleContext.
7743 * javax/swing/text/html/HTMLEditorKit.java
7744 (styleContext): Removed unneeded field.
7745 (styleSheet): Made field private.
7746 (HTMLEditorKit): Do nothing here. The StyleSheet is
7747 created lazily in getStyleSheet(). A styleContext is not
7749 (getStyleSheet): Create StyleSheet correctly.
7750 (insertHTML): Removed unneeded cast.
7751 * javax/swing/text/html/InlineView.java
7752 (attributes): New field.
7753 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7754 (getAttributes): Implemented to fetch the attributes from
7756 * javax/swing/text/html/MultiAttributeSet.java: New class.
7757 Multiplexes between several AttributeSets.
7758 * javax/swing/text/html/MultiStyle.java: New class.
7759 Multiplexes between several Styles.
7760 * javax/swing/text/html/ParagraphView.java
7761 (attributes): New field.
7762 (getAttributes): Implemented to fetch the attributes from
7764 * javax/swing/text/html/StyleSheet.java
7765 (CssParser): Removed inner class.
7766 (CSSStyle): New inner class. Represents a style defined
7768 (CSSStyleSheetParserCallback): New class, for parsing
7770 (css): New field. Stores the CSS rules.
7771 (resolvedStyles): New field. Stores resolved styles.
7772 (StyleSheet): Initialize resolvedStyles map.
7773 (addRule): Removed bogus impl.
7774 (getFont): Implemented to fetch font, based on CSS rules.
7775 (getResolvedStyle): New helper method. Looks up resolved
7776 styles, and resolves a style if necessary.
7777 (resolveStyle): New pair of helper methods. Resolves
7779 (getRule(String)): Provide rudimentary implementation.
7780 (getRule(Tag,Element)): Implemented.
7781 (getViewAttributes): Implemented.
7782 (loadRules): Implemented.
7783 (translateHTMLToCSS): Tagged as not implemented.
7784 * javax/swing/text/html/ViewAttributeSet.java: New class.
7786 2006-08-24 Roman Kennke <kennke@aicas.com>
7788 * javax/swing/text/FlowView.java:
7789 (LogicalView.getAttributes): New method. Overrides super
7790 impl to return the attributes of the FlowView instance.
7791 * javax/swing/text/LabelView.java:
7792 (setPropertiesFromAttributes): Fetch attributes from
7793 View, rather then from the Element. (In the HTML
7794 package the getAttributes() method is overridden to
7795 return different attributes). Fetch font from the StyledDocument.
7797 2006-08-24 Roman Kennke <kennke@aicas.com>
7799 * javax/swing/text/DefaultEditorKit.java:
7800 (DefaultKeyTypedAction.actionPerform): Also filter
7801 ALT and CTRL modifiers.
7803 2006-08-24 Roman Kennke <kennke@aicas.com>
7805 * gnu/javax/swing/text/html/css/FontSize.java,
7806 * gnu/javax/swing/text/html/css/FontStyle.java,
7807 * gnu/javax/swing/text/html/css/FontWeight.java:
7808 New classes. Used to convert CSS font attributes to AWT/Swing
7811 2006-08-24 Francis Kung <fkung@redhat.com>
7812 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7813 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7814 (srccs, dstcs, rasterValid): Variables removed.
7815 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7816 (copyRaster): Check for null rendering hints
7817 (createCompatibleColorModel): New private method.
7818 (createCompatibleDestImage): Re-implemented.
7819 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7820 (createCompatibleDestRaster(Raster)): Re-implemented.
7821 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7822 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7823 (getPoint2D): Clean up formatting.
7824 * java/awt/image/ComponentColorModel.java
7825 (constructor): use findBits method instead of passing null.
7826 (findBits): New method.
7828 2006-08-24 Gary Benson <gbenson@redhat.com>
7830 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7833 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7835 * java/lang/ref/Reference.java
7836 (queue, nextOnQueue): Made volatile.
7837 (enqueue): Made thread safe.
7838 * java/lang/ref/ReferenceQueue.java
7840 (poll): Removed synchronized.
7841 (enqueue): Changed to synchronize on lock object, to update Reference
7842 state and return success status.
7843 (dequeue, remove): Synchronize on lock object.
7845 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7847 * java/security/SecureClassLoader.java
7848 (protectionDomainCache): Changed to HashMap.
7849 (SecureClassLoader): Removed redundant security check.
7850 (defineClass(String,byte[],int,int,CodeSource): Moved
7851 protection domain lookup/construction to new method.
7852 (defineClass(String,ByteBuffer,CodeSource): New method.
7853 (getProtectionDomain): New method.
7855 2006-08-23 Roman Kennke <kennke@aicas.com>
7857 * javax/swing/JComponent.java
7858 (isRepainting): Made package private.
7859 (paintChild): New field.
7860 (findOpaqueParent): Removed method. This is now in
7862 (findOverlapFreeParent): Removed method. This is now
7863 in paintImmediately2().
7864 (findPaintRoot): Removed method. This is now
7865 in paintImmediately2().
7866 (isCompletelyObscured): Changed to take rectangle as single
7868 (isPaintingDoubleBuffered): Removed method. This is now
7869 in paintImmediately2().
7870 (isPartiallyObscured): New helper method.
7871 (onTop): New helper method for optimization.
7872 (paintChildren): Paint only to specific child when
7873 requested like this from paintImmediately2().
7874 (paintDoubleBuffered): Changed to take rectangle as single int
7876 (paintImmediately2): Changed to take rectangle as single int
7877 arguments. Optimized determination of paint root.
7878 (paintImmediately(Rectangle)): Change to delegate to
7879 paintImmediately(int,int,int,int).
7880 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7881 and start painting there.
7882 (paint): Call paintDoubleBuffered() with int arguments. Only
7883 paint component, when not completely occupied by opaque child.
7884 (processKeyBinding): Removed unnecessary cast.
7885 (isOccupiedByChild): New helper method.
7886 * javax/swing/RepaintManager.java
7887 (repaintUnderway): Removed obsolete field.
7888 (commitRequests): Removed obsolete field.
7889 (RepaintManager): Removed initialization of obsolete fields.
7890 (addDirtyRegion): Removed unused statement.
7891 (commitBuffer): Changed to take plain ints as argument.
7892 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7893 Compute offsets in place, rather than using SwingUtilities.
7894 (paintDirtyRegions): Removed unused field.
7895 * javax/swing/JMenuItem.java
7896 (onTop): Return true when not descendant of JInternalFrame.
7897 * javax/swing/JPopupMenu.java
7898 (onTop): Return true.
7899 * javax/swing/JToolTip.java
7900 (onTop): Return true.
7901 * javax/swing/JViewport.java
7902 (paintImmediately2): Change signature to match the
7903 corresponding JComponent method.
7905 2006-08-23 Tania Bento <tbento@redhat.com>
7907 * java/awt/Color.java
7908 (brighter): Modified algorithm to correctly determine the
7909 new brighter colour.
7911 2006-08-23 Roman Kennke <kennke@aicas.com>
7913 * java/awt/Container.java
7914 (maxSize): Removed field. This is already declared in Component.
7915 (validateTree): Check for ContainerPeer. Don't addNotify here.
7916 Only validate Component instances if they are invalid.
7918 2006-08-22 Roman Kennke <kennke@aicas.com>
7920 * javax/swing/JComponent.java
7921 (preferredSize): Removed field.
7922 (maximumSize): Removed field.
7923 (minimumSize): Removed field.
7924 (getMaximumSize): Adjusted to delegate to Component, rather
7925 then managing the size in JComponent.
7926 (getMinimumSize): Adjusted to delegate to Component, rather
7927 then managing the size in JComponent.
7928 (getPreferredSize): Adjusted to delegate to Component, rather
7929 then managing the size in JComponent.
7930 (isMaximumSizeSet): Removed.
7931 (isMinimumSizeSet): Removed.
7932 (isPreferredSizeSet): Removed.
7933 (setMaximumSize): Removed.
7934 (setMinimumSize): Removed
7935 (setPreferredSize): Removed.
7937 2006-08-22 Roman Kennke <kennke@aicas.com>
7939 * javax/swing/AbstractButton.java
7940 (ButtonChangeListener.stateChanged): Delegate to combined
7942 (EventHandler): New inner class. Handles all three types
7943 of events on the model.
7944 (eventHandler): New field. Stores the combined event
7946 (AbstractButton): Moved listener initialization to
7948 (createActionListener): Return combined handler.
7949 (createChangeListener): Return combined handler.
7950 (createItemListener): Return combined handler.
7951 (getEventHandler): New helper method for creating the combined
7953 (setModel): Initialize listeners here.
7954 * javax/swing/plaf/basic/BasicButtonListener.java
7955 (ButtonAction): New class. Implements the keyboard action
7957 (checkOpacity): Implemented.
7958 (createDefaultActionMap): New helper method.
7959 (installKeyboardActions): Rewritten to install InputMap
7960 and ActionMap according to 'new' keyboard input method.
7961 (mouseClicked): Commented as no-op.
7962 (mouseDragged): Commented as no-op.
7963 (mouseMoved): Commented as no-op.
7964 (propertyChange): Check for contentAreaFilled change and
7965 update opacity. Pull handling of HTLM in font and text handler.
7966 (stateChanged): Repaint button.
7967 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7968 * javax/swing/plaf/basic/BasicButtonUI.java
7969 (listener): Removed.
7970 (sharedListener): New static field. Stores the shared listener.
7971 (sharedUI): New static field. Stores the shared UI.
7972 (createButtonListener): Return shared instance here.
7973 (createUI): Return shared instance here.
7974 (getButtonListener): New helper method. Looks for the
7975 BasicButtonListener installed on a button and returns it.
7976 (installDefaults): Correctly install rollover property here.
7977 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7978 (installKeyboardActions): Fetch listener with new helper method.
7979 (installListeners): Don't use removed field. Check for null.
7980 (installUI): Added comment about order of method invocations.
7981 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7982 (uninstallKeyboardActions): Fetch listener with new helper method.
7983 (uninstallListeners): Fetch listener with new helper method.
7984 (paintIcon): Paint icon offset when pressed and armed.
7985 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7986 * javax/swing/plaf/metal/MetalButtonUI.java
7987 (sharedUI): New field. Stores the shared UI.
7988 (MetalButtonUI): Don't initialize fields here.
7989 (createButtonListener): Removed method. Use super impl.
7990 (createUI): Return shared instance.
7991 (getDisabledTextColor): Update field here.
7992 (getFocusColor): Update field here.
7993 (getSelectColor): Update field here.
7994 (installDefaults): Don't handle rollover property here.
7995 (uninstallDefaults): Don't handle rollover property here.
7996 (paintButtonPressed): Use accessor method to update the
7999 2006-08-21 Mark Wielaard <mark@klomp.org>
8001 Merge NATIVE_LAYER branch.
8003 2006-08-20 Mark Wielaard <mark@klomp.org>
8005 * doc/tools.texinfo: Add file from trunk.
8006 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
8007 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
8009 * native/jni/java-lang/java_lang_VMProcess.c
8010 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8011 * native/jni/java-net/java_net_VMInetAddress.c
8012 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8013 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8015 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8017 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8019 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8021 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8023 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8025 * include/java_lang_VMProcess.h: Regenerated.
8027 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
8029 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8030 (nativeReceive): Fixed the type of the arrays (use java types).
8031 (nativeSendTo): Force throwing an exception if port is 0.
8033 * native/jni/java-net/javanet.c:
8034 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8036 (_javanet_recvfrom): Likewise.
8037 (_javanet_sendto): Throw a NullPointerException if the socket is
8038 not connected and no address is given.
8040 * native/jni/java-net/javanet.h
8041 (NULL_EXCEPTION): Defined.
8043 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
8045 * native/jni/java-net/java_net_VMInetAddress.c
8046 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8049 * native/jni/java-net/javanet.c
8050 (_javanet_accept): Fixed bogus call to TARGET.
8051 (_javanet_create_inetaddress): Fixed address generation. Fixed
8053 (_javanet_bind): set "Reuse address" flag.
8055 * native/jni/native-lib/cpio.c
8056 (cpio_getModificationTime): Fixed type.
8057 (cpio_removeFile): Use rmdir too.
8059 * native/jni/native-lib/cpnet.c
8060 (cpnet_getHostByName): Fixed error detection.
8062 * native/jni/native-lib/cpnet.h
8063 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8065 (cpnet_IPV4AddressToBytes): Fixed types.
8067 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
8069 * native/jni/native-lib/cpio.c
8070 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8072 * native/jni/native-lib/cpnet.h:
8073 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8074 messed by signs in jbyte.
8076 * native/jni/native-lib/cpproc.h
8077 (CPIO_EXEC_NUM_PIPES): Compilation fix.
8079 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
8081 * native/jni/native-lib/cpnet.c
8082 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8083 (waitForWritable, waitForReadable): New functions.
8084 (socketTimeouts): New static global table to hold timeouts for all
8086 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8087 Added waitForXXXX safeguards to handle socket timeouts.
8089 * native/jni/java-net/javanet.c
8090 (_javanet_accept): Check for the right error value when a timeout
8093 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
8095 * native/jni/java-io/Makefile.am,
8096 native/jni/java-lang/Makefile.am,
8097 native/jni/java-net/Makefile.am,
8098 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8100 * native/jni/native-lib/Makefile.am: Added cpproc.c
8102 * native/jni/native-lib/cpio.c: Implemented missing functions for
8105 * native/jni/native-lib/cpnet.c
8106 (cpnet_getHostByName): Fixed address array initialization.
8108 * native/jni/native-lib/cpproc.c: Implemented.
8110 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8112 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8114 * m4/gcc_attribute.m4: New file from ac_archive.
8116 * native/jni/java-net/javanet.c: Adapted to cpnet API
8119 * native/jni/native-lib/cpnet.c: Implemented.
8121 * native/jni/native-lib/cpnet.h
8122 (cpnet_openSocketDatagram,
8123 cpnet_openSocketStream): These calls need an address family now.
8124 (cpnet_IPV4AddressToBytes,
8125 cpnet_bytesToIPV4Address): Convert the address to network order.
8127 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8129 * native/jni/java-io/java_io_VMFile.c,
8130 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8131 native/jni/midi-dssi/dssi_data.h,
8132 native/jni/native-lib/cpio.c,
8133 native/jni/native-lib/cpmath.h: Removed cpmath
8134 dependency. Fixed coding style.
8136 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8138 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8139 dependency. Simplified the JNI code by moving some part into the
8142 * native/jni/native-lib/cpproc.h: New interface to handle processes.
8144 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8146 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8147 errors. Removed any remaining TARGET invocations.
8149 * native/jni/java-net/javanet.c
8150 (_javanet_create_inetaddress): Removed spurious arr and
8151 octets. Fixed compilation errors.
8153 * native/jni/native-lib/cpnet.h
8154 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8155 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8156 cpnet_isIPV4Address): New functions.
8157 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8160 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8162 * native/jni/java-io/java_io_VMFile.c,
8163 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8164 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8165 native/jni/java-net/javanet.c,
8166 native/jni/java-net/javanet.h: Adapted the VM layer code
8167 to the new native layer.
8169 * native/jni/native-lib/cpnet.h
8170 (cpnet_addMembership,
8171 cpnet_dropMembership,
8172 cpnet_getAvailableBytes): Added the declarations of
8174 (cpnet_newIPV6Address,
8175 cpnet_IPV6AddressToBytes,
8176 cpnet_bytesToIPV6Address): Implemented.
8177 (cpnet_newIPV4Address): Initialize the sin_family field.
8179 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8181 * native/target: Removed.
8183 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8184 Makefile generation.
8186 * native/jni/native-lib/Makefile.am,
8187 native/jni/native-lib/cpnet.h,
8188 native/jni/native-lib/cpnet.c
8189 native/jni/native-lib/cpio.h,
8190 native/jni/native-lib/cpio.c,
8191 native/jni/native-lib/cpmath.h: Imported new native compatibility
8194 2006-08-21 Roman Kennke <kennke@aicas.com>
8196 * gnu/javax/swing/text/html/css/CSSParser.java:
8198 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8200 * gnu/javax/swing/text/html/css/CSSParserException.java:
8202 * gnu/javax/swing/text/html/css/CSSScanner.java:
8203 Adjusted API comments. Made all constants package private.
8204 (EOF): New constant field.
8205 (parseBuffer): Made package private.
8206 (tokenEnd): Made package private.
8207 (CSSScanner): Initialize lookahead buffer with -1.
8208 (main): Print out to System.out rather then System.err.
8209 (nextToken): Push back character after IDENT.
8211 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8213 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8215 2006-08-21 Roman Kennke <kennke@aicas.com>
8217 * gnu/javax/swing/text/html/css/CSSScanner.java
8218 (main): Use buffered input stream.
8219 (nextToken): Removed 65536 workaround. Use int value directly
8220 without cast to char.
8221 (readComment): Use int value directly without cast to char.
8222 Cast to char only when putting the character into the buffer.
8223 (readEscape): Likewise.
8224 (readIdent): Likewise.
8225 (readName): Likewise.
8226 (readNum): Likewise.
8227 (readString): Likewise.
8228 (readWhitespace): Likewise.
8230 2006-08-21 Ingo Proetel <proetel@aicas.com>
8232 * java/io/InputStreamReader.java
8233 (bytesCache): New field.
8234 (cacheLock): New field.
8235 (read(byte[],int,int): Avoid allocations of new byte
8236 array on every call and reuse cached byte array if possible.
8238 2006-08-21 Roman Kennke <kennke@aicas.com>
8240 * gnu/java/net/local/LocalSocketImpl.java
8241 Only load native lib if this is supported by runtime.
8242 * native/jni/java-net/local.c
8243 Include config.h unconditionally.
8244 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8245 Include config.h unconditionally.
8247 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8249 * java/io/ObjectInputStream.java
8250 (objectLookupTable): Changed to be a Vector.
8251 (ObjectInputStream): Initialize objectLookupTable as Vector.
8252 (assignNewHandle): Store Object using handle index rather than
8253 Hashtable, using the new rememberHandle() method.
8254 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8255 with a caching in ObjectStreamClass.
8256 (inputGetObjectStreamClass): Replaced by hierarchy().
8257 (lookupHandle): New method. Looks up an object by it's handle
8259 (parseContent): Avoid creating of Integer objects. Use
8260 hierarchy() method for looking up the class hierarchy.
8261 (processResolution): Use rememberHandle() to store
8262 handle per index, rather than Hashtabling the object.
8264 (rememberHandle): New method.
8265 * java/io/ObjectOutputStream.java
8266 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8267 Hashtable for improved lookup performance.
8268 (ObjectOutputStream): Initialize OIDLookupTable as
8269 ObjectIdentityMap2Int.
8270 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8271 (findHandle): Change to use ObjectIdentityMap2Int.
8272 (getBooleanField): Removed.
8273 (getByteField): Removed.
8274 (getCharField): Removed.
8275 (getDoubleField): Removed.
8276 (getField): Removed.
8277 (getFloatField): Removed.
8278 (getIntField): Removed.
8279 (getLongField): Removed.
8280 (getObjectField): Removed.
8281 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8282 (writeFields(Object,ObjectStreamField)): New helper method.
8283 Use switch rather then if-else cascade.
8284 (writeObject): Use int handle, rather then Integer.
8285 * java/io/ObjectStreamClass.java
8286 (hierarchy): New field. Caches the class hierarchy.
8287 (methodCache): New field. Caches methods.
8288 (readObjectSignature): New field. Stores the read signature.
8289 (uidCache): New field. Caches UIDs.
8290 (writeObjectSignature): New field. Stores the write signature.
8291 (cacheMethods): Cache methods in methodCache.
8292 (calculateClassID): Outsourced from getClassUID()
8293 for computing the UIDs.
8294 (getClassUIDFromField): Outsourced from getClassUID() for
8295 fetching the UID from the class field.
8296 (getClassUID): Use cached uid if possible. Use new helper
8297 methods for fetching the UID from the field or computing
8299 (getObjectStreamClasses): Removed. Replaced by more
8300 efficient hierarchy() method, that also caches the result.
8301 (hierarchy): Replaces getObjectStreamClasses() for caching
8303 (loadedByBootOrApplicationClassLoader): New helper method.
8304 (setClass): Invalidate hierarchy cache.
8305 (setSuperclass): Invalidate hierarchy cache.
8306 * java/io/ObjectStreamField.java
8307 (field): Made field package private for access from other
8309 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8310 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8311 hashtable for mapping objects to ints.
8313 2006-08-21 Roman Kennke <kennke@aicas.com>
8316 (getAbsolutePath): Fetch absolute path from
8317 VMFile.getAbsolutePath(). Moved actual impl to there.
8318 (isAbsolute): Let VMFile determine the absoluteness.
8319 (toURL): Let VMFile convert the filename.
8320 * vm/reference/java/io/VMFile.java
8321 (getAbsolutePath): New method.
8322 (isAbsolute): New method.
8323 (toURL): New method.
8325 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8327 * NEWS: Added note about updated VM interface.
8329 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8331 * java/lang/management/ManagementFactory.java:
8332 Updated documentation.
8334 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8337 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8339 * gnu/java/util/regex/CharIndexedCharSequence.java,
8340 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8342 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8343 (match): call the new method setHitEnd of the input,
8344 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8345 Some optimization commented out, Use CharIndexed#move1 instead of move.
8346 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8347 * gnu/java/util/regex/REToken.java(match): The method body has been
8348 moved to an internal private method, (matchFake): New method,
8349 (setHitEnd): New method.
8350 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8351 if the match is not complete, (matchOneString): Count the number of
8352 characters which matched the pattern.
8353 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8354 (setFake): New method, (match): Call super.match or super.matchFake.
8355 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8356 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8357 setHitEnd of the input,
8358 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8359 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8360 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8362 2006-08-18 Tom Tromey <tromey@redhat.com>
8364 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8365 the 'int', not the cast char.
8367 2006-08-18 Roger Sayle <roger@eyesopen.com>
8369 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8370 which isn't available in all shells.
8372 2006-08-18 Roger Sayle <roger@eyesopen.com>
8374 * lib/Makefile.am (resources): Fix some shell portability issues.
8376 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8378 * configure.ac (tool-wrappers): Check for ltdl support when tool
8379 wrapper binaries are enabled.
8380 * tools/Makefile.am (LIBJVM): Remove variable.
8381 (AM_CPPFLAGS): Add LIBJVM define.
8382 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8383 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8384 gjavah_LDFLAGS): Remove variables.
8385 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8387 2006-08-18 Tom Tromey <tromey@redhat.com>
8389 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8391 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8393 (readEntries): Likewise.
8395 2006-08-17 Roman Kennke <kennke@aicas.com>
8397 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8398 (layoutLabel): Reset the text and icon rectangles.
8400 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8403 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8404 Transform gappletviewer name using program_transform_name.
8406 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8408 * javax/swing/filechooser/FileSystemView.java
8409 (getFileSystemView): Always return UnixFileSystemView, since
8410 that's the only one we got. Marked with NotImplementedException.
8411 * javax/swing/plaf/basic/BasicFileChooserUI.java
8412 (mouseClicked, installUI): Don't parse path by hand.
8414 2006-08-17 Roman Kennke <kennke@aicas.com>
8416 * javax/swing/JComponent.java
8417 (scrollRectToVisible): Handle intermediate non-JComponents
8420 2006-08-17 Roman Kennke <kennke@aicas.com>
8422 * javax/swing/RepaintManager.java
8423 (blitBuffer): Removed. This is now done in commitBuffer().
8424 (commitBuffer): Always paint on the root window or applet.
8425 No need to look for intermediate heavyweights. Optimized
8426 rectangle translation.
8427 (commitRemainingBuffers): Removed. Not needed anymore.
8428 (getHeavyweightParent): Removed. Not needed anymore.
8429 (getOffscreenBuffer): Fetch offscreen image from the
8430 actual root component.
8431 (paintDirtyRegions): Don't call commitRemainingBuffers().
8433 2006-08-17 Roman Kennke <kennke@aicas.com>
8435 * javax/swing/SwingUtilities.java
8436 (clipString): New helper method for trimming strings.
8437 (layoutCompoundLabelImpl): Fixed algorithm to conform
8438 testsuites. Trim text if it's too long. Avoid creating
8439 new Rectangles. Optimized for performance.
8440 (layoutCompoundLabel): Use switch rather then if-else-chain.
8441 * javax/swing/plaf/basic/BasicButtonUI.java
8445 (paint): Reset and use cached rectangles. Only call paintIcon()
8446 if icon is not null. Don't call paintButtonPressed() when
8447 button is selected, only when it is both armed and pressed.
8448 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8449 (getPreferredButtonSize): Reused cached rectangles rather
8450 then creating new ones. Don't create new Rectangle via
8452 * javax/swing/plaf/basic/BasicLabelUI.java
8453 (getPreferredSize): Correctly reset cached rectangles. Especially
8454 the view rect must have a big size to give it room for layouting.
8455 Short cut layout when text == null.
8456 (paint): Correctly reset cached rectangles.
8457 * javax/swing/plaf/basic/BasicMenuItemUI.java
8458 (resetRectangles): New helper method.
8459 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8460 (paintMenuItem): Correctly reset the cached rectangles.
8461 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8462 (getPreferredSize): Use cached Rectangle objects and initialize
8464 (paint): Use cached Rectangle objects and initialize
8467 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8469 * java/util/Calendar.java: API doc additions.
8471 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8473 * javax/swing/DefaultButtonModel.java:
8474 (setRollover): Simplified statement.
8476 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8478 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8479 (loadClass): Rewritten to use getClassLoader.
8480 (loadProxyClass): Implemented.
8481 (getClassLoader): Fixed support for null or empty codebase.
8482 * gnu/java/rmi/server/RMIObjectInputStream.java
8483 (resolveClass): Use user class loader as default class loader.
8484 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8485 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8486 (loadClass): Simplified and use user class loader instead of
8487 context class loader as default.
8488 * java/io/ObjectInputStream.java
8489 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8490 * vm/reference/gnu/classpath/VMStackWalker.java
8491 (firstNonNullClassLoader): New method.
8492 * vm/reference/java/io/VMObjectInputStream.java
8493 (loaderAction, currentClassLoader): Removed.
8495 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8497 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8498 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8499 by current scroll offset, added method documention.
8500 (getTabBounds(int, Rectangle)): Added method documentation.
8501 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8502 (paintContentBorderLeftEdge): Changed y to 1.
8504 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8506 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8507 (MouseHandler.mouseReleased): Implemented.
8508 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8509 (MouseHandler.mouseEntered): Dito.
8510 (MouseHandler.mouseExited): Dito.
8511 (MouseHandler.mouseMoved): Dito.
8512 (MouseHandler.redispatchEvent): New method.
8513 (PropertyChangeHandler.propertyChange): Added extra block level,
8514 added code to handle tab placement changes, added comment.
8515 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8517 2006-08-16 Roman Kennke <kennke@aicas.com>
8519 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8520 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8523 2006-08-16 Mark Wielaard <mark@klomp.org>
8525 * java/awt/Component.java (orientation): Renamed to
8526 componentOrientation.
8527 (setComponentOrientation): Use new field name.
8528 (getComponentOrientation): Likewise.
8530 2006-08-16 Roman Kennke <kennke@aicas.com>
8533 * javax/swing/plaf/basic/BasicTreeUI.java
8534 (CellEditorHandler.editingCancelled): Call completeEditing
8536 (CellEditorHandler.editingStopped): Call completeEditing
8538 (NodeDimensionHandler.getNodeDimensions): Rewritten
8539 to use the preferred sizes of the renderer and editor.
8540 (TreeExpansionHandler.treeCollapsed): Complete editing
8542 (TreeSelectionHandler.valueChanged): Complete editing
8544 (cancelEditing): Call completeEditing with false, false and
8545 false. Don't call finish (removed method).
8546 (completeEditing(boolean,boolean,boolean): Only do something when
8547 stopEditingInCompleteEditing is true. Nullify editingComponent
8548 and editingPath. Remove editingComponent from tree. Update
8549 the layout when necessary and repaint.
8550 (completeEditing): Stop editing when necessary.
8551 (editorRequestFocus): New helper method. Request focus
8552 on the actual editor.
8553 (finish) Removed. This is now done in completeEditing().
8554 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8555 (setLargeModel): Complete editing here.
8556 (setRootVisible): Complete editing here.
8557 (setRowHeight): Complete editing here.
8558 (setSelectionModel): Complete editing here.
8559 (startEditing): Correctly initialize and start editing.
8560 (updateExpandedDescendants): Complete editing here.
8561 * javax/swing/tree/DefaultTreeCellEditor.java
8562 (DefaultTextField): Fetch size from super and use renderer's height
8564 (EditorContainer.EditorContainer): Set layout to null, just
8566 (EditorContainer.doLayout): Layout so that the editor
8567 is offset to the right of the icon.
8568 (EditorContainer.getPreferredSize): Implemented to
8569 provide a reasonable preferred size.
8570 (EditorContainer.paint): Position icon in the middle.
8571 Also paint border if appropriate.
8572 (EditorContainer.setBounds): Removed.
8573 (RealEditorListener): Removed.
8574 (DefaultTreeCellEditor): Set correct border.
8575 (cancelCellEditing): Message real editor. Call finish().
8576 (createCellEditor): Don't add listener.
8577 (determineOffset): Correctly determine offset, and update
8579 (finish): New helper method.
8580 (getTreeCellEditorComponent): Set correct font. Call
8581 prepareForEditing() and determineOffset() to correctly initialize
8583 (stopCellEditing): Messsage realEditor to stop editing. Call
8585 (stopEditingTimer): Removed.
8586 (valueChanged): Correctly reset lastPath.
8587 * javax/swing/tree/DefaultTreeCellRenderer.java
8588 (getPreferredSize): Return super plus some extra space for
8591 2006-08-16 Roman Kennke <kennke@aicas.com>
8593 * javax/swing/plaf/metal/MetalTreeUI.java
8594 (LineStyleListener): New property listener, that updates
8595 the line style setting if the corresponding property
8597 (lineStyleListener): New field.
8598 (lineStyle): New field.
8599 (LINE_STYLE_ANGLED): New constant field.
8600 (LINE_STYLE_HORIZONTAL): New constant field.
8601 (LINE_STYLE_NONE): New constant field.
8602 (LINE_STYLE_VALUE_ANGLED): New constant field.
8603 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8604 (LINE_STYLE_VALUE_NONE): New constant field.
8605 (LINE_STYLE_PROPERTY): New constant field.
8606 (decodeLineStyle): Implemented.
8607 (installUI): Install line style listener. Set initial
8609 (uninstallUI): Uninstall line style listener.
8610 (paintHorizontalPartOfLeg): Only call super for angled
8612 (paintVerticalPartOfLeg): Only call super for angled
8614 (paintHorizontalSeparators): Implemented.
8615 (paint): If lineStyle==HORIZONTAL, call
8616 paintHorizontalSeparators().
8617 * examples/gnu/classpath/examples/swing/TreeDemo.java
8618 (createContent): Add panel for selecting line styles.
8620 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8622 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8623 (createContent): Rewritten.
8624 (createPlacementChangingMenuItem): New method.
8625 (createLayoutPolicyChangingMenuItem): New method.
8626 (createTabbedPane): New method.
8627 (createTabContent): New method.
8629 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8631 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8632 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8633 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8635 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8637 * javax/swing/text/WrappedPlainView.java:
8638 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8639 (calculateBreakPosition): Add p0 to return value.
8641 2006-08-15 Roman Kennke <kennke@aicas.com>
8643 * javax/swing/plaf/basic/BasicTreeUI.java
8644 (MouseHandler.selectedOnPress): New field.
8645 (MouseHandler.handleEvent): New helper method for handling
8646 selection and start/stop editing for mouse events.
8647 (MouseHandler.mouseDragged): Commented as no-op method.
8648 (MouseHandler.mouseMoved): Commented as no-op method.
8649 (MouseHandler.mousePressed): Use handleEvent() to handle
8650 selection and editing handling.
8651 (MouseHandler.mouseReleased): Use handleEvent() to handle
8652 selection and editing handling.
8653 (MouseInputHandler.MouseInputHandler): Register itself
8654 as mouse listener on source. Redispatch event to
8656 (MouseInputHandler.dispatch): New helper method.
8657 (MouseInputHandler.mouseClicked): Dispatch event.
8658 (MouseInputHandler.mouseDragged): Dispatch event.
8659 (MouseInputHandler.mouseEntered): Stop dispatching
8660 if dragging stopped.
8661 (MouseInputHandler.mouseExited): Stop dispatching
8662 if dragging stopped.
8663 (MouseInputHandler.mouseMoved): Stop dispatching.
8664 (MouseInputHandler.mousePressed): Marked as no-op.
8665 (MouseInputHandler.mouseReleased): Dispatch and stop
8666 dispatching afterwards.
8667 (MouseInputHandler.removeFromSource): Implemented.
8668 (PropertyChangeHandler.propertyChange): Also handle
8669 editable property changes by calling setEditable().
8670 (SelectionModelPropertyChangeHandler.propertyChange):
8671 Reset row selection.
8672 (startEditTimer): Removed.
8673 (setCellEditor): Call updateEditor().
8674 (setEditable): Call updateEditor().
8675 (startEditingAtPath): Make path fully visible before starting
8677 (startEditing): Maybe cancel previous edit session. Add
8678 editing component itself, not its parent container.
8679 Register MouseInputHandler for correctly redispatching
8681 (stopEditing): Message cellEditor and only completeEditing()
8682 when approved by cell editor.
8683 (updateCellEditor): Complete editing before updating
8684 the cell editor. Get cell editor from JTree if possible,
8685 otherwise create default editor. Update the listeners
8687 * javax/swing/tree/DefaultTreeCellEditor.java
8688 (CLICK_COUNT_TO_START): Removed.
8689 (DefaultTreeCellEditor): Install correct border. Let setTree()
8690 update the listeners. Don't initialize lastPath and font yet.
8691 (actionPerformed): Implemented to start editing.
8692 (createTreeCellEditor): Set click count to start to 1, rather than
8694 (isCellEditable): Prepare editor here. Determine if we can
8695 start immediately, or if we trigger a timer to do so.
8696 (prepareForEditing): Don't removeAll() (not necessary),
8697 check editingComponent to be non-null.
8698 (setTree): Update listeners.
8699 (shouldStartEditingTimer): Check for left mouse button.
8700 (startEditingTimer): Lazily create timer.
8702 2006-08-15 Lillian Angel <langel@redhat.com>
8704 * java/awt/dnd/DropTargetDragEvent.java
8705 (getTransferable): Implemented.
8707 2006-08-15 Roman Kennke <kennke@aicas.com>
8709 * java/util/Vector.java
8710 (removeAll): Added comment about NPE.
8711 (retainAll): Added comment about NPE.
8713 2006-08-15 Roman Kennke <kennke@aicas.com>
8715 * java/util/zip/ZipFile.java
8716 (UTF8DECODER): Removed.
8717 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8718 (utf8Decoder): New instance field.
8719 (decodeChars): Lazily create UTF8 decoder. Use instance
8720 field rather than a static field to avoid corruption.
8722 2006-08-15 Roman Kennke <kennke@aicas.com>
8724 * java/io/PrintStream.java
8725 (line_separator): Provide default for system property.
8726 * java/io/FileDescriptor.java
8727 (valid): Create local copy of channel field for better
8730 2006-08-15 Ingo Proetel <proetel@aicas.com>
8732 * java/util/zip/ZipFile.java
8733 (PartialInputStream.UTF8DECODER): New constant field, used
8734 for decoding UTF8 strings.
8735 (readLeShort): Access buffer directly if it has enough bytes
8737 (readLeInt): Access buffer directly if it has enough bytes
8739 (decodeChars): New helper method for decoding UTF8 strings.
8740 (readString): Avoid NIO charset decoder if possible.
8742 2006-08-15 Roman Kennke <kennke@aicas.com>
8744 * java/util/Vector.java
8745 (removeAll): Don't explicitly null-check here. The RI allows
8746 null arguments when Vector is empty. In other cases we
8747 implicitly throw an NPE.
8748 (retainAll): Don't explicitly null-check here. The RI allows
8749 null arguments when Vector is empty. In other cases we
8750 implicitly throw an NPE.
8752 2006-08-14 Casey Marshall <csm@gnu.org>
8754 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8755 of changes made on this branch.
8757 * gnu/classpath/debug/Component.java
8758 * gnu/classpath/debug/SystemLogger.java
8759 * gnu/java/security/action/GetPropertyAction.java
8760 * gnu/java/security/action/GetSecurityPropertyAction.java
8761 * gnu/javax/crypto/RSACipherImpl.java
8762 * gnu/javax/net/ssl/PrivateCredentials.java
8763 * gnu/javax/net/ssl/provider/Alert.java
8764 * gnu/javax/net/ssl/provider/AlertException.java
8765 * gnu/javax/net/ssl/provider/Certificate.java
8766 * gnu/javax/net/ssl/provider/CertificateRequest.java
8767 * gnu/javax/net/ssl/provider/CertificateType.java
8768 * gnu/javax/net/ssl/provider/CertificateVerify.java
8769 * gnu/javax/net/ssl/provider/CipherSuite.java
8770 * gnu/javax/net/ssl/provider/ClientHello.java
8771 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8772 * gnu/javax/net/ssl/provider/CompressionMethod.java
8773 * gnu/javax/net/ssl/provider/Constructed.java
8774 * gnu/javax/net/ssl/provider/ContentType.java
8775 * gnu/javax/net/ssl/provider/DiffieHellman.java
8776 * gnu/javax/net/ssl/provider/Extension.java
8777 * gnu/javax/net/ssl/provider/Finished.java
8778 * gnu/javax/net/ssl/provider/Handshake.java
8779 * gnu/javax/net/ssl/provider/Jessie.java
8780 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8781 * gnu/javax/net/ssl/provider/Random.java
8782 * gnu/javax/net/ssl/provider/ServerHello.java
8783 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8784 * gnu/javax/net/ssl/provider/Signature.java
8785 * gnu/javax/net/ssl/provider/Util.java
8786 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8787 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8788 * java/security/MessageDigest.java
8789 * java/security/MessageDigestSpi.java
8790 * java/security/Signature.java
8791 * java/security/SignatureSpi.java
8792 * javax/crypto/Mac.java
8793 * javax/crypto/MacSpi.java
8794 * javax/net/ssl/HandshakeCompletedEvent.java
8795 * javax/net/ssl/HttpsURLConnection.java
8796 * javax/net/ssl/SSLContext.java
8797 * javax/net/ssl/SSLContextSpi.java
8798 * javax/net/ssl/SSLSession.java
8800 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8801 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8802 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8803 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8804 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8805 * gnu/javax/net/ssl/provider/ServerDHParams.java
8806 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8807 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8808 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8809 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8810 * gnu/javax/net/ssl/provider/ServerNameList.java
8811 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8812 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8813 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8814 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8815 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8816 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8817 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8818 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8819 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8820 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8821 * gnu/javax/net/ssl/provider/Record.java
8822 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8823 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8824 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8825 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8826 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8827 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8828 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8829 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8830 * gnu/javax/net/ssl/provider/ExtensionList.java
8831 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8832 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8833 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8834 * gnu/javax/net/ssl/provider/ServerHandshake.java
8835 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8836 * gnu/javax/net/ssl/provider/SessionImpl.java
8837 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8838 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8839 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8840 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8841 * gnu/javax/net/ssl/provider/HelloRequest.java
8842 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8843 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8844 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8845 * gnu/javax/net/ssl/provider/ClientHandshake.java
8846 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8847 * gnu/javax/net/ssl/provider/CertificateURL.java
8848 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8849 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8850 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8851 * gnu/javax/net/ssl/provider/Builder.java
8852 * gnu/javax/net/ssl/provider/Debug.java
8853 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8854 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8855 * gnu/javax/net/ssl/provider/DelegatedTask.java
8856 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8857 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8858 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8859 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8860 * javax/net/ssl/SSLEngine.java
8861 * javax/net/ssl/CertPathTrustManagerParameters.java
8862 * javax/net/ssl/KeyStoreBuilderParameters.java
8863 * javax/net/ssl/X509ExtendedKeyManager.java
8864 * javax/net/ssl/SSLEngineResult.java
8865 * gnu/javax/net/ssl/PreSharedKeyManager.java
8866 * gnu/javax/net/ssl/Session.java
8867 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8868 * gnu/javax/net/ssl/SSLCipherSuite.java
8869 * gnu/javax/net/ssl/AbstractSessionContext.java
8870 * gnu/javax/net/ssl/SessionStoreException.java
8871 * gnu/javax/net/ssl/SSLRecordHandler.java
8872 * gnu/javax/net/ssl/SSLProtocolVersion.java
8873 * gnu/javax/crypto/key/GnuPBEKey.java
8874 * gnu/java/security/util/ByteBufferOutputStream.java
8875 * gnu/java/security/Requires.java
8876 * gnu/javax/security/auth/callback/CertificateCallback.java
8878 * gnu/javax/net/ssl/provider/Context.java
8879 * gnu/javax/net/ssl/provider/DigestInputStream.java
8880 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8881 * gnu/javax/net/ssl/provider/Enumerated.java
8882 * gnu/javax/net/ssl/provider/Extensions.java
8883 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8884 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8885 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8886 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8887 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8888 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8889 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8890 * gnu/javax/net/ssl/provider/KeyPool.java
8891 * gnu/javax/net/ssl/provider/OverflowException.java
8892 * gnu/javax/net/ssl/provider/RecordInput.java
8893 * gnu/javax/net/ssl/provider/RecordInputStream.java
8894 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8895 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8896 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8897 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8898 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8899 * gnu/javax/net/ssl/provider/SSLSocket.java
8900 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8901 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8902 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8903 * gnu/javax/net/ssl/provider/SecurityParameters.java
8904 * gnu/javax/net/ssl/provider/Session.java
8905 * gnu/javax/net/ssl/provider/SessionContext.java
8906 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8907 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8909 2006-08-14 Roman Kennke <kennke@aicas.com>
8911 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8912 (DividerLayout.layoutContainer): Removed debug output.
8913 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8914 (BasicHorizontalLayoutManager.axis): New field.
8915 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8917 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8918 Call new axis constructor.
8919 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8921 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8923 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8924 Refactored to handle direction.
8925 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8926 to handle direction.
8927 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8929 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8930 to handle direction.
8931 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8932 to handle direction.
8933 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8934 to handle direction.
8935 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8937 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8938 New explicit constructor. Calls super with vertical axis.
8939 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8940 to BasicHorizontalLayoutManager.
8941 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8942 moved to BasicHorizontalLayoutManager.
8943 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8944 Functionality moved to BasicHorizontalLayoutManager.
8945 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8946 moved to BasicHorizontalLayoutManager.
8947 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8948 moved to BasicHorizontalLayoutManager.
8949 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8950 Functionality moved to BasicHorizontalLayoutManager.
8951 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8952 moved to BasicHorizontalLayoutManager.
8953 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8954 moved to BasicHorizontalLayoutManager.
8955 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8956 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8957 (BUTTON_SPRITE_R): New constant field.
8958 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8959 L sprite for left buttons.
8961 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8964 (query_formats): g_free 'name' after usage.
8965 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8966 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8968 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8971 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8974 2006-08-14 Francis Kung <fkung@redhat.com>
8977 * java/awt/image/ColorModel.java
8978 (coerceData): Added check for non-transparent images.
8980 2006-08-14 Francis Kung <fkung@redhat.com>
8982 * java/awt/image/BandCombineOp.java
8983 (BandCombineOp): Perform checks on validity of matrix.
8984 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8985 (filter): Updated to work with new matrix storage.
8986 (getMatrix): Updated javadoc.
8987 (getPoint2D): Formatting change.
8989 2006-08-14 Francis Kung <fkung@redhat.com>
8991 * java/awt/image/AffineTransformOp.java
8992 (AffineTransformOp): Updated javadoc.
8993 (createCompatibleDestImage): Match behaviour of reference implementation.
8994 (createCompatibleDestRaster): Formatting changes.
8995 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8996 (filter(Raster, WritableRaster)): Re-implemented.
8997 (filterBicubic): New private method.
8998 (filterBilinear): New private method.
8999 (filterNearest): New private method.
9000 (getBounds2D): No longer fixed around one point for rotations.
9001 (getInterpolationType): Add support for bicubic interpolation.
9003 2006-08-14 Roman Kennke <kennke@aicas.com>
9005 * javax/swing/plaf/metal/MetalLookAndFeel.java
9006 (MetalLookAndFeel): Moved theme initialization to
9008 (createDefaultTheme): Forward to getCurrentTheme().
9009 (getDefaults): Initialize theme before doing anything else.
9010 (getCurrentTheme): Recognize swing.metalTheme property.
9012 2006-08-14 Roman Kennke <kennke@aicas.com>
9014 * javax/swing/JTable
9015 (getScrollableUnitIncrement): Expose partially exposed
9016 row in scrolling direction.
9018 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9020 * javax/swing/JTable (getScrollableUnitIncrement):
9021 Removing my name as the whole method body have been
9022 recently completely replaced.
9024 2006-08-14 Roman Kennke <kennke@aicas.com>
9027 * javax/swing/text/Utilities.java
9028 (getTabbedTextOffset): Don't add p0 here.
9030 2006-08-14 Roman Kennke <kennke@aicas.com>
9033 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9034 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9035 when wheel is going up.
9037 2006-08-14 Roman Kennke <kennke@aicas.com>
9040 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9041 (BasicOneTouchButton): New inner class.
9042 (DividerLayout.changeButtonOrientation): Removed.
9043 (DividerLayout.positionButtons): Moved into layoutContainer.
9044 (DividerLayout.layoutContainer): Reworked for correct layout.
9045 (OneTouchAction): New inner class.
9046 (centerOneTouchButtons): New field.
9047 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9049 (createLeftOneTouchButton): Reimplemented to return
9050 BasicOneTouchButton.
9051 (createRightOneTouchButton): Reimplemented to return
9052 BasicOneTouchButton.
9053 (getPreferredSize): Reimplemented to return fixed preferredSize.
9054 (oneTouchExpandableChanged): Add OneTouchAction action to
9055 buttons. Don't install mouse listeners.
9056 (MouseHandler.mousePressed): Removed handling of one touch buttons.
9057 (paint): Don't trigger extra paint for buttons.
9058 (propertyChange): Revalidate splitPane when orientation is changed.
9059 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9060 oneTouchExpandable is true.
9061 * javax/swing/plaf/basic/BasicSplitPaneUI.java
9062 (installDefaults): Install dividerSize on the divider too.
9063 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9064 (MetalDividerLayout): Removed. Functionality is already
9065 in BasicSplitPaneDivider.DividerLayout.
9066 (MetalOneTouchButton): New inner class.
9067 (BUTTON_SPRITE): New constant field.
9068 (MetalSplitPaneDivider): Don't change layout.
9069 (createLeftOneTouchButton): Overridden to return custom button
9071 (createRightOneTouchButton): Overridden to return custom button
9073 (paint): Don't trigger button painting. Call super instead.
9075 2006-08-13 Roman Kennke <kennke@aicas.com>
9077 * javax/swing/plaf/basic/BasicTableHeaderUI.java
9078 (installKeyboardAction): Unmarked as stub. Added comment
9079 explaining that the RI seems to do nothing here.
9080 (uninstallKeyboardAction): Unmarked as stub. Added comment
9081 explaining that the RI seems to do nothing here.
9083 2006-08-13 Roman Kennke <kennke@aicas.com>
9086 * javax/swing/ScrollPaneLayout.java
9087 (layoutContainer): Consider the viewportBorder of the
9089 (minimumLayoutSize): Consider the viewportBorder of the
9091 (preferredLayoutSize): Consider the viewportBorder of the
9093 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9094 (installDefaults): Also install viewportBorder if specified.
9095 (paint): Paint viewportBorder if present.
9096 (uninstallDefaults): Uninstall viewportBorder if appropriate.
9097 Don't nullify foreground, background and font. Uninstall
9098 border via LookAndFeel helper method to avoid uninstall
9101 2006-08-13 Roman Kennke <kennke@aicas.com>
9104 * javax/swing/plaf/basic/BasicHTML.java
9105 (HTMLRootView.HTMLRootView): Trigger initial layout.
9106 (HTMLRootView.setSize): Overridden to forward to real view.
9107 * javax/swing/plaf/basic/BasicToolTipUI.java
9108 (PropertyChangeHandler): New inner class. Updates the HTML
9110 (propertyChangeHandler): New field.
9111 (getMaximumSize): Add HTML width delta.
9112 (getMinimumSize): Add HTML width delta.
9113 (getPreferredSize): Reimplemented to use HTML view for size
9114 calculation if appropriate, otherwise use simple stringWidth()
9116 (installListeners): Install propertyChangeHandler.
9117 (uninstallListeners): Uninstall propertyChangeHandler.
9118 (installUI): Update HTML renderer.
9119 (uninstallUI): Update HTML renderer.
9120 (paint): Reimplemented to use HTML view for rendering if
9121 appropriate, simple drawString otherwise.
9122 * javax/swing/plaf/metal/MetalToolTipUI.java
9123 (getPreferredSize): Call super and add accelerator delta.
9124 (paint): Simply call super.
9126 2006-08-13 Roman Kennke <kennke@aicas.com>
9128 * javax/swing/JMenu.java
9129 (changeListener): Renamed to menuChangeListener to avoid
9130 shadowing changeListener field from AbstractButton.
9132 2006-08-13 Roman Kennke <kennke@aicas.com>
9134 * javax/swing/JTree.java
9135 (getScrollableUnitIncrement): Fixed direction.
9136 (getScrollableBlockIncrement): Implemented to scroll one
9138 * javax/swing/tree/VariableHeightLayoutCache.java
9139 (distance): Consider y + height already outside the node.
9141 2006-08-13 Roman Kennke <kennke@aicas.com>
9143 * javax/swing/JTable.java
9144 (getScrollableUnitIncrement): Fixed direction. Make it behave
9146 (getScrollableBlockIncrement): Fixed direction. Make it behave
9149 2006-08-13 Roman Kennke <kennke@aicas.com>
9151 * javax/swing/JList.java
9152 (getScrollableUnitIncrement): Fixed direction. Implemented
9153 horizontal scrolling. Improved usability.
9154 (getScrollableBlockIncrement): Fixed direction. Improved usability.
9156 2006-08-13 Roman Kennke <kennke@aicas.com>
9158 * javax/swing/plaf/basic/BasicScrollBarUI.java
9159 (scrollByUnit): Scroll by -unit when direction is not positive
9160 and +unit otherwise.
9161 (scrollByBlock): Scroll by -unit when direction is not positive
9162 and +unit otherwise.
9164 2006-08-13 Roman Kennke <kennke@aicas.com>
9167 * javax/swing/text/PlainView.java
9168 (paint): Limit painted area to the lines inside the clip
9171 2006-08-13 Roman Kennke <kennke@aicas.com>
9173 * javax/swing/plaf/basic/BasicTextUI.java
9174 (uninstallListeners): Unregister document listener.
9176 2006-08-13 Sven de Marothy <sven@physto.se>
9178 * java/util/Locale.java
9179 (hashcodeCache): New field.
9180 (hashCode): use the above field instead of the serialized one
9181 (writeObject): Removed method.
9182 (readObject): Intern strings.
9183 (equals): Revert to previous method.
9185 2006-08-13 Roman Kennke <kennke@aicas.com>
9187 * javax/swing/JTabbedPane.java
9188 (JTabbedPane): Call setModel() here and let this install the
9189 change listener correctly.
9190 (setModel): Correctly uninstall and reinstall ChangeListener when
9193 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9196 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9197 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9198 (lastDefaultLocale): Removed.
9199 (emptyLocale): Likewise.
9200 (BundleKey.defaultLocale): New field.
9201 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9202 (BundleKey.set): Likewise.
9203 (BundleKey.equals): Take defaultLocal field into consideration.
9204 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9206 2006-08-13 Roman Kennke <kennke@aicas.com>
9208 * javax/swing/JMenu.java
9209 (MenuChangeListener): New inner class, helps firing menu events.
9210 (changeListener): New field.
9211 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9212 (add(Action)): Create Action using createActionComponent()
9213 and add via add(Component).
9214 (setModel): Install and uninstall MenuChangeListener here.
9216 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9219 * java/math/BigInteger.java: Updated copyright year.
9220 (init): Consume as little bytes as possible.
9221 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9222 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9223 as per RI's documentation.
9225 2006-08-13 Sven de Marothy <sven@physto.se>
9227 * java/util/Locale.java
9228 (hashcode): Is a serialized field, not transient.
9229 (equals): Should NOT compare strings by reference.
9230 (readObject/writeObject): Use the default methods and handle the hash
9233 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9236 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9237 Updated documentation.
9239 (getInstance(String, String, Provider, Object[])): Likewise.
9240 Separate checks for null and empty string arguments.
9241 Include as much information as possible in the exception's message.
9242 Do not swallow original exception; instead use it as the cause of the
9243 resulting exception.
9244 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9245 (getInstance(String)): Updated documentation.
9247 Store last exception caught when iterating through all providers.
9248 If no implementation found, raise last exception if one was caught.
9249 (getInstance(String, String)): Updated documentation.
9251 Check for null or empty provider as per RI-5's documentation.
9252 (getInstance(String, Provider)): Updated documentation.
9254 Use as much information as possible in the exception message.
9255 Do not swallow original exception; instead use it as the cause for the
9256 ultimate raised exception(s).
9257 * java/security/cert/CertificateFactory.java: Likewise.
9258 * java/security/cert/CertPathBuilder.java: Likewise.
9259 * java/security/cert/CertPathValidator.java: Likewise.
9260 * java/security/cert/CertStore.java: Likewise.
9261 * java/security/AlgorithmParameterGenerator.java: Likewise.
9262 * java/security/AlgorithmParameters.java: Likewise.
9263 * java/security/KeyFactory.java: Likewise.
9264 * java/security/KeyPairGenerator.java: Likewise.
9265 * java/security/KeyStore.java: Likewise.
9266 * java/security/MessageDigest.java: Likewise.
9267 * java/security/SecureRandom.java: Likewise.
9268 * java/security/Signature.java: Likewise.
9269 * javax/crypto/Cipher.java: Likewise.
9270 * javax/crypto/ExemptionMechanism.java: Likewise.
9271 * javax/crypto/KeyAgreement.java: Likewise.
9272 * javax/crypto/KeyGenerator.java: Likewise.
9273 * javax/crypto/Mac.java: Likewise.
9274 * javax/crypto/SecretKeyFactory.java: Likewise.
9275 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9276 * javax/net/ssl/SSLContext.java: Likewise.
9277 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9279 2006-08-13 Roman Kennke <kennke@aicas.com>
9281 * javax/swing/JEditorPane.java
9282 (getScrollableTracksViewportHeight): Also check maximum size.
9283 * javax/swing/JTextPane.java
9284 (insertIcon): Use input attributes for adding the icon
9286 * javax/swing/plaf/basic/BasicTextUI.java
9287 (RootView.setSize): Overridden to forward to real view.
9288 (getPreferredSize): Trigger setSize() on the view.
9289 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9290 to viewToModel() call, rather then null.
9291 * javax/swing/text/ParagraphView.java
9292 (changedUpdate): Invalide layout. Call super.
9293 * javax/swing/text/SimpleAttributeSet.java
9294 (clone): Use super's clone method to create clone.
9295 * javax/swing/text/StyleConstants.java
9296 (setIcon): Also set element name attribute.
9297 * javax/swing/text/StyledEditorKit.java
9298 (BoldAction.actionPerformed): Actually set the bold attribute,
9300 (setCharacterAttributes): Replaced with more straightforward
9302 * javax/swing/text/TextAction.java
9303 (getFocusedComponent): Implemented.
9304 * javax/swing/text/Utilities.java
9305 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9307 * javax/swing/text/View.java
9308 (changedUpdate): Nullify element change when updateChildren
9311 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9313 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9314 Fix documentation typos.
9316 2006-08-11 David Daney <ddaney@avtrex.com>
9319 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9320 createResponseBodyStream in more cases and with new parameter.
9321 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9322 HEAD and !mayHaveBody responses specially.
9324 2006-08-11 Roman Kennke <kennke@aicas.com>
9326 * javax/swing/text/GlyphView.java
9327 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9328 * javax/swing/text/LabelView.java
9329 (valid): New flag indicating if the text attributes are valid.
9330 (LabelView): Initialize valid field with false.
9331 (setPropertiesFromAttributes): Call setter methods instead
9332 of setting properties directly. Set valid to true.
9333 (changedUpdate): Invalidate attributes. Call super.
9334 (getBackground): Sync attributes if necessary.
9335 (getForeground): Sync attributes if necessary.
9336 (getFont): Sync attributes if necessary.
9337 (isUnderline): Sync attributes if necessary.
9338 (isSuperscript): Sync attributes if necessary.
9339 (isStrikeThrough): Sync attributes if necessary.
9340 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9341 from toolkit if Container is not available yet.
9343 2006-08-11 Roman Kennke <kennke@aicas.com>
9345 * javax/swing/text/PlainView.java
9346 (tabBase): New field.
9347 (tabSize): New field.
9348 (updateMetrics): Update tabSize.
9349 (lineToRect): Only allocate when really necessary.
9350 (modelToView): Use tabBase for offset calculations.
9351 (paint): Only allocate when really necessary. Update tabBase.
9352 (nextTabStop): Fixed tab calculation.
9353 (viewToModel): Correctly handle multiline text and locations
9354 outside the view's bounds. Set bias.
9355 (getLineLength): Use tabBase.
9356 * javax/swing/text/Utilities.java
9357 (drawTabbedText): Don't special case newlines. The views
9358 must take care of this.
9360 2006-08-11 Roman Kennke <kennke@aicas.com>
9362 * javax/swing/text/GapContent.java
9363 (UndoPosRef): New inner class. Used for resetting positions
9364 after undo/redo operations.
9365 (InsertUndo.positions): New field.
9366 (InsertUndo.undo): Store positions in removed range.
9367 (InsertUndo.redo): Restore positions in re-inserted range.
9368 (UndoRemove.positions): New field.
9369 (UndoRemove.UndoRemove): Store positions in removed range.
9370 (UndoRemove.undo): Restore positions in re-inserted range.
9371 (UndoRemove.redo): Store positions in removed range.
9372 (insertString): Create InsertUndo instance before actually
9373 inserting the string.
9374 (remove): Create UndoRemove instance before actually
9376 (getPositionsInRange): Don't clear the Vector. Return Vector
9378 (updateUndoPositions): Implemented to reset all UndoPosRefs
9381 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9383 * java/io/ObjectInputStream.java (readClassDescriptor):
9384 Use class's class loader to resolve field types.
9385 * java/io/ObjectStreamField.java
9386 (ObjectStreamField(String,String,ClassLoader)): Removed.
9387 (ObjectStreamField(String,String)): Don't try to resolve typename.
9388 (resolveType): New method.
9390 2006-08-10 Roman Kennke <kennke@aicas.com>
9392 * javax/swing/text/BoxView.java
9393 (calculateMajorAxisRequirements): Sum up the preferred and
9395 (isAfter): Also add in the rectangle's with/height.
9396 (childAllocation): Don't trigger layout here.
9397 (layoutMinorAxis): Removed debug output.
9398 (getWidth): Consider the insets.
9399 (getHeight): Consider the insets.
9400 (setSize): Consider the insets.
9401 (updateRequirements): Check axis and throw
9402 IllegalArgumentException.
9404 2006-08-10 Roman Kennke <kennke@aicas.com>
9406 * javax/swing/text/AbstractDocument.java
9407 (BidiRootName): New constant field, denotes the element name
9408 for bidi root elements.
9409 (AsyncLoadPriority): New constant field, denotes the property
9410 to store the asynchronousLoadPriority.
9411 (I18N): New constant field, denotes the property for
9413 (bidiRoot): Made field type BidiRootElement.
9414 (AbstractDocument): Build initial element structure for
9416 (getAsynchronousLoadPriority): Implemented. Returns the
9417 value stored in the document properties.
9418 (setAsynchronousLoadPriority): Implemented. Sets the
9419 value stored in the document properties.
9420 (getEndPosition): Implemented to use a Position from the
9422 (getStartPosition): Implemented to use a Position from the
9424 (insertStringImpl): Update the I18N setting if necessary.
9425 (insertUpdate): Update the bidi structure if necessary.
9426 (postRemoveUpdate): Update the bidi structure if necessary.
9427 (putProperty): Update the I18N setting and bidi structure
9429 (updateBidi): New helper method for updating the bidi
9431 (getBidis): New helper method. Fetches the Bidi analysers
9432 for the paragraphs of the range to check.
9433 (dump): Also dump the bidi structure.
9434 (AbstractElement.dump): Indent the '>' correctly.
9435 (AbstractElement.children): Check numChildren rather then
9437 (BidiRootElement): New inner class.
9438 (BidiElement): New inner class.
9440 2006-08-10 Roman Kennke <kennke@aicas.com>
9442 * javax/swing/text/GapContent.java
9443 (getChars): Optimized to only copy array when really necessary.
9444 Respect the partialReturn property.
9446 2006-08-10 Lillian Angel <langel@redhat.com>
9448 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9449 (getComponentPeer): Added check to prevent NPE.
9451 2006-08-10 Gary Benson <gbenson@redhat.com>
9453 * java/security/AccessControlContext.java (<init>):
9454 Avoid a duplicated AccessController.getContext() call.
9456 2006-08-09 Mark Wielaard <mark@klomp.org>
9458 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9459 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9460 * doc/www.gnu.org/announce/20060809.wml: New file.
9462 2006-08-09 Mark Wielaard <mark@klomp.org>
9464 * configure.ac (VERSION): Set to 0.92-generics.
9465 * NEWS: Add updates for 0.92 release.
9467 2006-08-09 Tom Tromey <tromey@redhat.com>
9470 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9471 the pattern match any number of spaces in the text.
9473 2006-08-09 Sven de Marothy <sven@physto.se>
9475 * java/awt/image/BufferedImage.java
9476 (BufferedImage): Reimplement predefined-type constructor.
9477 (observers/tileObservers): Field renamed to tileObservers.
9478 (createDefaultIndexedColorModel): New method.
9480 2006-08-09 Tom Tromey <tromey@redhat.com>
9483 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9484 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9485 Create a 'short' array.
9487 2006-08-09 Tom Tromey <tromey@redhat.com>
9489 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9491 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9492 (writeFields): Print "L" after int constant. Don't mangle the field
9493 name. Only print int/long fields.
9495 2006-08-09 Tom Tromey <tromey@redhat.com>
9497 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9500 2006-08-09 Sven de Marothy <sven@physto.se>
9502 * javax/swing/JTree.java
9503 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9504 (setSelectionModel): Null parameter should create an EmptySelectionM.
9506 2006-08-09 Roman Kennke <kennke@aicas.com>
9508 * javax/swing/text/AbstractDocument.java
9509 (insertString): Perform modifications inside a write lock.
9510 (insertStringImpl): Don't lock here. This is already done
9512 (replace): Perform modifications inside a write lock.
9513 (AbstractElement.AbstractElement): Call addAttributes() to
9515 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9516 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9517 (BranchElement.BranchElement): Set lastIndex to -1.
9518 (BranchElement.getElementIndex): Implemented more efficient
9521 2006-08-09 Roman Kennke <kennke@aicas.com>
9523 * javax/swing/text/DefaultStyledDocument.java
9524 (Edit): Moved this inner class into ElementBuffer where it
9526 (edits): Moved this field into ElementBuffer.
9527 (getEditForParagraphAndIndex): Removed obsolete method.
9528 (insertUpdate): Added some optimizations and fixes. Split
9529 out handling insertion after newlines.
9530 (insertAfterNewline): New helper method. Handles insertions
9532 (ElementBuffer.Edit): New inner class. Moved here from
9533 DefaultStyledDocument.
9534 (ElementBuffer.createdFracture): New field.
9535 (ElementBuffer.documentEvent): Made private.
9536 (ElementBuffer.edits): New field. Moved here from
9537 DefaultStyledDocument.
9538 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9539 (ElementBuffer.fracturedChild): New field.
9540 (ElementBuffer.fracturedParent): New field.
9541 (ElementBuffer.insertPath): New field.
9542 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9544 (ElementBuffer.offsetLastIndex): New field.
9545 (ElementBuffer.offsetLastIndexReplace): New field.
9546 (ElementBuffer.recreateLeafs): New field.
9547 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9548 (ElementBuffer.canJoin): New helper method.
9549 (ElementBuffer.changeUpdate): Changed to use elementStack with
9550 Edits rather than Elements. Let the split method do the work.
9551 (ElementBuffer.cloneAsNecessary): New helper method.
9552 (ElementBuffer.createFracture): Changed to fracture the bottommost
9554 (ElementBuffer.finishEdit): New helper method. Moved out
9555 from insertUpdate to perform the actual changes and update
9557 (fracture): New helper method.
9558 (insertContentTag): Fixed some bugs and changed to use Edit
9559 instances in the stack, rather then Elements.
9560 (insertElement): New helper method. Moved out from insertUpdate()
9561 to process the ElementSpecs.
9562 (insertFirstContentTag): Fixed some problems and changed to use Edit
9563 instances in the stack, rather then Elements.
9564 (insertFracture): Removed. Basically moved into createFracture()
9566 (insertParagraph): Removed.
9567 (insertUpdate): Split out the ElementSpec processing into
9568 insertElement(). Use Edit instances in the stack. Fixed some
9570 (insert): Split out the preparation and finishing code into
9571 prepareEdit() and finishEdit().
9572 (join): New helper method.
9573 (pop): New helper method.
9574 (prepareEdit): New helper method.
9575 (recreateFracturedElement): New helper method.
9576 (recreateLeaves): Removed.
9577 (recreate): New helper method.
9578 (removeElements): New helper method. Split out from removeUpdate().
9579 (removeUpdate): Split out the actual removal. Use the
9580 Edit stack to perform removal and perform the remove actions
9581 and event updates afterwards, just like in insertImpl().
9582 (remove): Use prepareEdit() and finishEdit().
9583 (split): Replaced with more flexible impl.
9585 2006-08-09 Sven de Marothy <sven@physto.se>
9587 * gnu/java/awt/peer/gtk/CairoSurface.java
9588 Change class to extend WritableRaster and not DataBuffer.
9589 (CairoDataBuffer): New inner class.
9590 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9591 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9592 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9593 Accomodate the above change.
9595 2006-08-09 Sven de Marothy <sven@physto.se>
9597 * gnu/java/awt/peer/gtk/GtkMainThread.java
9599 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9600 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9601 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9602 * gnu/java/awt/peer/gtk/GtkToolkit.java
9603 Minor style fixes; removed unused fields,
9604 set fields to private where possible.
9605 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9606 Call GtkMainThread.createWindow().
9607 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9608 (dispose): New method.
9609 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9611 (gtkQuit): New native method.
9613 2006-08-08 Lillian Angel <langel@redhat.com>
9615 * java/awt/Component.java
9616 (setDropTarget): Added check.
9618 2006-08-08 Lillian Angel <langel@redhat.com>
9620 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9621 (GtkDragSourceContextPeer): Added FIXME. Changed call
9623 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9624 (GtkDropTargetContextPeer): Removed target initialization.
9625 * java/awt/Component.java
9626 (setTarget): Removed commented out code.
9628 2006-08-08 Mark Wielaard <mark@klomp.org>
9630 * javax/swing/text/DefaultHighlighter.java: Qualify
9631 Highlighter.HighlightPainter class name for gcj.
9633 2006-08-05 Roman Kennke <kennke@aicas.com>
9635 * javax/swing/plaf/basic/BasicTableUI.java
9636 (MouseInputHandler.mousePressed): Request focus on list
9639 2006-08-05 Roman Kennke <kennke@aicas.com>
9641 * javax/swing/plaf/basic/BasicListUI.java
9642 (MouseInputHandler.mousePressed): Request focus on list
9645 2006-08-05 Roman Kennke <kennke@aicas.com>
9648 * javax/swing/plaf/basic/BasicMenuBarUI.java
9649 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9650 than Tree.actionMap.
9651 * javax/swing/plaf/basic/BasicTreeUI.java
9652 (action): Removed obsolete field.
9653 (uninstallKeyboardActions): Removed action field handling.
9654 (installKeyboardActions): Removed action field handling.
9655 (createDefaultActions): Don't install removed TreeAction.
9656 (TreeAction): Removed obsolete inner class.
9657 (ActionListenerProxy): Removed obsolete inner class.
9658 (MouseHandler.mousePressed): Request focus on JTree component
9661 2006-08-08 Roman Kennke <kennke@aicas.com>
9663 * javax/swing/plaf/basic/BasicListUI.java
9664 (MouseInputHandler.mousePressed): Request focus on list
9667 2006-08-08 Roman Kennke <kennke@aicas.com>
9669 * javax/swing/plaf/basic/BasicTableUI.java
9670 (MouseInputHandler.mousePressed): Request focus on list
9673 2006-08-08 Roman Kennke <kennke@aicas.com>
9675 * javax/swing/plaf/basic/BasicTextUI.java
9676 (damageRange(JTextComponent,int,int)): Call damageRange() with
9677 correct biases, rather than null.
9678 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9679 to use simpler modelToView() approach without much special
9680 casing. This seems not worth the effort and actually
9681 caused problems. Added locking of the document.
9682 * javax/swing/text/BoxView.java
9683 (requirementsValid): New field.
9684 (calculateMajorAxisRequirements): Rewritten without using
9685 SizeRequirements. The SizeRequirements algorithms are slightly
9686 different and too inefficient.
9687 (calculateMinorAxisRequirements): Rewritten without using
9688 SizeRequirements. The SizeRequirements algorithms are slightly
9689 different and too inefficient.
9690 (getAlignment): Simply return the alignment of the cached
9692 (getMaximumSpan): Add insets.
9693 (getMinimumSpan): Add insets.
9694 (getPreferredSpan): Add insets.
9695 (layoutMajorAxis): Rewritten without using
9696 SizeRequirements. The SizeRequirements algorithms are slightly
9697 different and too inefficient.
9698 (layoutMinorAxis): Rewritten without using
9699 SizeRequirements. The SizeRequirements algorithms are slightly
9700 different and too inefficient.
9701 (modelToView): Call setSize() rather than layout().
9702 (paint): Check clip for more efficient painting.
9703 (preferenceChanged): Invalidate requirements here.
9704 (replace): Invalidate requirements here.
9705 (updateRequirements): Update requirements only when requirements
9707 * javax/swing/text/CompositeView.java
9708 (modelToView): Added some more checks and handling of corner cases.
9709 * javax/swing/text/FlowView.java
9710 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9711 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9712 * javax/swing/text/IconView.java
9713 (getAlignment): Implemented to return 1.0 for vertical alignment.
9714 * javax/swing/text/ParagraphView.java
9715 (Row.getMaximumSpan): Implemented to let Rows span the whole
9717 (getAlignment): Fixed horizontal alignment and vertical alignment
9718 for empty paragraphs to be 0.5.
9720 2006-08-08 Roman Kennke <kennke@aicas.com>
9722 * javax/swing/text/View.java
9723 (modelToView): Added special handling for corner case at the end
9724 of the view and for multiline views.
9726 2006-08-08 Roman Kennke <kennke@aicas.com>
9728 * javax/swing/plaf/basic/BasicTextUI.java
9729 (modelToView): Read-lock the document. Set size of the
9730 root view before fetching the model-to-view mapping.
9731 (getViewIndex): Check of the position is inside the range and
9732 return -1 if this is not the case.
9733 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9735 (getViewIndexAtPosition(int)): Delegate the index search to
9736 the element since we have a 1:1 mapping between elements and
9738 * javax/swing/text/DefaultCaret.java
9739 (appear): Ignore BadLocationException.
9740 (paint): Ignore BadLocationException.
9741 * javax/swing/text/FlowView.java
9742 (changedUpdate): Also notify the layoutPool view.
9743 (removeUpdate): Also notify the layoutPool view.
9744 * javax/swing/text/ParagraphView.java
9745 (Row.getViewIndexAtPosition): Overridden to search linearily
9746 through the view instead of relying on a 1:1 model to view
9748 * javax/swing/text/View.java
9749 (removeUpdate): Clear ElementChange object if updateChildren
9751 (forwardUpdate): Special handle some boundary cases.
9753 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9755 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9756 (hasInheritedParameters): New method.
9757 (equals): Updated documentation.
9758 Take into consideration the outcome of hasInheritedParameters invocation.
9759 (toString): Call hasInheritedParameters and adjust the result accordingly.
9760 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9761 Updated documentation.
9762 Handle case of public keys with null p, q, and g MPIs.
9763 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9765 2006-08-07 Tom Tromey <tromey@redhat.com>
9768 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9769 (attachment): Likewise.
9770 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9772 (isValid): Likewise.
9773 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9775 (interestOps): Synchronize.
9776 (readyOps): Likewise.
9777 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9780 2006-08-07 C. Scott Marshall <csm@gnu.org>
9783 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9784 the mark has been set.
9785 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9786 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9789 2006-08-07 Sven de Marothy <sven@physto.se>
9791 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9792 (drawGlyphVector): Synchronize against font object when drawing.
9793 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9794 (nativeDrawGlyphVector): Use pango locking when drawing.
9795 (install_font_peer): Use pango locking when creating the cairo face.
9797 2006-08-06 Roman Kennke <kennke@aicas.com>
9800 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9801 (getPreferredSize): Renamed method to preferredSize(). That's
9802 the one that gets called from java.awt.*.
9803 * java/awt/peer/ComponentPeer.java
9804 (getPreferredSize): Added specnote about this method never
9805 beeing called in the RI.
9806 (getMinimumSize): Added specnote about this method never
9807 beeing called in the RI.
9809 2006-08-03 Sven de Marothy <sven@physto.se>
9811 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9812 (grab, nativeGrab): New methods.
9813 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9815 (nativeGrab): New method.
9816 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9818 * java/awt/Component.java
9819 (printAll): Should call peer print method.
9821 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9823 * java/net/URL.java (getContent(Class[])): Implement.
9825 2006-08-06 Mark Wielaard <mark@klomp.org>
9828 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9829 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9831 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9834 2006-08-06 Roman Kennke <kennke@aicas.com>
9836 * NEWS: Added note about the X peers.
9837 * INSTALL: Added install notes about the X peers.
9839 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9840 Paul Jenner <psj@harker.dyndns.org>
9842 * README: Update bug, patches and cvs instructions plus new URLs of
9843 various external projects.
9845 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9847 * configure.ac (MOZILLA_FOUND): Fall back to
9848 mozilla-firefox-plugin.
9850 2006-08-06 Mario Torre <neugens@limasoftware.net>
9852 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9853 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9854 g_type_init earlier in function to correctly initialize the
9855 type system used by the backend.
9857 2006-08-05 Roman Kennke <kennke@aicas.com>
9859 * javax/swing/text/DefaultHighlight.java
9860 (DefaultHighlightPainter.paintHighlight): Removed method.
9861 (DefaultHighlightPainter.paintLayer): Implemented.
9862 (DefaultHighlightPainter.paint): Implemented more efficient
9863 painting for multiline-highlights.
9864 (HighlightEntry.p0): Changed to be a Position.
9865 (HighlightEntry.p1): Changed to be a Position.
9866 (HighlightEntry.HighlightEntry): Changed to take Position
9868 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9869 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9870 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9871 and tracks the painted rectangle for efficient repainting.
9872 (addHighlight): Handle layered highlight.
9873 (changeHighlight): Handle layered highlight.
9874 (paintLayeredHighlights): Implemented.
9875 (paint): Paint only non-layered highlights here.
9876 (removeAllHighlights): Trigger correct repaint.
9877 (removeHighlight): Handle layered highlight here for
9878 more efficient repainting.
9879 * javax/swing/text/GlyphView.java
9880 (paint): Handle layered highlights.
9881 * javax/swing/text/PlainView.java
9882 (paint): Handle layered highlights.
9883 * javax/swing/text/WrappedPlainView.java
9884 (WrappedLine.paint): Handle layered highlights.
9886 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9889 * NEWS: As suggested by Paul Jennier, added note about the fix of
9892 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9894 * NEWS: Added entry about the context factories for JNDI.
9896 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9899 * gnu/CORBA/Connected_objects.java (size): New method.
9900 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9902 * javax/naming/spi/NamingManager.java (getURLContext):
9903 Also search for the URL context factories in
9904 gnu/javax/naming/jndi/url.
9905 * gnu/javax/naming/giop/ContextContinuation.java,
9906 gnu/javax/naming/giop/CorbalocParser.java,
9907 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9908 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9909 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9910 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9911 gnu/javax/naming/giop/ListEnumeration.java,
9912 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9913 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9914 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9915 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9916 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9917 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9918 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9919 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9921 2006-08-06 Sven de Marothy <sven@physto.se>
9923 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9924 (drawGlyphVector): Synchronize against font object when drawing.
9925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9926 (nativeDrawGlyphVector): Use pango locking when drawing.
9927 (install_font_peer): Use pango locking when creating the cairo face.
9929 2006-08-06 C. Scott Marshall <csm@gnu.org>
9932 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9933 the mark has been set.
9934 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9935 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9938 2006-08-06 Mark Wielaard <mark@klomp.org>
9941 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9942 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9944 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9947 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9948 Paul Jenner <psj@harker.dyndns.org>
9950 * README: Update bug, patches and cvs instructions plus new URLs of
9951 various external projects.
9953 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9955 * gnu/java/lang/management/BeanImpl.java:
9956 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9958 (getCachedMBeanInfo()): Return open variant.
9959 (getMBeanInfo()): Likewise.
9960 (getTypeFromClass(Class)): Implemented.
9961 (translateSignature(MBeanParameterInfo)): Likewise.
9962 (translate(String)): Likewise.
9963 * javax/management/StandardMBean.java:
9964 (getMBeanInfo()): Return attribute names with capital letters,
9965 as in docs for java.lang.management.ManagementFactory, and
9966 ensure descriptions are not "".
9967 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9968 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9969 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9970 (toString()): Use Arrays.toString().
9971 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9972 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9973 Set open type here rather than in other constructors.
9975 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9977 * javax/management/MBeanFeatureInfo.java:
9978 Make string variable package-private.
9979 * javax/management/StandardMBean.java:
9980 (getMBeanInterface()): Made final.
9981 * javax/management/openmbean/SimpleType.java:
9984 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9986 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9989 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9991 * examples/gnu/classpath/examples/swing/FillRect.java,
9992 * gnu/CORBA/Focused_ORB.java,
9993 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9994 * gnu/classpath/ByteArray.java,
9995 * gnu/classpath/ObjectPool.java,
9996 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9997 * gnu/java/awt/peer/x/fonts.properties,
9998 * gnu/java/security/util/Prime2.java,
9999 * gnu/javax/imageio/gif/GIFStream.java,
10000 * javax/swing/text/html/HTMLTableView.java,
10001 * native/cni/Makefile.am,
10002 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
10003 * org/omg/CORBA/SendingContext/Runtime.java,
10004 * resource/gnu/regexp/MessagesBundle.properties,
10005 * resource/gnu/regexp/MessagesBundle_fr.properties,
10006 * resource/gnu/regexp/MessagesBundle_it.properties,
10007 * tools/appletviewer.in,
10008 * tools/jarsigner.in,
10009 * tools/keytool.in,
10010 * vm/reference/java/lang/management/VMThreadInfo.java:
10012 * examples/gnu/classpath/examples/awt/aicas.png,
10013 * examples/gnu/classpath/examples/awt/palme.gif,
10014 * examples/gnu/classpath/examples/java2d/aicas.png,
10015 * examples/gnu/classpath/examples/java2d/palme.gif,
10016 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10017 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10018 * java/awt/doc-files/capjoin.png,
10019 * java/awt/geom/doc-files/Area-1.png,
10020 * java/awt/geom/doc-files/Ellipse-1.png,
10021 * java/awt/geom/doc-files/GeneralPath-1.png:
10024 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10029 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10031 * gnu/java/lang/management/BeanImpl.java:
10032 (getAttribute(String)): Implemented.
10034 2006-08-05 Roman Kennke <kennke@aicas.com>
10036 * javax/swing/text/JTextComponent.java
10037 (AccessibleJTextComponent.dot): Renamed field into caretDot.
10038 (AccessibleJTextComponent.textComp): Removed field
10039 and replace with JTextComponent.this construct.
10040 (AccessibleJTextComponent.AccessibleJTextComponent):
10041 Fetch caret position.
10042 (caretUpdate): Implemented. Fires property change events and
10043 updates the caretDot field.
10044 (changedUpdate): Implemented. Fires property change events.
10045 (insertUpdate): Implemented. Fires property change events.
10046 (removeUpdate): Implemented. Fires property change events.
10047 (cut): Replaced textComp with JTextComponent.this construct.
10048 (paste): Replaced textComp with JTextComponent.this construct.
10049 (replaceText): Replaced textComp with JTextComponent.this construct.
10050 (selectText): Replaced textComp with JTextComponent.this construct.
10051 (getCaretPosition): Replaced textComp with JTextComponent.this
10053 (getCharCount): Replaced textComp with JTextComponent.this construct.
10054 (getSelectedText): Replaced textComp with JTextComponent.this
10056 (getSelectionEnd): Replaced textComp with JTextComponent.this
10058 (getSelectionStart): Replaced textComp with JTextComponent.this
10060 (getTextRange): Replaced textComp with JTextComponent.this
10062 (doAccessibleAction): Implemented.
10063 (getAccessibleActionCount): Implemented.
10064 (getAccessibleActionDescription): Implemented.
10065 (getAccessibleStateSet): Implemented.
10066 (getAfterIndex): Implemented.
10067 (getBeforeIndex): Implemented.
10068 (getAtIndex): Implemented.
10069 (getAtIndexImpl): New helper method.
10070 (getCharacterAttribute): Implemented.
10071 (getCharacterBounds): Implemented.
10072 (getIndexAtPoint): Implemented.
10073 (insertTextAtIndex): Implemented.
10074 (setAttributes): Implemented.
10075 (setTextContents): Implemented.
10077 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
10079 * configure.ac: Better handling of default-preferences-peer option.
10081 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
10083 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10086 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10088 * javax/management/openmbean/TabularData.java:
10089 Documentation corrections.
10090 * javax/management/openmbean/TabularDataSupport.java:
10093 2006-08-04 Francis Kung <fkung@redhat.com>
10095 * java/awt/BasicStroke.java
10096 (dashedStroke): Implemented.
10098 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10100 * javax/management/BadAttributeValueExpException.java,
10101 * javax/management/BadStringOperationException.java,
10102 * javax/management/InstanceAlreadyExistsException.java,
10103 * javax/management/InstanceNotFoundException.java,
10104 * javax/management/InvalidApplicationException.java,
10105 * javax/management/MBeanRegistrationException.java,
10106 * javax/management/MalformedObjectNameException.java,
10107 * javax/management/RuntimeErrorException.java,
10108 * javax/management/RuntimeMBeanException.java,
10109 * javax/management/ServiceNotFoundException.java:
10112 2006-08-04 Roman Kennke <kennke@aicas.com>
10114 * javax/swing/SwingUtilities.java
10115 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10116 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10117 layoutCompoundLabelImpl().
10118 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10119 Rectangle,Rectangle,Rectangle,int)): Delegate to new
10120 layoutCompoundLabelImpl().
10121 (layoutCompoundLabelImpl): New helper method. Moved impl from
10122 layoutCompoundLabel() to here and added handling of HTML.
10123 * javax/swing/plaf/basic/BasicButtonUI.java
10124 (installUI): Update HTML view if appropriate.
10125 (uninstallUI): New method. Do the usual uninstallUI things
10126 and uninstall HTML view.
10127 (getMinimumSize): New method. Adjusts the minimum size
10128 by the HTML view minimum size.
10129 (getMaximumSize): New method. Adjusts the maximum size
10130 by the HTML view maximum size.
10131 (getPreferredSize): Pass the button's iconTextGap to the
10132 BasicGraphicsUtils method.
10133 (paint): Let HTML view paint the text, if present.
10134 * javax/swing/plaf/basic/BasicButtonListener.java
10135 (propertyChange): Update the HTML view when the button's
10138 2006-08-04 Mario Torre <neugens@limasoftware.net>
10140 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10141 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10142 g_type_init earlier in function to correctly initialize the
10143 type system used by the backend.
10145 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10148 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10150 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10152 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10154 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10156 * gnu/xml/dom/DomIterator.java:
10157 (successor): Added if-statement.
10159 2006-08-04 Mark Wielaard <mark@klomp.org>
10161 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10163 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10165 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10166 (update): Check size and paint smaller gradient.
10167 * javax/swing/plaf/metal/MetalBorders.java:
10168 (MenuBarBorder): Removed borderColor field.
10169 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10172 2006-08-03 Roman Kennke <kennke@aicas.com>
10175 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10176 (ComponentHandler.componentResized): Reimplemented to handle
10178 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10179 component listener on changed ancestor.
10180 (installListeners): Install componentListener.
10181 (uninstallListeners): Uninstall componentListener.
10183 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10185 * StrictMath.java (cbrt): Return argument if it is a NaN.
10190 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10192 * java/lang/StrictMath.java (tanh): New method.
10194 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10196 * scripts/import-cacerts.sh: Batch CA certificates import script.
10198 2006-08-03 Roman Kennke <kennke@aicas.com>
10201 * javax/swing/plaf/basic/BasicListUI.java
10202 (paintCell): Pass row index to cell renderer.
10203 * javax/swing/plaf/basic/MetalFileChooserUI.java
10204 (DirectoryComboBoxRenderer.indentIcon): New field.
10205 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10206 Initialize indentIcon.
10207 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10208 Fall back to super and removed standard functionality.
10209 Handle indentation.
10210 (IndentIcon): New class. Wraps and indents another icon.
10212 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10214 * javax/management/MBeanConstructorInfo.java:
10215 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10216 Copy array rather than directly assigning.
10217 * javax/management/MBeanInfo.java:
10218 (MBeanInfo(String,String,MBeanAttributeInfo[],
10219 MBeanConstructorInfo[], MBeanOperationInfo[],
10220 MBeanNotificationInfo[])): Likewise.
10221 * javax/management/MBeanOperationInfo.java:
10222 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10224 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10225 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10227 * javax/management/openmbean/OpenMBeanInfo.java:
10228 Corrected documentation.
10229 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10231 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10232 Corrected documentation.
10233 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10235 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10236 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10237 Call other constructor rather than reimplementing.
10239 2006-08-02 Lillian Angel <langel@redhat.com>
10241 * java/awt/dnd/DragSource.java
10242 (isDragImageSupported): Implemented.
10243 (getDragThreshold): Changed default value.
10244 * java/awt/dnd/DropTarget.java
10245 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10246 (DropTarget): Likewise.
10247 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10248 (addDropTargetListener): Added check to determine if new DropTargetListener
10249 is this class. If so, an IllegalArgumentException is thrown. If the
10250 new listener is null, nothing happens.
10252 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10254 * configure.ac (MOZILLA_FOUND): Fall back to
10255 mozilla-firefox-plugin.
10257 2006-08-02 Sven de Marothy <sven@physto.se>
10259 * java/awt/geom/AffineTransform.java
10260 (hashCode): Tweak impl.
10261 * java/awt/font/FontRenderContext.java
10262 (hashCode): Implement.
10264 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10266 * java/lang/StrictMath.java (sinh): New method.
10268 2006-08-02 Roman Kennke <kennke@aicas.com>
10271 * javax/swing/JComboBox.java
10272 (setSelectedItem): Fire ActionEvent here.
10273 * javax/swing/plaf/basic/BasicDirectoryModel.java
10274 (directories): Changed to type Vector.
10275 (files): New field.
10276 (loadThread): New field.
10277 (DirectoryLoadThread): New inner class. This loads the contents
10278 of directories asynchronously.
10279 (getDirectories): Return cached Vector.
10280 (getFiles): Return cached Vector.
10281 (getSize): Return plain size of contents Vector.
10282 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10283 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10284 (sort): Don't store sorted list in contents. This must be done
10285 asynchronously from the EventThread.
10286 (validateFileCache): Rewritten for asynchronous reading
10287 of directory contents.
10288 * javax/swing/plaf/basic/BasicFileChooserUI.java
10289 (installListeners): Install model as PropertyChangeListener.
10290 (uninstallListeners): Uninstall model as PropertyChangeListener.
10291 (createPropertyChangeListener): Return null just like the
10294 2006-08-02 Sven de Marothy <sven@physto.se>
10296 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10297 (remove): Force event on removing item 0 when it's selected.
10298 (handleEvent): Always call Choice.selected().
10299 * java/awt/Choice.java:
10300 (remove): Simplify and correct.
10302 2006-08-02 Mark Wielaard <mark@klomp.org>
10305 * configure.ac (gconf-peer): Check for gdk-2.0.
10306 * native/jni/gconf-peer/Makefile.am
10307 (AM_LDFLAGS): Use GDK_LIBS.
10308 (AM_CFLAGS): Use GDK_CFLAGS.
10310 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10312 * java/net/URL.java (getContent(Class[])): Implement.
10314 2006-08-02 Roman Kennke <kennke@aicas.com>
10317 * javax/swing/JMenu.java
10318 (JMenu()): Removed setting of delay.
10319 (JMenu(String)): Removed setting of delay.
10320 (JMenu(Action)): Removed setting of delay.
10321 (JMenu(String,boolean)): Removed setting of delay.
10322 (setSelectedHelper): Removed unneeded method.
10323 (setSelected): Simply set the model state.
10324 (setPopupMenuVisible): Recognize the popup location
10325 determined by getPopupMenuOrigin().
10326 (getPopupMenuOrigin): Recognize the UI properties for
10328 (menuSelectionChanged): Call setSelected() directly.
10329 * javax/swing/JPopupMenu.java
10330 (menuSelectionChanged): If invoker is a JMenu, then delegate
10331 to that to get the position right.
10332 * javax/swing/Popup.java
10333 (LightweightPopup.show): Insert the popup as first component
10334 in the layer, so that it overlaps it's caller.
10335 * javax/swing/plaf/basic/BasicMenuItemUI.java
10336 (getPath): Don't include the popup.
10337 * javax/swing/plaf/basic/BasicMenuUI.java
10338 (SelectMenuAction): New class. This invokes the popup when
10339 a menu is selected.
10340 (installDefaults): Install delay of 200 ms.
10341 (setupPostTimer): Implemented.
10342 (MouseInputHandler.mouseClicked): Do nothing here.
10343 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10344 magic to handle the selection. Open the menu via a timer.
10345 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10346 magic to handle the selection. Open the menu via a timer.
10347 (MenuDragMouseHandler.menuMouseDragged): Probably use
10349 (menuDragMouseEntered): Do nothing here.
10351 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10353 * javax/management/openmbean/InvalidOpenTypeException.java,
10354 * javax/management/openmbean/KeyAlreadyExistsException.java:
10357 2006-08-02 Roman Kennke <kennke@aicas.com>
10360 * javax/swing/plaf/basic/BasicChooserUI.java
10361 (BasicFileView.getName): Fetch the real name from the
10362 file chooser's FileSystemView.
10363 * javax/swing/plaf/metal/MetalChooserUI.java
10364 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10365 Set the text fetched from the JFileChooser.getName().
10366 * javax/swing/FileSystemView.java
10367 (createFileObject): When file is a filesystem root,
10368 create a filesystem root object first.
10369 (getSystemDisplayName): Return the filename. Added specnote
10370 about ShellFolder class that is mentioned in the spec.
10371 * javax/swing/UnixFileSystemView.java
10372 (getSystemDisplayName): Implemented to return the real name
10373 of a file, special handling files like '.' or '..'.
10375 2006-08-03 Mark Wielaard <mark@klomp.org>
10377 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10379 2006-08-03 Roman Kennke <kennke@aicas.com>
10382 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10383 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10384 components when visual property chanegs.
10386 2006-08-03 Roman Kennke <kennke@aicas.com>
10389 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10390 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10391 component when visual properties change.
10393 2006-08-03 Roman Kennke <kennke@aicas.com>
10396 * javax/swing/JTree.java
10397 (JTree(TreeModel)): Set cell renderer to null.
10398 * javax/swing/plaf/basic/BasicTreeUI.java
10399 (setCellRenderer): Finish editing before setting the
10400 cell renderer. Refresh the layout. Don't set the
10401 currentCellRenderer field here (that's done in updateRenderer).
10402 (updateRenderer): Handle createdRenderer field here too.
10403 Set renderer to a default handler when the current renderer
10404 in the JTree is null.
10406 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10409 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10411 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10414 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10415 Updated documentation to clarify that RFC-2459 states that the parameters
10416 field of the AlgorithmIdentifier element MUST be NULL if present.
10417 Amended the code to reflect the specs.
10418 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10420 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10422 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10423 Call parameter 'defaultValue' not 'defValue'.
10425 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10427 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10430 2006-08-01 Roman Kennke <kennke@aicas.com>
10433 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10434 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10435 components when visual property chanegs.
10437 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10439 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10440 (toString()): Corrected documentation.
10441 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10442 * javax/management/openmbean/OpenMBeanInfo.java,
10443 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10445 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10446 (toString()): Corrected documentation.
10448 2006-08-01 Tania Bento <tbento@redhat.com>
10450 * java/awt/Choice.java
10451 (remove(int)): Added documentation.
10453 2006-08-01 Tania Bento <tbento@redhat.com>
10455 * java/awt/Choice.java
10456 (remove(int)): An IllegalArgumentException should not be thrown
10457 if int is invalid. Update selectedIndex and peer selection.
10459 2006-08-01 Tania Bento <tbento@redhat.com>
10461 * java/awt/CardLayout.java
10462 (toString): Changed format of string outputted.
10463 (goToComponent): Changed the order of the if-clause.
10465 2006-07-31 Tom Tromey <tromey@redhat.com>
10467 * INSTALL: Updated for ASM.
10469 2006-07-31 Tom Tromey <tromey@redhat.com>
10472 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10473 (attachment): Likewise.
10474 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10476 (isValid): Likewise.
10477 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10479 (interestOps): Synchronize.
10480 (readyOps): Likewise.
10481 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10484 2006-07-31 Roman Kennke <kennke@aicas.com>
10486 * NEWS: Added note about the X peers.
10487 * INSTALL: Added install notes about the X peers.
10489 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10491 * StrictMath.java (getLowDWord): Return long instead of int.
10492 (getHighDWord): Likewise.
10493 (buildDouble): Take two long arguments.
10494 (cbrt): Adapted to int -> long change.
10498 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10500 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10503 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10505 * java/security/Provider.java: Updated copyright year.
10506 Updated documentation.
10508 (put): Updated documentation.
10509 Added security manager check.
10510 Canonicalize the key before adding its mapping.
10511 (get): Override superclass implementation to use canonicalized keys.
10512 (remove): Updated documentation.
10513 Added security manager check.
10514 Canonicalize the key before removing its mapping.
10515 (clear): Updated documentation.
10516 Added security manager check.
10517 (toCanonicalKey): New method.
10519 2006-07-30 Matt Wringe <mwringe@redhat.com>
10521 * gnu/java/security/Engine.java
10522 (getInstance): Ignore self referencing aliases.
10524 2006-07-30 Mark Wielaard <mark@klomp.org>
10526 * javax/swing/JComponent.java (getListeners): Revert
10529 2006-07-30 Mark Wielaard <mark@klomp.org>
10531 * resource/java/security/classpath.security: Add /dev/urandom as
10532 default securerandom.source.
10534 2006-07-30 Mark Wielaard <mark@klomp.org>
10536 * java/util/GregorianCalendar.java (maximums): Months can have up to
10538 (nonLeniencyCheck): weeks is either 5 or 6.
10540 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10542 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10543 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10546 2006-07-30 Matt Wringe <mwringe@redhat.com>
10548 * gnu/java/security/Engine.java
10549 (getInstance): Ignore self referencing aliases.
10551 2006-07-30 Sven de Marothy <sven@physto.se>
10553 * java/awt/Choice.java:
10554 (accessibleAction): Call select() directly.
10555 (add, insert, remove): Reimplement.
10556 (dispatchEventImpl): Always call super.
10557 (processItemEvent): Does not set the index.
10558 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10561 (nativeAdd): Name changed to add.
10562 (selection_changed_cb): Simplify callback.
10563 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10564 (selected): New field.
10565 (add): Replaced with native impl.
10566 (handleEvent): New method.
10568 2006-07-30 Sven de Marothy <sven@physto.se>
10570 * java/awt/Choice.java:
10571 Reformat, fix copyright year.
10573 2006-07-29 Mark Wielaard <mark@klomp.org>
10575 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10576 static field isPaintingDoubleBuffered to not have the same name
10579 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10581 * examples/gnu/classpath/examples/management/TestBeans.java:
10583 * javax/management/MBeanAttributeInfo.java:
10584 (toString()): Implemented.
10585 * javax/management/MBeanConstructorInfo.java:
10586 (toString()): Implemented.
10587 * javax/management/MBeanFeatureInfo.java:
10588 (toString()): Implemented.
10589 * javax/management/MBeanInfo.java:
10590 (toString()): Implemented.
10591 * javax/management/MBeanNotificationInfo.java:
10592 (toString()): Implemented.
10593 * javax/management/MBeanOperationInfo.java:
10594 (toString()): Implemented.
10595 * javax/management/MBeanParameterInfo.java:
10596 (toString()): Implemented.
10597 * javax/management/StandardMBean.java:
10598 (getMBeanInfo()): Fix attribute naming.
10600 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10602 * gnu/java/lang/management/BeanImpl.java:
10603 Extended javax.management.StandardMBean.
10604 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10605 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10606 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10607 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10608 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10609 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10610 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10611 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10612 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10613 Call the superclass with the appropriate class.
10614 * java/lang/management/ManagementFactory.java:
10615 (getOperatingSystemMXBean()): Catch exception from
10617 (getRuntimeMXBean()): Likewise.
10618 (getClassLoadingMXBean()): Likewise.
10619 (getThreadMXBean()): Likewise.
10620 (getMemoryMXBean()): Likewise.
10621 (getCompilationMXBean()): Likewise.
10622 (getMemoryPoolMXBeans()): Likewise.
10623 (getMemoryManagerMXBeans()): Likewise.
10624 (getGarbageCollectorMXBeans()): Likewise.
10625 * javax/management/MBeanFeatureInfo.java:
10626 hashCode()): Fixed to check for null values.
10628 2006-07-29 Matt Wringe <mwringe@redhat.com>
10630 * gnu/java/security/Engine.java
10631 (getInstance): Add case insentivity to algorithm names
10632 * java/security/Provider.java
10633 (put): Stop using canonical key naming
10635 (toCanonicalKey): Method removed
10636 (get): Method removed, no longer needs to overwrite
10637 parent implementation
10639 2006-07-29 Mark Wielaard <mark@klomp.org>
10641 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10642 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10643 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10644 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10649 2006-07-29 Sven de Marothy <sven@physto.se>
10651 * java/math/BigDecimal.java
10652 Adjust copyright date.
10653 (divide(BigDecimal): Implement.
10654 (precision): Reimplement.
10655 (numDigitsInBigInteger, numDigitsInLong): Removed.
10656 (toString): Get exponent from string length,
10657 fix negative values with exponential form.
10658 (toEngineeringString): Same as for toString.
10659 (setScale): Throw ArithmeticException if scale < 0.
10661 2006-07-27 Francis Kung <fkung@redhat.com>
10663 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10664 (cp1): Renamed from first().
10665 (c2): Renamed from last().
10666 (first): Renamed to cp1().
10667 (getDisplacedSegments): Implemented.
10668 (last): Renamed to cp2().
10669 * gnu/java/awt/java2d/LineSegment.java
10670 (cp1): Renamed from first().
10671 (c2): Renamed from last().
10672 (first): Renamed to cp1().
10673 (last): Renamed to cp2().
10674 * gnu/java/awt/java2d/QuadSegment.java
10675 (cp1): Renamed from first().
10676 (c2): Renamed from last().
10677 (first): Renamed to cp1().
10678 (last): Renamed to cp2().
10679 * gnu/java/awt/java2d/Segment.java: Added comments.
10680 (first): New field.
10681 (Segment): Keep track of first element in list.
10682 (add): Update first & last element variables.
10683 (cp1): Renamed from first().
10684 (c2): Renamed from last().
10685 (first()): Renamed to cp1() to reduce ambiguity.
10686 (last()): Renamed to cp2() to reduce ambiguity.
10687 (reverseAll): Update first element variable..
10688 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10689 (draw): Remove flattening path iterator.
10690 * java/awt/BasicStroke.java: Clarified comments.
10691 (addSegments): Refactored some code into joinSegments and
10693 (capEnd): Rename of Segment.first() and Segment.end().
10694 (joinInnerSegments): New method.
10695 (joinOuterSegments): New method.
10696 (joinSegments): Refactored some code into joinOuterSegments.
10697 (solidStroke): Connect segments together properly.
10699 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10701 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10703 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10705 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10707 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10710 2006-07-28 Tom Tromey <tromey@redhat.com>
10712 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10714 2006-07-28 Lillian Angel <langel@redhat.com>
10716 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10717 Removed function declarations.
10718 (connect_signals_for_widget): Removed implementation because
10719 stub functions have been removed.
10720 (drag_begin_cb): Removed function.
10721 (drag_motion_cb): Likewise.
10722 (drag_data_get_cb): Likewise.
10723 (drag_data_delete_cb): Likewise.
10724 (drag_drop_cb): Likewise.
10725 (drag_end_cb): Likewise.
10726 (drag_data_received_cb): Likewise.
10728 2006-07-28 Mark Wielaard <mark@klomp.org>
10730 * configure.ac: Set version to 0.93-pre.
10732 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10734 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10736 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10738 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10739 (getCallbackHandler): Fully qualify linked class in javadoc.
10740 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10741 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10742 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10744 2006-07-27 Tom Tromey <tromey@redhat.com>
10746 PR classpath/28486:
10747 * java/net/URLStreamHandler.java (equals): Properly handle default
10748 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10750 2006-07-27 Roman Kennke <kennke@aicas.com>
10752 * javax/swing/text/AbstractDocument.java
10753 (documentCV): Made field private.
10754 (bypass): Made field private.
10755 (bidiRoot): New field.
10756 (AbstractDocument): Initialize bidiRoot.
10757 (getBidiRootElement): Return bidiRoot.
10758 (getRootElements): Adjusted to also return the bidiRoot element.
10759 (BranchElement.startOffset): Removed unneeded field.
10760 (BranchElement.endOffset): Removed unneeded field.
10761 (BranchElement.BranchElement): Removed unneeded fields.
10762 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10763 done automatically when there's no element left in the array.
10764 (BranchElement.getStartOffset): Likewise.
10765 (BranchElement.replace): Reordered calculations to avoid double
10767 (removeImpl): Silently ignore requests with length <= 0.
10768 * javax/swing/text/GapContent.java
10769 (createPosition): Removed explicit check for correct offset.
10770 This class can deal with offsets outside the document.
10771 (shiftEnd): Update all positions, even those outside the
10773 (adjustPositionsInRange): Fixed to also adjust positions outside
10774 the document boundary.
10776 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10778 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10780 (getParameter): Returns _klass field instead of determining
10781 class from _instance.
10782 (setCatchLoc): New method.
10783 (writeData): Now assumes Location deals with empty locations instead of
10785 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10786 locations and write out accordingly.
10787 (getEmptyLocation): New method.
10789 2006-07-27 Roman Kennke <kennke@aicas.com>
10791 * javax/swing/text/SimpleAttributeSet.java
10792 (EMPTY): Use EmptyAttributeSet for this field rather than
10793 SimpleAttributeSet.
10794 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10795 an empty and immutable AttributeSet.
10797 2006-07-27 Roman Kennke <kennke@aicas.com>
10799 * java/awt/Component.java
10800 (reshape): Invalidate the component itself only when the
10801 size has changed. Invalidate the parent always. Fixed
10802 repainting. Pulled out the notification into
10804 (notifyReshape): New helper method. Notify interested listeners
10806 (update): Simply call paint() without clearing the background.
10807 This is done in Container.update() if appropriate.
10808 (repaint): Delagate the repaint to the nearest heavyweight
10809 parent (for lightweights) and send an UPDATE event, rather than
10810 calling ComponentPeer.repaint().
10811 * java/awt/Container.java
10812 (backCleared): Removed field.
10813 (paint): Removed handling of backCleared flag.
10814 (update): Only paint if the container is actually
10815 showing. Removed handling of backCleared flag.
10817 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10819 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10821 (NavigateAction): New inner class.
10822 (NavigatePageDownAction): New inner class.
10823 (NavigatePageUpAction): New inner class.
10824 (RequestFocusAction): New inner class.
10825 (RequestFocusForVisibleComponentAction): New inner class.
10826 (FocusHandler.focusGained): Implemented.
10827 (FocusHandler.focusLost): Implemented.
10828 (MouseHandler.mouseReleased): Implemented.
10829 (MouseHandler.mousePressed): Rewritten.
10830 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10831 currentScrollLocation to 0.
10832 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10833 removed local variables, fixed indentation to stay under 80 column
10835 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10836 one, set selectedIndex to 0 if its negative, corrected start values
10837 for normalization, suppressed padding when only one tab run,
10838 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10839 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10840 80 column limit, corrected the starting value for the bounds fixing
10842 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10843 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10844 selectedRun, set start index for loop to 0.
10845 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10846 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10847 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10848 alignment and visibility handling.
10849 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10851 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10852 (currentScrollOffset): New field.
10853 (tabRuns): Rewritten documentation.
10854 (selectedColor): New field.
10855 (tempTextRect): New field.
10856 (tempIconRect): New field.
10857 (scrollTab): New method.
10858 (updateButtons): New method.
10859 (updateViewPosition): New method.
10860 (createLayoutManager): Reordered method calls, predefine new fields,
10861 register proper listeners.
10862 (uninstallComponents): Implemented.
10863 (installDefaults): Corrected property names, fixed indentation,.
10864 (uninstallDefaults): Set new fields to null.
10865 (uninstallListeners): Remove listeners from components neccessary for
10866 scrolling tab layout.
10867 (installKeyboardActions): Implemented.
10868 (uninstallKeyboardActions): Implemented.
10869 (paint): Paint tab area background.
10870 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10872 (getTabLabelShiftX): Rewritten.
10873 (getTabLabelShiftY): Rewritten.
10874 (paintFocusIndicator): Reindented.
10875 (paintTabBorder): Rewritten.
10876 (paintTabBackground): Corrected color usage, rewritten background
10877 rectangle painting.
10878 (paintContentBorderTopEdge): Rewritten.
10879 (paintContentBorderBottomEdge): Rewritten.
10880 (paintContentBorderLeftEdge): Rewritten.
10881 (paintContentBorderRightEdge): Rewritten.
10882 (tabForCoordinate): Return selected index when no tab could be
10883 found, removed FIXME note.
10884 (getRunForTab): Changed return value for first if-statement.
10885 (navigateSelectedTab): Fixed last argument for both
10886 getTabRunOffset() calls.
10887 (selectedNextTabInRun): Added scrolling code.
10888 (selectedPreviousTabInRun): Added scrolling code.
10889 (selectedNextTab): Added scrolling code.
10890 (selectedPreviousTab): Added scrolling code.
10891 (selectAdjacentRunTab): Added scrolling code.
10892 (getTextViewForTab): Added FIXME note.
10893 (calculateTabHeight): Changed FIXME note.
10894 (getTabRunOffset): Fixed indentation.
10895 (getNextTabIndexInRun): Corrected return value.
10896 (rotateInsets): Make TOP case the default in switch-statement.
10897 (getActionMap): New method.
10898 (createActionMap): New method.
10899 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10900 (createLayoutManager): Rewritten.
10901 (paintLeftTabBorder): Do not paint left line when previous tab
10902 is selected but current tab is the first in its run, do not paint
10903 left line when current tab is selected and is first in its run.
10904 (paintRightTabBorder): Added missing setColor() call, fixed color
10905 usage, do not paint right line if previous tab is selected but
10906 current tab is the first in its run.
10907 (paintBottomTabBorder): Do not paint left line if tab is selected
10908 and is the first tab in the last run.
10909 (paintFocusIndicator): New method.
10910 (getLabelShiftX): New method.
10911 (getLabelShiftY): New method.
10913 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10916 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10917 g_assert from unused obj.
10918 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10919 obj as unused and remove g_assert on it.
10921 2006-07-26 Roman Kennke <kennke@aicas.com>
10923 * javax/swing/RepaintManager.java
10924 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10926 (isCompletelyDirty): Consider a component completely dirty
10927 when it has a dirty region with Integer.MAX_VALUE.
10929 2006-07-26 Roman Kennke <kennke@aicas.com>
10931 * java/awt/KeyboardFocusManager.java
10932 (getGlobalFocusOwner): Explicitly check for thread security.
10933 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10934 (getGlobalFocusedWindow): Explicitly check for thread security.
10935 (getGlobalActiveWindow): Explicitly check for thread security.
10936 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10937 (getGlobalObject): Added new argument for specifying if
10938 a security check should be performed or not.
10939 (setGlobalObject): Don't check for thread security when
10940 calling getGlobalObject.
10942 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10944 * javax/management/MBeanConstructorInfo.java:
10946 * javax/management/MBeanInfo.java:
10947 (MBeanInfo(String,String,MBeanAttributeInfo[],
10948 MBeanConstructorInfo[], MBeanOperationInfo[],
10949 MBeanNotificationInfo[])): Implemented.
10950 (equals(Object)): Likewise.
10951 (getAttributes()): Likewise.
10952 (getConstructors()): Likewise.
10953 (getOperations()): Likewise.
10954 (hashCode()): Likewise.
10955 * javax/management/MBeanOperationInfo.java,
10956 * javax/management/NotCompliantMBeanException.java,
10957 * javax/management/StandardMBean.java:
10960 2006-07-26 Sven de Marothy <sven@physto.se>
10962 * java/awt/geom/GeneralPath.java: Fix severe typo.
10964 2006-07-26 Sven de Marothy <sven@physto.se>
10966 * include/java_lang_VMSystem.h
10967 * vm/reference/java/lang/VMSystem.java
10968 * native/jni/java-lang/java_lang_VMSystem.c
10969 (nanoTime, currentTimeMillis): Switch the former to native code and
10970 the latter to java.
10972 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10974 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10975 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10976 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10977 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10978 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10979 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10980 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10981 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10982 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10983 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10984 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10985 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10986 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10987 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10988 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10989 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10990 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10991 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10992 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10993 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10994 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10996 2006-07-26 Roman Kennke <kennke@aicas.com>
10998 * java/awt/KeyboardFocusManager.java
10999 (getFocusOwner): Don't check permanent owner.
11000 (getGlobalFocusOwner): Don't check permanent owner.
11002 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
11004 * StrictMath.java (cosh): New method.
11005 (expm1): New method.
11006 (EXPM1_Q1): New field.
11007 (EXPM1_Q2): Likewise.
11008 (EXPM1_Q3): Likewise.
11009 (EXPM1_Q4): Likewise.
11010 (EXPM1_Q6): Likewise.
11012 2006-07-26 Roman Kennke <kennke@aicas.com>
11014 * javax/swing/plaf/basic/BasicButtonListener.java
11015 (mousePressed): Request focus if appropriate.
11016 * javax/swing/text/DefaultCaret.java
11017 (mousePressed): Also handle the focus of the text component
11018 as specified. Don't consume events.
11020 2006-07-26 Roman Kennke <kennke@aicas.com>
11022 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11023 (focusRequest): Removed field.
11024 (postFocusEvent(int,boolean,Component)): Removed.
11025 (postFocusEvent(int,boolean)): Reverted to post event using
11026 the heavyweight component.
11027 (requestFocus): Post focus event using the heavyweight
11029 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11030 (requestFocus): Post focus event using the heavyweight
11032 * java/awt/AWTEvent.java
11033 (isFocusManagerEvent): New field, indicating if this is
11034 an event that is redispatched by the KeyboardFocusManager.
11035 * java/awt/Component.java
11036 (requestFocusImpl): Register component for
11037 heavyweight->lightweight mapping.
11038 (dispatchEventImpl): Retarget focus events before dispatching
11039 to the KeyboardFocusManager. Use new AWTEvent flag instead
11040 of locking hack. Dispatch all events through the
11041 KeyboardFocusManager. Don't request focus on lightweight
11043 * java/awt/DefaultKeyboardFocusManager.java
11044 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11046 (handleFocusGained): Fixed handling of temporary vs permanent
11047 focus changes. Added some checks.
11048 (handleFocusLost): Fixed handling of temporary vs permanent
11049 focus changes. Added some checks.
11050 * java/awt/EventDispatchThread.java
11051 (run): Don't dispatch to KeyboardFocusManager here. This
11052 is done in Component.dispatchEventImpl().
11053 * java/awt/KeyboardFocusManager.java
11054 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11055 (focusRequests): New field.
11056 (retargetFocusEvent): New method. Retargets focus events
11057 that come from heavyweights to the correct lightweight component.
11058 (addLightweightFocusRequest): New method. Stores a mapping
11059 for later retargetting of heavyweight focus events.
11060 * java/awt/Window.java
11061 (addFocusListener): Removed bogus method. If at all, this
11062 should be performed in the KeyboardFocusManager.
11063 (Window): Don't install a focus listener on the Window.
11065 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11067 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11068 (drawLine): Apply shift to line coordinates.
11070 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11072 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11073 (copyimage): Do not call setRenderingHints() when the respective map
11075 (filter): Removed code to clone the ColorModel instance.
11076 * java/awt/image/ColorModel.java:
11077 (cloneColorModel): Removed.
11079 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11081 * javax/swing/JTabbedPane.java:
11082 (setSelectedIndex): Removed updating of component visibility status,
11084 (remove(Component)): Use indexOfComponent() to find whether we have
11085 to use super.remove(int) or removeTabAt().
11087 2006-07-26 Roman Kennke <kennke@aicas.com>
11089 * javax/swing/JOptionPane.java
11090 (createDialog): Add property change handler for closing
11091 the dialog when the value property changes.
11092 (ValuePropertyHandler): New inner helper class.
11093 * javax/swing/plaf/basic/BasicOptionPaneUI.java
11094 (OptionPaneCloseAction): New class.
11095 (messageForeground): Removed field.
11096 (messageBorder): Removed field.
11097 (buttonBorder): Removed field.
11098 (addIcon): Configure the new label.
11099 (addMessageComponents): Configure newly created labels.
11100 (burstStringInto): Likewise.
11101 (createButtonArea): Install border here.
11102 (createMessageArea): Install border and foreground here.
11103 (createSeparator): Added comment and removed
11104 NotImplementedException.
11105 (installComponents): Don't install the UI defaults for the
11106 message and button area here. This is moved to the
11107 corresponding create* methods. Adjusted comment about
11109 (installDefaults): Removed initialization of removed fields.
11110 (installKeyboardActions): Implemented.
11111 (getActionMap): New helper method.
11112 (createDefaultActions): New helper method.
11113 (uninstallDefaults): Removed de-initialization of removed fields.
11114 (uninstallKeyboardActions): Implemented.
11115 (configureLabel): New helper method.
11116 * javax/swing/plaf/basic/BasicTableUI.java
11117 (getActionMap): Fixed the UI property names.
11118 * javax/swing/plaf/basic/BasicToolBarUI.java
11119 (getActionMap): Fixed the UI property names.
11121 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11123 * java/awt/image/BandedSampleModel.java
11124 (getDataElements): Check for negative x or y,
11125 (getPixels): Likewise,
11126 (getSamples): Likewise,
11127 (setSamples): Likewise.
11129 2006-07-26 Roman Kennke <kennke@aicas.com>
11131 * javax/swing/plaf/basic/BasicToolBarUI.java
11132 (ToolBarAction): New inner class for handling keyboard
11134 (installKeyboardActions): Implemented.
11135 (getActionMap): New helper method.
11136 (createDefaultActions): New helper method.
11137 (installListeners): Install focus listener on toolbar's
11138 children, rather than the toolbar itself.
11139 (navigateFocusedComp): Implemented.
11140 (uninstallKeyboardActions): Implemented.
11141 (uninstallListeners): Uninstall focus listener from
11142 toolbar's children, rather than the toolbar itself.
11143 (ToolBarContListener.componentAdded): Install focus
11144 listener on added child.
11145 (ToolBarContListener.componentRemoved): Uninstall focus
11146 listener from removed child.
11147 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11148 (ToolBarFocusListener.focusGained): Implemented.
11149 (ToolBarFocusListener.focusLost): Implemented.
11151 2006-07-26 Roman Kennke <kennke@aicas.com>
11153 * java/awt/DefaultKeyboardFocusManager.java
11154 (dispatchEvent): Notify old focus owner when it has lost
11157 2006-07-26 Roman Kennke <kennke@aicas.com>
11159 * javax/swing/plaf/basic/BasicTableUI.java
11160 (FocusHandler.focusGained): Implemented to refresh the
11162 (FocusHandler.focusLost): Implemented to refresh the
11164 (FocusHandler.repaintLeadCell): New helper method.
11165 (MouseInputHandler.mouseEntered): Do nothing here.
11166 (MouseInputHandler.mouseExited): Do nothing here.
11167 (MouseInputHandler.mouseMoved): Do nothing here.
11168 (installKeyboardActions): Rewritten to use a shared InputMap
11169 and ActionMap and correctly install the maps via SwingUtilities
11171 (getActionMap): New helper method.
11172 (createDefaultActions): New helper method.
11173 (ActionListenerProxy): Removed unneeded class.
11174 (TableAction): Made class static.
11175 (TableAction.actionPerformed): Determine table by fetching
11176 the event source. Pass the table to helper methods.
11177 Use __command__ hack to determine the action command.
11178 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11179 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11180 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11181 (TableAction.getLastVisibleRowIndex): Get table as argument.
11182 (TableAction.advanceMultipleSelection): Get table as argument.
11183 (uninstallDefaults): Do nothing here.
11184 (uninstallKeyboardActions): Uninstall the keyboard actions.
11186 2006-07-26 Roman Kennke <kennke@aicas.com>
11188 * javax/swing/JComponent.java
11189 (processKeyBinding): Store the action command as property
11190 in the Action instance that we call. This allows for
11191 improvement on the side of the Action.
11193 2006-07-26 Roman Kennke <kennke@aicas.com>
11195 * javax/swing/plaf/metal/MetalUtils.java
11196 (fillMetalPattern): Use fillRect() instead of drawLine() to
11197 fill single pixels.
11199 2006-07-26 Roman Kennke <kennke@aicas.com>
11201 * javax/swing/text/GapContent.java
11202 (getChars): Check for negative length and throw
11203 BadLocationException.
11205 2006-07-26 Roman Kennke <kennke@aicas.com>
11207 * javax/swing/plaf/basic/BasicMenuBarUI.java
11208 (FocusAction): Made class static.
11210 2006-07-26 Roman Kennke <kennke@aicas.com>
11212 * javax/swing/plaf/basic/BasicLookAndFeel.java
11213 (initComponentDefaults): Add keyboard bindings for
11216 2006-07-26 Roman Kennke <kennke@aicas.com>
11218 * javax/swing/UIManager.java
11219 (getLookAndFeelDefaults): Return the look and feel defaults.
11220 (setLookAndFeel): Improved exception messsage.
11222 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11224 * javax/swing/text/StringContent.java
11225 (StringContent): Changed initialLength to 10.
11227 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11229 * java/util/Vector.java: Fixed API doc typo.
11231 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11233 * java/awt/image/BandedSampleModel.java
11234 (createCompatibleSampleModel): Fixed typo in loop increment, set
11235 correct scanlineStride, and updated API docs.
11237 2006-07-25 Roman Kennke <kennke@aicas.com>
11239 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11240 (NavigateAction): New inner class. This is responsible for
11241 keyboard navigation through menus.
11242 (KeyboardHelper): New inner class. This manages the
11243 keyboard mappings and focus when a popup opens or closes.
11244 (keyboardHelper): New static field.
11245 (numPopups): New static field.
11246 (installUI): Create KeyboardHelper for first popup.
11247 Call installKeyboardActions().
11248 (installKeyboardActions): Removed NotImplementedException.
11249 This method is a no-op.
11250 (installKeyboardActionsImpl): New method. Installs keyboard
11251 mapping when a popup is opened.
11252 (getActionMap): New helper method.
11253 (createDefaultActions): New helper method.
11254 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11255 uninstalled. Call uninstallKeyboardActions().
11256 (uninstallKeyboardActions): Removed NotImplementedException.
11257 This method is a no-op.
11258 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11259 mapping when a popup is closed.
11261 2006-07-25 Roman Kennke <kennke@aicas.com>
11263 * java/awt/Component.java
11264 (requestFocus()): Reimplemented to use requestFocusImpl().
11265 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11266 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11267 (requestFocusInWindow(boolean)): Reimplemented to use
11268 requestFocusImpl().
11269 (requestFocusImpl): Reimplemented focus request to use
11270 new peer method. Also added some obvious additional checks
11271 for rejecting focus requests early.
11272 * java/awt/ComponentPeer.java
11273 (requestFocus(Component,boolean,boolean,long)): Documented
11275 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11276 (requestFocus): New field.
11277 (gtkWidgetHasFocus): New native method.
11278 (gtkWidgetCanFocus): New native method.
11279 (requestFocus): Replaced with assert false to prevent
11280 usage of obsolete method.
11281 (postFocusEvent(int,boolean,Component)): New overloaded method
11282 for posting the focus event to a specific target.
11283 (postFocusEvent(int,boolean)): Post event to requestFocus
11285 (requestFocus(Component,boolean,boolean,long)): Implemented.
11286 (getWindowFor): New helper method.
11287 (isLightweightDescendant): New helper method.
11288 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11289 (gtkWindowHasFocus): New native method.
11290 (requestFocus(Component,boolean,boolean,long)): New method.
11291 Overrides GtkComponentPeer method to specially handly the
11292 case when a Window receives a focus request for a lightweight
11294 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11295 (gtkWidgetHasFocus): New native method.
11296 (gtkWidgetCanFocus): New native method.
11297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11298 (gtkWindowHasFocus): New native method.
11299 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11300 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11303 2006-07-25 Francis Kung <fkung@redhat.com>
11305 * java/awt/DefaultKeyboardFocusManager.java
11306 (dispatchEvent): Add check for valid component.
11308 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11310 * javax/management/MBeanConstructorInfo.java:
11312 * javax/management/MBeanNotificationInfo.java:
11314 * javax/management/MBeanParameterInfo.java:
11317 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11319 * java/awt/peer/gtk/CairoGraphics.java:
11320 (drawLine): Added special case for 1 pixel lines.
11322 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11325 * java/awt/peer/gtk/CairoGraphics.java:
11326 (drawLine): Removed calls to shifted().
11328 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11330 * javax/swing/JTabbedPane.java:
11331 (remove(Component)): Rewritten.
11332 (setSelectedIndex): Implemented updating of component visibility state.
11334 2006-07-25 Sven de Marothy <sven@physto.se>
11336 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11337 (init): Default to the actual depth in the worst case.
11339 * java/awt/Font.java
11340 (createFont(int, File)): New method.
11342 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11345 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11347 (RETokenEnd): New constructer to set check_java_line_terminators.
11348 (matchThis): Checck line terminators if check_java_line_terminators.
11349 * gnu/java/util/regex/RETokenStart.java: Likewise.
11350 * gnu/regexp/RE.java(initialize): Use the new constructors for
11351 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11352 * java/util/regex/Pattern.java(Patteren): Changed so that
11353 gnu/regexp/RE.java may use the new the new constructors.
11355 2006-07-25 Roman Kennke <kennke@aicas.com>
11357 * java/awt/Container.java
11358 (focusTraversalPolicyProvider): New field.
11359 (isFocusTraversalPolicyProvider): New method.
11360 (setFocusTraversalPolicyProvider): New method.
11361 * java/awt/ContainerOrderFocusTraversalPolicy.java
11362 (getFirstComponent): Use accept() instead of lengthy checks.
11363 Don't fetch getComponents() to avoid copying of array.
11364 Traverse down the hierarchy to find the first focused component.
11365 * java/awt/DefaultKeyboardFocusManager.java
11366 (dispatchEvent): Let the initial component request focus.
11368 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11370 * javax/swing/text/Segment.java
11371 (last): Update current index before returning DONE for zero count.
11373 2006-07-24 Mark Wielaard <mark@klomp.org>
11375 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11377 2006-07-25 Roman Kennke <kennke@aicas.com>
11379 * javax/swing/plaf/basic/BasicMenuBarUI.java
11380 (FocusAction): New inner class. Used to grab focus.
11381 (installKeyboardActions): Implemented.
11382 (uninstallKeyboardActions): Implemented.
11383 (getActionMap): New helper method.
11384 (createDefaultActions): New helper method.
11386 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11388 * examples/gnu/classpath/examples/swing/Demo.java:
11389 (mkMenuBar): Install instantiable basic look and feel.
11390 (InstantiableBasicLookAndFeel): New inner class.
11392 2006-07-25 Roman Kennke <kennke@aicas.com>
11394 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11395 (GlassPaneDispatcher.dragTarget): New field.
11396 (GlassPaneDispatcher.isDragging): New field.
11397 (GlassPaneDispatcher.pressedComponent): Removed field.
11398 (GlassPaneDispatcher.tempComponent): Removed field.
11399 (GlassPaneDispatcher.pressCount): Removed field.
11400 (GlassPaneDispatcher.mousePressed): Call
11401 borderListener.mousePressed() to activate the frame.
11402 (acquireComponentForMouseEvent): Removed method.
11403 (handleEvent): Rewritten.
11404 (redispatch): New method.
11405 (InternalFramePropertyChangeListener.propertyChange):
11406 Make glasspane invisible when frame is selected, and visible
11407 if it gets deselected.
11409 2006-07-25 Roman Kennke <kennke@aicas.com>
11411 * java/awt/LightweightDispatcher.java
11412 (handleMouseEvent): Dispatch event to real target if
11413 the dragTarget has become invisible in the meantime.
11415 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11417 * javax/swing/text/TabSet.java
11418 (equals): New method override for 1.5,
11419 (hashCode): Likewise,
11420 (toString): Added spaces to match reference implementation.
11422 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11424 * javax/management/IntrospectionException.java,
11425 * javax/management/MBeanAttributeInfo.java:
11427 * javax/management/MBeanNotificationInfo.java:
11428 Documentation cleanups.
11430 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11432 * javax/swing/text/TabSet.java
11433 (TabSet): Check for null argument,
11434 (getTab): Throw IllegalArgumentException for index out of bounds,
11435 (getTabIndexAfter): Changed test to '<=',
11436 and updated API docs all over,
11437 * javax/swing/text/TabStop.java: Updated API docs.
11439 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11441 * javax/swing/text/TabStop.java
11442 (toString): Don't use 'left ' prefix, and added space between tab
11443 location and '(w/leader)' suffix.
11445 2006-07-24 Francis Kung <fkung@redhat.com>
11447 * javax/swing/JComboBox.java
11448 (DefaultKeySelectionManager): Implemented.
11449 (createDefaultKeySelectionManager): Implemented.
11450 (getKeySelectionManager): Implemented.
11451 (processKeyEvent): Removed duplicate code.
11452 * javax/swing/JPopupMenu.java
11453 (selectionModel): Changed visibility.
11454 * javax/swing/plaf/basic/BasicComboBoxUI.java
11455 (KeyHandler.keyPressed): Added navigation keys.
11456 (configureEditor): Add key listener.
11457 (installListeners): Install focus listener to combo box.
11458 (isNavigationKey): Added enter, escape, and tab.
11459 (selectPreviousPossibleValue): Added out of bounds check.
11460 (unconfigureEditor): Remove key listener.
11461 * javax/swing/plaf/metal/MetalComboBoxButton.java
11462 (paintComponent): Highlight combo box when in focus.
11464 2006-07-24 Roman Kennke <kennke@aicas.com>
11466 * javax/swing/SwingUtilities.java
11467 (isLeftMouseButton): Fixed condition.
11468 * java/awt/LightweightDispatcher.java
11469 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11472 2006-07-24 Roman Kennke <kennke@aicas.com>
11474 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11475 (setPaint): Fixed scaleX and scaleY.
11477 2006-07-24 Roman Kennke <kennke@aicas.com>
11479 * javax/swing/JTable.java
11480 (handleInsert): Repaint the whole table for variable row
11481 height tables and an optimized region otherwise.
11482 (handleDelete): Likewise.
11483 (handleUpdate): Likewise.
11485 2006-07-24 Mario Torre <neugens@limasoftware.net>
11487 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11488 now explicity registerListeners on GtkMouseDragGestureRecognizer
11490 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11491 (unregisterListeners): new method, overrided from base class
11492 to rise visibility (from protected to public).
11493 (registerListeners): Likewise.
11494 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11495 removed call to registerListeners from the constructor.
11497 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11499 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11500 * java/lang/management/MemoryPoolMXBean.java:
11501 (getType()): Changed return type to MemoryType.
11502 * java/lang/management/MemoryType.java:
11505 2006-07-23 Mark Wielaard <mark@klomp.org>
11507 * configure.ac: Check for moc and moc-qt4.
11509 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11511 * java/awt/image/Kernel.java: API doc updates.
11513 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11515 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11518 2006-07-22 Mark Wielaard <mark@klomp.org>
11520 * java/lang/Iterable.java: Import all of java.util.
11521 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11522 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11524 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11526 * doc/vmintegration.texinfo:
11527 Document getType(String).
11528 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11529 * java/lang/management/MemoryPoolMXBean.java:
11530 (getType()): Implemented.
11531 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11532 (getType(String)): Implemented.
11534 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11536 * doc/vmintegration.texinfo:
11537 Move end of itemization block.
11539 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11541 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11542 (initComponentDefaults): Added new properties, added comments.
11544 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11546 * doc/vmintegration.texinfo:
11547 Mention callback methods.
11548 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11549 (fireNotification(String,String,long,long,long,long,long)):
11550 Made package-private.
11551 (fireThresholdExceededNotification(String,long,long,long,
11552 long,long)): Likewise.
11553 (fireCollectionThresholdExceededNotification(String,long,
11554 long,long,long,long)): Likewise.
11555 * java/lang/management/MemoryMXBean.java:
11556 Document notifications.
11558 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11560 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11561 (fireNotification(String,String,long,long,long,long,long)):
11563 (fireThresholdExceededNotification(String,long,long,long,
11564 long,long)): Likewise.
11565 (fireCollectionThresholdExceededNotification(String,long,
11566 long,long,long,long)): Likewise.
11567 * java/lang/management/MemoryNotificationInfo.java:
11568 Use composite type from MemoryMXBeanImpl.
11569 * javax/management/openmbean/CompositeData.java:
11570 Correct documentation.
11571 * javax/management/openmbean/CompositeDataSupport.java,
11572 * javax/management/openmbean/InvalidKeyException.java:
11575 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11577 * gnu/java/security/util/IntegerUtil.java: New file.
11579 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11582 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11583 (KEY_SIZE): Likewise.
11584 (adjustParity(int,byte[],int): New method.
11585 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11586 (isParityAdjusted(int,byte[],int)): New method.
11587 (isParityAdjusted): Call above method with 3 as 1st argument.
11588 (keySizes): Add 8 and 16 as other valid key sizes.
11589 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11591 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11593 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11594 code for the pixel swap routine to be more efficient.
11596 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11598 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11599 (lastIndexOf(E, int)): Likewise.
11600 (add(E)): Increase the size of newData array by one.
11601 (add(int, E)): Likewise.
11603 2006-07-20 Lillian Angel <langel@redhat.com>
11605 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11606 Removed unused fields.
11607 (GtkMouseDragGestureRecognizer): Removed initializations.
11609 2006-07-20 Lillian Angel <langel@redhat.com>
11611 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11612 (GtkMouseDragGestureRecognizer): New constructor.
11613 (GtkMouseDragGestureRecognizer): New constructor.
11614 (GtkMouseDragGestureRecognizer): New constructor.
11615 (mouseClicked): Removed FIXME.
11616 (mousePressed): Implemented.
11617 (mouseReleased): Implemented.
11618 (mouseEntered): Implemented.
11619 (mouseDragged): Implemented to check mouse point and trigger origin.
11620 (mouseMoved): Removed FIXME.
11621 (getDropActionFromEvent): New helper function used to convert mouse event
11622 modifiers to a drop action.
11623 * java/awt/dnd/DragSource.java
11624 (getDragThreshold): Changed to return some arbitrary value for testing
11627 2006-07-20 Roman Kennke <kennke@aicas.com>
11629 * java/awt/LightweightDispatcher.java
11630 (findTarget): Also consider components that have their eventMask
11631 set, for compatibility with stonage AWT. Optimized check
11633 (handleMouseEvent): Likewise.
11635 2006-07-20 Roman Kennke <kennke@aicas.com>
11637 * javax/swing/JTable.java
11638 (tableChanged): Split out handling of the event into multiple
11640 (handleCompleteChange): New method. Clear the selection and
11641 check the lead/anchor indices.
11642 (handleInsert): New method. Check the lead/anchor indices.
11643 Optimized repainting.
11644 (handleDelete): New method. Check the lead/anchor indices.
11645 Optimized repainting.
11646 (handleUpdate): New method. Optimized repainting.
11647 (checkSelection): New helper method.
11648 (setSelectionModel): Update lead/anchor indices.
11650 2006-07-20 Lillian Angel <langel@redhat.com>
11653 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11654 (dispose): Reset all fields.
11656 2006-07-20 Roman Kennke <kennke@aicas.com>
11658 * gnu/java/awt/peer/x/XToolkit.java
11659 (createImage(InputStream)): Only copy image to Pixmap if
11660 it's actually opaque. Transparent images are left as
11661 BufferedImage and composited later onto the screen.
11662 * gnu/java/awt/peer/x/XGraphics.java
11663 (XGraphics): Fetch some parameters for image rendering.
11664 (drawImage): Added special handling of transparent images.
11665 (getRGB): New helper method.
11666 (setRGB): New helper method.
11668 2006-07-20 Roman Kennke <kennke@aicas.com>
11670 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11671 ImageInputStreams as normal InputStreams.
11672 * gnu/javax/imageio/gif/GIFStream.java:
11673 Moved to gnu/javax/imageio/IIOInputStream.java.
11674 * gnu/javax/imageio/gif/GIFImageReader.java
11675 (readImage): Use IIOInputStream.
11676 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11677 (canDecodeInput): Use IIOInputStream.
11678 * gnu/javax/imageio/png/PNGException.java: Make subclass
11680 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11681 Implements the ImageIO ImageReader for PNG.
11682 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11683 Implements the ImageIO ImageReaderSpi for PNG.
11684 * javax/imageio/spi/IIORegistry.java:
11685 (IIORegistry): Add PNGImageReaderSpi.
11687 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11689 * java/awt/image/ComponentSampleModel.java
11690 (getPixel): Added argument check,
11691 (getSample): Modified exception message.
11693 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11696 * java/awt/image/ConvolveOp.java
11697 (filter(Raster, WritableRaster)): Reimplemented,
11698 (fillEdge): New private method.
11700 2006-07-19 Keith Seitz <keiths@redhat.com>
11702 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11703 (JVMTI_VERSION): Define.
11705 2006-07-19 Roman Kennke <kennke@aicas.com>
11707 * resource/gnu/regexp/MessagesBundle.properties,
11708 * resource/gnu/regexp/MessagesBundle_fr.properties,
11709 * resource/gnu/regexp/MessagesBundle_it.properties:
11710 Moved to resource/gnu/java/util/regex.
11711 * resource/gnu/java/util/regex/MessagesBundle.properties,
11712 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11713 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11715 * gnu/java/util/regex/RE.java
11716 Use new resource bundle location.
11718 2006-07-19 Roman Kennke <kennke@aicas.com>
11720 * javax/swing/JComponent.java
11721 (paintChildren): Refactored. The paintChildrenOptimized method
11722 has been moved back in here. Added locking of the tree and
11723 only check for completely obscured child components
11724 when not optimized drawing enabled. Use Graphics.create() to
11725 protect from irreversible changes.
11726 (isCompletelyObscured): New helper method.
11727 (paintComponent): Also use Graphics.create() for Graphics2D,
11728 to protect from irreverible changes.
11729 (clipAndTranslateGraphics): Refactored to use more efficient
11730 iterative (vs recursive) approach.
11731 * javax/swing/RepaintManager.java
11732 (getOffscreenBuffer): Create image from root component.
11734 2006-07-19 Roman Kennke <kennke@aicas.com>
11736 * gnu/java/awt/peer/x/XGraphics.java
11737 (translate): Don't set the clip on the X server.
11738 (clipRect): Use setXClip() to set the clip on the X server.
11739 (hitClip): More efficient and correct implementation.
11740 (setClip): Use setXClip() to set the clip on the X server.
11741 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11742 (copyArea): Translate and clip the source rectangle correctly.
11743 (dispose): Only flush when object is not yet disposed.
11744 (clone): Use setXClip() to set the clip on the X server.
11746 2006-07-19 Sven de Marothy <sven@physto.se>
11748 * gnu/javax/imageio/png/PNGChunk.java,
11749 * gnu/javax/imageio/png/PNGData.java,
11750 * gnu/javax/imageio/png/PNGDecoder.java,
11751 * gnu/javax/imageio/png/PNGEncoder.java,
11752 * gnu/javax/imageio/png/PNGException.java,
11753 * gnu/javax/imageio/png/PNGFile.java,
11754 * gnu/javax/imageio/png/PNGFilter.java,
11755 * gnu/javax/imageio/png/PNGGamma.java,
11756 * gnu/javax/imageio/png/PNGHeader.java,
11757 * gnu/javax/imageio/png/PNGICCProfile.java,
11758 * gnu/javax/imageio/png/PNGPalette.java,
11759 * gnu/javax/imageio/png/PNGPhys.java,
11760 * gnu/javax/imageio/png/PNGTime.java:
11763 2006-07-19 Sven de Marothy <sven@physto.se>
11765 * java/net/Inet6Address.java:
11766 (getScopedId, getScopedInterface): New methods.
11768 2006-07-19 Lillian Angel <langel@redhat.com>
11770 * examples/gnu/classpath/examples/awt/Demo.java
11771 (DragDropWindow): Fixed typo in Label text.
11772 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11773 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11774 (startDrag): Initialized context field.
11775 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11777 (dragEnter): New function.
11778 (dragExit): Likewise.
11779 (dragDropEnd): Likewise.
11780 (dragMouseMoved): Likewise.
11781 (dragOver): Likewise.
11782 (dragActionChanged): Likewise.
11784 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11787 * resource/java/security/classpath.security: Updated copyright year.
11788 (auth.login.defaultCallbackHandler): New property; set to our default
11789 callback handler. This is needed by the LoginContext when no callback
11790 handler was specified.
11791 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11792 (LoginContext(4)): Assign passed parameters to local fields before invoking
11795 2006-07-19 Roman Kennke <kennke@aicas.com>
11797 * gnu/java/awt/peer/x/XGraphics.java
11798 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11799 Fixed ordering of parameters.
11801 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11803 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11804 (MemoryMXBeanImpl()): Implemented.
11805 (ListenerData): New private class.
11806 (addNotificationListener(NotificationListener,
11807 NotificationFilter, Object)): Implemented.
11808 (getNotificationInfo()): Likewise.
11809 (removeNotificationListener(NotificationListener)):
11811 (removeNotificationListener(NotificationListener,
11812 NotificationFilter, Object)): Likewise.
11814 2006-07-18 Roman Kennke <kennke@aicas.com>
11816 * gnu/java/awt/peer/x/XFontPeer.java
11817 (encodeFont): Be more flexible with font sizes.
11818 (validSize): New helper method.
11819 * gnu/java/awt/peer/x/XGraphics.java
11820 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11822 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11824 * gnu/java/awt/peer/x/XImage.java
11825 (properties): New field.
11826 (getProperty): Implemented.
11827 * resource/gnu/java/awt/peer/x/fonts.properties:
11828 Added copyright header. Fixed font size field.
11830 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11832 * java/awt/image/BandedSampleModel.java
11833 (createDataBuffer): New method override,
11834 * java/awt/image/ByteLookupTable.java
11835 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11836 (ByteLookuptable(int, byte[])): Check for null array,
11837 * java/awt/image/ComponentSampleModel.java
11838 (createDataBuffer): Removed unnecessary braces,
11839 (getSample): Check (x, y) is within bounds,
11840 * java/awt/image/ShortLookupTable.java
11841 (ShortLookupTable(int, short[][])): Create new array to hold references,
11842 (ShortLookupTable(int, short[])): Check for null array,
11843 (getTable): Added API docs,
11844 (lookupPixel): Source reformatting.
11846 2006-07-18 Tania Bento <tbento@redhat.com>
11848 * java/awt/GridLayout.java
11849 (setHgap): Illegal Argument Exception should not be thrown if
11851 (setVgap): Illegal Argument Exception should not be thrown if
11853 (toString): Opening square braket ([) should appear before hgap
11854 value, not the name of the class.
11856 2006-07-18 Roman Kennke <kennke@aicas.com>
11858 * lib/copy-vmresources.sh.in: Reverted.
11859 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11860 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11862 2006-07-18 Roman Kennke <kennke@aicas.com>
11864 * lib/copy-vmresources.sh.in: Include properties from X peers.
11866 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11869 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11870 certificate validity.
11871 (getIssuerName): New method.
11872 (getSubjectName): Likewise.
11873 (getNotAfterDate): Likewise.
11874 (getNotBeforeDate): Likewise.
11875 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11876 messages for newly added messages in SFHelper.
11878 2006-07-18 Roman Kennke <kennke@aicas.com>
11880 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11881 * gnu/java/awt/peer/x/XEventPump.java
11882 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11883 * gnu/java/awt/peer/x/XFramePeer.java
11884 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11885 * gnu/java/awt/peer/x/XGraphics.java
11886 Made subclass of Graphics rather than Graphics2D. Removed
11887 all Graphics2D specific method stubs.
11888 (setColor): Map colors using the X color map that is
11889 stored in XToolkit.
11890 * gnu/java/awt/peer/x/XToolkit.java
11891 (colorMap): New field.
11892 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11894 (createDialog): Implemented.
11895 (createImage(ImageProducer)): Implemented.
11896 (createImage(InputStream)): Use createImage(ImageProducer)
11897 to convert the BufferedImage to an XImage.
11898 * gnu/java/awt/peer/x/XWindowPeer.java
11899 (XWindowPeer): Removed debug output.
11901 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11903 * java/awt/image/BufferedImageOp.java: API docs added,
11904 * java/awt/image/RasterOp.java: Likewise.
11906 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11908 * java/awt/Graphics2D.java: API docs updated.
11910 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11912 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11915 2006-07-18 Sven de Marothy <sven@physto.se>
11917 * java/net/Inet6Address.java:
11918 Add 1.5 serialized fields.
11919 (getByAddress): New methods.
11920 (readObject, writeObject): New methods.
11921 (equals): Reimplement.
11923 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11925 * java/awt/image/Raster.java: Added API docs and reformatted source
11928 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11930 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11932 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11933 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11934 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11935 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11936 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11937 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11938 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11939 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11940 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11941 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11942 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11943 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11944 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11945 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11946 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11947 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11948 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11949 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11950 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11951 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11952 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11954 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11956 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11957 to make it compile again under jikes. Note added.
11959 2006-07-17 Lillian Angel <langel@redhat.com>
11961 * examples/gnu/classpath/examples/awt/Demo.java
11962 (Demo): Added new window for DnD demo.
11963 (DragDropWindow): New class.
11964 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11965 Added new fields and declarations for native functions.
11966 (GtkDragSourceContextPeer): Implemented.
11967 (getComponentPeer): New function.
11968 (startDrag): Partially implemented.
11969 (getCursor): Implemented.
11970 (setCursor): Implemented.
11971 * include/GtkDragSourceContextPeer.h: New file.
11972 * include/Makefile.am: Added new header file.
11973 * java/awt/Component.java
11974 (addNotify): Added call to the dropTarget's addNotify.
11975 * java/awt/dnd/DragSource.java
11976 (startDrag): Fixed code to use shared instances of peer and
11978 (getDragThreshold): Added stub.
11979 * java/awt/dnd/DropTarget.java
11980 (DropTarget): Implemented fully.
11981 (addNotify): Added code to get the peer of the parent that is
11983 * java/awt/dnd/DropTargetDragEvent.java
11984 (getTransferable): Added stub.
11985 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11986 * native/jni/gtk-peer/Makefile.am: Added new c file.
11987 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11988 Changed to extend GtkGenericPeer.
11989 (GtkDropTargetContextPeer): New constructor.
11990 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11991 Changed to extend GtkGenericPeer.
11992 (GtkDropTargetContextPeer): New constructor.
11994 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11996 * java/awt/image/SinglePixelPackedSampleModel.java
11997 (createSubsetSampleModel): Added argument check and API docs.
11999 2006-07-17 Roman Kennke <kennke@aicas.com>
12001 * gnu/java/awt/peer/x/XGraphics.java
12002 (copyArea): Implemented.
12004 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12006 * java/awt/image/SinglePixelPackedSampleModel.java
12007 (getSampleSize): Return copy of array,
12008 (getOffset): Added API docs,
12009 (getScanlineStride): Likewise,
12010 (hashCode): Implemented.
12012 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12014 * java/awt/image/MultiPixelPackedSampleModel.java
12015 (getOffset): Updated API docs and source reformatting,
12016 (getBitOffset): Source reformatting only,
12017 (getDataElements): Likewise,
12018 (getPixel): Likewise,
12019 (getPixels): Removed method override,
12020 (setDataElements): Reimplemented.
12022 2006-07-17 Gary Benson <gbenson@redhat.com>
12024 * resource/META-INF/services/.cvsignore: New file.
12025 * lib/.cvsignore: Updated.
12027 2006-07-17 Roman Kennke <kennke@aicas.com>
12029 * javax/swing/plaf/basic/BasicButtonListener.java
12030 (propertyChange): Only do the text layout caching as long
12031 as the noGraphics2D property isn't set.
12032 * javax/swing/plaf/basic/BasicMenuItemUI.java
12033 (PropertyChangeHandler.propertyChange): Only do the text layout
12034 caching as long as the noGraphics2D property isn't set.
12036 2006-07-17 Roman Kennke <kennke@aicas.com>
12038 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12039 (XGraphicsEnvironment): Make constructor public so that it
12040 can be called via Class.forName().newInstance().
12041 * gnu/java/awt/peer/x/XImage.java
12042 (XImage): Fetch GraphicsEnvironment via
12043 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12044 than the XToolkit method, to avoid double instantiation
12045 of the XGraphicsEnvironment.
12046 * gnu/java/awt/peer/x/XToolkit.java
12047 (env): Removed field.
12048 (getLocalGraphicsEnvironment): Removed impl. This method
12049 should not be called since we set the graphicsenv property
12050 in the constructor.
12052 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12054 * java/util/UUID.java:
12055 (compareTo(Object)): Call compareTo(UUID).
12056 (compareTo(UUID)): Implemented.
12058 2006-07-16 Tom Tromey <tromey@redhat.com>
12060 * java/lang/StrictMath.java (cbrt): Added '@since'.
12062 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
12064 * java/lang/StrictMath.java (cbrt): New method.
12065 (getLowDWord): New helper method.
12066 (getHighDWord): Likewise.
12067 (buildDouble): Likewise.
12068 (CBRT_B1): New field.
12069 (CBRT_B2): Likewise.
12070 (CBRT_C): Likewise.
12071 (CBRT_D): Likewise.
12072 (CBRT_E): Likewise.
12073 (CBRT_F): Likewise.
12074 (CBRT_G): Likewise.
12076 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12078 * javax/management/MBeanInfo.java:
12079 (getNotifications()): Implemented.
12080 * javax/management/NotificationBroadcaster.java:
12081 (removeNotificationListener(NotificationListener)):
12082 Renamed from removeListener.
12083 * javax/management/NotificationEmitter.java:
12084 (removeNotificationListener(NotificationListener,
12085 NotificationFilter, Object)): Likewise.
12086 * javax/management/NotificationFilter.java:
12087 Implement Serializable.
12088 * javax/management/NotificationListener.java:
12089 Implement java.util.EventListener.
12090 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12091 Implement Serializable.
12093 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12095 * java/lang/management/MemoryNotificationInfo.java:
12098 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12101 * gnu/javax/swing/text/html/parser/htmlValidator.java
12102 (tagIsValidForContext): If it is not possible to insert any tag, but
12103 is possible to insert a P, insert a P.
12104 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12105 (newInstance): Removed print statement. (getBodyElements):
12106 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12107 valid body level tags (will be enclosed into P's).
12109 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
12111 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12112 Condition the creation of .keystore (a default keystore) based on the
12113 createIfNotFound argument as well.
12115 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12118 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12119 Removed heading p tag from the parsing example.
12120 * gnu/javax/swing/text/html/parser/HTML_401F.java:
12121 (createHtmlContentModel): Explained.
12122 (defineElements): Call getBodyElements to get the body
12123 elements. (getBodyElements): New method. (model):
12124 Made protected from private.
12125 * gnu/javax/swing/text/html/parser/htmlValidator.java
12126 (openTag): Mind that current content model may be null.
12127 (tagIsValidForContext): If the tag is PCDATA, and it is not
12128 valid for context, but the paragraph (P) is valid for context,
12129 suggest to insert the P tag here.
12130 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12131 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12132 implied P tags here.
12133 * javax/swing/text/html/HTMLEditorKit.java (getParser):
12134 Get the custom parser, using HTML_401Swing.java DTD.
12135 * javax/swing/text/html/parser/ParserDelegator.java:
12136 Removed the obsolete note that HTMLEditorKit does not exist.
12137 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12138 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12140 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12142 * javax/management/ListenerNotFoundException.java:
12144 * javax/management/MBeanFeatureInfo.java:
12145 (hashCode()): Use summation instead of multiplication
12146 for consistency with other classes.
12147 * javax/management/MBeanNotificationInfo.java,
12148 * javax/management/Notification.java,
12149 * javax/management/NotificationBroadcaster.java,
12150 * javax/management/NotificationEmitter.java,
12151 * javax/management/NotificationFilter.java,
12152 * javax/management/NotificationListener.java:
12154 * javax/management/OperationsException.java:
12155 (serialVersionUID): Added.
12157 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
12158 Mark Wielaard <mark@klomp.org>
12160 * java/io/PrintStream.java: Added four constructors, for File and
12161 String describing a filename with or without explicit encoding.
12163 2006-07-16 Sven de Marothy <sven@physto.se>
12165 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12166 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12169 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12172 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12174 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12175 (setProviderClassNameParam): Made private.
12176 (setKeystoreTypeParam): Likewise.
12177 (setKeyPasswordParam): Likewise
12178 (setKeystorePasswordParam): Likewise.
12179 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12180 create or not the keystore if it's not there, and the second is the store's
12181 password to process before loading the keystore. Amended the code
12183 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12184 setKeyStoreParams(5) with true as its first argument.
12185 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12186 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12188 2006-07-16 Sven de Marothy <sven@physto.se>
12190 * java/util/UUID.java: New file.
12192 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12194 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12195 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12196 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12197 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12198 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12199 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12200 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12201 added Key Wrapping Algorithm SPIs.
12203 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12205 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12206 wrapping/unwrapping to invoke their engineGetOutputSize.
12208 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12210 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12211 (engineInit): If a SecureRandom was specified then use it.
12212 (nextRandomBytes): New method.
12213 (engineWrap): Use above method.
12214 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12215 (getDefaultPRNG): New method.
12216 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12217 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12220 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12222 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12223 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12225 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12227 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12228 offset into consideration.
12230 2006-07-16 Mario Torre <neugens@limasoftware.net>
12232 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12233 Fixed comment. This functions now requires to be called
12234 with gdk lock held, the comment states that.
12235 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12236 Introduces gdk locks around critical regions of code.
12237 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12239 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12241 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12243 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12245 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12247 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12249 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12251 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12253 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12255 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12256 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12258 2006-07-15 Sven de Marothy <sven@physto.se>
12260 * javax/swing/JFileChooser.java
12261 Change default selection mode to FILES_ONLY.
12262 * javax/swing/plaf/basic/BasicDirectoryModel.java
12263 Document, fix selection mode filtering.
12264 (renameFile): Implement
12265 * javax/swing/plaf/basic/BasicFileChooserUI.java
12266 (selectedDir): New field to handle selected directories,
12267 disallow selecting of directories in FILES_ONLY mode.
12268 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12269 (EditingActionListener.actionPerformed):
12270 Stop editing on all actions (e.g. return-key press)
12272 2006-07-15 Mark Wielaard <mark@klomp.org>
12274 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12276 (JNI Implementation): Mark JVMTI Implementation as next.
12277 (JVMTI Implementation): Mark JNI Implementation as prev.
12279 2006-07-15 Mark Wielaard <mark@klomp.org>
12281 * include/Makefile.am: Remove
12282 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12283 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12284 * native/jni/gtk-peer/Makefile.am: Remove
12285 gnu_java_awt_peer_gtk_GdkTextLayout.c
12286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12289 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12291 2006-07-15 Mark Wielaard <mark@klomp.org>
12293 * autogen.sh: Recognize autoconf 2.60.
12295 2006-07-15 Keith Seitz <keiths@redhat.com>
12297 * NEWS: Update for JVMTI and jvmti.h.
12298 * doc/vmintegration.texinfo: Likewise.
12299 * include/jvmti.h: New file.
12301 2006-07-15 Mark Wielaard <mark@klomp.org>
12303 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12304 Removed C++ style comment.
12306 2006-07-15 Sven de Marothy <sven@physto.se>
12308 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12309 * java/awt/MouseInfo.java,
12310 * java/awt/PointerInfo.java,
12311 * java/awt/peer/MouseInfoPeer.java:
12314 * java/awt/Image.java
12315 (accelerationPriority): New field.
12316 (setAccelerationPriority, getAccelerationPriority): New methods..
12318 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12320 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12321 (getMouseCoordinates): New method.
12323 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12324 (updateAlwaysOnTop): Remove stub overload.
12326 * gnu/java/awt/ClasspathToolkit.java,
12327 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12328 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12329 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12330 (getMouseInfoPeer): New method.
12331 (getMouseNumberOfButtons): New method.
12333 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12334 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12336 (gtkWindowSetAlwaysOnTop): New method.
12337 (updateAlwaysOnTop): Implement.
12339 * java/awt/Toolkit.java,
12340 (getMouseInfoPeer): New method.
12342 * java/awt/Window.java
12343 (alwaysOnTop): New field.
12344 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12346 * java/awt/peer/WindowPeer.java: Doc fix.
12348 2006-07-14 Sven de Marothy <sven@physto.se>
12350 * java/awt/font/TextLayout.java:
12351 (hitTestChar): Stub method.
12352 * java/awt/font/TextMeasurer.java:
12353 (getLayout): Throw exception on invalid argument.
12355 2006-07-14 Sven de Marothy <sven@physto.se>
12357 * java/awt/image/DataBuffer.java
12358 (DataBuffer): Call constructors in the correct order,
12360 2006-07-14 Mark Wielaard <mark@klomp.org>
12362 Revert to previous implementation.
12363 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12364 constraints insets.
12366 2006-07-14 Roman Kennke <kennke@aicas.com>
12368 * gnu/java/awt/peer/x/XToolkit.java
12369 (XToolkit): Install properties to SystemProperties
12370 rather than System, to avoid SecurityManager.
12371 (getImage(String)): Return error image when string is invalid.
12372 (createImage(URL)): Moved image loading to helper method.
12373 (createImage(ImageProducer)): Implemented.
12374 (createImage(byte[],int,int)): Implemented.
12375 (createImage(InputStream)): New helper method.
12377 2006-07-14 Tania Bento <tbento@redhat.com>
12379 * java/awt/FlowLayout.java
12380 (setHgap): No Excpetion should be thrown if hgap has
12382 (setVgap): No Exception should be thrown if vgap has
12385 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12387 * java/awt/image/MultiPixelPackedSampleModel.java:
12388 Added API docs all over.
12390 2006-07-14 Matt Wringe <mwringe@redhat.com>
12392 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12393 (engineInit): Throw InvalidAlgorithmParameterException
12394 for invalid IVParameterSpec IV length.
12396 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12398 * java/awt/image/MultiPixelPackedSampleModel.java
12399 (createDataBuffer): Include dataBitOffset in calculating the size for
12402 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12404 * java/awt/image/MultiPixelPackedSampleModel.java
12405 (getSampleSize()): Return a copy of the array,
12406 (getTransferType()): New method override.
12408 2006-07-14 Roman Kennke <kennke@aicas.com>
12410 * java/awt/CardLayout.java
12411 (show): Validate parent to make sure that the layout is
12414 2006-07-14 Roman Kennke <kennke@aicas.com>
12416 * java/awt/Component.java
12417 (enable): Added tree locking.
12418 (disable): Added tree locking.
12419 (show): Added tree locking.
12420 (hide): Added tree locking.
12421 (getLocationOnScreen): Added tree locking.
12422 (reshape): Added tree locking.
12423 (addHierarchyListener): Added tree locking.
12424 (removeHierarchyListener): Added tree locking.
12425 (addHierarchyBoundsListener): Added tree locking.
12426 (removeHierarchyBoundsListener): Added tree locking.
12427 (addNotify): Added tree locking.
12428 (removeNotify): Added tree locking.
12429 * java/awt/Container.java
12430 (invalidateTree): Added tree locking.
12431 (getAlignmentX): Added tree locking.
12432 (getAlignmentY): Added tree locking.
12433 (addNotify): Added tree locking.
12434 (setComponentZOrder): Added tree locking.
12435 (getComponentZOrder): Added tree locking.
12437 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12439 * java/awt/image/MultiPixelPackedSampleModel.java
12440 (createSubsetSampleModel): Restored argument check, but let null
12443 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12445 * java/awt/image/MultiPixelPackedSampleModel.java
12446 (createSubsetSampleModel): Removed argument check.
12448 2006-07-14 Roman Kennke <kennke@aicas.com>
12450 * java/awt/Component.java
12451 (numHierarchyListeners): New field.
12452 (numHierarchyBoundsListeners): New field.
12453 (show): Fire hierarchy events here. Only fire component event
12454 if there is actually a listener for it.
12455 (hide): Fire hierarchy events here. Only fire component event
12456 if there is actually a listener for it.
12457 (reshape): Fire hierarchy events here. Only fire component event
12458 if there is actually a listener for it.
12459 (addHierarchyListeners): Update listener counters.
12460 (removeHierarchyListeners): Update listener counters.
12461 (addHierarchyBoundsListeners): Update listener counters.
12462 (removeHierarchyBoundsListeners): Update listener counters.
12463 (fireHierarchyEvent): New helper method for firing hierarchy
12465 * java/awt/Container.java
12466 (addImpl): Update listener counters. Fire hierarchy event.
12467 (remove): Update listener counters. Fire hierarchy event.
12468 (fireHierarchyEvent): New helper method for firing hierarchy
12470 (updateHierarchyListenerCount): New helper method for
12471 updating the listener counters.
12473 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12475 * java/awt/image/MultiPixelPackedSampleModel.java
12476 (equals): New method override,
12477 (hashCode): Likewise.
12479 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12481 * java/awt/image/MultiPixelPackedSampleModel.java
12482 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12483 Corrected scanlineStride calculation.
12485 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12487 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12488 (AES_KWA): Likewise.
12489 (AES128_KWA): Likewise.
12490 (AES192_KWA): Likewise.
12491 (AES256_KWA): Likewise.
12492 (RIJNDAEL_KWA): Likewise.
12493 (TRIPLEDES_KWA): Likewise.
12494 (DESEDE_KWA): Likewise.
12495 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12496 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12497 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12498 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12499 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12500 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12502 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12504 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12505 (PADDING_BLOCK_SIZE): New constant.
12506 (init(Map attributes)): New method.
12507 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12509 2006-07-14 Mario Torre <neugens@limasoftware.net>
12511 * gnu/java/security/OID.java (OID): Private Constructor removed as
12512 it is not needed anymore.
12513 (clone): Fixed. Now uses super.clone instead of the private
12514 constructor as per specification of clone method.
12515 (serialVersionUID): added new field to allow serialization.
12517 2006-07-13 Sven de Marothy <sven@physto.se>
12519 * gnu/javax/imageio/gif/GIFImageReader.java
12520 (read): Remove old debugging trace.
12522 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12525 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12528 2006-07-13 Roman Kennke <kennke@aicas.com>
12530 * java/awt/Component.java
12531 (DEFAULT_MAX_SIZE): New static constant.
12532 (preferredSize): Return copy of the actual value computed
12533 by new helper method.
12534 (preferredSizeImpl): New helper method. Adds locking and
12535 correct handling of cached value.
12536 (minimumSize): Return copy of the actual value computed
12537 by new helper method.
12538 (minimumSizeImpl): New helper method. Adds locking and
12539 correct handling of cached value.
12540 (getMaximumSize): Return copy of the actual value computed
12541 by new helper method.
12542 (maximumSizeImpl): New helper method. Adds locking and
12543 correct handling of cached value.
12544 (invalidate): Correct handling of cached layout information.
12546 * java/awt/Container.java
12547 (preferredSize): Minimized locking. Corrected handling of cached
12548 values. Return copy of real value.
12549 (minimumSize): Minimized locking. Corrected handling of cached
12550 values. Return copy of real value.
12551 (getMaximumSize): Minimized locking. Corrected handling of cached
12552 values. Return copy of real value.
12554 2006-07-13 Tania Bento <tbento@redhat.com>
12556 * gnu/java/awt/peer/ClasspathFontPeer.java
12557 (isLogicalFontName): Return true if name == default.
12558 (logicalFontNameToFaceName): Check if name == default,
12559 and if so, return "Dialog.plain".
12560 (setStandardAttributes(String, Map)): If name == null,
12561 it should be set to "Default", not "SansSerif".
12562 * java/awt/Canvas.java
12563 (generateName): Fixed documentation.
12564 * java/awt/CheckboxMenuItem.java
12565 Added static variable "next_chkmenuitem_number".
12566 (generateName): Added and implemented method.
12567 (getUniqueLong): Likewise.
12568 * java/awt/Choice.java
12569 Added static variable "next_choice_number".
12570 (generateName): Added and implemented method.
12571 (getUniqueLong): Likewise.
12572 * java/awt/Cursor.java
12573 (Cursor(int)): Set name depending on the type passed.
12574 * java/awt/List.java
12575 Added static variable "next_list_number".
12576 (generateName): Added and implemented method.
12577 (getUniqueLong): Likewise.
12578 * java/awt/Menu.java
12579 Added static variable "next_menu_number".
12580 (generateName): Added and implemented method.
12581 (getUniqueLong): Likewise.
12582 * java/awt/MenuBar.java
12583 Added static variable "next_menubar_number".
12584 (generateName): Added and implemented method.
12585 (getUniqueLong): Likewise.
12586 * java/awt/MenuComponent.java
12587 (getName): Before returning name, check if name == null
12588 and name is not explicity set. If this is the case,
12589 name will be generated.
12590 (generateName): Added and implemented method.
12591 * java/awt/MenuItem.java
12592 Added static variable "next_menuitem_number".
12593 (generateName): Added and implemented method.
12594 (getUniqueLong): Likewise.
12595 * java/awt/PopupMenu.java
12596 Added static variable "next_popup_number".
12597 (generateName): Added and implemented method.
12598 (getUniqueLong): Likewise.
12599 * java/awt/ScrollPane.java
12600 Added static variable "next_scrollpane_number".
12601 (generateName): Added and implemented method.
12602 (getUniqueLong): Likewise.
12603 * java/awt/TextField.java
12604 Added static variable "next_textfield_number".
12605 (generateName): Added and implemented method.
12606 (getUniqueLong): Likewise.
12609 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12611 * java/awt/image/SinglePixelPackedSampleModel.java
12612 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12613 mask correctly as an unsigned integer,
12614 (equals): New method override.
12616 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12618 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12619 insertAfterStart, insertBeforeEnd): Removed stub markings.
12621 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12623 * java/awt/image/BandedSampleModel.java: API doc updates and source
12625 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12627 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12629 * java/awt/image/BandedSampleModel.java: API doc updates.
12631 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12633 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12634 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12635 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12636 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12637 (HRMLReader.blockClose): Mind that parser stack may be empty.
12638 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12639 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12640 (HTMLReader.shouldInsert): New method. (getElement(String)):
12641 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12642 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12643 Implemented. (getInsertingReader): New method.
12644 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12645 Added buttons to demonstrate the work of the insert actions.
12647 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12649 * java/awt/image/SampleModel.java: API doc updates and additions,
12650 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12652 2006-07-12 Sven de Marothy <sven@physto.se>
12654 * javax/swing/JFileChooser.java:
12655 (createDialog): Close operation should cause a cancel.
12657 2006-07-12 Francis Kung <fkung@redhat.com>
12659 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12660 (cairoArc): New native method.
12661 (cairoRestore): New native method.
12662 (cairoSave): New native method.
12663 (cairoScale): New native method.
12664 (createPath): New method to centralize code from draw and fill.
12665 (draw): Modified to use createPath method.
12666 (fill): Modified to use createPath method.
12667 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12668 function declarations.
12669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12670 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12672 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12674 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12677 2006-07-12 Tom Tromey <tromey@redhat.com>
12680 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12681 on PartialInputStream.
12682 (PartialInputStream.dummyByteCount): New field.
12683 (PartialInputStream.fillBuffer): Handle dummy byte.
12684 (PartialInputStream.read): Likewise.
12685 (PartialInputStream.addDummyByte): New method.
12687 2006-07-12 Mario Torre <neugens@limasoftware.net>
12689 * native/jni/gconf-peer/GConfNativePeer.c
12690 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12691 Fixed C++ style comment.
12693 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12695 * java/util/Arrays.java
12696 (asList): Updated API docs.
12698 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12701 * native/jni/gconf-peer/GConfNativePeer.c:
12702 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12703 Changed if-expression.
12704 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12705 Added check for _value not being NULL.
12707 2006-07-11 Roman Kennke <kennke@aicas.com>
12709 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12710 (read): Use fd when local sockets are disabled to make the
12714 2006-07-11 Roman Kennke <kennke@aicas.com>
12716 * java/awt/image/MultiPixelPackedSampleModel.java
12717 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12718 division gets rounded up.
12720 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12722 * java/lang/management/ManageFactory.java:
12723 (getMemoryManagerMXBeans()): Use addAll, not add.
12725 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12728 * gnu/classpath/ByteArray.java: Removed (moved).
12729 * gnu/java/security/util/ByteArray.java: New File.
12730 * gnu/javax/crypto/RSACipherImpl.java: Reference
12731 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12733 2006-07-11 Roman Kennke <kennke@aicas.com>
12735 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12736 (available): Pass fd as argument and avoid JNI class/field
12740 * include/gnu_java_net_local_LocalSocketImpl.h:
12742 * gnu/java/net/local/LocalSocketImpl.h
12743 (available): Pass fd as argument and avoid JNI class/field
12748 2006-07-11 Sven de Marothy <sven@physto.se>
12750 * gnu/javax/sound/sampled/AU/AUReader.java:
12751 Correct file extension from .as to .au.
12753 2006-07-11 Sven de Marothy <sven@physto.se>
12755 * gnu/javax/sound/sampled/AU/AUReader.java:
12757 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12758 Added new provider.
12760 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12762 * javax/swing/JTable.java
12763 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12764 (setColumnSelectionAllowed): Likewise.
12766 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12769 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12770 AccessController.doPrivileged instead of SystemProperties.getProperty.
12771 * gnu/classpath/debug/SystemLogger.java: Likewise.
12772 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12773 repeated getProperty calls for "file.seperator".
12774 (refresh): Since already in privileged block, call System.getProperty
12775 instead of SystemProperties.getProperty.
12776 * gnu/java/security/key/dss/DSSKey.java
12777 (toString): Use AccessController.doPrivileged instead of
12778 SystemProperties.getProperty.
12779 * gnu/java/security/key/dss/DSSPrivateKey.java
12780 (toString): Likewise.
12781 * gnu/java/security/key/dss/DSSPublicKey.java
12782 (toString): Likewise.
12783 * gnu/java/security/key/rsa/GnuRSAKey.java
12784 (toString): Likewise.
12785 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12786 (toString): Likewise.
12787 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12788 (toString): Likewise.
12789 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12790 * gnu/javax/crypto/key/dh/GnuDHKey.java
12791 (toString): Likewise.
12792 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12793 (toString): Likewise.
12794 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12795 (toString): Likewise.
12797 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12799 * javax/swing/AbstractButton.java
12800 (disabledIcon): Fixed name (was 'disabeldIcon'),
12801 (getDisabledIcon): Updated for corrected field name,
12802 (setDisabledIcon): Fire a PropertyChangeEvent.
12804 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12806 * javax/swing/DefaultBoundedRangeModel.java
12807 (readObject): New private method,
12808 (writeObject): Likewise.
12810 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12812 * javax/swing/ButtonGroup.java
12813 (add): Ignore null argument,
12814 (remove): Ignore null argument. If removing selected button, clear the
12816 (findButton): Changed case for method name, and documented,
12817 (setSelected): Updated for modification to findButton() method name,
12818 (isSelected): Updated API docs.
12820 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12822 * java/awt/image/BufferedImage.java
12823 (BufferedImage(int, int, int)): Use correct color space for
12824 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12825 IllegalArgumentException for an unrecognised type.
12827 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12829 * java/lang/management/ManagementFactory.java:
12830 (getMemoryPoolMXBeans): Genericized fully.
12831 (getMemoryManagerMXBeans): Likewise.
12832 (getGarbageCollectorMXBeans): Likewise.
12834 2006-07-10 Tom Tromey <tromey@redhat.com>
12836 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12838 (getMemoryManagerMXBeans): Likewise.
12839 (getGarbageCollectorMXBeans): Likewise.
12841 2006-07-10 Mario Torre <neugens@limasoftware.net>
12843 * java/awt/BasicStroke.java: Removed unused import.
12844 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12845 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12846 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12848 2006-07-10 Matt Wringe <mwringe@redhat.com>
12850 PR classpath/28212:
12851 * javax/crypto/spec/SecretKeySpec.java
12852 (equals): Check object type.
12854 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12856 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12857 communication/StructureToPassHelper.java,
12858 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12859 communication/StructureToReturnHelper.java,
12860 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12861 communication/TreeNodeHelper.java,
12862 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12863 communication/WeThrowThisExceptionHelper.java,
12864 gnu/CORBA/ForwardRequestHelper.java,
12865 org/omg/CORBA/CompletionStatusHelper.java,
12866 org/omg/CORBA/CurrentHelper.java,
12867 org/omg/CORBA/DefinitionKindHelper.java,
12868 org/omg/CORBA/IDLTypeHelper.java,
12869 org/omg/CORBA/NameValuePairHelper.java,
12870 org/omg/CORBA/ObjectHelper.java,
12871 org/omg/CORBA/ParameterModeHelper.java,
12872 org/omg/CORBA/PolicyErrorCodeHelper.java,
12873 org/omg/CORBA/PolicyErrorHelper.java,
12874 org/omg/CORBA/PolicyHelper.java,
12875 org/omg/CORBA/PolicyListHelper.java,
12876 org/omg/CORBA/PolicyTypeHelper.java,
12877 org/omg/CORBA/ServiceDetailHelper.java,
12878 org/omg/CORBA/ServiceInformationHelper.java,
12879 org/omg/CORBA/SetOverrideTypeHelper.java,
12880 org/omg/CORBA/StringValueHelper.java,
12881 org/omg/CORBA/UnionMemberHelper.java,
12882 org/omg/CORBA/UnknownUserExceptionHelper.java,
12883 org/omg/CORBA/VisibilityHelper.java,
12884 org/omg/CORBA/WStringValueHelper.java,
12885 org/omg/CORBA/WrongTransactionHelper.java,
12886 org/omg/CosNaming/BindingHelper.java,
12887 org/omg/CosNaming/BindingIteratorHelper.java,
12888 org/omg/CosNaming/BindingListHelper.java,
12889 org/omg/CosNaming/BindingTypeHelper.java,
12890 org/omg/CosNaming/NameComponentHelper.java,
12891 org/omg/CosNaming/NameHelper.java,
12892 org/omg/CosNaming/NamingContextExtHelper.java,
12893 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12894 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12895 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12896 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12897 org/omg/CosNaming/NamingContextHelper.java,
12898 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12899 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12900 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12901 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12902 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12903 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12904 org/omg/DynamicAny/AnySeqHelper.java,
12905 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12906 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12907 org/omg/DynamicAny/DynAnyHelper.java,
12908 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12909 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12910 org/omg/DynamicAny/DynAnySeqHelper.java,
12911 org/omg/DynamicAny/DynArrayHelper.java,
12912 org/omg/DynamicAny/DynEnumHelper.java,
12913 org/omg/DynamicAny/DynFixedHelper.java,
12914 org/omg/DynamicAny/DynSequenceHelper.java,
12915 org/omg/DynamicAny/DynStructHelper.java,
12916 org/omg/DynamicAny/DynUnionHelper.java,
12917 org/omg/DynamicAny/DynValueHelper.java,
12918 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12919 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12920 org/omg/DynamicAny/NameValuePairHelper.java,
12921 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12922 org/omg/IOP/CodecFactoryHelper.java,
12923 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12924 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12925 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12926 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12927 org/omg/IOP/ComponentIdHelper.java,
12928 org/omg/IOP/IORHelper.java,
12929 org/omg/IOP/MultipleComponentProfileHelper.java,
12930 org/omg/IOP/ProfileIdHelper.java,
12931 org/omg/IOP/ServiceContextHelper.java,
12932 org/omg/IOP/ServiceContextListHelper.java,
12933 org/omg/IOP/ServiceIdHelper.java,
12934 org/omg/IOP/TaggedComponentHelper.java,
12935 org/omg/IOP/TaggedProfileHelper.java,
12936 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12937 org/omg/PortableInterceptor/AdapterNameHelper.java,
12938 org/omg/PortableInterceptor/AdapterStateHelper.java,
12939 org/omg/PortableInterceptor/CurrentHelper.java,
12940 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12941 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12942 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12943 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12944 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12945 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12946 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12947 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12948 org/omg/PortableServer/CurrentHelper.java,
12949 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12950 org/omg/PortableServer/ForwardRequestHelper.java,
12951 org/omg/PortableServer/POAHelper.java,
12952 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12953 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12954 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12955 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12956 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12957 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12958 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12959 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12960 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12961 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12962 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12963 org/omg/PortableServer/ServantActivatorHelper.java,
12964 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12965 typecode caching and always use OrbRestricted.Singleton.
12967 2006-07-09 Tom Tromey <tromey@redhat.com>
12969 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12971 2006-07-09 Mark Wielaard <mark@klomp.org>
12973 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12974 New static final boolean field.
12975 (getComponentGraphics): Use hasXRenderExtension.
12976 (setClip): Override method for locking.
12978 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12980 * javax/swing/AbstractButton.java
12981 (setHorizontalTextPosition): Added check for illegal argument,
12982 (setVerticalTextPosition): Likewise.
12984 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12986 * javax/swing/Timer.java
12987 (setDelay): Throw IllegalArgumentException for negative delay,
12988 (setInitialDelay): Likewise,
12989 * javax/swing/ToolTipManager.java
12990 (setInitialDelay): Document IllegalArgumentException,
12991 (setDismissDelay): Likewise,
12992 (setReshowDelay): Likewise.
12994 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12996 * java/lang/management/MemoryUsage.java:
12997 (from(javax.management.openmbean.CompositeData)):
12999 * java/lang/management/ThreadInfo.java:
13000 Changed to use open types throughout for the state.
13001 (ThreadInfo(long,String,String,long,long,String,
13002 long,String,long,long,boolean,StackTraceElement[])):
13004 (checkAttribute(javax.management.openmbean.CompositeType,
13005 String, javax.management.openmbean.OpenType)): New method.
13006 (from(javax.management.openmbean.CompositeData)):
13008 (getLockName()): Fixed to use new variable.
13009 (getLockOwnerId()): Likewise.
13010 (getLockOwnerName()): Likewise.
13011 (getThreadId()): Likewise.
13012 (getThreadName()): Likewise.
13013 (getThreadState()): Likewise.
13014 (toString()): Refactored to use new variables.
13015 * javax/management/openmbean/ArrayType.java:
13017 * javax/management/openmbean/CompositeType.java:
13018 Variables should be transient, not volatile.
13019 * javax/management/openmbean/OpenDataException.java:
13020 (serialVersionUID): Added.
13021 * javax/management/openmbean/SimpleType.java:
13023 * javax/management/openmbean/TabularType.java
13024 Variables should be transient, not volatile.
13026 2006-07-09 Tom Tromey <tromey@redhat.com>
13028 * tools/.cvsignore: Updated for new tools.
13030 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
13032 * javax/management/openmbean/CompositeData.java,
13033 * javax/management/openmbean/CompositeType.java,
13034 * javax/management/openmbean/OpenDataException.java,
13035 * javax/management/openmbean/OpenType.java,
13036 * javax/management/openmbean/TabularData.java,
13037 * javax/management/openmbean/TabularType.java,
13038 * javax/management/openmbean/package.html:
13041 2006-07-09 Mark Wielaard <mark@klomp.org>
13043 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13044 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13045 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13047 2006-07-08 Anthony Green <green@redhat.com>
13049 * gnu/javax/sound/sampled/WAV/WAVReader.java,
13050 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
13053 2006-07-09 Mario Torre <neugens@limasoftware.net>
13055 * native/jni/gconf-peer/GConfNativePeer.c:
13056 Fixed indentation to be more compliant to the GNU coding
13058 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13059 Added explicit test for errors in the GConf backend.
13060 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13061 Added explicit test for errors in the GConf backend.
13062 Fixed Segmentation Fault when non valid key names are given as input.
13063 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13065 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13066 Added explicit test for errors in the GConf backend.
13067 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13068 Added javadoc comments for all native methods.
13069 (nodeExist): removed test to check for valid absolute path name
13071 (startWatchingNode): likewise.
13072 (stopWatchingNode): likewise.
13073 (setString): likewise, plus fixed javadoc comments.
13074 (unset): likekwise.
13075 (getKey): likewise.
13076 (getKeys): likewise, also fixed javadoc comments.
13077 (getChildrenNodes): likewise.
13078 * gnu/java/util/prefs/GConfBasedPreferences.java:
13079 changed DEFAULT_USER_ROOT to /apps/classpath.
13080 (constructor): Test to check for a valid absolute path for nodes
13081 is now in the contructor for that node, instead of being on
13082 each method of the backend.
13083 (getGConfKey): removed empty new line.
13085 2006-07-08 Mark Wielaard <mark@klomp.org>
13087 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13089 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13091 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13092 Handle the forced break in the same way as exceeding the
13093 available row space.
13094 * javax/swing/text/html/HRuleView.java: Rewritten.
13095 * javax/swing/text/html/HTMLDocument.java
13096 (HTMLReader.addSpecialElement):Reserve two characters for
13097 the special elements.
13098 * examples/gnu/classpath/examples/swing/HtmlDemo.java
13099 (text): Extended the HTML example to parse.
13101 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13103 * javax/swing/AbstractButton.java
13104 (setHorizontalAlignment): Check for illegal argument,
13105 (setVerticalAlignment): Likewise.
13107 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13109 * javax/swing/text/html/TableView.java
13110 (getStyleSheet): New method. (RowView.getStyleSheet):
13113 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13115 * javax/swing/AbstractButton.java
13116 (setRolloverIcon): Call setRolloverEnabled(true),
13117 (setRolloverSelectedIcon): Likewise.
13119 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13121 * javax/swing/border/TitledBorder.java
13122 (setTitlePosition): Added message to exception,
13123 (setTitleJustification): Likewise.
13125 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13127 * javax/swing/plaf/metal/MetalLookAndFeel.java
13128 (createDefaultTheme): Corrected API docs,
13129 (initComponentDefaults): Added entry for 'TitledBorder.border',
13130 (getCurrentTheme): Initialise theme if it is null.
13132 2006-07-07 Roman Kennke <kennke@aicas.com>
13134 * java/awt/Component.java
13135 (isValid): Return false when component has no peer,
13136 don't query the showing state.
13138 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13140 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13141 Advance the offset also in the case of the enforced break.
13143 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13145 * javax/swing/plaf/basic/BasicArrowButton.java
13146 (MAXIMUM_SIZE): Removed field,
13147 (MINIMUM_SIZE): Likewise,
13148 (PREFERRED_SIZE): Likewise,
13149 (getMaximumSize): Return new instance every time,
13150 (getMinimumSize): Likewise,
13151 (getPreferredSize): Likewise.
13153 2006-07-07 Roman Kennke <kennke@aicas.com>
13155 * java/awt/LightweightDispatcher.java
13156 (findTarget): Avoid array copying in
13157 Container.getComponents().
13159 2006-07-07 Roman Kennke <kennke@aicas.com>
13161 * javax/swing/JComponent.java
13162 (paintChildrenWithOverlap): Avoid array copying in
13163 Container.getComponents().
13164 (paintChildrenOptimized): Avoid array copying in
13165 Container.getComponents().
13166 (fireAncestorEvent): Avoid array copying in
13167 Container.getComponents().
13168 (findOverlapFreeParent): Avoid array copying in
13169 Container.getComponents().
13171 2006-07-07 Matt Wringe <mwringe@redhat.com>
13173 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13174 (passwordValid): New field.
13175 (setPassword): New method.
13176 (setSalt): Likewise.
13177 (setIterationCount): Likewise.
13178 (setKeyLength): Likewise.
13179 (PBEKeySpec(char[])): Use new setter methods.
13180 (PBEKeySpec(char[], byte[], int)): Likewise.
13181 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13182 (clearPassword): Set passwordValid to false.
13183 (getPassword): Check that clearPassword() was not called earlier.
13184 Return a clone of the password.
13185 (getSalt): Return a clone of the salt if it was not null.
13187 2006-07-07 Roman Kennke <kennke@aicas.com>
13189 * java/awt/Component.java
13190 (isValid): Always return false when component is
13192 (setFont): Always set font, even when setting
13193 the same or equal font again.
13195 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13197 * javax/swing/plaf/metal/MetalIconFactory.java
13198 (CheckBoxMenuItemIcon): Implement UIResource,
13199 (FileChooserDetailViewIcon): Likewise,
13200 (FileChooserHomeFolderIcon): Likewise,
13201 (FileChooserListViewIcon): Likewise,
13202 (FileChooserNewFolderIcon): Likewise,
13203 (FileChooserUpFolderIcon): Removed redundant 'implements',
13204 (RadioButtonMenuItemIcon): Implement UIResource,
13205 (HorizontalSliderThumbIcon): Likewise,
13206 (InternalFrameCloseIcon): Likewise,
13207 (InternalFrameDefaultMenuIcon): Likewise,
13208 (InternalFrameAltMaximizeIcon): Likewise,
13209 (InternalFrameMaximizeIcon): Likewise,
13210 (InternalFrameMinimizeIcon): Likewise,
13211 (VerticalSliderThumbIcon): Likewise,
13212 (TreeHardDriveIcon): Likewise,
13213 (TreeFloppyDriveIcon): Likewise,
13214 (TreeComputerIcon): Likewise,
13215 (horizontalSliderThumbIcon): New field,
13216 (verticalSliderThumbIcon): New field,
13217 (getHorizontalSliderThumbIcon): Cache icon,
13218 (getVerticalSliderThumbIcon): Likewise.
13220 2006-07-06 Mark Wielaard <mark@klomp.org>
13222 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13223 (DISTCLEANFILES): Add standard.omit.
13224 (clean-local): Remove Makefile.deps, only remove dirs.
13226 2006-07-06 Roman Kennke <kennke@aicas.com>
13228 * java/awt/Component.java
13229 (setFont): Only invalidate when component is valid.
13230 * java/awt/Container.java
13231 (setLayout): Only invalidate when component is valid.
13233 2006-07-06 Lillian Angel <langel@redhat.com>
13235 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13236 New class not fully implemented.
13237 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13238 New class not fully implemented.
13239 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13240 New class not fully implemented.
13241 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13242 New class not fully implemented.
13243 * nu/java/awt/peer/gtk/GtkToolkit.java:
13245 (createDragSourceContextPeer): Implemented.
13246 (createDragGestureRecognizer): New function to override
13247 java.awt.Toolkit.createDragGestureRecognizer.
13248 * java/awt/dnd/DragSource.java
13249 (NoDragGestureRecognizer): Removed inner class.
13250 (createDragGestureRecognizer): Re-Implemented to
13251 call Toolkit's createDragGestureRecognizer.
13252 (createDefaultDragGestureRecognizer): Re-Implemented to
13253 call Toolkit's createDragGestureRecognizer.
13254 * java/awt/dnd/DropTarget.java
13255 (addNotify): Added check to determine type of peer and call
13257 (removeNotify): Added call to removeDropTarget.
13259 2006-07-06 Tom Tromey <tromey@redhat.com>
13261 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13263 (run): Wait on queue, not 'this'.
13265 2006-07-06 Lillian Angel <langel@redhat.com>
13267 * java/awt/dnd/DragSource.java
13268 (startDrag): Implemented. Added comments describing
13269 what the function should do. Removed FIXME.
13271 2006-07-06 Tania Bento <tbento@redhat.com>
13273 * gnu/java/awt/Canvas.java
13274 Added new private variable 'next_canvas_number'.
13275 (generateName): Added.
13276 (getUniqueLong): Added.
13278 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13280 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13281 (getColor): Made public.
13282 * javax/swing/text/html/StyleSheet.java (stringToColor):
13283 Use CharacterAttributeTranslator.getColor(String)
13285 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13287 * javax/swing/text/html/HTMLEditorKit.java:
13288 (HTMLFactory.createElement): Update reference to the html table view.
13289 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13290 * javax/swing/text/html/TableView.java: New file.
13292 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13294 * javax/swing/text/html/HTMLEditorKit.java:
13295 (HTMLFactory.createElement): Uncomment
13296 code for BRView and HRuleView.
13297 * javax/swing/text/html/BRView.java,
13298 javax/swing/text/html/HRuleView.java: New files.
13300 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13302 * java/lang/Thread.java:
13303 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13304 Added generic type signature.
13306 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13309 * doc/vmintegration.texinfo: Likewise.
13310 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13311 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13312 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13313 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13314 * java/lang/management/GarbageCollectorMXBean.java:
13316 * java/lang/management/ManagementFactory.java:
13317 (getGarbageCollectorMXBeans()): Implemented.
13318 (getMemoryManagerMXBeans()): Likewise.
13319 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13320 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13322 * vm/reference/java/lang/management/VMManagementFactory.java:
13323 (getMemoryManagerNames()): Added.
13324 (getGarbageCollectorNames()): Added.
13326 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13328 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13329 from lib_LTLIBRARIES.
13330 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13332 2006-07-05 Lillian Angel <langel@redhat.com>
13334 * java/awt/dnd/DragGestureEvent.java:
13336 (DragGestureEvent): Initialized new fields, added to check and
13337 added documentation.
13338 (getSourceAsDragGestureRecognizer): Added documentation and
13339 changed to use getSource.
13340 (getComponent): Added documentation and fixed to return the proper
13342 (getDragSource): Likewise.
13343 (getDragOrigin): Added documentation.
13344 (iterator): Implemented and added documentation.
13345 (toArray): Likewise.
13346 (toArray): Likewise.
13347 (getDragAction): Likewise.
13348 (getTriggerEvent): Likewise.
13349 (startDrag): Likewise.
13350 * java/awt/dnd/DragGestureRecognizer.java
13351 (resetRecognizer): Added FIXME.
13352 * java/awt/dnd/DragSource.java:
13354 (DragSource): Set ds to be null if headless.
13355 (getDefaultDragSource): Added documentation and implemented.
13356 (isDragImageSupported): Marked as unimplemented.
13357 (startDrag): Likewise.
13358 (createDragSourceContext): Implemented.
13359 (NoDragGestureRecognizer): Formatted inner class.
13360 * java/awt/dnd/DropTarget.java
13361 (stop): Marked as unimplemented.
13362 (actionPerformed): Likewise.
13363 (addDropTargetListener): Added code to throw exception.
13364 (removeDropTargetListener): Added check, removed FIXME.
13365 (dragEnter): Implemented.
13366 (dragOver): Implemented.
13367 (dropActionChanged): Implemented.
13368 (dragExit): Implemented.
13369 (drop): Implemented.
13370 (addNotify): Implemented.
13371 (removeNotify): Implemented.
13372 (createDropTargetContext): Implemented.
13373 (createDropTargetAutoScroller): Implemented.
13374 (initializeAutoscrolling): Implemented.
13375 (updateAutoscroll): Implemented.
13376 (clearAutoscroll): Implemented.
13377 * java/awt/dnd/DropTargetContext.java
13378 (dropComplete): Implemented.
13379 (acceptDrag): Implemented.
13380 (rejectDrag): Implemented.
13381 (acceptDrop): Implemented.
13382 (rejectDrop): Implemented.
13383 (getCurrentDataFlavors): Implemented.
13384 (getTransferable): Partially implemented.
13385 * java/awt/dnd/DropTargetDragEvent.java
13386 (getDropAction): Uncommented correct code.
13387 * java/awt/dnd/DropTargetDropEvent.java
13388 (dropComplete) :Implemented.
13389 * java/awt/dnd/InvalidDnDOperationException.java
13390 (InvalidDnDOperationException): Added call to super.
13392 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13394 * javax/swing/plaf/basic/BasicArrowButton.java:
13395 (paint): Removed getBounds() call, changed center point
13398 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13400 * javax/swing/InputMap.java
13401 (inputMap): Don't initialize yet,
13402 (InputMap): Removed TODO,
13403 (get): Check for null inputMap,
13404 (put): Return immediately for null keyStroke, check for null inputMap
13405 and initialize if necessary,
13406 (remove): Check for null inputMap,
13410 (allKeys): Likewise,
13411 (writeObject): Removed,
13412 (readObject): Removed.
13414 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13416 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13417 (createContent): Use different labels for buttons.
13419 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13422 * doc/vmintegration.texinfo: Likewise.
13423 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13424 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13426 * java/lang/management/ManagementFactory.java:
13427 (getMemoryPoolMXBeans()): Implemented.
13428 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13429 * vm/reference/java/lang/management/VMManagementFactory.java:
13432 2006-07-04 Lillian Angel <langel@redhat.com>
13434 * java/awt/dnd/DragSourceContext.java:
13435 Removed FIXMEs from fields.
13436 (DragSourceContext): Added code to initialize cursor and sourceActions.
13437 (getDragSource): Added documentation.
13438 (getComponent): Likewise.
13439 (getTrigger): Likewise.
13440 (getSourceActions): Added documentation and implemented.
13441 (setCursor): Implemented. Added documentation.
13442 (getCursor): Implemented. Added documentation.
13443 (dragEnter): Added code to notify DragSource's listeners.
13444 (dragOver): Likewise.
13445 (dragExit): Likewise.
13446 (dropActionChanged): Likewise.
13447 (dragDropEnd): Likewise.
13448 (dragMouseMoved): Implemented.
13449 (getTransferable): Added API documentation.
13450 (updateCurrentCursor): Added API documentation and partially implemented.
13452 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13454 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13456 2006-07-04 Lillian Angel <langel@redhat.com>
13458 * java/awt/dnd/DragSourceContext.java
13459 (DragSourceContext): Implemented fully. Fixed API docs.
13460 (transferablesFlavorsChanged): Implemented.
13461 (dragEnter): Implemented.
13462 (dragOver): Implemented.
13463 (dragExit): Implemented.
13464 (dropActionChanged): Implemented.
13465 (dragDropEnd): Implemented.
13467 2006-07-04 Lillian Angel <langel@redhat.com>
13469 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13470 Fixed name of constant.
13471 (getIconWidth): Changed name of constant returned.
13472 (getIconHeight): Likewise.
13474 (createSeparator): Marked as unimplemented.
13475 * javax/swing/plaf/basic/BasicTableUI.java
13476 (focusGained): Marked as unimplemented.
13477 (focusLost): Marked as unimplemented.
13478 (mouseEntered): Likewise.
13479 (mouseMoved): Likewise.
13480 (uninstallDefaults): Likewise.
13481 * javax/swing/plaf/basic/BasicToolBarUI.java
13482 (mouseClicked): Changed comment.
13483 (mouseEntered): Likewise.
13484 (mouseExited): Likewise.
13485 (mouseMoved): Likewise.
13486 (setOrientation): Implemented.
13487 (ToolBarFocusListener): Marked as unimplemented.
13488 (focusGained): Marked as unimplemented.
13489 (focusLost): Marked as unimplemented.
13491 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13494 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13495 Mind the effect of the root visibility on the position of the control.
13496 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13497 vertical line over first level nodes.
13499 2006-07-04 Lillian Angel <langel@redhat.com>
13501 * javax/swing/plaf/basic/BasicMenuUI.java
13502 (installKeyboardActions): Implemented to call super. Nothing else
13503 needs to be done here.
13504 (setupPostTimer): Marked as unimplemented.
13505 (uninstallKeyboardActions): Implemented to call super. Nothing else
13506 needs to be done here.
13507 (mouseMoved): Removed TODO. Nothing to be done here.
13508 (ChangeHandler): Implemented.
13509 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13510 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13511 (menuKeyReleased): Removed TODO. Nothing to be done here.
13512 (menuKeyTyped): Marked as unimplemented.
13514 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13517 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13518 (getDefaults): Set hash color to black.
13519 * javax/swing/plaf/basic/BasicLookAndFeel.java
13520 (initComponentDefaults): Set hash color to grey blue.
13521 * javax/swing/plaf/basic/BasicTreeUI.java
13522 (instellDefaults): Set hash color.
13523 * javax/swing/plaf/metal/MetalIconFactory.java
13524 (TreeControlIcon.paint): Rewritten.
13526 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13529 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13530 Always cancel the current editing session before doing anything else,
13531 return immediately if this fails.
13532 (TreeHomeAction): Ensure that the lead selection path is visible after
13533 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13534 Likewise. TreeTraverseAction: Likewise.
13536 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13539 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13540 Returned back the code to handle the start of the click-pause-click
13541 editing initiation, explained about this code.
13542 (TreeStartEditingAction): New inner class.
13543 (stopEditingInCompleteEditing): Explained about this field.
13544 (completeEditing(boolean, boolean, boolean): Only return early
13545 if there is no current editing session.
13546 (createDefaultActions): Install TreeStartEditingAction and
13547 TreeCancelEditingAction.
13549 2006-07-04 Mario Torre <neugens@limasoftware.net>
13551 * configure.ac: Added new option --enable-default-preferences-peer
13552 to pass user specified default preference backend.
13553 If the GConf peer is built, GConf become the default backend.
13554 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13556 * lib/Makefile.am: excludes files terminating in 'in' from
13557 the metafiles list.
13558 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13559 from copy into META-INF.
13560 * java/util/prefs/Preferences.java: added two new import
13561 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13562 (getFactory): Now try to check for
13563 a system defined default preference backend before to fall back on
13564 FileBasedPreference.
13566 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13569 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13570 (EXPANDED): Initialise to Boolean.TRUE.
13571 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13572 First configure layout cache and then set the assigned value
13573 as row mapper. Set the root visibility property.
13574 (toggleExpandState): Obtains expansion state from the layout cache.
13576 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13578 * java/lang/management/MemoryPoolMXBean.java:
13581 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13583 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13585 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13587 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13588 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13589 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13590 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13591 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13592 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13593 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13594 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13595 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13596 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13597 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13598 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13599 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13600 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13601 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13602 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13603 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13604 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13605 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13606 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13607 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13608 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13609 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13610 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13611 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13612 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13613 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13614 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13615 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13616 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13617 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13618 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13619 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13620 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13621 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13622 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13623 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13624 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13625 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13626 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13627 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13628 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13629 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13630 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13631 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13632 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13633 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13635 2006-07-02 Anthony Green <green@redhat.com>
13637 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13638 sure that every track written ends with an End Of Track meta
13641 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13643 * java/lang/management/MemoryUsage.java:
13644 (toString()): Fix missing MB for maximum memory usage.
13646 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13649 Updated to include VMCompilationMXBeanImpl.
13650 * doc/vmintegration.texinfo:
13651 Likewise, along with update to VMMemoryMXBeanImpl
13653 * examples/gnu/classpath/examples/management/TestCompilation.java,
13654 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13655 * java/lang/management/CompilationMXBeanImpl.java:
13657 * java/lang/management/ManagementFactory.java:
13658 (getCompilationMXBean()): Implemented.
13659 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13661 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13662 (getHeapMemoryUsage()): Added default implementation.
13664 2006-07-02 Anthony Green <green@redhat.com>
13666 * NEWS: Mention MIDI file reader/writer providers.
13668 2006-07-02 Anthony Green <green@redhat.com>
13670 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13671 gnu/javax/sound/midi/file/MidiFileWriter.java,
13672 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13674 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13677 Updated to include VMMemoryMXBeanImpl.
13678 * doc/vmintegration.texinfo: Likewise.
13679 * examples/gnu/classpath/examples/management/TestMemory.java:
13681 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13682 Remove redundant import.
13683 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13685 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13686 Remove redundant import.
13687 * java/lang/management/ManagementFactory.java:
13688 (getMemoryMXBean()): Implemented.
13689 * java/lang/management/MemoryMXBean.java,
13690 * java/lang/management/MemoryUsage.java:
13692 * java/lang/management/ThreadInfo.java:
13693 (toString()): Updated documentation.
13694 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13697 2006-07-01 Anthony Green <green@redhat.com>
13699 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13700 gnu/javax/sound/midi/file/MidiFileReader.java,
13701 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13702 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13704 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13706 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13707 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13708 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13709 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13710 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13711 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13712 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13714 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13716 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13717 * gnu/javax/crypto/pad/IPad.java: Likewise.
13718 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13719 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13720 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13721 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13722 * gnu/javax/crypto/pad/TBC.java: Likewise.
13723 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13724 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13726 2006-07-01 Anthony Green <green@redhat.com>
13728 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13730 (setMessage): Fix it again, in a different setMessage method.
13732 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13734 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13735 * gnu/javax/crypto/mode/CBC.java: Likewise.
13736 * gnu/javax/crypto/mode/CFB.java: Likewise.
13737 * gnu/javax/crypto/mode/CTR.java: Likewise.
13738 * gnu/javax/crypto/mode/EAX.java: Likewise.
13739 * gnu/javax/crypto/mode/ECB.java: Likewise.
13740 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13741 * gnu/javax/crypto/mode/ICM.java: Likewise.
13742 * gnu/javax/crypto/mode/IMode.java: Likewise.
13743 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13744 * gnu/javax/crypto/mode/OFB.java: Likewise.
13746 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13748 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13749 * gnu/javax/crypto/mac/HMac.java: Likewise.
13750 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13751 * gnu/javax/crypto/mac/IMac.java: Likewise.
13752 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13753 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13754 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13755 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13756 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13757 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13758 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13760 2006-07-01 Anthony Green <green@redhat.com>
13762 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13764 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13766 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13767 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13768 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13769 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13770 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13771 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13772 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13773 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13774 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13775 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13776 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13777 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13778 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13779 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13780 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13781 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13782 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13783 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13784 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13785 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13786 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13787 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13788 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13789 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13791 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13793 * javax/swing/AbstractCellEditor.java: Source code formatting,
13794 * javax/swing/AbstractSpinnerModel.java: Likewise,
13795 * javax/swing/Box.java: Likewise,
13796 * javax/swing/BoxLayout.java: Likewise,
13797 * javax/swing/DefaultListModel.java: Likewise,
13798 * javax/swing/GrayFilter.java: Likewise,
13799 * javax/swing/LookAndFeel.java: Likewise,
13800 * javax/swing/ProgressMonitor.java: Likewise,
13801 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13802 * javax/swing/ScrollPaneLayout.java: Likewise,
13803 * javax/swing/SpringLayout.java: Likewise,
13804 * javax/swing/event/EventListenerList.java: Likewise,
13805 * javax/swing/event/MenuEvent.java: Likewise,
13806 * javax/swing/event/TreeExpansionListener.java: Likewise.
13808 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13811 Mention threading bean and getState().
13812 * doc/vmintegration.texinfo:
13813 Update documentation for threading bean and new
13814 method of VMThread.
13816 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13818 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13819 * examples/gnu/classpath/examples/management/TestOS.java,
13820 * examples/gnu/classpath/examples/management/TestRuntime.java,
13821 * examples/gnu/classpath/examples/management/TestThread.java:
13824 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13826 * java/lang/ThreadGroup.java
13827 (getThreadFromId, getThreadFromIdImpl): New methods.
13829 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13831 * java/lang/Thread.java:
13832 Make thread IDs start from 1 in a more efficient way.
13834 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13836 * java/lang/Thread.java:
13837 Make thread IDs start from 1.
13839 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13841 * gnu/java/lang/management/BeanImpl.java:
13842 New superclass for all bean implementations.
13843 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13844 Extend BeanImpl and call permission code there.
13845 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13847 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13848 Extend BeanImpl and call permission code there.
13849 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13851 * java/lang/management/ManagementFactory.java:
13852 (getThreadMXBean()): Implemented.
13853 * java/lang/management/ThreadInfo.java:
13854 (ThreadInfo(Thread,int)): Replaced...
13855 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13856 boolean, boolean, StackTraceElement[])): with this.
13857 (getBlockedCount()): Refactored to use local variables.
13858 (getBlockedTime()): Likewise.
13859 (getLockName()): Likewise.
13860 (getLockOwnerId()): Likewise.
13861 (getLockOwnerName()): Likewise.
13862 (getStackTrace()): Likewise.
13863 (getWaitedCount()): Likewise.
13864 (getWaitedTime()): Likewise.
13865 (isInNative()): Likewise.
13866 (isSuspended()): Likewise.
13867 (toString()): Changed to use new local variables.
13868 * java/lang/management/ThreadMXBean.java:
13869 (getThreadInfo(long, int)): Corrected documentation.
13870 (getThreadInfo(long[], int)): Likewise.
13871 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13873 * vm/reference/java/lang/management/VMThreadInfo.java:
13876 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13878 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13879 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13880 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13881 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13882 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13883 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13884 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13885 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13886 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13887 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13888 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13889 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13890 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13891 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13892 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13893 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13894 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13895 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13896 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13897 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13898 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13899 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13900 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13901 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13902 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13903 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13904 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13905 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13906 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13907 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13908 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13909 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13911 2006-07-01 Roman Kennke <kennke@aicas.com>
13913 * gnu/java/awt/java2d/AbstractGraphics2D.java
13914 (transform): Make field protected.
13915 (getDestinationRaster): Provide default implementation for
13916 previously abstract method.
13918 2006-06-30 Tania Bento <tbento@redhat.com>
13920 * java/awt/TextArea.java
13921 (TextArea(String, int, int, int)): No longer throws
13922 IllegalArgumentException if rows, columns, or scrollbarVisibility
13923 values are invalid.
13924 (TextArea(String, int, int, int)): If rows or columns are < 0,
13925 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13926 gets set to the default value of 0 (SCROLLBARS_BOTH).
13927 (appendText): Added case when peer = null.
13928 (insertText): Added case when peer == null.
13929 (replaceText): Added case when peer == null.
13930 * java/awt/TextComponent.java
13931 (TextComponent(String)): If text == null, set it to "".
13933 2006-06-30 Lillian Angel <langel@redhat.com>
13935 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13936 (create): Added synchronized block around groupMap.get calls.
13937 (setCheckboxGroup): Likewise.
13939 2006-06-30 Lillian Angel <langel@redhat.com>
13941 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13942 (create): Changed to be non-synchronized.
13943 (setLabel): Likewise.
13944 (setCheckboxGroup): Likewise.
13945 (addToGroupMap): Likewise. Added synchronized block around
13947 (dispose): Changed to be non-synchronized.
13949 2006-06-30 Lillian Angel <langel@redhat.com>
13951 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13952 Changed all return values of native functions to void.
13953 (create): Changed function to be synchronized. Removed
13954 call to put value in groupMap, this is now done from
13956 (setState): Changed function to be synchronized.
13957 (setLabel): Changed function to be synchronized.
13958 (setCheckboxGroup): Changed function to be synchronized. Removed
13959 call to put value in groupMap, this is now done from
13961 (postItemEvent): Changed function to be synchronized.
13962 (addToGroupMap): New function. Called by native code to add
13963 new value to the group.
13964 (dispose): Changed function to be synchronized.
13965 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13968 (cp_gtk_checkbox_init_jni): Added code to link to
13970 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13971 Changed return value to void. Added call
13972 to java function to set pointer in groupMap.
13973 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13974 changed check to an assert. Also, removed call to set/del pointer.
13975 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13976 Likewise. Also, added check to determine if native_group should be
13978 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13980 2006-06-30 Sven de Marothy <sven@physto.se>
13982 * gnu/java/awt/ClasspathToolkit.java,
13983 * gnu/java/awt/peer/x/XToolkit.java,
13984 * gnu/java/awt/peer/qt/QtToolkit.java,
13985 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13986 Remove ClasspathTextLayoutPeer.
13987 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13988 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13991 2006-06-30 Sven de Marothy <sven@physto.se>
13993 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13994 (drawGlyphVector): Don't draw empty vectors.
13996 2006-06-30 Lillian Angel <langel@redhat.com>
13997 Tom Fitzsimmons <fitzsim@redhat.com>
13999 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
14000 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14001 Added current_group, groupMap fields. Added definitions for
14002 new native functions.
14003 (create): Removed FIXME. Added code to create the check button or
14004 radio button when appropriate. Updated groupMap to contain
14005 pointer to the newly created group.
14006 (setCheckboxGroup): Added code to handle all cases. Removing
14007 a button from a group, adding a button to a group, or changing the
14009 (dispose): Changed to call super.
14010 * include/Makefile.am: Removed reference to
14011 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14012 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14013 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14015 * native/jni/gtk-peer/Makefile.am: Removed reference to
14016 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14017 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14020 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
14021 Renamed to checkbox_get_widget.
14022 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
14023 Changed to use checkbox_get_widget.
14024 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
14026 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14027 Changed to use checkbox_get_widget.
14028 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14030 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14031 New function. Creates checkbutton without a group.
14032 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14033 Creates a radio button in a group, using groupPointer. If groupPointer
14034 is 0, then a new group is created.
14035 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14036 check button to a group, using groupPointer. A radio button is created
14037 in its place. If groupPointer is 0, then a new group is created.
14038 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14039 radio button is removed from the group. A check button is created in
14041 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14042 radio button is moved to a new group.
14044 2006-06-30 Mark Wielaard <mark@klomp.org>
14046 * configure.ac: Move standard.omit creation after dirs are created.
14047 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14048 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14049 (clean-local): Remove standard.omit.
14050 * lib/gen-classlist.sh.in: Use omit file in build dir.
14051 * lib/standard.omit.in: Make exclude regex more explicit.
14053 2006-06-30 Roman Kennke <kennke@aicas.com>
14055 * lib/Makefile.am: Added Escher dir/jar to classpath when
14057 * configure.ac: Moved handling of standard.omit to a place
14058 where it actually gets executed.
14060 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
14062 * java/awt/TextComponent.java: Reformatted source code,
14063 * java/awt/TextField.java: Likewise.
14065 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
14067 * java/lang/Thread.java:
14068 (getState()): Handle case of no VMThread
14071 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
14073 * java/lang/Thread.java,
14074 * java/lang/VMThread.java:
14075 Reverted patch from 2006-06-28.
14077 2006-06-29 Roman Kennke <kennke@aicas.com>
14079 * gnu/java/awt/peer/x/GLGraphics.java,
14080 * gnu/java/awt/peer/x/ImageConverter.java,
14081 * gnu/java/awt/peer/x/KeyboardMapping.java,
14082 * gnu/java/awt/peer/x/XEventPump.java,
14083 * gnu/java/awt/peer/x/XFontPeer.java,
14084 * gnu/java/awt/peer/x/XFontPeer2.java,
14085 * gnu/java/awt/peer/x/XFramePeer.java,
14086 * gnu/java/awt/peer/x/XGraphics.java,
14087 * gnu/java/awt/peer/x/XGraphics2D.java,
14088 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14089 * gnu/java/awt/peer/x/XGraphicsDevice.java,
14090 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14091 * gnu/java/awt/peer/x/XImage.java,
14092 * gnu/java/awt/peer/x/XLightweightPeer.java,
14093 * gnu/java/awt/peer/x/XToolkit.java,
14094 * gnu/java/awt/peer/x/XWindowPeer.java,
14095 * gnu/java/awt/peer/x/fonts.properties: New files.
14096 * lib/standard.omit: Removed.
14097 * lib/standard.omit.in: Added.
14098 * configure.ac: Added configure option --with-escher. Added some
14099 configury for omitting gnu.java.awt.peer.x package when
14100 this option is not specified.
14102 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
14104 * javax/swing/JComponent.java
14105 (JComponent()): Initialize the locale here, not the default locale,
14106 (getDefaultLocale): If null, return Locale.getDefault(),
14107 (setDefaultLocale): Added API docs.
14109 2006-06-29 Tania Bento <tbento@redhat.com>
14111 * java/awt/Container.java
14112 (applyComponentOrientation): Implemented method.
14114 2006-06-29 Gary Benson <gbenson@redhat.com>
14116 * java/io/File.java (listRoots): Merge security checks from libgcj.
14118 2006-06-29 Gary Benson <gbenson@redhat.com>
14120 * java/io/FilePermission.java (implies): Work when path is "/".
14122 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
14124 * java/lang/Thread.java:
14125 (Thread(ThreadGroup,Runnable,String,long)): Update
14127 (Thread(VMThread,String,int,boolean)): Likewise.
14128 (join(long,int)): Likewise.
14129 (resume()): Likewise.
14130 (sleep(long,int)): Likewise.
14131 (start()): Likewise.
14132 (stop()): Likewise.
14133 (suspend()): Likewise.
14135 (getState()): Return either state or use VMThread.
14136 * java/lang/VMThread.java:
14137 (getState()): Added default implementation to return
14140 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
14142 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14143 GdkPixbuf correctly on big endian systems. Fix a typo in the little
14144 endian swapping code.
14146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14147 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14148 without alpha information correctly on big endian systems.
14150 2006-06-28 Roman Kennke <kennke@aicas.com>
14152 * gnu/java/net/local/LocalSocket.java
14153 (setSoTimeout): Don't throw exception and ignore request.
14154 (getSoTimeout): Don't throw exception and always return 0.
14156 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14158 * javax/swing/JComponent.java
14159 (getRegisteredKeyStrokes): Implemented.
14161 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14163 * javax/swing/JComponent.java
14164 (verifyInputWhenFocusTarget): Initialise to true.
14166 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14168 * java/beans/VetoableChangeSupport.java
14169 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14171 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14172 for null property name and/or listener,
14173 * javax/swing/JComponent.java
14174 (getListeners): Handle VetoableChangeListener.class as a special case,
14175 (getVetoableChangeListeners): Fetch these from the
14176 vetoableChangeSupport object.
14178 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14180 * javax/swing/JComponent.java
14181 (componentPopupMenu): New field,
14182 (inheritsPopupMenu): New field,
14183 (getInheritsPopupMenu): Implemented,
14184 (setInheritsPopupMenu): Likewise,
14185 (getComponentPopupMenu): Likewise,
14186 (setComponentPopupMenu): Likewise,
14187 * javax/swing/JLabel.java
14188 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14190 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14192 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14193 (toString): New method.
14194 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14195 (toString): New method.
14196 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14197 (toString): New method.
14198 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14199 Handle case when Q is null.
14200 (decodePrivateKey): Likewise.
14201 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14203 (decodePublicKey): Likewise.
14204 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14205 aliases for all block ciphers.
14206 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14207 (engineDoPhase): Compute fully the shared secret.
14208 (checkState): New method.
14210 (engineGenerateSecret()): Reset key-agreement before returning.
14211 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14212 Reset key-agreement before returning.
14213 (engineGenerateSecret(String)): Reset key-agreement before returning.
14214 (engineInit(Key,SecureRandom)): Call reset() before returning.
14215 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14216 (engineInit): Replace printing to System.out with conditional logging.
14217 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14218 When the key-size is not specified, attempt best effort to find a suitable
14219 value among those advertised by the cipher before setting it to the length
14220 of provided key material.
14222 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14224 * javax/swing/table/DefaultTableColumnModel.java
14225 (changeEvent): Don't initialize yet, removed FIXME,
14226 (fireColumnModelChanged): Initialize changeEvent if necessary.
14228 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14230 * java/lang/Thread.java:
14231 (getAllStackTraces()): Implemented.
14232 (getStackTrace()): Likewise.
14234 2006-06-27 Tania Bento <tbento@redhat.com>
14236 * java/awt/Component.java
14237 (setComponentOrientation): NPE should not be thrown.
14239 2006-06-27 Tom Tromey <tromey@redhat.com>
14241 * configure.ac: Create gjar, gnative2ascii, gserialver.
14242 * tools/gappletviewer.in: Quote $@.
14243 * tools/gkeytool.in: Likewise.
14244 * tools/gjarsigner.in: Likewise.
14245 * tools/gjar.in: New file.
14246 * tools/gnative2ascii.in: Likewise.
14247 * tools/gserialver.in: Likewise.
14248 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14250 (bin_SCRIPTS): Likewise.
14252 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14254 * java/lang/management/ThreadMXBean.java:
14255 (getThreadInfo(long[])): Corrected return type.
14256 (getThreadInfo(long[], int)): Likewise.
14258 2006-06-27 Mark Wielaard <mark@klomp.org>
14260 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14261 nothing when listener is null.
14262 (removeFlavorListener): Likewise.
14264 * java/awt/datatransfer/DataFlavor.java
14265 (getRepresentationClassFromMime): Renamed to
14266 getRepresentationClassFromMimeThrows.
14267 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14268 (isRepresentationClassSerializable): Likewise.
14269 (isFlavorJavaFileListType): Likewise and check primary and
14271 (getParameter): Parameters are separated by semi-colons.
14272 (DataFlavor(Class,String,String)): Do some sanity checks.
14273 (DataFlavor(String,String,ClassLoader)): Call
14274 getRepresentationClassFromMimeThrows.
14275 (DataFlavor(String)): Likewise.
14276 (equals(DataFlavor)): Special case primary type text and charset
14279 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14281 * java/awt/Component.java
14282 (setName): Fire required PropertyChangeEvent,
14283 * java/awt/Label.java
14284 (getText): Removed redundant brackets,
14285 (generateName): New method (override),
14286 (nextLabelNumber): New field,
14287 (getUniqueLong): New method.
14289 2006-06-27 Roman Kennke <kennke@aicas.com>
14291 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14292 (createImage): Delegate this to the parent.
14293 (handleEvent): Only handle PAINT/UPDATE events when the
14294 component is actually showing.
14295 (hide): Repaint the parent after hiding a component.
14296 (prepareImage): Have only one return point.
14297 (setVisible): Delegate to show() and hide().
14298 (createVolatileImage): Added null check to avoid NPE.
14300 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14302 * java/awt/Label.java: Reformatted source code.
14304 2006-06-27 Roman Kennke <kennke@aicas.com>
14306 * java/awt/image/BufferedImage.java
14307 (getSource): Use a fixed DirectColorModel to deliver the
14308 RGB pixels to the ImageConsumer.
14310 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14312 * java/awt/Point.java
14313 (setLocation(double, double)): Round to nearest integer coordinates.
14315 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14317 * java/awt/Component.java
14318 (minSizeSet): New field,
14319 (maxSize): Likewise,
14320 (maxSizeSet): Likewise,
14321 (isMaximumSizeSet): Implemented,
14322 (isMinimumSizeSet): Likewise,
14323 (isPreferredSizeSet): Likewise,
14324 (setMaximumSize): Likewise,
14325 (setMinimumSize): Likewise,
14326 (setPreferredSize): Likewise.
14328 2006-06-27 Roman Kennke <kennke@aicas.com>
14330 * javax/imageio/spi/IIORegistry.java
14331 (IIORegistry): Added BMP codec.
14333 2006-06-27 Mark Wielaard <mark@klomp.org>
14335 * javax/swing/JComponent.java
14336 (firePropertyChange(String,char,char)): New override method.
14338 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14340 * java/lang/Thread.java:
14341 (getState()): New method.
14342 * java/lang/management/ClassLoadingMXBean.java:
14343 Corrected class documentation.
14344 * java/lang/management/ManagementFactory.java:
14345 Added new temporary marked stub to get thread bean.
14346 * java/lang/management/OperatingSystemMXBean.java:
14347 Corrected class documentation.
14348 * java/lang/management/RuntimeMXBean.java:
14349 Corrected class documentation.
14350 * java/lang/management/ThreadInfo.java,
14351 * java/lang/management/ThreadMXBean.java:
14353 * vm/reference/java/lang/VMThread.java:
14354 (getState()): New method.
14355 * vm/reference/java/lang/management/VMThreadInfo.java:
14358 2006-06-26 Sven de Marothy <sven@physto.se>
14360 * gnu/javax/imageio/gif/GIFFile.java
14361 * gnu/javax/imageio/gif/GIFImageReader.java
14362 * gnu/javax/imageio/gif/GIFImageSpi.java
14363 * gnu/javax/imageio/gif/GIFStream.java
14365 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14367 2006-06-26 Tania Bento <tbento@redhat.com>
14369 * java/awt/List.java
14370 (List): A list should have at least 4 visible rows.
14371 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14372 not an IllegalArgumentException.
14373 (makeVisible): Should not throw an IllegalArgumentException if
14374 the specified index is out of range.
14376 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14378 * javax/swing/JList.java
14379 (getNextMatch): Reimplemented to perform a circular search for the
14382 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14384 * javax/swing/JList.java
14385 (init): Set default value for visibleRowCount to 8,
14386 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14388 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14390 * javax/swing/JList.java
14391 (valueIsAdjusting): Removed,
14392 (init): Removed initialization of valueIsAdjusting field,
14393 (getValueIsAdjusting): Fetch value from selection model,
14394 (setValueIsAdjusting): Store value in selection model.
14396 2006-06-26 Roman Kennke <kennke@aicas.com>
14398 * javax/swing/plaf/basic/BasicListUI.java
14399 (installKeyboardActions): Rewritten to fit with the
14400 ActionMap/InputMap architecture.
14401 (uninstallKeyboardActions): Implemented.
14402 (ListAction): Made private. Added TODO for splitting
14403 up this bulk Action.
14404 (ListAction.ListAction): New constructor. This one
14405 takes a cmd parameter to be installed as actionCommand.
14407 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14409 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14410 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14412 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14414 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14415 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14416 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14417 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14418 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14419 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14420 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14421 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14422 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14423 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14424 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14425 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14426 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14427 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14428 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14429 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14430 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14431 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14432 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14433 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14434 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14435 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14436 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14437 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14438 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14439 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14440 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14441 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14442 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14443 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14444 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14445 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14446 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14447 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14448 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14449 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14450 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14451 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14452 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14453 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14454 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14455 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14456 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14457 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14458 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14459 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14460 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14461 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14462 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14463 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14464 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14465 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14466 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14467 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14468 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14469 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14470 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14471 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14472 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14473 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14474 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14475 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14476 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14477 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14478 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14479 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14480 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14481 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14482 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14483 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14484 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14485 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14486 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14487 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14488 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14489 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14490 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14491 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14492 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14493 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14494 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14495 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14497 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14499 * javax/swing/JList.java
14500 (setLayoutOrientation): Check for valid argument.
14502 2006-06-26 Roman Kennke <kennke@aicas.com>
14504 * javax/swing/JComponent.java
14505 (firePropertyChange(String,int,int)): New method. Overrides
14506 Component method and makes it public.
14507 (firePropertyChange(String,boolean,boolean)): Likewise.
14509 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14511 * gnu/java/security/.cvsignore: New File.
14512 * gnu/java/security/Configuration.java.in: New File.
14513 * gnu/java/security/Properties.java: Change import from
14514 gnu.classpath.Configuration to gnu.java.security.Configuration.
14515 * gnu/java/security/hash/Whirlpool.java: Likewise.
14516 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14517 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14518 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14519 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14520 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14521 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14522 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14523 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14524 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14525 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14526 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14527 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14528 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14529 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14530 * gnu/java/security/util/Base64.java: Likewise.
14531 * gnu/java/security/x509/X509CRL.java: Likewise.
14532 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14533 * gnu/java/security/x509/ext/Extension.java: Likewise.
14534 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14535 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14536 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14537 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14538 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14539 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14540 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14541 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14542 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14543 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14544 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14545 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14546 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14547 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14548 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14549 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14550 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14551 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14552 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14553 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14554 * gnu/javax/crypto/pad/TBC.java: Likewise.
14555 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14556 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14557 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14558 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14559 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14560 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14561 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14562 * gnu/javax/security/auth/login/GnuConfiguration.java
14563 (getAppConfigurationEntry): Change reference to
14564 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14565 (getConfigFromUserHome): Likewise.
14566 (getInputStreamFromURL): Likewise.
14567 (getUserHome): Likewise.
14569 (processSecurityProperties): Likewise.
14570 (processSystemProperty): Likewise.
14571 (processUserHome): Likewise.
14572 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14573 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14576 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14578 * javax/swing/text/DefaultCaret.java (isActive): New method.
14580 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14582 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14583 * java/lang/management/ClassLoadingMXBean.java:
14584 (getTotalLoadedClassCount()): Corrected return type.
14585 (getUnloadedClassCount()): Likewise.
14586 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14587 (getUnloadedClassCount()): Likewise.
14589 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14591 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14592 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14593 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14594 * gnu/javax/crypto/cipher/Square.java: Likewise.
14595 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14596 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14597 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14598 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14599 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14600 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14601 * gnu/javax/crypto/cipher/DES.java: Likewise.
14602 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14603 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14604 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14605 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14606 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14608 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14610 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14611 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14612 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14613 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14614 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14615 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14616 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14617 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14618 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14619 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14620 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14621 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14622 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14624 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14627 * doc/vmintegration.texinfo:
14628 Updated with information on new VM interface.
14629 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14630 * java/lang/management/ClassLoadingMXBean.java:
14631 New files implementing the class loading bean.
14632 * java/lang/management/ManagementFactory.java:
14633 (getClassLoadingMXBean()): Implemented.
14634 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14635 New VM interface file.
14637 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14639 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14640 (isBootClassPathSupported()): Use SystemProperties
14641 rather than System.getProperty.
14643 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14645 * gnu/java/security/Properties.java: Source formatting.
14646 * gnu/java/security/Registry.java: Likewise.
14648 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14650 * gnu/java/security/util/Util.java: Source formatting.
14651 * gnu/java/security/util/SimpleList.java: Likewise.
14652 * gnu/java/security/util/Sequence.java: Likewise.
14653 * gnu/java/security/util/PRNG.java: Likewise.
14654 * gnu/java/security/util/ExpirableObject.java: Likewise.
14655 * gnu/java/security/util/Base64.java: Likewise.
14656 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14657 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14658 * gnu/java/security/sig/ISignature.java: Likewise.
14659 * gnu/java/security/sig/BaseSignature.java: Likewise.
14660 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14661 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14662 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14663 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14664 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14665 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14666 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14667 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14668 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14669 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14670 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14671 * gnu/java/security/provider/Gnu.java: Likewise.
14672 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14673 * gnu/java/security/prng/RandomEvent.java: Likewise.
14674 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14675 * gnu/java/security/prng/MDGenerator.java: Likewise.
14676 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14677 * gnu/java/security/prng/IRandom.java: Likewise.
14678 * gnu/java/security/prng/EntropySource.java: Likewise.
14679 * gnu/java/security/prng/BasePRNG.java: Likewise.
14681 2006-06-23 Francis Kung <fkung@redhat.com>
14683 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14684 (Harness.actionPerformed): Process additional options.
14685 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14686 (J2dBenchmarkWrapper.setAlias): New method.
14687 (J2dBenchmarkWrapper.setComposite): New method.
14688 (J2dBenchmarkWrapper.setFill): New method.
14689 (J2dBenchmarkWrapper.setRotation): New method.
14690 (J2dBenchmarkWrapper.setShear): New method.
14691 (J2dBenchmarkWrapper.setStroke): New method.
14692 (J2dBenchmarkWrapper.setTranslation): New method.
14693 (run): Add additional options to GUI.
14694 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14695 Added protected fields for various options.
14696 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14697 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14698 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14699 (getNextColor): Renamed to setRandom.
14700 (init): Load additional image for texturing if needed.
14701 (loadBufferedImage): New method.
14702 (main): Accept additional command-line switches.
14703 (prepareGraphics): New method.
14704 (resetGraphics): New method.
14705 (runTestSuite): Accept additional image-processing options.
14706 (setRandom): Renamed from getNextColor; generate various random options
14707 (test_drawArc): Rename getNextColor to setRandom.
14708 (test_drawCubic): Likewise.
14709 (test_drawEllipse): Likewise.
14710 (test_drawGeneralPath): Likewise.
14711 (test_drawImage): Likewise.
14712 (test_drawLine): Likewise.
14713 (test_drawQuadCurve): Likewise.
14714 (test_drawRectangle): Likewise.
14715 (test_drawRoundRectangle): Likewise.
14716 (test_drawTransparentImage): Likewise.
14717 (test_fillArc): Rename getNextColor to setRandom.
14718 (test_fillEllipse): Likewise.
14719 (test_fillGeneralPath): Likewise.
14720 (test_fillRectangle): Likewise.
14721 (test_fillRoundRectangle): Likewise.
14722 (TestRecorder.getAverage): Round the average time.
14724 2006-06-23 Tom Tromey <tromey@redhat.com>
14726 * java/util/logging/LoggingMXBean.java: New file.
14727 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14728 (loggingBean): New field.
14729 (getLoggingMXBean): New method.
14731 2006-06-23 Tania Bento <tbento@redhat.com>
14733 * java/awt/TextField.java
14734 (TextField): Default number of columns should be 0, not 1.
14735 (TextField): Check if number of columns given as argument
14736 is valid (>= 0) and set the number of columns accordingly.
14737 (TextField): Check if the string passed is null. If it is,
14738 set columns to 0, else columns is set to the length of
14741 2006-06-23 Roman Kennke <kennke@aicas.com>
14743 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14744 (InternalFramePropertyChangeListener.propertyChange):
14745 Don't call getPropertyName() repeatedly. Added null checks
14746 to avoid NPEs. Call closeFrame() if the closed property
14749 2006-06-23 Roman Kennke <kennke@aicas.com>
14751 * javax/swing/JInternalFrame.java
14752 (maxTransition): Removed.
14753 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14754 Don't initialize storedBounds here.
14755 (dipose): Rewritten to correctly dispose the JInternalFrame.
14756 (getDesktopIcon): Don't initialize desktopIcon here.
14757 (getLayer): Delegate to JLayeredPane.getLayer().
14758 (getNormalBounds): Return bounds when storedBounds == null,
14759 otherwise storedBounds.
14760 (hide): Don't change selection. Also hide the desktopIcon.
14761 (moveToBack): Call getParent() only once.
14762 (moveToFront): Call getParent() only once.
14763 (pack): Call validate() to make sure that the layout is
14764 propagated to the children.
14765 (setClosed): Fire InternalFrameEvent first, before the
14767 (setJMenuBar): Fire PropertyChangeEvent for this property.
14768 (setLayer): Delegate to JLayeredPane.
14769 (setLayeredPane): Check for null and throw IllegalArgumenException.
14770 (setMaximum): Remove handling of maxTransition and normalBounds.
14771 Should probably be done in the UI.
14772 (setNormalBounds): Store Rectangle object directly, not a copy.
14773 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14774 adding the RootPane doesn't add it to the contentPane.
14775 Fire PropertyChangeEvent.
14776 (setSelected): Added condition for when this property must not
14778 (show): Don't ask the DesktopPane to select the frame. Moved
14779 code around to fire InternalFrameEvent before actually calling
14780 super.show(). Also make the desktopIcon visible.
14781 (setTitle): Fire PropertyChangeEvent unconditionally.
14783 2006-06-23 Roman Kennke <kennke@aicas.com>
14785 * javax/swing/JLayeredPane.java
14786 (getPosition): Moved code around to avoid unnecessary method calls.
14787 (setPosition): Delegate to setLayer().
14788 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14789 (insertIndexForLayer(Component,int,int)): New helper method
14790 to support the use of setComponentZOrder() which doesn't remove
14791 the component and thus the insertIndexForLayer must ignore
14792 the component to be moved to get the index right.
14793 (setLayer): Added check to prevent unnecessary execution of
14794 method body. Changed to update the component order here.
14795 Added repaint() to make sure that the update becomes visible.
14796 (addImpl): Call setLayer() only when a constraint has been specified.
14797 Validate and repaint the JLayeredPane.
14799 2006-06-23 Roman Kennke <kennke@aicas.com>
14801 * java/awt/Container.java
14802 (getComponentZOrder): Use ncomponents instead of
14803 component.length so that we don't consider the empty space
14804 after the last component.
14806 2006-06-22 Roman Kennke <kennke@aicas.com>
14808 * javax/swing/JComponent.java
14809 (vetoableChangeSupport): New field.
14810 (removeVetoableChangeListener): Rewritten to use
14811 vetoableChangeSupport.
14812 (addVetoableChangeListener): Rewritten to use
14813 vetoableChangeSupport.
14814 (fireVetoableChange): Rewritten to use
14815 vetoableChangeSupport.
14816 (addPropertyChangeListener): Removed. This is handled in
14818 (firePropertyChange(String,boolean,boolean)): Likewise.
14819 (firePropertyChange(String,char,char)): Likewise.
14820 (firePropertyChange(String,int,int)): Likewise.
14821 (revalidate): Don't do anything when the commponent has no
14824 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14826 * javax/swing/JLabel.java: Updated API docs.
14828 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14830 * java/awt/Insets.java: Updated copyright year.
14831 (toString): Changed string, removed a line from the
14834 2006-06-22 Roman Kennke <kennke@aicas.com>
14836 * javax/swing/text/AbstractDocument.java
14837 (AbstractDocument): Set the i18n document property.
14838 (removeImpl): Added checks for correct boundaries.
14840 2006-06-22 Roman Kennke <kennke@aicas.com>
14842 * javax/swing/text/PlainDocument.java
14843 (rootElement): Changed type to Element.
14844 (tabSize): Removed field. This is stored in the document properties
14846 (PlainDocument): Set tabSize property. Init rootElement without
14848 (insertUpdate): Rewritten. The previous implementation did not
14849 handle some corner cases properly and was a mess.
14850 (removeUpdate): Cast rootElement to BranchElement.
14852 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14854 * javax/swing/plaf/basic/BasicLabelUI.java
14855 (installKeyboardActions): Implemented,
14856 (uninstallKeyboardActions): Implemented,
14857 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14860 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14862 * javax/swing/JMenu.java:
14863 (removeAll): Added check for popupMenu not being null.
14865 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14867 * javax/swing/JLabel.java
14868 (getText): Updated API docs,
14869 (setText): Corrected the check for an unchanged value, and the update
14870 of the displayedMnemonicIndex.
14872 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14874 * javax/swing/JLabel.java
14875 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14877 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14878 where label text is null.
14880 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14882 * javax/swing/JLabel.java
14883 (setDisplayedMnemonic): Updated API docs,
14884 (getDisplayedMnemonic): Removed unnecessary type-cast,
14885 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14886 (getDisplayedMnemonicIndex): Updated API docs.
14888 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14890 * java/util/Collections (entrySet): Fixed compile error.
14892 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14894 * javax/swing/DefaultListSelectionModel.java
14895 (getSelectionMode): Updated API docs,
14896 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14897 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14898 setSelectionInterval(),
14899 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14900 SINGLE_INTERVAL_SELECTION cases.
14902 2006-06-21 Roman Kennke <kennke@aicas.com>
14904 * javax/swing/text/AbstractDocument.java
14905 (BranchElement.numChildren): New field.
14906 (BranchElement.BranchElement): Initialize children array with
14907 one element (that's the least number of elements that makes sense).
14908 Initialize numChildren.
14909 (BranchElement.children): Use numChildren as boundary.
14910 (BranchElement.getElement): Use numChildren as boundary.
14911 (BranchElement.getElementCount): Use numChildren as boundary.
14912 (BranchElement.getElementIndex): Use numChildren as boundary.
14913 (BranchElement.getEndOffset): Use numChildren as boundary.
14914 (BranchElement.getStartOffset): Use numChildren as boundary.
14915 (BranchElement.positionToElement): Use numChildren as boundary.
14916 (BranchElement.replace): Handle the children array more efficiently
14917 by growing in blocks > 1, and reusing space from removed elements.
14918 (LeafElement.startDelta): Removed.
14919 (LeafElement.endDelta): Removed.
14920 (LeafElement.LeafElement): Removed handling of deltas.
14921 (LeafElement.getEndOffset): Likewise.
14922 (LeafElement.getStartOffset): Likewise.
14923 * javax/swing/text/JTextComponent.java
14924 (setDocument): Added locking of the old document to avoid dangling
14925 notification beeing delivered while the document is beeing
14927 (getScrollableTracksViewportWidth): Fixed condition.
14928 * javax/swing/text/PlainDocument.java
14929 (createDefaultRoot): Create elements without AttributeSet.
14930 * javax/swing/text/rtf/RTFParser.java
14931 (parseFile): Handle slightly incorrect RTF gracefully.
14932 * javax/swing/text/rtf/RTFScanner.java
14933 (lastToken): New field.
14934 (readTokenImpl): New method.
14935 (peekToken): New method.
14936 (readToken): Changed to call readTokenImpl or return the lastToken
14937 if there's one present.
14939 2006-06-21 Tania Bento <tbento@redhat.com>
14941 * javax/swing/JMenu.java
14942 (remove): An IllegalArgumentException should be thrown if
14943 either index < 0 or if index > 0 and there are no menu
14944 components. Also, a check was added that ensures there are
14945 menu components before removing the desired the component.
14947 2006-06-21 Lillian Angel <langel@redhat.com>
14949 * javax/swing/text/DefaultCaret.java
14950 (install): Added check to prevent NPE.
14951 (propertyChange): Added checks to prevent NPEs.
14953 2006-06-21 Tania Bento <tbento@redhat.com>
14955 * javax/swing/JMenu.java
14956 Changed instantiation of popupMenu to null.
14957 (JMenu): Instantiated popupMenu to new JPopupMenu.
14958 (JMenu): Instantiated popupMenu to new JPopupMenu.
14959 (add): Changed popupMenu to getPopupMenu().
14960 (add): Changed popupMenu to getPopupMenu().
14961 (add): Changed popupMenu to getPopupMenu().
14962 (add): Changed popupMenu to getPopupMenu().
14963 (remove): Changed popupMenu to getPopupMenu().
14964 (remove): Changed popupMenu to getPopupMenu().
14965 (insert): Changed popupMenu to getPopupMenu().
14966 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14967 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14968 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14969 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14970 (getMenuComponents): Changed popupMenu to getPopupMenu().
14971 (getPopupMenu): Check first if popupMenu is null and if so,
14972 instantiate it to a new JPopupMenu and set the invoker.
14973 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14974 (popupMenuWillBecomeVisible): Component Listener should only
14975 be added to the root container if the root container is not
14976 null. This avoids a null pointer exception.
14978 2006-06-21 Tania Bento <tbento@redhat.com>
14980 * javax/swing/JMenu.java
14981 (JMenu): Delay should be set to 200, not default of 0.
14982 (JMenu): Delay should be set to 200, not default of 0.
14983 (JMenu): Delay should be set to 200, not default of 0.
14984 (JMenu): Delay should be set to 200, not default of 0.
14985 (remove): Added check that index >= 0 before removing
14987 (getItem): Return null if item count equals 0.
14988 (isTearOff): Should throw new error and not return false.
14989 (getMenuComponent): Return null if popupMenu is null or
14990 if there are no menu components.
14992 2006-06-21 Roman Kennke <kennke@aicas.com>
14994 * java/awt/font/FontRenderContext.java:
14995 (equals): Added special conditions for affineTransform beeing
14998 2006-06-21 Roman Kennke <kennke@aicas.com>
15000 * javax/swing/UIManager.java
15001 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
15002 must not be cleared.
15004 2006-06-21 Roman Kennke <kennke@aicas.com>
15006 * javax/swing/plaf/metal/MetalUtils.java
15007 (paintHorizontalGradient): Use paintHorizontalGradient2D when
15008 Graphics2D is available. Use fillRect instead of drawLine, this
15010 (paintVerticalGradient): Use paintHorizontalGradient2D when
15011 Graphics2D is available. Use fillRect instead of drawLine, this
15013 (paintHorizontalGradient2D): New method. Paints gradient
15014 using Graphics2D functions.
15015 (paintVerticalGradient2D): New method. Paints gradient
15016 using Graphics2D functions.
15018 2006-06-21 Roman Kennke <kennke@aicas.com>
15020 * javax/swing/plaf/basic/BasicButtonListener.java
15021 (propertyChange): Create a TextLayout and store it in the button
15022 when the 'text' property changes.
15023 * javax/swing/plaf/basic/BasicButtonUI.java
15024 (paintText): Call BasicGraphicsUtils utility method for
15025 drawing strings, instead of Graphics.drawString().
15026 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15027 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15028 cached text layouts as client properties in JComponents.
15029 (drawString(JComponent,Graphics,String,int,int)): New helper method.
15030 (drawStringUnderlineCharAt): New helper method.
15031 * javax/swing/plaf/basic/BasicMenuItemUI.java
15032 (PropertyChangeHandler.propertyChange): Update cached text layout
15033 when 'text' property changes. Use equals() instead of == for
15035 (paintText): Use new BasicGraphicsUtils methods for painting
15036 the cached text layout.
15037 (installListeners): Call super.installListeners() and remove
15038 the unneeded listener installs.
15039 (uninstallListeners): Call super.uninstallListeners() and remove
15040 the unneeded listener uninstalls.
15042 2006-06-21 Roman Kennke <kennke@aicas.com>
15044 * javax/swing/plaf/basic/BasicTextUI.java
15045 (PropertyChangeHandler.propertyChange): Handle document listener
15047 (background): Removed unneeded fields.
15048 (inactiveBackground): Remove unneeded fields.
15049 (installUI): Install the document listener. Slightly changed
15050 order of operations. Don't trigger modelChanged().
15051 (installDefaults): Only install properties when the
15052 current properties are null or instances of UIResource.
15053 (installListeners): Removed unnecessary listener installs.
15054 (installDocumentListeners): Removed unneeded method.
15055 (uninstallListeners): Removed unnecessary listener uninstalls.
15056 (modelChanged): Removed call to installDocumentListeners().
15057 * javax/swing/plaf/basic/BasicTextFieldUI.java
15058 (propertyChange): Update the colors by fetching them from
15059 SharedUIDefaults. Fixed conditions.
15060 * javax/swing/plaf/basic/SharedUIDefaults.java
15061 (getColor): New method.
15063 2006-06-21 Roman Kennke <kennke@aicas.com>
15065 * javax/swing/SizeSequence.java
15066 (SizeSequence): Initialize array with correct number of entries.
15068 2006-06-21 Roman Kennke <kennke@aicas.com>
15070 * javax/swing/JSplitPane.java
15071 (setDividerLocation): Substract divider size when computing
15074 2006-06-21 Roman Kennke <kennke@aicas.com>
15076 * javax/swing/JComponent.java
15077 (paintChildrenWithOverlap): Determine opaque property by
15078 calling the corresponding Component method, without requiring
15080 (paintChildrenOptimized): Removed old unneeded code.
15081 (paintImmediately): Use JComponent's convertRectangleToAncestor()
15082 method instead of SwingUtilities.convertRectangle(). This is
15085 2006-06-21 Roman Kennke <kennke@aicas.com>
15087 * javax/swing/AbstractButton.java
15088 (init): Call setText() instead of setting the property directly,
15089 so that listeners (especially in the UI) get notified.
15091 2006-06-21 Roman Kennke <kennke@aicas.com>
15093 * javax/swing/UIManager.java
15094 (MultiplexUIDefaults): New inner class.
15095 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15096 (userUIDefaults): Changed name to be lookAndFeelDefaults.
15097 (<cinit>): Call setLookAndFeel(String) instead of trying to load
15098 directly. Print stacktrace if something goes wrong.
15099 (get): Delegate call to currentUIDefaults.
15100 (getDefaults): If currentUIDefaults is null, then lazily instantiate
15102 (getUI): Delegate call to currentUIDefaults.
15103 (put): Delegate call to currentUIDefaults.
15104 (setLookAndFeel): Initialize currentUIDefaults with
15105 MultiplexUIDefaults. Set lookAndFeelDefaults.
15106 (setLookAndFeel): Use current thread's context classloader for
15109 2006-06-21 Roman Kennke <kennke@aicas.com>
15111 * javax/swing/text/GapContent.java
15112 (GapContentPosition.GapContentPosition): Replace
15113 Collections.binarySearch with call to local search() to make
15114 sure we find the first object that equals the searched object.
15115 (setPositionsInRange): Likewise.
15116 (adjustPositionsInRange): Likewise.
15117 (search): New helper method.
15119 2006-06-21 Gary Benson <gbenson@redhat.com>
15121 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15122 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15123 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15125 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15127 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15128 APPLETVIEWER_EXECUTABLE to gappletviewer.
15130 2006-06-20 Tom Tromey <tromey@redhat.com>
15132 PR classpath/28095:
15133 * java/net/URL.java (URL): Throw MalformedURLException if a
15134 RuntimeException is caught. Chain exceptions.
15136 2006-06-20 Lillian Angel <langel@redhat.com>
15138 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15139 (create): Added check to prevent Seg Fault. Should not
15140 set the label if it is null.
15141 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15142 (setText): Changed to be a non-native function. Calls
15143 setNativeText if the String parameter is non-null.
15144 (setNativeText): Replaces old native setText function.
15145 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15147 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15148 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15149 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15150 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15152 2006-06-20 Lillian Angel <langel@redhat.com>
15154 * javax/swing/text/JTextComponent.java
15155 (AccessibleJTextComponent): Rewrote all javadocs
15156 for this inner class.
15158 2006-06-20 Francis Kung <fkung@redhat.com>
15160 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15161 Changed many members to be protected.
15162 (J2dBenchmark): moved to init() instead.
15163 (init): New method.
15164 (main): Call init() after creating object
15165 (testComplete): New method.
15166 (test_drawArc): Use maxTests varialbe instead of constant.
15167 (test_drawCubicCurve): Likewise.
15168 (test_drawEllipse): Likewise.
15169 (test_drawGeneralPath): Likewise.
15170 (test_drawImage): Likewise.
15171 (test_drawLine): Likewise.
15172 (test_drawQuadCurve): Likewise.
15173 (test_drawRectangle): Likewise.
15174 (test_drawRoundRectangle): Likewise.
15175 (test_drawTransparentImage): Likewise.
15176 (test_fillArc): Likewise.
15177 (test_fillEllipse): Likewise.
15178 (test_fillGeneralPath): Likewise.
15179 (test_fillRectangle): Likewise.
15180 (test_fillRoundRectangle): Likewise.
15181 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15182 (GraphicsTest.runSetWithClipping): Likewise.
15183 (GraphicsTest.runSetZeroClipping): Likewise.
15184 (GraphicsTest.run): Added checks for more option flags.
15185 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15188 2006-06-20 Roman Kennke <kennke@aicas.com>
15190 * javax/swing/text/GapContent.java
15191 (GapContentPosition.mark): New field.
15192 (GapContentPosition.index): Removed.
15193 (GapContentPosition.GapContentPosition): Changed to take the
15194 real offset as parameter. Added handling of reference counter.
15195 Try to cleanup before creating new instances.
15196 (getOffset): Delegate to the Mark method with same name.
15197 (Mark): New class, encapsulating a mark.
15198 (positionMarks): Removed field.
15199 (numMarks): Removed field.
15200 (marks): New field.
15201 (queueOfDeath): New field.
15202 (GapContent): Removed init of old fields, added init of new fields.
15203 (createPosition): Added check for validity of arguments.
15204 Create GapContentPosition directly with offset.
15205 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15206 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15207 (shiftGapStartDown): Call resetMarksAtZero().
15208 (shiftGapEndUp): Call resetMarksAtZero().
15209 (replace): Don't call resetMarksAtZero().
15210 (setPositionInRange): Replaced by simpler algorithm, similar to
15211 adjustPositionsInRange.
15212 (adjustPositionsInRange): Adapted to use of Mark objects.
15213 (resetMarksAtZero): Reset all marks that point to zero instead
15214 of only the first one.
15215 (dumpMarks): Adjusted to dump Mark objects.
15216 (insertMark): Removed.
15217 (garbageCollect): New method. Cleans up the marks list.
15218 (binarySearch): Removed.
15220 2006-06-20 Lillian Angel <langel@redhat.com>
15222 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15223 (drawImage): Added call to updateColor because
15224 Cairo seems to lose the current color.
15226 2006-06-20 Gary Benson <gbenson@redhat.com>
15228 * java/awt/Toolkit.java: Add security check.
15229 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15230 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15232 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15234 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15235 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15236 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15237 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15238 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15239 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15240 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15241 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15242 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15243 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15244 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15245 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15246 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15247 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15248 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15249 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15250 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15251 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15252 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15254 2006-06-19 Lillian Angel <langel@redhat.com>
15256 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15257 (drawImage): Should always use getRGB to get the pixels.
15258 getData returns an incorrect array of pixels.
15260 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15262 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15263 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15264 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15265 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15266 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15267 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15268 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15269 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15270 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15271 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15272 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15273 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15274 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15275 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15276 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15277 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15278 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15279 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15280 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15281 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15282 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15283 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15284 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15285 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15286 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15287 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15288 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15289 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15290 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15291 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15292 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15293 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15294 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15295 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15296 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15297 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15299 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15301 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15303 2006-06-19 Roman Kennke <kennke@aicas.com>
15305 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15306 (drawImage): Clip volatile image correctly.
15307 (drawVolatileImage): Added arguments for clipping.
15308 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15309 (drawVolatileImage): Added arguments for clipping. Clip image
15311 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15313 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15316 * java/rmi/server/UID.java (constructor): Synchronized
15317 the whole constructor on the UID class.
15319 2006-06-19 Roman Kennke <kennke@aicas.com>
15321 * javax/swing/RepaintManager.java
15322 (addInvalidComponent): Only add component that are displayable,
15323 that have displayable parents and that have a validateRoot.
15324 Also, don't validate components that have a CellRendererPane
15327 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15329 * javax/swing/plaf/IconUIResource.java
15330 (IconUIResource): Throw IllegalArgumentException for null icon.
15332 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15335 * java/rmi/server/UID.java (constructor): First increment
15336 uidCounter, and then use the value.
15338 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15340 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15341 * java/awt/GridBagConstraints.java: Indent.
15343 2006-06-18 Tom Tromey <tromey@redhat.com>
15345 * native/jni/gconf-peer/.cvsignore: New file.
15347 2006-06-18 Tom Tromey <tromey@redhat.com>
15349 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15350 Also handle short options.
15352 2006-06-18 Jim Huang <jserv@kaffe.org>
15354 PR classpath/28076:
15355 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15358 2006-06-19 Mark Wielaard <mark@klomp.org>
15360 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15361 on gnu/java/util/prefs/gconf/%.class.
15362 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15363 chache typo, should be cache.
15364 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15366 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15368 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15369 Don't return a value for void function.
15370 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15372 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15373 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15375 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15376 Mark clazz ad unused.
15378 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15380 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15381 * gnu/java/security/hash/Tiger.java: Likewise.
15382 * gnu/java/security/hash/Sha512.java: Likewise.
15383 * gnu/java/security/hash/Sha384.java: Likewise.
15384 * gnu/java/security/hash/Sha256.java: Likewise.
15385 * gnu/java/security/hash/Sha160.java: Likewise.
15386 * gnu/java/security/hash/RipeMD160.java: Likewise.
15387 * gnu/java/security/hash/RipeMD128.java: Likewise.
15388 * gnu/java/security/hash/MD5.java: Likewise.
15389 * gnu/java/security/hash/MD4.java: Likewise.
15390 * gnu/java/security/hash/MD2.java: Likewise.
15391 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15392 * gnu/java/security/hash/Haval.java: Likewise.
15393 * gnu/java/security/hash/HashFactory.java: Likewise.
15394 * gnu/java/security/hash/BaseHash.java: Likewise.
15396 2006-06-18 Sven de Marothy <sven@physto.se>
15398 * java/awt/event/KeyEvent.java:
15399 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15400 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15401 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15403 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15405 * gnu/java/security/util/Prime2.java: Removed.
15406 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15407 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15408 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15409 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15410 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15411 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15412 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15413 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15414 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15415 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15416 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15417 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15419 2006-06-18 Sven de Marothy <sven@physto.se>
15421 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15422 * java/awt/font/TextMeasurer.java: Fix copyright date,
15423 remove commented-out code.
15425 2006-06-18 Sven de Marothy <sven@physto.se>
15427 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15428 (FreetypeGlyphVector, clone): Implement cloning.
15429 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15430 * java/awt/font/TextMeasurer.java: Implement.
15431 * java/awt/font/LineBreakMeasurer.java:
15432 Reimplement to use TextMeasurer.
15433 * java/awt/font/TextLayout.java
15435 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15436 (getText, getFont): New private static methods.
15437 (setCharIndices): New method.
15438 * java/text/AttributedString.java
15439 (AttributedString): Fix constructor to stop at end point.
15441 2006-06-17 Tom Tromey <tromey@redhat.com>
15443 * lib/gen-classlist.sh.in: Search all top-level directories, not
15444 just 'org', in external.
15446 2006-06-12 Mario torre <neugens at limasoftware.net>
15448 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15449 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15450 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15451 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15453 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15454 * configure.ac: update to introduce new files. Added options
15455 to build gconf native peer used by the GConf preference backend.
15456 * include/Makefile.am: update to introduce new files.
15457 * native/jni/Makefile.am update to introduce new files.
15458 * scripts/check_jni_methods.sh: added three new ignored file
15460 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15461 build gconf-peer shared library.
15463 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15465 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15466 Use Integer.valueOf() instead of new Integer().
15467 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15468 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15469 * gnu/java/security/util/Sequence.java: Likewise.
15470 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15471 * gnu/java/security/x509/X509Certificate.java: Likewise.
15472 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15473 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15474 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15475 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15476 * gnu/javax/crypto/cipher/DES.java: Likewise.
15477 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15478 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15479 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15480 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15481 * gnu/javax/crypto/cipher/Square.java: Likewise.
15482 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15483 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15484 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15485 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15486 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15487 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15488 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15489 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15490 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15491 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15492 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15493 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15494 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15495 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15496 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15497 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15498 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15499 * gnu/javax/crypto/mode/EAX.java: Likewise.
15500 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15501 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15502 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15503 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15504 * java/security/cert/X509CertSelector.java: Likewise.
15506 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15508 * javax/management/DynamicMBean.java:
15509 (setAttribute): Fixed to return void.
15510 * javax/management/MBeanFeatureInfo.java:
15513 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15515 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15516 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15517 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15518 into engineInitHandler and reuse the code in
15519 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15520 (engineInitHandler): New method.
15521 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15522 null, use random or default information when possible.
15524 2006-06-16 Francis Kung <fkung@redhat.com>
15526 * examples/gnu/classpath/examples/swing/Demo.java:
15527 (mkButtonBar): Rename FillRect to JNIOverhead.
15528 (mkMenuBar): Rename FillRect to JNIOverhead.
15529 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15530 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15531 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15532 Moved from old FillRect.
15534 2006-06-16 Tom Tromey <tromey@redhat.com>
15536 * tools/.cvsignore: Added new tool names.
15538 2006-06-16 Keith Seitz <keiths@redhat.com>
15540 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15541 instantiation so that EventManager is created when getDefault
15543 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15546 2006-06-16 Keith Seitz <keiths@redhat.com>
15548 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15549 (_initCount): New field.
15550 (Jdwp): Don't set isDebugging until fully initialized.
15551 (subcomponentInitialized): New method.
15552 (run): Wait for PacketProcessor and JdwpConnection to
15553 startup, then set isDebugging, and then let this thread
15555 * gnu/classpath/jdwp/transport/JdwpConnection.java
15556 (run): Add synchronization notification.
15557 * gnu/classpath/jdwp/processor/PacketProcessor.java
15560 2006-06-16 Tom Tromey <tromey@redhat.com>
15562 * NEWS: Updated for JSR 166.
15564 2006-06-16 Tom Tromey <tromey@redhat.com>
15566 * lib/Makefile.am (compile_classpath): Added jsr166.
15567 * configure.ac: Added external/jsr166/Makefile.
15568 * external/Makefile.am (SUBDIRS): Added jsr166.
15569 * external/jsr166/Makefile.am: New file.
15570 * lib/gen-classlist.sh.in: Look in external/jsr166.
15572 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15574 * gnu/classpath/jdwp/event/ExceptionEvent:
15575 Added Object instance to javadoc in constructor
15576 * gnu/classpath/jdwp/event/MethodEntryEvent:
15578 * gnu/classpath/jdwp/event/MethodExitEvent:
15580 * gnu/classpath/jdwp/event/SingleStepEvent:
15583 2006-06-16 Tom Tromey <tromey@redhat.com>
15585 Imported JSR 166 reference implementation:
15586 * .classpath: Added external/jsr166.
15587 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15588 * java/util/AbstractQueue.java: Removed.
15589 * java/util/Queue.java: Removed.
15590 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15591 (runPeriodic): Added explicit cast.
15592 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15595 2006-06-16 Tom Tromey <tromey@redhat.com>
15597 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15599 (getCallerClass): Now static.
15600 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15602 2006-06-16 Lillian Angel <langel@redhat.com>
15604 * java/awt/FileDialog.java
15605 (FileDialog): Added @since tag to API docs.
15606 (FileDialog): Likewise.
15607 (FileDialog): Likewise.
15608 * java/awt/Font.java:
15609 Added @since tag to TYPE1_FONT field docs.
15610 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15611 (isThumbRollover): Likewise.
15612 (setThumbRollover): Likewise.
15613 (getSupportsAbsolutePositioning): Likewise.
15614 * javax/swing/plaf/basic/BasicSliderUI.java:
15615 (isDragging): Likewise.
15617 2006-06-16 Lillian Angel <langel@redhat.com>
15619 * java/awt/FileDialog.java
15620 (FileDialog): Implemented.
15621 (FileDialog): Implemented.
15622 (FileDialog): Implemented.
15623 * java/awt/Font.java:
15624 Added TYPE1_FONT constant field.
15626 2006-06-16 Lillian Angel <langel@redhat.com>
15628 * java/awt/font/TextLayout.java:
15629 Removed unneeded imports.
15630 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15631 Added new thumbRollover field.
15632 (mouseMoved): Added code to set thumbRollover field.
15633 (isThumbRollover): New function.
15634 (setThumbRollover): New function.
15635 (getSupportsAbsolutePositioning): Implemented. This
15636 needs to be changed once the feature has been
15638 * javax/swing/plaf/basic/BasicSliderUI.java:
15639 Added new dragging field.
15640 (mouseDragged): Initialized dragging field.
15641 (isDragging): New function.
15642 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15643 (focusGained): Marked as not implemented.
15644 (focusLost): Likewise.
15646 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15648 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15649 Added check for null ThreadId to avoid null pointer
15652 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15654 * javax/swing/DefaultComboBoxModel.java
15655 (removeElementAt): Set new selected item by calling setSelectedItem().
15657 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15659 * javax/swing/DefaultButtonModel.java
15660 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15662 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15664 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15665 (ListDataEvent): Handle case where index0 > index1,
15666 (toString): Implemented.
15668 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15670 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15671 (update): Added subexpression to if-statement.
15673 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15675 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15676 (installDefaults): Removed unneccessary code.
15677 (paint): Removed complex if-cascade, revert to default icon if
15678 icon property is not set.
15679 (getPreferredSize): New method.
15681 2006-06-16 Roman Kennke <kennke@aicas.com>
15684 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15685 (drawImage): Don't use setClip() but instead clipRect() to
15686 intersect the current clip with a new one.
15688 2006-06-15 Tom Tromey <tromey@redhat.com>
15690 * scripts/sanitize-jsr166: New file.
15691 * external/jsr166/IMPORTING: New file.
15692 * vm/reference/sun/reflect/Reflection.java: New file.
15693 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15694 * vm/reference/sun/misc/Unsafe.java: ...here.
15696 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15698 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15699 gjarsigner and keytool to gkeytool.
15700 * doc/tools.texinfo: Add note about tool exectable names.
15701 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15702 jarsigner to gjarsigner and keytool to gkeytool.
15703 * tools/appletviewer.in: Rename ...
15704 * tools/gappletviewer.in: New file.
15705 * tools/jarsigner.in: Rename ...
15706 * tools/gjarsigner.in: New file.
15707 * tools/keytool.in: Rename ...
15708 * tools/gkeytool.in: New file.
15709 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15711 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15713 * javax/management/AttributeList.java:
15714 Add serialization UID.
15715 * javax/management/DynamicMBean.java:
15717 * javax/management/JMRuntimeException.java:
15718 Add serialization UID and correct name
15719 of serialized field.
15720 * javax/management/MBeanInfo.java: New file.
15722 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15724 * javax/management/AttributeList.java,
15725 * javax/management/JMRuntimeException.java,
15726 * javax/management/RuntimeOperationsException.java:
15729 2006-06-15 Lillian Angel <langel@redhat.com>
15731 * java/awt/font/TextLayout.java:
15732 DEFAULT_CARET_POLICY changed to be public static final.
15734 2006-06-15 Tania Bento <tbento@redhat.com>
15736 * javax/swing/plaf/metal/MetalScrollButton.java
15737 (MetalScrollButton): Should set 'focusable' to false.
15739 2006-06-15 Tania Bento <tbento@redhat.com>
15741 * javax/swing/plaf/basic/BasicArrowButton.java
15742 (BasicArrowButton): Should set 'focusable' to false.
15743 (BasicArrowButton): Should set 'focusable' to false.
15745 2006-06-15 Mark Wielaard <mark@klomp.org>
15747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15748 (getGraphicsConfiguration): Return default screen device.
15749 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15751 (GtkVolatileImage): Record initiating component.
15752 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15753 (getDeviceConfiguration): Return configuration of image component.
15755 2006-06-15 Mark Wielaard <mark@klomp.org>
15757 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15760 2006-06-15 Mark Wielaard <mark@klomp.org>
15762 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15763 with null argument.
15765 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15767 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15768 (matches): Added explicit brackets to return statement.
15770 2006-06-15 Tania Bento <tbento@redhat.com>
15772 * javax/swing/JRadioButtonMenuItem.java
15773 (JRadioButtonMenuItem): Should set 'focusable' to false.
15775 2006-06-15 Tania Bento <tbento@redhat.com>
15777 * javax/swing/JCheckBoxMenuItem.java
15778 (JCheckBoxMenuItem): Should set 'focusable' to false.
15780 2006-06-15 Tania Bento <tbento@redhat.com>
15782 * javax/swing/AbstractButton.java:
15783 (AbstractButton): 'Focusable' should be set to true and not false.
15785 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15787 * java/lang/management/ManagementFactory.java:
15788 Add private constructor to prevent instance creation.
15789 * java/lang/management/ManagementPermission.java:
15792 2006-06-15 Francis Kung <fkung@redhat.com>
15794 * javax/swing/plaf/basic/BasicArrowButton.java:
15795 (BasicArrowButton): move client property for not triggering out
15797 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15798 (configureArrowButton): set client property for not triggering
15799 (installUI): set client property for not triggering
15800 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15801 (PopupHelper.mousePressed): check client property for triggering
15803 2006-06-15 Roman Kennke <kennke@aicas.com>
15806 * javax/swing/RepaintManager.java
15807 (blitBuffer): Substract coordinates the other way around.
15809 2006-06-15 Roman Kennke <kennke@aicas.com>
15812 * javax/swing/JComponent.java
15813 (paintImmediately2): Only paint component without double buffering
15814 when all of it's parents have also double buffering disabled.
15815 (isPaintingDoubleBuffered): New helper method.
15817 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15819 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15820 (draw(Shape)): Pass null transform to getPathIterator(),
15821 (getClip): Likewise,
15822 * gnu/java/print/PostscriptGraphics2D.java
15823 (drawStringShape): Pass null transform to getPathIterator(),
15824 (writeShape): Likewise,
15825 * java/awt/Shape.java: Small updates to API docs.
15827 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15829 * javax/naming/InitialContext.java:
15830 (list(javax.naming.Name)): Fixed generic type.
15831 (list(String)): Likewise.
15832 (listBindings(javax.naming.Name)): Likewise.
15833 (listBindings(String)): Likewise.
15835 2006-06-14 Roman Kennke <kennke@aicas.com>
15837 * javax/swing/plaf/basic/BasicComboBoxUI.java
15838 (getAccessibleChildrenCount): Implemented.
15839 (getAccessibleChild): Implemented.
15840 (isNavigationKey): Implemented.
15841 (KeyHandler.keyPressed): Implemented.
15843 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15845 * java/lang/management/ManagementPermission.java:
15846 Added serialization UID.
15847 * javax/management/Attribute.java: Likewise.
15848 * javax/management/MBeanException.java,
15849 * javax/management/ReflectionException.java:
15850 Added serialization UID and changed to extend
15851 javax.management.JMException.
15853 2006-06-14 Lillian Angel <langel@redhat.com>
15855 * java/awt/Component.java
15856 (ignoreOldMouseEvents): Made static.
15857 (translateEvent): Made static.
15858 * java/awt/TextComponent.java
15859 (ignoreOldMouseEvents): Made static.
15861 2006-06-14 Mark Wielaard <mark@klomp.org>
15863 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15865 (drawRect): Likewise.
15866 (fillRect): Likewise.
15868 2006-06-14 Lillian Angel <langel@redhat.com>
15870 * java/awt/Component.java
15871 (ignoreOldMouseEvents): New helper function.
15872 (translateEvent): Changed to be non-static and use new helper.
15873 * java/awt/TextComponent.java
15874 (ignoreOldMouseEvents): New helper function.
15876 2006-06-14 Roman Kennke <kennke@aicas.com>
15878 * javax/swing/RepaintManager.java
15879 (MERGE_REGIONS): New constant flag.
15880 (commitBuffer): Exclude the merging of regions by default. This
15881 was causing painting artifacts in some applications, especially
15882 when different areas of the GUI are updated synchronously.
15884 2006-06-14 Roman Kennke <kennke@aicas.com>
15886 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15887 New file. This is a benchmark for AWT 1.1 style graphics operations.
15888 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15889 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15891 2006-06-14 Tom Tromey <tromey@redhat.com>
15893 * java/io/File.java (getParent): Javadoc fix.
15895 2006-06-14 Tom Tromey <tromey@redhat.com>
15897 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15899 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15900 when index entry does not exist.
15902 2006-06-14 Tania Bento <tbento@redhat.com>
15904 * javax/swing/AbstractButton.java
15905 (AbstractButton): Set focusable to false, not true.
15907 2006-06-14 Tania Bento <tbento@redhat.com>
15909 * javax/swing/JMenuItem.java
15910 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15912 2006-06-14 Tania Bento <tbento@redhat.com>
15914 * javax/swing/JCheckBoxMenuItem.java
15915 (JCheckBoxMenuItem): Added check to set the selected state.
15917 2006-06-14 Roman Kennke <kennke@aicas.com>
15919 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15920 (cairoDrawLine): New native method.
15921 (cairoDrawRect): New native method.
15922 (cairoFillRect): New native method.
15923 (drawLine): Use special native method.
15924 (drawRect): Use special native method.
15925 (fillRect): Use special native method.
15926 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15927 (cairoDrawLine): New native method.
15928 (cairoDrawRect): New native method.
15929 (cairoFillRect): New native method.
15930 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15932 2006-06-14 Mark Wielaard <mark@klomp.org>
15934 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15935 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15936 cannot be allocated.
15938 2006-06-14 Tom Tromey <tromey@redhat.com>
15941 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15942 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15944 2006-06-14 Roman Kennke <kennke@aicas.com>
15946 * javax/swing/JComponent.java
15947 (isRepainting): New flag.
15948 (paintImmediately2): Set isRepainting flag.
15949 (getRoot): Removed obsolete method.
15950 (paintDoubleBuffered): Differenciate between paint calls from
15951 RepaintManager and from AWT refresh. Call
15952 RepaintManager.commitBuffer with this and local coordinates.
15953 (findOpaqueParent): Stop searching at heavyweight component. These
15955 (paintChildrenOptimized): Don't paint heavyweight children. These
15956 should care for themselves.
15957 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15958 should care for themselves.
15959 * javax/swing/RepaintManager.java
15960 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15962 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15963 toplevel windows only.
15964 (getRoot): Removed obsolete method.
15965 (commitBuffer): Blit buffer on nearest heavyweight.
15966 (blitBuffer): New helper method.
15967 (getHeavyweightParent): New helper method.
15968 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15969 * javax/swing/SwingUtilities.java
15970 (convertRectangleToAncestor): New helper method.
15972 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15974 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15975 Condition all trace/debug code based on Configuration.DEBUG.
15976 Use logger instead of STDOUT and ot STDERR.
15978 2006-06-13 Lillian Angel <langel@redhat.com>
15980 * native/plugin/gcjwebplugin.cc
15981 (NP_Initialize): Removed code to create whitelist file.
15982 (GCJ_New): Added code to create whitelist file.
15983 (plugin_user_trusts_documentbase): Fixed error message.
15985 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15987 * javax/swing/plaf/metal/MetalIconFactory.java
15988 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15989 prevent overwriting border,
15990 (VerticalSliderThumbIcon.gradientMask): Likewise.
15992 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15994 * javax/management/AttributeNotFoundException.java,
15995 * javax/management/InvalidAttributeValueException.java,
15996 * javax/management/JMException.java,
15997 * javax/management/MBeanException.java,
15998 * javax/management/OperationsException.java,
15999 * javax/management/ReflectionException.java:
16002 2006-06-13 Roman Kennke <kennke@aicas.com>
16004 * java/awt/Component.java
16005 (dispatchEvent): Handle events even when consumed (this might be
16006 picked up later in the dispatching chain).
16007 * javax/swing/plaf/basic/BasicLookAndFeel.java
16008 (PopupHelper.mousePressed): Don't consume event. Only close popup
16009 when target component isn't flagged as DONT_CANCEL_POPUP.
16010 (DONT_CANCEL_POPUP): New package private constant for flagging
16011 special components that don't trigger popup closing.
16012 * javax/swing/plaf/basic/BasicArrowButton.java
16013 (BasicArrowButton): Set client property for not triggering closing
16016 2006-06-13 Lillian Angel <langel@redhat.com>
16018 * java/awt/image/PixelGrabber.java
16019 (PixelGrabber): Added to API documentation.
16021 2006-06-13 Keith Seitz <keiths@redhat.com>
16023 From Kyle Galloway <kgallowa@redhat.com>:
16024 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16025 (ExceptionOnlyFilter): Allow null refId.
16027 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16028 compatibility with filters.
16029 (getParameter): Modified to allow access to above.
16031 2006-06-13 Sven de Marothy <sven@physto.se>
16033 * gnu/java/awt/peer/gtk/CairoSurface.java
16034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16035 (create): Use stride in ints.
16037 2006-06-13 Keith Seitz <keiths@redhat.com>
16039 From Kyle Galloway <kgallowa@redhat.com>:
16040 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16042 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16044 * javax/swing/plaf/basic/BasicSliderUI.java
16045 (calculateThumbSize): Removed unnecessary code,
16046 (calculateThumbLocation): Shift position by one,
16047 (calculateTickRect): Shift position by one when ticks are displayed,
16048 (calculateLabelRect): Calculate rect differently according to whether
16049 or not the labels are visible,
16050 (paintTrack): Shift track down one pixel.
16052 2006-06-13 Lillian Angel <langel@redhat.com>
16054 * java/awt/image/PixelGrabber.java
16055 (PixelGrabber): Removed check to throw exception. JDK does
16057 (startGrabbing): Removed line to print stacktrace.
16059 2006-06-13 Mark Wielaard <mark@klomp.org>
16061 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16062 allocate unused AffineTransform. Add comment about conversion to
16064 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16065 Recognize identity transform as "easy". Always convert to
16066 BufferedImage before calling super.
16068 2006-06-13 Roman Kennke <kennke@aicas.com>
16070 * java/awt/Component.java
16071 (getGraphics): Translate child graphics correctly.
16072 (dispatchEvent): Only dispatch event if it hasn't been consumed
16073 yet by the global dispatcher.
16074 * javax/swing/plaf/basic/BasicLookAndFeel.java
16075 Added some API docs.
16076 (PopupHelper.mousePressed): Consume the event after closing
16079 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16081 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
16083 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16084 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16085 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16086 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16087 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16088 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16089 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16090 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16091 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16092 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16093 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16094 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16095 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16096 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16097 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16098 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16100 2006-06-12 Sven de Marothy <sven@physto.se>
16102 * java/awt/font/LineBreakMeasurer.java): Implement.
16104 2006-06-12 Keith Seitz <keiths@redhat.com>
16106 From Kyle Galloway <kgallowa@redhat.com>:
16107 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16109 2006-06-12 Keith Seitz <keiths@redhat.com>
16111 From Kyle Galloway <kgallowa@redhat.com>:
16112 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16114 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16116 2006-06-12 Roman Kennke <kennke@aicas.com>
16118 * javax/swing/JComponent.java
16119 (paintDoubleBuffered): Correctly translate and clip the Graphics
16121 (clipAndTranslateGraphics): New helper method.
16123 2006-06-12 Roman Kennke <kennke@aicas.com>
16125 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16126 (copy): Use getClip() to copy the clip. Make copied transform
16127 null when original transform is null. Set clip here.
16128 (setTransform): Correctly update the clip.
16129 (setTransformImpl): New method. Updates the actual transform for
16131 (transform): Correctly update the clip.
16132 (translate): Correctly update the clip.
16133 (clip): Handle null clip and argument correctly.
16134 (clipRect): Avoid creating new Rectangle objects.
16135 (getClip): Get the correct copy of the clip.
16136 (setClip): Correctly handle null argument.
16137 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16138 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16139 be null or whatever has been set in copy().
16140 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16141 (drawImage): Add translation to the image coordinates.
16142 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16143 (VolatileImageGraphics): Don't set clip here. The clip can either
16144 be null or whatever has been set in copy().
16146 2006-06-12 Keith Seitz <keiths@redhat.com>
16148 From Kyle Galloway <kgallowa@redhat.com>:
16149 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16150 (forCaught): Removed unused/unnecessary method.
16151 (forUncaught): Likewise.
16152 (matches): Implement.
16154 2006-06-12 Keith Seitz <keiths@redhat.com>
16156 From Kyle Galloway <kgallowa@redhat.com>:
16157 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16159 2006-06-12 Keith Seitz <keiths@redhat.com>
16161 From Kyle Galloway <kgallowa@redhat.com>:
16162 * gnu/classpath/jdwp/event/Event.java: Added constants for
16164 (getParameter): Changed parameter type from Class to int.
16165 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16166 Changed from Class type to constants.
16167 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16169 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16171 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16173 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16175 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16177 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16179 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16181 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16183 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16186 2006-06-12 Lillian Angel <langel@redhat.com>
16188 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16189 (StandaloneAppletWindow): Changed title of standalone window.
16191 2006-06-12 Lillian Angel <langel@redhat.com>
16193 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16194 (layoutContainer): Added missing selectedComponent assignment.
16196 2006-06-12 Lillian Angel <langel@redhat.com>
16198 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16199 (layoutContainer): Added check to prevent exception.
16201 2006-06-12 Tom Tromey <tromey@redhat.com>
16203 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16205 2006-06-12 Mark Wielaard <mark@klomp.org>
16207 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16210 (lock): New method.
16211 (unlock): Likewise.
16212 (draw): Use lock() and unlock().
16214 (drawRenderedImage): Likewise.
16215 (drawImage): Likewise.
16216 (drawGlyphVector): Likewise.
16218 2006-06-12 Roman Kennke <kennke@aicas.com>
16220 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16221 (drawPixels): Include alpha in parameter list.
16222 (cairoFill): Include alpha in parameter list.
16223 (setComposite): Don't modify the color.
16224 (draw(Shape))): Use fill when the current composite has an alpha
16225 of != 1.0, so that the stroked shaped will be composited.
16226 (fill(Shape)): Call cairoFill() with alpha.
16227 (drawImage): Call drawPixels or drawSurface with alpha.
16228 (drawGlyphVector): When composite alpha is != 1.0, render the
16229 outline using fill() to enable compositing for text.
16230 (drawRaster): Call drawPixels with alpha.
16231 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16232 (nativeDrawSurface): Include alpha in parameter list.
16233 (drawSurface): Include alpha in parameter list. Pass it to
16234 nativeDrawSurface().
16235 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16236 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16238 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16239 (drawPixels): Handle possible alpha for compositing.
16240 (cairoFill): Likewise.
16241 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16242 (nativeDrawSurface): Handle possible alpha for compositing.
16244 2006-06-12 Mark Wielaard <mark@klomp.org>
16246 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16247 Notify data when completely done. Wait for worker thread to finish.
16248 Rethrow any pending exceptions.
16249 (exception): New field.
16250 (run): Store pending exception.
16252 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16254 * java/lang/management/ManagementPermission.java:
16257 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16259 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16261 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16263 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16264 Use String.charAt().
16266 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16268 * doc/tools.texinfo
16269 (Applet Tools): New chapter.
16270 (appletviewer Tool): New section.
16271 (gcjwebplugin): New section.
16273 2006-06-11 Mark Wielaard <mark@klomp.org>
16275 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16276 Takes GdkPixbufWriter.
16277 (GdkPixbufWriter): Implements Runnable.
16278 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16280 (DATADONE): New static final field.
16282 (write(byte[])): New method.
16284 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16285 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16286 Get dataOutputWriteID from writeClass.
16287 (stream_save_request): Change stream field to writer.
16288 (save_to_stream): Remove FIXME, call writer.
16289 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16292 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16295 Mention new VM interface and use of properties.
16296 * doc/vmintegration.texinfo:
16297 Update with new gnu.java.lang.management section.
16298 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16300 * java/lang/management/ManagementFactory.java:
16301 (getRuntimeMXBean()): Implemented.
16302 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16303 New VM interface file.
16305 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16308 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16309 debug code based on Configuration.DEBUG.
16310 Use logger instead of STDOUT and ot STDERR.
16311 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16312 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16313 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16314 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16315 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16316 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16317 * gnu/javax/crypto/pad/TBC.java: Likewise.
16318 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16319 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16320 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16321 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16322 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16323 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16324 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16325 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16326 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16327 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16328 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16329 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16330 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16331 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16332 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16333 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16334 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16335 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16336 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16337 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16338 * gnu/java/security/Properties.java: Likewise.
16339 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16340 * gnu/java/security/x509/X509CRL.java: Likewise.
16341 * gnu/java/security/x509/ext/Extension.java: Likewise.
16342 * gnu/java/security/util/Prime2.java: Likewise.
16343 * gnu/java/security/util/Base64.java: Likewise.
16344 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16345 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16346 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16347 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16348 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16349 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16350 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16351 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16352 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16353 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16354 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16355 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16356 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16357 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16358 * gnu/java/security/hash/Whirlpool.java: Likewise.
16360 2006-06-11 Mark Wielaard <mark@klomp.org>
16362 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16363 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16364 Remove unused variable glyph_index.
16366 2006-06-11 Mark Wielaard <mark@klomp.org>
16368 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16369 Don't recurse, return false if not an BufferedImage and no image
16371 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16372 end_gdk_drawing() to finally block.
16374 (drawRenderedImage): Likewise.
16375 (drawImage): Likewise.
16376 (drawGlyphVector): Likewise.
16378 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16380 * doc/tools.texinfo: Added text for new -cacert command.
16381 Re-structured sections.
16382 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16383 for -cacert command.
16384 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16385 (_CACERT): Likewise.
16386 (shutdownThread): New field.
16387 (Main): Install shutdown thread.
16388 (main): Uninstall shutdown thread.
16389 (start): Handle new -cacert command.
16390 (getParser): Likewise.
16391 (teardown): Increased visibility.
16392 (ShutdownHook): New inner class.
16393 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16395 2006-06-11 Sven de Marothy <sven@physto.se>
16397 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16398 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16399 (getOutline): Operate on the shape directly.
16400 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16401 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16402 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16403 (getGlyph renamed getGlyphs)
16404 * java/awt/geom/AffineTransform.java
16405 (getTranslateInstance): Set fields directly.
16406 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16407 (getGlyphs): Get all glyph codes at once.
16409 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16412 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16414 2006-06-11 Sven de Marothy <sven@physto.se>
16416 * java/awt/font/TextLayout.java
16417 (getLogicalHighlightShape): Add check.
16418 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16419 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16421 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16423 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16424 Check that every component of 'cn' starts with a valid Java identifier char.
16426 2006-06-10 Tom Tromey <tromey@redhat.com>
16428 * java/io/File.java (pathSeparator): Typo fix.
16430 2006-06-10 Mark Wielaard <mark@klomp.org>
16432 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16434 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16435 Mark all unused parameters.
16436 (cp_gtk_get_cairo_t): Removed.
16437 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16438 Don't mix declerations and statements.
16439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16440 Mark all unused parameters.
16441 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16442 Get cairographics2d pointer directly.
16443 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16444 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16445 Use jlong to pass pointer.
16446 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16447 Mark all unused parameters.
16448 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16449 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16450 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16451 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16452 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16453 * include/java_io_VMFile.h: Regenerated.
16455 2006-06-10 Roman Kennke <kennke@aicas.com>
16457 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16458 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16459 instead of setClip(), so that an already present clip is intersected
16462 2006-06-10 Mark Wielaard <mark@klomp.org>
16464 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16465 Call getSize() to avoid accessor method.
16467 2006-06-10 Mark Wielaard <mark@klomp.org>
16469 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16470 Qualify ElementSpec.
16472 2006-06-10 Mark Wielaard <mark@klomp.org>
16474 * lib/.cvsignore: Add sun.
16475 * lib/Makefile.am (dist-hook): Likewise.
16477 2006-06-10 Roman Kennke <kennke@aicas.com>
16479 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16480 * gnu/java/awt/peer/gtk/CairoSurface.java
16481 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16482 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16483 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16484 * native/jni/gtk-peer/cairographics2d.h
16485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16487 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16488 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16489 Changed method signatures and calls to pass native pointers directly
16490 into the JNI code, in order to avoid costly lookups on each
16492 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16493 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16494 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16495 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16498 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16501 * javax/swing/text/DefaultStyledDocument.java
16502 (ElementBuffer.insertContentTag):
16503 Do not recreate leaves and do not remove elements here.
16505 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16507 * javax/swing/text/html/HTMLDocument.java
16508 (HTMLReader.HiddenAction): Implemented.
16510 2006-06-10 Roman Kennke <kennke@aicas.com>
16512 * javax/swing/RepaintManager.java
16513 (getVolatileOffscreenBuffer): Store the created buffer.
16514 * javax/swing/JComponent.java
16515 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16516 for better performance.
16518 2006-06-10 Roman Kennke <kennke@aicas.com>
16520 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16521 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16523 (getRealBounds): Overridden to return the correct bounds.
16525 2006-06-10 Roman Kennke <kennke@aicas.com>
16527 * javax/swing/plaf/metal/MetalButtonUI.java
16528 (update): Fixed to paint the gradient under the correct conditions.
16529 (updateWidthGradient): Removed.
16530 (isToolbarButton): New helper method.
16531 (isDrawingGradient): New helper method.
16533 2006-06-09 Roman Kennke <kennke@aicas.com>
16535 * javax/swing/JTabbedPane.java
16536 (setSelectedIndex): Don't change the visibility of the components,
16537 this is done by the UI class.
16538 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16539 (TabbedPaneLayout.layoutContainer): Change visibility of component
16540 here, depending on the selected index. Only do this if the new
16541 selected component is not null. Some programs seem to expect
16543 (visibleComponent): New field.
16544 (getVisibleComponent): Changed to return visibleComponent field.
16545 (setVisibleComponent): Changed to set the visibility of
16546 the old and new visible component.
16548 2006-06-09 Roman Kennke <kennke@aicas.com>
16550 * javax/swing/JComponent.java
16551 (paintChildrenOptimized): Paint component with a new Graphics
16552 object to protect the other painting code from modifications
16553 done in that object, and avoid cleanup ops on possibly dispose()ed
16556 2006-06-09 Sven de Marothy <sven@physto.se>
16558 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16559 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16560 Use GTK locks while disposing (Xlib) surface.
16562 2006-06-09 Tom Tromey <tromey@redhat.com>
16564 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16565 (uninstall-local): Delete 'sun' directory.
16566 (glibj.zip): Include 'sun' classes.
16567 (clean-local): Delete 'sun' directory.
16568 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16570 2006-06-09 Roman Kennke <kennke@aicas.com>
16572 * gnu/java/awt/java2d/AbstractGraphics2D.java
16573 (drawImage): Fixed scaling.
16574 (fillShape): Removed offset handling.
16575 (fillShapeImpl): Limit scanlining to device bounds.
16576 (getSegments): Removed offset handling.
16577 * gnu/java/awt/java2d/PolyEdge.java
16578 (toString): Include isClip flag in output.
16580 2006-06-08 Sven de Marothy <sven@physto.se>
16582 * java/awt/font/TextLayout.java
16583 (getOutline): Allow null transform.
16585 2006-06-08 Sven de Marothy <sven@physto.se>
16587 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16588 (drawString): Use TextLayout instead of GlyphVector.
16590 2006-06-08 Sven de Marothy <sven@physto.se>
16592 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16593 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16594 New constructor for bidirectionality.
16595 (getGlyphMetrics): Return whitespace glyphs.
16596 (getLogicalBounds): Offset rectangles to correct positions.
16597 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16598 (getBaselineFor): Default to ROMAN_BASELINE.
16599 (GdkFontLineMetrics): Guess some values for underline and
16601 (layoutGlyphVector): Use bidirectionality.
16602 * java/awt/font/TextLayout.java: Implement, mostly.
16604 2006-06-09 Anthony Green <green@redhat.com>
16606 PR classpath/27888:
16607 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16608 * java/util/Collections.java (binarySearch): Use unsigned shift.
16609 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16611 2006-06-09 Tom Tromey <tromey@redhat.com>
16613 * tools/.cvsignore: Added .deps.
16615 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16617 PR classpath/27966:
16618 * gnu/javax/security/auth/login/ConfigFileParser.java
16619 (validateClassName): Quote '.' in regexp.
16621 2006-06-09 Tom Tromey <tromey@redhat.com>
16623 PR classpath/23863:
16624 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16626 * native/fdlibm/mprec.c: New version from newlib. Commented out
16627 some includes. Added <assert.h>.
16628 (_reent, _Bigint): New defines.
16629 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16630 (__ULong, __Long): New types.
16631 (_calloc_r): New function.
16632 (Balloc): Dynamically add new _freelist entries as needed.
16633 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16634 MAX_BIGNUMS to size _x[].
16635 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16636 _allocation_map, num. Added _max_k.
16638 2006-06-09 Roman Kennke <kennke@aicas.com>
16640 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16641 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16644 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16646 * java/awt/image/BufferedImage.java
16647 (BufferedImage(int, int, int)): Added API docs,
16648 (getProperty(String)): Return correct value for undefined properties,
16649 (getPropertyNames()): Added comments and removed FIXME.
16651 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16653 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16654 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16656 2006-06-09 Francis Kung <fkung@redhat.com>
16658 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16659 (getPreferredSize): Return correct height for null or empty
16662 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16664 * java/awt/datatransfer/DataFlavor.java
16665 (readExternal): Mark as stub,
16666 (writeExternal): Likewise,
16667 * java/awt/dnd/DropTargetContext.java
16668 (dropComplete): Mark as stub,
16669 (acceptDrag): Likewise,
16670 (rejectDrag): Likewise,
16671 (acceptDrop): Likewise,
16672 (rejectDrop): Likewise,
16673 (getCurrentDataFlavors): Likewise,
16674 (getTransferable): Likewise,
16675 * java/awt/dnd/DropTargetDropEvent.java
16676 (dropComplete): Mark as stub.
16678 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16680 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16681 (constructor): Do not lowercase the values.
16682 * javax/swing/text/html/HTMLDocument.java
16683 (HTMLReader.addSpecialElement): Implemented.
16684 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16686 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16688 On behalf of Matthew Wringe <mwringe@redhat.com>
16689 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16690 * gnu/javax/crypto/pad/ISO10126.java: New class.
16691 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16692 (getInstance): Added support for ISO-10126 scheme.
16693 (getNames): Likewise.
16694 Cache result for speed.
16696 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16698 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16699 flexible self-test by sub-classes.
16700 (test1BlockSize): New method.
16702 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16704 * javax/swing/plaf/basic/BasicLookAndFeel.java
16705 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16706 * javax/swing/plaf/basic/BasicScrollBarUI.java
16707 (installKeyboardActions): Implemented,
16708 (uninstallKeyboardActions): Implemented,
16709 (getInputMap): New method,
16710 (getActionMap): New method,
16711 (createActionMap): New method,
16712 (installUI): Call installKeyboardActions(),
16713 (uninstallUI): Call uninstallKeyboardActions().
16715 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16717 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16718 (getActionMap): Use correct key to store action map.
16720 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16722 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16723 (executeInstruction): Added NOT support.
16725 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16727 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16730 2006-06-08 Tom Tromey <tromey@redhat.com>
16732 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16735 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16737 * java/lang/management/RuntimeMXBean.java:
16740 2006-06-08 Lillian Angel <langel@redhat.com>
16742 * native/plugin/gcjwebplugin.cc:
16743 (NP_Shutdown): Freed whitelist_filename.
16745 2006-06-08 Lillian Angel <langel@redhat.com>
16747 * native/plugin/Makefile.am:
16748 Removed DATA_DIRECTORY.
16749 * native/plugin/gcjwebplugin.cc:
16750 Added new global fields for whitelist_file
16751 and data_directory. Removed WHITELIST_FILE.
16752 (NP_Initialize): Initialized new fields. Also,
16753 Changed to use new fields.
16754 (NP_Shutdown): Freed data_directory.
16755 (GCJ_New): Changed to use new fields.
16756 (plugin_ask_user_about_documentbase): Likewise.
16758 2006-06-08 Lillian Angel <langel@redhat.com>
16760 * native/plugin/Makefile.am:
16761 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16762 * native/plugin/gcjwebplugin.cc:
16763 Changed all instances of PLUGIN_DATA_DIRECTORY
16766 2006-06-08 Roman Kennke <kennke@aicas.com>
16768 * java/awt/LightweightDispatcher.java
16769 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16770 with convertPointToChild(). This is more efficient and avoids
16771 problems with getLocationOnScreen().
16772 (findTarget): Check for component beeing showing() early.
16773 Simplified AWTUtilities.convertPoint() to a simple substraction
16775 (convertPointToChild): New helper method.
16777 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16779 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16782 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16783 Lillian Angel <langel@redhat.com>
16785 * native/plugin/gcjwebplugin.cc
16786 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16787 Also, reset initialized field.
16789 2006-06-08 Lillian Angel <langel@redhat.com>
16791 * javax/swing/plaf/basic/BasicProgressBarUI.java
16792 (paintString): Fixed to paint string at the correct location.
16794 2006-06-08 Roman Kennke <kennke@aicas.com>
16796 * javax/swing/plaf/basic/BasicTreeUI.java
16797 (createDefaultActions): Added new actions.
16798 (TreePageAction.TreePageAction): Set action name.
16799 (TreePageAction.actionPerformed): Implemented.
16800 (TreePageAction.isEnabled): Implemented.
16801 (TreeToggleAction.TreePageAction): Set action name.
16802 (TreeToggleAction.actionPerformed): Implemented.
16803 (TreeToggleAction.isEnabled): Implemented.
16804 (TreeTraverseAction.TreeTraverseAction): Set action name.
16805 (TreeTraverseAction.actionPerformed): Use action name as command.
16806 (TreeTraverseAction.isEnabled): Implemented.
16808 2006-06-08 Roman Kennke <kennke@aicas.com>
16810 * javax/swing/plaf/basic/BasicTreeUI.java
16811 (installKeyboardActions): Rewritten to correctly install the UI
16812 input and action maps.
16813 (getActionMap): New helper method.
16814 (createDefaultActionMap): New helper method.
16815 (TreeHomeAction.TreeHomeAction()): Implemented.
16816 (TreeHomeAction.actionPerformed): Implemented.
16817 (TreeHomeAction.isEnabled): Implemented.
16818 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16819 (TreeIncrementAction.actionPerformed): Use action name as command.
16820 (TreeIncrementAction.isEnabled): Implemented.
16822 2006-06-08 Mark Wielaard <mark@klomp.org>
16825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16826 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16829 2006-06-08 Mark Wielaard <mark@klomp.org>
16831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16832 (attrs): Removed unused static.
16834 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16836 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16837 (getInputMap): New method,
16838 (getActionMap): New method,
16839 (createActionMap): New method,
16840 (installKeyboardActions): Implemented,
16841 (uninstallKeyboardActions): Implemented.
16843 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16845 * javax/swing/border/MatteBorder.java:
16846 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16848 (paintBorder): Added if-statement to abort painting early.
16850 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16853 * gnu/xml/dom/DomIterator.java:
16854 (successor): Changed expression.
16856 2006-06-08 Sven de Marothy <sven@physto.se>
16858 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16859 (defaultLayout): Do kerning.
16860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16861 (getKerning): Correct class name, removed unused variable.
16863 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16865 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16866 libqtpeer.so unconditionally.
16868 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16870 * java/util/InputMismatchException.java:
16873 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16875 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16877 2006-06-07 Roman Kennke <kennke@aicas.com>
16879 * javax/swing/plaf/basic/BasicTreeUI.java
16880 (completeUIUninstall): Implemented.
16881 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16882 editing before uninstalling anything.
16883 (isToggleEvent): Implemented.
16884 (selectPathForEvent): Make use of isToggleEvent().
16885 (ComponentHandler.componentMoved): Implemented.
16886 (ComponentHandler.startTimer): Implemented.
16887 (ComponentHandler.getScrollPane): Implemented.
16888 (ComponentHandler.actionPerformed): Implemented.
16890 2006-06-07 Francis Kung <fkung@redhat.com>
16892 * javax/swing/JMenuBar.java:
16893 (getSubElements): Do not return null values.
16895 2006-06-07 Roman Kennke <kennke@aicas.com>
16898 * gnu/regexp/BacktrackStack.java
16899 * gnu/regexp/CharIndexed.java
16900 * gnu/regexp/CharIndexedCharArray.java
16901 * gnu/regexp/CharIndexedCharSequence.java
16902 * gnu/regexp/CharIndexedInputStream.java
16903 * gnu/regexp/CharIndexedString.java
16904 * gnu/regexp/CharIndexedStringBuffer.java
16905 * gnu/regexp/RE.java
16906 * gnu/regexp/REException.java
16907 * gnu/regexp/REFilterInputStream.java
16908 * gnu/regexp/REMatch.java
16909 * gnu/regexp/REMatchEnumeration.java
16910 * gnu/regexp/RESyntax.java
16911 * gnu/regexp/REToken.java
16912 * gnu/regexp/RETokenAny.java
16913 * gnu/regexp/RETokenBackRef.java
16914 * gnu/regexp/RETokenChar.java
16915 * gnu/regexp/RETokenEnd.java
16916 * gnu/regexp/RETokenEndOfPreviousMatch.java
16917 * gnu/regexp/RETokenEndSub.java
16918 * gnu/regexp/RETokenIndependent.java
16919 * gnu/regexp/RETokenLookAhead.java
16920 * gnu/regexp/RETokenLookBehind.java
16921 * gnu/regexp/RETokenNamedProperty.java
16922 * gnu/regexp/RETokenOneOf.java
16923 * gnu/regexp/RETokenPOSIX.java
16924 * gnu/regexp/RETokenRange.java
16925 * gnu/regexp/RETokenRepeated.java
16926 * gnu/regexp/RETokenStart.java
16927 * gnu/regexp/RETokenWordBoundary.java
16928 * gnu/regexp/UncheckedRE.java
16929 * gnu/java/util/regex/BacktrackStack.java
16930 * gnu/java/util/regex/CharIndexed.java
16931 * gnu/java/util/regex/CharIndexedCharArray.java
16932 * gnu/java/util/regex/CharIndexedCharSequence.java
16933 * gnu/java/util/regex/CharIndexedInputStream.java
16934 * gnu/java/util/regex/CharIndexedString.java
16935 * gnu/java/util/regex/CharIndexedStringBuffer.java
16936 * gnu/java/util/regex/RE.java
16937 * gnu/java/util/regex/REException.java
16938 * gnu/java/util/regex/REFilterInputStream.java
16939 * gnu/java/util/regex/REMatch.java
16940 * gnu/java/util/regex/REMatchEnumeration.java
16941 * gnu/java/util/regex/RESyntax.java
16942 * gnu/java/util/regex/REToken.java
16943 * gnu/java/util/regex/RETokenAny.java
16944 * gnu/java/util/regex/RETokenBackRef.java
16945 * gnu/java/util/regex/RETokenChar.java
16946 * gnu/java/util/regex/RETokenEnd.java
16947 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16948 * gnu/java/util/regex/RETokenEndSub.java
16949 * gnu/java/util/regex/RETokenIndependent.java
16950 * gnu/java/util/regex/RETokenLookAhead.java
16951 * gnu/java/util/regex/RETokenLookBehind.java
16952 * gnu/java/util/regex/RETokenNamedProperty.java
16953 * gnu/java/util/regex/RETokenOneOf.java
16954 * gnu/java/util/regex/RETokenPOSIX.java
16955 * gnu/java/util/regex/RETokenRange.java
16956 * gnu/java/util/regex/RETokenRepeated.java
16957 * gnu/java/util/regex/RETokenStart.java
16958 * gnu/java/util/regex/RETokenWordBoundary.java
16959 * gnu/java/util/regex/UncheckedRE.java
16960 Moved gnu.regexp classes to gnu.java.util.regex package.
16961 * java/util/regex/Matcher.java
16962 * java/util/regex/Pattern.java
16963 Adjusted import statements for new package name for gnu regexp.
16965 2006-06-07 Tom Tromey <tromey@redhat.com>
16967 PR classpath/27905:
16968 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16969 Added missing charsets.
16970 (charsetForName): Don't check 'extendedLoaded'.
16972 2006-06-07 Roman Kennke <kennke@aicas.com>
16975 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16976 (clip(Shape)): Implemented correctly, so that the current shape
16977 gets intersected by the parameter shape.
16979 2006-06-07 Lillian Angel <langel@redhat.com>
16981 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16982 (getTabBounds): If this method is called with a tab index
16983 that is not in the rects array, we need to re-layout the container
16986 2006-06-07 Lillian Angel <langel@redhat.com>
16988 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16989 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16990 * java/lang/String.java
16991 (codePointCount): Fixed check to match API. Shouldn't throw exception
16992 if end == count. end is 1 more than the endIndex, so end == count is
16995 2006-06-07 Gary Benson <gbenson@redhat.com>
16998 * native/jni/java-io/java_io_VMFile.c
16999 (Java_java_io_VMFile_toCanonicalForm): New method.
17000 * configure.ac: Added checks for lstat and readlink.
17001 * include/java_io_VMFile.h: Added new method.
17002 * vm/reference/java/io/VMFile.java: Use new method.
17003 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
17004 * NEWS: Documented the above.
17005 * java/io/File.java: Javadoc fix.
17007 2006-06-07 Roman Kennke <kennke@aicas.com>
17010 * javax/swing/JTree.java
17011 (JTree()): Initialize with default model.
17012 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17013 on the updateUI() / setModel() order.
17014 (setModel): Correctly (un-)setup the listeners. Clear the expanded
17016 * javax/swing/plaf/basic/BasicTreeUI.java
17017 (BasicTreeUI()): Initialize listeners in installListeners().
17018 (setModel): Complete editing on model change. Correctly resetup
17019 the listeners. Update the layout cache accordingly.
17020 (setShowRootHandles): Complete editing and update layout. Do not
17021 call back into the JTree, this could cause cycles.
17022 (prepareForUIInstall): Implemented. Moved some init code from
17023 installUI() to this method.
17024 (completeUIInstall): Implemented. Moved some init code from
17025 installUI() to this method.
17026 (createDefaultCellEditor): Check for type of renderer, and install
17027 with null renderer when not DefaultTreeCellRenderer.
17028 (updateLayoutCacheExpandedNodes): Added null check for tree root
17030 (updateRenderer): Call updateEditor().
17031 (installListeners): Initialize the listeners here. Added some null
17032 checks to avoid NPEs.
17033 (installUI): Moved some init code to prepareForUIInstall() and
17034 completeUIInstall().
17035 (completeEditing): Return immediately if editing component is null
17036 or if the setting is to not stop editing on complete editing.
17037 (checkForClickInExpandControl): Call handleExpandControlClick()
17038 instead of toggleExpandState() directly.
17039 (isLocationInExpandControl): Rewritten to correctly determine the
17040 expand click location.
17041 (MouseHandler.mousePressed): Rewritten to make better use of the
17042 instance methods of BasicTreeUI to handle the click.
17043 (PropertyHandler.propertyChange): Handle model and cell renderer
17045 * javax/swing/tree/DefaultTreeCellEditor.java
17046 (DefaultTreeCellEditor): Removed initialization of the icon. This
17047 is done so that the constructor can deal with null renderer as the
17048 RI does. Maybe this needs more fixing.
17049 * javax/swing/tree/TreePath.java
17050 (isDescendant): Fixed this method. The previous version did too
17051 much and compared the wrong things, which lead to a ClassCastException
17053 * javax/swing/tree/VariableHeightLayoutCache.java
17054 (update): Do nothing when model is null.
17055 (setModel): Clear the tables and update the layout. Added null
17056 check to prevent NPE.
17058 2006-06-07 Sven de Marothy <sven@physto.se>
17060 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17062 2006-06-07 Sven de Marothy <sven@physto.se>
17064 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17065 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17069 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17070 (getGlyphVector): Removed native method.
17071 (createGlyphVector, getStringBounds): Use new GV class.
17073 * include/Makefile.am
17074 * native/jni/gtk-peer/Makefile.am
17077 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17078 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17079 (getGlyphVector): Removed native method.
17081 2006-06-07 Chris Burdess <dog@gnu.org>
17083 * gnu/classpath/debug/TeeInputStream.java,
17084 gnu/classpath/debug/TeeOutputStream.java,
17085 gnu/classpath/debug/TeeReader.java,
17086 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17087 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17088 read more characters than absolutely necessary in tryRead method.
17090 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
17092 * examples/gnu/classpath/examples/swing/Demo.java:
17093 (mkMenuBar): Put look and feel radio buttons into
17094 appropriate button group.
17096 2006-06-07 Chris Burdess <dog@gnu.org>
17098 * gnu/xml/stream/SAXParser.java,
17099 gnu/xml/stream/XMLParser.java: Add command line options for setting
17100 parsing parameters (for simpler debugging).
17101 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17102 closing output stream is propagated to application.
17104 2006-06-06 Mark Wielaard <mark@klomp.org>
17107 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17108 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17109 call disposeSurface.
17110 (disposeSurface): New native method.
17111 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17112 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17115 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17116 cairo_pattern_destroy.
17117 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17118 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17119 New function to destroy the surface.
17120 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17121 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17122 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17124 2006-06-06 Mark Wielaard <mark@klomp.org>
17126 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17129 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17131 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17132 (paint): If has focus, paint special background color,
17133 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17134 (FocusHandler.focusGained): Implemented,
17135 (FocusHandler.focusLost): Implemented.
17137 2006-06-06 Tom Tromey <tromey@redhat.com>
17139 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17141 (writeAttributeSet): Implemented.
17143 2006-06-06 Tom Tromey <tromey@redhat.com>
17145 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17147 (SpecialAction.end): Removed.
17148 (IsindexAction.end): Likewise.
17150 2006-06-06 Tom Tromey <tromey@redhat.com>
17152 * include/jni.h (JDK1_1InitArgs): New struct.
17153 (JDK1_1AttachArgs): Likewise.
17155 2006-06-06 Tom Tromey <tromey@redhat.com>
17157 * java/security/UnresolvedPermission.java (getUnresolvedType): New
17159 (getUnresolvedName): New method.
17160 (getUnresolvedActions): New method.
17161 (getUnresolvedCerts): New method.
17163 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17165 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17166 (getColor): Removed debugging code.
17168 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17170 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17171 (getColor): Added support for "rgb(red, green, blue)" notation.
17172 (translateTag): Use Boolean.TRUE, not new Boolean().
17174 2006-06-06 Roman Kennke <kennke@aicas.com>
17177 * javax/swing/JTree.java
17178 (JTree(TreeModel)): Call updateUI() before setModel().
17179 (setModel): Don't call updateUI here.
17181 2006-06-06 Lillian Angel <langel@redhat.com>
17183 * native/plugin/gcjwebplugin.cc:
17184 Fixed failure message and commenting.
17185 (NP_Initialize): Added more comments.
17187 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17189 * javax/swing/JSplitPane.java
17190 (AccessibleJSplitPane): API doc fixes,
17191 (setDividerLocation): Likewise,
17192 * javax/swing/plaf/basic/BasicLookAndFeel.java
17193 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17194 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17195 (getInputMap): New method,
17196 (getActionMap): New method,
17197 (createActionMap): New method,
17198 (installKeyboardActions): Implemented,
17199 (uninstallKeyboardActions): Implemented.
17201 2006-06-06 Roman Kennke <kennke@aicas.com>
17204 * javax/swing/MenuSelectionManager.java
17205 (processKeyEvent): Added check to avoid
17206 ArrayIndexOutOfBoundsException.
17208 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17210 * gnu/javax/swing/text/html/htmlAttributeSet.java
17211 (getAttributeNames): Rewritten
17213 2006-06-06 Chris Burdess <dog@gnu.org>
17215 * gnu/xml/transform/TransformerImpl.java: Check type of created
17216 document (more cases).
17218 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17220 * gnu/javax/swing/text/html/htmlAttributeSet.java
17221 (clone): New method. (copyAttributes): New method.
17222 (getResolveParent): Comment fix. (getAttribute):
17223 Rewritten. (addAttribute): Rewritten.
17224 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17227 2006-06-06 Roman Kennke <kennke@aicas.com>
17230 * javax/swing/JMenuBar.java
17231 (processKeyBindingHelper): Added null check to prevent NPE.
17233 2006-06-06 Roman Kennke <kennke@aicas.com>
17235 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17236 (ShowSystemMenuAction): New class.
17237 (installKeyboardActions): Implemented.
17238 (uninstallKeyboardActions): Implemented.
17239 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17240 (installKeyboardActions): Overridden to remove showSystemMenu action.
17242 2006-06-06 Chris Burdess <dog@gnu.org>
17244 * gnu/xml/transform/TransformerImpl.java: Check type of created
17247 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17249 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17250 (getScreenDevices): Added explicit cast.
17252 2006-06-06 Roman Kennke <kennke@aicas.com>
17254 * javax/swing/plaf/basic/BasicTextUI.java
17255 (installKeyboardActions): Use shared input map. Correctly
17256 install the input/action maps in the component's input/action
17258 (getActionMap): New helper method for fetching an ActionMap from
17259 the UIManager or creating a default one if there is none supplied
17261 (createActionMap): Add the TransferHandler's actions here. Made
17263 (getInputMap): Leave out unnecessary method parameter. Load
17265 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17267 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17269 * configure.ac: Added missing [ to expression.
17271 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17273 * configure.ac: Added missing { to expression.
17275 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17277 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17278 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17279 * include/Makefile.am: Added
17280 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17281 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17282 (GdkGraphicsConfiguration): Rewritten.
17283 (getColorModel): Rewritten.
17284 (getColorModel(int)): Rewritten.
17285 (getBounds): Rewritten.
17286 (createCompatibleVolatileImage): Implemented.
17287 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17289 (getDefaultScreenDevice): Rewritten.
17290 (nativeGetDefaultScreenDevice): New method.
17291 (getScreenDevices): Rewritten.
17292 (nativeGetScreenDevices): New method.
17293 (nativeInitState): New method.
17294 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17296 (X11DisplayMode): New inner class.
17297 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17298 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17299 * native/jni/gtk-peer/gdkdisplay.h: New file.
17300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17301 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17303 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17305 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17306 _nativeGetScreenDevices):
17308 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17309 _nativeGetDefaultScreenDevice):
17311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17313 * configure.ac: Added check for Xrandr library.
17315 2006-06-06 Roman Kennke <kennke@aicas.com>
17317 * javax/swing/plaf/basic/BasicTableUI.java
17318 (getMaximumSize): Don't return null. Fixed calculation of
17320 (getMinimumSize): Don't return null. Fixed calculation of
17322 (getPreferredSize): Fixed calculation of with and height. Added
17324 (getHeight): New helper method.
17326 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17328 * javax/swing/JComponent.java
17329 (getInputMap(int)): Throw IllegalArgumentException for unknown
17330 condition argument, and added API docs,
17331 (getInputMap()): Added API docs.
17333 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17335 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17337 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17339 * javax/swing/JTable.java
17340 (AccessibleJTableHeaderCell.header): New field,
17341 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17342 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17343 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17344 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17345 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17346 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17347 (AccessibleJTable.getAccessibleAt): Reimplemented.
17349 2006-06-05 Sven de Marothy <sven@physto.se>
17351 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17352 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17353 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17354 (initFromVolatile): New method.
17355 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17356 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17358 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17359 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17360 (copyArea, drawVolatileImage): New methods.
17362 2006-06-05 Tania Bento <tbento@redhat.com>
17364 * javax/swing/JFrame.java
17365 (frameInit): Set background color and fixed layout parameters.
17367 2006-06-05 Tom Tromey <tromey@redhat.com>
17369 * NEWS: Mention VMURLConnection.
17371 2006-06-05 Lillian Angel <langel@redhat.com>
17373 * native/plugin/gcjwebplugin.cc:
17374 Added new field to keep track of initialization.
17375 (plugin_start_appletviewer): Fixed to return an error value, if
17376 an error was encountered when loading the appletviewer.
17377 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17379 (plugin_failed): New helper function. Shows a warning if the appletviewer
17380 has not been installed.
17381 (NP_Initialize): Added code to make sure this function is only called
17384 2006-06-05 Lillian Angel <langel@redhat.com>
17386 * native/plugin/Makefile.am:
17387 Fixed to use a set plugin directory in the .mozilla directory.
17388 All applet logs are now stored here, instead of /tmp.
17389 * native/plugin/gcjwebplugin.cc:
17390 Added new fields for security warning.
17391 (GCJ_NEW): Added code to generate a security warning for all pages
17392 that spawn an appletviewer. This warning asks the user if they trust
17393 the applet and if they would like to add it to a 'whitelist'. This
17394 whitelist keeps track of all the addresses the user would like
17395 to trust indefinitely.
17396 (plugin_user_trusts_documentbase): New helper function.
17397 (plugin_add_documentbase_to_whitelist): New helper function.
17398 (plugin_ask_user_about_documentbase): New helper function.
17399 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17401 (plugin_start_appletviewer): Likewise.
17402 (plugin_create_applet_tag): Reset all fields to null after they have been
17404 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17405 if channel_error has been set.
17406 (plugin_stop_appletviewer): Likewise.
17407 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17410 2006-06-05 Francis Kung <fkung@redhat.com>
17413 * gnu/java/awt/peer/gtk/GtkImage.java
17414 (getSource): Added check to determine if in
17415 errorLoading state.
17416 * gnu/java/awt/peer/gtk/GtkToolkit.java
17417 (createImage): Added check to prevent NPE.
17419 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17421 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17422 Create the ImageView, when applicable.
17423 * gnu/javax/swing/text/html/CombinedAttributes.java,
17424 javax/swing/text/html/ImageView.java: New files.
17426 2006-06-05 Roman Kennke <kennke@aicas.com>
17429 * javax/swing/text/GapContent.java
17430 (setPositionsInRange): Compare with startIndex and endIndex
17431 rather than start and end.
17432 (dumpMarks): Only dump real marks.
17434 2006-06-05 Sven de Marothy <sven@physto.se>
17436 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17437 (ComponentGraphics): Use 0,0 as clip origin.
17439 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17441 * java/util/Formattable.java,
17442 * java/util/FormattableFlags.java,
17443 * java/util/Formatter.java:
17446 2006-06-04 Tom Tromey <tromey@redhat.com>
17448 * javax/naming/Context.java (list): Genericized.
17449 (listBindings): Likewise.
17450 * javax/naming/Reference.java (addrs): Genericized.
17451 * javax/naming/InitialContext.java (myProps): Fixed type.
17452 (init): Genericized.
17454 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17456 * java/util/DuplicateFormatFlagsException.java,
17457 * java/util/FormatFlagsConversionMismatchException.java,
17458 * java/util/FormatterClosedException.java,
17459 * java/util/IllegalFormatCodePointException.java,
17460 * java/util/IllegalFormatConversionException.java,
17461 * java/util/IllegalFormatException.java,
17462 * java/util/IllegalFormatFlagsException.java,
17463 * java/util/IllegalFormatPrecisionException.java,
17464 * java/util/IllegalFormatWidthException.java,
17465 * java/util/MissingFormatArgumentException.java,
17466 * java/util/MissingFormatWidthException.java,
17467 * java/util/UnknownFormatConversionException.java,
17468 * java/util/UnknownFormatFlagsException.java:
17471 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17473 * java/lang/System.java:
17474 (getenv()): Handle cases where split only
17475 returns an array of size 1.
17477 2006-06-04 Sven de Marothy <sven@physto.se>
17479 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17480 (createVolatileImage): Pass peer to VolatileImage constructor.
17481 * java/awt/Component.java
17482 (createVolatileImage): Call peer method directly.
17484 2006-06-04 Sven de Marothy <sven@physto.se>
17486 * gnu/java/awt/peer/gtk/CairoSurface.java
17487 (getFlippedBuffer): New method.
17488 (getGtkImage): Renamed method.
17489 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17490 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17491 Renamed getSharedImage to getGtkImage.
17492 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17493 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17494 (getFlippedBuffer): New method
17495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17496 Avoid window casts.
17497 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17500 (drawVolatile): Add casts.
17501 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17502 (getOutline): Add casts.
17503 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17504 Comment out unused prototype.
17505 (getPixels): Add appropriate cast and comment out unused variable.
17507 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17509 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17510 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17511 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17512 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17513 (getSystemInstance): Fix javadoc @link.
17514 (counter): Increased visibility.
17515 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17516 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17517 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17518 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17519 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17520 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17521 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17522 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17523 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17524 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17525 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17526 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17527 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17528 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17529 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17530 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17531 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17532 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17533 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17534 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17535 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17536 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17537 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17538 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17539 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17540 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17541 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17542 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17543 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17544 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17545 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17547 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17549 * gnu/java/security/PolicyFile.java: Updated copyright year.
17550 (logger): Increased visibility.
17551 * gnu/java/security/x509/Util.java: Updated copyright year.
17552 (hexDump): Fix javadoc @link.
17553 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17554 Removed unused import.
17555 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17556 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17557 * gnu/java/security/util/ExpirableObject.java: Likewise.
17558 (destroy): Likewise.
17559 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17560 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17561 Updated copyright year.
17562 (checkCRL): Fix javadoc @param.
17564 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17566 * java/lang/annotation/IncompleteAnnotationException.java:
17569 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17571 * java/lang/ProcessBuilder.java:
17573 (environment): Create as a copy.
17574 * java/lang/System.java:
17575 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17577 (EnvironmentMap.put(String,String)): Override superclass
17578 method with checks for nulls and non-Strings.
17580 2006-06-02 Sven de Marothy <sven@physto.se>
17582 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17583 (cairoPreserveClip, cairoResetClip): New methods.
17584 (setClip, clip): Reimplement.
17585 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17586 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17587 (cairoPreserveClip, cairoResetClip): New methods.
17589 2006-06-02 Sven de Marothy <sven@physto.se>
17591 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17592 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17595 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17596 (drawImage): Overloads for VolatileImage drawing.
17597 (drawVolatile): New method.
17598 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17599 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17600 (drawVolatile): New method.
17601 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17602 Unstub implementation.
17603 * include/Makefile.am
17604 * native/jni/gtk-peer/Makefile.am
17606 * native/jni/gtk-peer/gtkpeer.h
17609 2006-06-03 Roman Kennke <kennke@aicas.com>
17612 * javax/swing/plaf/basic/BasicTextUI.java
17613 (damageRange): Added null check to avoid NPE.
17615 2006-06-03 Roman Kennke <kennke@aicas.com>
17617 * javax/swing/text/PlainView.java
17618 (updateDamage): Check for valid longestLine and initialize if
17621 2006-06-03 Mark Wielaard <mark@klomp.org>
17623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17626 2006-06-02 Sven de Marothy <sven@physto.se>
17629 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17630 (copyArea): Implement.
17631 (copyAreaImpl, getRealBounds): New methods.
17632 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17633 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17634 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17635 (copyAreaImpl, getRealBounds): Implement.
17636 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17637 (nativeCopyArea): Reimplement.
17639 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17641 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17642 (XTEST_LIBS): New, substitute.
17643 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17645 2006-06-02 Roman Kennke <kennke@aicas.com>
17648 * javax/swing/text/PlainView.java
17649 (updateDamage): Rewritten for correct repainting and revalidating.
17650 (findLongestLine): New helper method.
17651 (getLineLength): New helper method.
17653 2006-06-02 Sven de Marothy <sven@physto.se>
17655 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17656 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17658 (nativeCopyArea): Change stride parameter to use # of ints.
17659 (setPixels): Add checks.
17660 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17661 (ComponentGraphics): Set background, clip.
17662 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17663 (Cairographics2D): Don't set clip.
17664 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17667 2006-06-02 Lillian Angel <langel@redhat.com>
17670 * java/awt/DefaultKeyboardFocusManager.java
17671 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17672 to get the focused window.
17674 2006-06-01 Miriam Schuster <schmir11@web.de>
17676 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17677 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17679 2006-06-02 Roman Kennke <kennke@aicas.com>
17681 * javax/swing/JTable.java
17682 (columnSelectionChanged): Don't return when there's only one
17683 column (might still need repainting). Correctly calculate
17685 (valueChanged): Use return value of SwingUtilities.computeUnion
17688 2006-06-01 Keith Seitz <keiths@redhat.com>
17690 From Martin Platter <motse@complang.tuwien.ac.at>:
17691 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17692 (executeSet): Fix buffer underflow reading reference ID.
17693 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17694 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17695 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17696 (executeSuperclass): Handle case of Object with ID zero.
17698 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17700 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17701 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17702 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17703 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17704 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17705 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17706 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17707 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17708 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17709 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17710 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17712 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17714 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17715 (Command): Add the shutdown hook.
17716 (doCommand): Remove the shutdown hook.
17717 (ShutdownHook): New class.
17719 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17721 * tools/jarsigner.in: Use @VM_BINARY@.
17722 * tools/keytool.in: Likewise.
17724 2006-06-01 Sven de Marothy <sven@physto.se>
17726 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17727 (setColor): Update the cairo paint.
17729 2006-06-01 Mark Wielaard <mark@klomp.org>
17731 * java/util/logging/LogManager.java (createInstance): Always add
17732 original exception on warning.
17734 2006-06-01 Lillian Angel <langel@redhat.com>
17736 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17737 (prependCodebase): Fixed check. No dirname was ever considered to
17738 be a file, so every applet fell into the if-statement causing a lot
17739 of classloading problems with the applets.
17741 2006-06-01 Sven de Marothy <sven@physto.se>
17743 Patch submitted by Boris Dusek.
17744 * native/jni/qt-peer/qtmenupeer.cpp
17747 2006-06-01 Roman Kennke <kennke@aicas.com>
17749 * javax/swing/JTable.java
17750 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17751 why the behaviour is like it is.
17752 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17753 (AccessibleJTableHeader): New inner class.
17754 (AccessibleJTableHeaderCell): New inner class.
17755 (AccessibleJTable.lastSelectedRow): New field.
17756 (AccessibleJTable.lastSelectedColumn): New field.
17757 (AccessibleJTable.caption): New field.
17758 (AccessibleJTable.summary): New field.
17759 (AccessibleJTable.rowDescriptions): New field.
17760 (AccessibleJTable.columnDescriptions): New field.
17761 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17762 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17763 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17764 (AccessibleJTable.addAccessibleSelection): Implemented.
17765 (AccessibleJTable.removeAccessibleSelection): Implemented.
17766 (AccessibleJTable.clearAccessibleSelection): Implemented.
17767 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17768 (AccessibleJTable.valueChange): Implemented.
17769 (AccessibleJTable.tableRowsInserted): Implemented.
17770 (AccessibleJTable.tableRowsDeleted): Implemented.
17771 (AccessibleJTable.handleRowChange): New helper method.
17772 (AccessibleJTable.columnAdded): Implemented.
17773 (AccessibleJTable.columnMarginChanged): Implemented.
17774 (AccessibleJTable.columnMoved): Implemented.
17775 (AccessibleJTable.columnRemoved): Implemented.
17776 (AccessibleJTable.columnSelectionChanged): Implemented.
17777 (AccessibleJTable.handleColumnChange): New helper method.
17778 (AccessibleJTable.editingCanceled): Implemented.
17779 (AccessibleJTable.editingStopped): Implemented.
17780 (AccessibleJTable.getAccessibleRow): Implemented.
17781 (AccessibleJTable.getAccessibleColumn): Implemented.
17782 (AccessibleJTable.getAccessibleIndex): Implemented.
17783 (AccessibleJTable.getAccessibleCaption): Implemented.
17784 (AccessibleJTable.setAccessibleCaption): Implemented.
17785 (AccessibleJTable.getAccessibleSummary): Implemented.
17786 (AccessibleJTable.setAccessibleSummary): Implemented.
17787 (AccessibleJTable.getAccessibleRowCount): Implemented.
17788 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17789 (AccessibleJTable.getAccessibleAt): Implemented.
17790 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17791 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17792 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17793 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17794 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17795 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17796 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17797 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17798 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17799 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17800 (AccessibleJTable.isAccessibleSelected): Implemented.
17801 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17802 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17803 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17804 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17805 (getAccessibleContext): Register listeners for the accessibility
17806 class on the JTable.
17808 2006-06-01 Sven de Marothy <sven@physto.se>
17810 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17811 (setPaint): Scale +1 pixel larger.
17813 2006-06-01 Sven de Marothy <sven@physto.se>
17816 * gnu/java/awt/Buffers.java (getData): Reimplement.
17817 * gnu/java/awt/peer/gtk/CairoSurface.java
17818 (getElem, setElem): Call native methods.
17820 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17822 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17824 2006-06-01 Sven de Marothy <sven@physto.se>
17826 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17827 (drawImage): Check for zero size.
17828 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17829 (setFont): Declare new native method.
17830 (GdkTextLayout): Read some attributes.
17831 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17833 (setFont): New native method.
17835 2006-06-01 Sven de Marothy <sven@physto.se>
17837 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17838 (updateBufferedImage): Fix some errors.
17840 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17842 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17844 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17845 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17846 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17847 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17848 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17849 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17850 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17851 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17852 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17853 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17855 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17857 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17858 * javax/swing/JEditorPane.java: Likewise,
17859 * javax/swing/JFormattedTextField.java: Likewise,
17860 * javax/swing/JLayeredPane.java: Likewise,
17861 * javax/swing/JScrollPane.java: Likewise,
17862 * javax/swing/JSlider.java: Likewise,
17863 * javax/swing/JSpinner.java: Likewise,
17864 * javax/swing/JTree.java: Likewise,
17865 * javax/swing/JViewport.java: Likewise,
17866 * javax/swing/UIDefaults.java: Likewise,
17867 * javax/swing/UIManager.java: Likewise.
17869 2006-06-01 Sven de Marothy <sven@physto.se>
17871 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17872 (BufferedImageGraphics): Cache surfaces.
17873 (updateBufferedImage): Copy directly for certain color models.
17874 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17875 (drawImage): Reimplement.
17877 2006-06-01 Sven de Marothy <sven@physto.se>
17879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17880 (setPixels): Don't swap, correct size.
17882 2006-05-31 Anthony Green <green@redhat.com>
17885 * java/net/InetSocketAddress.java: Defer getting the host
17886 name until somebody calls InetSocketAddress.getHostName().
17887 Fix "represenation" typo.
17889 2006-06-01 Sven de Marothy <sven@physto.se>
17891 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17892 (updateBufferedImage): Simplify.
17893 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17894 (getPixels): Don't swap.
17896 2006-06-01 Sven de Marothy <sven@physto.se>
17898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17899 (setGradient): Reimplement.
17901 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17903 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17904 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17906 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17907 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17909 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17912 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17914 * javax/swing/table/JTableHeader.java
17915 (getColumnHeaderRenderer): New method,
17916 (getAccessibleColumnHeaderRenderer): Delegate part to new
17917 getColumnHeaderRenderer() method,
17918 (getLocale): Implemented.
17920 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17922 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17923 (cp_gtk_grab_current_drawable): Rename
17924 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17925 cp_gtk_grab_current_drawable, remove static declaration.
17926 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17928 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17929 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17930 Remove prototype of
17931 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17932 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17934 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17935 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17936 cp_gtk_grab_current_drawable here.
17938 2006-05-31 Sven de Marothy <sven@physto.se>
17940 Should fix PR 27835
17941 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17942 (updateBufferedImage): Keep within image bounds.
17944 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17945 Andreas Tobler <a.tobler@schweiz.ch>
17947 * configure.ac: Check for libXrender when the GTK peers are
17948 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17950 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17951 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17952 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17954 2006-05-31 Lillian Angel <langel@redhat.com>
17956 * javax/swing/plaf/basic/BasicProgressBarUI.java
17957 (paintString): Implemented to paint the string vertically.
17959 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17961 * javax/swing/JTable.java
17962 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17963 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17965 (AccessibleJTable.getAccessibleTable()): Likewise,
17966 (getAccessibleContext): Create new context if required.
17968 2006-05-31 Roman Kennke <kennke@aicas.com>
17970 * javax/swing/JTabbedPane.java
17971 (AccessibleJTabbedPane.stateChanged): Implemented.
17972 (Page.getAccessibleStateSet): Implemented.
17973 (Page.getAccessibleIndexInParent): Implemented.
17974 (getAccessibleContext): Add AccessibleJTabbedPane object
17975 as ChangeListener to the JTabbedPane.
17977 2006-05-31 Roman Kennke <kennke@aicas.com>
17979 * javax/swing/JMenuItem.java
17980 (getAccessibleContext): Register accessible object as ChangeListener
17982 (AccessibleJMenuItem.armed): New field.
17983 (AccessibleJMenuItem.focusOwner): New field.
17984 (AccessibleJMenuItem.pressed): New field.
17985 (AccessibleJMenuItem.selected): New field.
17986 (stateChanged): Implemented.
17988 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17990 * javax/swing/ListSelectionModel.java: Added API docs all over.
17992 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17994 * examples/gnu/classpath/examples/swing/FillRect.java
17995 (paintComponent): Optionally paint lines rather than rectangles.
17996 (createContent): Added option to test line painting.
17998 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
18000 * javax/swing/event/EventListenerList.java
18001 (getListenerList): Updated API docs.
18003 2006-05-30 Sven de Marothy <sven@physto.se>
18005 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18006 (drawImage): Clip scaled image to dest rectangle.
18008 2006-05-30 Sven de Marothy <sven@physto.se>
18010 * gnu/java/awt/peer/gtk/CairoSurface.java:
18011 (CairoSurface): Convert pixels properly.
18012 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18013 Remove commented-out lines.
18015 2006-05-30 Sven de Marothy <sven@physto.se>
18017 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18018 (drawImage): Use Toolkit to convert to BufferedImage.
18019 * gnu/java/awt/peer/gtk/CairoSurface.java
18020 (CairoSurface(GtkImage)): New Constructor.
18021 (getBufferedImage): New method.
18022 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18023 Don't fill background - FIXME.
18024 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18025 Remove unused methods.
18026 * gnu/java/awt/peer/gtk/GtkImage.java:
18027 (pixbuflock): New field. Methods change to use this lock.
18028 * gnu/java/awt/peer/gtk/GtkToolkit.java
18029 (createImage): Use Cairo-backed surfaces via GtkImage instead of
18031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18032 (setPixels): Correct length in bytes.
18034 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18036 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18037 System.loadLibrary unconditionally.
18038 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18039 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18040 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18041 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18043 2006-05-30 Mark Wielaard <mark@klomp.org>
18045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18046 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18047 Mark unused parameters, remove unused variables.
18049 2006-05-30 Sven de Marothy <sven@physto.se>
18051 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18052 (copyArea): Implemented.
18053 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18055 (copyAreaNative): New method.
18057 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
18059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18060 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18061 for non big endian systems.
18062 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18064 2006-05-30 Roman Kennke <kennke@aicas.com>
18066 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18067 * java/awt/TexturePaint.java
18068 (createContext): Implemented.
18070 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18072 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18075 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18077 * java/awt/Container.java:
18078 (removeAll): Reimplemented, added note.
18080 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18082 * java/awt/Container.java:
18083 (removeAll): Implemented different removal mechanism, added note.
18085 2006-05-30 Lillian Angel <langel@redhat.com>
18088 * java/awt/Component.java:
18089 (translateEvent): Added handling to translate WindowEvents
18090 * java/awt/Window.java:
18091 Removed unneeded imports.
18093 2006-05-30 Mark Wielaard <mark@klomp.org>
18095 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18098 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18100 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18102 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18104 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18105 (clearRect): Do not reuse the fg field, call updateColor.
18106 (drawRaster): Likewise.
18107 (setColor): Call updateColor.
18108 (updateColor): New method.
18110 2006-05-30 Mark Wielaard <mark@klomp.org>
18112 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18113 (PTR_TO_JLONG): Likewise.
18114 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18115 (getPointer): Use new conversion macros.
18116 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18117 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18118 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18120 (setNativeObject): Likewise.
18121 (getNativeObject): Likewise.
18122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18123 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18125 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18126 Correctly cast XID and pointer values.
18127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18128 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18129 Mark unused variables.
18130 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18132 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18133 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18134 Remove unused cairographics2d struct.
18135 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18136 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18137 Use new conversion macros.
18138 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18140 2006-05-30 Mark Wielaard <mark@klomp.org>
18142 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18144 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18146 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18147 (copy): Do not reuse the fd field.
18148 (setColor): Do not set the color if the parameter
18150 (translate(double, double): Rewritten to use
18151 AffineTransform.translate.
18153 2006-05-30 Sven de Marothy <sven@physto.se>
18155 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18156 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18159 * include/Makefile.am
18160 * native/jni/gtk-peer/Makefile.am
18162 * gnu/java/awt/peer/gtk/CairoSurface.java
18163 (getSharedGtkImage): New method.
18164 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18165 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18167 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18168 Support a non-xrender context.
18169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18171 * gnu/java/awt/peer/gtk/GtkImage.java
18172 * include/gnu_java_awt_peer_gtk_GtkImage.h
18173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18174 (initFromBuffer): New method.
18175 * native/jni/gtk-peer/gtkpeer.h:
18176 Remove declarations of previouslyremoved methods.
18178 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18180 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18182 2006-05-29 Mark Wielaard <mark@klomp.org>
18184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18185 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18188 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18189 early. Remove unused return statement in void function.
18190 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18192 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18193 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18195 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18196 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18198 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18201 2006-05-29 Sven de Marothy <sven@physto.se>
18203 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18204 (setPixels): Remove superfluous return statement.
18206 2006-05-29 Sven de Marothy <sven@physto.se>
18208 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18209 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18210 * gnu/java/awt/peer/gtk/CairoSurface.java
18211 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18212 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18213 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18214 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18215 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18216 * native/jni/gtk-peer/cairographics2d.h
18217 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18218 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18221 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18223 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18226 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18227 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18228 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18229 (releasePeerGraphicsResource): Moved to Font peer class.
18231 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18232 (createGraphics): Use new context classes.
18234 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18235 Use native BufferedImages where possible.
18237 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18238 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18240 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18241 renamed to cairoDrawGdkTextLayout.
18243 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18244 (getGraphics): Use ComponentGraphics context.
18245 (createImage): Use native BufferedImage.
18247 * gnu/java/awt/peer/gtk/GtkImage.java:
18248 * include/gnu_java_awt_peer_gtk_GtkImage.h
18249 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18250 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18251 Remove drawing methods.
18253 * gnu/java/awt/print/JavaPrinterGraphics.java:
18254 Use CairoSurface instead of GtkImage.
18256 * include/Makefile.am
18257 * native/jni/gtk-peer/Makefile.am
18258 Update for new files.
18260 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18261 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18262 Remove superfluous GtkImage code for GdkPixmaps.
18264 * native/jni/gtk-peer/gtkpeer.h
18265 Remove graphics2d structure.
18267 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18269 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18270 Do not reuse fg in the constructor.
18272 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18274 * java/io/ObjectStreamConstants.java: Added API docs.
18276 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18278 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18279 Take no action if this color is already set.
18281 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18283 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18285 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18286 Optionally paint with translation. (createContent): Added option
18287 to test painting with translation
18289 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18291 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18292 pattern to the default value when null.
18293 Pass field pattern, and not parameter with same name to createFileStream.
18295 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18297 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18298 New class implementing the OS bean.
18299 * gnu/java/lang/management/package.html:
18300 New file to document the gnu.java.lang.management package.
18301 * java/lang/management/ManagementFactory.java:
18302 New class to provide access to the OS bean.
18303 * java/lang/management/OperatingSystemMXBean.java:
18305 * java/lang/management/package.html:
18306 New file to document the java.lang.management package.
18308 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18310 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18313 (SECURITY): Likewise.
18314 (CACERTS): Likewise.
18315 (CACERTS_GKR): Likewise.
18316 (gkrCaCertsPathName): New field.
18317 (jksCaCertsPathName): Likewise.
18318 (selfSignedCertificate): Likewise.
18319 (start): Initialize trusted certificate key stores if -trustcacerts is
18321 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18322 (orderChain): Implemented.
18323 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18324 certificate key stores if -trustcacerts option is specified.
18325 (findTrustInCACerts): Removed.
18326 (getCertPathParameters): New method.
18327 (validate): New method.
18328 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18330 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18332 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18333 (PATTERN_KEY): Likewise.
18334 (DEFAULT_PATTERN): Likewise.
18335 (LIMIT_KEY): Likewise.
18336 (DEFAULT_LIMIT): Likewise.
18337 (COUNT_KEY): Likewise.
18338 (DEFAULT_COUNT): Likewise.
18339 (APPEND_KEY): Likewise.
18340 (DEFAULT_APPEND): Likewise.
18341 (FileHandler()): Use pattern value as set in logging.properties.
18342 Use constants defined above.
18343 (FileHandler(1)): Use constants defined above.
18344 (FileHandler(2)): Likewise.
18345 (FileHandler(3)): Likewise.
18346 (FileHandler(4)): Likewise.
18347 (createFileStream): Likewise.
18349 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18351 * java/util/logging/FileHandler.java: Reverted previous patch.
18352 * java/util/logging/LogManager.java: Likewise.
18354 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18356 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18357 (DEFAULT_PATTERN): Likewise.
18358 (FileHandler()): Use configured pattern property if any; otherwise use a
18359 default value as per RI documentation.
18360 * java/util/logging/LogManager.java (getStringProperty): New method.
18362 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18364 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18366 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18368 * configure.ac (FOUND_CACAO): New automake conditional.
18369 Add --enable-tool-wrappers.
18370 * NEWS: Introduce the --enable-tool-wrappers option.
18371 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18372 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18374 * tools/toolwrapper.c: New file.
18376 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18378 * java/awt/Graphics2D.java: Use full class name for
18379 PrinterJob in javadoc.
18381 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18383 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18384 (callMouseMethod): Likewise.
18386 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18388 * native/jni/java-net/java_net_VMURLConnection.c:
18389 Fix function declarations to specify unused parameters.
18390 * scripts/check_jni_methods.sh:
18391 Remove copies of the same function using uniq.
18393 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18395 * vm/reference/java/net/VMURLConnection.java:
18396 Make package-private and final.
18398 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18400 * examples/gnu/classpath/examples/swing/TableDemo.java
18401 (TModed): Added editor for the icons column.
18402 (createContent): Increase the row height by 2 px.
18404 2006-05-26 Tom Tromey <tromey@redhat.com>
18406 PR classpath/27685:
18407 * java/math/BigInteger.java (modPow): Correctly handle negative
18410 2006-05-26 Tom Tromey <tromey@redhat.com>
18412 * configure.ac: Check for magic.h and -lmagic.
18413 * vm/reference/java/net/VMURLConnection.java: New file.
18414 * include/java_net_VMURLConnection.h: New file.
18415 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18416 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18417 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18419 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18420 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18422 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18424 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18426 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18428 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18429 libjawtgnu.la libjawt.la.
18431 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18433 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18436 2006-05-25 Lillian Angel <langel@redhat.com>
18439 * java/awt/Window.java
18440 (Window): Moved code to helper.
18441 (addWindowFocusListener): New function. Handles focus
18442 listener code. Added code to handle focus lost/gained
18445 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18448 Make pkg-config check for GTK+ >= 2.8.
18450 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18453 (flush): Remove debugging printfs.
18455 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18457 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18458 (schedule_flush): New function.
18459 (end_drawing_operation): Call schedule_flush.
18461 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18463 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18464 paint performance demo.
18465 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18467 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18469 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18470 Cairo version requirement. Do not mention --enable-gtk-cairo
18472 * NEWS: Add entry for GdkGraphics2D.
18473 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18474 Cairo library and headers.
18475 * .externalToolBuilders/Configure.launch: Remove
18476 --enable-gtk-cairo from configure line.
18477 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18479 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18480 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18481 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18482 useGraphics2D references. Always assume Graphics2D is enabled.
18483 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18484 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18485 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18486 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18487 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18488 useGraphics2D references. Always assume Graphics2D is enabled.
18489 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18490 Graphics2D check. Always assume Graphics2D is enabled.
18491 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18492 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18493 (realize): Remove method.
18494 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18495 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18496 (isRealized): Remove method.
18497 (realize): Implement as a native method. Remove useGraphics2D
18498 references. Always assume Graphics2D is enabled.
18499 * gnu/java/awt/peer/gtk/GtkImage.java,
18500 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18501 GdkGraphics references with GdkGraphics2D references.
18502 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18503 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18504 useGraphics2D references. Always assume Graphics2D is enabled.
18505 * include/Makefile.am (GTKPEER_H_FILES): Remove
18506 gnu_java_awt_peer_gtk_GdkGraphics.h.
18507 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18508 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18509 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18510 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18511 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18512 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18513 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18514 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18515 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18516 (AM_LDFLAGS): Remove CAIRO_LIBS.
18517 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18518 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18520 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18522 2006-05-25 Lillian Angel <langel@redhat.com>
18524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18525 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18526 Added check to prevent assertion error. If widget->window is null, then
18527 use the parent widget's window to set the cursor on.
18529 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18531 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18534 2006-05-24 Lillian Angel <langel@redhat.com>
18536 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18537 (prependCodeBase): Added check to determine if the documentbase
18538 points to a directory or a file.
18540 2006-05-24 Sven de Marothy <sven@physto.se>
18542 * java/awt/dnd/DragGestureRecognizer.java
18543 (resetRecognizer): Implement.
18544 (fireDragGestureRecognized): Implement.
18546 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18548 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18549 fixed source code formatting.
18551 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18553 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18555 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18557 Reported by Antony Balkisson.
18558 * javax/swing/JTable.java (selectAll): Return without action
18559 if the table is empty.
18561 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18563 * examples/gnu/classpath/examples/swing/TableDemo.java:
18564 (SliderCell): New inner class. (setCustomEditors,
18565 setInformativeHeaders): New fields. (createContent):
18567 * javax/swing/DefaultCellEditor.java
18568 (JComboBoxDelegate.shouldSelectCell): New method.
18569 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18570 * javax/swing/plaf/basic/BasicTableUI.java
18571 (MouseInputHandler.mouseClicked): Start editing on a single
18572 click if the cell editor is not a default cell editor.
18574 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18576 * javax/swing/naming/CompositeName.java,
18577 javax/swing/naming/CompoundName.java:
18580 2006-05-23 Archie Cobbs <archie@dellroad.org>
18582 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18585 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18587 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18588 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18589 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18590 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18591 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18592 * javax/swing/tree/ExpandVetoException.java: Likewise,
18593 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18594 * javax/swing/tree/RowMapper.java: Likewise,
18595 * javax/swing/tree/TreeNode.java: Likewise,
18596 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18597 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18599 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18601 * javax/swing/tree/DefaultTreeCellRenderer.java
18602 (DefaultTreeCellRenderer): Changed key for
18603 setBackgroundNonSelectionColor(),
18604 plus API docs all over.
18606 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18609 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18610 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18611 Initialise in constructor. (columnMoved): Cancel editing.
18612 (createDefaultEditors): Rewritten. (editCellAt):
18613 Just invert the value if this is a boolean cell.
18614 (initialiseLocalVars): Do not initialise renderer and editor tables.
18615 (setUI): Create editors and renderers here.
18617 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18619 * examples/gnu/classpath/examples/awt/Demo.java:
18620 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18621 instance as subframe.
18622 (ResolutionWindow): New inner class.
18623 (FullscreenWindow): New inner class.
18625 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18628 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18629 Set horizontal alignment to centered.
18631 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18633 * javax/accessibility/AccessibleContext.java
18634 (getAccessibleComponent): Fixed typo in docs,
18635 * javax/swing/JLabel.java:
18636 (AccessibleJLabel.getAccessibleName): Check for explicit
18638 * javax/swing/JTableHeader.java
18639 (AccessibleJTableHeaderEntry.columnIndex): New field,
18640 (AccessibleJTableHeaderEntry.parent): New field,
18641 (AccessibleJTableHeaderEntry.table): New field,
18642 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18644 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18646 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18647 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18648 (AccessibleJTableHeaderEntry.contains): Implemented,
18649 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18650 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18651 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18652 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18653 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18654 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18655 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18656 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18657 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18658 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18659 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18660 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18661 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18662 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18663 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18664 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18665 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18666 (AccessibleJTableHeaderEntry.getFont): Implemented,
18667 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18668 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18669 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18670 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18671 (AccessibleJTableHeaderEntry.getSize): Implemented,
18672 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18673 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18674 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18675 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18676 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18677 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18679 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18680 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18681 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18682 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18683 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18684 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18685 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18686 (AccessibleJTableHeaderEntry.setFont): Implemented,
18687 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18688 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18689 (AccessibleJTableHeaderEntry.setSize): Implemented,
18690 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18691 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18692 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18693 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18694 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18696 2006-05-22 Tom Tromey <tromey@redhat.com>
18700 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18702 * javax/swing/JLabel.java
18703 (AccessibleJLabel.getAccessibleName): New method (override),
18704 (setLabelFor): Fire 'labelFor' property change event before other
18707 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18709 * javax/swing/JLabel.java
18710 (AccessibleJLabel.getAccessibleRole): New method (override).
18712 2006-05-22 Tom Tromey <tromey@redhat.com>
18714 * resource/gnu/classpath/tools/serialver/messages.properties: New
18716 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18717 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18719 (classpath): Likewise.
18722 (addFileURL): New method.
18723 (getClassLoader): Likewise.
18724 (printMessage): Likewise.
18726 2006-05-22 Tom Tromey <tromey@redhat.com>
18728 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18730 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18732 * javax/swing/JTable.java (doLayout): In the column
18733 resize mode, only repaing the changed part of the table.
18734 (getLeftResizingBoundary): New method.
18736 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18738 * javax/naming/spi/InitialContextFactory.java,
18739 javax/naming/spi/InitialContextFactoryBuilder.java,
18740 javax/naming/spi/NamingManager.java,
18741 javax/naming/spi/ObjectFactory.java,
18742 javax/naming/spi/ResolveResult.java,
18743 javax/naming/spi/Resolver.java,
18744 javax/naming/spi/StateFactory.java: Documented.
18746 2006-05-21 Tom Tromey <tromey@redhat.com>
18748 PR classpath/27688:
18749 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18751 (initSet): Removed.
18752 (shouldExtract): Removed.
18754 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18755 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18758 (allItems): New field.
18759 (run): Initialize it.
18762 2006-05-22 Sven de Marothy <sven@physto.se>
18764 * java/nio/CharBuffer.java
18765 (wrap): Fix bounds checking.
18767 2004-08-26 Tom Tromey <tromey@redhat.com>
18769 * java/io/OutputStream.java
18770 (OutputStream): Implements Closeable, Flushable.
18772 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18774 * java/io/ObjectOutputStream.java:
18775 (writeObject(Object)): Added enum support.
18776 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18777 * java/io/ObjectStreamClass.java:
18778 (isEnum()): New package-private method.
18779 (setFlags(Class)): Added enum support.
18780 * java/io/ObjectStreamConstants.java:
18783 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18785 * java/io/ObjectInputStream.java:
18786 (parseContent(byte)): Added enum support.
18787 * java/io/ObjectStreamConstants.java:
18789 (TC_MAX): Changed to new maximum, TC_ENUM.
18791 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18793 * java/beans/beancontext/BeanContextSupport.java:
18794 (instantiateChild(String)): Implemented.
18796 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18798 * java/beans/beancontext/BeanContextSupport.java:
18799 (add(Object)): Add further documentation.
18800 (isEmpty()): Documented.
18801 (propertyChange(PropertyChangeEvent)): Implemented.
18802 (remove(Object)): Documented.
18803 (remove(Object,boolean)): Documented and implemented.
18804 (vetoableChange(PropertyChangeEvent)): Marked as
18805 implemented (only subclasses appear to need this).
18807 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18809 * java/beans/beancontext/BeanContextSupport.java:
18810 (add(Object)): Implement support for the child being
18811 a BeanContextChild.
18812 (avoidingGui()): Implemented.
18813 (dontUseGui()): Likewise.
18814 (needsGui()): Likewise.
18815 (okToUseGui()): Likewise.
18817 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18819 * javax/naming/Context.java,
18820 javax/naming/ContextNotEmptyException.java,
18821 javax/naming/Reference.java: Documented.
18823 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18825 * javax/swing/text/html/MinimalHTMLWriter.java
18826 (writeComponent, writeImage): Declare that the method
18827 may throw the IOException.
18829 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18832 * javax/naming/InitialContext.java (colon_list): Changed type to
18833 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18834 (merge): Rewritten.
18836 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18838 * javax/naming/InitialContext.java: Documented.
18840 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18842 * javax/naming/NameParser.java,
18843 javax/naming/NamingEnumeration.java,
18844 javax/naming/PartialResultException.java,
18845 javax/naming/SizeLimitExceededException.java,
18846 javax/naming/spi/ObjectFactory.java,
18847 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18849 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18851 * gnu/java/net/loader/JarURLLoader.java:
18852 Use Map.Entry instead of LinkedHashMap.Entry
18854 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18856 * javax/naming/Context.java: Documented.
18858 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18860 * javax/naming/Referenceable.java: Documented.
18861 * javax/naming/spi/NamingManager.java: Documented.
18863 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18865 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18866 to messages.properties.
18867 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18868 Renamed to messages.properties.
18869 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18871 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18872 Renamed from MessageBundle.properties.
18873 Added copyright notice.
18874 * resource/gnu/classpath/tools/keytool/messages.properties:
18876 * tools/gnu/classpath/tools/jarsigner/Messages.java
18877 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18878 (getFormattedString): Fixed a spelling mistake.
18879 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18881 2006-05-20 Sven de Marothy <sven@physto.se>
18883 * gnu/java/awt/font/opentype/NameDecoder.java
18885 (getName): Use getShort instead of getChar(), fix PS name.
18886 (decodeName): New method.
18887 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18888 (getSubFamilyName): Implement.
18889 (getPostScriptName): Use the NameDecoder class instead.
18890 (parsePSName): Removed.
18893 2006-05-20 Sven de Marothy <sven@physto.se>
18895 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18896 (getTrueTypeTable): New native method.
18897 (getPostScriptName): Reimplement.
18898 (parsePSName): New method.
18899 (getNumGlyphs): Implement.
18900 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18901 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18902 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18903 New function. File is now explicitly dependent on FT2.
18905 2006-05-20 Tom Tromey <tromey@redhat.com>
18907 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18908 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18910 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18911 (HandleFile): New class.
18912 (input, output, encoding, reversed): New fields.
18913 (createParser): New method.
18916 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18917 (notifyFile): Throws OptionException.
18919 2006-05-20 Tom Tromey <tromey@redhat.com>
18921 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18924 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18926 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18927 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18930 2006-05-20 Sven de Marothy <sven@physto.se>
18932 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18934 2006-05-20 Sven de Marothy <sven@physto.se>
18936 * gnu/java/awt/print/JavaPrinterJob.java
18937 (print): Use PostScriptGraphics2D.
18938 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18940 2006-05-20 Sven de Marothy <sven@physto.se>
18942 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18944 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18946 * gnu/java/security/OID.java: Updated copyright year.
18947 (OID): Removed unused Javadoc param tag.
18948 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18949 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18951 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18953 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18955 Added trace/debug statements.
18956 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18957 Entry. Also ensure that any previous entry for this alias is removed
18958 before a new one is added.
18959 (engineGetKey): Do not trace/log passwords.
18960 Trace key's class name only.
18961 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18962 Certificate Entry. Also ensure that previous entry for this alias is
18963 removed before a new one is added.
18964 (engineLoad): Do not trace/log passwords.
18965 (engineStore): Likewise.
18966 (engineSize): Use size of enumeration instead of collection size.
18968 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18970 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18971 (toString): New method.
18972 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18973 Do not trace/log passwords.
18974 Set masked to false before decoding envelope.
18975 Do not set payload to null.
18976 (encrypt): Set masked to true.
18977 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18978 Do not trace/log passwords.
18979 Set masked to false before decoding envelope.
18980 Do not set payload to null.
18981 Added trace/debug statements.
18982 (authenticate): Do not trace/log passwords.
18983 Set masked to true.
18984 Added trace/debug statements.
18985 (getMac): Added trace/debug statements.
18986 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18987 (remove(String)): Changed the signature to return a boolean.
18988 (toString): New method.
18989 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18991 (getCertificate): Likewise.
18992 (putCertificate): Likewise.
18994 Do not trace/log passwords.
18996 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18997 Do not trace/log passwords.
18998 Added more trace/logging statements.
18999 (putPrivateKey): Do not trace/log passwords.
19000 Trace only key's class name.
19002 (containsPublicKey): Formatting.
19003 (getPublicKey): Likewise.
19004 Trace only key's class name.
19005 (putPublicKey): Trace only key's class name.
19006 (containsCertPath): Formatting.
19007 (getCertPath): Likewise.
19008 (putCertPath): Likewise.
19009 (load): Do not trace/log passwords.
19012 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19013 (add): Do not set payload to null.
19014 Added trace/debug statements.
19015 (containsAlias): Added trace/debug statements.
19017 (remove(Entry)): Likewise.
19018 (remove(String)): Likewise.
19019 Changed the signature to return a boolean.
19020 Do not set payload to null unless really removed.
19021 (toString): New method.
19022 (decodeEnvelope): Clear entries before proceeding.
19023 (makeAliasList): Added trace/debug statements.
19024 Ensure only non-null aliases and alias-lists are added.
19025 * gnu/javax/crypto/keyring/Entry.java (log): New field.
19026 (TYPES): New constant.
19027 (toString): New method.
19028 (defaultDecode): Add trace/debug statement.
19030 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
19032 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19033 Increased visibility.
19034 (setup): Do not trace/log passwords.
19035 (parsed): Was not setting correct (rfc) field; fixed.
19036 (print1Chain): Formatting.
19037 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19038 Do not trace/log passwords.
19039 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19040 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19041 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19042 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19043 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19044 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19045 (orderChain): Added FIXME.
19046 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19047 Do not trace/log passwords.
19048 Removed commented out code.
19049 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19050 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19051 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19052 (setKeystoreURLParam): Likewise.
19053 (setKeystorePasswordParam): Do not trace/log passwords.
19054 (saveKeyStore): Likewise.
19056 2006-05-19 Roman Kennke <kennke@aicas.com>
19058 * gnu/java/awt/java2d/AbstractGraphics2D.java
19060 (pixel): Removed obsolete field.
19061 (draw(Shape)): Removed commented out code.
19062 (drawImage): Formatting.
19063 (drawString): Added optimization hook.
19064 (setPaint): Removed rawSetForeground().
19065 (getFontRenderContext): Return context with correct transform.
19066 (drawGlyphVector): Draw complete outline in one go.
19067 (copyArea): Added optimization hook.
19068 (clearRect): Added optimization hook.
19069 (drawImage): Added optimization hook.
19070 (fillShape): (Temporarily) Set antialiasing off by default for
19071 font rendering. Adjust the shape by some bits to improve rendering.
19072 Pass clip bounds to the render methods.
19073 (drawPixel): Removed.
19074 (rawSetPixel): Removed.
19075 (rawSetForeground): Removed.
19076 (rawDrawLine): Default impl calls standard pipeline.
19077 (rawDrawString): New method, calls standard pipeline for rendering.
19078 (rawClearRect): New method, calls standard pipeline for rendering.
19079 (rawFillRect): New method, calls standard pipeline for rendering.
19080 (rawDrawImage): New method, calls standard pipeline for rendering.
19081 (rawCopyArea): New method.
19082 (copyAreaImpl): New method.
19083 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19085 (fillShapeAntialias): Fixed AA rendering.
19086 (fillScanlineAA): Fixed AA rendering.
19087 (getSegments): Take offset into account.
19089 2006-05-19 Sven de Marothy <sven@physto.se>
19091 * javax/swing/text/AbstractWriter.java
19092 (getText): Fix parameters (start, length) not (start, end).
19094 2006-05-19 Tom Tromey <tromey@redhat.com>
19096 PR classpath/27444:
19097 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19098 Changed return type.
19099 * java/net/URLClassLoader.java (urlloaders): Removed.
19100 (addURLImpl): Updated.
19101 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19102 (indexSet): Likewise.
19103 (classPath): Changed type.
19104 (JarURLLoader): New constructor.
19105 (initialize): New method.
19106 (getResource): Use index set if it exists.
19107 (getClassPath): Updated.
19108 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19109 (prefixes): New field.
19110 (headers): Removed.
19111 (IndexListParser): Fill in prefixes.
19112 (clearAll): Clear prefixes.
19113 (getHeaders): Changed return type.
19115 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19117 * javax/swing/plaf/basic/BasicTableHeaderUI.java
19118 (MouseInputHandler.mouseExitted): No nothing there.
19119 (MouseInputHandler.endDragging): Move column to the
19120 first/last position if released outside the horizontal
19123 2006-05-19 Lillian Angel <langel@redhat.com>
19125 * java/awt/font/GlyphVector.java
19126 (getGlyphCharIndex): Implemented.
19127 (getGlyphCharIndices): Implemented.
19128 (getGlyphOutline): Implemented.
19129 (getGlyphVisualBounds): Implemented.
19130 (getGlyphVisualBounds): Implemented.
19131 (getPixelBounds): Implemented.
19132 (getLayoutFlags): Implemented.
19134 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19136 * java/awt/LightweightDispatcher.java: Added field dragButton and
19137 documentation for it.
19138 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19139 added subexpression to if-clause in MOUSE_RELEASED case.
19141 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19143 * javax/swing/metal/MetalButtonUI.java:
19144 (update): Removed some subexpression from if-clause and call
19145 updateWithGradient.
19146 (updateWithGradient): New method.
19148 2006-05-19 Roman Kennke <kennke@aicas.com>
19150 * javax/swing/JComponent.java
19151 (findOverlapFreeParent): Implemented algorithm for finding
19152 overlapping in component hierarchy.
19154 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
19156 * java/lang/Thread.java
19157 (contextClassLoaderIsSystemClassLoader): New field.
19158 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19159 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19160 and set contextClassLoaderIsSystemClassLoader.
19161 (Thread(ThreadGroup,Runnable,String,long)):
19162 Set contextClassLoaderIsSystemClassLoader.
19163 (createAnonymousThreadName): New method.
19164 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19165 and fixed security check.
19166 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19168 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19170 * javax/swing/plaf/basic/BasicToolBarUI.java:
19171 (createNonRolloverBorder): Rewritten.
19172 (createRolloverBorder): Rewritten.
19173 (setToNonRolloverBorder): Store old border instance in hashtable.
19174 (setToRolloverBorder): Store old border instance in hashtable, use
19175 AbstractButton instead of JButton in statements.
19176 (setBorderToNormal): Rewritten.
19177 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19178 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19179 ToolBar.nonrolloverBorder.
19181 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19183 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19184 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19186 2006-05-18 Lillian Angel <langel@redhat.com>
19188 * java/awt/font/GlyphMetrics.java
19189 (getLSB): Implemented.
19190 (getRSB): Implemented.
19192 2006-05-18 Lillian Angel <langel@redhat.com>
19194 * java/awt/font/GraphicAttribute.java:
19195 Documented entire class.
19196 (GraphicAttribute): Added check for alignment.
19197 (getBounds): Implemented.
19198 (getJustificationInfo): Implemented.
19200 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19202 * java/awt/LightweightDispatcher.java:
19203 (handleMouseEvent): Added note, added subexpression to if-statement.
19205 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19207 * javax/swing/plaf/basic/BasicToolBarUI.java:
19208 (navigateFocusedComp): Marked as stub.
19209 (createRolloverBorder): Create a different Border instance, added note.
19210 * javax/swing/plaf/metal/MetalBorders.java:
19211 (ButtonBorder): Added documentation.
19212 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19213 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19214 subexpression into if-else cascade, added note.
19216 2006-05-18 Lillian Angel <langel@redhat.com>
19218 * java/awt/font/ShapeGraphicAttribute.java:
19219 Documented entire class.
19220 (ShapeGraphicAttribute): Initialized bounds field.
19221 (draw): Implemented.
19222 (equals): Implemented.
19223 (getAdvance): Implemented.
19224 (getAscent): Implemented.
19225 (getBounds): Implemented.
19226 (getDescent): Implemented.
19227 (hashCode): Implemented.
19229 2006-05-18 Roman Kennke <kennke@aicas.com>
19231 * javax/swing/CellRendererPane.java
19232 (CellRendererPane): Set CellRendererPane to invisible.
19234 2006-05-18 Roman Kennke <kennke@aicas.com>
19236 * gnu/java/awt/peer/gtk/GdkGraphics.java
19237 (clipRect): Removed old intersection statement.
19239 2006-05-18 Roman Kennke <kennke@aicas.com>
19241 * gnu/java/awt/peer/gtk/GdkGraphics.java
19242 (clipRect): Don't use Rectangle.intersection() to avoid creating
19243 2 unnecessary Rectangle instances and fix a clipping problem.
19244 (computeIntersection): New helper method, adapted from SwingUtilities.
19246 2006-05-18 Roman Kennke <kennke@aicas.com>
19248 * javax/swing/JComponent.java
19249 (isCompletelyDirty): Removed.
19250 (paint): Don't mark children as clean, this is no longer necessary.
19251 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19252 painting when something overlaps the viewport (like a popup/menu).
19253 * javax/swing/RepaintManager.java
19254 (currentRepaintManagers): Made package private to avoid accessor
19256 (dirtyComponents): Made private.
19257 (dirtyComponentsWork): Made private.
19258 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19259 component-local not parent-local. Do not set flag in JComponent.
19260 (markCompletelyClean): Don't set JComponent flag.
19261 (isCompletelyDirty): Rewritten to return true when the complete
19262 component is marked dirty.
19263 (paintDirtyRegions): Improved parent-merging so that the merged-in
19264 components don't get painted too. 'Outsourced' the compilation
19265 of the repaint root components.
19266 (compileRepaintRoots): New helper method.
19268 2006-05-18 Roman Kennke <kennke@aicas.com>
19271 * javax/swing/text/GapContent.java
19272 (GapContentPosition(int)): Use adapted binarySearch method to
19273 allow for having a greater array than number of entries.
19274 (numMarks): New field, holds the end of the marks list.
19275 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19276 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19277 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19278 (setPositionsInRange): Changed signature to narrow the purpose and
19279 special cases inside. Reimplemented to crunch together equal marks.
19280 (adjustPositionsInRange): Added assertion to make sure we do
19281 not accidentally change the order of the mark. Added some debug
19282 output for a special case of which I don't know if it even exists.
19283 (resetMarksAtZero): Made impl simpler.
19284 (dumpMarks): New debug helper method.
19285 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19286 (binarySearch): New method. An adaption of Arrays.binarySearch()
19287 that allows for an maxIndex parameter.
19289 2006-05-18 Roman Kennke <kennke@aicas.com>
19291 * javax/swing/KeyboardManager.java
19292 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19294 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19296 * gnu/java/net/loader/JarURLLoader.java
19297 (JarURLLoader): Use a slightly more efficient URL constructor.
19299 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19301 * gnu/java/awt/print/JavaPrinterGraphics.java
19302 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19303 (drawImage(Image, int, int, ImageObserver)): Likewise,
19304 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19305 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19306 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19307 ImageObserver)): Likewise,
19308 (drawImage(Image, int, int, int, int, int, int, int, int,
19309 ImageObserver)): Likewise.
19311 2006-05-17 Tom Tromey <tromey@redhat.com>
19313 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19316 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19318 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19319 * javax/swing/border/BevelBorder.java: Likewise,
19320 * javax/swing/border/CompoundBorder.java: Likewise,
19321 * javax/swing/border/TitledBorder.java: Likewise.
19323 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19325 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19326 * javax/swing/table/DefaultTableModel.java: Likewise,
19327 * javax/swing/table/TableCellEditor.java: Likewise,
19328 * javax/swing/table/TableCellRenderer.java: Likewise.
19330 2006-05-17 Lillian Angel <langel@redhat.com>
19332 * java/awt/font/ImageGraphicAttribute.java:
19333 Documented entire class.
19334 (ImageGraphicAttribute): Changed to call this.
19335 (ImageGraphicAttribute): Implemented.
19336 (draw): Implemented.
19337 (equals): Implemented.
19338 (getAdvance): Implemented.
19339 (getAscent): Implemented.
19340 (getBounds): Implemented.
19341 (getDescent): Implemented.
19342 (hashCode): Implemented.
19343 * javax/swing/text/html/HTMLDocument.java
19344 (create): Removed. Sufficent enough for
19345 super to be called.
19346 (insert): Likewise.
19347 (insertUpdate): Likewise.
19348 (processHTMLFrameHyperlinkEvent): Marked as stub.
19349 (start): Removed FIXME.
19351 (start): Called super.
19352 (end): Called super.
19353 (getElement): removed unneeded code.
19354 (setParagraphAttribute): Removed. Sufficent enough
19355 for super to be called.
19356 (fireChangedUpdate): Likewise.
19357 (fireUndoableEditUpdate): Likewise.
19359 2006-05-17 Lillian Angel <langel@redhat.com>
19361 * java/awt/TexturePaint.java:
19362 Added documentation for class and all functions.
19363 (getTransparency): Implemented.
19365 2006-05-17 Roman Kennke <kennke@aicas.com>
19367 * java/awt/LightweightDispatcher.java
19368 (findTarget): Translate point to child components.
19370 2006-05-17 Roman Kennke <kennke@aicas.com>
19373 * javax/swing/text/GapContent.java
19374 (GapContentPosition): Do no more implement Comparable.
19375 (GapContentPosition.mark): Removed field.
19376 (GapContentPosition.index): New field to hold the index into
19377 the positions array.
19378 (GapContentPosition(int)): Rewritten to use the new indirection
19379 to the positions array.
19380 (GapContentPosition.compareTo): Removed.
19381 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19382 positionMarks array.
19383 (WeakPositionComparator): Removed obsolete class.
19384 (positions): Changed type to WeakHashMap.
19385 (positionMarks): New field, holds the marks of the positions.
19386 (GapContent): Initialize new fields.
19387 (createPosition): Rewritten to use the new indirection
19388 to the positions array.
19389 (getPositionsInRange): Rewritten to use the new indirection
19390 to the positions array.
19391 (setPositionsInRange): Rewritten to use the new indirection
19392 to the positions array.
19393 (adjustPositionsInRange): Rewritten to use the new indirection
19394 to the positions array.
19395 (insertMark): New helper method.
19396 (clearPositionReferences): Removed obsolete methods.
19398 2006-05-17 Lillian Angel <langel@redhat.com>
19400 * java/awt/GraphicsConfiguration.java
19401 (getImageCapabilities): Implemented.
19402 (getBufferCapabilities): Implemented.
19404 2006-05-17 Lillian Angel <langel@redhat.com>
19406 * javax/swing/plaf/basic/BasicSliderUI.java
19407 (focusGained): Implemented.
19408 (focusLost): Implemented.
19409 (paint): Added code to paint the focus.
19410 * javax/swing/plaf/metal/MetalSliderUI.java
19411 (paintThumb): Added code to set the thumbColor.
19412 (paintFocus): Implemented properly.
19414 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19417 * javax/naming/spi/NamingManager.java (getURLContext):
19418 Always search for the factory class in all possible places
19419 and use VMStackWalker.
19420 (forName): New method.
19422 2006-05-17 Roman Kennke <kennke@aicas.com>
19424 * java/awt/LightweightDispatcher.java
19425 (handleMouseEvent): Fixed search algorithm for finding the
19426 mouse event target.
19427 (findTarget): Fixed search algorithm for finding the
19428 mouse event target.
19430 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19432 * javax/naming/spi/NamingManager.java: Documented.
19434 2006-05-17 Mark Wielaard <mark@klomp.org>
19436 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19437 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19438 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19439 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19441 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19444 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19446 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19448 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19450 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19453 * java/awt/LightweightDispatcher.java:
19454 (handleMouseEvent): Moved assignment into switch-block, added notes.
19456 2006-05-16 Lillian Angel <langel@redhat.com>
19458 * javax/swing/text/StyleContext.java:
19459 Changed staticAttributeKeys to be a Hashtable.
19460 (getStaticAttribute): Implemented.
19461 (getStaticAttributeKey): Implemented.
19462 (readAttributeSet): Implemented.
19463 (writeAttributeSet): Added FIXME. Not sure how
19465 (readAttributes): Implemented.
19466 (writeAttributes): Implemented.
19467 (registerStaticAttibuteKey): Fixed to add key to
19470 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19472 * javax/swing/DefaultButtonModel.java
19473 (setGroup): Removed event notification.
19475 2006-05-16 Lillian Angel <langel@redhat.com>
19477 * javax/swing/plaf/basic/BasicComboBoxUI.java
19478 (installKeyboardActions): Implemented.
19479 (uninstallKeyboardActions): Implemented.
19480 * javax/swing/plaf/basic/BasicComboPopup.java
19481 (uninstallKeyboardActions): Removed FIXME. Nothing
19483 (installKeyboardActions): Likewise.
19484 * javax/swing/plaf/basic/BasicTextUI.java
19485 (uninstallKeyboardActions): Implemented.
19486 * javax/swing/plaf/basic/BasicTreeUI.java:
19487 Added field for hashColor.
19488 Marked stub methods.
19489 (getHashColor): Implemented to use field.
19490 (setHashColor): Likewise.
19491 (getRowX): Implemented.
19492 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19494 2006-05-16 Roman Kennke <kennke@aicas.com>
19497 * javax/swing/JTable.java
19498 (rowHeights): New field.
19499 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19500 in order to initialize rowHeights correctly.
19501 (tableChanged): Nullify rowHeights when model changes. Only
19502 create default columns from model when corresponding property
19503 is set. Sync table model with rowHeights as appropriate.
19504 (valueChanged): Call repaint with the correct rectangle.
19505 (rowAtPoint): Handle rowHeights.
19506 (getCellRect): Mostly rewritten. Check for boundaries
19507 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19508 Handle component orientation. Round correctly.
19509 (getRowHeight(int)): Implemented for variable row height.
19510 (setRowHeight(int,int)): Implemented for variable row height.
19511 (setRowHeight(int)): Nullify rowHeights.
19512 (setModel): Notify tableChanged().
19513 * javax/swing/plaf/basic/BasicTableUI.java
19514 (installDefaults): Create rendererPane in installUI.
19515 (installUI): Create and install rendererPane.
19516 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19518 (paint): Correctly handle rowMargin.
19520 2006-05-16 Tom Tromey <tromey@redhat.com>
19522 PR classpath/27563:
19523 * java/text/NumberFormat.java (getIntegerInstance): Use
19524 "integerFormat", not "numberFormat".
19526 2006-05-16 Lillian Angel <langel@redhat.com>
19528 * javax/swing/JPopupMenu.java
19529 (addMenuKeyListener): Implemented.
19530 (removeMenuKeyListener): Implemented.
19531 (getMenuKeyListeners): Implemented.
19532 * javax/swing/ProgressMonitor.java:
19533 Added new protected field.
19534 (getAccessibleContext): Implemented.
19536 2006-05-16 Lillian Angel <langel@redhat.com>
19538 * javax/swing/JFileChooser.java:
19539 Added new private field.
19540 (setDragEnabled): Implemented.
19541 (getDragEnabled): Implemented.
19543 2006-05-16 Lillian Angel <langel@redhat.com>
19545 * java/awt/Window.java
19546 (applyResourceBundle): Implemented.
19548 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19550 * javax/swing/DefaultButtonModel.java
19551 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19554 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19556 * javax/swing/JList.java (getSelectedValues):
19557 Ask the value for the indexed array element.
19559 2006-05-16 Roman Kennke <kennke@aicas.com>
19561 * javax/swing/JTable.java
19562 (valueChanged): Also repaint when table has only 1 row. Fixed
19563 repaint rectangle to span the entire changed rows.
19565 2006-05-16 Roman Kennke <kennke@aicas.com>
19568 * javax/swing/JOptionPane.java
19569 (startModal): Rewritten. The events are now dispatched, even
19570 when the event dispatch thread gets blocked by the call
19571 to this method. Also, mouse events get intercepted outside the
19574 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19576 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19577 (BorderListener.mouseDragged):Do not set cursor
19578 if the frame is being dragged.
19580 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19582 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19583 (BorderListener): Rewritten. (InternalFrameBorder):
19584 Made package private.
19585 (InternalFrameBorder.offset):
19586 Renamed to cornerSize, made package private.
19587 (bSize): Made package private.
19589 2006-05-16 Roman Kennke <kennke@aicas.com>
19591 * javax/swing/JMenu.java
19592 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19593 (AccessibleJMenu.getAccessibleChild): Implemented.
19594 (AccessibleJMenu.getAccessibleSelection): Implemented.
19595 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19596 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19597 (AccessibleJMenu.getAccessibleRole): Documented.
19598 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19599 (AccessibleJMenu.addAccessibleSelection): Implemented.
19600 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19601 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19602 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19603 (createPath): New helper method.
19605 2006-05-15 Tom Tromey <tromey@redhat.com>
19607 * java/text/MessageFormat.java (format): Now varargs.
19609 2006-05-15 Tom Tromey <tromey@redhat.com>
19611 * java/lang/Thread.java (State): Fixed typo.
19613 2006-05-15 Tom Tromey <tromey@redhat.com>
19615 * java/net/URLClassLoader.java: Moved inner classes to
19616 gnu.java.net.loader.
19617 (factoryCache): Changed type.
19618 (URL_LOADER_PREFIX): New constant.
19619 (URLClassLoader): Updated for new factoryCache.
19620 (addURLImpl): Use reflection to search for a loader.
19621 (findClass): Use getClass method on URLLoader.
19622 (getURLStreamHandler): Removed.
19623 * gnu/java/net/loader/URLLoader.java: New file, extracted
19624 from URLClassLoader.
19625 * gnu/java/net/loader/Resource.java: Likewise.
19626 * gnu/java/net/loader/FileResource.java: Likewise.
19627 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19628 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19629 * gnu/java/net/loader/JarURLResource.java: Likewise.
19630 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19631 * gnu/java/net/loader/RemoteResource.java: Likewise.
19632 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19634 2006-05-15 Sven de Marothy <sven@physto.se>
19636 * native/target/generic/target_generic_network.h:
19637 Add a pair of parenthesis.
19639 2006-05-15 Mark Wielaard <mark@klomp.org>
19641 * java/awt/Graphics2D.java: Remove PrinterJob import.
19643 2006-05-15 Mark Wielaard <mark@klomp.org>
19645 * doc/www.gnu.org/announce/20060515.wml: New file.
19646 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19647 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19649 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19651 * NEWS: Announce inclusion of gcjwebplugin.
19652 Announce inclusion of appletviewer.
19653 * INSTALL: Note gcjwebplugin dependencies.
19655 2006-05-15 Mark Wielaard <mark@klomp.org>
19657 * configure.ac (VERSION): Set to 0.91-generics.
19659 2006-05-15 Mark Wielaard <mark@klomp.org>
19661 * NEWS: Add release date and VMClassLoader.getBootPackages()
19664 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19666 * README: Added CACAO to list of VMs.
19668 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19670 * javax/swing/RepaintManager.java (paintDirtyRegions):
19671 Break loop as soon as the component repaint is merged
19672 with some parent. (ComponentComparator): Removed.
19673 (comparator): Removed.
19675 2006-05-15 Roman Kennke <kennke@aicas.com>
19677 * javax/swing/border/TitledBorder.java
19678 (paintBorderWithTitle): Fixed indentation.
19680 2006-05-15 Roman Kennke <kennke@aicas.com>
19682 * javax/swing/border/TitledBorder.java
19683 (layoutBorderWithTitle): Fetch border using getBorder() instead
19684 of using the border field directly. Allows for the use of
19685 an UI supplied border in the case when a null border was set.
19686 Fixed component orientation.
19687 (paintBorderWithTitle): Fetch border using getBorder() instead
19688 of using the border field directly. Allows for the use of
19689 an UI supplied border in the case when a null border was set.
19691 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19693 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19694 (contains): New method.
19696 2006-05-15 Tom Tromey <tromey@redhat.com>
19698 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19700 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19703 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19705 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19707 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19708 region. (paintDirtyRegions): Rewritten.
19710 2006-05-15 Tom Tromey <tromey@redhat.com>
19712 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19714 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19716 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19717 (run): Use MessageFormat.
19718 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19719 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19720 (writeFile): Use MessageFormat.
19722 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19724 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19725 instead of directly calling the class loader.
19727 2006-05-15 Tom Tromey <tromey@redhat.com>
19729 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19730 Removed old comment.
19731 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19732 Externalized strings.
19733 (getVersionString): Use MessageFormat.
19734 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19735 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19736 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19737 (getArgument): Use a MessageFormat.
19738 (handleLongOption): Likewise.
19741 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19744 * javax/swing/text/FieldView.java:
19745 (paint): Calculate intersection between clip and allocation area and
19746 set that as new clip.
19748 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19750 * javax/swing/text/JTextComponent.java: Marked stub methods.
19752 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19754 * javax/swing/JTable.java: Marked stub methods.
19756 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19758 * tools/gnu/classpath/tools/jarsigner/Main.java:
19759 Increased visibility of fields used by parser anonymous classes.
19760 (KEYTOOL_TOOL): New constant.
19761 (cmdLineParser): Changed type to ToolParser.
19762 (fileAndAlias): new field.
19763 (main): Don't catch OptionException.
19764 (processArgs): Removed validation checks; now handled by ToolParser.
19765 (getParser): Removed.
19766 (ToolParserCallback): New inner class.
19767 (ToolParser): Likewise.
19769 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19771 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19774 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19776 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19777 endResizingFrame): Do not repaint, unless in the outline mode.
19779 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19781 * javax/swing/JTabbedPane.java
19782 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19783 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19784 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19785 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19786 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19787 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19788 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19789 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19790 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19791 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19792 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19793 (Page.getAccessibleName): Implemented.
19795 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19797 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19798 Do not repaint nor revalidate here.
19800 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19802 * javax/swing/RepaintManager.java (addDirtyRegion):
19803 If there is a lightweight parent, recursively add the corresponding
19804 region of the parent instead.
19806 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19808 * java/awt/Graphics2D.java: Added some API doc comments.
19810 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19812 * javax/swing/JTabbedPane.java
19813 (paramString): Reimplemented,
19814 (getAccessibleContext): Added API docs.
19816 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19818 * javax/swing/JFileChooser.java
19819 (paramString): Reimplemented,
19820 (getAccessibleContext): Updated API docs,
19821 (AccessibleJFileChooser): Added API docs.
19823 2006-05-14 Tom Tromey <tromey@redhat.com>
19825 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19827 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19829 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19831 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19832 validation to JarParser.
19833 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19834 (run): Moved validation to JarParser. Don't throw OptionException.
19835 (initializeParser): Create a JarParser.
19836 (main): Don't catch OptionException.
19837 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19839 (validate): New method.
19840 (parse): Call it. Print '-help' in error message when long-only.
19842 2006-05-14 Tom Tromey <tromey@redhat.com>
19844 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19847 2006-05-15 Sven de Marothy <sven@physto.se>
19849 * gnu/java/awt/print/JavaPrinterGraphics.java:
19850 Sweeping changes I can't be bothered to document in detail.
19851 * gnu/java/awt/print/JavaPrinterJob.java
19852 (getPageAttributes): New method.
19853 (setPageable,cancel,isCancelled): Implement.
19855 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19857 * javax/swing/JCheckBoxMenuItem.java
19858 (requestFocus): Fixed typo in API docs,
19859 (paramString): Just call super.paramString(),
19860 (getAccessibleContext): Added API docs,
19861 (AccessibleJCheckBoxMenuItem): Likewise.
19863 2006-05-14 Tom Tromey <tromey@redhat.com>
19865 * tools/gnu/classpath/tools/jar/Indexer.java
19866 (writeCommandLineEntries): Simplify insertion.
19867 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19870 2006-05-14 Tom Tromey <tromey@redhat.com>
19872 PR classpath/27514:
19873 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19875 (JAR_INDEX_VERSION_KEY): Likewise.
19876 (IndexListParser): Updated.
19877 (getVersionInfo): Likewise.
19878 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19879 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19881 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19883 (ModeOption): New constructor.
19884 (parsed): Updated. Use setArchiveFile.
19885 (setArchiveFile): New method.
19886 (run): Handle no-argument case.
19887 (main): Emit --help message on option error.
19888 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19889 (createManifest): New method.
19890 (run): Updated. Throws OptionException. Correctly copy zip entry.
19891 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19893 (writeManifest): Removed.
19894 (outputStream): Now a JarOutputStream.
19895 (writeCommandLineEntries): Changed parameters. Updated callers.
19896 (run): Throws OptionException.
19897 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19898 * java/util/jar/Manifest.java (read): Typo fix.
19900 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19902 * javax/swing/JMenuItem.java
19903 (paramString): Fixed class name in API doc comment.
19905 2006-05-14 Tom Tromey <tromey@redhat.com>
19907 * native/plugin/.cvsignore: Updated.
19909 2006-05-14 Mark Wielaard <mark@klomp.org>
19911 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19914 2006-05-14 Chris Burdess <dog@gnu.org>
19916 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19917 nodes to be preserved during cloneNode.
19919 2006-05-14 Mark Wielaard <mark@klomp.org>
19922 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19923 inherited timeout on socket.
19925 2006-05-14 Lillian Angel <langel@redhat.com>
19927 * java/util/SimpleTimeZone.java: Reverted patch.
19928 (SimpleTimeZone): Throw exception if startMonth ==
19930 (SimpleTimeZone): Likewise.
19931 (checkRule): Rewritten to properly check all values (more
19933 This code is now more stable, at least less buggy than before.
19934 Fixed API documentation.
19935 (setStartRule): Moved checkRule call to end.
19936 (setStartRule): Likewise.
19937 (setEndRule): Likewise.
19938 (setEndRule): Likewise.
19940 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19942 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19945 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19948 * javax/swing/text/AbstractDocument.java:
19949 (insertString): Flipped if-expression and its blocks.
19951 (replace): Flipped if-expression and its blocks, added note, invoke
19952 insertString and remove instead of insertStringImpl and removeImpl.
19954 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19956 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19958 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19960 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19962 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19963 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19964 Increased visibility of fields used by parser anonymous classes.
19965 (processArgs): Removed.
19966 (getParser): New method.
19967 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19968 (setup): Mark (Eclipse) strings that need not be externalised.
19970 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19971 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19972 command line option parsing.
19973 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19974 Increased visibility of fields used by parser anonymous classes.
19975 (processArgs): Removed.
19976 (setup): set 'all' local field.
19977 (getParser): New method.
19978 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19979 Increased visibility of fields used by parser anonymous classes.
19980 (processArgs): Removed.
19981 (getParser): New method.
19982 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19983 (setNewKeyPassword): Fixed comments.
19984 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19985 Increased visibility of fields used by parser anonymous classes.
19986 (processArgs): Removed.
19987 (getParser): New method.
19988 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19990 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19991 Increased visibility of fields used by parser anonymous classes.
19992 (processArgs): Removed.
19993 (setup): Mark (Eclipse) strings that need not be externalised.
19994 (getParser): New method.
19995 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19996 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19997 Increased visibility of fields used by parser anonymous classes.
19998 (processArgs): Removed.
19999 (getParser): New method.
20000 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20001 (ATTRIBUTES_OPT): New constant.
20002 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
20003 Increased visibility of fields used by parser anonymous classes.
20004 (processArgs): Removed.
20005 (setup): Mark (Eclipse) strings that need not be externalised.
20007 Reduced logging level.
20008 (getParser): New method.
20009 * tools/gnu/classpath/tools/keytool/Command.java
20010 (processArgs): Made it concrete.
20011 (getParser): New abstract method.
20012 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20014 2006-05-13 Casey Marshall <csm@gnu.org>
20016 Patch by Michael Barker <mike@middlesoft.co.uk>.
20017 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20018 * gnu/java/nio/SelectorImpl.java (register): Added condition for
20019 gnu.java.nio.SocketChannelSelectionKeyImpl.
20020 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20021 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20023 * include/gnu_java_nio_VMChannel.h: new file.
20024 * java/nio/FileChannel.java (read,write): changed to call abstract
20026 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20027 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20028 `gnu_java_nio_VMChannel.c.'
20029 * vm/reference/gnu/java/nio/VMChannel.java: new file.
20031 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
20033 * javax/swing/text/AbstractDocument.java:
20034 (insertString): Flipped if-expression and its blocks.
20036 (replace): Flipped if-expression and its blocks, added note, invoke
20037 insertString and remove instead of insertStringImpl and removeImpl.
20039 2006-05-13 Tom Tromey <tromey@redhat.com>
20041 * java/nio/ByteBufferImpl.java (compact): Always set position.
20043 2006-05-13 Sven de Marothy <sven@physto.se>
20045 * gnu/java/awt/print/JavaPrinterGraphics.java
20046 (spoolPostScript): Use a faster writer.
20048 2006-05-13 Sven de Marothy <sven@physto.se>
20050 * gnu/java/awt/print/JavaPrinterGraphics.java
20051 (colorTripleHex): Reimplement better.
20053 2006-05-13 Sven de Marothy <sven@physto.se>
20055 * javax/swing/text/html/HTMLDocument.java
20056 (CharacterAction.start): Translate tag to StyleAttribute.
20057 (pushCharacterStyle): Push copy of attributes onto stack.
20058 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20061 2006-05-13 Sven de Marothy <sven@physto.se>
20063 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20064 * java/awt/print/PrinterJob.java
20065 (getPrinterJob): Return a JavaPrinterJob
20066 (setPrintService,getPrintService): Implement.
20067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20068 (getPixels): Gtk_threads_enter required.
20069 * gnu/java/awt/print/JavaPrinterGraphics.java
20070 * gnu/java/awt/print/JavaPrinterJob.java
20071 * gnu/java/awt/print/SpooledDocumet.java:
20074 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20076 * javax/swing/text/TextAction.java:
20077 (HorizontalMovementAction): New inner class.
20078 (VerticalMovementAction): New inner class.
20079 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20080 new inner classes to array 'defaultActions'.
20081 (SelectionBeginWordAction): New inner class.
20082 (SelectionEndWordAction): New inner class.
20083 (BeginWordAction): New inner class.
20084 (EndWordAction): New inner class.
20085 (PreviousWordAction.actionPerformed): Rewritten.
20086 (SelectLineAction): New inner class.
20087 (SelectWordAction): New inner class.
20088 (SelectionDownAction): Rewritten.
20089 (SelectionUpAction): Rewritten.
20090 (DownAction): Rewritten.
20091 (UpAction): Rewritten.
20092 (SelectionForwardAction): Rewritten.
20093 (SelectionBackwardAction): Rewritten.
20094 (ForwardAction): Rewritten.
20095 (BackwardAction): Rewritten.
20096 (BeginAction): New inner class.
20097 (EndAction): New inner class.
20098 (DefaultKeyTypedAction.actionPerformed): Use int variant of
20099 Character.isISOControl.
20101 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20103 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20104 (WordFilter.getNextVisualPositionFrom): Added statement to check
20105 for variable pt not being null.
20107 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20109 * javax/swing/text/Utilities.java:
20110 (getNextWord): Fixed grammar in exception message.
20111 (getPreviousWord): Changed expression in first if-clause, added sub-
20112 expression to if-clause in while-loop.
20113 (getWordStart): Changed expression in if-clause.
20114 getNextVisualPositionFrom): Added package-private helper method.
20116 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20118 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20121 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
20123 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20125 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20126 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20127 * tools/gnu/classpath/tools/jarsigner/Main.java:
20128 Increased visibility of fields used by parser anonymous classes.
20129 (HELP_PATH): Removed.
20130 (cmdLineParser): New field.
20131 (main): Handle JVM exit status.
20132 Handle command line parsing exceptions.
20133 (processArgs): Use getopt command line parser.
20134 (getParser): New method.
20135 (setupCommonParams): Removed checks now handled by processArgs().
20136 (setupSigningParams): Likewise.
20137 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20138 Reuse an existing message-bundle constant.
20140 2006-05-12 Tom Tromey <tromey@redhat.com>
20142 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20143 Explicitly specify class for synchronization.
20145 2006-05-12 Tom Tromey <tromey@redhat.com>
20147 * java/util/logging/Logger.java (resetLogger): Fixed typo.
20149 2006-05-12 Sven de Marothy <sven@physto.se>
20151 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20152 * gnu/java/net/protocol/http/HTTPURLConnection.java
20153 (setConnectTimeout): New method.
20154 (getConnection): Add timeout parameter.
20155 * java/net/URLConnection.java
20156 (getConnectTimeout, setConnectTimeout): Implement.
20157 * native/target/generic/target_generic_network.h:
20158 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20160 2006-05-12 Sven de Marothy <sven@physto.se>
20162 * gnu/javax/print/CupsServer.java
20163 (CupsServer): Make the Cups host configurable.
20164 * java/lang/System.java: Document the system property.
20166 2006-05-12 Roman Kennke <kennke@aicas.com>
20168 * javax/swing/border/TitledBorder.java
20169 (paintBorder): Rewritten for simplicity and correctness.
20170 (layoutBorderWithTitle): New helper method.
20171 (paintBorderWithTitle): New helper method.
20172 (getBorderInsets): Rewritten.
20173 (getMinimumSize): Rewritten.
20174 (getRealJustification): Removed.
20175 (getMeasurements): Removed.
20176 (Measurements): Removed.
20178 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20180 * javax/swing/plaf/basic/BasicPanelUI.java
20181 (sharedUI): New field,
20182 (createUI): Return a shared instance rather than a new instance,
20183 (installUI): Reformatted and added API docs,
20184 (installDefaults): Install border if one is defined,
20185 (uninstallDefaults): Uninstall border.
20187 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20189 * javax/swing/JProgressBar.java: Updated API docs all over.
20191 2006-05-11 Lillian Angel <langel@redhat.com>
20193 * java/awt/ContainerOrderFocusTraversalPolicy.java
20194 (getComponentAfter): Should not throw exception if
20195 the ancestor is null. Added a check for this.
20196 Also, changed to use new helper function, we should
20197 iterate through all the components at least once.
20198 (getNextAvailableComponent): New helper function.
20199 (getPrevAvailableComponent): New helper function.
20200 (getComponentBefore): Should not throw exception if
20201 the ancestor is null. Added a check for this.
20202 Also, changed to use new helper function, we should
20203 iterate through all the components at least once.
20204 (getFirstComponent): Changed check to manually check
20205 fields. Calling accept() casts the object to a Component,
20206 so different values may be returned.
20207 (getLastComponent): Likewise.
20209 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20211 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20212 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20213 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20214 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20215 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20216 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20217 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20218 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20219 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20220 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20221 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20222 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20223 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20224 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20225 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20226 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20227 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20228 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20230 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20232 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20233 package-private, added field 'active'.
20234 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20235 cases to update field 'active'.
20236 (mouseDragged): Added documentation, added if-clause to update
20237 selection or caret position.
20238 (mouseClicked): Added early return when text component is disabled.
20239 (focusGained): Moved statements into an if-clause.
20240 (focusLost): Added subexpression to if-clause.
20241 (install): Preset value of 'active'.
20242 (paint): Added subexpression to if-clause.
20243 (isVisible): Extended return expression.
20244 * javax/swing/text/JTextComponent.java:
20245 (copy): Copy only if component is enabled.
20246 (cut): Cut only if component is enabled and editable.
20249 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20251 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20252 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20253 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20254 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20255 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20256 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20257 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20259 2006-05-11 Roman Kennke <kennke@aicas.com>
20261 * gnu/java/awt/font/GNUGlyphVector.java
20262 (GNUGlyphVector): Don't apply the font renderer context's
20265 2006-05-11 Mark Wielaard <mark@klomp.org>
20267 * java/util/logging/Logger.java (global): Initialize inside static
20270 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20272 * javax/swing/JFrame.java
20273 (EXIT_ON_CLOSE): Added note to API docs,
20274 (close_action): Renamed closeAction,
20275 (JFrame()): Change title to "",
20276 (JFrame(String)): Added API docs,
20277 (getAccessibleContext): Likewise,
20278 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20279 (processWindowEvent): Updated for renamed field,
20280 (setDefaultCloseOperation): Likewise, and updated API docs.
20282 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20284 * javax/swing/JFrame.java
20285 (paramString): Reimplemented,
20286 * javax/swing/SwingUtilities.java
20287 (convertWindowConstantToString): New method.
20289 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20291 * javax/swing/WindowConstants.java: Updated API docs.
20293 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20295 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20296 (createUI): Removed 'final' qualifier for parameter,
20297 (paint): Reformatted.
20299 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20301 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20302 (createUI): Removed 'final' qualifier on method argument.
20304 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20306 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20307 (getDefaultIcon): Removed this redundant method.
20309 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20311 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20312 (paint): Pass component size to paintFocus().
20314 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20316 * java/awt/Component.java:
20317 (dispatchEventImpl): Added comment.
20319 2006-05-11 Mark Wielaard <mark@klomp.org>
20321 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20322 Option constructor null argument to String.
20324 2006-05-11 Mark Wielaard <mark@klomp.org>
20326 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20327 Fully qualify PathIterator constants
20329 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20331 * java/awt/Component.java:
20332 (dispatchEventImpl): Added subexpression to if-clause.
20334 2006-05-11 Mark Wielaard <mark@klomp.org>
20336 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20339 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20341 * javax/swing/TransferHandler.java: Marked stub methods.
20343 2006-05-10 Roman Kennke <kennke@aicas.com>
20346 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20347 (installDefaults): Set background of content pane to null, if
20348 no custom color has been installed by the application yet.
20350 2006-05-10 Roman Kennke <kennke@aicas.com>
20353 * javax/swing/JRootPane.java
20354 (createContentPane): Don't set background to null.
20356 2006-05-10 Sven de Marothy <sven@physto.se>
20358 * java/awt/print/PrinterJob.java:
20359 (lookupPrintServices): Un-comment-out.
20361 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20363 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20364 (FILLER): New constant.
20365 (formatText(PrintStream,String,int)): New method.
20366 (formatText(PrintStream,String,int,Locale)): Likewise.
20367 (printHelp): Use formatText method.
20368 * tools/gnu/classpath/tools/getopt/Parser.java
20369 (MAX_LINE_LENGTH): New constant.
20370 (formatText(PrintStream,String)): New method.
20371 (formatText(PrintStream,String,Locale)): Likewise.
20372 (printHelp): New method.
20373 (printHelp(PrintStream)): Increased visibility to protected.
20374 Use formatText method.
20376 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20378 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20379 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20380 modify the lookup key.
20382 2006-05-10 Lillian Angel <langel@redhat.com>
20384 * java/util/SimpleTimeZone.java: Reverted patch.
20385 (SimpleTimeZone): Throw exception if startMonth ==
20387 (SimpleTimeZone): Likewise.
20388 (checkRule): Rewritten to properly check all values (more
20390 This code is now more stable, at least less buggy than before.
20391 Fixed API documentation.
20392 (setStartRule): Moved checkRule call to end.
20393 (setStartRule): Likewise.
20394 (setEndRule): Likewise.
20395 (setEndRule): Likewise.
20397 2006-05-10 Roman Kennke <kennke@aicas.com>
20399 * gnu/java/awt/peer/swing/SwingComponent.java:
20400 Some API comment fixlets.
20401 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20402 (createImage): Create a BufferedImage, not a Toolkit image.
20403 (paint): Removed bogus API comment.
20404 (prepareImage): Added checks to avoid NPE.
20405 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20406 (getInsets): Added check to avoid NPE.
20407 (handleMouseEvent): Added check to avoid NPE.
20408 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20409 Some API comment fixlets.
20410 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20411 Some API comment fixlets.
20412 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20413 Changed start_pos name to startPos.
20414 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20415 Some API comment fixlets.
20417 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20419 * java/awt/BasicStroke.java
20420 (equals): Fixed typo in HTML tag for API doc comment.
20422 2006-05-10 Gary Benson <gbenson@redhat.com>
20424 * java/lang/ThreadGroup.java (parent): Make package-private.
20425 * java/lang/SecurityManager.java (checkAccess(Thread)):
20426 Reference ThreadGroup.parent directly to avoid extra checks.
20427 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20430 2006-05-10 Roman Kennke <kennke@aicas.com>
20432 Reported by Ingo Proetel (proetel@aicas.com)
20433 * java/awt/EventDispatchThread.java
20434 (DEFAULT_PRIORITY): New constant field.
20435 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20436 system property for adjusting the priority of the event
20439 2006-05-10 Roman Kennke <kennke@aicas.com>
20441 Reported by Ingo Proetel (proetel@aicas.com)
20442 * java/awt/image/ColorModel.java
20443 (S_RGB_MODEL): New constant field.
20444 (getRGBDefault): Return constant SRGBColorModel.
20445 (SRGBColorModel): Specialized color model for sRGB.
20447 2006-05-10 Roman Kennke <kennke@aicas.com>
20449 * java/awt/ColorPaintContext.java
20450 (getRaster): Create Raster with (0,0) as source location.
20452 2006-05-10 Roman Kennke <kennke@aicas.com>
20454 * gnu/java/awt/java2d/AlphaCompositeContext.java
20455 (compose): Don't premultiply alpha to alpha itself.
20457 2006-05-10 Roman Kennke <kennke@aicas.com>
20459 * gnu/java/awt/java2d/AbstractGraphics2D.java
20460 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20461 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20463 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20464 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20465 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20467 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20468 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20470 (scale): Inverse transform by doing 1/scale instead of -scale.
20471 (drawImage(Image,int,int,ImageObserver)): Implemented.
20472 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20473 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20474 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20475 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20477 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20479 (fillScanline): Work on translated destination raster for
20480 correct compositin.
20481 (init): Fetch the clip after the destination raster is initialized.
20482 * gnu/java/awt/java2d/ImagePaint.java: New file.
20483 * gnu/java/awt/java2d/RasterGraphics
20484 (drawImage): Removed.
20486 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20488 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20489 Clarify option descriptions.
20490 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20491 uppercase for metasyntactic variables.
20493 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20496 * javax/swing/text/AbstractDocument.java:
20497 (insertString): Added more documentation, added argument check.
20498 (remove): Added more documentation.
20499 (removeImpl): Added argument check.
20500 (replace): Added more documentation, added argument check.
20502 2006-05-09 Tom Tromey <tromey@redhat.com>
20504 * tools/.cvsignore: Added appletviewer.
20506 2006-05-09 Tom Tromey <tromey@redhat.com>
20508 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20511 2006-05-09 Tom Tromey <tromey@redhat.com>
20513 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20514 Special case for '-J'. Use space instead of '='.
20515 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20518 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20520 * configure.ac: Add --disable-plugin and --with-vm options. Check
20521 for plugin support headers and libraries.
20522 * native/Makefile.am: Recurse into plugin directory.
20523 * native/plugin/.cvsignore: New file.
20524 * native/plugin/Makefile.am: New file.
20525 * native/plugin/gcjwebplugin.cc: New file.
20526 * tools/Makefile.am: Install appletviewer wrapper script.
20527 * tools/appletviewer.in: Replace VM location heuristic with
20528 VM_BINARY configure substitution.
20530 2006-05-09 Tom Tromey <tromey@redhat.com>
20532 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20533 an initial pass to look for short options. Added 'longOnly' option.
20534 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20536 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20537 options into final group. Added -J.
20538 (add): Insert new groups before final group.
20539 (printHelp): Updated.
20541 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20544 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20545 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20546 Expect -classpath option.
20547 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20548 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20550 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20551 (classLoader): New field. (loadClass, setClassPath):
20554 2006-05-09 Roman Kennke <kennke@aicas.com>
20556 * gnu/java/awt/java2d/RasterGraphics.java
20557 (RasterGraphics): Call init() and super().
20558 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20561 2006-05-09 Gary Benson <gbenson@redhat.com>
20563 * java/lang/Thread.java (Thread): Always perform threadgroup
20564 access checks on thread creation.
20566 2006-05-09 Chris Burdess <dog@gnu.org>
20568 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20569 be preserved during cloneNode.
20571 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20574 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20575 Do not demand all thrown exceptions to be an instance of RemoteException.
20577 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20579 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20580 Use hash-style comments.
20581 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20584 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20586 * javax/swing/JLabel.java
20587 (paramString): Added more attribute details,
20588 * javax/swing/SwingUtilities.java
20589 (convertHorizontalAlignmentCodeToString): New method,
20590 (convertVerticalAlignmentCodeToString): New method.
20592 2006-05-08 Tom Tromey <tromey@redhat.com>
20594 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20595 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20596 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20599 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20601 (run): Use ZipInputStream.
20602 (initSet): New method.
20603 (shouldExtract): Likewise.
20604 (run): Use new methods.
20605 * tools/gnu/classpath/tools/jar/Creator.java
20606 (writeCommandLineEntries): New overload.
20607 (writeFile): Use System.err for verbose.
20608 (writeManifest): New method.
20609 (writtenItems): New field.
20610 (writeFile): Update it.
20611 (writeCommandLineEntries): Return void. Call writeManifest.
20612 (addEntries): Don't add extra '/'.
20613 * NEWS: Mention jar.
20615 2006-05-08 Lillian Angel <langel@redhat.com>
20617 * gnu/java/net/IndexListParser.java: New class.
20618 * java/net/URLClassLoader.java
20619 (JarURLLoader): Fixed code to use new class.
20621 2006-05-08 Roman Kennke <kennke@aicas.com>
20623 * javax/swing/JComboBox.java
20624 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20625 (AccessibleJComboBox.getAccessibleChild): Implemented.
20626 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20627 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20628 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20629 (AccessibleJComboBox.getAccessibleAction): Implemented.
20630 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20631 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20632 (AccessibleJComboBox.doAccessibleAction): Implemented.
20633 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20634 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20635 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20636 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20637 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20639 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20641 * configure.ac: Add support for building appletviewer.
20642 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20644 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20646 * tools/appletviewer.c: New file.
20647 * tools/appletviewer.in: New file.
20648 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20650 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20652 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20653 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20655 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20657 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20659 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20661 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20663 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20664 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20666 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20668 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20670 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20672 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20674 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20676 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20679 2006-05-08 Tom Tromey <tromey@redhat.com>
20681 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20682 * tools/gnu/classpath/tools/jar/Action.java: New file.
20683 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20684 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20685 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20686 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20687 * tools/gnu/classpath/tools/jar/Main.java: New file.
20688 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20689 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20690 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20691 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20692 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20693 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20696 2006-05-08 Lillian Angel <langel@redhat.com>
20698 * java/net/URLClassLoader.java
20699 (JarURLLoader): Added check to make sure the INDEX.LIST file
20702 2006-05-08 Roman Kennke <kennke@aicas.com>
20704 * gnu/java/awt/java2d/AbstractGraphics2D.java
20705 (fill): Removed commented out code.
20706 (fillShape): Also determine the outline of the clip and feed
20707 it into the rendering method. Use new helper method for
20708 converting the shapes into lists of segments.
20709 (getUserBounds): Removed obsolete method.
20710 (rawFillShape): Respect the clip when rendering shapes.
20711 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20712 However, the implementation can't clip still.
20713 (getSegments): New helper method for converting a shape into
20714 a list of segments.
20715 (clipShape): Removed obsolete method.
20716 * gnu/java/awt/java2d/PolyEdge.java
20717 (isClip): New field.
20718 (PolyEdge): Added isField argument to constructor.
20720 2006-05-08 Roman Kennke <kennke@aicas.com>
20723 * javax/swing/JRootPane.java
20724 (createContentPane): Set background of the content pane to null,
20725 so that the content pane inherits its background from the
20728 2006-05-08 Roman Kennke <kennke@aicas.com>
20731 * javax/swing/ButtonGroup.java
20732 (add): Check if new button is selected and if so, deselect other
20733 buttons in the group.
20735 2006-05-08 Lillian Angel <langel@redhat.com>
20738 * java/net/URLClassLoader.java
20739 (JarURLLoader): Added code to go through
20740 META-INF/INDEX.LIST file to load all jars listed.
20742 2006-05-08 Roman Kennke <kennke@aicas.com>
20745 * javax/swing/ImageIcon.java
20746 (ImageIcon(URL)): Set description to URL.toString().
20748 2006-05-08 Roman Kennke <kennke@aicas.com>
20751 * javax/swing/JTable.java
20752 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20753 null when cell value is null.
20755 2006-05-08 Roman Kennke <kennke@aicas.com>
20758 * javax/swing/DefaultDesktopManager.java
20759 (closeFrame): Don't perform default close action on the frame
20760 to prevent endless loop.
20762 2006-05-08 Roman Kennke <kennke@aicas.com>
20765 * javax/swing/table/DefaultTableModel.java
20766 (addExtraRows): New helper method.
20767 (checkSize): New helper method.
20768 (setRowCount): Use addExtraRows helper method.
20769 (addColumn): Use addExtraRows helper method.
20770 (getColumnName): Check and adjust size if necessary using
20773 2006-05-08 Roman Kennke <kennke@aicas.com>
20776 * javax/swing/JTable.java
20777 (setValueAt): Allow setting values even when table is editable.
20779 2006-05-08 Tom Tromey <tromey@redhat.com>
20781 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20782 space to error message.
20784 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20786 * javax/swing/AbstractButton.java: Fixed comment typos.
20788 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20790 PR classpath/27435:
20791 * java/util/zip/DeflaterEngine.java:
20792 (deflateFast(boolean,boolean)): Empty buffer when full.
20794 2006-05-07 Sven de Marothy <sven@physto.se>
20797 * java/util/Calendar.java (setTimeZone): Force recalculation.
20799 2006-05-07 Sven de Marothy <sven@physto.se>
20802 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20803 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20805 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20807 PR classpath/27311:
20808 * gnu/java/text/StringFormatBuffer.java:
20809 (toString()): Implemented so we can see the contents.
20810 * java/text/DecimalFormat.java:
20811 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20812 Don't calculate the exponent when the number is 0 or less.
20813 Also, use log10 instead of log now it's available.
20815 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20817 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20818 Use instance's field creationDate not the constructor's argument.
20819 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20820 Removed unused imports.
20823 (decrypt): Added trace/debug/timing statements.
20824 (encrypt): Likewise.
20825 Use PRNG instead of instantiating every time a new SecureRandom.
20826 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20827 Removed unused imports.
20830 (verify): Added trace/debug/timing statements.
20831 (authenticate): Likewise.
20832 Use PRNG instead of instantiating every time a new SecureRandom.
20834 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20836 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20837 (THREAD_FORMAT): Likewise.
20838 (dateFormat): Added field.
20839 (threadFormat): Added field.
20840 (format): Initialize instance fields if null.
20841 Use StringBuilder instead of StringBuffer.
20843 2006-05-07 Roman Kennke <kennke@aicas.com>
20845 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20847 2006-05-07 Roman Kennke <kennke@aicas.com>
20849 * gnu/java/awt/java2d/AbstractGraphics2D.java
20850 (fillShape): Determine user space bounds of shape and feed them
20851 into the actual rendering pipeline.
20852 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20853 (rawSetForeground): Likewise.
20854 (getDestinationColorModel): Removed.
20855 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20856 (rawFillShape): Handle paint context.
20857 (fillScanline): Implement painting and compositing.
20858 (fillShapeAntialias): Handle paint context.
20859 (fillScanlineAA): Implemented preliminary antialiasing based on
20860 composite context. Not working yet.
20861 (fillScanlineAlpha): Removed.
20862 (init): Fetch destination raster.
20863 (getDestinationRaster): New abstract method.
20864 (updateRaster): New backend method.
20866 2006-05-07 Roman Kennke <kennke@aicas.com>
20868 * gnu/java/awt/java2d/AlphaCompositeContext.java
20869 (compose): Fixed loops, conditions and logic to make compositing
20872 2006-05-07 Roman Kennke <kennke@aicas.com>
20874 * java/awt/ColorPaintContext.java
20875 (ColorPaintContext): Fixed filling of the raster.
20877 2006-05-07 Sven de Marothy <sven@physto.se>
20880 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20881 * java/awt/Component.java (processMouseEvent):
20882 Do lightweight cursor handling.
20883 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20884 (endResizing,mouseMoved): Save and reset original cursor, not the
20887 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20890 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20891 getNodeDimensions): Mind the size of the node icon. (getRowX):
20892 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20893 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20894 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20895 (installDefaults): assign totalChildIndent. (installUI): Call
20896 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20897 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20900 2006-05-06 Sven de Marothy <sven@physto.se>
20903 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20904 Check for zero image sizes.
20906 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20909 * java/util/Calendar.java (clear(int)): Forced internal state
20910 completion before performing a field clearing.
20912 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20914 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20915 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20916 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20917 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20918 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20919 UnmodifiableMapEntry as part of their return value.
20921 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20923 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20924 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20925 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20926 Generate jarsigner and keytool scripts.
20927 * tools/keytool.in: New file (renamed from keytool.sh.in).
20928 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20929 * tools/.cvsignore: Replaced *.sh with *
20930 * configure.ac: Replaced tools/*.sh with tools/*.
20932 2006-05-05 Roman Kennke <kennke@aicas.com>
20934 * java/awt/image/ColorModel.java
20935 (getNormalizedComponents): Implemented.
20937 2006-05-05 Roman Kennke <kennke@aicas.com>
20939 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20940 (paint): Query the button model for it's state, not the
20943 2006-05-05 Roman Kennke <kennke@aicas.com>
20945 * javax/swing/JTable.java
20946 (tableChanged): Sync selection model with table model changes.
20948 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20950 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20951 if there are no visible nodes to paint.
20953 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20955 * javax/swing/JOptionPane.java: API doc updates.
20957 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20959 * javax/swing/JToolBar.java
20960 (paramString): Reimplemented.
20962 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20964 * javax/swing/JScrollBar.java
20965 (paramString): Reimplemented.
20967 2006-05-04 Tom Tromey <tromey@redhat.com>
20969 PR classpath/27375:
20970 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20971 (readEntries): Updated.
20972 (getEntries): Likewise.
20973 (getEntry): Likewise.
20974 (getInputStream): Likewise.
20976 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20978 * gnu/javax/imageio/jpeg/DCT.java,
20979 gnu/javax/imageio/jpeg/HuffmanTable.java,
20980 gnu/javax/imageio/jpeg/JPEGComponent.java,
20981 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20982 gnu/javax/imageio/jpeg/JPEGException.java,
20983 gnu/javax/imageio/jpeg/JPEGFrame.java,
20984 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20985 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20986 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20987 gnu/javax/imageio/jpeg/JPEGMarker.java,
20988 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20989 gnu/javax/imageio/jpeg/JPEGScan.java,
20990 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20991 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20993 2006-05-04 Lillian Angel <langel@redhat.com>
20995 * javax/swing/JLabel.java
20996 (JLabel): Pass in an empty string for the text parameter.
20997 (JLabel): Likewise.
20998 (JLabel): Likewise.
21000 2006-05-04 Roman Kennke <kennke@aicas.com>
21002 * javax/swing/plaf/basic/BasicButtonListener.java
21003 (mouseEntered): Fixed conditions for changing states.
21005 2006-05-04 Roman Kennke <kennke@aicas.com>
21007 * javax/swing/JOptionPane.java
21008 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
21010 2006-05-04 Roman Kennke <kennke@aicas.com>
21012 * javax/swing/JLabel.java
21013 (AccessibleJLabel.getSelectedText): Return null instead of "".
21014 (AccessibleJLabel.getSelectionStart): Added comment why
21015 return -1 is correct here.
21016 (AccessibleJLabel.getSelectionEnd): Added comment why
21017 return -1 is correct here.
21018 (AccessibleJLabel.getCharacterAttribute): Added comment about what
21020 (AccessibleJLabel.getCharCount): Added comment about what
21022 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21023 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21024 (paramString): Return super.paramString() here, this provides
21025 a more meaningful output.
21027 2006-05-04 Roman Kennke <kennke@aicas.com>
21029 * javax/swing/JComponent.java
21030 (paint): Added null check to avoid NPE when clip == null.
21032 2006-05-04 Roman Kennke <kennke@aicas.com>
21034 * javax/swing/AbstractButton.java
21035 (addImpl): New method. Installs an OverlayLayout if no
21036 other layout has been installed before.
21037 (setLayout): New method. Detect if a client app installs a custom
21040 2006-05-04 Roman Kennke <kennke@aicas.com>
21042 * javax/swing/table/DefaultTableCellRenderer.java
21043 (noFocusBorder): Fixed width of empty border to 1.
21044 (getTableCellRendererComponent): Don't change the colors for
21045 focuses cells. Fixed border for focused cells.
21047 2006-05-04 Roman Kennke <kennke@aicas.com>
21049 * javax/swing/JTable.java
21050 (moveToCellBeingEdited): Adjust bounding box of editing component
21051 to exactly cover the grid.
21052 * javax/swing/plaf/basic/BasicTableUI.java
21053 (paint): Paint grid to the bottom and right of the cells instead
21054 of left and top. Adjust bounding box of cells accordingly.
21055 * javax/swing/plaf/metal/MetalLookAndFeel.java
21056 (initComponentDefaults): Fixed color of JTable selection border.
21057 * javax/swing/plaf/metal/OceanTheme.java
21058 (addCustomEntriesToTable): Fixed color of JTable selection border.
21060 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
21062 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21063 Use _alias instead of alias.
21065 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21068 Set version to 0.92-pre.
21070 Add space for 0.92 entries.
21072 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21074 * include/Makefile.am:
21075 Added rules for gnu.java.net.local.LocalSocketImpl.h
21076 * include/java_lang_VMSystem.h:
21077 Regenerated correctly.
21079 2006-05-03 Sven de Marothy <sven@physto.se>
21082 * java/awt/Image.java:
21083 (getScaledInstance): Default to AreaAveraging for "smooth",
21084 don't thrown an error on illegal flag values.
21085 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21087 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21089 * javax/swing/text/FieldView.java:
21090 (adjustAllocation): Added if-block to return null when shape argument
21092 * javax/swing/text/PlainView.java:
21093 (updateDamage): Added if-block to return early if a is null.
21095 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21097 * javax/swing/plaf/basic/BasicTextUI.java:
21098 (changeUpdate): Added note.
21099 (removeUpdate): Dito.
21100 (insertUpdate): Dito.
21101 (damageRange): Added if-block to return early.
21102 (modelToView): Added check of getVisibleEditorRect's return value.
21103 (getVisibleEditorRect): Return null instead of empty rectangle.
21104 * javax/swing/text/DefaultCaret.java:
21105 (clearHighlight): Removed if-clause to create a highlight entry if it
21106 did not exist before.
21107 * javax/swing/text/WrappedPlainView.java:
21108 (WrappedLine.modelToView): Throw exception if allocation area is empty,
21109 removed 2nd part of if-expression.
21110 (WrappedLine.updateDamage): Added more documentation, added check
21111 whether allocation area rectangle is null.
21113 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21115 * javax/swing/JSplitPane.java (setDividerLocation(int)):
21116 Reset to preferred sizes if the argument is negative.
21118 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
21120 * javax/swing/JList.java: Added/updated API docs.
21122 2006-05-03 Lillian Angel <langel@redhat.com>
21124 * javax/swing/JComponent.java
21125 (getRoot): New private function. Gets the root appropriate
21126 for painting. If an applet exists as a parent, then it is returned.
21127 (paintDoubleBuffered): Changed to use new function.
21128 * javax/swing/RepaintManager.java
21129 (getRoot): New private function. Gets the root appropriate
21130 for painting. If an applet exists as a parent, then it is returned.
21131 (getOffscreenBuffer): Changed to use new function.
21132 * javax/swing/SwingUtilties.java
21133 (getRoot): Reverted last patch to return Window, even if
21136 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21138 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21139 a pair of one public keyring and one private keyring.
21140 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21141 (containsCertificate): Added logging.
21142 (getCertificate): Likewise.
21143 (putCertificate): Likewsie.
21146 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21147 (containsPrivateKey): Added logging.
21148 (getPrivateKey): Likewise.
21149 (putPrivateKey): Likewise.
21150 (containsPublicKey): Likewise.
21151 (getPublicKey): Likewise.
21152 (putPublicKey): Likewise.
21153 (containsCertPath): Likewise.
21154 (getCertPath): Likewise.
21155 (putCertPath): Likewise.
21159 2006-05-03 Roman Kennke <kennke@aicas.com>
21161 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21162 * java/awt/AlphaComposite.java
21163 (createContext): Implemented.
21165 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21167 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21168 Set the current color again after drawing the raster.
21170 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21172 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21173 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21175 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21177 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21178 Assign returned value to field handler.
21179 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21182 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21184 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21185 Return without action if there is no view in the viewport.
21186 * javax/swing/text/WrappedPlainView.java
21187 (WrappedLine.getPreferredSpan): If metrics == null, update
21189 * javax/swing/tree/DefaultTreeModel.java (constructors):
21190 Do not call setRoot, assign the root node directly.
21192 2006-05-02 Lillian Angel <langel@redhat.com>
21194 * javax/swing/SwingUtilities.java
21195 (getRoot): Should return the Applet if it exists.
21196 Only return the Window if an Applet has not been
21199 2006-05-02 Lillian Angel <langel@redhat.com>
21201 * gnu/javax/swing/text/html/parser/support/Parser.java
21202 (readAttributes): Reverted Audrius' last patch. There is
21203 a slight difference in code between the NUMTOKEN and SLASH case.
21205 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21207 * javax/swing/text/JTextComponent.java:
21208 (setText): Throw InternalError from catch-block.
21209 * javax/swing/text/GapContent.java:
21210 (removed): Removed if-expression, changed '>' to '>='.
21212 2006-05-02 Roman Kennke <kennke@aicas.com>
21214 * gnu/java/awt/java2d/AbstractGraphics2D.java
21215 (AA_SAMPLING): New constant.
21216 (alpha): New field. Used in the antialiasing renderer.
21217 (edgeTable): New field. Used in the antialiasing renderer.
21218 (AbstractGraphics2D): Initialize rendering hints wrt
21220 (draw): Clip after stroking. Commented out clipping for now,
21221 it seems to be buggy.
21222 (fill): Commented out clipping for now, it seems to be buggy.
21223 (setComposite): Don't create composite context.
21224 (setPaint): Only change paint when parameter is not null.
21225 (translate): Call setClip() so subclasses can update their clip
21227 (clip): Call setClip() so subclasses can update their clip
21229 (drawGlyphVector): Added clipping, but left it commented out
21230 because it's buggy.
21231 (getClipBounds): Returns null when clip is null.
21232 (drawLine): Call rawDrawLine with translation applied.
21233 (filLRect): Call rawFillRect with translation applied.
21234 (fillShape): Added support for anti-aliasing.
21235 (rawSetForeground(int,int,int)): New method.
21236 (rawFillShape): A couple of painting fixes.
21237 (fillScanline): Implemented to call rawDrawLine.
21238 (fillShapeAntialias): New method. Implements an anti-aliasing
21240 (fillScanlineAA): New method. Used for the anti-aliasing
21242 (fillScanlineAlpha): New method. Used for the anti-aliasing
21244 (init): Initialize clip with the device bounds.
21245 (updateOptimization): Fixed the optimization condition.
21247 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21249 * javax/swing/text/GapContent.java:
21250 (GapContent): Restrict size argument by 2.
21251 (insertString): Changed expression from >= to >.
21252 (remove): Changed right side of expression to 'length - 1', changed
21254 (getChars): Throw exception if where below 0.
21255 (replace): Replaced call to setPositionsInRange() with
21256 resetMarksAtZero(), removed note.
21258 2006-05-02 Roman Kennke <kennke@aicas.com>
21261 * javax/swing/MenuSelectionManager.java
21262 (setSelectedPath): Rewritten.
21264 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21266 * gnu/javax/swing/text/html/parser/support/Parser.java
21267 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21270 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21272 * tools/.cvsignore: Added keytool.sh.
21273 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21275 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21277 * doc/tools.texinfo: New file.
21278 * doc/Makefile.am: Generate tools documentation.
21280 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21282 * tools/keytool.sh.in: New file.
21283 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21284 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21285 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21286 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21287 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21288 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21289 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21290 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21291 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21292 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21293 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21294 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21295 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21296 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21297 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21298 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21299 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21300 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21302 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21304 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21305 resemble more closely man-page style text.
21306 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21307 Mark (Eclipse) strings that need not be externalised.
21308 (writeSF): Likewise.
21309 (writeDSA): Likewise.
21310 Use package-private Messages class to provide i18n-ready strings.
21312 Use package-private Messages class to provide i18n-ready strings.
21313 (updateEntry): Likewise.
21314 Mark (Eclipse) strings that need not be externalised.
21315 (finishSigning): Likewise.
21316 * tools/gnu/classpath/tools/jarsigner/Main.java:
21317 Mark (Eclipse) strings that need not be externalised.
21318 (main): Do not use constant strings as class name.
21319 Use package-private Messages class to provide i18n-ready strings.
21320 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21321 (processArgs): Do not use constant strings as class name.
21322 Mark (Eclipse) strings that need not be externalised.
21323 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21324 (start): Do not use constant strings as class name.
21325 (teardown): Likewise.
21327 (setupCommonParams): Do not use constant strings as class name.
21328 Use package-private Messages class to provide i18n-ready strings.
21329 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21330 (installNewProvider): Do not use constant strings as class name.
21332 (setupSigningParams): Do not use constant strings as class name.
21333 Use package-private Messages class to provide i18n-ready strings.
21334 Mark (Eclipse) strings that need not be externalised.
21335 (getCallbackHandler): Use CallbackUtil.
21336 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21337 Use package-private Messages class to provide i18n-ready strings.
21338 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21339 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21340 (verifySF): Likewise.
21341 (verifySFEntries): Do not use constant strings as class name.
21342 Use Boolean.valueOf instead of new Boolean().
21343 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21344 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21346 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21347 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21349 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21351 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21352 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21353 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21355 2006-05-01 Tom Tromey <tromey@redhat.com>
21357 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21359 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21360 (close): Synchronize.
21361 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21362 * java/nio/LongBufferImpl.java (compact): Rewrote.
21363 * java/nio/IntBufferImpl.java (compact): Rewrote.
21364 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21365 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21366 * java/nio/CharBufferImpl.java (compact): Rewrote.
21367 * gnu/java/nio/ChannelWriter.java: New file.
21368 * java/nio/channels/Channels.java (newWriter): Implemented.
21370 2006-05-01 Lillian Angel <langel@redhat.com>
21372 * java/util/SimpleTimeZone.java
21373 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21374 (SimpleTimeZone): Likewise.
21375 (checkRule): Rewritten to properly check all values (more efficently).
21376 This code is now more stable, at least less buggy than before. Fixed
21378 (setStartRule): Moved checkRule call to end.
21379 (setStartRule): Likewise.
21380 (setEndRule): Likewise.
21381 (setEndRule): Likewise.
21383 2006-05-01 Tom Tromey <tromey@redhat.com>
21385 * lib/.cvsignore: Added classes.2.
21387 2006-05-01 Tom Tromey <tromey@redhat.com>
21389 * java/util/jar/JarFile.java (provider): Now package-private.
21390 * java/lang/Enum.java (compareTo): Javadoc fix.
21391 * java/lang/Boolean.java (compareTo): Javadoc fix.
21393 2006-05-01 Lillian Angel <langel@redhat.com>
21395 * gnu/javax/swing/text/html/parser/support/Parser.java
21396 (readAttributes): Formatted function. Added handling for
21397 SLASH token. The value of an attribute may start with a slash
21398 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21399 We should not be skipping over these type of attributes.
21401 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21403 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21404 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21405 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21406 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21407 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21408 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21409 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21410 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21411 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21412 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21413 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21414 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21415 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21416 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21417 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21418 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21419 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21420 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21421 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21422 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21423 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21424 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21425 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21426 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21427 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21428 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21429 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21430 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21431 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21432 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21433 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21434 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21435 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21436 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21437 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21438 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21439 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21440 * include/gnu_java_awt_peer_qt_QMatrix.h,
21441 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21442 * include/gnu_java_awt_peer_qt_QPen.h,
21443 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21444 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21445 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21446 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21447 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21448 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21449 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21450 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21451 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21452 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21453 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21454 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21455 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21456 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21457 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21458 * include/gnu_java_awt_peer_qt_QtImage.h,
21459 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21460 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21461 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21462 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21463 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21464 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21465 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21466 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21467 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21468 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21469 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21470 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21471 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21472 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21473 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21474 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21475 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21476 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21477 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21478 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21479 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21480 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21481 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21482 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21483 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21484 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21485 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21486 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21487 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21488 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21489 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21490 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21491 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21492 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21493 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21494 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21495 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21496 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21497 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21498 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21499 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21500 * include/java_lang_VMProcess.h:
21502 * native/jni/java-lang/java_lang_VMProcess.c:
21503 Redirect when pipe_count is 2 not 3.
21505 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21507 * gnu/java/awt/font/FontDelegate.java,
21508 * gnu/java/awt/font/FontFactory.java,
21509 * gnu/java/awt/font/GNUGlyphVector.java,
21510 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21511 * gnu/java/awt/font/opentype/GlyphNamer.java,
21512 * gnu/java/awt/font/opentype/MacResourceFork.java,
21513 * gnu/java/awt/font/opentype/NameDecoder.java,
21514 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21515 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21516 * gnu/java/awt/font/opentype/Scaler.java,
21517 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21518 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21519 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21520 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21521 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21522 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21523 * gnu/java/awt/font/opentype/truetype/Zone.java,
21524 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21525 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21526 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21527 New files. Imported font framework from:
21528 http://www.brawer.ch/software/fonts/
21530 2006-04-30 Roman Kennke <kennke@aicas.com>
21532 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21533 (lastTabInRun): Fix calculation of the last tab in a run. This
21534 has caused painting problems sometimes, making the
21535 last tab painted incorrectly.
21537 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21540 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21541 Use for and not while to prevent the endless loop.
21543 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21545 * javax/swing/JList.java
21546 (paramString): Changed from public to protected.
21548 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21550 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21551 (printHelpAndExit): Re-factored to use the above method.
21553 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21555 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21556 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21557 * tools/gnu/classpath/tools/jarsigner/Main.java:
21558 Changed license to GPL + Exception.
21559 (handler): New field.
21560 (getCallbackHandler): New method.
21561 (setupSigningParams): Use above method.
21562 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21563 Changed license to GPL + Exception.
21564 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21565 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21566 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21567 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21569 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21571 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21572 (handleConfirmation): Use print instead of println.
21573 (handleConfirmation): When case is YES_NO_OPTION, print default option
21575 (handleLanguage): Use print instead of println.
21577 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21579 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21580 (putComponent): Handle O and OU components.
21581 (getDer): Use correct (it2) iterator.
21582 (readAttributeValue): Read next character and break if end-of-stream.
21584 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21586 * gnu/java/security/provider/Gnu.java (run):
21587 Add "RSA" as an alias to MD5withRSA.
21588 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21589 Always encode a NULL as the value of an algorithm parameters field.
21590 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21591 (encodePrivateKey): Added trace/log statements.
21592 (decodePrivateKey): Likewise.
21593 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21594 (setup): Added trace/log statements.
21595 (generate): Likewise.
21596 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21597 (toString): New method.
21598 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21600 (toString): New method.
21601 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21602 (getEncoded): Use defaultFormat.
21603 (toString): New method.
21604 * gnu/java/security/key/dss/DSSKey.java (toString):
21605 Include defaultFormat in string.
21606 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21607 Break if successfully decoded public key.
21608 (engineGeneratePrivate): Break if successfully decoded private key.
21610 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21612 * java/security/Security.java <clinit>: Add our Callback provider.
21613 * resource/java/security/classpath.security: Likewise
21615 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21618 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21619 Decide about scroll bars from the preferred view size, not
21621 * javax/swing/ViewportLayout.java (layoutContainer):
21622 Do not change returned preferred size. Do not treat JScrollPane
21625 2006-04-28 Sven de Marothy <sven@physto.se>
21627 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21628 * javax/swing/ProgressMonitor.java (actionPerformed):
21629 Avoid divide-by-zero.
21631 2006-04-28 Sven de Marothy <sven@physto.se>
21633 * javax/swing/JSpinner.java: Fix default text justification.
21634 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21636 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21638 * javax/swing/JList.java
21639 (getMinSelectionIndex): Return correct value, added API docs,
21640 (getMaxSelectionIndex): Added API docs.
21642 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21644 * javax/swing/JList.java
21645 (JList(Object[])): Pass new model directly to init(),
21646 (JList(Vector)): Likewise,
21647 (JList(ListModel)): Renamed argument and updated API docs,
21648 (init): Throw IllegalArgumentException for null argument,
21649 (setListData(Object[])): Delegate model creation,
21650 (setListData(Vector)): Likewise,
21651 (createListModel(Object[])): New private method,
21652 (createListModel(Vector)): New private method,
21653 (paramString): Implemented.
21655 2006-04-28 Tom Tromey <tromey@redhat.com>
21657 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21659 (isSynthetic): Likewise.
21660 (isAnnotation): Likewise.
21661 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21662 (isAnnotation): Likewise.
21663 (isEnum): Likewise.
21665 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21667 * javax/swing/text/View.java:
21668 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21671 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21673 * javax/swing/text/View.java:
21674 (getNextVisualPositionFrom): Rewritten.
21675 * javax/swing/text/CompositeView.java:
21676 (getNextEastWestVisualPositionFrom): Partly implemented.
21677 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21679 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21681 * javax/swing/JList.java
21682 (setFixedCellHeight): Use correct property name for event.
21684 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21686 * javax/swing/text/Utilities.java:
21687 (getNextWord): Use codePointAt instead of charAt, added note, changed
21688 if-expression, added throwing of exception.
21689 (getPreviousWord): Use codePointAt instead of charAt.
21691 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21693 * java/lang/StringBuilder.java
21694 (ensureCapacity, getChars, append(StringBuffer),
21695 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21696 insert(int,String), insert(int,char), trimToSize): Replaced
21697 System.arraycopy calls with VMSystem.arraycopy.
21699 2006-04-27 Tom Tromey <tromey@redhat.com>
21701 * java/awt/image/renderable/RenderableImageProducer.java
21702 (requestTopDownLeftRightResend): Implemented.
21704 (startProduction): Add new consumer.
21706 2006-04-27 Sven de Marothy <sven@physto.se>
21708 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21710 2006-04-27 Roman Kennke <kennke@aicas.com>
21712 * java/awt/LightweightDispatcher.java
21713 Dispatch events only to targets that have a mouselistener
21714 attached. Changed to also handle null targets.
21716 2006-04-27 Roman Kennke <kennke@aicas.com>
21718 * NEWS: Added entries about accessibility support and L&F
21719 window decorations.
21721 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21723 * javax/swing/text/Utilities.java:
21724 (getTabbedTextOffset): Introduced width variable, rewritten the check
21725 which ends the loop.
21726 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21729 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21731 * examples/gnu/classpath/examples/swing/TreeDemo.java
21732 (createContent): Added root visibility and selection listener demos.
21733 * javax/swing/JTree.java (setRootVisible): If false, unselect
21734 the root node, if it is selected.
21735 * javax/swing/plaf/basic/BasicTreeUI.java
21736 (TreeTraverseAction.actionPerformed): Do not select the root if it
21738 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21739 removeSelectionPaths): Reset lead to null if the current lead path is
21740 removed from selection.
21741 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21742 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21743 Return the same path regardless is root visible or not. (update):
21744 Reduce the identation if the root is not visible.
21745 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21746 Return the same path regardless is root visible or not. (update):
21747 Reduce the identation if the root is not visible.
21749 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21751 * javax/swing/plaf/basic/BasicTreeUI.java
21752 (TreeAction.actionPerformed):Newly obtain the current lead
21753 path that must stay visible.
21754 (TreeTraverseAction.actionPerformed):Rewritten.
21755 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21756 Do not treat root specially. (setModel): Assume the root node
21757 initially expanded.
21758 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21759 Do not treat root specially. (setModel): Assume the root node
21760 initially expanded.
21762 2006-04-26 Chris Burdess <dog@gnu.org>
21765 * javax/xml/datatype/DatatypeFactory.java: Use complete
21766 implementation resolution mechanism.
21768 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21770 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21772 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21773 Removed NoImplementException form the implemented method.
21775 2006-04-26 Tom Tromey <tromey@redhat.com>
21777 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21780 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21782 * javax/swing/DefaultListSelectionModel.java
21783 (clone): Initialise empty listener list,
21784 (setSelectionMode): Throw IllegalArgumentException for bad input.
21786 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21788 * javax/swing/DefaultListSelectionModel.java
21789 (clearSelection): Clear the Bitset.
21791 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21793 * javax/swing/JTree.java (setLeadSelectionPath):
21794 Repaint the new and old lead pathes.
21795 * javax/swing/plaf/basic/BasicTreeUI.java
21796 (FocusHandler): Repaint the lead row when focus changes.
21797 (PropertyChangeHandler): Use existing constants, not the
21798 string literals for the property names.
21799 (TreeIncrementAction): Shrink the selection when moving
21800 from the selection edge to the selection anchor.
21801 (TreeSelectionHandler.valueChanged): Repaint the
21802 new and old lead pathes.
21803 (paintRow): Treat row as focused only if it is the lead row.
21804 * javax/swing/tree/DefaultTreeCellRenderer.java
21805 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21806 (paint): Rewritten.
21807 * javax/swing/tree/DefaultTreeSelectionModel.java
21808 (addSelectionPath): Event construction fix (old and new lead were
21810 (addSelectionPaths): Likewise.
21811 * javax/swing/JComponent.java (setOpaque): Explained.
21812 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21814 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21817 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21819 * examples/gnu/classpath/examples/swing/TreeDemo.java
21820 (createContent): Call DefaultTreeModel.reload(), not the
21821 tree.repaint(). Expand the parent of the added node.
21822 * javax/swing/JTree.java (constructor): Do not call
21823 UpdateUI (and documented why). (treeDidChange):
21824 Added comment, excluding the misinterpretation of this method.
21825 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21826 focusListener, keyListener, mouseListener, propertyListener,
21827 selectionModelPropertyChangeListener, treeModelListener,
21828 treeSelectionListener): Made package private.
21829 (PropertyChangeHandler): If the model changes, install the
21830 listener on it. (installUI): Assign treeModel.
21831 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21832 comment, excluding misinterpretation.
21833 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21834 (reload(TreeNode)): Implemented.
21836 2006-04-25 Tom Tromey <tromey@redhat.com>
21838 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21839 * javax/swing/tree/VariableHeightLayoutCache.java
21840 (getVisiblePathsFrom): Genericized.
21841 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21844 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21846 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21847 If clicked on the other row, cancel the current editing session.
21849 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21851 * javax/swing/plaf/basic/BasicTreeUI.java
21852 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21853 (paintExpandControl): Always paint in one gap distance from the left
21854 border of the path bounds.
21855 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21856 into consideration.
21857 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21860 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21862 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21864 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21866 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21867 Allow slashes (/) in the unquoted parameter value.
21869 2006-04-25 Roman Kennke <kennke@aicas.com>
21871 * gnu/java/awt/java2d/AbstractGraphics2D.java
21872 (drawString(String,int,int)): Implemented.
21873 (drawString(String,float,float)): Implemented.
21874 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21875 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21876 (getFontRenderContext): Implemented.
21877 (drawGlyphVector): Implemented.
21878 (getFont): Implemented.
21879 (setFont): Don't change font setting when null.
21880 (getFontMetrics): Implemented.
21881 (fillShape): Re-written to fill call rawFillShape() with a list
21882 of the edges instead of double arrays.
21883 (rawFillShape): Implemented using a polygon scanline conversion.
21884 (fillScanline): New helper method.
21885 (init): Initialize foreground black. Set font.
21886 * gnu/java/awt/java2d/PolyEdge.java: New file.
21887 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21889 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21891 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21893 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21895 * javax/swing/JTable.java: Fixed API doc tags,
21896 * javax/swing/text/AsyncBoxView.java: Likewise,
21897 * javax/swing/text/FlowView.java: Likewise.
21899 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21901 * javax/swing/table/DefaultTableColumnModel.java
21902 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21904 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21906 * javax/swing/table/DefaultTableColumnModel.java
21907 (DefaultTableColumnModel): Set selection model field and add 'this' as
21909 (addColumn): Add 'this' as a PropertyChangeListener,
21910 (removeColumn): Remove column before firing event, and remove 'this' as
21911 a PropertyChangeListener,
21912 (setSelectionModel): Remove 'this' as a listener from old model,
21913 (propertyChange): Check for 'width' property rather than
21914 TableColumn.COLUMN_WIDTH_PROPERTY.
21916 2006-04-24 Chris Burdess <dog@gnu.org>
21919 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21920 attributes when no doctype exists.
21922 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21924 * javax/swing/event/ChangeEvent.java: Updated API docs,
21925 * javax/swing/event/ChangeListener.java: Likewise,
21926 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21927 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21928 * javax/swing/table/TableColumnModel.java: Likewise.
21930 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21932 * javax/swing/text/Utilities.java:
21933 (getBreakLocation): Introduced shift variable, added notes.
21934 * javax/swing/text/WrappedPlainView.java:
21935 (calculateBreakPosition): Decrease allocation area bounds by insets,
21936 added early return when allocation area is empty, provide start offset
21938 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21939 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21940 numLines after loop.
21941 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21942 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21943 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21944 decreasing variable end by one, changed break condition in while-loop,
21945 added check for return value.
21946 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21947 allocation area is empty.
21949 2006-04-24 Sven de Marothy <sven@physto.se>
21951 * gnu/java/awt/java2d/Segment.java: New file.
21952 * gnu/java/awt/java2d/CubicSegment.java: New file.
21953 * gnu/java/awt/java2d/QuadSegment.java: New file.
21954 * gnu/java/awt/java2d/LineSegment.java: New file.
21955 * java/awt/BasicStroke.java
21956 (start): New field.
21958 (createStrokedShape): Implemented.
21959 (solidStroke): New method.
21960 (dashedStroke): New method.
21961 (capEnds): New method.
21962 (convertPath): New method.
21963 (addSegments): New method.
21964 (capEnd): New method.
21965 (lineIntersection): New method.
21966 (joinSegments): New method.
21968 2006-04-24 Roman Kennke <kennke@aicas.com>
21970 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21973 (clip): Changed clip to be in user space not in target space.
21974 (isOptimized): Added flag to allow optimized drawing for
21975 primitive operations (e.g. for Swing).
21976 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21977 with the paint context etc.
21978 (draw): Clip the shape before drawing it.
21979 (fill): Clip the shape before drawing it.
21980 (setComposite): Update isOptimized flag.
21981 (setPaint): Likewise.
21982 (setStroke): Likewise.
21983 (translate): Update the clip.
21984 (rotate): Likewise.
21987 (transform): Likewise.
21988 (setTransform): Likewise.
21989 (clip): Added optimization for rectangle clips.
21990 (create): Implemented.
21991 (clone): New method.
21992 (setFont): Basic implementation.
21993 (setClip): Update opimization flag.
21994 (drawLine): Added possible optimization.
21995 (fillRect): Added possible optimization.
21996 (fillShape): Implemented shape-filling by filling the flattended
21997 shape using polygon fill.
21998 (drawPixel): Added basic painting.
21999 (rawSetPixel): Changed signature to only take coordinates.
22000 (rawSetForeground): New abstract method.
22001 (getUserBounds): Implemented default for this method.
22002 (rawDrawLine): New method.
22003 (rawFillRect): New method.
22004 (rawFillPolygon): New method.
22005 (init): New method.
22006 (updateOptimization): New method.
22007 (computeIntersection): New method.
22008 (updateClip): New method.
22009 (clipShape): New method.
22011 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22013 * java/lang/Package.java: Added compatibility constructor to ease
22014 VM interface migration.
22016 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22018 * java/lang/Class.java (getEnumConstants): Implemented without
22019 delegating to VMClass.
22020 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22022 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22024 * java/lang/ClassLoader.java (definePackage): Added argument to
22025 Package constructor.
22026 * java/lang/Package.java (Package): Added ClassLoader argument.
22027 (loader): New field.
22028 (getDeclaredAnnotations): Implemented without help from VMPackage.
22029 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22030 to Package constructor.
22031 * vm/reference/java/lang/VMPackage.java: Removed.
22033 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22035 * examples/gnu/classpath/examples/swing/TreeDemo.java:
22036 (createContent): Added check box to swith between single and
22037 multiple selection.
22038 * javax/swing/JTree.java (leadSelectionPath): Removed.
22039 (addSelectionInterval): Explained. (getLeadSelectionPath):
22040 Request the path from model. (getPathsBetweenRows): Explained.
22041 (setLeadSelectionPath): Set the path in model.
22042 * javax/swing/plaf/basic/BasicTreeUI.java
22043 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
22044 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22045 (MouseHandler.mousePressed): Call selectPathForEvent.
22047 2006-04-23 Roman Kennke <kennke@aicas.com>
22049 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22051 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
22054 Mention changes to VMProcess and VMSystem.
22055 * doc/vmintegration.texinfo:
22056 Change documentation on VMProcess and VMSystem.
22057 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22058 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22059 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22060 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22061 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22062 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22063 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22064 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22065 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22066 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22067 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22068 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22069 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22070 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22071 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22072 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22073 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22074 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22075 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22076 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22077 * include/gnu_java_awt_peer_gtk_GtkImage.h,
22078 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22079 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22080 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22081 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22082 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22083 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22084 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22085 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22086 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22087 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22088 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22089 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22090 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22091 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22092 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22093 * include/gnu_java_awt_peer_qt_MainQtThread.h,
22094 * include/gnu_java_awt_peer_qt_QMatrix.h,
22095 * include/gnu_java_awt_peer_qt_QPainterPath.h,
22096 * include/gnu_java_awt_peer_qt_QPen.h,
22097 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22098 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22099 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22100 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22101 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22102 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22103 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22104 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22105 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22106 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22107 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22108 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22109 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22110 * include/gnu_java_awt_peer_qt_QtGraphics.h,
22111 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22112 * include/gnu_java_awt_peer_qt_QtImage.h,
22113 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22114 * include/gnu_java_awt_peer_qt_QtListPeer.h,
22115 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22116 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22117 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22118 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22119 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22120 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22121 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22122 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22123 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22124 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22125 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22126 * include/gnu_java_awt_peer_qt_QtToolkit.h,
22127 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22128 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22129 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22130 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22131 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22132 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22133 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22134 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22135 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22136 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22137 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22138 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22139 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22140 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22141 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22142 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22143 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22144 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22145 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22146 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22147 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22148 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22149 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22150 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22151 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22152 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22153 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22154 * include/java_lang_VMProcess.h,
22155 * include/java_lang_VMSystem.h:
22156 Regenerated with GCJ 4.1.
22158 2006-04-22 Casey Marshall <csm@gnu.org>
22160 Fixes PR classpath/27228.
22161 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22162 (initialize): also accept `DHParameterSpec.'
22163 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22164 handle a passed-in `DHParameterSpec' properly.
22165 (generate): don't check if the random exponent is less than `q -
22166 1' if no `q' was specified.
22168 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22170 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22171 Only repaint the patches, speficied in the passed event.
22172 (expandPath): Do nothing if the path is already expanded.
22173 (scrollPathToVisible): Only scroll to visible, do nothing else.
22174 * javax/swing/plaf/basic/BasicTreeUI.java
22175 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22176 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22177 (TreeTraverseAction.actionPerformed): Collapse the node on the
22178 action "selectParent". (selectPath): Rewritten.
22179 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22180 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22181 Do not reuse selection array.
22182 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22184 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22187 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22189 * javax/swing/tree/DefaultTreeSelectionModel.java
22190 (addSelectionPath): If the path cannot be added, set it.
22191 (addSelectionPaths): Call insureRowContinuity.
22192 (arePathsContiguous): Implemented.
22193 (canPathBeAdded): New private method.
22194 (canPathsBeAdded): Implemented.
22195 (canPathsBeRemoved): Implemented.
22196 (getPath): New private method.
22197 (insureRowContinuity): Implemented.
22198 (removeSelectionPath): Call insureRowContinuity.
22199 (removeSelectionPaths): Call insureRowContinuity.
22200 (resetRowSelection): Removed stub marking, not used in implementation
22201 (nothing to do there).
22202 (selectOne): New private method.
22203 (setSelectionMode) Call insureRowContinuity.
22204 (setSelectionPaths) Remove the current selection by clearing it.
22206 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22208 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22209 parameters consistendly, documented some methods.
22210 * java/sql/Blob.java: Likewise.
22211 * java/sql/CallableStatement.java: Likewise.
22212 * java/sql/Clob.java: Likewise.
22213 * java/sql/Connection.java: Likewise.
22214 * java/sql/DatabaseMetaData.java: Likewise.
22215 * java/sql/Date.java: Likewise.
22216 * java/sql/Driver.java: Likewise.
22217 * java/sql/PreparedStatement.java: Likewise.
22218 * java/sql/ResultSet.java: Likewise.
22219 * java/sql/ResultSetMetaData.java: Likewise.
22220 * java/sql/SQLData.java: Likewise.
22221 * java/sql/SQLOutput.java: Likewise.
22222 * java/sql/SQLWarning.java: Likewise.
22223 * java/sql/Statement.java: Likewise.
22224 * java/sql/Time.java: Likewise.
22225 * java/sql/Timestamp.java: Likewise.
22227 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22229 * java/lang/reflect/AccessibleObject.java:
22230 Implemented AnnotatedElement.
22231 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22232 isAnnotationPresent): New methods.
22234 2006-04-21 Tom Tromey <tromey@redhat.com>
22236 PR classpath/27163:
22237 * gnu/java/net/protocol/ftp/FTPConnection.java
22238 (changeWorkingDirectory): Do nothing if path is empty.
22240 2006-04-21 Tom Tromey <tromey@redhat.com>
22243 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22244 case where no '/' appears in 'location'.
22246 2006-04-21 Tom Tromey <tromey@redhat.com>
22248 * java/security/Security.java (<clinit>): Add all default providers.
22249 * resource/java/security/classpath.security: Added comment.
22251 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22253 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22254 * javax/swing/SpinnerNumberModel.java: Likewise.
22256 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22258 * javax/swing/SpinnerDateModel.java
22259 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22260 checking to call compareTo() on start and end.
22262 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22264 * javax/swing/border/AbstractBorder.java: API doc updates,
22265 * javax/swing/border/BevelBorder.java: Likewise,
22266 * javax/swing/border/CompoundBorder.java: Likewise,
22267 * javax/swing/border/EtchedBorder.java: Likewise,
22268 * javax/swing/border/LineBorder.java: Likewise,
22269 * javax/swing/border/MatteBorder.java: Likewise,
22270 * javax/swing/border/TitledBorder.java: Likewise.
22272 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22274 * gnu/javax/crypto/cipher/Anubis.java:
22275 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22277 * gnu/javax/crypto/cipher/Blowfish.java:
22278 (selfTest): Likewise,
22279 * gnu/javax/crypto/cipher/Cast5.java:
22280 (selfTest): Likewise,
22281 * gnu/javax/crypto/cipher/Khazad.java:
22282 (selfTest): Likewise,
22283 * gnu/javax/crypto/cipher/Rijndael.java:
22284 (selfTest): Likewise,
22285 * gnu/javax/crypto/cipher/Serpent.java:
22286 (selfTest): Likewise,
22287 * gnu/javax/crypto/cipher/Square.java:
22288 (selfTest): Likewise,
22289 * gnu/javax/crypto/cipher/Twofish.java:
22290 (selfTest): Likewise,
22291 * gnu/javax/crypto/mac/UMac32.java:
22292 (selfTest): Likewise,
22293 * gnu/javax/crypto/prng/CSPRNG.java:
22294 (getSystemInstance): Likewise.
22296 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22298 * gnu/java/security/hash/Haval.java:
22299 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22301 * gnu/java/security/hash/MD2.java:
22302 (selfTest): Likewise,
22303 * gnu/java/security/hash/MD4.java:
22304 (selfTest): Likewise,
22305 * gnu/java/security/hash/MD5.java:
22306 (selfTest): Likewise,
22307 * gnu/java/security/hash/RipeMD128.java:
22308 (selfTest): Likewise,
22309 * gnu/java/security/hash/RipeMD160.java:
22310 (selfTest): Likewise,
22311 * gnu/java/security/hash/Sha160.java:
22312 (selfTest): Likewise,
22313 * gnu/java/security/hash/Sha256.java:
22314 (selfTest): Likewise,
22315 * gnu/java/security/hash/Sha384.java:
22316 (selfTest): Likewise,
22317 * gnu/java/security/hash/Sha512.java:
22318 (selfTest): Likewise,
22319 * gnu/java/security/hash/Tiger.java:
22320 (selfTest): Likewise,
22321 * gnu/java/security/hash/Whirlpool.java:
22322 (selfTest): Likewise.
22324 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22326 * javax/swing/plaf/basic/BasicTreeUI.java
22327 (PropertyChangeHandler.propertyChange): Set the row mapper
22328 for the selection model.
22329 * javax/swing/tree/AbstractLayoutCache.java
22330 (NodeDimensions.getNodeDimensions): Explained.
22331 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22332 Implemented. (setRowHeight): Invalidate sizes.
22333 * javax/swing/tree/DefaultTreeSelectionModel.java
22334 (addSelectionPath, addSelectionPaths): Update lead row.
22335 (removeSelectionPath, removeSelectionPaths): Do nothing if
22336 selection is empty.
22337 (clone): Only clone list selection model if it is not null.
22338 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22339 setSelectionPath, setSelectionPaths, toString): Implemented.
22340 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22341 Pass the empty rectangle. (isFixedRowHeight): New method.
22342 * javax/swing/tree/VariableHeightLayoutCache.java
22343 (NodeRecord.getBounds): Pass the empty rectangle.
22345 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22347 * gnu/java/security/Properties.java
22348 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22350 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22352 * gnu/classpath/jdwp/util/Value.java
22353 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22354 creating new Boolean instances.
22356 2006-04-20 Mark Wielaard <mark@klomp.org>
22358 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22359 PrivilegedAction. Access awt.toolkit through SystemProperties.
22361 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22363 * javax/swing/ActionMap.java: Removed unused imports,
22364 * javax/swing/DefaultListSelectionModel.java
22365 (clearSelection): Removed unused label,
22366 * javax/swing/JScrollPane.java: Removed unused imports,
22367 * javax/swing/UIManager.java: Likewise,
22368 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22370 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22372 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22373 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22374 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22375 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22376 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22378 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22380 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22381 * java/sql/Blob.java: Likewise,
22382 * java/sql/CallableStatement.java: Likewise,
22383 * java/sql/Clob.java: Likewise,
22384 * java/sql/Connection.java: Likewise,
22385 * java/sql/DatabaseMetaData.java: Likewise,
22386 * java/sql/Date.java: Likewise,
22387 * java/sql/Driver.java: Likewise,
22388 * java/sql/PreparedStatement.java: Likewise,
22389 * java/sql/ResultSet.java: Likewise,
22390 * java/sql/ResultSetMetaData.java: Likewise,
22391 * java/sql/SQLData.java: Likewise,
22392 * java/sql/SQLOutput.java: Likewise,
22393 * java/sql/SQLWarning.java: Likewise,
22394 * java/sql/Statement.java: Likewise,
22395 * java/sql/Time.java: Likewise,
22396 * java/sql/Timestamp.java: Likewise.
22398 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22400 * java/sql/DriverManager.java
22401 (setLoginTimeout): Use incoming argument,
22402 (setLogStream): Likewise,
22403 (println): Fix API doc comment.
22405 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22407 * javax/swing/JMenuItem.java
22408 (paramString): Updated API docs,
22409 (getAccessibleContext): Added API docs,
22410 (AccessibleJMenuItem.stateChanged): Marked as stub,
22411 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22412 * javax/swing/JSlider.java
22413 (paramString): Fix for API docs,
22414 * javax/swing/JToolTip.java
22415 (getAccessibleContext): Fix for API docs.
22417 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22419 * javax/swing/JRadioButtonMenuItem.java
22420 (paramString): Reimplemented,
22421 (getAccessibleContext): API docs added,
22422 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22424 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22426 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22428 * javax/swing/plaf/basic/BasicTreeUI.java
22429 (finish): Invalidate path bounds.
22430 (getMaxHeight): Set the row height to the layout cache.
22431 (startEditing): Do not request to recalculated
22432 row height and preferred size.
22433 * javax/swing/tree/DefaultTreeCellEditor.java
22434 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22436 * javax/swing/tree/FixedHeightLayoutCache.java:
22439 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22441 * javax/swing/JDesktopPane.java
22442 (paramString): Reimplemented,
22443 plus API doc updates in AccessibleJDesktopPane.
22445 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22447 * javax/swing/ImageIcon.java:
22448 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22449 (AccessibleImageIcon.getLocale): Declared exception and always return
22451 (getAccessibleContext): Updated API docs,
22452 plus updated API docs all over AccessibleImageIcon.
22454 2006-04-20 Roman Kennke <kennke@aicas.com>
22457 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22458 (paintText): Fetch the ascent only once. Add the ascent to
22459 the text rect also when tabs are disabled.
22461 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22463 * java/util/Locale.java (defaultLocale): Set to en_US per
22464 default and use user.country but prioritize user.region if
22466 (getLocale(String language, String country)): Renamed region to
22468 (getLocale(String language, String region, String variant)):
22470 (getAvailableLocales): Likewise.
22472 2006-04-20 Roman Kennke <kennke@aicas.com>
22475 * javax/swing/JList.java
22476 (JList()): Call init() with DefaultListModel instance.
22477 (JList(Object[])): Call init() with null.
22478 (JList(Vector)): Call init() with null.
22479 (JList(ListModel)): Call init() with model.
22480 (init): Changed to take the model as argument. Don't call
22481 setter methods and initialize stuff directly instead.
22482 (getCellBounds): Check if UI is null.
22484 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22486 * javax/swing/text/WrappedPlainView.java: Initialize
22487 WrappedLine.numLines with -1.
22488 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22489 numLines is -1 and reculcalate the value appropriately.
22490 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22491 allocation area is empty.
22493 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22495 * javax/swing/JTabbedPane.java
22496 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22497 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22498 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22499 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22500 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22501 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22502 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22503 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22504 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22505 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22506 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22507 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22508 (Page.getAccessibleStateSet): Likewise,
22509 (Page.getAccessibleIndexInParent): Likewise.
22511 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22513 * javax/swing/JProgressBar.java
22514 (paramString): Reimplemented.
22516 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22518 * javax/swing/JButton.java: Updated API docs all over.
22520 2006-04-19 Roman Kennke <kennke@aicas.com>
22522 * java/awt/Toolkit.java
22523 (getDefaultToolkit): Use system classloader to load the
22526 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22528 * javax/swing/text/DefaultCaret.java:
22529 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22530 instead of DefaultCaret.setDot.
22532 2006-04-19 Roman Kennke <kennke@aicas.com>
22534 * native/jni/java-net/local.c
22535 (local_read): Handle EINTR correctly.
22536 (local_write): Likewise.
22538 2006-04-19 Riccardo Mottola <multix@gmail.com>
22540 PR classpath/27062, PR classpath/25650:
22541 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22543 2006-04-19 Tom Tromey <tromey@redhat.com>
22545 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22546 value of 'pureMinutes'. PR classpath/27189.
22548 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22550 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22551 boot packages list from the META-INF/INDEX.LIST file if it exists.
22553 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22555 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22556 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22557 (ITERATION_COUNT): Removed modifiers.
22558 (PASSWORD): Likewise.
22560 (PASSWORD_ENCODING): New property.
22561 (DEFAULT_PASSWORD_ENCODING): New constant.
22562 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22563 material (bytes) before a password (chars).
22565 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22567 * javax/swing/JMenu.java
22568 (getAccessibleChildrenCount): Marked as stub,
22569 (getAccessibleChild): Likewise,
22570 (getAccessibleSelection): Likewise,
22571 (getAccessibleSelection(int)): Likewise,
22572 (isAccessibleChildSelected): Likewise,
22573 (getAccessibleSelectionCount): Likewise,
22574 (addAccessibleSelection): Likewise,
22575 (removeAccessibleSelection): Likewise,
22576 (clearAccessibleSelection): Likewise,
22577 (selectAllAccessibleSelection): Likewise.
22579 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22581 * javax/swing/JSplitPane.java
22582 (getAccessibleContext): Added API docs,
22583 (paramString): Reimplemented,
22584 (setOrientation): Updated API docs,
22585 (setResizeWeight): Added argument checking and event notification.
22587 2006-04-18 Casey Marshall <csm@gnu.org>
22589 Fixes PR classpath/25673
22590 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22591 property is set. Update JavaDoc to reflect this.
22593 2006-04-18 Lillian Angel <langel@redhat.com>
22595 * gnu/xml/dom/DomDocument.java
22596 (setCheckingCharacters): New function used to set
22597 checkingCharacters flag.
22598 * gnu/xml/dom/html2/DomHTMLParser.java
22599 (parseDocument): Added call to set checkingCharacters flag
22602 2006-04-18 Lillian Angel <langel@redhat.com>
22604 * gnu/xml/dom/DomDocument.java
22605 (checkNCName): Reverted last patch. Added check for colon at
22606 last position back in.
22608 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22610 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22612 * examples/gnu/classpath/examples/swing/Demo.java:
22613 (mkMenuBar): Added NavigationFilter demo.
22615 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22617 * javax/swing/JSeparator.java: Updated API docs all over, plus
22618 (setOrientation): Fire PropertyChangeEvent,
22619 (paramString): Reimplemented.
22621 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22623 * javax/swing/plaf/basic/BasicTextUI.java:
22624 (getNextVisualPositionFrom): Implemented.
22626 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22628 * javax/swing/JPanel.java: Updated API docs all over, plus
22629 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22630 double-buffer flag.
22632 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22634 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22636 * examples/gnu/classpath/examples/swing/Demo.java:
22637 (mkMenuBar): Added DocumenFilter demo.
22639 2006-04-18 Tom Tromey <tromey@redhat.com>
22641 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22643 2006-04-18 Mark Wielaard <mark@klomp.org>
22645 Reported by John Sullivan (johns@fsf.org)
22646 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22648 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22650 * javax/swing/JInternalFrame.java
22651 (JDesktopIcon.getAccessibleContext): Added API docs,
22652 (getDefaultCloseOperation): Likewise,
22653 (paramString): Added 'title' attribute,
22654 (setDefaultCloseOperation): Added API docs.
22656 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22658 * javax/swing/JSlider.java
22659 (paramString): Reimplemented.
22661 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22663 * javax/swing/JComboBox.java
22664 (paramString): Reimplemented,
22665 (getAccessibleContext): Added API docs,
22666 (AccessibleJComboBox.getAccessibleRole): Likewise.
22668 2006-04-18 Roman Kennke <kennke@aicas.com>
22670 * javax/swing/RepaintManager.java
22671 (dirtyComponentsWork): New field.
22672 (ComponentComparator): Use dirtyComponentsWork instead of
22674 (RepaintManager): Initialize new field.
22675 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22676 and work on the copy.
22678 2006-04-18 Roman Kennke <kennke@aicas.com>
22680 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22681 (setBounds): Call reshape().
22682 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22683 (SwingContainerPeer): Changed argument to be a Component
22684 instead a Container.
22685 (getInsets): Call insets().
22686 (handleMouseEvent): Added null check to avoid NPE.
22687 (handleMouseMotionEvent): Added null check to avoid NPE.
22689 2006-04-18 Roman Kennke <kennke@aicas.com>
22692 * javax/swing/JComponent.java
22693 (paintChildrenWithOverlap): When one child is not opaque, propagate
22694 the dirty rectangles to the next child.
22695 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22696 This actually didn't work right and probably gained nothing.
22698 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22700 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22701 (moveToCellBeingEdited): Do not clone the rectangle here.
22703 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22705 * javax/swing/plaf/basic/BasicSliderUI.java
22706 (getActionMap): Fixed lookup key,
22707 (createActionMap): Modified actions to fetch slider/ui from the event
22710 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22712 * java/lang/Enum.java: Documented.
22714 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22716 * gnu/java/lang/InstrumentationImpl.java:
22717 Moved from java.lang.
22718 * java/lang/InstrumentationImpl.java:
22720 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22721 Moved from java.lang.
22722 * vm/reference/java/lang/VMClassLoader.java:
22723 Corrected reference to InstrumentationImpl.
22724 * vm/reference/java/lang/VMInstrumentationImpl.java:
22727 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22729 * java/lang/annotation/Annotation.java:
22732 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22734 * javax/swing/JToolBar.java
22735 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22736 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22737 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22738 (getAccessibleContext): Likewise.
22740 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22743 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22745 * native/fdlibm/Makefile.am,
22746 native/jni/classpath/Makefile.am:
22747 Don't use -module and -version-info for convenience libraries LDFLAGS.
22748 Fixes libtool warnings.
22750 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22752 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22753 (installKeyboardActions): Marked as stub,
22754 (uninstallKeyboardActions): Likewise,
22755 * javax/swing/plaf/basic/BasicComboPopup.java:
22756 (installKeyboardActions): Marked as stub,
22757 (uninstallKeyboardActions): Likewise,
22758 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22759 (installKeyboardActions): Marked as stub,
22760 (uninstallKeyboardActions): Likewise,
22761 * javax/swing/plaf/basic/BasicLabelUI.java:
22762 (installKeyboardActions): Marked as stub,
22763 (uninstallKeyboardActions): Likewise,
22764 * javax/swing/plaf/basic/BasicListUI.java:
22765 (installKeyboardActions): Marked as stub,
22766 (uninstallKeyboardActions): Likewise,
22767 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22768 (installKeyboardActions): Marked as stub,
22769 (uninstallKeyboardActions): Likewise,
22770 * javax/swing/plaf/basic/BasicMenuUI.java:
22771 (installKeyboardActions): Marked as stub,
22772 (uninstallKeyboardActions): Likewise,
22773 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22774 (installKeyboardActions): Marked as stub,
22775 (uninstallKeyboardActions): Likewise,
22776 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22777 (installKeyboardActions): Marked as stub,
22778 (uninstallKeyboardActions): Likewise,
22779 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22780 (installKeyboardActions): Marked as stub,
22781 (uninstallKeyboardActions): Likewise,
22782 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22783 (installKeyboardActions): Marked as stub,
22784 (uninstallKeyboardActions): Likewise,
22785 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22786 (installKeyboardActions): Marked as stub,
22787 (uninstallKeyboardActions): Likewise,
22788 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22789 (installKeyboardActions): Marked as stub,
22790 (uninstallKeyboardActions): Likewise,
22791 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22792 (installKeyboardActions): Marked as stub,
22793 (uninstallKeyboardActions): Likewise,
22794 * javax/swing/plaf/basic/BasicTableUI.java:
22795 (installKeyboardActions): Marked as stub,
22796 (uninstallKeyboardActions): Likewise,
22797 * javax/swing/plaf/basic/BasicTextUI.java:
22798 (installKeyboardActions): Marked as stub,
22799 (uninstallKeyboardActions): Likewise,
22800 * javax/swing/plaf/basic/BasicToolBarUI.java:
22801 (installKeyboardActions): Marked as stub,
22802 (uninstallKeyboardActions): Likewise.
22804 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22806 * javax/swing/plaf/basic/BasicSliderUI.java
22807 (installKeyboardActions): Implemented,
22808 (uninstallKeyboardActions): Implemented,
22809 (scrollByBlock): Accept any value for direction,
22810 (scrollByUnit): Likewise,
22811 (getInputMap): New method,
22812 (getActionMap): New method,
22813 (createActionMap): New method.
22816 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22818 * doc/vmintegration.texinfo:
22821 2006-04-16 Tom Tromey <tromey@redhat.com>
22823 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22825 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22828 Mention generics additions to the VM interface.
22829 * doc/vmintegration.texinfo:
22830 Added information on VMClass 1.5 additions and
22833 2006-04-16 Casey Marshall <csm@gnu.org>
22835 * NEWS: add an entry mentioning local socket support.
22837 2006-04-16 Casey Marshall <csm@gnu.org>
22839 * configure.ac (--enable-local-sockets): new enable argument.
22840 (ENABLE_LOCAL_SOCKETS): new define.
22841 * native/jni/java-net/Makefile.am (local_sources): new variable.
22842 (lib_javanet_la_SOURCES): append `local_sources.'
22843 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22844 * native/jni/java-net/local.c,
22845 * native/jni/java-net/local.h,
22846 * include/gnu_java_net_local_LocalSocketImpl.h,
22847 * gnu/java/net/local/LocalServerSocket.java,
22848 * gnu/java/net/local/LocalSocket.java,
22849 * gnu/java/net/local/LocalSocketAddress.java,
22850 * gnu/java/net/local/LocalSocketImpl.java: new files.
22852 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22854 * javax/accessibility/AccessibleAction.java:
22855 (DECREMENT): Added field.
22856 (INCREMENT): Likewise.
22857 (TOGGLE_EXPAND): Likewise.
22858 * javax/accessibility/AccessibleRole.java:
22859 (EDITBAR): Added field.
22860 (FOOTER): Likewise.
22861 (HEADER): Likewise.
22862 (PARAGRAPH): Likewise.
22863 (PROGRESS_MONITOR): Likewise.
22865 * javax/accessibility/AccessibleState.java:
22866 (INDETERMINATE): Added field.
22867 (MANAGES_DESCENDANTS): Likewise.
22868 (TRUNCATED): Likewise.
22870 2006-04-14 Tom Tromey <tromey@redhat.com>
22872 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22874 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22877 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22879 * javax/swing/text/DefaultCaret.java:
22880 (getBypass): New method.
22881 (moveDot): Rewritten.
22882 (moveDotImpl): New method.
22883 (setDot): Rewritten.
22884 (setDotImpl): New method.
22885 (DefaultCaret.Bypass): New class.
22887 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22889 * javax/swing/text/AbstractDocument.java:
22890 (getBypass): New method.
22891 (insertString): Rewritten.
22892 (remove): Rewritten.
22893 (replace): Rewritten.
22894 (insertStringImpl): New method.
22895 (removeImpl): New method.
22896 (replaceImpl): New method.
22897 (AbstractDocument.Bypass): New class.
22899 2006-04-14 Casey Marshall <csm@gnu.org>
22901 Fixes PR classpath/24642
22902 * NEWS: add note about SecureRandom changes, and addition of
22904 * java/security/SecureRandom.java (isSeeded): new field.
22905 (setSeed, setSeed): set `isSeeded' to `true.'
22906 (nextBytes): seed this instance if `isSeeded' is false.
22907 (getSeed): call `generateSeed.'
22908 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22909 (generateSeed, generateSeed): new methods.
22910 * vm/reference/java/security/VMSecureRandom.java: new file.
22912 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22914 * javax/swing/text/FieldView.java:
22915 (paint): Apply clipping rectangle of the allocation area
22916 before painting the text.
22917 * javax/swing/text/DefaultHighlighter.java:
22918 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22919 compute union and intersection, calculate intersection with allocation
22920 area before painting, adjust x and width when painting multiple lines
22921 by the range of the allocation area.
22923 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22925 * javax/swing/text/DefaultHighlighter.java:
22926 (paintLayeredHighlights): Marked as stub.
22928 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22930 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22931 (propertyChanged): Added note, change color only if current background
22932 is a ColorUIResource instance.
22934 2006-04-14 Tom Tromey <tromey@redhat.com>
22936 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22940 2006-04-14 Tom Tromey <tromey@redhat.com>
22942 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22944 2006-04-14 Mark Wielaard <mark@klomp.org>
22946 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22947 thread group when exceptionHandler isn't set.
22948 * vm/reference/java/lang/VMThread.java (run): Use result of
22949 thread.getUncaughtExceptionHandler directly.
22951 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22953 * javax/swing/JSplitPane.java
22954 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22955 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22956 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22957 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22958 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22959 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22960 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22962 2006-04-10 Tom Tromey <tromey@redhat.com>
22964 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22965 Fixed parameter bounds.
22967 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22969 * gnu/javax/crypto/assembly/Assembly.java,
22970 * gnu/javax/crypto/assembly/Cascade.java,
22971 * gnu/javax/crypto/assembly/CascadeStage.java,
22972 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22973 * gnu/javax/crypto/assembly/Direction.java,
22974 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22975 * gnu/javax/crypto/assembly/ModeStage.java,
22976 * gnu/javax/crypto/assembly/Operation.java,
22977 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22978 * gnu/javax/crypto/assembly/Stage.java,
22979 * gnu/javax/crypto/assembly/Transformer.java,
22980 * gnu/javax/crypto/cipher/Square.java,
22981 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22982 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22983 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22984 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22985 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22986 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22987 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22988 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22989 * gnu/javax/crypto/jce/cipher/PBES2.java,
22990 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22991 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22992 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22993 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22994 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22995 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22996 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22997 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22998 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22999 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23000 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23001 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23002 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23003 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23004 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23005 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23006 * gnu/javax/crypto/jce/mac/MacAdapter.java,
23007 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23008 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
23009 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
23010 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23011 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23012 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23013 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23014 * gnu/javax/crypto/pad/WrongPaddingException.java,
23015 * gnu/javax/crypto/prng/ICMGenerator.java,
23016 * gnu/javax/crypto/prng/IPBE.java,
23017 * gnu/javax/crypto/prng/PBKDF2.java,
23018 * gnu/javax/crypto/sasl/ConfidentialityException.java,
23019 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23020 * gnu/javax/crypto/sasl/srp/IALG.java,
23021 * gnu/javax/crypto/sasl/srp/SRPServer.java:
23022 Remove CVS revision tags.
23024 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23026 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
23027 Removed debugging code.
23029 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23031 * javax/swing/JTree.java (getPreferredSize): Return the
23033 * javax/swing/ViewportLayout.java (layoutContainer):
23034 Do not manage the view size and location if the view is
23035 in the scroll pane. Also manage size and location for
23036 Scrollable, if it is not in the scroll pane.
23037 * javax/swing/plaf/basic/BasicTreeUI.java,
23038 * javax/swing/tree/FixedHeightLayoutCache.java,
23039 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23040 * gnu/javax/swing/tree/GnuPath.java: New file.
23042 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23044 * javax/swing/JToolBar.java
23045 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23047 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23049 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23050 (createCustomColoredPanel): Set background color as demo intends,
23051 changed custom selection color to red.
23052 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23053 Replaced various single variables with a Compound instance, added
23054 custom highlighter demo.
23055 (TextFieldDemo.DemoHighlightPainter): New class (taken from
23057 (TextFieldDemo.Compound): New class.
23058 (createTextFieldCompound): New method.
23059 (createLeftAlignedPanel): Rewritten.
23060 (createRightAlignedPanel): Rewritten.
23061 (createCenteredPanel): Rewritten.
23062 (createCustomColoredPanel): Removed.
23063 (createCustomColoredPanel1): New method.
23064 (createCustomColoredPanel2): New method.
23065 (createCustomBordersPanel): New method.
23066 (createMiscPanel): Rewritten.
23067 (actionPerformed): Rewritten.
23068 (createContent): Add panels of new compounds to main panel, put
23069 main panel in a JScrollPane.
23070 * examples/gnu/classpath/examples/swing/Demo.java:
23071 (Demo): Put desktop in a scrollpane.
23072 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23073 method via reflection.
23075 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23077 * javax/swing/plaf/metal/MetalDesktopIconUI.java
23078 (createUI): Return new instance rather than shared instance.
23080 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23082 * javax/swing/text/FieldView.java:
23083 (checkContainer): Call updateVisibility() at the end.
23085 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23087 * java/awt/event/MouseEvent.java:
23088 (paramString): Add value of 'consumed' variable in string.
23090 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23093 * javax/swing/JTextField.java: Removed scrollOffset variable.
23094 (JTextField): Moved up initialization of horizontalVisibility field.
23095 (getScrollOffset): Implemented.
23096 (setScrollOffset): Implemented.
23097 (getHorizonztalVisibility): Removed note.
23098 (scrollRectToVisible): New method.
23099 * javax/swing/text/FieldView.java: Added cachedSpan variable.
23100 (checkContainer): New method.
23101 (updateVisibility): New method.
23102 (calculateHorizontalSpan): New method.
23103 (adjustAllocation): Removed unneeded local variables, added code
23104 to handle scrolling.
23105 (getPreferredSpan): Use new method calculateHorizontalSpan,
23106 avoid calculation by returning cached value cachedSpan.
23107 (paint): Added check whether the hosted component is a JTextField.
23108 (insertUpdate): Invalidate cached span value, update visibility
23110 (removeUpdate): Dito.
23111 (changeUpdate): Dito.
23113 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23115 * javax/swing/JInternalFrame.java
23116 (setTitle): Set old value to 'this.title', not 'title'.
23118 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23120 * javax/swing/JInternalFrame.java
23121 (AccessibleJInternalFrame.getAccessibleName): Implemented,
23122 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23123 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23124 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23125 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23126 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23127 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23128 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23129 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23130 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
23132 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
23134 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
23136 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
23138 (JInternalFrame()): Use "" for default title,
23139 (getAccessibleContext): Updated API docs,
23140 (getDesktopIcon): Likewise,
23141 (getLayer): Check for layer in client properties, and return
23142 DEFAULT_LAYER if no setting is found,
23143 (getTitle): Updated API docs,
23144 (setDesktopIcon): Fire property change event.
23146 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23148 * javax/swing/ScrollPaneLayout.java (layoutContainer):
23149 Mind that the presence of one scroll bar may cause the
23152 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
23154 * gnu/regexp/REToken.java(unicodeAware): New field,
23155 (toLowerCase, toUpperCase): New methods.
23156 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23157 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23158 Use toLowerCase and toUpperCase defined in REToken instead of
23159 those defined in java.lang.Character.
23160 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23161 (initialize): Sets unicodeAware of the generated REToken to false if
23162 REG_ICASE_USASCII is set.
23163 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23164 to lower case and keep the original value.
23165 (matchOneString): Use the new method charEquals to compare characters.
23166 (charEquals): New method to compare characters.
23167 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23169 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23171 * javax/swing/event/InternalFrameEvent.java:
23172 (paramString): Implemented,
23173 updated API docs all over.
23175 2006-04-12 Casey Marshall <csm@gnu.org>
23177 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23178 (Generator.setup): call `fillBlock.'
23180 2006-04-12 Casey Marshall <csm@gnu.org>
23182 Fixes PR classpath/24481.
23183 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23184 initialize the adaptee.
23185 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23186 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23187 addRandomBytes): new methods.
23189 2006-04-12 Tom Tromey <tromey@redhat.com>
23191 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23194 2006-04-12 Lillian Angel <langel@redhat.com>
23196 * gnu/xml/dom/DomDocument.java
23197 (checkNCName): Removed unneeded part of check.
23198 * gnu/xml/dom/DomNode.java
23199 (dispatchEvent): Added code to grow ancestors array
23200 if needed. Changed checks to use depth of node instead.
23201 Fixes an infinite loop and segmentation fault.
23202 * gnu/xml/dom/html2/DomHTMLParser.java
23203 (handleEndTag): No need to use/make a copy of the node.
23204 Causes an infinite loop.
23206 2006-04-12 Tom Tromey <tromey@redhat.com>
23208 PR classpath/27131:
23209 * java/util/BitSet.java (get): Early return if to==from.
23211 2006-04-12 Mark Wielaard <mark@klomp.org>
23213 * java/security/SecureRandom.java (algorithm): New private field.
23214 (SecureRandom): Initialize algorithm.
23215 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23217 (getInstance): Call 3 argument constructor.
23218 (getAlgorithm): New method.
23220 2006-04-12 Mark Wielaard <mark@klomp.org>
23222 Port UncaughtExceptionHandler support from generics branch.
23223 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23225 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23227 * java/lang/Thread.java:
23228 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23229 Added docs and security check.
23230 (getUncaughtExceptionHandler()): Documented.
23231 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23232 Added docs and security check.
23233 (getDefaultUncaughtExceptionHandler()): Documented.
23234 (getId()): Documented.
23236 2006-04-12 Tom Tromey <tromey@redhat.com>
23238 * vm/reference/java/lang/VMThread.java (run): Use thread's
23240 * java/lang/Thread.java (defaultHandler): New field.
23241 (setDefaultUncaughtExceptionHandler,
23242 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23243 getUncaughtExceptionHandler): New methods.
23244 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23245 UncaughtExceptionHandler.
23246 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23248 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23250 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23251 buffer. Loop only once to determine Utf8 length when possible. Make
23252 the inner loop bounded by buf.length.
23253 (getUTFlength): New private method.
23254 (buf): New private field.
23256 2006-04-11 Lillian Angel <langel@redhat.com>
23258 * gnu/xml/dom/DomNodeIterator.java
23259 (nextNode): Moved line of code to avoid an infinite loop.
23260 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23261 (getCls): New function.
23262 (setCls): Likewise.
23263 (getSrc): Likewise.
23264 (setSrc): Likewise.
23265 * gnu/xml/dom/html2/DomHTMLDocument.java:
23266 Added DomHTMLEmbedElement to map.
23267 (getApplets): Added node name, 'embed'.
23268 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23270 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23271 (getJavaCode): New function.
23272 (setJavaCode): Likewise.
23273 (getObject): Likewise.
23274 (setObject): Likewise.
23275 (getJavaObject): Likewise.
23276 (setJavaObject): Likewise.
23277 (getJavaArchive): Likewise.
23278 (setJavaArchive): Likewise.
23279 (getJavaCodeBase): Likewise.
23280 (setJavaCodeBase): Likewise.
23281 (getJavaType): Likewise.
23282 (setJavaType): Likewise.
23283 (setMayscript): Likewise.
23284 (getMayscript): Likewise.
23285 (setScriptable): Likewise.
23286 (getScriptable): Likewise.
23287 * gnu/xml/dom/html2/DomHTMLParser.java
23288 (parseDocument): Should not check for well formedness
23289 when parsing an html document.
23290 * java/awt/Window.java
23291 (dispatchEvent): Added check to avoid NPE.
23293 2006-04-10 Tom Tromey <tromey@redhat.com>
23295 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23297 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23298 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23300 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23302 * javax/swing/plaf/basic/BasicTextUI.java:
23303 (getNextVisualPositionFrom): Marked as stub.
23305 2006-04-10 Roman Kennke <kennke@aicas.com>
23307 * javax/swing/plaf/basic/BasicLookAndFeel.java
23308 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23309 and create the defaults as strings constants.
23310 (loadSystemColors): Implemented stubbed method.
23312 2006-04-10 Tom Tromey <tromey@redhat.com>
23314 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23317 2006-04-10 Tom Tromey <tromey@redhat.com>
23319 * java/io/CharArrayWriter.java (append): Javadoc fix.
23320 (append): Likewise.
23322 2006-04-10 Tom Tromey <tromey@redhat.com>
23324 * javax/accessibility/AccessibleTextSequence.java: New file.
23325 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23327 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23328 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23329 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23330 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23331 * javax/accessibility/AccessibleExtendedText.java: New file.
23332 * javax/accessibility/AccessibleContext.java
23333 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23334 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23335 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23336 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23337 * javax/accessibility/AccessibleStreamable.java: New file.
23338 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23341 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23343 * javax/swing/tree/AbstractLayoutCache.java
23344 (getNodeDimensions, getRowsForPath): Implemented.
23345 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23346 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23348 2006-04-10 Roman Kennke <kennke@aicas.com>
23350 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23352 2006-04-10 Roman Kennke <kennke@aicas.com>
23354 * javax/swing/JInternalFrame.java
23355 (AccessibleJInternalFrame): Marked all stubbed methods as such
23356 by adding throws NotImplementedException.
23358 2006-04-10 Roman Kennke <kennke@aicas.com>
23360 * javax/swing/JFileChooser.java
23361 (getAccessibleContext): Don't create a new instance on each
23362 call, instead store the accessible context in the
23363 accessibleContext field.
23365 2006-04-10 Roman Kennke <kennke@aicas.com>
23367 * javax/swing/JComboBox.java
23368 (AccessibleJComboBox): Marked all stubbed methods as such
23369 by adding throws NotImplementedException.
23371 2006-04-10 Roman Kennke <kennke@aicas.com>
23373 * javax/swing/ActionMap.java
23374 (readObject): Removed.
23375 (writeObject): Removed.
23377 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23379 * javax/swing/tree/DefaultTreeSelectionModel.java
23380 (addSelectionPaths, setSelectionPaths): Call
23381 insureUniqueness. (clone, setRowMapper): Implemented.
23382 * TreePath (path): Marked final.
23384 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23386 * javax/swing/tree/DefaultTreeSelectionModel.java:
23387 Documented and autoformatted. (insureUniqueness):
23388 Removed stub marking.
23390 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23392 * javax/swing/SizeSequence.java
23393 (sizes): Don't initialise here,
23394 (SizeSequence(int, int)): Initialise sizes field,
23395 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23396 (setSize): Do nothing when index is out of bounds,
23397 (getIndex): Implemented,
23398 (setSizes): Reimplemented,
23399 (getSizes): Likewise,
23400 (insertEntries): Likewise,
23401 (removeEntries): Likewise,
23402 plus added API docs all over.
23404 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23406 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23407 one way message and retry after any IOException.
23409 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23411 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23412 Set the byte order.
23414 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23416 * org/omg/PortableServer/ServantLocatorPOA.java:
23417 (preinvoke, postinvoke): Remove default implementation.
23418 * org/omg/PortableServer/ServantActivatorPOA.java:
23419 (incarnate, etherealize): Remove default implementation.
23420 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23421 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23422 (make_object): Moved method from ObjectReferenceFactoryOperations.
23423 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23424 Removed unspecified interface.
23425 * org/omg/DynamicAny/_DynAnyStub.java:
23426 (_DynAnyStub(Delegate)): Removed constructor.
23427 * org/omg/DynamicAny/_DynArrayStub.java,
23428 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23429 * org/omg/DynamicAny/_DynEnumStub.java,
23430 * org/omg/DynamicAny/_DynFixedStub.java,
23431 * org/omg/DynamicAny/_DynSequenceStub.java,
23432 * org/omg/DynamicAny/_DynStructStub.java,
23433 * org/omg/DynamicAny/_DynUnionStub.java,
23434 * org/omg/DynamicAny/_DynValueStub.java:
23435 Extend from ObjectImpl and not from _DynAnyStub.
23436 (type, next, destroy, copy, rewind, assign, component_count,
23437 current_component, equal, from_any, get_any, get_boolean, get_char,
23438 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23439 get_reference, get_short, get_string, get_typecode, get_ulong,
23440 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23441 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23442 insert_long, insert_longlong, insert_octet, insert_reference,
23443 insert_short, insert_string, insert_typecode, insert_ulong,
23444 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23445 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23446 * org/omg/CosNaming/_BindingIteratorStub.java:
23447 (_BindingIteratorStub(Delegate)): Made package private.
23448 * org/omg/CosNaming/_NamingContextExtStub.java:
23449 (_NamingContextExtStub(Delegate)): Made package private.
23450 * org/omg/CosNaming/_NamingContextStub.java:
23451 (_NamingContextStub(Delegate)): Made package private.
23452 (throw4, throw5): Likewise.
23453 * gnu/CORBA/NamingService/NameParser.java (resolve):
23454 Adapt to package private constructor. Use _set_delegate instead.
23455 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23456 * org/omg/CORBA/ORB.java:
23457 (create_recursive_sequence_tc): Made abstract.
23458 (get_default_context): Likewise.
23459 * gnu/CORBA/OrbRestricted.java:
23460 (create_recursive_sequence_tc): New moved method.
23461 (get_default_context): Likewise.
23462 * org/omg/CORBA/ParameterMode.java:
23463 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23465 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23467 * gnu/CORBA/GIOP/MessageHeader.java (write):
23468 More informative exception.
23469 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23470 * gnu/CORBA/SocketRepository.java (get_socket):
23471 Removed debugging code.
23473 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23475 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23476 one way message, but ignore if EOF was received.
23477 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23478 Minor.EOF if the end of file is received instead of the header.
23480 2006-04-09 Roman Kennke <kennke@aicas.com>
23482 * javax/swing/plaf/metal/MetalRootPaneUI.java
23483 (MetalTitlePane.IconifyAction): New inner class.
23484 (MetalTitlePane.MaximizeAction): New inner class.
23485 (MetalTitlePane.createActions): Create iconifyAction and
23487 (MetalRootLayout.titlePane): New field.
23488 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23490 (MetalRootLayout.preferredLayoutSize): Changed to not make
23491 assumptions about the actual component order.
23492 (MetalRootLayout.layoutContainer): Changed to not make
23493 assumptions about the actual component order.
23494 (installWindowDecorations): Pass the titlePane as parameter to
23495 the MetalRootLayout constructor.
23496 (uninstallWindowDecorations): Changed to not make
23497 assumptions about the actual component order.
23499 2006-04-08 Roman Kennke <kennke@aicas.com>
23501 * javax/swing/plaf/metal/MetalRootPaneUI.java
23502 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23504 (MetalTitlePane.installListeners): Don't register a focus listener
23505 on the window. This is a potential memory leak and must be
23506 implemented on a different way. Install mouse listener here.
23507 (installWindowDecorations): Fixed assertion condition. Always
23508 insert the window decoration at index#1 in the layered
23511 2006-04-08 Roman Kennke <kennke@aicas.com>
23513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23514 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23515 Only resize window if actual width or height value changes.
23516 Avoids nasty flicker when only setLocation() is beeing called
23519 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23521 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23522 exception if the magic sequence does not match.
23524 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23526 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23527 response for the one way messages.
23529 2006-04-08 Roman Kennke <kennke@aicas.com>
23531 * javax/swing/MenuSelectionManager.java
23532 (processKeyEvent): Implemented stub method.
23533 * javax/swing/JMenu.java
23534 (processKeyEvent): Implemented stub method.
23535 * javax/swing/JMenu.java
23536 (processKeyEvent): Implemented stub method.
23537 (processMenuKeyEvent): Implemented stub method.
23539 2006-04-08 Roman Kennke <kennke@aicas.com>
23541 * javax/swing/AbstractAction.java
23542 (readObject): Removed unneeded method.
23543 (writeObject): Removed unneeded method.
23545 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23547 * javax/swing/plaf/synth/SynthPainter.java:
23548 (paintSplitPaneDividerBorder): Removed.
23550 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23552 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23553 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23554 No longer constants.
23555 (static_initializer): Added to initialize above fields.
23556 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23557 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23558 (static_initializer): Added to initialize above fields.
23560 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23562 * java/awt/Dialog.java: Improved documentation all over.
23563 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23564 (Dialog(Dialog)): Likewise.
23566 2006-04-08 Mark Wielaard <mark@klomp.org>
23568 * java/util/jar/JarFile.java (provider): New static field.
23569 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23572 2006-04-08 Mark Wielaard <mark@klomp.org>
23575 * java/lang/StackTraceElement.java (toString): Don't add space
23576 between type and source indicator.
23578 2006-04-07 Casey Marshall <csm@gnu.org>
23580 Fixes PR classpath/24464
23581 * java/util/jar/JarFile.java (verify, verifyHashes,
23582 EntryInputStream.<init>): pass the Gnu provider directly to
23585 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23588 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23589 (DIGEST0): Use version 3 test vector.
23591 (S_box): New field: Version 3 S-box values.
23592 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23593 (transform): Formating.
23594 (padBuffer): Likewise.
23595 (getResult): Likewise.
23596 (selfTest): Likewise.
23598 2006-04-07 Tom Tromey <tromey@redhat.com>
23600 * java/util/InvalidPropertiesFormatException.java
23601 (serialVersionUID): New field.
23602 (readObject, writeObject): New methods.
23603 * java/util/Arrays.java (toString): Javadoc fixes.
23604 * java/net/URLConnection.java: Cleaned up imports.
23605 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23606 * java/lang/reflect/MalformedParameterizedTypeException.java
23607 (serialVersionUID): New field.
23608 * java/lang/reflect/GenericSignatureFormatError.java
23609 (serialVersionUID): New field.
23610 * java/lang/Class.java (Class): Javado fixes.
23611 (getComponentType): Likewise.
23612 (getGenericInterfaces): Likewise.
23613 (getTypeParameters): Likewise.
23614 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23615 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23617 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23619 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23622 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23624 * java/awt/Dialog.java
23625 (AccessibleAWTDialog): Added api docs
23626 (AccessibleAWTDialog.getAccessibleStateSet):
23627 Renamed from getAccessibleState.
23628 * java/awt/Frame.java
23629 (AccessibleAWTFrame): Added api docs
23630 (AccessibleAWTFrame.getAccessibleStateSet):
23631 Renamed from getAccessibleState.
23633 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23635 * java/awt/Dialog.java: Reformatted.
23637 2006-04-07 Lillian Angel <langel@redhat.com>
23639 * java/awt/Component.java
23640 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23641 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23643 2006-04-07 Tom Tromey <tromey@redhat.com>
23645 * java/beans/beancontext/BeanContextMembershipEvent.java
23646 (serialVersionUID): New field.
23647 * java/beans/beancontext/BeanContextServicesSupport.java
23648 (addBeanContextServicesListener): Synchronize.
23649 (addService): Implemented.
23650 (createBCSChild): Implemented.
23651 (BCSSChild): Added arguments.
23652 (fireServiceAdded): Implemented.
23653 (fireServiceRevoked): Implemented.
23654 (getCurrentServiceSelectors): Implemented.
23655 (hasService): Implemented.
23656 (removeBeanContextServicesListener): Implemented.
23657 (serviceAvailable): Implemented.
23658 (serviceRevoked): Implemented.
23659 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23661 (createBCSChild): Implemented.
23662 (BeanContextSupport):
23663 (addBeanContextMembershipListener): Synchronize.
23664 (fireChildrenAdded): Implemented.
23665 (fireChildrenRemoved): Implemented.
23666 (BeanContextSupport): Use default locale.
23667 (isEmpty): Implemented.
23668 (isDesignTime): Implemented.
23669 (size): Implemented.
23670 (toArray): Synchronized.
23671 (toArray): Likewise.
23672 (iterator): Likewise.
23673 (BCSIterator): Implemented.
23674 (bcsChildren): Implemented.
23675 (validatePendingAdd): Implemented.
23676 (validatePendingRemove): Likewise.
23677 (childJustAddedHook): Implemented.
23678 (childJustRemovedHook): Likewise.
23679 (classEquals): Likewise.
23680 (toArray): Mark as stub.
23681 (setDesignTime): Implemented.
23682 (copyChildren): Implemented.
23683 (containsKey): Implemented.
23684 (contains): Likewise.
23685 (containsAll): Likewise.
23686 (getResource): Implemented.
23687 (getResourceAsStream): Likewise.
23688 (removeBeanContextMembershipListener): Likewise.
23689 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23690 (serialVersionUID): New field.
23691 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23692 (serialVersionUID): New field.
23693 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23696 2006-04-06 Roman Kennke <kennke@aicas.com>
23699 * javax/swing/MenuSelectionManager.java
23700 (setSelectedPath): Search one more item in the loop.
23702 2006-04-06 Tom Tromey <tromey@redhat.com>
23704 * java/awt/image/renderable/RenderableImageProducer.java
23705 (image, context, consumers): New fields.
23706 (RenderableImageProducer): Implemented.
23707 (setRenderContext): Likewise.
23708 (addConsumer): Likewise.
23709 (isConsumer): Likewise.
23710 (removeConsumer): Likewise.
23711 (startProduction): Likewise.
23713 2006-04-06 Roman Kennke <kennke@aicas.com>
23715 * java/awt/Component.java
23716 (AccessibleAWTComponent.getBounds): Return the component
23717 bounds regardless of its showing state.
23718 (AccessibleAWTComponent.getLocation): Return the component
23719 location regardless of its showing state.
23720 (AccessibleAWTComponent.getSize): Return the component
23721 size regardless of its showing state.
23723 2006-04-06 Roman Kennke <kennke@aicas.com>
23725 * javax/swing/JRootPane.java
23726 (getAccessibleContext): New method. Provides an accessibleContext
23729 2006-04-06 Roman Kennke <kennke@aicas.com>
23731 * java/awt/Toolkit.java
23732 (initAccessibility): Use the 'gnu.classpath.home.url' property
23733 to determine the system confiuration directory.
23734 * java/awt/Component.java
23735 (dispatchEvent): Trigger Toolkit dispatching here.
23736 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23737 so it can't be overridden by subclasses and is performed in
23740 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23742 * javax/naming/Binding.java: Added API docs.
23743 * javax/naming/NameClassPair.java: Added API docs.
23744 (fullName): New field.
23745 (setNameInNamespace): New 1.5 method.
23746 (getNameInNamespace): Likewise.
23748 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23750 * javax/naming/CompositeName.java:
23751 (readObject): New deserialization method.
23752 (writeObject): New serialization method.
23754 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23756 * javax/security/auth/x500/X500Principal.java
23757 (readAttributeValue) Check for separator after quoted value was
23758 failing in all cases.
23760 2006-04-06 Mark Wielaard <mark@klomp.org>
23762 * java/lang/Class.java (getClassLoader): Don't do security check
23763 when loader is null.
23765 2006-04-06 Roman Kennke <kennke@aicas.com>
23767 * java/awt/Toolkit.java
23768 (getDefaultToolkit): Initialize accessibility after setting
23770 (initAccessibility): New helper method to setup accessibility.
23772 2006-04-06 Roman Kennke <kennke@aicas.com>
23774 * javax/swing/AbstractButton.java
23775 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23776 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23778 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23779 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23780 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23781 (AccessibleAbstractButton.getCharCount): Implemented stub.
23782 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23783 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23784 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23785 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23786 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23787 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23790 2006-04-06 Roman Kennke <kennke@aicas.com>
23792 * java/awt/Component.java
23793 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23794 state here. This is only done in JComponent.
23795 * javax/swing/JComponent.java
23796 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23798 (getNextFocusableComponent): Implemented stub method.
23799 (grabFocus): Implemented stub method.
23800 (unregisterKeyboardAction): Implemented stub method.
23801 (setNextFocusableComponent): Implemented stub method.
23802 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23803 This is a helper class for providing compatibility with the older
23806 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23809 * javax/naming/directory/BasicAttribute.java,
23810 * javax/naming/directory/BasicAttributes.java:
23811 (readObject): New deserialization method.
23812 (writeObject): New serialization method.
23814 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23816 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23817 (getErrorHandler): Made method abstract.
23818 (setErrorHanlder): Likewise.
23819 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23820 (getErrorHandler): Implement abstract method from superclass.
23821 (setErrorHandler): Likewise.
23822 (errorHandler): New field.
23823 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23824 (getErrorHandler): Implement abstract method from superclass.
23825 (setErrorHandler): Likewise.
23826 (errorHandler): New field.
23827 * javax/xml/XMLConstants.java: Corrected since tag.
23828 (XMLConstants): Added private constructor.
23829 * javax/xml/datatype/Duration.java: Corrected since tag.
23830 (multiply): Made method abstract.
23831 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23832 (DatatypeConstants): Added private constructor.
23833 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23834 (XPathConstants): Added private constructor.
23836 2006-04-05 Tom Tromey <tromey@redhat.com>
23838 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23840 2006-04-05 Tom Tromey <tromey@redhat.com>
23843 * lib/Makefile.am (compile-classes): Touch the output file.
23845 2006-04-05 Roman Kennke <kennke@aicas.com>
23847 * javax/swing/AbstractButton.java
23848 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23849 of the focused state. This is already done in AccessibleAWTComponent.
23851 2006-04-05 Roman Kennke <kennke@aicas.com>
23853 * javax/swing/JComponent.java
23854 (accessibleContext): Fixed API doc for this field.
23855 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23856 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23857 Implemented and added API docs.
23858 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23859 Implemented and added API docs.
23860 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23861 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23862 Implemented and added API docs.
23863 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23864 Implemented and added API docs.
23865 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23866 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23867 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23868 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23869 (AccessibleJComponent.getAccessibleStateSet): Simply return
23870 super here. Added comment about this.
23872 2006-04-05 Roman Kennke <kennke@aicas.com>
23874 * javax/swing/JComponent.java
23875 (AccessibleJComponent.addPropertyChangeListener): Install
23876 ContainerHandler and FocusHandler here.
23877 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23878 ContainerHandler and FocusHandler here.
23879 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23880 by super.getAccessibleChildrenCount().
23881 (AccessibleJComponent.getAccessibleChild): Replaced
23882 by super.getAccessibleChild().
23883 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23884 adding OPAQUE to the supported states.
23885 (AccessibleJComponent.getAccessibleName): Added titled border
23886 and label fallbacks.
23887 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23888 and label fallbacks.
23889 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23890 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23891 explaining why return null seems correct here.
23892 * javax/swing/JLabel.java
23893 (LABEL_PROPERTY): New constant.
23894 (setLabelFor): Store label in labeled component's client properties
23895 for the AccessibleJComponent to read.
23897 2006-04-05 Tom Tromey <tromey@redhat.com>
23899 * java/util/zip/ZipFile.java (available): Defer to super if
23900 entry's size is unknown.
23902 2006-04-05 Tom Tromey <tromey@redhat.com>
23904 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23905 property with mime.types name.
23906 * gnu/classpath/SystemProperties.java: Set
23907 gnu.classpath.mime.types.file if not already set.
23908 * java/net/URLConnection.java (defaultFactory): New field.
23909 (guessContentTypeFromStream): Mark as unimplemented.
23910 (getContentHandler): Updated with libgcj's implementation.
23911 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23914 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23918 * java/util/AbstractList.java (hasNext): Don't throw
23919 ConcurrentModificationException. Update Javadoc.
23920 (hasPrevious): Likewise.
23921 (nextIndex): Likewise.
23922 (previousIndex): Likewise.
23923 * java/util/HashMap.java (hasNext): Likewise.
23924 * java/util/Hashtable.java (hasNext): Likewise.
23925 * java/util/IdentityHashMap.java (hasNext): Likewise.
23926 * java/util/LinkedHashMap.java (hasNext): Likewise.
23927 * java/util/LinkedList.java (nextIndex): Likewise.
23928 (previousIndex): Likewise.
23929 (hasNext): Likewise.
23930 (hasPrevious): Likewise.
23931 * java/util/TreeMap.java (hasNext): Likewise.
23932 * java/util/WeakHashMap.java (hasNext): Likewise.
23934 2006-04-05 Roman Kennke <kennke@aicas.com>
23936 * javax/swing/AbstractButton.java
23937 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23938 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23939 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23940 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23941 (AccessibleAbstractButton.getAccessibleActionDescription):
23943 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23944 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23945 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23946 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23947 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23948 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23950 2006-04-05 Roman Kennke <kennke@aicas.com>
23952 * javax/swing/JComboBox.java
23953 (selectWithKeyChar): Implemented stubbed method.
23955 2006-04-05 Roman Kennke <kennke@aicas.com>
23957 * javax/swing/LookAndFeel.java
23958 (installProperty): New method. Allows primitive typed properties
23959 to be handled like UIResources.
23960 * javax/swing/AbstractButton.java
23961 (clientBorderPaintedSet): New field.
23962 (clientRolloverEnabledSet): New field.
23963 (clientIconTextGapSet): New field.
23964 (clientContentAreaFilledSet): New field.
23965 (setRolloverEnabled): Set the client field to true.
23966 (setBorderPainted): Likewise.
23967 (setIconTextGap): Likewise.
23968 (setContentAreaFilled): Likewise.
23969 (setUIProperty): New helper method.
23970 * javax/swing/JComponent.java
23971 (clientOpaqueSet): New field.
23972 (clientAutoscrollsSet): New field.
23973 (setAutoscrolls): Set the client field to true.
23974 (setOpaque): Likewise.
23975 (setUIProperty): New helper method.
23976 * javax/swing/JDesktopPane.java
23977 (clientDragModeSet): New field.
23978 (setDragMode): Set the client field to true.
23979 (setUIProperty): New helper method.
23980 * javax/swing/JSplitPane.java
23981 (clientDividerSizeSet): New field.
23982 (clientOneTouchExpandableSet): New field.
23983 (setDividerSize): Set the client field to true.
23984 (setOneTouchExpandable): Likewise.
23985 (setUIProperty): New helper method.
23986 * javax/swing/JTable.java
23987 (clientRowHeightSet): New field.
23988 (setRowHeight): Set the client field to true.
23989 (setUIProperty): New helper method.
23990 * javax/swing/JTree.java
23991 (clientRowHeightSet): New field.
23992 (clientScrollsOnExpandSet): New field.
23993 (clientShowsRootHandlesSet): New field.
23994 (setRowHeight): Set the client field to true.
23995 (setShowsRootHandles): Likewise.
23996 (setScrollsOnExpand): Likewise.
23997 (setUIProperty): New helper method.
23999 2006-04-05 Roman Kennke <kennke@aicas.com>
24001 * java/awt/Component.java
24002 (getFont): Don't request the font from the peer's graphics. The
24003 graphics should instead get the font from the Component, which might
24005 (getFocusCycleAncestor): Don't special case Window.
24006 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
24007 to here. Correctly determine the focus cycle root.
24008 (transferFocusBackward): Likewise.
24009 (transferFocusUpCycle): Likewise.
24010 * java/awt/Container.java
24011 (transferFocusDownCycle): Moved implementation from
24012 DefaultKeyboardFocusManager to here.
24013 * java/awt/DefaultKeyboardFocusManager.java
24014 (focusPreviousComponent): Moved implementation to
24015 Component.transferFocusBackward().
24016 (focusNextComponent): Moved implementation to
24017 Component.nextFocus().
24018 (upFocusCycle): Moved implementation to
24019 Component.transferFocusUpCycle().
24020 (downFocusCycle): Moved implementation to
24021 Container.transferFocusDownCycle().
24023 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24025 * java/awt/image/ComponentSampleModel.java
24026 (equals): Implemented,
24027 (hashCode): Likewise.
24029 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
24031 * java/lang/Class.java
24032 (cast): New method.
24034 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24036 * java/awt/image/ComponentSampleModel.java
24037 (getBankIndices): Return a copy of the array, not a reference to the
24039 (getBandOffsets): Likewise.
24041 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24043 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24045 2006-04-04 Tom Tromey <tromey@redhat.com>
24047 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24049 2006-04-04 Tom Tromey <tromey@redhat.com>
24051 * java/net/MimeTypeMapper.java (mime_types): No longer static.
24052 (MimeTypeMapper): Initialize.
24053 (fillFromFile): New method.
24054 (main): New method.
24055 (mime_strings): Updated.
24057 2006-04-04 Tom Tromey <tromey@redhat.com>
24059 * lib/gen-classlist.sh.in: Correct handle generated files.
24061 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
24063 * gnu/regexp/CharIndexed.java(setAnchor): New method.
24064 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24065 * gnu/regexp/CharIndexedCharSequence.java: New file.
24066 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24067 gnu.regexp.CharIndexedCharSequence.
24068 * gnu/regexp/CharIndexedString.java: Likewise.
24069 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24070 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24071 using CharIndexedCharSequence. Use setAnchor when the input
24072 object is already a CharIndexed.
24073 * java/util/regex/Matcher.java(inputCharIndexed): New field
24074 to be used as a parameter of the RE#getMatch.
24076 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24078 * java/awt/image/SampleModel.java: Reformatted.
24080 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24082 * java/awt/image/ComponentSampleModel.java
24083 (ComponentSampleModel(int, int, int, int, int[])): Added API
24085 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
24086 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24087 of the bandOffsets and bankIndices arguments, added API documentation,
24088 * java/awt/image/SampleModel.java
24089 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24090 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24091 less than or equal to zero, added API documentation.
24093 2006-04-04 Lillian Angel <langel@redhat.com>
24095 * java/util/zip/ZipFile.java
24096 (getInputStream): Fixed to return size of ZipEntry
24097 minus the total bytes read. This guarantees that the
24098 right value is returned even if some bytes have already
24101 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
24103 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24104 Remove static modifier.
24106 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24108 * java/awt/image/ComponentSampleModel.java: Reformatted.
24110 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24112 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24113 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24114 retrieval instructions to javadoc header.
24115 * javax/imageio/ImageWriteParam.java: Fix javadoc for
24116 compressionType field.
24117 * lib/Makefile.am (propertydirs): Add javax directory.
24118 (propertyfiles): Likewise.
24119 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24122 2006-04-03 Tom Tromey <tromey@redhat.com>
24124 PR classpath/26971:
24125 * javax/naming/directory/BasicAttribute.java: Added missing @since.
24126 (BasicAttributeEnumeration.where): Initialize to 0.
24127 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24129 2006-04-03 Lillian Angel <langel@redhat.com>
24131 PR classpath/24596 and PR classpath/26930
24132 * java/util/zip/ZipFile.java
24133 (getInputStream): Override available function for
24134 InflaterInputStream instance.
24136 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24138 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24140 2006-04-03 Tom Tromey <tromey@redhat.com>
24142 * javax/security/auth/kerberos/ServicePermission.java: New file.
24143 * javax/security/auth/kerberos/DelegationPermission.java: New file.
24144 * javax/security/auth/kerberos/KerberosKey.java: New file.
24145 * javax/security/auth/kerberos/KeyImpl.java: New file.
24146 * javax/security/auth/kerberos/KerberosTicket.java: New file.
24147 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24149 2006-04-03 Sven de Marothy <sven@physto.se>
24151 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24152 non-GtkImage images.
24154 2006-04-03 Mark Wielaard <mark@klomp.org>
24156 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24157 as temporary file name.
24159 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24161 * INSTALL: Documented --with-glibj-zip option.
24163 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24165 Fixed all pscan warnings.
24167 * native/jni/classpath/jcl.c (JCL_ThrowException),
24168 native/jni/classpath/jcl.h (DBG),
24169 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24170 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24171 Use "%s" format in fprintf and snprintf explicitely when printing a single
24172 string to prevent format string exploits.
24174 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24175 definition. Included jcl.h instead.
24177 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24179 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24180 (provider): Made it protected.
24181 (providerInstalled): New field.
24182 (Main): Made it a 0-arguments constructor.
24183 Removed throws clasue.
24184 (main): Removed throws clause.
24185 Call processArgs(args) after constructing instance.
24186 Call teardown() before existing.
24187 (processArgs): Added javadoc.
24188 Reduced to throws Exception.
24190 (teardown): New method.
24191 (setupCommonParams): Added javadoc.
24192 Install designated provider if not already installed.
24193 (installNewProvider): New method.
24194 (setupSigningParams): Added javadoc.
24195 Instantiate the KeyStore using type only.
24196 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24197 Removed unused imports.
24198 (start): Reduced to throws Exception.
24199 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24200 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24201 Re-organized imports.
24202 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24203 Test ignoring case.
24204 (getNames): Add "dsa" as an algorithm provided by this Factory.
24205 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24207 2006-04-03 Roman Kennke <kennke@aicas.com>
24209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24210 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24211 Replaced g_free() with pango_item_free() to avoid problems
24212 with the allocator.
24214 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24217 * java/util/logging/Level.java (parse): Document.
24218 * java/util/logging/LogManager.java (rootLogger): Removed.
24219 (LogManager): Just set loggers to new HashMap.
24220 (getLogManager): Make synchronized. Create and init LogManager if it
24222 (static): Removed block.
24223 (MANAGER_PROPERTY): New private final string.
24224 (makeLogManager): Use new property string, move warning to
24225 createInstance() method.
24226 (CONFIG_PROPERTY): New private final string.
24227 (initLogManager): New method.
24228 (addLogger): Use Logger.root, not rootLogger.
24229 (findAncestor): Likewise.
24230 (readConfiguration): Move warning to createInstance() method.
24231 Add handlers directly to Logger.root. Warn about bad level values.
24232 (getClassProperty): Use new locateClass() method.
24233 (getInstanceProperty): Only catch specific newInstance Errors.
24234 (createInstance): Make private and takes a string to use in warning
24235 messages. Use new locateClass() method and generate appropriate
24237 (warn): New methods.
24238 (locateClass): Locates a class through the context class loader and
24239 system class loader as backup.
24240 * java/util/logging/Logger.java (root): New static final field.
24241 (Logger): Set parent to root.
24242 (setParent): Directly check root field.
24244 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24246 * java/util/Collections.java:
24247 (binarySearch(List, T)): Fixed signature.
24248 (unmodifiableList(List)): Likewise.
24249 (UnmodifiableList(List)): Fixed constructor.
24250 (UnmodifiableRandomAccessList(List)): Likewise.
24251 (unmodifiableMap(Map)): Fixed signature.
24252 (UnmodifiableMap(Map)): Fixed constructor.
24253 (unmodifiableSortedMap(Map)): Fixed signature.
24254 (UnmodifiableSortedMap(Map)): Fixed constructor.
24256 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24258 * java/io/ObjectOutputStream.java:
24259 (writeObject(Object)): Added enum support.
24260 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24261 * java/io/ObjectStreamClass.java:
24262 (isEnum()): New package-private method.
24263 (setFlags(Class)): Added enum support.
24264 * java/io/ObjectStreamConstants.java:
24267 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24269 * javax/swing/text/Segment.java:
24270 (setPosition): Make exception message more verbose.
24271 * javax/swing/text/WrappedPlainView.java:
24272 (insertUpdate): Removed unneeded repaint call.
24273 (changeUpdate): Dito.
24274 (removeUpdate): Dito.
24275 (WrappedLine.determineNumLines): Do not return numLines, break
24276 from loop if no new break point has been calculated.
24277 (WrappedLine.updateDamage): Rewritten.
24278 (WrappedLine.insertUpdate): Removed unneeded update code.
24279 (WrappedLine.removeUpdate): Removed unneeded update code, added
24282 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24284 * configure.ac (with-glibj-zip): Added new option.
24286 * examples/Makefile.am,
24288 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24289 in addition to classes in lib directory.
24291 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24293 * tools/gnu/classpath/tools/giop/GRMIC.java,
24294 tools/gnu/classpath/tools/giop/IorParser.java,
24295 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24296 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24297 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24298 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24299 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24300 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24301 tools/gnu/classpath/tools/rmi/RMIC.java,
24302 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24303 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24304 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24305 linking exception from the licensing header.
24306 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24307 Added licensing header.
24309 2006-04-02 Mark Wielaard <mark@klomp.org>
24311 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24312 (jarsigner): Removed.
24314 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24316 * configure.ac: don't check for isnan function.
24317 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24319 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24321 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24322 * tools/Makefile.am: Generate jarsigner shell script.
24323 * tools/jarsigner.sh.in: New template.
24324 * tools/.cvsignore: Added jarsigner.sh.
24326 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24328 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24329 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24330 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24331 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24332 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24333 Re-organised imports.
24335 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24337 PR classpath/25924:
24338 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24339 Handle case where alpha==0.
24341 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24344 * javax/swing/text/Utilities.java:
24345 (getTabbedTextOffset): Added check to decrement pos not below zero,
24346 changed '>' comparison to '>='.
24347 * javax/swing/text/WrappedPlainView.java:
24348 (lineHeight): New field.
24349 (calculateBreakPosition): Throw InternalError in catch block, removed
24350 unneeded brackets, use specific version of
24351 Utilities.getTabbedTextOffset.
24352 (paint): Set various properties neccessary for drawing.
24353 (WrappedLine.paint): Removed code to set field of outer class.
24354 (WrappedLine.modelToView): Removed unneeded expression from
24356 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24357 -1 from return statement, copy only a subset into the Segment, removed
24358 special handling of mark value - just return it, simplified
24359 incrementation of currLineStart.
24360 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24361 change to parent view.
24362 (WrappedLine.removeUpdate): Dito.
24364 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24366 * javax/swing/text/Segment.java:
24367 (toString): Return empty string when array is null.
24369 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24371 * javax/swing/plaf/basic/BasicTextUI.java:
24372 (damageRange): Use SwingUtilities.computeUnion to avoid
24373 unneccessary Rectangle instantiation.
24375 2006-04-01 Tom Tromey <tromey@redhat.com>
24377 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24379 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24381 * javax/swing/text/CompositeView.java: Fixed copyright header.
24382 * javax/swing/text/BoxView.java: Fixed copyright header.
24383 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24384 * javax/swing/text/Utilities.java: Fixed copyright header.
24386 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24388 * javax/swing/text/CompositeView.java:
24389 (modelToView): Throw BadLocationException when no child
24390 view can be found, restructed to throw exception as early
24392 (viewToModel): Use mutable allocation as argument for viewToModel
24393 call on child view.
24394 * javax/swing/text/BoxView.java:
24395 (getViewAtPoint): Call setBounds() r before method returns with
24396 suitable child view.
24397 * javax/swing/text/Utilities.java:
24398 (getPositionBelow): Added try-catch-block around modelToView call,
24399 added method return when BadLocationException was thrown.
24400 * javax/swing/text/WrappedPlainView.java:
24401 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24402 added note about meaning of rect.x and rect.width, removed unneeded
24403 checks, added code to not return the last possible document offset.
24405 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24407 * javax/swing/text/WrappedPlainView.java:
24408 (WrappedLine.viewToModel): Change < to <= in if-statement,
24409 removed addition of currLineStart to return value.
24410 * javax/swing/text/BoxView.java:
24411 (getViewAtPoint): Use copy instead of r for method call
24412 which modifies the second argument.
24414 2006-04-01 Mark Wielaard <mark@klomp.org>
24417 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24419 2006-03-31 Tom Tromey <tromey@redhat.com>
24421 * lib/split-for-gcj.sh: Updated for multi-field format.
24422 * lib/Makefile.am (CLEANFILES): Added classes.2.
24423 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24424 classes.2 using multiple fields.
24426 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24428 * javax/swing/JTable.java (columnSelectionChanged):
24429 Removed print statement.
24430 * javax/swing/DefaultListSelectionModel.java
24431 (addSelectionInterval, removeSelectionInterval):
24432 Fire the difference between selection. (setLeadSelectionIndex):
24433 Fire the difference and mark current and previous lead
24434 selection indexes for repaint.
24436 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24438 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24439 unnecessary copying.
24440 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24442 2006-03-31 Lillian Angel <langel@redhat.com>
24444 * java/awt/Component.java
24445 (translateEvent): oldKey should be the value of the
24448 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24450 * javax/swing/JTable.java (columnSelectionChanged):
24451 Treat second repaint parameter as width.
24453 2006-03-31 Lillian Angel <langel@redhat.com>
24456 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24457 (realize): New native function.
24458 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24459 Added new function declaration.
24460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24461 (realize): New function.
24463 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24465 * javax/swing/text/GapContent.java:
24466 (replace): Move all Position instances from gap's end to
24467 it's start before increasing the gap start.
24468 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24469 (propertyChanged): Update the view only instead of
24470 indicating a document change.
24472 2006-03-31 Roman Kennke <kennke@aicas.com>
24474 * javax/swing/JTextField.java
24475 (fireActionPerformed): Put the textfields text in the action
24476 instead of the action name.
24478 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24480 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24481 Check for null jar-file argument.
24482 (setupSigningParams): Check for null alias argument.
24484 2006-03-31 Roman Kennke <kennke@aicas.com>
24486 * javax/swing/JComponent.java
24487 (paintChildren): Split up in two cases, depending on the
24488 optimizedDrawingEnabled flag.
24489 (paintChildrenWithOverlap): New method. Paints children when
24490 not optimizedDrawingEnabled. This implements better painting
24491 algorithm for overlapping components, so that the painted
24492 regions are minimized.
24493 (paintChildrenOptimized): New method. Paints children when
24494 when optimizedDrawingEnabled. This implements a painting
24495 algorithm that is optimized for the case when all children
24496 are guaranteed to be tiled.
24498 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24500 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24501 Attributes.putValue(String,String).
24502 (finishSigning): Likewise.
24503 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24504 (SIGNATURE_VERSION): Likewise.
24505 (readSFManifest): Use local string constant.
24506 (readMainSection): Likewise.
24507 (readVersionInfo): Likewise.
24508 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24509 Redefined using JarUtils constant.
24510 (SIGNATURE_VERSION): Likewise.
24511 (putValue(Name,String)): Made it private.
24513 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24515 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24516 New method. (clearSelection): Rewritten. (setSelectionInterval):
24517 Fire the difference between current and new selection.
24518 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24519 Only repaint the region, where selection has been changed.
24520 * javax/swing/plaf/basic/BasicTableUI.java
24521 (TableAction.actionPerformed): Do not change the column selection
24522 when only row selection change is wanted (and in reverse) and
24523 do not call the repaint() here.
24525 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24528 * javax/swing/DefaultComboBoxModel.java
24529 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24531 (addElement): Call list.addElement() rather than list.add(), and only
24532 update selected item if it is currently null,
24533 (removeElementAt): Update selected item, then remove the element.
24535 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24538 * java/awt/geom/Point2D.java
24539 (distanceSq(double, double)): Fixed order of arguments,
24540 (distanceSq(Point2D)): Likewise,
24541 (distance(double, double)): Likewise,
24542 (distance(Point2D)): Likewise.
24544 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24546 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24547 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24548 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24549 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24550 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24552 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24554 * javax.swing.JTable (constructor): Initialize column
24555 model column margin and table row margin before setting the
24556 table column model. (initialiseLocalVars): Do not call
24557 setIntercellSpacing.
24559 2006-03-30 Chris Burdess <dog@gnu.org>
24561 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24563 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24565 2006-03-30 Mark Wielaard <mark@klomp.org>
24568 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24569 adjust bounds. On resize invalidate and validate container.
24570 Always pass on ComponentEvents to Container super class.
24571 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24572 menuBar and pass to GtkWindowPeer super class.
24573 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24574 bounds and pass to GtkWindowPeer super class.
24575 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24576 New fields for local bounds.
24577 (getX, getY): New methods.
24578 (getWidth): Don't call into awtComponent.
24579 (getHeight): Likewise.
24580 (create): Cache local bounds.
24581 (setLocation): Documented, made protected and just call
24583 (setLocationUnlocked): Removed unused method.
24584 (setBoundsUnlocked): Likewise.
24585 (setBounds): Check whether bounds actually changed and cache local
24587 (setSize): Documented and made protected.
24588 (setResizable): Documented and cache local bounds.
24589 (postConfigureEvent): Update local bounds. Don't call awtComponent
24590 directly but post ComponentEvents.
24591 (show): Cache local bounds.
24592 (getBounds): Override to return cached bounds.
24594 2006-03-30 Lillian Angel <langel@redhat.com>
24596 * gnu/java/awt/peer/gtk/GdkGraphics.java
24597 (drawImage): Added check to prevent NPE.
24598 (drawImage): Likewise.
24599 (drawImage): Likewise.
24600 * java/awt/Choice.java
24601 (dispatchEventImpl): New function. selectedIndex was
24602 not being updated properly otherwise.
24604 2006-03-30 Roman Kennke <kennke@aicas.com>
24606 * javax/swing/JTabbedPane.java
24607 (removeTabAt): Removed debug code.
24609 2006-03-30 Roman Kennke <kennke@aicas.com>
24612 * javax/swing/plaf/basic/BasicTextUI.java
24613 (installKeyboardActions): Simply call getKeymap() and install this.
24614 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24616 2006-03-30 Roman Kennke <kennke@aicas.com>
24618 * javax/swing/JTabbedPane.java
24619 (removeTabAt): Adjust selection correctly when removing a tab
24620 before the selected tab. Also remove the component from the
24621 container, not only the tab object. Repaint and revalidate the
24622 component after the removal.
24623 (removeAll): Set selection to -1 before removing the tabs.
24625 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24627 * java/io/ObjectInputStream.java:
24628 (parseContent(byte)): Added enum support.
24629 * java/io/ObjectStreamConstants.java:
24631 (TC_MAX): Changed to new maximum, TC_ENUM.
24633 2006-03-29 Lillian Angel <langel@redhat.com>
24635 Partial fix for bug #26929
24636 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24637 (updateComponent): Removed. We want to clear the panel
24639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24640 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24641 Should set the background to the saved background color.
24643 2006-03-29 Mark Wielaard <mark@klomp.org>
24645 Partial fix for bug #26848 (pack).
24646 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24647 Always show instances of Window.
24649 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24651 * javax/swing/JSlider.java
24652 (setPaintLabels): Only create standard labels if labelTable is null,
24653 * javax/swing/plaf/basic/BasicSliderUI.java
24654 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24655 "paintTicks" property change,
24656 (calculateThumbSize): Updated API docs,
24657 (calculateContentRect): Likewise,
24658 (calculateTrackBuffer): Take into account the lowest and highest
24659 labels when calculating buffer space,
24660 (calculateTrackRect): Include labels, if visible, in the calculation of
24661 the trackRect position,
24662 (calculateTickRect): Height is zero if ticks are not painted,
24663 (calculateLabelRect): Use max dimensions of actual labels,
24664 (getWidthOfHighValueLabel): Use preferred size,
24665 (getWidthOfLowValueLabel): Likewise,
24666 (getHeightOfHighValueLabel): Likewise,
24667 (getHeightOfLowValueLabel): Likewise,
24668 (drawInverted): Just return slider setting,
24669 (getHighestValueLabel): Updated API docs,
24670 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24671 to xPositionForValue() and yPositionForValue(),
24672 (paintHorizontalLabel): Removed full qualification of class name,
24673 (paintVerticalLabel): Likewise,
24674 (xPositionForValue): Reimplemented,
24675 (yPositionForValue): Reimplemented,
24676 * javax/swing/plaf/metal/MetalSliderUI.java
24677 (paintTrack): Made track one pixel longer.
24679 2006-03-29 Tom Tromey <tromey@redhat.com>
24682 * tools/Makefile.am (JCOMPILER): Added encoding options.
24683 * examples/Makefile.am (JCOMPILER): Added encoding options.
24685 2006-03-29 Gary Benson <gbenson@redhat.com>
24687 Partial fix for PR classpath/24895
24688 * java/io/FilePermission.java (implies): Canonicalize paths.
24690 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24693 * javax/swing/text/GapContent.java:
24694 (replace): Added call to resetMarksAtZero.
24696 2006-03-29 Roman Kennke <kennke@aicas.com>
24699 * javax/swing/plaf/basic/BasicMenuItemUI.java
24700 (cachedRect): New field.
24701 (BasicMenuItemUI): Initialize cachedRect field.
24702 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24703 to determine layout. Store maximum accelerator and text width
24704 in client properties of parent to allow correct alignment
24705 of accelerators among menu items of one menu.
24706 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24707 method. Align accelerators according to the values calculated
24708 in getPreferredMenuItemSize.
24709 (getAcceleratorString) New helper method.
24710 (layoutMenuItem): New helper method.
24712 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24714 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24715 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24716 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24718 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24719 readExternal, writeExternal): New methods.
24720 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24721 two stages, invokeCommon(Remote, ...) and
24722 invokeCommen(UnicastConnection, ...).
24723 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24724 also the ActivatableRef. toString(): Documented.
24725 * gnu/java/rmi/server/ActivatableRef.java,
24726 tools/gnu/classpath/tools/rmi/Persistent.java,
24727 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24728 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24729 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24730 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24731 tools/gnu/classpath/tools/rmi/RMID.java,
24732 tools/gnu/classpath/tools/rmi/RMID.txt,
24733 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24734 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24735 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24736 tools/gnu/classpath/tools/rmi/registry/package.html,
24737 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24738 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24740 * tools/README: Documented.
24741 * NEWS: Added entry about the activation.
24743 2006-03-29 Roman Kennke <kennke@aicas.com>
24746 * javax/swing/plaf/basic/BasicMenuItemUI.java
24747 (viewRect): New field.
24748 (textRect): New field.
24749 (accelRect): New field.
24750 (iconRect): New field.
24751 (arrowIconRect): New field.
24752 (checkIconRect): New field.
24753 (BasicMenuItemUI): Initialize new fields.
24754 (paintMenuItem): Rewritten to correctly layout and paint
24755 the menu item in a more straightforward way. Use cached rectangle
24756 objects for layout.
24757 (paintAccelerator): Pulled inside the paintMenuItem method.
24759 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24761 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24762 Do not use initCause with UnexpectedException.
24763 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24766 2006-03-29 Mark Wielaard <mark@klomp.org>
24768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24769 (setCursorID): Removed unused static variable.
24771 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24773 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24775 2006-03-29 Mark Wielaard <mark@klomp.org>
24778 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24779 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24781 2006-03-28 Roman Kennke <kennke@aicas.com>
24783 * javax/swing/UIManager.java
24784 (installLookAndFeel): Implemented.
24785 (setInstalledLookAndFeels): Implemented.
24787 2006-03-28 Roman Kennke <kennke@aicas.com>
24789 * javax/swing/plaf/metal/MetalButtonUI.java
24790 (update): Paint gradient only when the background color
24791 is not a UIResource and if the button is neither armed nor
24792 pressed and if the button is contentAreaFilled.
24794 2006-03-28 Roman Kennke <kennke@aicas.com>
24796 * javax/swing/JLayeredPane.java
24797 (addImpl): Repaint added component.
24799 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24801 * java/util/regex/Matcher.java: Reverted.
24803 2006-03-28 Roman Kennke <kennke@aicas.com>
24805 * javax/swing/text/AsyncBoxView.java
24806 (setEstimatedMajorSpan): Made method protected.
24807 (getEstimatedMajorSpan): Made method protected.
24808 * javax/swing/text/BoxView.java
24809 (flipEastAndWestAtEnds): Fixed typo.
24810 * javax/swing/text/InternationalFormatter.java
24811 (getActions): Made method protected.
24812 * javax/swing/text/Position.java
24813 (Bias): Made class final.
24814 * javax/swing/text/html/HTML.java
24815 (MEDIA): Made field package private. Not specified.
24816 (NOBR): Made field package private. Not specified.
24817 * javax/swing/text/html/NullView.java
24818 Made class package private.
24819 * javax/swing/text/html/parser/Entity.java
24820 Made class non-serializable as specified.
24822 2006-03-28 Roman Kennke <kennke@aicas.com>
24824 * javax/swing/plaf/metal/MetalButtonUI.java
24825 (update): Don't paint gradient if the background color is
24826 no UIResource. Removed double getModel() call. Don't check for
24829 2006-03-28 Roman Kennke <kennke@aicas.com>
24831 * javax/swing/plaf/basic/BasicMenuItemUI.java
24832 (paint): Call paintMenuItem with the selectionBackground as
24834 (paintBackground): Fixed the condition and color for the background
24837 2006-03-28 Roman Kennke <kennke@aicas.com>
24839 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24840 (tabsOpaque): New field.
24841 (paintLeftTabBorder): Paint some parts only when the tabs are
24842 opaque. Determine the tab background using the paintLeftTabBorder()
24844 (paintRightTabBorder): Likewise.
24845 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24847 2006-03-27 Tom Tromey <tromey@redhat.com>
24849 PR classpath/25189:
24850 * java/lang/Enum.java (valueOf): Ensure that the named field
24851 is an enum constant.
24852 (compareTo): Check class of enum.
24854 2006-03-27 Tom Tromey <tromey@redhat.com>
24856 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24858 2006-03-27 Tom Tromey <tromey@redhat.com>
24860 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24862 (getModifiersInternal): Renamed from getModifiers.
24863 (getModifiers): New method.
24864 (isBridge): Likewise.
24865 (isSynthetic): Likewise.
24866 (isVarArgs): Likewise.
24867 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24869 (getModifiersInternal): Renamed from getModifiers.
24870 (getModifiers): New method.
24871 (isSynthetic): Likewise.
24872 (isEnumConstant): Likewise.
24873 * vm/reference/java/lang/reflect/Constructor.java
24874 (getModifiersInternal): Renamed from getModifiers.
24875 (getModifiers): New method
24876 (CONSTRUCTOR_MODIFIERS): New constant.
24877 (isSynthetic): New method.
24878 (isVarArgs): Likewise.
24879 * java/lang/reflect/Member.java (isSynthetic): New method.
24881 2006-03-28 Tom Tromey <tromey@redhat.com>
24883 * java/net/Proxy.java (TYPE): Added missing ";".
24885 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24887 * java/math/RoundingMode.java:
24888 Fixed serialization UID.
24889 * java/net/Proxy.java:
24892 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24894 * java/io/CharArrayWriter.java:
24895 (append(char)): Documented.
24896 (append(CharSequence)): Likewise.
24897 (append(CharSequence,int,int)): Likewise.
24899 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24901 * vm/reference/java/lang/reflect/Constructor.java
24902 (getTypeParameters): Check return value of getSignature for null.
24903 * vm/reference/java/lang/reflect/Method.java
24904 (getTypeParameters): Check return value of getSignature for null.
24906 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24908 * java/rmi/activation/ActivationGroup_Stub.java:
24911 2006-03-27 Tom Tromey <tromey@redhat.com>
24913 * java/io/CharArrayWriter.java (append): New overloads.
24915 2006-03-27 Lillian Angel <langel@redhat.com>
24917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24918 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24919 Added check for colormap. Prevents assertion error.
24920 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24922 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24924 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24926 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24928 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24931 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24933 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24934 AC_MSG_ERROR instead of echoing the error message
24935 that no compiler has been found manually.
24937 2006-03-27 Roman Kennke <kennke@aicas.com>
24939 * javax/swing/RepaintManager.java
24940 (commitBuffer): Use simple drawImage() method instead of the
24943 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24945 * javax/swing/text/PlainView.java:
24946 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24947 for painting the selected line.
24949 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24951 * javax/swing/plaf/basic/BasicSliderUI.java
24952 (getThumbSize): Removed TODO and updated API docs.
24954 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24956 * javax/swing/text/DefaultCaret.java:
24957 (mouseClicked): Word selection rewritten.
24958 (paint): Draw line inside the bounding rectangle.
24959 (damage): Retrieve caret height from line height.
24961 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24963 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24965 Check for -help option.
24966 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24968 2006-03-27 Roman Kennke <kennke@aicas.com>
24970 * javax/swing/text/FieldView.java
24971 (getPreferredSpan): Don't include trailing newline in
24973 * javax/swing/text/PlainView.java
24974 (drawLine): Don't include trailing newline.
24975 (determineMaxLineLength): Don't include trailing newline.
24976 (getLineBuffer): Made method final.
24978 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24980 * javax/swing/JSlider.java
24981 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24982 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24983 NotImplementedException,
24984 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24986 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24988 * java/lang/ProcessBuilder.java:
24991 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24993 * gnu/java/net/protocol/http/Headers.java:
24994 Match layout of file on HEAD.
24995 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24997 * java/awt/datatransfer/DataFlavor.java
25000 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
25002 * gnu/java/security/jce/hash/HavalSpi.java,
25003 * gnu/java/security/jce/hash/MD2Spi.java,
25004 * gnu/java/security/jce/hash/MD4Spi.java,
25005 * gnu/java/security/jce/hash/MD5Spi.java,
25006 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
25007 * gnu/java/security/jce/hash/RipeMD128Spi.java,
25008 * gnu/java/security/jce/hash/RipeMD160Spi.java,
25009 * gnu/java/security/jce/hash/Sha160Spi.java,
25010 * gnu/java/security/jce/hash/Sha256Spi.java,
25011 * gnu/java/security/jce/hash/Sha384Spi.java,
25012 * gnu/java/security/jce/hash/Sha512Spi.java,
25013 * gnu/java/security/jce/hash/TigerSpi.java,
25014 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25015 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25016 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25017 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25018 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25019 * gnu/java/security/jce/sig/SignatureAdapter.java,
25020 * gnu/java/security/key/IKeyPairCodec.java,
25021 * gnu/java/security/key/IKeyPairGenerator.java,
25022 * gnu/java/security/key/KeyPairGeneratorFactory.java,
25023 * gnu/java/security/key/dss/DSSKey.java,
25024 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25025 * gnu/java/security/key/dss/DSSPrivateKey.java,
25026 * gnu/java/security/key/dss/DSSPublicKey.java,
25027 * gnu/java/security/key/dss/FIPS186.java,
25028 * gnu/java/security/key/rsa/GnuRSAKey.java,
25029 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25030 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25031 * gnu/java/security/sig/ISignature.java,
25032 * gnu/java/security/sig/ISignatureCodec.java,
25033 * gnu/java/security/sig/dss/DSSSignature.java,
25034 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25035 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25036 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25037 * gnu/java/security/util/Util.java:
25038 Remove CVS revision tags.
25040 2006-03-26 Tom Tromey <tromey@redhat.com>
25042 * java/io/InputStream.java (InputStream): Implements Closeable.
25044 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
25046 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25048 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25049 getAnchor): New methods.
25050 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25051 getAnchor): New methods.
25052 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25053 getAnchor): New methods.
25054 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25055 getAnchor): New methods.
25056 * gnu/regexp/REMatch.java(start1): New field.
25057 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25058 (match): set the starting position to start1[] instead of start[],
25059 (getMatchImpl): Set the found REMatch to the input,
25060 (makeCharIndexed): Made public.
25061 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25062 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25063 set the value of start[] copying from start1[].
25064 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25066 * java/util/regex/Matcher.java(inputCharIndexed): New field
25067 to be used as a parameter of the RE#getMatch.
25069 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25071 * gnu/java/rmi/activation/DefaultActivationGroup.java:
25072 Documented the default jre spawning strategy (none).
25073 * java/rmi/activation/ActivationGroup.java (currentGroupId,
25074 getSystem): Obtain the acticivation system from the
25075 DefaultActivationSystem.
25077 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25079 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25080 Ask user for keystore password if one was not provided.
25082 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25084 * tools/README: Added Security tools section.
25085 Documented the jarsigner tool.
25087 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
25089 * javax/swing/JScrollBar.java
25090 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25091 (AccessibleJScrollBar.getAccessibleRole): Likewise,
25092 (AccessibleJScrollBar.getAccessibleValue): Likewise,
25093 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25094 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25095 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25096 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25097 (getAccessibleContext): Updated API docs.
25099 2006-03-25 Tom Tromey <tromey@redhat.com>
25101 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25102 change or if generator script changes.
25104 2006-03-25 Tom Tromey <tromey@redhat.com>
25106 * javax/naming/ldap/StartTlsRequest.java: New file.
25107 * javax/naming/ldap/StartTlsResponse.java: New file.
25109 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
25111 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25112 to validate all components of a resource path.
25113 (FileURLLoader.walkPathComponents): Helper which ensures that we are
25114 allowed to walk through every component of a resource path.
25116 2006-03-25 Michael Koch <konqueror@gmx.de>
25118 * NEWS: Added item for CLDR 1.3 update.
25120 2006-03-25 Michael Koch <konqueror@gmx.de>
25122 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25123 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25124 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25125 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25126 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25127 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25130 2006-03-25 Michael Koch <konqueror@gmx.de>
25132 * resource/gnu/java/locale/LocaleInformation_az.properties,
25133 resource/gnu/java/locale/LocaleInformation_bs.properties,
25134 resource/gnu/java/locale/LocaleInformation_byn.properties,
25135 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25136 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25137 resource/gnu/java/locale/LocaleInformation_gez.properties,
25138 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25139 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25140 resource/gnu/java/locale/LocaleInformation_haw.properties,
25141 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25142 resource/gnu/java/locale/LocaleInformation_kok.properties,
25143 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25144 resource/gnu/java/locale/LocaleInformation_sid.properties,
25145 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25146 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25147 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25148 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25149 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25150 resource/gnu/java/locale/LocaleInformation_syr.properties,
25151 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25152 resource/gnu/java/locale/LocaleInformation_tig.properties,
25153 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25154 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25155 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25156 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25157 resource/gnu/java/locale/LocaleInformation_wal.properties,
25158 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25161 2006-03-25 Michael Koch <konqueror@gmx.de>
25163 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25164 resource/gnu/java/locale/LocaleInformation_kn.properties,
25165 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25166 resource/gnu/java/locale/LocaleInformation_ko.properties,
25167 resource/gnu/java/locale/LocaleInformation_sl.properties,
25168 resource/gnu/java/locale/LocaleInformation_so.properties,
25169 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25170 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25171 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25172 resource/gnu/java/locale/LocaleInformation_sr.properties:
25173 Random fixes I forgot to commit before.
25175 2006-03-25 Michael Koch <konqueror@gmx.de>
25177 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25178 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25179 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25180 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25181 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25182 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25183 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25184 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25185 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25186 resource/gnu/java/locale/LocaleInformation_en.properties,
25187 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25188 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25189 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25190 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25191 resource/gnu/java/locale/LocaleInformation_fa.properties,
25192 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25193 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25194 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25195 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25196 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25197 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25198 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25199 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25200 resource/gnu/java/locale/LocaleInformation_pa.properties,
25201 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25202 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25203 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25204 resource/gnu/java/locale/LocaleInformation_sa.properties,
25205 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25206 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25207 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25208 Updated currency formats.
25210 2006-03-25 Roman Kennke <kennke@aicas.com>
25212 * javax/swing/text/AbstractDocument.java
25213 (getAttributeContext): Made method final.
25214 (getCurrentWriter): Likewise.
25215 (getEndPosition): Likewise.
25216 (getProperty): Likewise.
25217 (getStartPosition): Likewise.
25218 (putProperty): Likewise.
25219 (readLock): Likewise.
25220 (readUnlock): Likewise.
25221 (writeLock): Likewise.
25222 (writeUnlock): Likewise.
25224 2006-03-25 Roman Kennke <kennke@aicas.com>
25226 * javax/swing/InputMap.java
25227 (allKeys): Check if parent keys is null.
25228 * javax/swing/KeyboardManager.java
25229 (registerEntireMap): Also register map's parent keys.
25230 * javax/swing/plaf/metal/MetalRootPaneUI.java
25231 (propertyChange): Also call super.propertyChange().
25233 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25235 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25236 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25237 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25238 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25239 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25240 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25242 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25244 * gnu/java/util/jar/JarUtils.java: New file.
25245 * java/util/jar/Manifest.java (CRLF): Removed.
25246 (read_main_section): Likewise.
25247 (read_version_info): Likewise.
25248 (expect_header(String,BufferedReader)): Likewise.
25249 (expect_header(String,BufferedReader,String)): Likewise.
25250 (read_header_value): Likewise.
25251 (read_attributes): Likewise.
25252 (read_attribute): Likewise.
25253 (read_individual_sections): Likewise.
25254 (read_section_name): Likewise.
25255 (write_main_section): Likewise.
25256 (write_version_info): Likewise.
25257 (write_header): Likewise.
25258 (write_main_attributes): Likewise.
25259 (write_attribute_entry): Likewise.
25260 (write_individual_sections): Likewise.
25261 (write_entry_attributes): Likewise.
25262 (read): use JarUtils.
25265 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25267 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25270 (SignerInfo(BERReader)): Updated javadoc.
25272 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25274 (encode): New method.
25275 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25276 (PKCS7_DATA): Removed.
25279 (PKCS7SignedData(BERReader)): Updated javadoc.
25281 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25283 (encode): New method.
25284 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25285 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25286 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25287 (decodePrivateKey): Decode x from an OCTET STRING.
25288 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25289 (toString): New method.
25290 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25292 (toString): New method.
25293 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25294 (toString): New method.
25295 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25297 2006-03-25 Roman Kennke <kennke@aicas.com>
25299 * java/util/GregorianCalender.java
25300 (computeTime): Fix comparison to correctly calculate the
25303 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25306 * java/awt/Window.java:
25307 (setFocusCycleRoot): New overriden method.
25308 (isFocusCycleRoot): Likewise.
25309 (getFocusCycleRootAncestor): Likewise.
25310 * java/awt/Container.java:
25311 (getFocusTraversalPolicy): Check also for anchestor == null.
25313 2006-03-25 Mark Wielaard <mark@klomp.org>
25315 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25316 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25319 2006-03-24 Tom Tromey <tromey@redhat.com>
25321 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25323 (writeChar): Removed useless cast.
25324 (writeChars(String)): Implemented.
25325 (writeDouble): Rewrote.
25326 (writeFloat): Likewise.
25327 (writeUTF): Implemented.
25328 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25331 2006-03-24 Roman Kennke <kennke@aicas.com>
25333 * javax/swing/JButton.java
25334 (def): Replaced field with defaultCapable field.
25335 (is_def): Removed field.
25336 (JButton): Initialize defaultCapable with true.
25337 (isDefaultButton): Documented and implemented method by querying
25338 the button's root pane if present.
25339 (isDefaultCapable): Changed def field to defaultCapable.
25340 Added documentation.
25341 (paramString): Call isDefaultButton() instead of accessing field,
25343 (setDefaultCapable): Changed def field to defaultCapable.
25344 Added documentation.
25345 * javax/swing/JRootPane.java
25346 (setDefaultButton): Only change the default button if the
25347 new button is defaultCapable.
25348 * javax/swing/plaf/basic/BasicRootPaneUI.java
25349 (DefaultPressAction): New class.
25350 (DefaultReleaseAction): New class.
25351 (installKeyboardActions): Implemented.
25352 (uninstallKeyboardActions): Implemented.
25353 (propertyChange): Implemented.
25354 * javax/swing/plaf/metal/MetalBorders.java
25355 (ButtonBorder.paintBorder): 'Outsourced' default theme
25356 painting to paintDefaultButtonBorder().
25357 (ButtonBorder.paintDefaultButtonBorder): New helper method
25358 to paint the border in the default theme. This also fixes
25359 painting of the border for default buttons.
25360 (ButtonBorder.paintOceanButtonBorder): Added support for
25361 default button painting. Fixed border for pressed/default state.
25362 * javax/swing/plaf/metal/MetalButtonUI.java
25363 (update): Only paint gradient when in OceanTheme and when the
25364 button is not armed.
25366 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25368 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25369 Inherit from Activator.
25371 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25373 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25374 Print debug message if debug flag is set.
25375 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25376 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25377 detail, do not call iniCause(). (exportClass): New method.
25378 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25379 Ignore null (bootstrap) class loader.
25380 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25381 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25382 visibility to protected.
25383 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25384 (toStub): New method.
25385 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25386 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25387 Explained property java.rmi.activation.port.
25389 2006-03-24 Tom Tromey <tromey@redhat.com>
25391 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25392 * gnu/java/locale/.cvsignore: New file.
25393 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25394 * java/util/Locale.java (getAvailableLocales): Clone result.
25395 (getISOCountries): Likewise.
25396 (getISOLanguages): Likewise.
25397 * scripts/generate-locale-list.sh: Make class public. Added new
25399 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25400 (getLocaleCount): Likewise.
25401 * java/text/Collator.java (getInstance): Javadoc typo fix.
25402 (getAvailableLocales): Wrote.
25404 2006-03-24 Roman Kennke <kennke@aicas.com>
25406 * javax/swing/JTabbedPane.java
25407 (getSelectedComponent): Return null when no component is
25410 2006-03-24 Mark Wielaard <mark@klomp.org>
25412 * NEWS: Add cursor and selection improvements.
25414 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25416 * java/awt/Component.java
25417 (getAccessibleName): Just return accessibleName,
25418 * javax/swing/AbstractButton.java
25419 (getAccessibleStateSet): Mark as stub,
25420 (getAccessibleName): Implemented,
25421 (getAcessibleIcon): Mark as stub,
25422 (getAccessibleRelationSet): Likewise,
25423 (getAccessibleAction): Likewise,
25424 (getAccessibleValue): Likewise,
25425 (getAccessibleActionCount): Likewise,
25426 (getAccessibleActionDescription): Likewise,
25427 (doAccessibleAction): Likewise,
25428 (getCurrentAccessibleValue): Likewise,
25429 (setCurrentAccessibleValue): Likewise,
25430 (getMinimumAccessibleValue): Likewise,
25431 (getMaximumAccessibleValue): Likewise,
25432 (getAccessibleText): Likewise,
25433 (getIndexAtPoint): Likewise,
25434 (getCharacterBounds): Likewise,
25435 (getCharCount): Likewise,
25436 (getCaretPosition): Likewise,
25437 (getAtIndex): Likewise,
25438 (getAfterIndex): Likewise,
25439 (getBeforeIndex): Likewise,
25440 (getCharacterAttribute): Likewise,
25441 (getSelectionStart): Likewise,
25442 (getSelectionEnd): Likewise,
25443 (getSelectedText): Likewise,
25444 (getTextRectangle): Likewise,
25445 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25446 (getIconTextGap): Added @since 1.4,
25447 (setContentAreaFilled): Reordered code to make event sequence match
25448 reference implementation,
25449 * javax/swing/JButton.java
25450 (getSelectedObjects): Removed,
25451 *javax/swing/JComponent.java
25452 (getAccessibleName): Call super.
25454 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25456 * javax/swing/JProgressBar.java
25457 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25458 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25459 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25460 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25461 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25462 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25463 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25464 (getAccessibleContext): Added API docs.
25466 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25468 * javax/swing/plaf/basic/BasicTextUI.java:
25469 (FocusListener.focusLost): Put current selection into the system
25472 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25474 * java/awt/Component.java:
25475 (processMouseEvent): Remove call to consume event.
25476 (dispatchEventImpl): Handle specific events first, do focus request
25477 only when mouse event was not yet consumed.
25478 * javax/swing/text/DefaultCaret.java:
25479 (mousePressed): Rewritten.
25480 (setDot): Changed order of operations.
25483 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25485 * javax/swing/JComponent.java
25486 (AccessibleJComponent.changeSupport): Removed field,
25487 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25488 (AccessibleJComponent.addPropertyChangeListener): Call super,
25489 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25490 * javax/swing/JSlider.java
25491 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25492 (AccessibleJSlider.getAccessibleRole): Likewise,
25493 (AccessibleJSlider.getAccessibleValue): Likewise,
25494 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25495 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25496 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25497 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25498 (getAccessibleContext): Added API docs.
25500 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25502 * gnu/java/rmi/activation/ActivationSystemTransient.java
25503 (debug): Made public. (constructor): Made protected.
25504 (activate, getActivationDesc): Throw more informative exceptions.
25505 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25507 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25509 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25511 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25513 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25514 system, passed in the activation descriptor field.
25515 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25516 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25517 to package private final. (equals): Compare uid, not the system.
25518 (hashCode): Forward to uid.hashCode(). toString(): New method.
25519 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25520 Rewritten. (equals): Compare UID only. toString(): New method.
25521 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25522 UID (space). (hashCode, toString): Rewritten.
25523 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25524 New method. (invoke): Treat null as an empty array for parameters.
25525 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25526 Include count, do not include the static machineId.
25528 2006-03-23 Tom Tromey <tromey@redhat.com>
25530 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25532 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25534 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25535 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25536 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25537 (force): New field. (setForce): New method. (compile): Handle -force.
25538 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25539 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25541 2006-03-23 Roman Kennke <kennke@aicas.com>
25543 * javax/swing/JTabbedPane.java
25544 (Page.getBackground): Return the JTabbedPane's background,
25545 rather than the page's component background.
25546 (Page.getForeground): Return the JTabbedPane's foreground,
25547 rather than the page's component foreground.
25548 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25549 (uninstallUI): Don't set colors to null.
25550 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25551 (paintTabBackground): Correctly determine the tab background.
25552 (getUnselectedBackground): New helper method to
25553 handle the UI property 'TabbedPane.unselectedBackground'
25556 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25558 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25559 (BorderListener.showingResizeCursor): New field.
25560 (BorderListener.mouseMoved, BorderListner.mouseExited):
25563 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25565 * javax/swing/JComboBox.java
25566 (selectWithKeyChar): Mark as stub,
25567 * javax/swing/JFileChooser.java
25568 (setDragEnabled): Mark as stub,
25569 (getDragEnabled): Likewise,
25570 * javax/swing/JSlider.java
25571 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25572 (AccessibleJSlider.getAccessibleRole): Likewise,
25573 (AccessibleJSlider.getAccessibleValue): Likewise,
25574 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25575 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25576 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25577 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25578 * javax/swing/UIManager.java
25579 (installLookAndFeel): Mark as stub,
25580 (setInstalledLookAndFeels): Likewise.
25582 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25584 * javax/swing/filechooser/UnixFileSystemView.java
25585 (getSystemDisplayName): Mark as stub,
25586 (getSystemIcon): Likewise,
25587 (getSystemTypeDescription): Likewise.
25589 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25591 * javax/swing/tree/AbstractLayoutCache.java
25592 (getNodeDimensions): Mark as stub,
25593 (getPreferredHeight): Likewise,
25594 (getPreferredWidth): Likewise,
25595 (getRowsForPaths): Likewise,
25596 (isFixedRowHeight): Likewise,
25597 * javax/swing/tree/DefaultTreeModel.java
25598 (reload()): Mark as stub,
25599 (reload(TreeNode)): Likewise,
25600 (nodeStructureChanged): Likewise,
25601 * javax/swing/tree/DefaultTreeSelectionModel.java
25602 (clone): Mark as stub,
25603 (setRowMapper): Likewise,
25604 (setSelectionPaths): Likewise,
25605 (isRowSelected): Likewise,
25606 (resetRowSelection): Likewise,
25607 (insureRowContinuity): Likewise,
25608 (arePathsContiguous): Likewise,
25609 (canPathsBeAdded): Likewise,
25610 (canPathsBeRemoved): Likewise,
25611 (notifyPathChange): Likewise,
25612 (updateLeadIndex): Likewise,
25613 (insureUniqueness): Likewise,
25614 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25616 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25618 2006-03-22 Tom Tromey <tromey@redhat.com>
25620 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25622 (getStaticAttributeKey): Likewise.
25623 (readAttributeSet): Likewise.
25624 (writeAttributeSet): Likewise.
25625 (readAttributes): Likewise.
25626 (writeAttributes): Likewise.
25627 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25629 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25631 (fireChangedUpdate): Likewise.
25634 (handleEndOfLineString): Likewise.
25635 (textAreaContent): Likewise.
25636 (preContent): Likewise.
25637 (addSpecialElement): Likewise.
25638 (setInnerHTML): Likewise.
25639 (setOuterHTML): Likewise.
25640 (insertBeforeStart): Likewise.
25641 (insertBeforeEnd): Likewise.
25642 (insertAfterEnd): Likewise.
25643 (insertAfterStart): Likewise.
25644 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25645 Mark all methods as stub.s
25646 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25648 (paintHorizontalSeparators): Likewise.
25649 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25651 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25653 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25655 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25658 2006-03-22 Mark Wielaard <mark@klomp.org>
25660 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25662 2006-03-22 Mark Wielaard <mark@klomp.org>
25665 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25666 Takes GtkImage, x and y coordinates.
25667 (gtkWidgetSetCursorUnlocked): Likewise.
25668 (GtkComponentPeer): Set cursor when set.
25669 (setCursor): Handle GtkCursor.
25670 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25672 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25673 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25674 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25675 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25677 2006-03-23 Roman Kennke <kennke@aicas.com>
25680 * gnu/java/security/Registry.java
25681 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25682 * gnu/javax/crypto/pad/PadFactory.java
25683 (getInstance): For PKCS#5, also return PKCS#7 pad
25685 (getNames): Added PKCS#5.
25686 * javax/crypto/KeyGenerator.java
25687 (getInstance): Initialize key generator before returning
25690 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25692 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25693 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25694 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25695 if COMMENTS is set.
25697 2006-03-22 Tom Tromey <tromey@redhat.com>
25699 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25700 (getBoolean): Likewise.
25701 (getString): Likewise.
25702 (getIcon): Likewise.
25704 2006-03-22 Mark Wielaard <mark@klomp.org>
25707 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25708 (GLightweightPeer(Component)): Install MouseListener.
25709 (setCursor): Implement.
25710 (mouseEntered): New method.
25712 2006-03-22 Tom Tromey <tromey@redhat.com>
25714 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25716 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25718 (getFontForState): Likewise.
25719 (getInsets): Added 'result' argument.
25720 (getPainter): Renamed.
25722 2006-03-22 Tom Tromey <tromey@redhat.com>
25724 * javax/swing/plaf/synth/SynthPainter.java
25725 (paintScrollBarThumbBackground): Added 'orientation' argument.
25726 (paintScrollBarThumbBorder): Likewise.
25727 (paintSliderThumbBackground): Likewise.
25728 (paintSliderThumbBorder): Likewise.
25729 (paintTabbedPaneTabBackground): Added 'index' argument.
25730 (paintTabbedPaneTabBorder): Likewise.
25732 2006-03-22 Tom Tromey <tromey@redhat.com>
25734 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25735 (toString): New method.
25737 2006-03-22 Tom Tromey <tromey@redhat.com>
25739 * doc/hacking.texinfo (Source Code Style Guide): Mention
25740 NotImplementedException.
25741 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25742 (flushBefore): Mark as stub.
25744 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25746 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25749 (writeBit): Likewise.
25750 (writeChars): Likewise.
25751 (writeUTF): Likewise.
25752 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25755 * java/net/URLConnection.java (getContent): Mark as stub.
25756 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25757 * java/awt/TexturePaint.java (createContext): Mark as stub.
25758 (getTransparency): Mark as stub.
25759 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25760 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25761 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25763 (getImageCapabilities): Likewise.
25764 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25765 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25766 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25768 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25769 (getAdvanceBetween): Likewise.
25770 (getLayout): Likewise.
25771 (insertChar): Likewise.
25772 (getLineBreakIndex): Likewise.
25773 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25774 (getAdvance): Likewise.
25775 (getAscent): Likewise.
25776 (getDescent): Likewise.
25777 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25778 (insertChar): Likewise.
25779 (nextLayout): Likewise.
25780 (nextLayout): Likewise.
25781 (nextOffset): Likewise.
25782 (nextOffset): Likewise.
25783 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25784 (equals): Likewise.
25785 (getAdvance): Likewise.
25786 (getAscent): Likewise.
25787 (getBounds): Likewise.
25788 (getDescent): Likewise.
25789 (hashCode): Likewise.
25790 (ImageGraphicAttribute): Likewise.
25791 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25792 (getJustificationInfo): Likewise.
25793 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25794 (getGlyphCharIndices): Likewise.
25795 (getGlyphOutline): Likewise.
25796 (getGlyphPixelBounds): Likewise.
25797 (getLayoutFlags): Likewise.
25798 (getPixelBounds): Likewise.
25799 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25800 (getRSB): Likewise.
25801 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25802 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25803 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25805 (resetRecognizer): Likewise.
25806 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25808 (getNativesForFlavor): Likewise.
25809 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25810 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25812 (getRegion): Likewise.
25813 (createUI): Likewise.
25814 (initialize): Likewise.
25815 (uninitialize): Likewise.
25816 (getDefaults): Likewise.
25818 (shouldUpdateStyleOnAncestorChanged): Likewise.
25819 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25821 (getPreferredSize): Likewise.
25822 (getMaximumSize): Likewise.
25823 (paintText): Likewise.
25824 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25826 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25828 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25830 * java/io/ObjectStreamConstants.java: Added since tag.
25831 (PROTOCOL_VERSION_1): Added javadoc.
25832 (PROTOCOL_VERSION_2): Likewise.
25833 * java/io/ObjectOutputStream.java:
25834 (setDefaultProtocolVersion): Removed.
25835 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25837 2006-03-21 Lillian Angel <langel@redhat.com>
25839 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25840 (BMPInfoHeader): Removed debug lines.
25841 * gnu/javax/imageio/bmp/EncodeRLE4.java
25842 (encode): Implemented.
25843 (uncompress): New function implemented to
25844 uncompress the image before encoding.
25845 * gnu/javax/imageio/bmp/EncodeRLE8.java
25846 (encode): Implemented.
25847 (uncompress): New function implemented to
25848 uncompress the image before encoding.
25850 2006-03-21 Roman Kennke <kennke@aicas.com>
25852 * javax/swing/text/html/FormView.java
25853 (getImageData): New helper method.
25855 2006-03-21 Tom Tromey <tromey@redhat.com>
25857 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25859 (Unsafe): Now final.
25861 2006-03-21 Roman Kennke <kennke@aicas.com>
25863 * javax/swing/text/html/FormView.java
25864 (MouseEventListener): New inner class.
25866 2006-03-21 Roman Kennke <kennke@aicas.com>
25868 * javax/swing/text/html/ListView.java: New file.
25870 2006-03-21 Tom Tromey <tromey@redhat.com>
25872 * java/text/Bidi.java: Completed.
25874 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25876 * javax/swing/JTable.java:
25877 (columnAtPoint): Removed the null check, this method should throw a NPE
25878 if the argument is null.
25880 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25882 * javax/swing/text/DefaultHighlighter.java:
25883 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25885 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25887 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25888 the textcomponent having a selection.
25889 (clearSelection): Clear 'componentWithSelection' variable.
25890 (handleSelection): Clear selection of current component having a
25891 selection before setting a new selection in another component.
25892 (mouseDragged): Only react on left mouse button.
25893 (mouseClicked): Only react on left mouse button.
25895 2006-03-21 Roman Kennke <kennke@aicas.com>
25897 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25898 (paintContentBorderTopEdge): Implemented.
25899 (paintContentBorderBottomEdge): Implemented.
25900 (paintContentBorderLeftEdge): Implemented.
25901 (paintContentBorderRightEdge): Implemented.
25902 (isLastTabInRun): New helper method.
25904 2006-03-21 Roman Kennke <kennke@aicas.com>
25906 * javax/swing/JTabbedPane.java
25907 (Page.getForeground): Fall back to returning the tabbed pane's
25908 foreground if no foreground has been exclicitly set.
25910 2006-03-21 Roman Kennke <kennke@aicas.com>
25912 * javax/swing/plaf/metal/MetalComboBoxButton.java
25913 (setEnabled): Update colors of button correctly.
25914 * javax/swing/plaf/metal/MetalComboBoxUI.java
25915 (MetalPropertyChangeListener.propertyChange): Update the colors
25916 of the list and the button when any of the color properties
25917 of the ComboBox change.
25919 2006-03-21 Roman Kennke <kennke@aicas.com>
25921 * javax/swing/plaf/basic/BasicButtonUI.java
25922 (uninstallDefaults): Only nullify button colors if they are
25923 not UIResource instances.
25925 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25927 * javax/swing/JComponent.java
25928 (AccessibleJComponent.getAccessibleDescription): Call super,
25929 * javax/swing/JToolTip.java: API doc updates all over, plus
25930 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25931 (AccessibleJToolTip.getAccessibleRole): Implemented,
25932 (getAccessibleContext): Implemented,
25933 (paramString): Reimplemented,
25934 (setComponent): Fire PropertyChangeEvent,
25935 (setTipText): Likewise.
25937 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25939 * java/util/Formatter.java:
25940 Make the class final.
25942 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25944 * java/lang/System.java:
25945 (nanoTime()): Documented.
25946 * java/lang/Thread.java:
25947 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25948 Added docs and security check.
25949 (getUncaughtExceptionHandler()): Documented.
25950 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25951 Added docs and security check.
25952 (getDefaultUncaughtExceptionHandler()): Documented.
25953 (getId()): Documented.
25954 (Thread.State): Documented.
25955 * vm/reference/gnu/classpath/Unsafe.java:
25957 (getUnsafe()): Updated to handle security.
25959 2006-03-20 Tom Tromey <tromey@redhat.com>
25961 * java/lang/System.java:
25962 (nanoTime()): Implemented.
25963 * java/lang/Thread.java:
25964 (getId()): Implemented.
25965 * java/util/AbstractMap.java:
25966 (SimpleImmutableEntry): New 1.6 class.
25967 (BasicMapEntry): Modified to be SimpleEntry.
25968 * java/util/Collections.java:
25969 Modified to use SimpleEntry.
25970 * java/util/EnumMap.java: Likewise.
25971 * java/util/HashMap.java: Likewise.
25972 * java/util/Hashtable.java: Likewise.
25973 * java/util/TreeMap.java: Likewise.
25974 * vm/reference/gnu/classpath/Unsafe.java:
25975 New class to handle low-level facilities for concurrency.
25976 * vm/reference/java/lang/VMSystem.java:
25977 (nanoTime()): Implemented.
25979 2006-03-20 Tom Tromey <tromey@redhat.com>
25981 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25982 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25983 (CertStoreSpi): Updated throws clause.
25984 * java/security/cert/CertPathValidatorSpi.java: Added import for
25986 (engineValidate): Updated 'throws' clause.
25987 * java/security/cert/PKIXParameters.java: Javadoc fix.
25988 * java/security/cert/X509CertSelector.java
25989 (setAuthorityKeyIdentifier): Javadoc fix.
25991 2006-03-20 Tom Tromey <tromey@redhat.com>
25993 * .classpath: Build gnu.javax.swing.plaf.
25995 2006-03-20 Lillian Angel <langel@redhat.com>
25997 * gnu/javax/imageio/bmp/BMPDecoder.java:
25998 Removed unneeded import.
25999 * gnu/javax/imageio/bmp/BMPEncoder.java:
26001 * gnu/javax/imageio/bmp/BMPFileHeader.java
26002 (BMPFileHeader): New constructor used to create info header
26003 for an output stream.
26004 (write): Fixed indexes.
26005 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
26006 Initialized writerSpiNames field.
26007 * gnu/javax/imageio/bmp/BMPImageWriter.java:
26009 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26011 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26012 Change visibility for fields.
26013 (BMPInfoHeader): New constructor used to create
26014 file header for an output stream.
26015 (intToDWord): New method. Converts an int to a
26017 (intToWord): New method. Converts an int to a word.
26018 * gnu/javax/imageio/bmp/DecodeBF32.java:
26019 Removed unneeded imports.
26020 * gnu/javax/imageio/bmp/EncodeRGB1.java:
26022 * gnu/javax/imageio/bmp/EncodeRGB16.java:
26024 * gnu/javax/imageio/bmp/EncodeRGB24.java:
26026 * gnu/javax/imageio/bmp/EncodeRGB32.java:
26028 * gnu/javax/imageio/bmp/EncodeRGB4.java:
26030 * gnu/javax/imageio/bmp/EncodeRGB8.java:
26032 * gnu/javax/imageio/bmp/EncodeRLE4.java:
26034 * gnu/javax/imageio/bmp/EncodeRLE8.java:
26036 * javax/imageio/ImageIO.java:
26039 2006-03-20 Roman Kennke <kennke@aicas.com>
26041 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26042 (TabbedPaneLayout.normalizeTabRuns): New method.
26043 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26044 (paintTabBorder): Replaced if-else chain with switch.
26045 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26047 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26049 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26051 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26053 (paintTabBackground): Fetch background color from the TabbedPane.
26054 Fixed painting and improved by not using fillPolygon, and instead
26055 using fillRectangle. Replaced if-else chain with switch.
26056 (calculateMaxTabHeight): Added overridden method with FIXME.
26057 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26059 (paintContentBorderTopEdge): Added stub with FIXME.
26060 (paintContentBorderBottomEdge): Added stub with FIXME.
26061 (paintContentBorderLeftEdge): Added stub with FIXME.
26062 (paintContentBorderRightEdge): Added stub with FIXME.
26064 2006-03-20 Roman Kennke <kennke@aicas.com>
26066 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26067 (tabsOpaque): New field.
26068 (installDefaults): Fetch tabsOpaque property from UIManager.
26069 (paintTab): Fill tab background when tabsOpaque property is true.
26070 * javax/swing/plaf/basic/BasicLookAndFeel.java
26071 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26073 2006-03-20 Roman Kennke <kennke@aicas.com>
26075 * javax/swing/JTabbedPane.java
26076 (Pane.getBackground): When no background was explicitly set, return
26077 the JTabbedPane's background.
26079 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
26081 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26082 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26083 * org/omg/CORBA/BAD_INV_ORDER.java,
26084 * org/omg/CORBA/BAD_CONTEXT.java,
26085 * org/omg/CORBA/BAD_OPERATION.java,
26086 * org/omg/CORBA/BAD_PARAM.java,
26087 * org/omg/CORBA/BAD_QOS.java,
26088 * org/omg/CORBA/BAD_TYPECODE.java,
26089 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26090 * org/omg/CORBA/COMM_FAILURE.java,
26091 * org/omg/CORBA/CurrentHolder.java,
26092 * org/omg/CORBA/DATA_CONVERSION.java,
26093 * org/omg/CORBA/FREE_MEM.java,
26094 * org/omg/CORBA/IMP_LIMIT.java,
26095 * org/omg/CORBA/INITIALIZE.java,
26096 * org/omg/CORBA/INTERNAL.java,
26097 * org/omg/CORBA/INTF_REPOS.java,
26098 * org/omg/CORBA/INVALID_ACTIVITY.java,
26099 * org/omg/CORBA/INVALID_TRANSACTION.java,
26100 * org/omg/CORBA/INV_FLAG.java,
26101 * org/omg/CORBA/INV_IDENT.java,
26102 * org/omg/CORBA/INV_OBJREF.java,
26103 * org/omg/CORBA/INV_POLICY.java,
26104 * org/omg/CORBA/MARSHAL.java,
26105 * org/omg/CORBA/NO_RESOURCES.java,
26106 * org/omg/CORBA/NO_MEMORY.java,
26107 * org/omg/CORBA/NO_IMPLEMENT.java,
26108 * org/omg/CORBA/NO_PERMISSION.java,
26109 * org/omg/CORBA/NO_RESPONSE.java,
26110 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26111 * org/omg/CORBA/OBJ_ADAPTER.java,
26112 * org/omg/CORBA/ParameterModeHolder.java,
26113 * org/omg/CORBA/PolicyError.java,
26114 * org/omg/CORBA/PolicyErrorHolder.java,
26115 * org/omg/CORBA/PolicyHolder.java,
26116 * org/omg/CORBA/PolicyListHolder.java,
26117 * org/omg/CORBA/REBIND.java,
26118 * org/omg/CORBA/TIMEOUT.java,
26119 * org/omg/CORBA/TRANSACTION_MODE.java,
26120 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26121 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26122 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26123 * org/omg/CORBA/TRANSIENT.java,
26124 * org/omg/CORBA/TypeCodeHolder.java,
26125 * org/omg/CORBA/UNKNOWN.java,
26126 * org/omg/CORBA/UnionMember.java,
26127 * org/omg/CORBA/UnknownUserException.java,
26128 * org/omg/CORBA/UnknownUserExceptionHolder.java,
26129 * org/omg/CORBA/WrongTransactionHolder.java,
26130 * org/omg/IOP/IOR.java,
26131 * org/omg/IOP/IORHolder.java,
26132 * org/omg/IOP/MultipleComponentProfileHolder.java,
26133 * org/omg/IOP/ServiceContextHolder.java,
26134 * org/omg/IOP/ServiceContextListHolder.java,
26135 * org/omg/IOP/TaggedComponentHolder.java,
26136 * org/omg/IOP/TaggedProfileHolder.java,
26137 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26138 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26139 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26140 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26141 Made class final, various javadoc fixlets.
26142 * org/omg/CORBA/CompletionStatus.java,
26143 * org/omg/CORBA/PERSIST_STORE.java,
26144 * org/omg/CORBA/ValueMember.java,
26145 * org/omg/PortableInterceptor/ForwardRequest.java,
26146 * org/omg/PortableInterceptor/InvalidSlot.java,
26147 * org/omg/IOP/CodecPackage/TypeMismatch.java,
26148 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26149 * org/omg/IOP/CodecPackage/FormatMismatch.java,
26150 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26151 * org/omg/IOP/Encoding.java,
26152 * org/omg/IOP/TaggedComponent.java,
26153 * org/omg/IOP/TaggedProfile.java: Made class final.
26154 * org/omg/CORBA/SystemException.java: Made class abstract.
26155 * org/omg/CORBA/UserException.java: Made class abstract.
26156 (UserException): Now protected.
26157 (UserException(String)): Likewise.
26158 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26159 (typecode): Removed unused private variable.
26161 2006-03-20 Chris Burdess <dog@gnu.org>
26164 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26166 2006-03-20 Roman Kennke <kennke@aicas.com>
26168 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26169 (paintTabArea): Look up tab run indices in tabRuns array instead
26170 of using the index directly.
26172 2006-03-20 Roman Kennke <kennke@aicas.com>
26174 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26175 (paintTab): Fixed painting.
26176 (paintText): Fixed text painting.
26177 (paintFocusIndicator): Fixed painting of the focus rectangle.
26178 (paintContentBorder): Fixed painting of the content area.
26180 2006-03-20 Mark Wielaard <mark@klomp.org>
26182 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26183 static lock Object field.
26184 (produce): Synchronize on pixbufLock when calling initState(),
26185 pumpBytes() and pumpDone().
26186 (finalize): Likewise when calling finish().
26187 (GdkPixbufWriter.write): Likewise when calling streamImage().
26188 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26189 when calling loadPixbuf. Chain exception.
26190 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26191 (GtkImage(URL)): Likewise.
26192 (GtkImage(int,int)): Likewise when calling createPixmap().
26193 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26194 createScaledPixmap().
26195 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26196 (setImage): Likewise when calling createPixmap() and setPixels().
26197 (getSource): Likewise when calling getPixels().
26198 (flush): Likewise when calling freePixmap().
26199 (finalize): Likewise.
26200 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26201 drawPixelsScaledFlipped().
26202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26203 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26204 gdk_threads_enter/leave().
26205 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26206 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26207 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26208 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26210 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26211 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26212 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26213 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26214 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26215 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26216 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26217 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26219 2006-03-20 Roman Kennke <kennke@aicas.com>
26221 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26222 (calculateTabHeight): Not need to use SwingUtilities here.
26223 (getTabInsets): Do not rotate insets.
26225 2006-03-20 Roman Kennke <kennke@aicas.com>
26227 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26228 (paint): Make sure the layout is valid before painting.
26229 (paintTabArea): Made tab painting more straightforward and efficient.
26231 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26233 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26234 (getScrollableUnitIncrement): Rewritten.
26235 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26236 (getScrollableUnitIncrement): Rewritten.
26237 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26238 (ROWS_PER_WHEEL_CLICK): New field.
26239 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26241 2006-03-20 Roman Kennke <kennke@aicas.com>
26243 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26244 (paint): Make sure the layout is valid before painting.
26245 (paintTabArea): Made tab painting more straightforward and efficient.
26247 2006-03-20 Roman Kennke <kennke@aicas.com>
26249 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26250 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26252 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26253 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26254 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26255 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26256 bounds here. That is moved into layoutContainer().
26257 (calculateSize): Correctly respect insets. Made code slightly more
26258 clear and efficient.
26259 (calculateTabRects): Rewritten completely. The old code was
26260 not quite right and unstable in some situations.
26261 (layoutContainer): Moved layout of tabbed pane's subcomponents
26263 (tabRunsDirty): New field.
26264 (rolloverTab): New field.
26265 (tabForCoordinate): Rewritten for simplicity and correctness.
26266 (setRolloverTab): New method.
26267 (getRolloverTab): New method.
26269 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26271 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26272 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26273 (getScrollableUnitIncrement
26274 * javax/swing/Scrollable.java: Documented.
26275 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26276 (MouseWheelHandler):Rewritten.
26278 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26280 * doc/vmintegration.texinfo:
26281 Updated with gnu.classpath.Unsafe
26283 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26286 Updated with VMArray and Unsafe changes.
26288 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26290 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26291 (getScrollableUnitIncrement): Rewritten.
26292 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26293 (getScrollableUnitIncrement): Rewritten.
26294 (getScrollableBlockIncrement): Rewritten.
26295 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26296 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26297 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26298 New field. (installListeners): Install wheel listeners.
26299 (uninstallListeners): Uninstall wheel listeners.
26300 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26301 of the MouseWheelListener. (installListeners): Do not install wheel
26302 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26304 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26306 * vm/reference/gnu/classpath/Unsafe.java:
26308 (getUnsafe()): Updated to handle security.
26310 2006-03-19 Tom Tromey <tromey@redhat.com>
26312 * vm/reference/gnu/classpath/Unsafe.java:
26313 New class to handle low-level facilities for concurrency.
26315 2006-03-19 Mark Wielaard <mark@klomp.org>
26317 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26318 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26319 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26320 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26322 2006-03-19 Mark Wielaard <mark@klomp.org>
26324 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26326 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26328 2006-03-19 Michael Koch <konqueror@gmx.de>
26330 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26331 resource/gnu/java/locale/LocaleInformation_am.properties,
26332 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26333 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26334 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26335 resource/gnu/java/locale/LocaleInformation_bg.properties,
26336 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26337 resource/gnu/java/locale/LocaleInformation_ca.properties,
26338 resource/gnu/java/locale/LocaleInformation_cs.properties,
26339 resource/gnu/java/locale/LocaleInformation_cy.properties,
26340 resource/gnu/java/locale/LocaleInformation_da.properties,
26341 resource/gnu/java/locale/LocaleInformation_de.properties,
26342 resource/gnu/java/locale/LocaleInformation_dv.properties,
26343 resource/gnu/java/locale/LocaleInformation_el.properties,
26344 resource/gnu/java/locale/LocaleInformation_en.properties,
26345 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26346 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26347 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26348 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26349 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26350 resource/gnu/java/locale/LocaleInformation_es.properties,
26351 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26352 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26353 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26354 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26355 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26356 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26357 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26358 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26359 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26360 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26361 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26362 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26363 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26364 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26365 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26366 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26367 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26368 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26369 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26370 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26371 resource/gnu/java/locale/LocaleInformation_fa.properties,
26372 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26373 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26374 resource/gnu/java/locale/LocaleInformation_fi.properties,
26375 resource/gnu/java/locale/LocaleInformation_fr.properties,
26376 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26377 resource/gnu/java/locale/LocaleInformation_ga.properties,
26378 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26379 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26380 resource/gnu/java/locale/LocaleInformation_hr.properties,
26381 resource/gnu/java/locale/LocaleInformation_hu.properties,
26382 resource/gnu/java/locale/LocaleInformation_id.properties,
26383 resource/gnu/java/locale/LocaleInformation_is.properties,
26384 resource/gnu/java/locale/LocaleInformation_it.properties,
26385 resource/gnu/java/locale/LocaleInformation_ja.properties,
26386 resource/gnu/java/locale/LocaleInformation_kk.properties,
26387 resource/gnu/java/locale/LocaleInformation_kl.properties,
26388 resource/gnu/java/locale/LocaleInformation_km.properties,
26389 resource/gnu/java/locale/LocaleInformation_ky.properties,
26390 resource/gnu/java/locale/LocaleInformation_lo.properties,
26391 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26392 resource/gnu/java/locale/LocaleInformation_lt.properties,
26393 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26394 resource/gnu/java/locale/LocaleInformation_lv.properties,
26395 resource/gnu/java/locale/LocaleInformation_mk.properties,
26396 resource/gnu/java/locale/LocaleInformation_mn.properties,
26397 resource/gnu/java/locale/LocaleInformation_mr.properties,
26398 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26399 resource/gnu/java/locale/LocaleInformation_ms.properties,
26400 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26401 resource/gnu/java/locale/LocaleInformation_mt.properties,
26402 resource/gnu/java/locale/LocaleInformation_nb.properties,
26403 resource/gnu/java/locale/LocaleInformation_nl.properties,
26404 resource/gnu/java/locale/LocaleInformation_nn.properties,
26405 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26406 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26407 resource/gnu/java/locale/LocaleInformation_pa.properties,
26408 resource/gnu/java/locale/LocaleInformation_pl.properties,
26409 resource/gnu/java/locale/LocaleInformation_pt.properties,
26410 resource/gnu/java/locale/LocaleInformation_ru.properties,
26411 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26412 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26413 resource/gnu/java/locale/LocaleInformation_sa.properties,
26414 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26415 resource/gnu/java/locale/LocaleInformation_sk.properties,
26416 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26417 resource/gnu/java/locale/LocaleInformation_sv.properties,
26418 resource/gnu/java/locale/LocaleInformation_sw.properties,
26419 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26420 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26421 resource/gnu/java/locale/LocaleInformation_te.properties,
26422 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26423 resource/gnu/java/locale/LocaleInformation_th.properties,
26424 resource/gnu/java/locale/LocaleInformation_ti.properties,
26425 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26426 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26427 resource/gnu/java/locale/LocaleInformation_tr.properties,
26428 resource/gnu/java/locale/LocaleInformation_tt.properties,
26429 resource/gnu/java/locale/LocaleInformation_uk.properties,
26430 resource/gnu/java/locale/LocaleInformation_ur.properties,
26431 resource/gnu/java/locale/LocaleInformation_uz.properties,
26432 resource/gnu/java/locale/LocaleInformation_zh.properties,
26433 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26434 More updates for CLDR 1.3.
26436 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26438 * doc/vmintegration.texinfo:
26439 Updated to include VMArray.
26440 * include/Makefile.am:
26441 Replace java_lang_reflect_Array.h with
26442 java_lang_reflect_VMArray.h
26443 * include/java_lang_reflect_VMArray.h:
26444 New autogenerated header.
26445 * include/java_lang_reflect_Array.h:
26447 * java/lang/reflect/Array.java:
26448 (newInstance(Class,int)): Calls VMArray.
26449 (createMultiArray(Class,int[],int)): Likewise.
26450 (createObjectArray(Class,int)): Removed.
26451 * native/jni/java-lang/Makefile.am:
26452 Replaced java_lang_reflect_Array.c with
26453 java_lang_reflect_VMArray.c
26454 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26455 Renamed from java_lang_reflect_Array.c.
26456 * vm/reference/java/lang/reflect/VMArray.java:
26457 (createObjectArray(Class,int)): Native method moved
26458 from java.lang.reflect.Array.
26460 2006-03-19 Roman Kennke <kennke@aicas.com>
26462 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26463 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26465 * examples/gnu/classpath/examples/swing/Demo.java
26466 (mkButtonBar): Hook up theme editor.
26467 (mkMenuBar): Hook up theme editor.
26469 2006-03-19 Roman Kennke <kennke@aicas.com>
26471 * javax/swing/plaf/basic/BasicFileChooserUI.java
26472 (ApproveSelectionAction.actionPerformed): Added case for when
26473 nothing has been selected but the user has typed a filename
26474 into the textfield.
26475 (getFileName): Return the value of the text field.
26477 2006-03-19 Roman Kennke <kennke@aicas.com>
26479 * javax/swing/JColorChooser.java
26480 (createDialog): Create JDialog instead of ModalDialog. Make this
26481 dialog modal by calling setModal(true).
26482 (ModalDialog): Removed unnecessary inner class.
26484 2006-03-19 Tom Tromey <tromey@redhat.com>
26486 * java/awt/font/NumericShaper.java: Rewrote.
26488 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26490 * javax/swing/plaf/basic/BasicTableUI.java:
26491 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26492 New field. MouseInputHandler.mouseWheelMoved): New method.
26493 (installListeners): Register MouseInputHandler as
26494 wheel listener also.
26496 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26499 * javax/swing/ViewportLayout.java (layoutContainer):
26500 If Scrollable tracks dimension, set view size to the port size.
26501 If port is larger than the view, move the view to the top/left.
26503 2006-03-19 Roman Kennke <kennke@aicas.com>
26505 * javax/swing/MenuSelectionManager.java
26506 (isComponentPartOfCurrentMenu): Also consider the first element
26507 in a menu selection list. Make a isDescendentFrom check instead
26508 of simple equals to also catch sub components.
26510 2006-03-19 Roman Kennke <kennke@aicas.com>
26512 * javax/swing/JComboBox.java
26513 (actionPerformed): Fetch selected item directly from the editor
26514 instead of trying to get it from the event.
26516 2006-03-19 Roman Kennke <kennke@aicas.com>
26518 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26519 (listener): Removed field.
26520 (BasicComboBoxEditor): Removed initialization of listener field.
26521 (addActionListener): Add listener directly to editor.
26522 (removeActionListener): Remove listener directly from editor.
26523 (ComboBoxEditorListener): Removed class.
26524 * javax/swing/plaf/basic/BasicComboBoxUI.java
26525 (getPreferredSize): Fixed to return the minimumSize.
26526 (getMinimumSize): Improved code for more clearness.
26527 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26528 (rectangleForCurrentValue): Correctly respect insets.
26529 (getDefaultSize): Return preferredSize here. Dont override height
26531 (getDisplaySize): Moved around code for more clearness. Added
26532 handling of prototype renderer.
26533 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26534 arrowButton bounds since the former depends on the latter.
26535 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26536 (MetalComboBoxButton): Make button rollover disabled.
26537 (isFocusTraversable): Return false unconditionally.
26538 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26539 (EditorTextField): New class. Fixes the size properties.
26540 (MetalComboBoxEditor): Create instance of EditorTextField.
26541 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26542 (getMinimumSize): Fixed editable size.
26544 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26546 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26548 2006-03-18 Roman Kennke <kennke@aicas.com>
26550 * javax/swing/plaf/metal/MetalToolBarUI.java
26551 (update): Added overridden method to support OceanTheme.
26553 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26555 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26556 Activate the cell editing on character keystroke.
26558 2006-03-18 Mark Wielaard <mark@klomp.org>
26560 * java/awt/Component.java (eventTypeEnabled): Handle
26561 MouseEvent.MOUSE_WHEEL.
26562 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26563 New callback method.
26564 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26565 (AWT_MOUSE_WHEEL): New constant.
26566 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26567 (postMouseWheelEventID): New static variable.
26568 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26569 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26570 (button_number): Renamed to ...
26571 (button_number_direction): variable to hold button number or scroll
26573 (component_button_press_cb): Use button_number_direction.
26574 (component_scroll_cb): New static callback function.
26576 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26578 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26579 Return without action.
26581 2006-03-18 Mark Wielaard <mark@klomp.org>
26583 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26584 Don't cast graphics object to GdkGraphics.
26585 (updateComponent): Likewise.
26587 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26589 * examples/gnu/classpath/examples/swing/TableDemo.java
26590 (TModel.getColumnClass): Set second column to Icon.
26591 (TModel.isCellEditable): Say icons are not editable.
26592 (createContent): Fill the in second column with some icons from
26595 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26597 * examples/gnu/classpath/examples/swing/Demo.java
26598 (mkButtonBar): Set maximal button bar height to the preferred height.
26600 2006-03-18 Roman Kennke <kennke@aicas.com>
26602 * javax/swing/plaf/basic/BasicComboPopup.java
26603 (show): Substract insets from scroller width.
26604 (getPopupHeightForRowCount): If height==0, return a default of 100
26605 instead for empty ComboBoxes.
26607 2006-03-18 Roman Kennke <kennke@aicas.com>
26609 * javax/swing/plaf/basic/BasicLookAndFeel.java
26610 (PopupHelper.autoClosePopups): Removed field.
26611 (PopupHelper.mousePressed): Removed processing of registered
26613 (registerForAutoClose): Removed unneeded method.
26614 (autoClosePopups): Removed unneeded method.
26615 (registerForAutoClose): Removed unneeded method.
26617 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26619 * javax.swing.JTable.java (TableTextField): Set border.
26620 (moveToCellBeingEdited): Do not adjust the editor boundaries
26622 2006-03-18 Michael Koch <konqueror@gmx.de>
26624 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26625 resource/gnu/java/locale/LocaleInformation_af.properties,
26626 resource/gnu/java/locale/LocaleInformation_am.properties,
26627 resource/gnu/java/locale/LocaleInformation_ar.properties,
26628 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26629 resource/gnu/java/locale/LocaleInformation_be.properties,
26630 resource/gnu/java/locale/LocaleInformation_bg.properties,
26631 resource/gnu/java/locale/LocaleInformation_bn.properties,
26632 resource/gnu/java/locale/LocaleInformation_ca.properties,
26633 resource/gnu/java/locale/LocaleInformation_cs.properties,
26634 resource/gnu/java/locale/LocaleInformation_cy.properties,
26635 resource/gnu/java/locale/LocaleInformation_da.properties,
26636 resource/gnu/java/locale/LocaleInformation_de.properties,
26637 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26638 resource/gnu/java/locale/LocaleInformation_dz.properties,
26639 resource/gnu/java/locale/LocaleInformation_en.properties,
26640 resource/gnu/java/locale/LocaleInformation_eo.properties,
26641 resource/gnu/java/locale/LocaleInformation_es.properties,
26642 resource/gnu/java/locale/LocaleInformation_et.properties,
26643 resource/gnu/java/locale/LocaleInformation_eu.properties,
26644 resource/gnu/java/locale/LocaleInformation_fa.properties,
26645 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26646 resource/gnu/java/locale/LocaleInformation_fi.properties,
26647 resource/gnu/java/locale/LocaleInformation_fo.properties,
26648 resource/gnu/java/locale/LocaleInformation_fr.properties,
26649 resource/gnu/java/locale/LocaleInformation_ga.properties,
26650 resource/gnu/java/locale/LocaleInformation_gl.properties,
26651 resource/gnu/java/locale/LocaleInformation_gu.properties,
26652 resource/gnu/java/locale/LocaleInformation_he.properties,
26653 resource/gnu/java/locale/LocaleInformation_hi.properties,
26654 resource/gnu/java/locale/LocaleInformation_hr.properties,
26655 resource/gnu/java/locale/LocaleInformation_hu.properties,
26656 resource/gnu/java/locale/LocaleInformation_hy.properties,
26657 resource/gnu/java/locale/LocaleInformation_id.properties,
26658 resource/gnu/java/locale/LocaleInformation_is.properties,
26659 resource/gnu/java/locale/LocaleInformation_it.properties,
26660 resource/gnu/java/locale/LocaleInformation_ja.properties,
26661 resource/gnu/java/locale/LocaleInformation_ka.properties,
26662 resource/gnu/java/locale/LocaleInformation_km.properties,
26663 resource/gnu/java/locale/LocaleInformation_ko.properties,
26664 resource/gnu/java/locale/LocaleInformation_lo.properties,
26665 resource/gnu/java/locale/LocaleInformation_lt.properties,
26666 resource/gnu/java/locale/LocaleInformation_lv.properties,
26667 resource/gnu/java/locale/LocaleInformation_mk.properties,
26668 resource/gnu/java/locale/LocaleInformation_mr.properties,
26669 resource/gnu/java/locale/LocaleInformation_ms.properties,
26670 resource/gnu/java/locale/LocaleInformation_mt.properties,
26671 resource/gnu/java/locale/LocaleInformation_nb.properties,
26672 resource/gnu/java/locale/LocaleInformation_nl.properties,
26673 resource/gnu/java/locale/LocaleInformation_nn.properties,
26674 resource/gnu/java/locale/LocaleInformation_om.properties,
26675 resource/gnu/java/locale/LocaleInformation_pl.properties,
26676 resource/gnu/java/locale/LocaleInformation_ps.properties,
26677 resource/gnu/java/locale/LocaleInformation_pt.properties,
26678 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26679 resource/gnu/java/locale/LocaleInformation_ro.properties,
26680 resource/gnu/java/locale/LocaleInformation_ru.properties,
26681 resource/gnu/java/locale/LocaleInformation_sk.properties,
26682 resource/gnu/java/locale/LocaleInformation_sl.properties,
26683 resource/gnu/java/locale/LocaleInformation_so.properties,
26684 resource/gnu/java/locale/LocaleInformation_sq.properties,
26685 resource/gnu/java/locale/LocaleInformation_sr.properties,
26686 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26687 resource/gnu/java/locale/LocaleInformation_sv.properties,
26688 resource/gnu/java/locale/LocaleInformation_sw.properties,
26689 resource/gnu/java/locale/LocaleInformation_ta.properties,
26690 resource/gnu/java/locale/LocaleInformation_te.properties,
26691 resource/gnu/java/locale/LocaleInformation_th.properties,
26692 resource/gnu/java/locale/LocaleInformation_tr.properties,
26693 resource/gnu/java/locale/LocaleInformation_uk.properties,
26694 resource/gnu/java/locale/LocaleInformation_uz.properties,
26695 resource/gnu/java/locale/LocaleInformation_vi.properties,
26696 resource/gnu/java/locale/LocaleInformation_zh.properties,
26697 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26698 Updated to use the new localized strings for currencies, languages,
26699 variants, territories, etc.
26701 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26703 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26704 (start, end): Added comment about the negative values of them,
26705 (finish): Saves the input text in matchedCharIndexed,
26706 (toString): If the start or end index is out of bounds of the
26707 matched text, get the substring from matchedCharIndexed.
26708 Added special handlings in case start/end index < -1,
26709 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26710 Added special handlings in case start/end index < -1,
26711 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26712 found match, but keep the index as the original match.
26713 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26714 found match, but keep the index as the original match.
26715 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26716 in case start/end index < -1.
26718 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26720 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26723 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26725 * javax/swing/text/DefaultCaret.java:
26726 (mouseClicked) Use setDot() and moveDot() instead of
26727 JTextComponent.select().
26729 2006-03-17 Roman Kennke <kennke@aicas.com>
26731 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26732 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26733 border painting for the Ocean theme.
26734 (MetalComboBoxEditor): Create editor directly instead of going
26737 2006-03-17 Roman Kennke <kennke@aicas.com>
26739 * javax/swing/text/JTextComponent.java
26740 (JTextComponent): Make text components opaque.
26742 2006-03-17 Roman Kennke <kennke@aicas.com>
26744 * javax/swing/plaf/metal/MetalComboBoxUI.java
26745 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26747 (MetalPropertyChangeListener.propertyChange): Update focusable
26748 flag according to the enable and editable state.
26749 (editablePropertyChanged): Removed unnecessary code.
26750 (getMinimumSize): Rewritten to correctly compute the
26751 size, respecting the insets of the components and the icon,
26752 the visual properties of the combobox, etc.
26753 (configureEditor): Update listeners correctly.
26754 (unconfigureEditor): Update listeners correctly.
26755 (layoutComboBox): Implemented.
26757 2006-03-17 Roman Kennke <kennke@aicas.com>
26759 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26760 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26761 instead of Flush3DBorder.
26762 (paintBorder): Fixed border painting.
26763 (editorBorderInsets): Fixed border's insets.
26765 2006-03-17 Roman Kennke <kennke@aicas.com>
26767 * javax/swing/plaf/metal/MetalComboBoxButton.java
26768 (rendererPane): Documented.
26769 (MetalComboBoxButton): Set enabled flag from ComboBox.
26770 Set focusable flag from ComboBox's enabled flag.
26771 (isFocusTraversable): Make button focus traversable if
26772 ComboBox is not editable but enable.
26773 (paintComponent): Fixed painting to correctly adjust
26774 the boxes of the renderer and button.
26776 2006-03-17 Roman Kennke <kennke@aicas.com>
26778 * javax/swing/plaf/basic/BasicButtonUI.java
26779 (installDefaults): Only install UI margin if installed margin.
26780 is null or a UIResource.
26781 (uninstallDefaults): Only uninstall margin if it's
26784 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26786 * javax/swing/text/DefaultCaret.java:
26787 (mouseClicked) Use setDot() and moveDot() instead of
26788 JTextComponent.select().
26790 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26792 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26793 inner classes into package-private inner classes, added actions
26794 for caret movement and selection to the next and previous word
26795 and an action which selects the whole text.
26797 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26799 * javax/swing/Spring.java: Uncomment springdebug methods and
26800 rename them toString.
26801 * javax/swing/SpringLayout.java: Likewise.
26803 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26805 * javax/swing/text/FieldView.java:
26806 (viewToModel): Added call to adjust allocation area.
26808 2006-03-17 Roman Kennke <kennke@aicas.com>
26810 * javax/swing/plaf/basic/BasicComboBoxUI.java
26811 (mouseListener): Removed field.
26812 (buttonBackground): Removed field.
26813 (buttonShadow): Removed field.
26814 (buttonDarkShadow): Removed field.
26815 (buttonHighlight): Removed field.
26816 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26817 (installUI): Initialize and configure renderer and editor here.
26818 (uninstallUI): Close popup before uninitializing.
26819 Message popup that we are uninitializing. Clear layout.
26820 (installDefaults): Install UI border. Don't install colors.
26821 (installListeners): Install listeners fetched from the popup.
26822 Remove handling of mouseListener.
26823 (uninstallDefaults): Uninstall border. Don't handle colors.
26824 (uninstallListeners): Don't handle mouseListener. Uninstall
26825 listener from the popup.
26826 (createMouseListener): Removed method.
26827 (createRenderer): Create UIResource.
26828 (installComponents): Cleaned up.
26829 (uninstallComponents): Only remove renderer when it is
26831 (addEditor): Remove editor before adding new one.
26832 Fetch editor from comboBox.
26833 (removeEditor): Only do something when editor != null. Unconfigure
26834 editor before removing.
26835 (configureEditor): Add key listener. Call comboBox.configureEditor.
26836 (unconfigureEditor): Removed key listener.
26837 (configureArrowButton): Only handle when arrowButton != null.
26838 Add mouse listeners to arrow button.
26839 (unconfigureArrowButton): Remove listeners.
26840 (createArrowButton): Don't handle colors here.
26841 (setPopupVisible): Don't handle focus here.
26842 (paint): Only paint when comboBox is not editable. Update
26844 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26845 (getMinimumSize): Respect insets here.
26846 (getMaximumSize): Return preferredSize with width of 32767.
26847 (getInsets): Return ComboBox insets.
26848 (paintCurrentValue): Paint using currentValuePane.
26849 Install correct colors. Don't revalidate.
26850 (paintCurrentValueBackground): Implemented.
26851 (getDefaultSize): Reimplemented using a default renderer.
26852 (getDisplaySize): Reimplemented to use renderer.
26853 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26854 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26855 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26856 (FocusHandler.focusGained): Don't invalidate minimumSize.
26857 (FocusHandler.focusLost): Don't invalidate minimumSize.
26858 Only close popup if focus change is not temporary.
26859 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26860 Reconfigure editor if not null.
26861 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26862 editor if necessary.
26863 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26864 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26865 (MouseHandler): Removed unnecessary class.
26867 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26869 * examples/gnu/classpath/examples/swing/Demo.java:
26870 (Demo): Set default closing operation to shutdown the runtime.
26872 2006-03-17 Roman Kennke <kennke@aicas.com>
26874 * javax/swing/plaf/basic/BasicComboPopup.java
26875 (BasicComboPopup): Create listeners here.
26876 Configure components here.
26877 (show): Correctly calculate bounds using computePopupBounds().
26878 Make scroller fixed-size. Removed special autocloser handling.
26879 (hide): Rewritten to use MenuSelectionHandler.
26880 (createList): Don't set selection mode here.
26881 (configureList): Correctly install colors and fonts and selectionMode.
26882 (createScroller): Set scrollpane policies.
26883 (configureScroller): Make scroller and scrollbar not-focusable.
26884 (configurePopup): Make popup opaque and borderPainted.
26885 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26886 (delegateFocus): Implemented.
26887 (convertMouseEvent): Implemented.
26888 (updateListBoxSelectionForEvent): Implemented to also handle
26890 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26891 Only open popup on left mouse-click.
26892 (InvocationMouseHandler.mouseReleased): Rewritten.
26893 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26894 support autoscrolling.
26895 (ItemHandler.itemStateChanged): Implemented to sync selection with
26897 (ListMouseHandler.mouseReleased): Fetch selected index directly
26899 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26901 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26902 When model changes, then update listeners correctly.
26903 (uninstallListeners): Don't uninstall list listeners.
26904 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26906 (syncSelection): New helper method.
26908 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26910 * javax/swing/text/PlainView.java:
26911 (drawLine): Rewritten.
26912 (drawSelectedText): Corrected last argument for
26913 Utilities.drawTabbedText() call.
26914 (paint): Store start and end of selection in object variables,
26915 store constant values of for-loop in local variables.
26916 * javax/swing/text/Utilities.java:
26917 (drawTabbedText): Add 'pixelWidth' to the return value, store
26918 constant value of for-loop in local variable.
26920 2006-03-17 Roman Kennke <kennke@aicas.com>
26922 * javax/swing/plaf/basic/BasicComboPopup.java
26923 (BasicComboPopup): Create listeners here.
26924 Configure components here.
26925 (show): Correctly calculate bounds using computePopupBounds().
26926 Make scroller fixed-size. Removed special autocloser handling.
26927 (hide): Rewritten to use MenuSelectionHandler.
26928 (createList): Don't set selection mode here.
26929 (configureList): Correctly install colors and fonts and selectionMode.
26930 (createScroller): Set scrollpane policies.
26931 (configureScroller): Make scroller and scrollbar not-focusable.
26932 (configurePopup): Make popup opaque and borderPainted.
26933 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26934 (delegateFocus): Implemented.
26935 (convertMouseEvent): Implemented.
26936 (updateListBoxSelectionForEvent): Implemented to also handle
26938 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26939 Only open popup on left mouse-click.
26940 (InvocationMouseHandler.mouseReleased): Rewritten.
26941 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26942 support autoscrolling.
26943 (ItemHandler.itemStateChanged): Implemented to sync selection with
26945 (ListMouseHandler.mouseReleased): Fetch selected index directly
26947 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26949 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26950 When model changes, then update listeners correctly.
26951 (uninstallListeners): Don't uninstall list listeners.
26952 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26954 (syncSelection): New helper method.
26956 2006-03-17 Roman Kennke <kennke@aicas.com>
26958 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26959 (noFocusBorder): Make border with insets of (1,1,1,1).
26960 (BasicComboBoxRenderer): Make renderer opaque.
26961 No need to explicitly set alignment.
26962 (getListCellRendererComponent): Rewritten to correctly initialize
26965 2006-03-17 Roman Kennke <kennke@aicas.com>
26967 * javax/swing/JPopupMenu.java
26968 (setVisible): Handle JPopupMenu opening and closing via
26969 the MenuSelectionHandler.
26971 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26973 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26974 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26975 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26977 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26978 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26979 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26980 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26981 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26982 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26983 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26984 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26985 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26986 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26988 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26990 * java/rmi/activation/Activatable.java: Implemented.
26991 java/rmi/activation/ActivationDesc.java: Implemented.
26992 java/rmi/activation/ActivationGroup.java: Implemented.
26993 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26994 java/rmi/activation/ActivationID.java: Implemented.
26995 java/rmi/activation/ActivationSystem.java: Implemented.
26996 * gnu/java/rmi/server/UnicastServerRef.java
26997 (exportObject, incommingMessageCall): Documented.
26998 * java/rmi/activation/package.html: Documented.
26999 * java/rmi/server/ObjID.java (objNum, space): Made package
27001 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
27002 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
27004 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
27005 gnu/java/rmi/activation/BidiTable.java: New file.
27006 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
27007 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
27008 gnu/java/rmi/server/ActivatableServerRef.java: New file.
27010 2006-03-17 Mark Wielaard <mark@klomp.org>
27012 * java/security/BasicPermission.java (BasicPermission): Check
27013 name equals empty string to force NullPointerException.
27015 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27018 Commit patch by Caolan McNamara <caolanm@redhat.com>
27019 * javax/swing/Spring.java: Complete implementation
27020 * javax/swing/SpringLayout.java: Likewise.
27022 2006-03-16 Keith Seitz <keiths@redhat.com>
27024 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27026 (run): Remove catch clause for InterruptedException. It is no
27029 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27031 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27032 (getFontMetrics): Handle monospaced fonts specially.
27034 2006-03-16 Keith Seitz <keiths@redhat.com>
27036 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27037 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27038 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27039 Don't suspend the current thread unless it is not part of the JDWP
27042 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27044 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27046 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27047 font metrics through toolkit.
27048 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27051 (getFontMetrics): To calculate Java logical ascent and descent
27052 values, average Pango ink and logical values.
27054 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
27056 * java/lang/Character.java: Updated header comment.
27058 2006-03-16 Tom Tromey <tromey@redhat.com>
27060 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27062 * javax/sound/sampled/FloatControl.java: Now abstract.
27063 * javax/sound/sampled/EnumControl.java: Now abstract.
27064 * javax/sound/sampled/CompoundControl.java: Now abstract.
27065 * javax/sound/sampled/BooleanControl.java: Now abstract.
27067 2006-03-16 Tom Tromey <tromey@redhat.com>
27069 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27071 2006-03-16 Roman Kennke <kennke@aicas.com>
27073 * java/util/zip/ZipFile.java
27074 (openFile): New helper method.
27075 (ZipFile): Use new openFile method to ensure the proper
27076 exception is thrown. This applies for all overloaded constructors.
27078 2006-03-16 Roman Kennke <kennke@aicas.com>
27080 * java/text/DateFormatSymbols.java
27081 (setAmPmStrings): Added null check and throw NPE.
27082 (setEras): Likewise.
27083 (setLocalPatternChars): Likewise.
27084 (setMonths): Likewise.
27085 (setShortMonths): Likewise.
27086 (setShortWeekdays): Likewise.
27087 (setWeekdays): Likewise.
27088 (setZoneStrings): Likewise.
27090 2006-03-16 Roman Kennke <kennke@aicas.com>
27092 * javax/swing/DefaultDesktopManager.java
27093 (iconifyFrame): Repaint after removing the frame.
27094 (removeIconFor): Repaint after removing the icon.
27096 2006-03-16 Roman Kennke <kennke@aicas.com>
27098 * javax/swing/JInternalFrame.java
27099 (remove): Respect the rootPaneCheckingEnabled flag here.
27101 2006-03-16 Roman Kennke <kennke@aicas.com>
27103 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27104 Moved from examples into gnu.javax.swing.. namespace.
27105 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27106 Moved to gnu.javax.swing.. namespace.
27107 * examples/gnu/classpath/examples/swing/Demo.java:
27108 (themesMenu): New field. Used to disable theme switch in
27110 (mkMenuBar): Added L&F menu.
27111 (ChangeThemeAction.actionPerformed): Only switch theme when
27113 (ChangeLAFAction): New class used for changing themes.
27114 * javax/swing/UIManager.java
27115 (installed): Added GNU L&F as installed L&F.
27117 2006-03-16 Mark Wielaard <mark@klomp.org>
27119 * examples/gnu/classpath/examples/swing/badge.png: Removed.
27120 * examples/gnu/classpath/examples/icons/badge.png: Added.
27121 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27122 from icon directory.
27124 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27126 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27128 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27129 * examples/gnu/classpath/examples/awt/Demo.java: Add
27130 AnimationApplet demo.
27131 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27134 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27137 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27139 (handleEvent): Likewise.
27140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27142 (beginNativeRepaint): Remove method.
27143 (endNativeRepaint): Likewise.
27144 (handleEvent): Call paintComponent and updateComponent.
27145 (paintComponent): New method.
27146 (updateComponent): Likewise.
27147 (repaint): Return early if width or height is less than one.
27148 (postExposeEvent): Remove isInRepaint reference.
27149 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27151 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27152 from GtkWindowPeer.
27153 (postMouseEvent): Likewise.
27154 (postExposeEvent): Likewise.
27155 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27156 Override to do nothing.
27157 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27158 from GtkWindowPeer.
27159 (postMouseEvent): Likewise.
27160 (postExposeEvent): Likewise.
27161 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27162 paint and update handling from GtkComponentPeer.
27163 (updateComponent): Override to call paintComponent.
27164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27165 gdk_flush calls with schedule_flush calls.
27166 (flush): New function.
27167 (schedule_flush): Likewise.
27169 2006-03-15 Tom Tromey <tromey@redhat.com>
27171 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27173 (BCSIterator): Likewise.
27174 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27176 (BCSSProxyServiceProvider): Likewise.
27177 (BCSSServiceProvider): Likewise.
27179 2006-03-15 Tom Tromey <tromey@redhat.com>
27181 * javax/sound/midi/Track.java (Track): New constructor.
27182 (events): Now package-private.
27183 * javax/sound/midi/MidiUnavailableException.java
27184 (MidiUnavailableException): Removed invalid constructors.
27185 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27186 * javax/sound/midi/InvalidMidiDataException.java
27187 (InvalidMidiDataException): Removed invalid constructors.
27188 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27189 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27190 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27191 (SYSTEM_EXCLUSIVE): Removed.
27192 (getDataLength): Updated.
27193 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27194 (equals): Now final
27195 (getName): Now final.
27196 (getVendor): Now final.
27197 (getDescription): Likewise.
27198 (hashCode): Likewise.
27199 (getVersion): Likewise.
27200 (toString): Likewise.
27201 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27202 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27203 (getEarlyReflectionDelay): Likewise.
27204 (getEarlyReflectionIntensity): Likewise.
27205 (getLateReflectionDelay): Likewise.
27206 (getLateReflectionIntensity): Likewise.
27207 (toString): Likewise.
27208 * javax/sound/sampled/Port.java (toString): Now final.
27209 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27210 (getLine): Likewise.
27211 (getType): Likewise.
27212 * javax/sound/sampled/Mixer.java (Info): Now protected.
27213 (getDescription): Now final.
27214 (getName): Likewise.
27215 (getVendor): Likewise.
27216 (getVersion): Likewise.
27217 (toString): Likewise.
27218 * javax/sound/sampled/Control.java: Now abstract.
27219 (Type.toString): Now final.
27221 2006-03-15 Keith Seitz <keiths@redhat.com>
27223 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27224 of this redundant variable.
27225 (LineTable): Assert that the number of line numbers and the number of
27226 code indicies is the same.
27228 2006-03-15 Tom Tromey <tromey@redhat.com>
27230 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27232 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27234 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27235 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27236 * java/util/zip/Inflater.java (end): Not deprecated.
27237 * java/util/zip/Deflater.java (end): Not deprecated.
27238 * java/text/Bidi.java (Bidi): Now final.
27239 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27241 2006-03-15 Keith Seitz <keiths@redhat.com>
27243 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27244 (Location): Index is a long, not an int.
27245 (getMethod): New method.
27246 (getIndex): New method.
27247 (toString): New method.
27249 2006-03-15 Tom Tromey <tromey@redhat.com>
27251 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27252 * java/awt/image/LookupOp.java (filter): Now final.
27253 (getBounds2D): Likewise.
27254 (getPoint2D): Likewise.
27255 (getTable): Likewise.
27256 (getRenderingHints): Likewise.
27257 * java/awt/image/ConvolveOp.java (filter): Now final.
27258 (getBounds2D): Likewise.
27259 (getKernel): Likewise.
27260 (getPoint2D): Likewise.
27261 (getRenderingHints): Likewise.
27262 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27263 (getMatrix): Likewise.
27264 (getBounds2D): Likewise.
27265 (getRenderingHints): Likewise.
27266 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27267 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27269 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27271 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27273 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27275 2006-03-15 Keith Seitz <keiths@redhat.com>
27277 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27279 (matches): Implement.
27281 2006-03-15 Keith Seitz <keiths@redhat.com>
27283 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27285 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27287 2006-03-15 Tom Tromey <tromey@redhat.com>
27289 * java/lang/StrictMath.java (signum): New methods.
27291 2006-03-15 Tom Tromey <tromey@redhat.com>
27293 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27295 2006-03-15 Lillian Angel <langel@redhat.com>
27298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27299 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27300 Added check to avoid segmentation fault.
27302 2006-03-15 Lillian Angel <langel@redhat.com>
27304 * java/awt/Container.java
27305 (getComponentAt): Fixed documentation.
27306 (getComponentAt): Likewise.
27308 2006-03-15 Roman Kennke <kennke@aicas.com>
27310 * javax/swing/JComponent.java
27311 (dragBuffer): New field.
27312 (dragBufferInitialized): New field.
27313 (paint): Added facility for buffered dragging of components.
27314 (initializeDragBuffer): New method.
27315 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27317 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27318 (BorderListener.mouseDragged): Turn on buffered dragging.
27319 (BorderListener.mouseReleased): Turn off buffered dragging.
27321 2006-03-15 Lillian Angel <langel@redhat.com>
27323 * java/awt/Container.java
27324 (getComponentAt): Fixed documentation.
27325 (getComponentAt): Likewise.
27326 (findComponentAt): Likewise.
27327 (findComponentAt): Likewise.
27329 2006-03-15 Roman Kennke <kennke@aicas.com>
27331 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27332 (PropertyChangeHandler.propertyChange): Call enableActions().
27333 Fixed 'iconable' property name.
27335 2006-03-15 Chris Burdess <dog@gnu.org>
27338 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27340 2006-03-15 Roman Kennke <kennke@aicas.com>
27342 * examples/gnu/classpath/examples/swing/Demo.java:
27343 (desktop): New field.
27344 (mkMenuBar): Added new subdemos.
27345 (mkButtonWorld): Removed.
27346 (CheckCellRenderer): Moved to ListDemo.
27347 (LabelCellRenderer): Moved to ListDemo.
27348 (mkTreeWorld): Moved to TreeDemo.
27349 (mkDesktopWorld): Removed.
27350 (mkTabWorld): Moved to TabbedPaneDemo.
27351 (mkTabbedPane): Removed.
27352 (Demo): Replaced 'worlds' tabbed pane with desktop.
27353 (PopupAction): Made class non-static.
27354 (PopupAction.actionPerformed): Bring up subdemos in internal
27356 (mkButtonBar): Added new demos.
27357 (createDesktop): New method.
27358 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27359 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27360 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27361 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27362 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27364 2006-03-15 Lillian Angel <langel@redhat.com>
27366 * java/awt/Container.java
27367 (getComponentAt): Fixed mistake in comments.
27368 (getComponentAt): Likewise.
27369 (locate): Likewise. Also, handled lightweight components.
27370 Heavyweights take precedence over lightweights, so we should
27371 iterate through the heavyweights first.
27373 2006-03-15 Lillian Angel <langel@redhat.com>
27375 * java/awt/Container.java
27376 (getComponentAt): Added API documentation.
27377 (getComponentAt): Likewise.
27378 (locate): Likewise. Also, removed lines to ignore
27379 invisible components.
27380 (findComponentAt): Added API documentation.
27381 (findComponentAt): Added API documentation.
27382 (findComponentForMouseEvent): Removed, never used.
27384 2006-03-15 Roman Kennke <kennke@aicas.com>
27386 * javax/swing/Popup.java
27387 (LightweightPopup.show): Repaint the panel after showing it.
27389 2006-03-15 Lillian Angel <langel@redhat.com>
27391 * java/awt/Component.java
27392 (show): repaint should only be called if the component
27393 isShowing and isLightweight.
27395 2006-03-15 Roman Kennke <kennke@aicas.com>
27397 * javax/swing/JInternalFrame.java
27398 (setClosable): Made this property bound.
27399 (setResizable): Made this property bound.
27400 (setIconifiable): Made this property bound.
27401 (setMaximizable): Made this property bound.
27403 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27405 * javax/swing/table/TableColumn.java
27406 (sizeWidthToFit): Implemented.
27408 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27410 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27411 (setIdentifier): Fire required PropertyChangeEvent,
27412 (setCellEditor): Likewise.
27414 2006-03-15 Roman Kennke <kennke@aicas.com>
27416 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27417 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27418 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27419 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27420 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27421 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27422 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27423 * examples/gnu/classpath/examples/swing/TableDemo.java,
27424 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27425 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27426 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27427 * examples/gnu/classpath/examples/swing/Demo.java:
27428 Cleaned up. Reworked handling of Sub-demos to load lazily.
27429 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27430 New interface. Used for loading the subdemos lazily.
27432 2006-03-15 Roman Kennke <kennke@aicas.com>
27434 * javax/swing/plaf/basic/BasicToolBarUI.java
27435 (PropertyListener.propertyChange): Added null check to avoid NPE.
27437 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27439 * javax/swing/table/TableColumn.java
27440 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27442 (minWidth): Likewise,
27443 (preferredWidth): Likewise,
27444 (maxWidth): Likewise,
27445 (headerRenderer): Likewise,
27446 (cellRenderer): Likewise,
27447 (cellEditor): Likewise,
27448 (changeSupport): Likewise,
27449 (firePropertyChange(String, Object, Object)): Removed,
27450 (firePropertyChange(String, int. int)): Likewise,
27451 (firePropertyChange(String, boolean, boolean)): Likewise,
27452 (setModelIndex): Fire property change,
27453 (setHeaderValue): Call changeSupport directly to generate event,
27454 (setHeaderRenderer): Likewise,
27455 (setCellRenderer): Likewise,
27456 (setWidth): Likewise,
27457 (setPreferredWidth): Likewise,
27458 (setMinWidth): Likewise,
27459 (setMaxWidth): Likewise,
27460 (createDefaultHeaderRenderer): Added API docs.
27462 2006-03-14 Roman Kennke <kennke@aicas.com>
27464 * examples/gnu/classpath/examples/swing/Demo.java
27465 Removed static initializer.
27466 (mkMenuBar): Made method non-static. Added themes menu.
27467 (ChangeThemeAction): New inner class, used to change themes.
27469 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27471 * javax/swing/table/TableColumn.java
27472 (setMaxWidth): Updated width and preferredWidth if necessary,
27473 (getMaxWidth): Updated API docs.
27475 2006-03-14 Roman Kennke <kennke@aicas.com>
27477 * javax/swing/plaf/basic/BasicSliderUI.java
27478 (TrackListener.mouseDragged): Only process event when slider is
27480 (TrackListener.mouseReleased): Only process event when slider is
27482 (TrackListener.mousePressed): Only process event when slider is
27485 2006-03-14 Roman Kennke <kennke@aicas.com>
27487 * NEWS: Added note about OceanTheme support.
27489 2006-03-14 Roman Kennke <kennke@aicas.com>
27491 * javax/swing/plaf/metal/MetalIconFactory.java
27492 (HorizontalSliderThumbIcon.gradientMask): New field
27493 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27495 (VerticalSliderThumbIcon.gradientMask): New field
27496 (VerticalSliderThumbIcon.paintIcon): Added support for the
27498 * javax/swing/plaf/metal/MetalUtils.java
27499 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27500 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27502 2006-03-14 Mark Wielaard <mark@klomp.org>
27505 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27506 of handleMouseEvent.
27507 (handleMouseEvent): Return boolean to indicate whether we handled the
27508 event by passing it to a lightweight.
27510 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27512 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27513 * org/omg/PortableServer/ServantActivatorPOA.java,
27514 * org/omg/PortableServer/ServantLocatorPOA.java:
27515 Make class abstract and minor api docs fixlets.
27516 * org/omg/PortableServer/ForwardRequest.java,
27517 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27518 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27519 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27520 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27521 * org/omg/PortableServer/POAPackage/NoServant.java,
27522 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27523 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27524 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27525 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27526 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27527 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27528 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27529 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27530 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27531 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27533 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27535 * NEWS: Added entry about printing support.
27537 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27539 * javax/swing/table/TableColumn.java
27540 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27541 (isResizable): Likewise,
27542 (setWidth): Likewise,
27543 (getWidth): Likewise,
27544 (setPreferredWidth): Likewise,
27545 (getPreferredWidth): Likewise,
27546 (setMinWidth): Check for negative argument and update width and
27547 preferredWidth if necessary,
27548 (getMinWidth): Updated API docs.
27550 2006-03-14 Lillian Angel <langel@redhat.com>
27552 * java/awt/Container.java
27553 (addImpl): Removed call to repaint. No need to repaint here.
27555 2006-03-14 Roman Kennke <kennke@aicas.com>
27557 * javax/swing/plaf/metal/MetalSliderUI.java
27558 (paintTrack): Added OceanTheme support.
27560 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27562 * javax/swing/table/TableColumn.java
27563 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27564 (isResizable): Updated API docs.
27566 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27568 * javax/swing/LookAndFeel.java: Updated API docs.
27570 2006-03-14 Roman Kennke <kennke@aicas.com>
27572 * javax/swing/plaf/metal/MetalUtils.java
27573 (paintGradient): Added support for 'masked' gradients.
27574 (paintHorizontalGradient): Likewise.
27575 (paintVerticalGradient): Likewise.
27576 * javax/swing/plaf/metal/MetalIconFactory.java
27577 (RadioButtonIcon.gradientMask): New field.
27578 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27580 2006-03-14 Mark Wielaard <mark@klomp.org>
27583 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27585 (removeActionListener): Add listener to ComboBoxEditorListener.
27586 (removeActionListener): Remove listener from ComboBoxEditorListener.
27587 (ComboBoxEditorListener): New static helper class.
27589 2006-03-14 Roman Kennke <kennke@aicas.com>
27591 * javax/swing/plaf/metal/MetalBorders.java
27592 (getToolBarButtonBorder): Don't create a UIResource border
27594 * javax/swing/plaf/metal/MetalToolBarUI.java
27595 (installUI): New overridden method. Installs the rollover property.
27596 (uninstallUI): New overridden method. Resets the rollover property.
27597 * javax/swing/plaf/metal/MetalUtils.java
27598 (paintGradient): Fetch Float values from the UIManager. Adjusted
27599 method signatures accordingly.
27600 (paintHorizontalGradient): Adjusted signature to accept float
27602 (paintVerticalGradient): Adjusted signature to accept float
27604 * javax/swing/plaf/metal/OceanTheme.java
27605 (addCustomEntriesToTable): Added missing UIDefaults entries,
27606 except of Icons. Fixed gradient entries to use Float instead
27609 2006-03-14 Roman Kennke <kennke@aicas.com>
27611 * javax/swing/JInternalFrame.java
27612 (JInternalFrame): Make JInternalFrame opaque.
27613 * javax/swing/JToolBarFrame.java
27614 (JToolBar): Make JToolBar opaque.
27616 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27618 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27619 * javax/swing/tree/TreePath.java: Likewise.
27621 2006-03-13 Tom Tromey <tromey@redhat.com>
27623 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27625 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27626 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27628 2006-03-13 Keith Seitz <keiths@redhat.com>
27630 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27631 (executeMethods): Output number of methods.
27633 2006-03-13 Roman Kennke <kennke@aicas.com>
27635 * javax/swing/plaf/basic/BasicButtonUI.java
27636 (uninstallDefaults): Only uninstall border if it's a UIResource.
27637 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27638 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27639 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27640 (installUI): Don't touch the opaque flag of the glassPane and
27641 the frame. Don't invalidate.
27642 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27643 (installUI): Don't touch the opaque flag of the glassPane.
27644 * javax/swing/plaf/basic/BasicMenuBarUI.java
27645 (properyChangeListener): Made field private.
27646 (ChangeHandler): Made class private.
27647 (ContainerHandler): Made class private.
27648 (PropertyChangeHandler): Made class private.
27649 * javax/swing/plaf/basic/BasicMenuUI.java
27650 (MenuHandler): Made class private.
27651 (PropertyChangeHandler): Removed unneeded class.
27652 (MenuDragMouseHandler): Made class private.
27653 (MenuKeyHandler): Made class private.
27654 * javax/swing/plaf/basic/BasicPanelUI.java
27655 (installDefaults): Made method protected. Don't set opaque
27657 * javax/swing/plaf/basic/BasicScrollBarUI.java
27658 (TrackListener.shouldScroll): Made method private.
27659 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27660 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27661 Made constructor package private.
27662 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27663 (cellBorder): Made field private.
27664 * javax/swing/plaf/basic/BasicTextUI.java
27665 (installDefaults): Don't make component opaque.
27666 * javax/swing/plaf/basic/BasicToolBarUI.java
27667 (createNonRollOverBorder): Don't create UIResource border.
27668 (createRollOverBorder): Don't create UIResource border.
27669 (installComponents): Moved setRolloverBorders call here.
27670 (installDefaults): Moved setRolloverBorders call from here.
27671 (installUI): Don't make toolbar opaque.
27672 (setBorderToNonRollover): Handle AbstractButton instead of
27674 (uninstallComponents): Don't nullify class fields here.
27676 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27678 * javax/swing/SwingUtilities.java
27679 (calculateInnerArea): handle null component, and replace
27680 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27683 2006-03-13 Roman Kennke <kennke@aicas.com>
27685 * javax/swing/JColorChooser.java
27686 (updateUI): Don't call revalidate().
27687 * javax/swing/JComboBox.java
27688 (updateUI): Don't call invalidate().
27689 * javax/swing/JDesktopPane.java
27690 (updateUI): Don't call invalidate().
27691 * javax/swing/JFileChooser.java
27692 (updateUI): Don't call revalidate().
27693 * javax/swing/JMenu.java
27694 (updateUI): Don't call invalidate().
27695 * javax/swing/JMenuBar.java
27696 (updateUI): Don't call invalidate().
27697 * javax/swing/JMenuItem.java
27698 (updateUI): Don't call invalidate().
27699 * javax/swing/JOptionPane.java
27700 (updateUI): Don't call invalidate().
27701 * javax/swing/JPopupMenu.java
27702 (updateUI): Don't call invalidate().
27703 * javax/swing/JProgressBar.java
27704 (updateUI): Don't call invalidate().
27705 * javax/swing/JScrollBar.java
27706 (updateUI): Don't call invalidate() and repaint().
27707 * javax/swing/JScrollPane.java
27708 (updateUI): Rewritten to be like the other updateUI()
27710 * javax/swing/JSlider.java
27711 (updateUI): Don't call invalidate() and repaint().
27712 * javax/swing/JSplitPane.java
27713 (updateUI): Don't call invalidate() and repaint().
27714 * javax/swing/JTabbedPane.java
27715 (updateUI): Don't call invalidate().
27716 * javax/swing/JTable.java
27717 (updateUI): Don't call revalidate() and repaint().
27718 * javax/swing/JToolBar.java
27719 (updateUI): Don't call revalidate() and repaint().
27720 * javax/swing/JToolTip.java
27721 (updateUI): Don't call revalidate() and repaint().
27723 2006-03-13 Roman Kennke <kennke@aicas.com>
27725 * javax/swing/SwingUtilities.java
27726 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27727 menus and non-Swing components is improved.
27728 (updateComponentTreeUIImpl): New helper method.
27729 (replaceUIActionMap): Added check for uiActionMap==parent to
27731 (replaceUIInputMap): Added check for uiInputMap==parent to
27734 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27736 * gnu/classpath/debug/Component.java:
27737 (IPP) New component for IPP debugging.
27738 (EVERYTHING): Adapted to include IPP.
27739 * javax/print/PrintServiceLookup.java:
27740 (registerServiceProvider): New method.
27741 (registerService): Likewise.
27742 (lookupPrintServices): Likewise.
27743 (lookupMultiDocPrintServices): Likewise.
27744 (lookupDefaultPrintService): Likewise.
27745 (static_initializer): Likewise.
27746 (printServiceLookups): New field for found service providers.
27747 (printServices): New field for application registered providers.
27748 (systemProvider): New field for the system provider.
27749 * javax/print/ServiceUI.java: New file.
27750 * javax/print/package.html: Added more usage content.
27751 * javax/print/event/package.html: Likewise.
27752 * javax/print/attribute/package.html: Likewise.
27753 * javax/print/attribute/standard/package.html: Likewise.
27754 * gnu/javax/print/PrintUriException.java,
27755 gnu/javax/print/PrintFlavorException.java,
27756 gnu/javax/print/PrinterDialog.java,
27757 gnu/javax/print/PrintAttributeException.java,
27758 gnu/javax/print/CupsPrintServiceLookup.java,
27759 gnu/javax/print/CupsServer.java,
27760 gnu/javax/print/CupsPrintService.java,
27761 gnu/javax/print/CupsMediaMapping.java,
27762 gnu/javax/print/CupsIppOperation.java:
27763 New implementation files of the Java Print Service API.
27764 * gnu/javax/print/ipp/IppValueTag.java,
27765 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27766 gnu/javax/print/ipp/IppStatusCode.java,
27767 gnu/javax/print/ipp/IppUtilities.java,
27768 gnu/javax/print/ipp/IppResponse.java,
27769 gnu/javax/print/ipp/IppException.java,
27770 gnu/javax/print/ipp/IppPrintService.java,
27771 gnu/javax/print/ipp/IppRequest.java,
27772 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27773 gnu/javax/print/ipp/IppDelimiterTag.java,
27774 gnu/javax/print/ipp/DocPrintJobImpl.java:
27775 New files of the IPP client implementation.
27776 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27777 gnu/javax/print/ipp/attribute/StatusMessage.java,
27778 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27779 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27780 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27781 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27782 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27783 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27784 New attribute syntax/role files of the printing implementation.
27785 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27786 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27787 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27788 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27789 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27790 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27791 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27792 gnu/javax/print/ipp/attribute/supported/
27793 OrientationRequestedSupported.java,
27794 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27795 gnu/javax/print/ipp/attribute/supported/
27796 MultipleDocumentHandlingSupported.java,
27797 gnu/javax/print/ipp/attribute/supported/
27798 MultipleDocumentJobsSupported.java,
27799 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27800 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27801 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27802 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27803 gnu/javax/print/ipp/attribute/supported/
27804 GeneratedNaturalLanguageSupported.java,
27805 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27806 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27807 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27808 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27809 New supported attribute files.
27810 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27811 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27812 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27813 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27814 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27815 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27816 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27817 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27818 New printer description attribute files.
27819 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27820 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27821 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27822 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27823 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27824 gnu/javax/print/ipp/attribute/job/JobId.java,
27825 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27826 gnu/javax/print/ipp/attribute/job/JobUri.java,
27827 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27828 New job description attribute files.
27829 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27830 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27831 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27832 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27833 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27834 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27835 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27836 gnu/javax/print/ipp/attribute/defaults/
27837 MultipleDocumentHandlingDefault.java,
27838 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27839 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27840 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27841 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27842 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27843 New default printing attribute files.
27844 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27845 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27846 * examples/gnu/classpath/examples/print/Demo.java:
27847 New demo application of the current implemented functionality.
27849 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27851 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27852 java/rmi/activation/ActivationDesc.java.java,
27853 java/rmi/activation/ActivationGroup.java,
27854 java/rmi/activation/ActivationID.java,
27855 java/rmi/activation/ActivationMonitor.java,
27856 java/rmi/activation/ActivationSystem.java,
27857 java/rmi/activation/package.html: Documenting.
27859 2006-03-13 Roman Kennke <kennke@aicas.com>
27861 * javax/swing/JInternalFrame.java
27862 (setSelected): Repaint frame when it is showing and the selection
27865 2006-03-13 Roman Kennke <kennke@aicas.com>
27867 * javax/swing/AbstractButton.java
27868 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27871 2006-03-13 Roman Kennke <kennke@aicas.com>
27873 * javax/accessibility/AccessibleContext.java
27874 (getAccessibleRelationSet): Return empty set instead of null.
27876 2006-03-13 Roman Kennke <kennke@aicas.com>
27878 * javax/swing/ImageIcon.java
27879 (loadImage): Remove completed images from the MediaTracker. This
27880 avoids a potential memory leak.
27882 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27884 * javax/print/MultiDocPrintService.java,
27885 * javax/print/MultiDocPrintJob.java,
27886 * javax/print/MultiDoc.java: Added and enhanced documentation.
27888 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27890 * java/rmi/activation/ActivationID.java (uid): New field.
27891 (writeExternal, readExternal): New methods.
27892 (equals, hashCode): Rewritten.
27893 * java/rmi/activation/ActivationInstantiator.java,
27894 * java/rmi/activation/ActivationSystem.java,
27895 * java/rmi/activation/Activator.java,
27896 * java/rmi/activation/Activatable.java,
27897 * java/rmi/activation/ActivationGroup.java,
27898 * java/rmi/activation/ActivationGroupDesc.java:
27899 Documented and autoformatted.
27900 * java/rmi/activation/package.html: Added content.
27902 2006-03-12 Chris Burdess <dog@gnu.org>
27905 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27906 encoding are specified.
27908 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27910 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27911 (changeEvent): Initialise in fireStateChange(),
27912 (setSelectedIndex): Check if change is made before firing event,
27913 (clearSelection): Delegate to setSelectedIndex(),
27914 (fireStateChanged): Initialise changeEvent if necessary,
27915 * javax/swing/SingleSelectionModel.java: API docs all over.
27917 2006-03-11 Tom Tromey <tromey@redhat.com>
27919 * java/util/zip/InflaterInputStream.java: Reverted previous
27922 2006-03-11 Mark Wielaard <mark@klomp.org>
27924 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27927 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27929 * javax/swing/event/TreeSelectionEvent.java
27930 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27931 not one of the added/removed paths,
27932 (cloneWithSource): Reformatted.
27934 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27936 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27937 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27939 2006-03-10 Casey Marshall <csm@gnu.org>
27942 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27944 (doFinal, update): new methods.
27945 (init, init, init, init): initialize `state' after trying the
27946 implementation, which can throw an exception.
27947 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27950 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27952 * gnu/regexp/BacktrackStack.java: New file.
27953 * gnu/regexp/RE.java(findMatch): New method.
27954 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27955 REMatchList): Removed. (backtrackStack): New field.
27956 * gnu/regexp/REToken.java(match): Changed from an abstract
27957 method to an ordinary method defined with the new method
27958 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27959 findFixedLengthMatches, backtrack, toString): New methods.
27960 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27961 * gnu/regexp/RETokenBackRef.java: Likewise.
27962 * gnu/regexp/RETokenChar.java: Likewise.
27963 * gnu/regexp/RETokenEnd.java: Likewise.
27964 * gnu/regexp/RETokenEndSub.java: Likewise.
27965 * gnu/regexp/RETokenIndependent.java: Likewise.
27966 * gnu/regexp/RETokenLookAhead.java: Likewise.
27967 * gnu/regexp/RETokenLookBehind.java: Likewise.
27968 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27969 * gnu/regexp/RETokenPOSIX.java: Likewise.
27970 * gnu/regexp/RETokenRange.java: Likewise.
27971 * gnu/regexp/RETokenStart.java: Likewise.
27972 * gnu/regexp/RETokenWordBoundary.java: Likewise
27973 * gnu/regexp/RETokenOneOf.java: Rewriten.
27974 * gnu/regexp/RETokenRepeated.java: Rewriten.
27976 2006-03-10 Roman Kennke <kennke@aicas.com>
27978 * javax/swing/plaf/metal/MetalBorders.java
27979 (RolloverButtonBorder.paintBorder): Only call super here.
27980 * javax/swing/plaf/metal/MetalButtonListener.java
27981 (propertyChange): Only call super here.
27982 * javax/swing/plaf/metal/MetalButtonUI.java
27983 (update): Changed condition from isOpaque() to isContentAreaFilled()
27984 for the gradient fill.
27985 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27986 (paintText): API doc fix. Makes paintText not deprecated as specified
27987 but adds comment that this is obsolete.
27988 * javax/swing/plaf/metal/MetalUtils.java
27989 (fillMetalPattern): Fixed condition so that the Java2D is not
27990 used when the noGraphics2D property is set.
27992 2006-03-10 Roman Kennke <kennke@aicas.com>
27994 * javax/swing/plaf/metal/MetalLookAndFeel.java
27995 (createDefaultTheme): Set OceanTheme as default metal theme.
27997 2006-03-10 Roman Kennke <kennke@aicas.com>
27999 * javax/swing/text/WrappedPlainView.java
28000 (metrics): Made field package private to avoid accessor method.
28001 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
28002 The drawLine (righly) interprets the y parameter as the baseline.
28003 * javax/swing/text/Utilities.java
28004 (getBreakLocation): Don't consider the offset. The returned value
28005 for getTabbedTextOffset is already relative to the offset.
28007 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
28009 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28010 (dateFormat): Made private.
28011 (put): Replace only the last occurance and the value.
28012 (putAll): Save one iteration. Clarified documentation.
28014 2006-03-10 Tom Tromey <tromey@redhat.com>
28016 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28018 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28021 2006-03-10 Lillian Angel <langel@redhat.com>
28023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28024 (comboboxgroup_get_widget): New function.
28025 (removed): Fixed to use new function to get the correct widget.
28026 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28027 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28030 2006-03-10 Lillian Angel <langel@redhat.com>
28032 * java/awt/GridBagLayout.java
28033 (ArrangeGrid): Added checks to determine if component
28034 is placed last in a row or column. If so, the location
28035 of the last component should be used to get the location
28036 of the current component.
28038 2006-03-10 Lillian Angel <langel@redhat.com>
28040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28041 (nativeSetCheckboxGroup): No need to use new function here.
28042 Should just pass in pointer.
28044 2006-03-10 Lillian Angel <langel@redhat.com>
28046 * java/awt/GridBagLayout.java
28047 (distributeSizeAndWeight): Change else if to else. This
28048 allows for components to be added to a new row when
28049 their gridheight is REMAINDER.
28051 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28053 * java/rmi/activation/ActivationDesc.java,
28054 java/rmi/activation/ActivationGroupID.java,
28055 java/rmi/activation/Activator.java,
28056 java/rmi/server/Operation.java,
28057 java/rmi/server/RemoteServer.java: Documented and formatted.
28059 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28061 * javax/swing/JToggleButton.java: Fixed API doc tags,
28062 * javax/swing/OverlayLayout.java: Likewise.
28064 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28066 * javax/swing/DefaultCellEditor.java
28067 (cancelCellEditing): Removed spurious API doc tag.
28069 2006-03-10 Lillian Angel <langel@redhat.com>
28071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28072 (create): Put checkbox widget into an event box so it paints properly.
28073 (connectSignals): Fixed to use new function.
28074 (nativeSetCheckboxGroup): Likewise.
28075 (gtkToggleButtonSetActive): Likewise.
28076 (gtkWidgetModifyFont): Likewise.
28077 (gtkButtonSetLabel): Likewise.
28078 (combobox_get_widget): New function.
28080 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28082 * javax/swing/text/rtf/package.html: New file.
28084 2006-03-10 Roman Kennke <kennke@aicas.com>
28086 * javax/swing/plaf/metal/OceanTheme.java
28087 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28088 * javax/swing/plaf/metal/MetalScrollBarUI.java
28089 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28090 (paintThumbHorizontal): Added handling of OceanTheme.
28091 (paintThumbVertical): Added handling of OceanTheme.
28093 2006-03-10 Roman Kennke <kennke@aicas.com>
28095 Reported by Fridjof Siebert <siebert@aicas.com>
28096 * java/awt/MediaTracker.java
28097 (removeImage): Only set prev to e when the the images of the
28098 entries are not the same. This avoids a potentially corrupt list.
28100 2006-03-10 Chris Burdess <dog@gnu.org>
28103 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28104 checking while reindenting.
28106 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
28108 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28110 2006-03-09 Tom Tromey <tromey@redhat.com>
28112 PR classpath/26585:
28113 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28114 subdir. Added README.
28115 (install-data-local): Removed.
28116 (uninstall-local): Likewise.
28117 (EXTRA_DIST): Removed.
28119 2006-03-09 Tom Tromey <tromey@redhat.com>
28121 PR classpath/26623:
28122 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28124 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28126 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28128 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28130 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28132 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28134 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28136 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28138 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28140 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28142 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28143 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28145 2006-03-09 Keith Seitz <keiths@redhat.com>
28147 * gnu/classpath/jdwp/processor/MethodCommandSet.java
28148 (executeVariableTable): Use VMMethod instead of reflection.
28149 (executeLineTable): Likewise.
28150 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28151 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28152 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28153 (getLineTable): Removed. Now resides in VMMethod.
28154 (getVarTable): Likewise.
28155 (getAllClassMethods): New method.
28157 2006-03-09 Keith Seitz <keiths@redhat.com>
28159 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28160 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28161 (ThreadStartEvent): Likewise.
28162 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28163 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28164 (ConditionalFilter): Likewise.
28165 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28166 (ExceptionOnlyFilter): Likewise.
28167 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28168 (FieldOnlyFilter): Likewise.
28169 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28170 (getSize): Likewise.
28171 (StepFilter): Likewise.
28172 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28173 * gnu/classpath/jdwp/transport/JdwpPacket.java
28174 (JdwpPacket): Likewise.
28175 (fromBytes): Likewise.
28176 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28177 (JdwpReplyPacket): Likewise.
28178 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28179 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28180 (getReferenceType): Likewise.
28181 (newObjectId): Likewise.
28182 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28183 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28184 (getFrames): Fix typo in parameter name and update javadoc.
28185 (getClassMethod): Update javadoc.
28187 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28189 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28190 * javax/swing/event/TreeSelectionListener.java: Likewise.
28192 2006-03-09 Lillian Angel <langel@redhat.com>
28194 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28195 (getHScrollbarHeight): Fixed property name.
28196 (getVScrollbarHeight): Likewise.
28198 2006-03-09 Lillian Angel <langel@redhat.com>
28200 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28201 (get_widget): New function.
28202 (gtkWidgetSetParent): Changed to use new function.
28203 (gtkWidgetSetCursorUnlocked): Likewise.
28204 (gtkWidgetSetSensitive): Likewise.
28205 (gtkWidgetRequestFocus): Likewise.
28206 (gtkWindowGetLocationOnScreen): Likewise.
28207 (gtkWidgetGetDimensions): Likewise.
28208 (gtkWidgetGetPreferredDimensions): Likewise.
28209 (setNativeBounds): Likewise.
28210 (gtkWidgetGetBackground): Likewise.
28211 (gtkWidgetGetForeground): Likewise.
28212 (gtkWidgetSetBackground): Likewise.
28213 (gtkWidgetSetForeground): Likewise.
28214 (setVisibleNativeUnlocked): Likewise.
28215 (isEnabled): Likewise.
28216 (isRealized): Likewise.
28217 (setNativeEventMask): Likewise.
28219 2006-03-09 Lillian Angel <langel@redhat.com>
28222 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28223 (create): Added combobox widget to an event box.
28224 (connectSignals): Added call to choice_get_widget to get the
28225 combobox out of the event box.
28226 (append): Likewise.
28227 (nativeRemoveAll): Likewise.
28228 (nativeRemove): Likwise.
28229 (nativeAdd): Likewise.
28230 (selectNative): Likewise.
28231 (choice_get_widget): New function.
28232 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28233 (create): Added list scroll window widget to an event box.
28234 (connectSignals): Changed call to use new function to get the
28235 correct widget out of the event box.
28236 (getWidgetModifyFont): Likewise.
28237 (getWidgetRequestFocus): Likewise.
28238 (append): Likewise.
28240 (delItems): Likewise.
28241 (select): Likewise.
28242 (deselect): Likewise.
28243 (getSize): Likewise.
28244 (getSelectedIndexes): Likewise.
28245 (makeVisible): Likewise.
28246 (setMultipleMode): Likewise.
28247 (list_get_widget): New function.
28248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28249 (create): Added scrollpane to an eventbox.
28250 (setScrollPosition): Changed call to use new function to get the
28251 correct widget out of the event box.
28252 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28253 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28254 (getHScrollbarHeight): Likewise.
28255 (getVScrollbarWidth): Likewise.
28256 (setPolicy): Likewise.
28257 (scrollpane_get_widget): New function.
28258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28259 (connectSignals): Changed call to use new function to get the
28260 correct widget out of the event box.
28261 (create): Added scrollbar to an eventbox.
28262 (setLineIncrement): Changed call to use new function to get the
28263 correct widget out of the event box.
28264 (setPageIncrement): Likewise.
28265 (setBarValues): Likewise.
28266 (scrollbar_get_widget): New function.
28267 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28268 (create): Added text area scroll window widget to an event box.
28269 (connectSignals): Changed call to use new function to get the
28270 correct widget out of the event box.
28271 (insert): Likewise.
28272 (replaceRange): Likewise.
28273 (gtkWidgetModifyFont): Likewise.
28274 (gtkWidgetRequestFocus): Likewise.
28275 (getHScrollbarHeight): Likewise.
28276 (getVScrollbarWidth): Likewise.
28277 (getCaretPosition): Likewise.
28278 (setCaretPosition):Likewise.
28279 (getSelectionStart): Likewise.
28280 (getSelectionEnd): Likewise.
28281 (select): Likewise.
28282 (setEditable): Likewise.
28283 (getText): Likewise.
28284 (setText): Likewise.
28285 (textarea_get_widget): New function.
28287 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28289 * java/rmi/dgc/VMID.java:
28290 (equals, hashCode, static initializer): Rewritten.
28291 * java/rmi/dgc/package.html: Documented.
28293 2006-03-09 Mark Wielaard <mark@klomp.org>
28295 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28297 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28298 (canCache): Likewise.
28299 (GtkClipboard): Take String argument.
28300 (getInstance): Removed.
28301 (getClipboardInstance, getSelectionInstance): New static methods.
28302 (setSystemContents): Make synchronized. Takes boolean argument.
28303 (initNativeState): Add clipboard and selection.
28304 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28305 (announceClipboardChange, announcePrimaryChange): New static field.
28306 (announce): Take GtkClipboard as argument.
28307 (run): Check which clipboard to announce change for.
28308 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28310 (GtkSelection): Take GtkClipboard as argument.
28311 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28312 clipboard argument.
28313 (requestMimeTypes): Likewise.
28314 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28316 * java/awt/Toolkit.java (getSystemSelection): Document.
28317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28318 (cp_gtk_selection_instance): New var.
28319 (current_selection, owner): Removed.
28320 (clipboard_owner_change_cb): Use clipboard argument.
28321 (initNativeState): Store clipboard and selection instances. Cache
28322 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28324 (clipboard_get_func): Use clipboard argument.
28325 (clipboard_clear_func): Likewise. Always call method.
28326 (advertiseContent): Don't cache method ids here. Check whether to
28327 use clpboard or selection. Don't set owner or current_selection.
28328 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28329 (requestText, requestImage, requestURIs, requestBytes): Use extra
28330 boolean argument to select clipboard.
28331 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28332 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28333 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28334 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28336 2006-03-09 Keith Seitz <keiths@redhat.com>
28338 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28339 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28340 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28341 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28342 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28343 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28344 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28345 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28346 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28348 2006-03-09 Mark Wielaard <mark@klomp.org>
28350 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28351 bounds for index is valid.
28352 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28354 (getCellBounds): Update documentation.
28356 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28358 * .classpath: added exclude pattern on source folders
28359 (Makefiles, README and .cvsignore)
28361 2006-03-08 Michael Koch <konqueror@gmx.de>
28363 * java/net/Proxy.java (NO_PROXY): Made final.
28364 (equals): Likewise.
28365 (hashCode): Likewise.
28367 2006-03-08 Keith Seitz <keiths@redhat.com>
28369 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28370 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28371 (getClassMethod): New method.
28373 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28375 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28377 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28379 * java/rmi/server/ObjID.java: Documented and autoformatted.
28381 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28384 * tools/Makefile.am (install-data-local,
28385 uninstall-local): Install/uninstall the tools/README only.
28386 * tools/gnu/classpath/tools/giop/README: Updated.
28387 * tools/README: New file.
28389 2006-03-08 Lillian Angel <langel@redhat.com>
28391 * java/awt/GridBagLayout.java
28392 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28393 then the next item should be set to current_y (not 0).
28395 2006-03-08 Lillian Angel <langel@redhat.com>
28397 * java/awt/GridBagLayout.java
28398 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28399 in the bottom-most spot of the column, we need to place that component
28400 at the y-location of the other components in that row. If there are
28401 no other components in that row, then place it at y = 0.
28403 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28405 * javax/swing/ProgressMonitor.java: Updated API docs,
28406 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28408 2006-03-08 Michael Koch <konqueror@gmx.de>
28410 * java/net/InetSocketAddress.java
28411 (InetSocketAddress(String,int,resolve)): New private contructor.
28412 (InetSocketAddress(String,int)): Use new private constructor.
28413 (createUnresolved): New method.
28415 2006-03-07 Michael Koch <konqueror@gmx.de>
28417 * gnu/java/net/DefaultProxySelector.java,
28418 java/net/Proxy.java, java/net/ProxySelector.java:
28421 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28423 * java/rmi/server/UID.java (constructor): Assign last and time fields
28426 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28428 * java/rmi/server/UID.java: New file (replacing).
28430 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28432 * java/util/jar/Manifest.java: Removed unused imports.
28433 (CRLF): New constant.
28434 (read): Added method documentation.
28435 Use UTF-8 encoding instead of 8859_1.
28436 (write): Added method documentation.
28437 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28438 (write_main_section): Replace PrintWriter arg with OutputStream.
28439 Replace JarException with IOException.
28440 (write_version_info): Likewise.
28441 (write_main_attributes): Likewise.
28442 (write_attribute_entry): Likewise.
28443 (write_individual_sections): Likewise.
28444 (write_entry_attributes): Likewise.
28445 (write_header): Replace PrintWriter arg with OutputStream.
28448 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28450 * javax/swing/tree/DefaultMutableTreeNode.java
28451 (getFirstChild): Updated API docs,
28452 (getLastChild): Likewise,
28453 (getChildAfter): Likewise,
28454 (getChildBefore): Likewise,
28455 (isNodeSibling): Return true if node == this,
28456 (getSiblingCount): Updated API docs,
28457 (getNextSibling): Likewise,
28458 (getPreviousSibling): Likewise,
28459 (isLeaf): Likewise,
28460 (getFirstLeaf): Likewise,
28461 (getLastLeaf): Likewise,
28462 (getNextLeaf): Implemented,
28463 (getPreviousLeaf): Implemented.
28465 2006-03-07 Tom Tromey <tromey@redhat.com>
28467 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28468 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28469 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28470 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28473 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28475 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28476 (clone): Reimplemented,
28477 (add): Throw IllegalArgumentException if child is an ancestor,
28478 (remove(int)): Set child's parent to null,
28479 (remove(MutableTreeNode)): Check arguments and set child's parent to
28481 (insert): Check allowsChildren flag, check for null argument, and
28482 check for a node that is an ancestor,
28483 (getIndex): Throw IllegalArgumentException for null argument,
28484 (setAllowsChildren): If setting to false, remove existing children,
28485 (removeAllChildren): Set parent to null for removed children.
28487 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28489 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28492 2006-03-06 Tom Tromey <tromey@redhat.com>
28494 * java/lang/StrictMath.java (ulp): New methods.
28495 * java/lang/Math.java (ulp): New methods.
28497 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28499 * gnu/java/rmi/server/UnicastRef.java,
28500 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28502 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28504 * gnu/java/rmi/server/CombinedClassLoader.java
28505 (findClass, findLibrary, findResouce, findResources): check
28506 all loaders in array.
28508 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28511 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28512 (RefProtector): new inner class. (dirty): Rewritten.
28513 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28514 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28515 new methods. (readExternal): Create LeaseRenewingTask if non local.
28516 * gnu/java/rmi/server/UnicastServer.java (objects):
28517 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28518 (getExported): New method.
28519 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28521 2006-03-06 Mark Wielaard <mark@klomp.org>
28523 * doc/www.gnu.org/announce/20060306.wml: New file.
28524 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28525 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28527 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28529 * javax/swing/plaf/metal/MetalLookAndFeel.java
28530 (initComponentDefaults): Use Boolean.TRUE for
28531 'CheckBoxMenuItem.borderPainted'.
28533 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28535 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28536 (dateFormat): Made private.
28537 (put): Replace only the last occurance and the value.
28538 (putAll): Reimplemented with the put method.
28540 2006-03-06 Lillian Angel <langel@redhat.com>
28543 * java/awt/List.java
28544 (preferredSize): Return the size of the list if the peer is
28546 * gnu/java/awt/peer/gtk/GtkListPeer.java
28547 (preferredSize): Code was returning the minimum size of the
28548 list. Added adjustment to the width of the list so it is a
28551 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28553 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28554 (getRequestProperty): Remove duplicated null check.
28555 * java/net/URLConnection.java:
28556 (URLConnection): Javadoc fix.
28557 (addRequestProperty): Likewise.
28558 (getDefaultRequestProperty): Likewise.
28559 (getHeaderField): Likewise.
28560 (getHeaderFieldDate): Likewise.
28561 (getHeaderFieldKey): Likewise.
28562 (getHeaderFields): Likewise.
28563 (getRequestProperties): Likewise.
28564 (getRequestProperty): Likewise.
28565 (setDefaultRequestProperty): Likewise.
28566 (setRequestProperty): Likewise.
28568 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28570 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28571 * examples/gnu/classpath/examples/swing/Demo.java:
28572 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28574 (mkMenuBar): Added entry for text area example.
28576 2006-03-06 Tom Tromey <tromey@redhat.com>
28578 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28579 (FORMATTED_TEXT_FIELD): Likewise.
28581 2006-03-06 Tom Tromey <tromey@redhat.com>
28583 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28585 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28587 * examples/gnu/classpath/examples/swing/Demo.java:
28588 (mkMenuBar): Added menu entry that will display the VM's name,
28589 version and distributor.
28591 2006-03-06 Tom Tromey <tromey@redhat.com>
28593 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28595 (getName): Likewise.
28597 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28599 * java/util/jar/Manifest.java: Removed unused imports.
28600 (CRLF): New constant.
28601 (read): Added method documentation.
28602 Use UTF-8 encoding instead of 8859_1.
28603 (write): Added method documentation.
28604 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28605 (write_main_section): Replace PrintWriter arg with OutputStream.
28606 Replace JarException with IOException.
28607 (write_version_info): Likewise.
28608 (write_main_attributes): Likewise.
28609 (write_attribute_entry): Likewise.
28610 (write_individual_sections): Likewise.
28611 (write_entry_attributes): Likewise.
28612 (write_header): Replace PrintWriter arg with OutputStream.
28615 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28618 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28619 API doc tag warnings,
28620 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28622 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28624 * gnu/java/net/protocol/file/Connection.java (unquote):
28625 Update position in buffer after decoding a unicode character
28626 outside of the basic plane.
28628 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28630 * java/net/URI.java
28631 (quote): Pass Unicode characters outside the basic plane through.
28633 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28635 * javax/swing/plaf/basic/BasicTextUI.java:
28636 (damageRange): Rewritten if-expressions to correctly identify the
28639 2006-03-06 Mark Wielaard <mark@klomp.org>
28641 * configure.ac: Set version to 0.90-generics.
28644 2006-03-06 Mark Wielaard <mark@klomp.org>
28646 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28647 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28648 (isnan): Define explicitly isnan if it is not a macro.
28650 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28652 * javax/swing/text/GapContent.java:
28653 (insertString): Throw exception when argument is below
28656 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28658 * javax/swing/text/PlainDocument.java:
28659 (insertUpdate): Extended if-expression, added
28660 code to generate another Element when newly inserted characters
28661 and old ones will be on the same line.
28663 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28665 * javax/swing/text/DefaultCaret.java:
28666 (mouseDragged): Do selection when shift is pressed.
28667 (mouseClicked): Implemented.
28669 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28671 * javax/swing/text/PlainDocument.java: Fix copyright header,
28673 (insertUpdate): Do not copy the whole document any more, added some
28674 more variables to prevent needless method calls.
28676 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28678 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28679 is required on Darwin.
28680 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28681 (AM_CFLAGS): Likewise.
28683 2006-03-06 Mark Wielaard <mark@klomp.org>
28685 * NEWS: Add updates for 0.90 release.
28687 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28689 * javax/swing/text/GapContent.java:
28690 (insertString): Throw exception when argument is below
28693 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28696 * javax/swing/filechooser/FileFilter.java:
28697 (accept): Fixed API doc tag,
28698 (getDescription): Likewise,
28699 * javax/swing/filechooser/FileView.java:
28700 (isTraversable): Fixed API doc tag.
28702 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28704 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28705 added API docs all over.
28707 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28709 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28710 and corrected a bad API doc tag.
28712 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28714 * javax/swing/undo/StateEditable.java
28715 (restoreState): Fixed bad API doc tag,
28716 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28717 AbstractUndoableEdit.java,
28718 * javax/swing/undo/UndoableEditSupport.java
28719 (createCompoundEdit): Fixed bad API doc tag,
28720 * javax/swing/undo/UndoManager.java
28721 (editToBeUndone): Fixed bad API doc tag,
28722 (editToBeRedone): Likewise.
28724 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28726 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28727 * javax/swing/FocusManager.java: Likewise.
28730 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28733 * javax/swing/plaf/metal/MetalComboBoxButton.java
28734 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28735 JList)): Fixed API doc tag,
28736 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28737 (createLayout): Fixed API doc warning.
28739 2006-03-05 Tom Tromey <tromey@redhat.com>
28741 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28742 ClassHelper.getUserName.
28743 * vm/reference/java/lang/reflect/Method.java (toString): Use
28744 ClassHelper.getUserName.
28745 (getUserTypeName): Removed.
28746 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28747 * vm/reference/java/lang/reflect/Field.java (toString): Use
28748 ClassHelper.getUserName.
28750 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28753 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28754 Allows directories as valid resources.
28756 2006-03-05 Mark Wielaard <mark@klomp.org>
28758 * configure.ac (VERSION): Set to 0.90-pre-generics.
28759 * Merge with CVS trunk from classpath-0_90-branch-point.
28761 2006-03-04 Tom Tromey <tromey@redhat.com>
28763 * javax/swing/SpringLayout.java (Constraints): New constructor.
28764 * javax/swing/Spring.java (width): New method.
28765 (height): Likewise.
28768 2006-03-04 Mark Wielaard <mark@klomp.org>
28770 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28771 existing connection from pool before returning.
28773 2006-03-04 Mark Wielaard <mark@klomp.org>
28775 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28776 exceptions thrown by handlers while cleaning up and rethrow original
28779 2006-03-04 Tom Tromey <tromey@redhat.com>
28781 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28783 (findConstructor): Likewise.
28784 (instantiateClass): Likewise.
28786 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28788 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28789 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28790 lease value and not always the default one.
28791 (LeaseRecord): Remember the array of objects, marked as dirty.
28792 java/rmi/dgc/Lease.java: Boilerplate fix.
28794 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28796 * java/util/jar/Attributes.java (putValue): Made it public and updated
28797 method documentation.
28799 2006-03-04 Mark Wielaard <mark@klomp.org>
28801 * java/awt/Container.java (remove(int)): Always call removeNotify()
28802 on removed Component.
28804 2006-03-04 Mark Wielaard <mark@klomp.org>
28806 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28807 * javax/swing/JEditorPane.java (setText): Check for empty String
28808 with equals(), not equality (==).
28810 2006-03-04 Mark Wielaard <mark@klomp.org>
28812 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28813 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28815 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28817 * javax/swing/text/GapContent.java
28818 (getArray): Mark as final.
28820 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28822 * javax/swing/text/StyleConstants.java
28823 (CharacterConstants.Background): Marked final,
28824 (CharacterConstants.BidiLevel): Likewise,
28825 (CharacterConstants.Bold): Likewise,
28826 (CharacterConstants.ComponentAttribute): Likewise,
28827 (CharacterConstants.Family): Likewise,
28828 (CharacterConstants.Size): Likewise,
28829 (CharacterConstants.Foreground): Likewise,
28830 (CharacterConstants.IconAttribute): Likewise,
28831 (CharacterConstants.Italic): Likewise,
28832 (CharacterConstants.StrikeThrough): Likewise,
28833 (CharacterConstants.Subscript): Likewise,
28834 (CharacterConstants.Superscript): Likewise,
28835 (CharacterConstants.Underline): Likewise,
28836 (ColorConstants.Foreground): Likewise,
28837 (ColorConstants.Background): Likewise,
28838 (FontConstants.Bold): Likewise,
28839 (FontConstants.Family): Likewise,
28840 (FontConstants.Italic): Likewise,
28841 (FontConstants.Size): Likewise,
28842 (ParagraphConstants.Alignment): Likewise,
28843 (ParagraphConstants.FirstLineIndent): Likewise,
28844 (ParagraphConstants.LeftIndent): Likewise,
28845 (ParagraphConstants.LineSpacing): Likewise,
28846 (ParagraphConstants.Orientation): Likewise,
28847 (ParagraphConstants.RightIndent): Likewise,
28848 (ParagraphConstants.SpaceAbove): Likewise,
28849 (ParagraphConstants.SpaceBelow): Likewise,
28850 (ParagraphConstants.TabSet): Likewise.
28852 2006-03-03 Tom Tromey <tromey@redhat.com>
28854 * javax/net/ssl/SSLException.java: Added missing @since.
28857 2006-03-03 Tom Tromey <tromey@redhat.com>
28859 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28860 (serialVersionUID): New field.
28862 2006-03-03 Tom Tromey <tromey@redhat.com>
28864 * java/security/spec/InvalidKeySpecException.java
28865 (InvalidKeySpecException): New constructors.
28866 * java/security/cert/CertificateParsingException.java
28867 (CertificateParsingException): New constructors.
28868 * java/security/cert/CertificateEncodingException.java
28869 (CertificateEncodingException): New constructors.
28870 * java/security/cert/CertificateException.java (CertificateException):
28872 * java/security/cert/CRLException.java (CRLException): New
28875 2006-03-03 Tom Tromey <tromey@redhat.com>
28877 * java/security/SignatureException.java (SignatureException): New
28879 * java/security/ProviderException.java (ProviderException): New
28881 * java/security/NoSuchAlgorithmException.java
28882 (NoSuchAlgorithmException): New constructors.
28883 * java/security/KeyStoreException.java (KeyStoreException): New
28885 * java/security/KeyManagementException.java (KeyManagementException):
28887 * java/security/InvalidKeyException.java (InvalidKeyException): New
28889 * java/security/KeyException.java (KeyException): New constructors.
28890 * java/security/InvalidAlgorithmParameterException.java
28891 (InvalidAlgorithmParameterException): New constructors.
28892 * java/security/DigestException.java (DigestException): New
28894 * java/security/GeneralSecurityException.java
28895 (GeneralSecurityException): New constructors.
28897 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28899 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28901 * javax/swing/event/DocumentEvent.java: Likewise,
28902 * javax/swing/event/EventListenerList.java: Likewise,
28903 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28904 * javax/swing/event/MenuKeyEvent.java: Likewise,
28905 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28906 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28907 * javax/swing/event/TreeModelEvent.java: Likewise,
28908 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28909 * javax/swing/event/UndoableEditEvent.java: Likewise.
28911 2006-03-03 Tom Tromey <tromey@redhat.com>
28913 * java/awt/Insets.java (set): New method.
28914 (equals): Added @since.
28916 2006-03-03 David Daney <ddaney@avtrex.com>
28918 * gnu/java/net/protocol/http/HTTPURLConnection.java
28919 (getRequestProperties): Rewrote.
28920 (addRequestProperty): Rewrote.
28921 (getHeaderFields): Rewrote.
28922 (getHeaderField): Rewrote.
28923 (getHeaderFieldKey): Rewrote.
28924 (getHeaderField): Removed useless cast.
28925 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28926 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28928 (notifyHeaderHandlers): Use new Headers interface.
28930 2006-03-03 Tom Tromey <tromey@redhat.com>
28932 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28933 * javax/naming/spi/ResolveResult.java,
28934 javax/naming/event/NamingExceptionEvent.java,
28935 javax/naming/event/NamingEvent.java,
28936 javax/naming/directory/SearchResult.java,
28937 javax/naming/directory/SearchControls.java,
28938 javax/naming/directory/SchemaViolationException.java,
28939 javax/naming/directory/NoSuchAttributeException.java,
28940 javax/naming/directory/ModificationItem.java,
28941 javax/naming/directory/InvalidSearchFilterException.java,
28942 javax/naming/directory/InvalidSearchControlsException.java,
28943 javax/naming/directory/InvalidAttributesException.java,
28944 javax/naming/directory/InvalidAttributeIdentifierException.java,
28945 javax/naming/directory/AttributeModificationException.java,
28946 javax/naming/directory/AttributeInUseException.java,
28947 javax/naming/TimeLimitExceededException.java,
28948 javax/naming/SizeLimitExceededException.java,
28949 javax/naming/PartialResultException.java,
28950 javax/naming/Reference.java,
28951 javax/naming/ServiceUnavailableException.java,
28952 javax/naming/OperationNotSupportedException.java,
28953 javax/naming/NotContextException.java,
28954 javax/naming/NoPermissionException.java,
28955 javax/naming/NoInitialContextException.java,
28956 javax/naming/NameNotFoundException.java,
28957 javax/naming/NameAlreadyBoundException.java,
28958 javax/naming/NameClassPair.java,
28959 javax/naming/MalformedLinkException.java,
28960 javax/naming/LinkLoopException.java,
28961 javax/naming/LinkException.java,
28962 javax/naming/LimitExceededException.java,
28963 javax/naming/InvalidNameException.java,
28964 javax/naming/InterruptedNamingException.java,
28965 javax/naming/InsufficientResourcesException.java,
28966 javax/naming/ContextNotEmptyException.java,
28967 javax/naming/ConfigurationException.java,
28968 javax/naming/CannotProceedException.java,
28969 javax/naming/CommunicationException.java,
28970 javax/naming/Binding.java,
28971 javax/naming/AuthenticationNotSupportedException.java,
28972 javax/naming/AuthenticationException.java: Added serialVersionUID.
28974 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28976 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28978 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28980 * javax/swing/event/TableModelListener.java: Updated API docs.
28982 2006-03-03 Mark Wielaard <mark@klomp.org>
28984 * java/awt/Component.java (addNotify): Expand documentation.
28986 2006-03-03 Mark Wielaard <mark@klomp.org>
28988 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28989 Always call setParentAndBounds().
28990 (setComponentBounds): Always call setBounds().
28991 (setBounds): Call setVisible().
28992 (setVisible): If no pixels are showing then don't make it visible.
28993 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28994 to call setParentAndBounds() anymore.
28996 2006-03-03 Roman Kennke <kennke@aicas.com>
28998 * javax/swing/JInternalFrame.java
28999 (JInternalFrame): Set frame invisible.
29000 (show): Reformatted.
29001 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29002 (installDefaults): Do not set invisible here.
29004 2006-03-03 Roman Kennke <kennke@aicas.com>
29006 * java/awt/Toolkit.java
29007 (getScreenInsets): Return (0,0,0,0) here.
29009 2006-03-03 Roman Kennke <kennke@aicas.com>
29011 * javax/swing/text/FlowView.java
29012 (FlowStrategy.layoutRow): Added check for rowCount == 0.
29013 (FlowStrategy.getLogicalView): Made method protected.
29015 2006-03-03 Chris Burdess <dog@gnu.org>
29017 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29018 gnu/xml/validation/relaxng/AttributePattern.java,
29019 gnu/xml/validation/relaxng/ChoiceNameClass.java,
29020 gnu/xml/validation/relaxng/ChoicePattern.java,
29021 gnu/xml/validation/relaxng/DataPattern.java,
29022 gnu/xml/validation/relaxng/Define.java,
29023 gnu/xml/validation/relaxng/ElementPattern.java,
29024 gnu/xml/validation/relaxng/EmptyPattern.java,
29025 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29026 gnu/xml/validation/relaxng/Grammar.java,
29027 gnu/xml/validation/relaxng/GrammarException.java,
29028 gnu/xml/validation/relaxng/GrammarValidator.java,
29029 gnu/xml/validation/relaxng/GroupPattern.java,
29030 gnu/xml/validation/relaxng/InterleavePattern.java,
29031 gnu/xml/validation/relaxng/ListPattern.java,
29032 gnu/xml/validation/relaxng/NSNameNameClass.java,
29033 gnu/xml/validation/relaxng/NameClass.java,
29034 gnu/xml/validation/relaxng/NameNameClass.java,
29035 gnu/xml/validation/relaxng/NotAllowedPattern.java,
29036 gnu/xml/validation/relaxng/OneOrMorePattern.java,
29037 gnu/xml/validation/relaxng/Param.java,
29038 gnu/xml/validation/relaxng/Pattern.java,
29039 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29040 gnu/xml/validation/relaxng/RefPattern.java,
29041 gnu/xml/validation/relaxng/TextPattern.java,
29042 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29043 builder and data model.
29044 * gnu/xml/validation/xmlschema/AnyAttribute.java,
29045 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29046 gnu/xml/validation/xmlschema/AttributeUse.java,
29047 gnu/xml/validation/xmlschema/ComplexType.java,
29048 gnu/xml/validation/xmlschema/ElementDeclaration.java,
29049 gnu/xml/validation/xmlschema/Particle.java,
29050 gnu/xml/validation/xmlschema/ValidationException.java,
29051 gnu/xml/validation/xmlschema/XMLSchema.java,
29052 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29053 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29054 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29055 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29056 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29057 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29058 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29059 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29060 W3C XML Schema builder and schema components.
29061 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29062 XML Schema namespace URIs.
29064 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
29066 * NEWS: Add entry for --enable-collections.
29067 * configure.ac: Add --enable-collections option.
29068 * lib/Makefile.am (collections.jar): New target.
29069 (glibj_DATA): Add $(COLLECTIONS).
29070 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29071 configure substitution.
29072 (classpath): Read from command line.
29073 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
29075 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29077 * javax/swing/SpringLayout.java: Fixed API doc warnings.
29079 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29081 * javax/swing/event/ListSelectionEvent.java
29082 (toString): Implemented,
29083 plus updated API docs all over.
29085 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29087 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29089 * javax/swing/event/ListSelectionListener.java: Updated API docs.
29091 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
29093 * gnu/java/rmi/dgc/DGCImpl.java,
29094 java/rmi/dgc/DGC.java,
29095 java/rmi/dgc/Lease.java: Formatted and commented.
29097 2006-03-03 Roman Kennke <kennke@aicas.com>
29099 * NEWS: Added comment about text highlighting and copy+paste
29102 2006-03-03 Roman Kennke <kennke@aicas.com>
29104 * javax/swing/JTabbedPane.java
29105 (remove(int)): Call super.remove(int) instead of remove(Component).
29106 Avoids a stack overflow.
29108 2006-03-03 Roman Kennke <kennke@aicas.com>
29110 * javax/swing/JTable.java
29111 (distributeSpillResizing): Avoid ArithmeticException by checking
29114 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29116 * javax/swing/text/package.html: Added package description.
29118 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29120 * javax/swing/CellRendererPane.java: Minor API doc fix,
29121 * javax/swing/ComboBoxModel.java: Updated API docs.
29123 2006-03-03 Chris Burdess <dog@gnu.org>
29126 * gnu/xml/stream/EntityReferenceImpl.java,
29127 gnu/xml/stream/FilteredEventReader.java,
29128 gnu/xml/stream/SAXParser.java,
29129 gnu/xml/stream/XIncludeFilter.java,
29130 gnu/xml/stream/XMLEventAllocatorImpl.java,
29131 gnu/xml/stream/XMLEventFactoryImpl.java,
29132 gnu/xml/stream/XMLEventImpl.java,
29133 gnu/xml/stream/XMLEventReaderImpl.java,
29134 gnu/xml/stream/XMLEventWriterImpl.java,
29135 gnu/xml/stream/XMLInputFactoryImpl.java,
29136 gnu/xml/stream/XMLOutputFactoryImpl.java,
29137 gnu/xml/stream/XMLParser.java,
29138 javax/xml/stream/EventFilter.java,
29139 javax/xml/stream/Location.java,
29140 javax/xml/stream/StreamFilter.java,
29141 javax/xml/stream/XMLEventFactory.java,
29142 javax/xml/stream/XMLEventReader.java,
29143 javax/xml/stream/XMLEventWriter.java,
29144 javax/xml/stream/XMLInputFactory.java,
29145 javax/xml/stream/XMLOutputFactory.java,
29146 javax/xml/stream/XMLReporter.java,
29147 javax/xml/stream/XMLResolver.java,
29148 javax/xml/stream/XMLStreamConstants.java,
29149 javax/xml/stream/XMLStreamReader.java,
29150 javax/xml/stream/events/EntityDeclaration.java,
29151 javax/xml/stream/events/EntityReference.java,
29152 javax/xml/stream/events/XMLEvent.java,
29153 javax/xml/stream/util/EventReaderDelegate.java,
29154 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29155 StAX API as specified in JWSDP 2.0.
29156 * gnu/xml/stream/EndEntityImpl.java,
29157 gnu/xml/stream/LocationImpl.java,
29158 gnu/xml/stream/StartEntityImpl.java,
29159 gnu/xml/stream/XMLStreamReaderImpl.java,
29160 javax/xml/stream/XMLFilter.java,
29161 javax/xml/stream/XMLIterator.java,
29162 javax/xml/stream/events/EndEntity.java,
29163 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29165 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29167 * javax/swing/CellEditor.java: API doc updates,
29168 * javax/swing/DefaultCellEditor.java: Likewise.
29170 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29172 * javax/swing/AbstractListModel.java:
29173 (AbstractListModel): Added API docs,
29174 (fireContentsChanged): Minor API doc correction,
29175 (fireIntervalAdded): Likewise,
29176 (fireIntervalRemoved): Likewise.
29178 2006-03-03 Roman Kennke <kennke@aicas.com>
29180 * NEWS: Added paragraph about Swing improvements.
29182 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29184 * javax/swing/AbstractAction.java: Updated API docs all over,
29185 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29186 (stopCellEditing): Minor API doc correction,
29187 * javax/swing/UnsupportedLookAndFeelException.java
29188 (UnsupportedLookAndFeelException): Changed argument name, updated API
29191 2006-03-03 Roman Kennke <kennke@aicas.com>
29193 * javax/swing/plaf/metal/MetalUtils.java
29194 (fillMetalPattern): Added switch to not use Graphics2D methods,
29195 even if they are available.
29197 2006-03-03 Roman Kennke <kennke@aicas.com>
29199 * javax/swing/plaf/basic/BasicHTML.java
29200 (isHTMLString): Check for string beeing null.
29201 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29202 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29203 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29204 (InternalFrameLayout): Don't touch the glass pane here.
29205 (installUI): Fix handling of glass pane.
29206 * javax/swing/plaf/basic/BasicLabelUI.java
29210 (BasicLabelUI): Initialize new fields.
29211 (getPreferredSize): Avoid creating new Rectangles by using
29212 SwingUtilities method.
29213 (paint): Avoid creating new Rectangles by reusing
29214 new fields. Added some preliminary handling of HTML inside the
29216 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29217 (uninstallComponents): Clear HTML renderer.
29218 (propertyChange): Check for HTML text and install renderer if
29220 * javax/swing/plaf/basic/BasicListUI.java
29221 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29223 * javax/swing/plaf/basic/BasicTextUI.java
29224 (RootView.getStartOffset): Implemented.
29225 (RootView.getEndOffset): Implemented.
29226 (RootView.getDocument): Implemented.
29228 2006-03-03 Roman Kennke <kennke@aicas.com>
29230 * javax/swing/text/DefaultStyledDocument.java
29231 (ElementBuffer.inserUpdate): Added check for zero-length
29233 * javax/swing/text/DefaultStyledDocument.java
29234 (setIndex): Improved exception message.
29235 * javax/swing/text/TableView.java
29236 Made class abstract.
29237 (TableRow.replace): Probably extend columnRequirements
29239 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29240 of super.layoutMajorAxis.
29241 (columnRequirements): Made field package private.
29242 (TableView): Do not load any child views here.
29243 (layoutColumns): Implemented this method.
29244 (updateColumnRequirements): New helper method.
29245 * javax/swing/text/Utilities.java
29246 (getBreakLocation): Also take offset into account when
29247 finding end location.
29248 * javax/swing/text/html/HTMLDocument.java
29249 (HTMLReader.parseStack): New field.
29250 (HTMLReader.blockOpen): Properly handle p-implied tags.
29251 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29252 (HTMLReader.addContent): Insert p-implied when adding content to
29254 * javax/swing/text/html/HTMLEditorKit.java
29255 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29256 ParagraphView for TD tags. Print out warning for tags that don't have
29257 matching view yet and create NullView for them.
29258 (read): Only set document base when document != null.
29259 * javax/swing/text/html/HTMLTableView.java:
29262 2006-03-03 Roman Kennke <kennke@aicas.com>
29264 * javax/swing/plaf/basic/BasicHTML.java
29265 (HTMLRootView): New inner class.
29266 (createHTMLView): Embed view inside a HTMLRootView.
29268 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29270 * gnu/java/net/protocol/jar/Connection.java:
29271 (connect): Throw FileNotFoundException.
29272 (getInputStream): Remove duplicated code.
29274 2006-03-03 Roman Kennke <kennke@aicas.com>
29276 * javax/swing/RepaintManager.java
29277 (commitBuffer): Added null check for clip.
29279 2006-03-02 Lillian Angel <langel@redhat.com>
29281 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29282 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29283 to use GtkWidget instead of GTKMenu.
29285 2006-03-02 Lillian Angel <langel@redhat.com>
29287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29288 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29289 use the submenu to get the list of children. This now works
29290 in the same way as addItem.
29292 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29294 * java/lang/StringBuilder.java:
29295 (codePointAt): New method.
29296 (codePointBefore): Likewise.
29297 (codePointCount): Likewise.
29298 (trimToSize): Likewise.
29300 2006-03-02 Tom Tromey <tromey@redhat.com>
29302 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29304 2006-03-02 Tom Tromey <tromey@redhat.com>
29306 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29307 (getProviderInstance):
29309 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29311 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29312 Fix regression caused by move to VM variant.
29313 PR classpath/22926.
29315 2006-03-01 Tom Tromey <tromey@redhat.com>
29317 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29318 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29319 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29320 imports for javadoc.
29321 (getProxyClass): Javadoc fixes.
29322 (getProxyData): Likewise.
29323 (generateProxyClass): Likewise.
29324 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29325 (setOut): Likewise.
29326 (setErr): Likewise.
29327 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29328 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29330 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29332 (getModifiers): Likewise.
29333 (getDeclaredClasses): Javadoc fix.
29334 (getDeclaredFields): Likewise.
29335 (getDeclaredMethods): Likewise.
29336 (getDeclaredConstructors): Likewise.
29337 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29340 2006-03-01 Tom Tromey <tromey@redhat.com>
29342 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29343 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29344 (getVersion): Javadoc fix.
29346 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29347 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29349 2006-03-01 David Daney <ddaney@avtrex.com>
29351 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29352 as relative if it contains a colon but no protocol handler can be
29355 2006-03-01 Roman Kennke <kennke@aicas.com>
29357 * javax/swing/text/AbstractDocument.java
29358 (LeafElement.LeafElement): Handle delta with respect to content
29359 length not document length.
29360 * javax/swing/text/CompositeView.java
29361 (getViewIndex): Handle bias correctly.
29362 * javax/swing/text/DefaultCaret.java
29363 (paint): Align caret position to document bounds to avoid trouble
29364 when removing large portions of content.
29365 * javax/swing/text/DefaultStyledDocument.java
29366 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29367 (ElementBuffer.createFracture): Copy old childs attribute. The
29368 ElementSpec usually doesn't carry attribute information.
29369 Use pos instead of offset.
29370 (ElementBuffer.insertFracture): Use pos instead of offset.
29371 (createDefaultRootElement): Don't use create* and instead directly
29372 instantiate the elements.
29373 (handleInsertAfterNewline): Compare the paragraphs startOffset
29374 rather than previous paragraphs endOffset.
29375 * javax/swing/text/JTextComponent.java
29376 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29378 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29380 * javax/swing/text/PlainView.java
29381 (damageLineRange): Avoid creating new Rectangle by using
29383 * javax/swing/text/View.java
29384 (forwardUpdate): Correct the use of bias.
29385 (modelToView): Avoid new Rectangles by using SwingUtilities.
29386 (dump): Made (temprorarily) protected for use in BasicTextUI.
29387 (dump(int)): Dump out the element of the view.
29389 2006-03-01 Lillian Angel <langel@redhat.com>
29391 * NEWS: javax.imageio.plugins.bmp implementation.
29393 2006-03-01 Lillian Angel <langel@redhat.com>
29395 * javax/imageio/ImageWriteParam.java:
29396 Added documentation for fields.
29397 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29398 New class implemented.
29400 2006-03-01 Tom Tromey <tromey@redhat.com>
29402 * NEWS: Mention java.util.prefs update.
29404 2006-03-01 Tom Tromey <tromey@redhat.com>
29406 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29407 * java/nio/charset/UnmappableCharacterException.java:
29408 (serialVersionUID): New field.
29409 * java/nio/charset/MalformedInputException.java:
29410 (serialVersionUID): New field.
29411 * java/nio/charset/CoderMalfunctionError.java:
29412 (serialVersionUID): New field.
29413 * java/nio/charset/CharacterCodingException.java:
29414 (serialVersionUID): New field.
29415 * java/nio/channels/UnsupportedAddressTypeException.java:
29416 (serialVersionUID): New field.
29417 * java/nio/channels/UnresolvedAddressException.java:
29418 (serialVersionUID): New field.
29419 * java/nio/channels/OverlappingFileLockException.java:
29420 (serialVersionUID): New field.
29421 * java/nio/channels/NotYetConnectedException.java:
29422 (serialVersionUID): New field.
29423 * java/nio/channels/NotYetBoundException.java
29424 (serialVersionUID): New field.
29425 * java/nio/channels/NonWritableChannelException.java
29426 (serialVersionUID): New field.
29427 * java/nio/channels/NonReadableChannelException.java
29428 (serialVersionUID): New field.
29429 * java/nio/channels/NoConnectionPendingException.java
29430 (serialVersionUID): New field.
29431 * java/nio/channels/IllegalSelectorException.java
29432 (serialVersionUID): New field.
29433 * java/nio/channels/IllegalBlockingModeException.java
29434 (serialVersionUID): New field.
29435 * java/nio/channels/FileLockInterruptionException.java
29436 (serialVersionUID): New field.
29437 * java/nio/channels/ConnectionPendingException.java
29438 (serialVersionUID): New field.
29439 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29441 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29443 * java/nio/channels/ClosedByInterruptException.java
29444 (serialVersionUID): New field.
29445 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29447 * java/nio/channels/AsynchronousCloseException.java
29448 (serialVersionUID): New field.
29449 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29451 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29452 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29453 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29455 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29456 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29457 Javadoc fix. Added import.
29458 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29459 (validOps): Likewise.
29460 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29461 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29462 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29463 * java/nio/channels/Channels.java: Added import.
29464 * java/nio/channels/FileChannel.java (lock): Typo fix.
29465 (tryLock): Likewise.
29467 2006-03-01 Tom Tromey <tromey@redhat.com>
29469 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29471 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29472 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29474 (putSpi): Likewise.
29475 (newNode): Likewise.
29477 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29478 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29480 (systemRoot): Use it.
29481 (userPreferences): New field.
29482 (userRoot): Use it.
29484 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29486 * java/util/ResourceBundle.java
29487 (tryBundle): Catch and ignore all Exceptions.
29489 2006-02-28 Roman Kennke <kennke@aicas.com>
29491 * javax/swing/plaf/basic/BasicScrollBarUI.java
29492 (getPreferredSize): Fixed add a fixed space between the buttons
29493 instead of something related to min/max.
29494 (installComponents): Create and install buttons here.
29495 (installDefaults): Don't create buttons here.
29496 * javax/swing/plaf/metal/MetalScrollBarUI.java
29497 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29498 (getPreferredSize): New method.
29500 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29502 * examples/gnu/classpath/examples/swing/Demo.java
29503 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29504 connected 'Spinner' action to SpinnerDemo,
29505 (mkCheckbox): Removed,
29506 (mkRadio): Likewise,
29507 (mkSpinner): Likewise,
29508 (mkToggle): Likewise,
29509 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29510 connected 'Spinner' action to SpinnerDemo.
29512 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29514 * javax/print/ServiceUIFactory.java: Added documentation to class.
29516 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29519 * javax/swing/DefaultListSelectionModel.java:
29520 (addSelectionInterval): Return early if either of the arguments is -1.
29521 (removeSelectionInterval): Likewise.
29522 (setSelectionInterval): Likewise.
29524 2006-02-28 Lillian Angel <langel@redhat.com>
29526 * javax/swing/text/DefaultFormatter.java
29527 (stringToValue): Added NPE check.
29529 2006-02-28 Roman Kennke <kennke@aicas.com>
29532 * javax/swing/JList.java
29533 (getPreferredScrollableViewportSize): Restored specified behaviour.
29534 * javax/swing/plaf/metal/MetalFileChooserUI.java
29535 (createList): Set filelist panel's preferredSize, so that it doesn't
29536 get size into infinity for big lists.
29538 2006-02-28 Lillian Angel <langel@redhat.com>
29540 * javax/swing/ViewportLayout.java
29541 (layoutContainer): Should not extend container to be
29542 minimum size. Mauve test shows that the preferred size
29543 and the size of the viewport can be set smaller than
29546 2006-02-28 Lillian Angel <langel@redhat.com>
29549 * javax/swing/JList.java
29550 (getPreferredScrollableViewportSize): Added a check to determine
29551 if orientation is VERTICAL_WRAP. If it is, we should only
29554 2006-02-28 Lillian Angel <langel@redhat.com>
29557 * javax/swing/ViewportLayout.java:
29558 Patch submitted by Audrius Meskauskas
29559 (addLayoutComponent): Added documentation.
29560 (removeLayoutComponent): Likewise.
29561 (preferredLayoutSize): Likewise.
29562 (minimumLayoutSize): Likewise.
29563 (layoutContainer): Fixed code, so view is set
29564 to the right position when inside a scrollpane.
29566 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29568 * java/math/BigInteger.java:
29569 Committed patch by Rafael:
29570 developer.classpath.org/pipermail/classpath-patches/
29571 2006-February/000473.html
29572 (signum): Return early 0 if words == null and ival == 0.
29573 (readObject): Handle special case of magnitude.length or signum being
29575 (writeObject): If signum is zero return a zero-sized byte[].
29577 2006-02-28 Lillian Angel <langel@redhat.com>
29579 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29580 (create): Initially set the directory to the current working directory.
29581 (setDirectory): Removed else-if. No need for this check.
29583 2006-02-28 Tom Tromey <tromey@redhat.com>
29585 * .project: Run java builder before header generation.
29587 2006-02-28 Tom Tromey <tromey@redhat.com>
29589 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29591 * gnu/java/util/prefs/EventDispatcher.java: New file.
29592 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29593 (NodeWriter): Specify UTF-8.
29594 (writeHeader): Emit DOCTYPE.
29595 * java/util/prefs/Preferences.java (getFactory): Add cause to
29597 (exportNode): Documented.
29598 (exportSubtree): Likewise.
29599 (importPreferences): Likewise.
29600 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29601 (writeObject): Likewise.
29602 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29603 (writeObject): Likewise.
29604 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29605 (nodeListeners): New field.
29606 (preferenceListeners): Likewise.
29607 (addNodeChangeListener): Implemented.
29608 (addPreferenceChangeListener): Likewise.
29609 (removeNodeChangeListener): Likewise.
29610 (removePreferenceChangeListener): Likewise.
29611 (fire): New methods.
29613 (remove): Likewise.
29614 (purge): Likewise. Fixed synchronization.
29615 (removeNode): Fixed synchronization.
29616 (getNode): Fire event.
29617 (flushNode): Fixed synchronization.
29619 2006-02-28 Roman Kennke <kennke@aicas.com>
29621 * javax/swing/text/BranchElement.java
29622 (startOffset): New field.
29623 (endOffset): New field.
29624 (BranchElement): Initialize new fields.
29625 (getEndOffset): Rewritten to possibly return cached values
29626 if element has no children.
29627 (getStartOffset): Rewritten to possibly return cached values
29628 if element has no children.
29629 * javax/swing/text/LeafElement.java
29630 (startDelta): New field.
29631 (endDelta): New field.
29632 (LeafElement): Handle possible delta of start/endOffset when
29633 these parameters lie outside the document range.
29634 (getStartOffset): Handle possible startDelta.
29635 (getEndOffset): Handle possible startDelta.
29637 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29639 * NEWS: Added line about Unicode 4.0.0 support.
29641 2006-02-28 Roman Kennke <kennke@aicas.com>
29643 * javax/swing/SwingUtilities.java
29644 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29646 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29648 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29650 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29652 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29653 Amended class documentation.
29654 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29656 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29657 a BIT STRING construct.
29658 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29660 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29662 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29663 a BIT STRING construct.
29664 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29665 (engineVerify): Added logging.
29667 2006-02-28 Roman Kennke <kennke@aicas.com>
29669 * java/awt/Component.java
29670 (dispatchEventImpl): Let the Toolkit dispatch global events.
29671 * java/awt/Container.java
29672 (dispatchEventImpl): Let the LightweightDispatcher handle events
29674 * java/awt/EventQueue.java
29675 (dispatchEvent): Don't do the global event dispatching here. This
29676 is moved to the Component.
29677 (globalDispatchEvent): Moved this method to Toolkit.
29678 * java/awt/LightweightDispatcher.java
29679 (instances): New field.
29680 (getInstance): New method. Delivers an instance of
29681 LightweightDispatcher.
29682 (LightweightDispatcher): Made default constructor private.
29683 (dispatchEvent): New method. Replaces the eventDispatched method.
29684 This now returns true when the event was actually dispatched.
29685 (eventDispatched): Replaced by dispatchEvent.
29686 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29687 received the last MOUSE_RELEASED.
29688 * java/awt/Toolkit.java
29689 (Toolkit): Don't register LightweightDispatcher as global event
29691 (globalDispatchEvent): Moved here from EventQueue.
29693 2006-02-27 David Daney <ddaney@avtrex.com>
29696 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29698 (getRequestProperties): Rewrote.
29700 2006-02-27 David Daney <ddaney@avtrex.com>
29703 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29705 (ChunkedInputStream): Extend InputStream.
29707 (headers): Moved to top of class.
29708 (constructor): Save referenct to in.
29709 (read(byte[])): Removed method.
29710 (read(byte[], int, int)): Made synchronized and throw IOException
29711 on error parsing chunk header.
29712 (available): New method.
29713 (close): New method.
29715 2006-02-27 David Daney <ddaney@avtrex.com>
29717 * gnu/java/net/protocol/http/HTTPURLConnection.java
29718 (imports): Cleaned up.
29719 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29720 (constructor): ... Here, using SystemProperties instead of System.
29722 2006-02-27 Lillian Angel <langel@redhat.com>
29724 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29725 (setDirectory): GtkFileChooser requires an absolute directory
29726 name. Added a check to make the directory passed to nativeSetDirectory
29729 2006-02-27 Roman Kennke <kennke@aicas.com>
29731 * javax/swing/SwingUtilities.java
29732 (computeIntersection): Changed to store result in rect, instead of
29733 creating new Rectangle instances. Fixed API docs accordingly.
29734 (computeUnion): Changed to store result in rect, instead of
29735 creating new Rectangle instances. Fixed API docs accordingly.
29737 2006-02-27 Roman Kennke <kennke@aicas.com>
29739 * javax/swing/JViewport.java
29740 (static_init): Changed default scrollmode to BLIT.
29741 (paintSimple): Added some clipping to avoid painting problems.
29742 (paintBlit): Added some clipping to avoid painting problems.
29744 2006-02-27 Roman Kennke <kennke@aicas.com>
29746 * javax/swing/JComponent.java
29747 (rectCache): Made field static to save memory.
29748 (getVisibleRect): Don't use rectCache and create new Rectangle
29750 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29751 (repaint(long,int,int,int,int)): Directly call
29752 RepaintManager.addDirtyRegion(). The visibleRect check is now
29753 performed in the RepaintManager.
29755 2006-02-27 Roman Kennke <kennke@aicas.com>
29757 * javax/swing/RepaintManager.java
29758 (currentRepaintManagers): Made field private.
29759 (rectCache): New field.
29760 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29761 component. Changed Rectangle handling to avoid unnecessary new
29762 Rectangle instances.
29763 (getOffscreenBuffer): Create buffer with size of the root window.
29764 Respect the maximum buffer size here.
29765 (commitBuffer): Align the regions so that they are inside the buffer
29766 image and inside the clip. This avoids problems with a bug in GTKImage.
29767 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29769 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29771 * native/fdlibm/e_acos.c,
29772 * native/fdlibm/e_asin.c,
29773 * native/fdlibm/e_atan2.c,
29774 * native/fdlibm/e_cosh.c,
29775 * native/fdlibm/e_exp.c,
29776 * native/fdlibm/e_fmod.c,
29777 * native/fdlibm/e_hypot.c,
29778 * native/fdlibm/e_log.c,
29779 * native/fdlibm/e_log10.c,
29780 * native/fdlibm/e_rem_pio2.c,
29781 * native/fdlibm/e_remainder.c,
29782 * native/fdlibm/e_sinh.c,
29783 * native/fdlibm/e_sqrt.c,
29784 * native/fdlibm/k_cos.c,
29785 * native/fdlibm/k_sin.c,
29786 * native/fdlibm/k_tan.c,
29787 * native/fdlibm/s_atan.c,
29788 * native/fdlibm/s_cbrt.c,
29789 * native/fdlibm/s_ceil.c,
29790 * native/fdlibm/s_copysign.c,
29791 * native/fdlibm/s_cos.c,
29792 * native/fdlibm/s_expm1.c,
29793 * native/fdlibm/s_fabs.c,
29794 * native/fdlibm/s_finite.c,
29795 * native/fdlibm/s_floor.c,
29796 * native/fdlibm/s_log1p.c,
29797 * native/fdlibm/s_rint.c,
29798 * native/fdlibm/s_scalbn.c,
29799 * native/fdlibm/s_sin.c,
29800 * native/fdlibm/s_tan.c,
29801 * native/fdlibm/s_tanh.c:
29802 Fixed to call our macros rather than __HI and __LO.
29803 * native/fdlibm/fdlibm.h:
29804 Reintroduced previous extraction code.
29805 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29806 (GET_HIGH_WORD(i,d)): Readded.
29807 (GET_LOW_WORD(i,d)): Readded.
29808 (INSERT_WORDS(d,ix0,ix1)): Readded.
29809 (SET_HIGH_WORD(d,i)): Readded.
29810 (SET_LOW_WORD(d,i)): Readded.
29811 * native/jni/gtk-peer/gthread-jni.c:
29812 Use Glib macros to convert integers/pointers portably.
29814 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29816 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29817 as the fallback SPI.
29818 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29819 ones referencing GNU-CRYPTO classes.
29820 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29821 (engineValidate): Use GNU-CRYPTO class.
29822 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29823 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29824 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29825 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29826 * gnu/java/security/provider/DSAParameters: Likewise.
29827 * gnu/java/security/provider/DSASignature: Likewise.
29828 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29829 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29830 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29831 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29832 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29833 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29834 * gnu/java/security/provider/MD2withRSA: Likewise.
29835 * gnu/java/security/provider/MD4withRSA: Likewise.
29836 * gnu/java/security/provider/MD5: Likewise.
29837 * gnu/java/security/provider/MD5withRSA: Likewise.
29838 * gnu/java/security/provider/RSA: Likewise.
29839 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29840 * gnu/java/security/provider/SHA: Likewise.
29841 * gnu/java/security/provider/SHA1PRNG: Likewise.
29842 * gnu/java/security/provider/SHA1withRSA: Likewise.
29843 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29845 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29847 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29848 (engineGeneratePublic): Added logging.
29849 (engineGeneratePrivate): Likewise.
29850 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29851 (encodePublicKey): Added logging.
29852 Clarified in method documentation that params is optional, but is
29853 always NULL if present.
29854 (decodePublicKey): Added logging.
29855 Handle optional NULL element.
29857 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29859 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29861 2006-03-03 Tom Tromey <tromey@redhat.com>
29863 * java/awt/MenuBar.java (shortcuts): Genericized.
29865 2006-03-03 Tom Tromey <tromey@redhat.com>
29867 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29869 (getListenerType): Likewise.
29870 * java/beans/Introspector.java (getBeanInfo): Genericized.
29871 * java/beans/DefaultPersistenceDelegate.java (initialize):
29874 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29876 * java/math/BigDecimal.java:
29877 (precision): Fixed overflow problem with large numbers.
29878 (longValueExact): New method.
29879 (intValueExact): Likewise.
29880 (byteValueExact): Likewise.
29881 (shortValueExact): Likewise.
29883 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29885 * java/math/BigDecimal.java:
29886 (remainder(BigDecimal)): New method.
29887 (divideAndRemainder(BigDecimal)): Likewise.
29888 (divideToIntegralValue(BigDecimal)): Likewise.
29889 (floor): New implementation method.
29891 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29893 * java/math/BigDecimal.java:
29894 (divide(BigDecimal, int, RoundingMode)): New method.
29895 (divide(BigDecimal, RoundingMode)): Likewise.
29896 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29897 when the new scale is < 0.
29898 (setScale(int, RoundingMode)): New method.
29901 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29903 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29904 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29905 (add(BigDecimal, MathContext)): New method.
29906 (subtract(BigDecimal, MathContext)): Likewise.
29907 (precision): Fixed to correctly handle BigIntegers with more than 19
29909 (pow(int, MathContext)): New method.
29911 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29913 * java/math/BigDecimal.java: Added @throws clause to constructors.
29914 (mathContext): Removed this unneeded field.
29915 (BigDecimal(int, MathContext)): New constructor.
29916 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29917 (multiply(BigDecimal, MathContext)): New method.
29918 (negate(MathContext)): Likewise.
29919 (plus(MathContext)): Likewise.
29920 (numDigitsInLong): Fixed to properly handle negatives.
29922 2006-02-25 Chris Burdess <dog@gnu.org>
29924 * gnu/java/net/CRLFInputStream.java,
29925 gnu/java/net/LineInputStream.java: Streams that use mark
29926 capabilities on the underlying stream do not expose mark
29927 functionality themselves.
29928 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29931 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29933 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29934 option flags passed to match methods.
29935 (MF_FIND_ALL): New flag.
29936 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29937 do not try other possibilties once a match is found.
29938 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29939 so that all possibilities can be found.
29940 (match): Rewritten using new methods matchMinimum and _match.
29941 (_match): New method which performs a depth-first recursive search.
29942 (matchMinimum): New method.
29943 (initVisited), (visitedContains), (addVisited): New methods for
29944 manipulating an array of icharacter positions which _match has
29947 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29949 * java/math/BigDecimal.java:
29950 (BigDecimal(long, MathContext)): New constructor.
29951 (BigDecimal(BigInteger, MathContext)): Likewise.
29952 (BigDecimal(String, MathContext)): Likewise.
29953 (BigDecimal(double, MathContext)): Likewise.
29954 (round): Fixed a typo where the precision field was used instead of a
29955 call to the precision method, and also store the new precision in the
29956 returned BigDecimal.
29957 (abs(MathContext)): New method.
29959 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29961 * java/math/BigDecimal.java
29962 (toBigInteger): Fixed problem where this method couldn't handle
29963 negative values for scale.
29964 (toBigIntegerExact): New method.
29965 (stripTrailingZeros): Likewise.
29967 2006-02-24 David Daney <ddaney@avtrex.com>
29970 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29972 (Pool): New inner class.
29973 (timeLastUsed): New field.
29974 (setPool): Changed parameter type to Pool.
29975 (release): Moved pool management logic to new class Pool.
29976 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29978 (maxConnections) : Removed.
29979 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29980 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29982 2006-02-24 Lillian Angel <langel@redhat.com>
29984 * java/awt/Container.java:
29985 Added new field. True if Container has been cleared and
29986 heavyweights need to be repainted.
29987 (paint): Fixed comment. Fixed to use backCleared and
29989 (update): Set backCleared to true after the background
29990 of the container has been cleared.
29992 2006-02-24 Lillian Angel <langel@redhat.com>
29994 * java/awt/TextField.java
29995 (addNotify): Added call to super.
29997 2006-02-24 Lillian Angel <langel@redhat.com>
29999 * java/awt/Component.java
30000 (reshape): Reverted last patch. Should have check here.
30001 (addNotify): Added check. If parent is lightweight, then
30002 initialize listener on the parent.
30003 (HeavyweightInLightweightListener): New class.
30005 2006-02-24 Roman Kennke <kennke@aicas.com>
30007 * javax/swing/plaf/basic/BasicComboPopup.java
30008 (show): Register the popup with the autocloser after it has been
30009 opened completely, by putting the registration on the eventqueue.
30011 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30013 * gnu/java/security/prng/BasePRNG.java:
30014 (clone()): Added cast of buffer to byte[].
30015 * gnu/javax/crypto/mac/TMMH16.java:
30016 (clone()): Fixed casting of cloned arrays.
30017 * native/fdlibm/fdlibm.h:
30018 Added missing defines from old fdlibm.h needed by Darwin.
30019 (GET_FLOAT_WORD(i,d)): Re-added.
30020 (SET_FLOAT_WORD(d,i)): Re-added.
30022 2006-02-24 Roman Kennke <kennke@aicas.com>
30024 * java/awt/Container.java:
30025 (dispatcher): Removed field.
30026 (dispatchEventImpl): Removed lightweight dispatching.
30027 (addNotifyContainerChildren): Removed LightweightDispatcher
30029 (LightweightDispatcher): Removed class.
30030 * java/awt/LightweightDispatcher.java: New class.
30031 * java/awt/Toolkit.java
30032 (Toolkit): Install LightweightDispatcher in global listener
30035 2006-02-24 Chris Burdess <dog@gnu.org>
30038 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30041 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30043 * NEWS: Mentions the VMMath runtime changes.
30044 * doc/vmintegration.texinfo: Updated to include
30047 2006-02-24 Roman Kennke <kennke@aicas.com>
30049 * javax/swing/plaf/basic/BasicLookAndFeel.java
30050 (PopupHelper.autoClosePopups): New field.
30051 (PopupHelper.mousePressed): Also autoclose any registered popups.
30052 (PopupHelper.registerForAutoClose): New method.
30053 (PopupHelper.autoClosePopups): New method.
30054 (popupHelper): Changed type of field to PopupHelper.
30055 (registerForAutoClose): New method.
30056 * javax/swing/plaf/basic/BasicComboPopup.java
30057 (show): Register this popup for autoclosing.
30059 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
30061 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30062 * gnu/java/security/prng/MDGenerator.java (clone): New method.
30063 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30065 2006-02-24 Roman Kennke <kennke@aicas.com>
30067 Reported by Ingo Proetel <proetel@aicas.com>
30068 * java/util/logging/LogManager.java
30069 (addLogger): Search the parent loggers for log level
30070 configuration and inherit that.
30071 (readConfiguration): Provide minimal default configuration
30072 if no configuration can be found otherwise.
30074 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30076 * java/math/BigDecimal.java:
30077 (toString): Fixed a problem where the negative sign was being displayed
30078 twice in the exponent.
30079 (toEngineeringString): New method.
30080 (toPlainString): Likewise.
30083 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30085 * java/math/BigDecimal.java:
30086 (toString): Rewrote this method to behave as specified. Added API
30087 comments to explain behaviour.
30088 (scaleByPowerOfTen): New method.
30090 2006-02-23 Roman Kennke <kennke@aicas.com>
30092 * javax/swing/JRootPane.java
30093 (isOptimizedDrawingEnabled): Implemented to return true
30094 when the glassPane is not visible.
30096 2006-02-23 Roman Kennke <kennke@aicas.com>
30098 * javax/swing/plaf/basic/BasicLookAndFeel.java
30099 (PopupHelper): New inner class.
30100 (popupHelper): New field.
30101 (initialize): New method.
30102 (uninitialize): New method.
30103 * javax/swing/plaf/basic/BasicPopupMenuUI.java
30104 (mouseInputListener): Removed field.
30105 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30106 handling of GlassPane.
30107 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30108 handling of GlassPane.
30109 (MouseInputHandler): Removed class.
30111 2006-02-23 Roman Kennke <kennke@aicas.com>
30113 * java/awt/AWTEvent.java
30114 (eventIdToMask): New utility method.
30115 * java/awt/EventQueue.java
30116 (dispatchEvent): Also globally dispatch events via the toolkit.
30117 (globalDispatchEvent): New method.
30118 * java/awt/Toolkit.java
30119 (awtEventListeners): New field.
30120 (Toolkit()): Initialize new field.
30121 (createComponent): Create GLightweightPeer here.
30122 (addAWTEventListener): Implemented and documented.
30123 (removeAWTEventListener): Implemented and documented.
30124 (getAWTEventListeners): Implemented and documented both method
30126 * java/awt/event/AWTEventListenerProxy.java
30127 (eventDispatched): Don't filter events here.
30129 2006-02-23 Chris Burdess <dog@gnu.org>
30132 * gnu/xml/dom/DomDocumentBuilderFactory.java,
30133 gnu/xml/dom/JAXPFactory.java,
30134 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30135 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30136 implement DocumentBuilderFactory.get/setFeature methods.
30138 2006-02-23 Lillian Angel <langel@redhat.com>
30140 * gnu/java/awt/peer/GLightweightPeer.java
30141 (repaint): Scott's proposed fix. Send repaint to the
30142 component's parent.
30143 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30144 (setBounds): Removed next_parent, not needed. Removed
30145 lightweightChild, we always need to compensate for the
30147 * java/awt/Component.java
30148 (setBounds): Removed check. Caused lots of problems, because some
30149 components were not being invalidated. Components should be
30150 invalidated when they are resized or moved, and in some cases,
30151 when a parent is resized/moved, the components do not know
30152 about it and do not adjust.
30153 * java/awt/Graphics.java
30154 (hitClip): Scott's proposed fix. Added check to handle a
30157 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30159 * javax/print/attribute/standard/MediaSize.java:
30160 (media): Field renamed to mediaName for serialization.
30161 (MediaSize): Adapted to new fieldname.
30162 (getMediaSizeName): Likewise.
30163 * javax/print/attribute/HashAttributeSet.java:
30164 (interfaceName): Field renamed to myInterface for serialization.
30165 (HashAttributeSet): Adapted to the new fieldname.
30167 (addAll): Likewise.
30168 (addInternal): Likewise.
30169 (attributeMap): Made transient.
30170 (readObject): New serialization method.
30171 (writeObject): Likewise.
30172 * javax/print/attribute/AttributeSetUtilities.java:
30173 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30174 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30175 (SynchronizedAttributeSet.addAll): Likewise.
30176 (SynchronizedAttributeSet.clear): Likewise.
30177 (SynchronizedAttributeSet.containsKey): Likewise.
30178 (SynchronizedAttributeSet.containsValue): Likewise.
30179 (SynchronizedAttributeSet.equals): Likewise.
30180 (SynchronizedAttributeSet.get): Likewise.
30181 (SynchronizedAttributeSet.hashCode): Likewise.
30182 (SynchronizedAttributeSet.isEmpty): Likewise.
30183 (SynchronizedAttributeSet.remove): Likewise.
30184 (SynchronizedAttributeSet.size): Likewise.
30185 (SynchronizedAttributeSet.toArray): Likewise.
30186 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30187 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30188 (UnmodifiableAttributeSet.addAll): Likewise.
30189 (UnmodifiableAttributeSet.clear): Likewise.
30190 (UnmodifiableAttributeSet.containsKey): Likewise.
30191 (UnmodifiableAttributeSet.containsValue): Likewise.
30192 (UnmodifiableAttributeSet.equals): Likewise.
30193 (UnmodifiableAttributeSet.get): Likewise.
30194 (UnmodifiableAttributeSet.hashCode): Likewise.
30195 (UnmodifiableAttributeSet.isEmpty): Likewise.
30196 (UnmodifiableAttributeSet.remove): Likewise.
30197 (UnmodifiableAttributeSet.size): Likewise.
30198 (UnmodifiableAttributeSet.toArray): Likewise.
30199 * javax/print/attribute/standard/MediaPrintableArea.java:
30200 (width): Field renamed to w for serialization.
30201 (height): Field renamed to h for serialization.
30202 (MediaPrintableArea): Adapted to the new fieldnames.
30203 (MediaPrintableArea): Likewise.
30204 (equals): Likewise.
30205 (hashCode): Likewise.
30206 (getHeight): Likewise.
30207 (getWidth): Likewise.
30209 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30211 * include/java_lang_VMMath.h:
30212 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30213 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30214 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30215 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30216 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30217 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30218 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30219 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30220 * java/lang/Math.java:
30221 (cbrt(double)): Implemented.
30222 (cosh(double)): Implemented.
30223 (expm1(double)): Implemented.
30224 (hypot(double,double)): Implemented.
30225 (log10(double)): Implemented.
30226 (log1p(double)): Implemented.
30227 (signum(double)): Implemented.
30228 (signum(float)): Implemented.
30229 (sinh(double)): Implemented.
30230 (tanh(double)): Implemented.
30231 * native/fdlibm/Makefile.am:
30232 Added new files from fdlibm 5.3.
30233 * native/fdlibm/e_acos.c,
30234 * native/fdlibm/e_asin.c,
30235 * native/fdlibm/e_atan2.c,
30236 * native/fdlibm/e_exp.c,
30237 * native/fdlibm/e_fmod.c,
30238 * native/fdlibm/e_log.c,
30239 * native/fdlibm/e_rem_pio2.c,
30240 * native/fdlibm/e_remainder.c,
30241 * native/fdlibm/e_scalb.c,
30242 * native/fdlibm/e_sqrt.c,
30243 * native/fdlibm/k_cos.c,
30244 * native/fdlibm/k_rem_pio2.c,
30245 * native/fdlibm/k_sin.c,
30246 * native/fdlibm/k_tan.c,
30247 * native/fdlibm/s_atan.c,
30248 * native/fdlibm/s_ceil.c,
30249 * native/fdlibm/s_copysign.c,
30250 * native/fdlibm/s_cos.c,
30251 * native/fdlibm/s_fabs.c,
30252 * native/fdlibm/s_finite.c,
30253 * native/fdlibm/s_floor.c,
30254 * native/fdlibm/s_rint.c,
30255 * native/fdlibm/s_scalbn.c,
30256 * native/fdlibm/s_sin.c,
30257 * native/fdlibm/s_tan.c,
30258 * native/fdlibm/w_acos.c,
30259 * native/fdlibm/w_asin.c,
30260 * native/fdlibm/w_atan2.c,
30261 * native/fdlibm/w_acos.c,
30262 * native/fdlibm/w_exp.c,
30263 * native/fdlibm/w_fmod.c,
30264 * native/fdlibm/w_log.c,
30265 * native/fdlibm/w_pow.c,
30266 * native/fdlibm/w_remainder.c,
30267 * native/fdlibm/w_sqrt.c:
30268 Updated to fdlibm 5.3.
30269 * native/fdlibm/e_cosh.c,
30270 * native/fdlibm/e_hypot.c,
30271 * native/fdlibm/e_log10.c,
30272 * native/fdlibm/e_sinh.c,
30273 * native/fdlibm/s_cbrt.c,
30274 * native/fdlibm/s_expm1.c,
30275 * native/fdlibm/s_log1p.c,
30276 * native/fdlibm/s_tanh.c,
30277 * native/fdlibm/w_cosh.c,
30278 * native/fdlibm/w_hypot.c,
30279 * native/fdlibm/w_log10.c,
30280 * native/fdlibm/w_sinh.c:
30281 Imported from fdlibm 5.3.
30282 * native/fdlibm/fdlibm.h:
30283 Imported from fdlibm 5.3 with Classpath additions.
30284 * native/fdlibm/namespace.h:
30285 Updated from new math_symbols file.
30286 * native/jni/java-lang/java_lang_VMMath.c:
30287 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30288 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30289 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30290 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30292 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30293 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30294 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30295 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30296 * scripts/math_symbols:
30297 Added tanh, expm1, log10 and log1p.
30298 * vm/reference/java/lang/VMMath.java:
30299 (cbrt(double)): Implemented.
30300 (cosh(double)): Implemented.
30301 (expm1(double)): Implemented.
30302 (hypot(double,double)): Implemented.
30303 (log10(double)): Implemented.
30304 (log1p(double)): Implemented.
30305 (sinh(double)): Implemented.
30306 (tanh(double)): Implemented.
30308 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30310 * javax/print/DocFlavor.java: Added documentation all over.
30311 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30312 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30313 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30314 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30315 (URL.TEXT_HTML_HOST): Likewise.
30316 (URL.TEXT_PLAIN_HOST): Likewise.
30317 (hostEncoding): Initialize with host default charset encoding.
30318 (mediaSubtype): Made transient.
30319 (mediaType): Likewise.
30320 (params): Made transient. Changed type to TreeMap.
30321 (className): Removed, changed to myClassName.
30322 (myClassName): New field as defined in serialized form.
30323 (DocFlavor): Adapted to new variable types, names.
30324 (parseMimeType): Reimplemented.
30325 (getParameter): Search with lowercase name.
30326 (getRepresentationClassName): Adapted to changed variable name.
30327 (hashCode): Likewise.
30328 (toString): Reimplemented.
30329 (readObject): New method for serialization.
30330 (writeObject): Likewise.
30332 2006-02-23 Roman Kennke <kennke@aicas.com>
30334 * javax/swing/RepaintManager.java
30335 (commitBuffer): Clip the repaint area with the current clip.
30337 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30339 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30340 (DEFAULT_PRIME_SIZE): Made public.
30341 (DEFAULT_EXPONENT_SIZE): Likewise.
30342 (setup): Handle DHParameterSpec as well.
30343 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30344 defaultFormat instead of Raw.
30345 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30346 (checkIsConstructed): Removed.
30347 (checkIsBigInteger): Likewise.
30348 (decodePublicKey): Use DerUtil.
30349 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30350 (checkIsConstructed): Removed.
30351 (checkIsBigInteger): Likewise.
30352 (decodePrivateKey): Use DerUtil.
30353 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30355 Added mappings for AlgorithmParameters.DH and
30356 AlgorithmParameterGenerator.DH.
30357 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30358 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30359 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30360 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30362 (engineGeneratePublic): Likewise.
30363 * gnu/java/security/util/DerUtil.java: New file.
30364 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30365 Include only valid RSA PKCS1 (v1.5) signature names.
30366 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30367 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30368 (checkIsConstructed): Likewise.
30369 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30370 (checkIsConstructed): Removed.
30371 (checkIsBigInteger): Likewise.
30372 (decodeSignature): Use DerUtil.
30373 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30374 (checkIsConstructed): Removed.
30375 (checkIsBigInteger): Likewise.
30376 (decodePublicKey): Use DerUtil.
30377 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30378 (checkIsConstructed): Removed.
30379 (checkIsBigInteger): Likewise.
30380 (decodePrivateKey): Use DerUtil.
30381 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30382 (checkIsConstructed): Removed.
30383 (checkIsBigInteger): Likewise.
30384 (decodePublicKey): Use DerUtil.
30385 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30386 (checkIsConstructed): Removed.
30387 (checkIsBigInteger): Likewise.
30388 (decodePrivateKey): Use DerUtil.
30389 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30390 (DEFAULT_MODULUS_LENGTH): Made it public.
30391 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30392 defaultFormat instead of Raw.
30393 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30394 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30395 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30397 (engineGeneratePublic): Likewise.
30398 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30400 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30402 * java/math/BigDecimal.java:
30403 (BigDecimal(char[], int, int, MathContext)): New constructor.
30404 (BigDecimal(char[], MathContext)): Likewise.
30405 (BigDecimal(char[])): Likewise.
30406 (BigDecimal(char[], int, int)): Likewise.
30407 (BigDecimal(String)): Fixed handling of exponent and scale.
30409 2006-02-22 Mark Wielaard <mark@klomp.org>
30411 * java/awt/Checkbox.java (setState): Check that state actually changed
30412 before calling peer.
30413 (dispatchEventImpl): Set new state if ItemEvent.
30414 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30415 (create): Set currentState.
30416 (setState): Make synchronized, check and set currentState before
30417 calling gtkToggleButtonSetActive.
30418 (postItemEvent): Make synchronized, check and set currentState before
30420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30421 (postItemEventID): Method now takes boolean.
30422 (item_toggled_cb): Likewise.
30424 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30426 * javax/swing/text/DefaultHighlighter.java:
30427 (changeHighlight): Added code to minimize the damaged area.
30429 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30431 * javax/swing/text/PlainView.java:
30432 (getPreferredSpan): Added missing 'break'.
30433 statement which corrects an unwanted fall through.
30434 (updateDamage): Update maxLineLength correctly when text is
30435 removed, call preferenceChanged accordingly.
30436 (viewToModel): Restrict line number to be within 0 and the
30437 number of elements-1.
30439 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30441 * javax/swing/text/Utilities.java:
30442 (getPositionAbove): Prefer first value by changing comparison
30444 (getPositionBelow): Dito.
30446 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30448 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30449 behavior when magic caret position is null.
30451 2006-02-22 Roman Kennke <kennke@aicas.com>
30453 * javax/swing/JTextField.java
30454 (isValidateRoot): New method.
30456 2006-02-22 Roman Kennke <kennke@aicas.com>
30458 * javax/swing/JEditorPane.java
30459 (getPreferredSize): Rewritten to behave like the reference impl.
30460 (getScrollableTracksViewportWidth): Likewise.
30461 (getScrollableTracksViewportHeight): Likewise.
30463 2006-02-22 Roman Kennke <kennke@aicas.com>
30465 * javax/swing/RepaintManager.java
30466 (addInvalidComponent): Also consider the component itself.
30468 2006-02-22 Mark Wielaard <mark@klomp.org>
30470 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30471 qualify AbstractDocument.AttributeContext.
30472 (blockOpen): Likewise.
30474 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30476 * java/math/BigDecimal.java:
30477 (mathContext): New field.
30478 (precision): Likewise.
30479 (BigDecimal(int)): New constructor.
30480 (BigDecimal(long)): Likewise.
30481 (BigDecimal(BigInteger)): Added API docs.
30482 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30483 and added API docs.
30484 (plus): New method.
30486 (precision): Likewise.
30487 (valueOf): Likewise.
30488 (numDigitsInLong): New implementation method.
30490 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30492 * java/math/MathContext.java: New class.
30493 * java/math/RoundingMode: New Enum.
30495 2006-02-21 Mark Wielaard <mark@klomp.org>
30497 * java/awt/Component.java (translateEvent): Translate
30498 AdjustmentEvents to 1.0 Events.
30499 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30500 Call setValue() before processing event.
30501 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30502 whether we are currently changing and being called back from the
30503 Scrollbar component.
30504 (setBarValues): New native method.
30505 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30506 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30507 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30508 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30509 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30511 2006-02-21 Roman Kennke <kennke@aicas.com>
30513 * javax/swing/text/View.java
30514 (setParent): Set child parent to null when disconnecting
30515 the view from the View hierarchy.
30517 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30519 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30521 2006-02-21 Roman Kennke <kennke@aicas.com>
30523 * javax/swing/text/WrappedPlainView.java
30524 (calculateBreakPosition): Changed to use the view's allocation instead
30525 of the container's preferredSize.
30527 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30529 * java/awt/CardLayout.java:
30530 (first): Updated api documentation.
30533 (previous): Likewise.
30534 (show): Clarified api docs. Return if name is null. Throw
30535 IllegalArgumentException if layout of container is not this.
30536 (gotoComponent): Updated api documentation. Throw
30537 IllegalArgumentException if layout of container is not this.
30539 2006-02-21 Roman Kennke <kennke@aicas.com>
30541 * javax/swing/text/NavigationFilter.java
30542 (getNextVisualPositionFrom): New method.
30544 2006-02-21 Roman Kennke <kennke@aicas.com>
30546 * javax/swing/plaf/basic/BasicTextUI.java
30547 (RootView.setView): Call setParent() on the view with this as
30548 argument instead of null.
30549 (setView): Don't set root view's parent here.
30551 2006-02-21 Roman Kennke <kennke@aicas.com>
30553 * javax/swing/text/AbstractDocument.java
30554 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30555 the resolving parent.
30556 (AbstractElement.getResolveParent): Fixed to handle possible null
30558 * javax/swing/text/BoxView.java
30559 (childReqs): New field.
30560 (paint): Added debugging code (commented out).
30561 (getPreferredSpan): Rewritten to use new update* methods.
30562 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30563 for the minor axis and preferredSpan for the major axis.
30564 (getMinimumSpan): Rewritten to use new update* methods.
30565 (baselineRequirements): Rewritten to avoid creation of
30566 unnecessary SizeRequirements objects.
30567 (baselineLayout): Rewritten to use new update* methods.
30568 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30569 unnecessary SizeRequirements objects.
30570 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30571 unnecessary SizeRequirements objects.
30572 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30574 (layoutMajorAxis): Rewritten to use new update* methods.
30575 (layoutMinorAxis): Rewritten to use new update* methods.
30576 (getChildRequirements): Replaced by the update* methods.
30577 (getAlignment): Use update* methods.
30578 (updateChildRequirements): New methods. Updates the child requirements
30580 (updateRequirements): New methods. Updates the BoxView requirements
30582 * javax/swing/text/DefaultStyledDocument.java
30583 (ElementBuffer.insert): Added warning for illegal replacement operation.
30584 * javax/swing/text/FlowView.java
30585 (layoutRow): When offset doesn't change, return -1.
30586 (LogicalView): Now subclasses BoxView.
30587 (loadChildren): Let the CompositeView.setParent() load the children
30588 of the logicalView.
30589 (calculateMinorRequirements): New overridden method.
30590 * javax/swing/text/GlyphView.java
30591 (DefaultGlyphPainter.paint): Fixed typo.
30592 (startOffset): Made field private.
30593 (endOffset): Made field private.
30594 (paint): Call getStartOffset() and getEndOffset() instead of the
30596 (isStrikeThrough): Fixed typo.
30597 (breakView): Use Utilities.getBreakLocation() to determine best
30599 (changedUpdate): Call preferencedChange on this instead of parent.
30600 (removeUpdate): Call preferencedChange on this instead of parent.
30601 * javax/swing/text/ParagraphView.java
30602 (Row.getAlignment): For Y_AXIS, call super.
30603 (getAlignment): Likewise.
30604 * javax/swing/text/Utilities.java
30605 (getBreakLocation): Set Segment object directly on the BreakIterator.
30606 * javax/swing/text/html/HTML.java
30607 (Attribute): Made class non-serializable and final as specified.
30608 (Attribute(String)): Made constructor private.
30609 (Attribute.compareTo): Removed.
30610 (Attribute.equals): Removed.
30611 (Attribute.hashCode): Removed.
30612 (Tag): Made class non-comparable and non-serializable as specified.
30613 (Tag.compareTo): Removed.
30614 (Tag.equals): Removed.
30615 (Tag.hashCode): Removed.
30616 * javax/swing/text/html/HTMLDocument.java
30617 (HTMLReader.blockOpen): Add tag as name attribute to element.
30618 * javax/swing/text/html/HTMLEditorKit.java
30619 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30621 * javax/swing/text/html/InlineView.java
30622 (setPropertiesFromAttributes): Call super.
30623 * javax/swing/text/html/NullView.java: New class.
30625 2006-02-21 Roman Kennke <kennke@aicas.com>
30628 * javax/swing/text/GapContent.java
30629 (GapContentPosition): Made class private.
30630 (InsertUndo): Made class private.
30631 (UndoRemove): Made class private.
30632 (WeakPositionComparator): New inner class.
30633 (positions): Made field private.
30634 (createPosition): Clear up GC'ed positions before creating
30635 a new one. Store position as WeakReference.
30636 (getPositionsInRange): Changed to handle WeakReference
30638 (setPositionsInRange): Changed to handle WeakReference
30640 (adjustPositionsInRange): Changed to handle WeakReference
30642 (dumpPositions): Handle WeakReference positions.
30643 (clearPositionReferences): New method.
30645 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30647 * javax/swing/plaf/basic/BasicTextUI.java:
30648 (paint): Remove unneccessary part of the if-expression.
30649 (damageRange): Added case where the range spans multiple lines.
30650 * javax/swing/text/DefaultCaret.java:
30651 (clearHighlight): New method.
30652 (handleHighlight): Removed unneccessary part of the if-expression.
30653 (setDot): Use clearHighlight method.
30654 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30656 (paint): Prevented calling size() on every loop iteration, fixed
30657 calculation of allocation area bounds.
30658 (getHighlights): Implemented.
30659 (removeHighlight): Mark damaged area in textcomponent.
30660 (addHighlight): Mark damaged area in textcomponent.
30661 (changeHighlight): Mark damaged area in textcomponent.
30662 (DefaultHighlighter.HighlightEntry): Made it a real
30663 Highlighter.Highlight implementation.
30664 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30667 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30669 * java/util/zip/ZipConstants.java
30670 (LOCSIG): Change type to long.
30671 (EXTSIG): Likewise.
30672 (CENSIG): Likewise.
30673 (ENDSIG): Likewise.
30674 * java/util/zip/ZipOutputStream.java
30675 (writeLeInt(long)): New method.
30677 2006-02-21 Michael Koch <konqueror@gmx.de>
30679 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30681 2006-02-20 Mark Wielaard <mark@klomp.org>
30683 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30684 (begin_drawing_operation): Output stacktrace and return on bad cairo
30686 (end_drawing_operation): Likewise. And reset cairo_t.
30688 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30690 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30691 in backward selection action.
30693 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30695 * java/lang/reflect/Proxy.java:
30696 (ProxyData.getProxyData): Skipped overriding of core methods.
30697 (ProxyData.isCoreObjectMethod): New method.
30699 2006-02-20 Mark Wielaard <mark@klomp.org>
30701 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30703 2006-02-20 Roman Kennke <kennke@aicas.com>
30705 * javax/swing/text/html/Option.java: New class.
30707 2006-02-20 Lillian Angel <langel@redhat.com>
30709 * java/swt/Window.java
30710 (show): Calling show() on the owned windows caused problems.
30711 Changed back to get the peer and call setVisible.
30713 2006-02-20 Roman Kennke <kennke@aicas.com>
30715 * javax/swing/plaf/basic/BasicTextUI.java
30716 (damageRange): Implemented this method.
30718 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30720 * javax/swing/text/GapContent.java:
30721 (shiftGapEndUp): Corrected new mark value.
30722 * javax/swing/text/AbstractDocument.java:
30723 (remove): Changed order of operations.
30725 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30727 * javax/swing/text/GapContent.java:
30728 (shiftGapEndUp): Reverted.
30729 * javax/swing/text/AbstractDocument.java:
30730 (remove): Reverted.
30732 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30734 * javax/swing/text/GapContent.java:
30735 (shiftGapEndUp): Corrected new mark value.
30736 * javax/swing/text/AbstractDocument.java:
30737 (remove): Changed order of operations.
30739 2006-02-20 Mark Wielaard <mark@klomp.org>
30741 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30743 (insert): Likewise.
30744 (addNotify): Add the item after addNotifying it.
30745 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30746 there is a peer. Use getParent() and setParent() to manipulate parent
30748 (add(Menu)): Use getParent() and setParent() to manipulate parent
30749 field. Call addNotify() and addMenu() when there is a peer.
30750 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30751 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30752 when there is a peer.
30753 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30754 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30755 (setFont): Call setFont(Font).
30756 (setFont(Font)): Document. Only set font when not null.
30757 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30759 (connectSignals): Likewise.
30760 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30762 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30764 (postMenuActionEvent): Document.
30765 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30767 (addItem): Document. Made private.
30768 (addTearOff): Made private.
30769 (connectSignals): New protected overridden method.
30770 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30771 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30772 (create): Document.
30773 (addMenu): Made private, take GtkMenuPeer as argument and document.
30774 (GtkMenuBarPeer): Document.
30775 (nativeSetHelpMenu): Removed.
30776 (addHelpMenu): Implement.
30777 (delMenu): Document.
30778 (addMenu): Implement.
30779 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30780 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30781 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30782 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30785 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30787 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30788 Expect that proxy interfaces may have different class loaders.
30789 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30790 * java/rmi/registry/Registry.java,
30791 * java/rmi/server/UnicastRemoteObject.java:
30792 Documented about proxy stubs.
30793 * gnu/java/rmi/server/CombinedClassLoader.java,
30794 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30795 * NEWS: Added entry.
30797 2006-02-19 Mark Wielaard <mark@klomp.org>
30799 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30800 Parent and Bounds of our children if either or parent is showing, or
30801 we are a Window and are showing ourselves now.
30803 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30805 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30807 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30808 Another stub name fix.
30810 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30812 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30813 Call convertStubName. (convertStubName): New method.
30814 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30815 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30816 (convertStubName): New method.
30817 (getMethodHashCode):
30818 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30819 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30821 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30823 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30825 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30827 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30829 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30831 * javax/swing/JViewport.java (paintBackingStore): If the component has
30832 not been scrolled, only repaint the buffer part, indicated by
30833 the parameter graphics clip.
30835 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30837 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30839 (writePrivateKey): Likewise.
30840 (writeKey): New method.
30841 (getKeyType): Likewise.
30842 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30844 (readPrivateKey): Likewise.
30845 (getKeyPairCodec): New method.
30846 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30847 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30848 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30849 (RSA_PSS_ENCODING): Likewise..
30850 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30851 (RSA_PSS_SIG): Redefined using other constants.
30852 (RSA_PKCS1_V1_5_SIG): Likewise.
30853 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30854 * gnu/java/security/util/FormatUtil.java: New file.
30855 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30856 (getInstance): Let RSASignatureFactory handle RSA signature names.
30857 (getNames): Handle new RSA signature (with format) names.
30858 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30859 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30861 (name): Include hash algorithm name.
30862 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30863 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30864 (RSAPSSSignature): Call constructor with IMessageDigest.
30865 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30866 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30868 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30870 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30871 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30872 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30873 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30874 hash algorithm name to exception.
30875 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30876 * gnu/java/security/key/KeyPairCodecFactory.java
30877 (names): New class field.
30878 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30879 (getInstance(String,String)): New method.
30880 (getInstance(String,int)): New method.
30881 (getInstance(byte[])): Removed.
30882 (getInstance(Key)): Handle new formats.
30883 (getNames): Likewise.
30884 (getEncodingName(int)): Moved to FormatUtil.
30885 (getEncodingShortName(int)): Likewise.
30886 (getRawCodec(String)): New method.
30887 (getX509Codec(String)): Likewise.
30888 (getPKCS8Codec(String)): Likewise.
30889 (getRawCodec(Key)): Likewise.
30890 (getX509Codec(Key)): Likewise.
30891 (getPKCS8Codec(Key)): Likewise.
30892 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30893 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30894 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30895 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30896 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30897 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30898 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30899 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30900 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30902 2006-02-18 Mark Wielaard <mark@klomp.org>
30904 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30906 (NoDragGestureRecognizer): New static class.
30907 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30908 Toolkit doesn't support drag and drop.
30910 2006-02-18 Mark Wielaard <mark@klomp.org>
30912 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30913 (AbstractAction(String)): Just call putValue() for NAME.
30914 (putValue): Nothing to do is old and new value are both null.
30916 2006-02-18 Mark Wielaard <mark@klomp.org>
30918 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30919 through getContentPane().
30920 (preferredLayoutSize): Likewise.
30922 2006-02-18 Mark Wielaard <mark@klomp.org>
30924 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30925 actually set before painting.
30927 2006-02-18 Mark Wielaard <mark@klomp.org>
30929 * javax/swing/text/html/HTMLDocument.java (addContent):
30930 Fully qualify AbstractDocument.AttributeContext and
30931 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30933 2006-02-18 Mark Wielaard <mark@klomp.org>
30935 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30936 (getRepresentationClassFromMime): Add exception cause to
30937 IllegalArgumentException.
30939 2006-02-17 Lillian Angel <langel@redhat.com>
30941 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30942 Removed unneeded import.
30943 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30944 Removed unneeded imports.
30945 * java/awt/BorderLayout.java:
30946 Fixed comment, this is not yet handled in the JDK 1.5.
30947 * java/awt/Container.java:
30948 Removed unneeded import.
30950 2006-02-17 Lillian Angel <langel@redhat.com>
30952 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30953 (setBounds): Removed check. Coordinates should always be changed
30954 to incorporate the parent's coordinates.
30955 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30956 (setMenuBar): Added checks. Don't validate component if it has
30957 not been validated yet, it will be validated later. Only validate
30958 if it has already been validated, in that case it needs to be
30960 * java/awt/Window.java
30961 (show): Added check. If the window is visible, then bring it to the
30962 front. Otherwise, iterate through all its children windows and show them.
30963 No need to do both.
30965 2006-02-17 Roman Kennke <kennke@aicas.com>
30967 * javax/swing/text/html/ParagraphView.java: New file.
30969 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30971 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30972 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30973 same location where was the initial text.
30974 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30976 2006-02-17 Chris Burdess <dog@gnu.org>
30978 Fixes PRs 26319, 26320, 26321, 26322, 26325
30979 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30980 rethrowing exception.
30981 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30982 1.1-style prefix unbinding in 1.0 document" error for xmlns
30983 prefixes, not xmlns attributes. Fix a problem with empty namespace
30984 stack at the end of a document. Permit parameter entity references
30985 in element and attribute-list definition name area. Corrected
30986 normalisation of whitespace character entity references in CDATA
30987 attribute values. Fixed number of characters read following a
30988 reset when detecting end of character data with characters after a
30989 Unicode surrogate pair.
30991 2006-02-17 Roman Kennke <kennke@aicas.com>
30993 * javax/swing/text/html/HTMLEditorKit.java
30994 (HTMLFactory.create): Create InlineView for content tags.
30995 * javax/swing/text/html/HTMLDocument.java
30996 (HTMLReader.flush): Call create() on first flush and insert
30997 on subsequent flushes.
30999 2006-02-17 Roman Kennke <kennke@aicas.com>
31001 * javax/swing/text/AbstractDocument.java
31002 (BranchElement.getStartOffset): Implemented workaround for wrong
31004 (BranchElement.getEndOffset): Implemented workaround for wrong
31006 (ElementBuffer.split): Use createBranchElement() instead of
31007 new BranchElement().
31008 (ElementBuffer.insertFracture): Use createBranchElement() instead of
31009 new BranchElement().
31010 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31011 instead of new BranchElement().
31012 (createDefaultRoot): Use createBranchElement() and createLeafElement
31013 instead of the constructors.
31014 (create): Rewritten.
31016 2006-02-17 Keith Seitz <keiths@redhat.com>
31018 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31019 (SIZE): New constant.
31020 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31021 (executeIDsizes): Use SIZE constant.
31022 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31023 (SIZE): New constant.
31025 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31027 * javax/swing/JTable.java (IconCellRenderer): Set the component
31028 text to empty string. (createDefaultRenderers): Register
31029 IconCellRenderer also for ImageIcon.
31030 (getCellEditor(int, int), getCellRenderer(int, int)):
31031 Use model index for data model and column index for column model.
31032 (getColumnClass): Convert to model index before requesting class
31035 2006-02-17 Roman Kennke <kennke@aicas.com>
31037 * javax/swing/text/html/HTMLDocument.java
31038 (createDefaultRoot): Implemented.
31039 (createLeafElement): Implemented.
31040 (createBranchElement): Implemented.
31041 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31042 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31043 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31044 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31045 (HTMLReader.blockOpen): Add name attribute with the current tag.
31046 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31048 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31050 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31052 * javax/swing/table/JTableHeader.java: Documenting related methods.
31054 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31057 * gnu/java/net/protocol/ftp/FTPURLConnection.java
31058 (connect): Changed to use SystemProperties.
31059 (getInputStream): Try changeWorkingDirectory to figure out if
31060 url is a directory, if not use retrieve.
31061 (getOutputStream): Don't worry about directories, simply always
31064 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31066 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31067 (ActiveModeDTP): Mark accept thread as daemon.
31069 2006-02-17 Michael Koch <konqueror@gmx.de>
31071 * tools/.cvsignore: Ignore tools.zip.
31073 2006-02-16 Keith Seitz <keiths@redhat.com>
31075 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31076 Set the ID's reference.
31077 (<clinit>): Remove comments for field, method, and frame ID types,
31078 which will not be handled by VMIdManager.
31080 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31082 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31083 Use model index, not the column number.
31084 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31085 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
31086 movement by painting draggingHeaderRect.
31087 * NEWS: Added entry about JTable columns.
31089 2006-02-16 Keith Seitz <keiths@redhat.com>
31091 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31092 default size of eight bytes.
31093 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31094 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31095 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31096 (executeIDsizes): Use new static methods.
31097 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31100 2006-02-16 David Daney <ddaney@avtrex.com>
31103 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31104 return value with 0xff.
31106 2006-02-16 Keith Seitz <keiths@redhat.com>
31108 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31109 (matches): Use Iterator instead of ListIterator.
31111 2006-02-16 Keith Seitz <keiths@redhat.com>
31113 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31114 processor thread for easier debugging.
31115 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31118 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31120 * javax/swing/JTable.java
31121 (TableColumnPropertyChangeHandler.propertyChange): Return without
31122 action if table header resizing column in not null. (doLayout):
31123 Only repaint the header if it is not null.
31124 * javax/swing/plaf/basic/BasicTableHeaderUI.java
31125 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31126 Rewritten. (MouseInputHandler.endResizing): New method.
31128 2006-02-16 Roman Kennke <kennke@aicas.com>
31130 * javax/swing/text/html/InlineView.java: New file.
31132 2006-02-16 Roman Kennke <kennke@aicas.com>
31134 * javax/swing/JTabbedPane.java
31135 (AccessibleJTable.getAccessibleChild): Implemented to return
31136 the Page instance for the specified index.
31137 (Page): Changed to implement Accessible and extend
31139 (Page.getAccessibleContext): New method.
31140 (Page.getAccessibleRole): New method.
31141 (Page.getAccessibleStateSet): New method.
31142 (Page.getAccessibleIndexInParent): New method.
31143 (Page.getAccessibleChildrenCount): New method.
31144 (Page.getAccessibleChild): New methdod.
31145 (Page.getLocale): New method.
31147 2006-02-16 Roman Kennke <kennke@aicas.com>
31149 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31150 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31151 tabCount gets greater than tabRuns.length.
31152 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31153 when tabCount gets greater than tabRuns.length.
31154 (paintTabArea): Don't set tabCount == runCount.
31156 2006-02-16 Roman Kennke <kennke@aicas.com>
31158 * javax/swing/plaf/basic/BasicTextUI.java
31159 (installUI): Moved installation of PropertyChangeListener
31160 to installListeners(). Call modelChanged() after everything is
31162 (installListeners): Install PropertyChangeListener here.
31163 (uninstallUI): Moved uninstallation of PropertyChangeListener
31164 to uninstallListeners.
31165 (uninstallListeners): Uninstall PropertyChangeListener here.
31167 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31169 * javax/swing/JTable.java (doLayout):
31170 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31172 javax/swing/plaf/basic/BasicTableHeaderUI.java
31173 (MouseInputHandler.mouseDragged): Do not repaint the header.
31175 2006-02-16 Roman Kennke <kennke@aicas.com>
31177 * javax/swing/JViewport.java
31178 (static_initializer): Set default scrollMode to backingstore.
31180 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31182 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31183 returned by getCellRect. To not translate the component.
31185 2006-02-16 Roman Kennke <kennke@aicas.com>
31187 * javax/swing/JComponent.java
31188 (rectCache): Made field non-static to avoid nasty interferences.
31189 (computeVisibleRect): Avoid creation of new Rectangles and double
31190 calculations on ints by using Swing.computeIntersection() instead
31191 of Rectangle2D.intersect().
31192 (repaint): Interect the dirty region with the visible rectangle
31193 of this component to avoid unnecessary painting.
31195 2006-02-16 Gary Benson <gbenson@redhat.com>
31197 * java/lang/Thread.java (stop): Add a missing access check.
31199 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31201 * javax/swing/text/JTextComponent.java:
31202 (replaceSelection): Added code to update the magic caret position.
31203 * javax/swing/text/DefaultEditorKit.java: Added code to update
31204 the magic caret position of the text component in all relevant
31205 movement actions, make use of the magic caret position in up
31206 and down movements and selections, simplified some actions
31209 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31211 * gnu/java/lang/CharData.java: Regenerated from
31212 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31213 and scripts/unicode-muncher.pl.
31214 * java/lang/Character.java:
31215 (PrivateUseCharacters): New private static class.
31216 (UnassignedCharacters): Likewise.
31217 (blocks): Changed from char[] to char[][] to reflect the changes in
31218 gnu/java/lang/CharData. There is now one char[] per Unicode code
31221 (numValue): Likewise.
31224 (direction): Likewise.
31225 (readChar): Replaced this method with new method readCodePoint.
31226 (readCodePoint): New method.
31227 (isLowerCase(char)): Redirected to new isLowerCase(int).
31228 (isLowerCase(int)): New method.
31229 (isUpperCase(char)): Redirected to new isUpperCase(int).
31230 (isUpperCase(int)): New method.
31231 (isTitleCase(char)): Redirected to new isTitleCase(int).
31232 (isTitleCase(int)): New method.
31233 (isDigit(char)): Redirected to new isDigit(int).
31234 (isDigit(int)): New method.
31235 (isDefined(char)): Redirected to new isDefined(int).
31236 (isDefined(int)): New method.
31237 (isLetter(char)): Redirected to new isLetter(int).
31238 (isLetter(int)): New method.
31239 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31240 (isLetterOrDigit(int)): New method.
31241 (isJavaIdentifierStart(char)): Redirected to new
31242 isJavaIdentifierStart(int).
31243 (isJavaIdentifierStart(int)): New method.
31244 (isJavaIdentifierPart(char)): Redirected to new
31245 isJavaIdentifierPart(int).
31246 (isJavaIdentifierPart(int)): New method.
31247 (isUnicodeIdentifierStart(char)): Redirected to new
31248 isUnicodeIdentifierStart(int).
31249 (isUnicodeIdentifierStart(int)): New method.
31250 (isUnicodeIdentifierPart(char)): Redirected to new
31251 isUnicodeIdentifierPart(int).
31252 (isUnicodeIdentifierPart(int)): New method.
31253 (isIdentifierIgnorable(char)): Redirected to new
31254 isIdentifierIgnorable(int).
31255 (isIdentifierIgnorable(int)): New method.
31256 (toLowerCase(char)): Changed access to lower to correspond with new
31257 char[][] type of lower.
31258 (toLowerCase(int)) New method.
31259 (toUpperCase(char)): Changed access to upper to correspond with new
31260 char[][] type of upper.
31261 (toUpperCase(int)): New method.
31262 (toTitleCase(int)): New method.
31263 (digit(char, int)): Replaced call to readChar with call to
31264 readCodePoint and changed access to numValue to reflect new char[][]
31266 (digit(int, int)): New method.
31267 (getNumericValue(char)): Changed access to numValue to reflect new
31268 char[][] type of numValue.
31269 (getNumericValue(int)): New method.
31270 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31271 (isSpaceChar(int)): New method.
31272 (isWhitespace(char)): Redirected to new isWhitespace(int).
31273 (isWhitespace(int)): New method.
31274 (isISOControl(char)): Redirected to new isISOControl(int).
31275 (isISOControl(int)): New method.
31276 (getType(char)): Redirected to new getType(int).
31277 (getType(int)): New method.
31278 (getDirectionality(char)): Redirected to new getDirectionality(int).
31279 (getDirectionality(int)): New method.
31280 (isMirrored(char)): Changed call to readChar to readCodePoint.
31281 (isMirrored(int)): New method.
31282 * java/lang/String.java:
31283 (upperCaseExpansion): Changed access to Character.direction to reflect
31284 new char[][] type of direction.
31285 (offsetByCodePoints): New method.
31286 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31287 4.0.0 which introduced supplementary character assignments.
31289 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31291 * javax/swing/JTable.java,
31292 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31293 javax/swing/table/DefaultTableModel.java: Documented.
31295 2006-02-15 Lillian Angel <langel@redhat.com>
31297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31298 Removed duplicate methods.
31300 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31302 * javax/swing/JTable.java (distributeSpillResizing): New method.
31303 (doLayout): Use distributeSpillResizing when resizing.
31304 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31305 Rewritten. (installListeners): Add mouse motion listener.
31306 (uninstallListeners): Remove mouse motion listener.
31308 2006-02-15 Lillian Angel <langel@redhat.com>
31310 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31311 (setVisible): Removed method.
31312 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31313 (setLocation): New method.
31314 (setLocationUnlocked): New method.
31315 (show): Changed to use setLocation instead of setBounds.
31316 * java/awt/Component.java
31317 (show): Should call peer.show(), not peer.setVisible(), so the
31318 location of the component is correctly set.
31319 (preferredSize): Added curly braces so else statements are
31320 properly associated with if's.
31321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31322 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31324 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31325 LocationUnlocked): New function.
31326 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31327 Added declarations for Java_gnu_java_awt_peer_gtk_
31328 GtkWindowPeer_nativeSetLocation and
31329 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31330 _nativeSetLocationUnlocked.
31332 2006-02-15 Mark Wielaard <mark@klomp.org>
31334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31335 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31336 Downcast gtk_plug_new result when used.
31338 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31340 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31341 Call assignNewHandle() after writing Proxy class.
31343 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31346 * java/io/ObjectInputStream.java (readClassDescriptor):
31347 Class doesn't have to be abstract for first_nonserial.
31349 2006-02-15 Roman Kennke <kennke@aicas.com>
31351 * javax/swing/JInternalFrame.java
31352 (setClosed): Call dispose to actually make the frame invisible
31355 2006-02-15 Roman Kennke <kennke@aicas.com>
31357 * javax/swing/JInternalFrame.java
31358 (dispose): Call setVisible(false) instead of hide.
31359 (doDefaultCloseOperation): Likewise.
31361 2006-02-15 Roman Kennke <kennke@aicas.com>
31363 * javax/swing/JComponent.java
31364 (paintChildren): Also check for the visibility of a child component
31365 to avoid artifacts.
31366 (repaint): Simply add this component to the RepaintManager rather than
31367 trying to do useless optimization here.
31369 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31371 * javax/swing/JSpinner.java
31372 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31373 PropertyChangeListener,
31374 (DefaultEditor.getSpinner): Updated API docs,
31375 (DefaultEditor.dismiss): Likewise,
31376 (DefaultEditor.getTextField): Likewise,
31377 (DefaultEditor.layoutContainer): Likewise,
31378 (DefaultEditor.minimumLayoutSize): Likewise,
31379 (DefaultEditor.preferredLayoutSize): Likewise,
31380 (DefaultEditor.propertyChange): Implemented,
31381 (DefaultEditor.stateChanged): Implemented,
31382 (DefaultEditor.removeLayoutComponent): Updated API docs,
31383 (DefaultEditor.addLayoutComponent): Likewise,
31384 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31385 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31386 (NumberEditor.getFormat): Implemented,
31387 (NumberEditor.getModel): Updated API docs,
31388 (NumberEditorFormatter): New static inner class,
31389 (ListEditor.getModel): Updated API docs,
31390 (DateEditor.dateFormat): Removed,
31391 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31392 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31393 (DateEditor.init): Removed,
31394 (DateEditor.getFormat): Reimplemented,
31395 (DateEditorFormatter): New static inner class,
31396 (ModelListener): New inner class,
31397 (model): Updated API docs,
31398 (editor): Likewise,
31399 (listener): Removed,
31400 (JSpinner()): Updated API docs,
31401 (JSpinner(SpinnerModel)): Set up ModelListener,
31402 (setEditor): Fire property change,
31403 (getModel): Updated API docs,
31404 (setModel): Removed check for null editor,
31405 (setValue): Updated API docs,
31406 (getUIClassID): Updated API docs,
31407 (createEditor): Handle SpinnerListModel case,
31408 * javax/swing/plaf/basic/BasicSpinnerUI.java
31409 (createUI): Updated API docs,
31410 (createPropertyChangeListener): Added FIXME,
31411 (installDefaults): Set text field border to null,
31412 (DefaultLayoutManager): Updated API docs,
31413 (DefaultLayoutManager.layoutContainer): Modified layout,
31414 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31415 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31416 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31417 (DefaultLayoutManager.addLayoutComponent): Likewise,
31418 (DefaultLayoutManager.minSize): Renamed prefSize,
31419 (DefaultLayoutManager.setBounds): Reformatted,
31420 (DefaultLayoutManager.editor): Added API docs,
31421 (DefaultLayoutManager.next): Likewise,
31422 (DefaultLayoutManager.previous): Likewise,
31423 * javax/swing/plaf/metal/MetalLookAndFeel.java
31424 (initComponentDefaults): Added entry for 'Spinner.border',
31425 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31427 2006-02-15 Chris Burdess <dog@gnu.org>
31429 * gnu/xml/validation/datatype/BooleanType.java,
31430 gnu/xml/validation/datatype/ByteType.java,
31431 gnu/xml/validation/datatype/DateTimeType.java,
31432 gnu/xml/validation/datatype/DateType.java,
31433 gnu/xml/validation/datatype/DecimalType.java,
31434 gnu/xml/validation/datatype/DoubleType.java,
31435 gnu/xml/validation/datatype/DurationType.java,
31436 gnu/xml/validation/datatype/FloatType.java,
31437 gnu/xml/validation/datatype/GDayType.java,
31438 gnu/xml/validation/datatype/GMonthDayType.java,
31439 gnu/xml/validation/datatype/GMonthType.java,
31440 gnu/xml/validation/datatype/GYearMonthType.java,
31441 gnu/xml/validation/datatype/GYearType.java,
31442 gnu/xml/validation/datatype/IntType.java,
31443 gnu/xml/validation/datatype/IntegerType.java,
31444 gnu/xml/validation/datatype/LongType.java,
31445 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31446 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31447 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31448 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31449 gnu/xml/validation/datatype/NegativeIntegerType.java,
31450 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31451 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31452 gnu/xml/validation/datatype/PositiveIntegerType.java,
31453 gnu/xml/validation/datatype/ShortType.java,
31454 gnu/xml/validation/datatype/SimpleType.java,
31455 gnu/xml/validation/datatype/TimeType.java,
31456 gnu/xml/validation/datatype/TypeBuilder.java,
31457 gnu/xml/validation/datatype/UnsignedByteType.java,
31458 gnu/xml/validation/datatype/UnsignedIntType.java,
31459 gnu/xml/validation/datatype/UnsignedLongType.java,
31460 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31461 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31462 minInclusive facets use the value space of the base type, and
31465 2006-02-15 Mark Wielaard <mark@klomp.org>
31467 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31468 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31469 gtk_plug_new() returns a GtkWindow.
31471 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31473 * javax/swing/SpinnerNumberModel.java
31474 (getNextValue): Check for null maximum,
31475 (getPreviousValue): Check for null minimum.
31477 2006-02-15 Roman Kennke <kennke@aicas.com>
31479 * javax/swing/plaf/basic/BasicTableUI.java
31480 (paint): Paint vertical and horizontal lines one pixel shifted
31483 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31485 * java/util/zip/ZipFile.java
31486 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31487 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31488 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31489 (readEntries): Rewritten to use PartialInputStream.
31490 (locBuf, checkLocalHeader): Removed.
31491 (getInputStream): Rewritten to use new PartialInputStream.
31492 (PartialInputStream): Rewritten to do buffering.
31494 2006-02-15 Michael Koch <konqueror@gmx.de>
31496 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31497 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31498 Make sure the embedded window gets no decorations.
31499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31500 (window_get_frame_extents): Return early of the window has no
31503 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31505 * examples/gnu/classpath/examples/swing/TableDemo.java
31506 (TModel, createContent): Explain which value appears in the header.
31507 * javax/swing/JTable.java (setColumnModel): Only set the
31508 column header value if the getHeaderValue() returns null.
31510 2006-02-14 Mark Wielaard <mark@klomp.org>
31513 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31514 (getErrorImage): New static method.
31515 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31516 (bufferedImageOrError): Renamed to ...
31517 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31518 Returns GtkImage.getErrorImage() when argument null.
31519 (createImage(String)): Always use imageOrError.
31520 (createImage(URL)): Likewise.
31521 (createImage(ImageProducer)): Likewise.
31522 (createImage(byte[],int,int)): Likewise.
31524 2006-02-14 Roman Kennke <kennke@aicas.com>
31526 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31528 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31529 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31530 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31531 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31532 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31534 2006-02-14 Roman Kennke <kennke@aicas.com>
31536 * javax/swing/text/AsyncBoxView.java
31537 (ChildState.locator): Removed wrong field.
31538 (ChildState): Removed initialization of removed field.
31539 (locator): Changed access modifier to be protected as specified.
31541 2006-02-14 Roman Kennke <kennke@aicas.com>
31543 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31544 * javax/swing/Timer.java: Some small reindention.
31545 (task): Made package private to avoid synthetic accessor method.
31547 2006-02-14 Roman Kennke <kennke@aicas.com>
31549 * javax/swing/SwingUtilities.java
31550 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31553 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31555 * examples/gnu/classpath/examples/swing/TableDemo.java:
31556 Making the columns variable width.
31557 * javax/swing/JTable.java (distributeSpill, doLayout):
31558 Call getPreferredSize and not getSize().
31560 2006-02-14 Roman Kennke <kennke@aicas.com>
31562 * javax/swing/DefaultCellEditor.java
31563 (DefaultCellEditor): API doc fixlet.
31565 2006-02-14 Roman Kennke <kennke@aicas.com>
31567 * javax/swing/JViewport.java
31568 (isPaintRoot): New field.
31569 (repaint): Only call super here. Also added a comment regarding
31570 the diversion from the JDK.
31571 (paintBlit): Implemented real blitting.
31572 (paintImmediately2): New method. Overrides the same package private
31573 method in JComponent.
31575 2006-02-14 Roman Kennke <kennke@aicas.com>
31577 * javax/swing/plaf/basic/BasicTableUI.java
31578 (paint): Check for boundary cases when determining the painting
31581 2006-02-14 Mark Wielaard <mark@klomp.org>
31583 * java/awt/Menu.java (add): Always set parent of item to this. Call
31584 addNotify() on item when we have a MenuPeer already.
31585 (insert): Always adjust parent for item. Call addNotify() on item if
31586 we already have a peer.
31587 (remove(int)): Always clear item parent. Call removeNotify() on item
31590 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31592 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31593 row == getRowCount().
31595 2006-02-14 Lillian Angel <langel@redhat.com>
31597 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31598 (setVisible): New method to override super. Need to set the
31599 native bounds of the component, so it appears at the
31602 2006-02-14 Mark Wielaard <mark@klomp.org>
31604 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31605 (remove): If menu component is the current MenuBar remove it,
31606 otherwise call super.remove().
31607 * java/awt/MenuBar.java (frame): Remove field.
31608 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31610 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31612 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31613 to NameServicePersistent.
31614 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31615 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31617 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31619 * NEWS: Updated tool status.
31620 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31621 (constructor, bind, rebind): Rewritten.
31622 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31623 * tools/gnu/classpath/tools/giop/README: Updated.
31624 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31625 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31626 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31627 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31628 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31631 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31633 * javax/swing/JComponent.java
31634 (getListeners): Check for PropertyChangeListener.class and delegate to
31635 getPropertyChangeListeners() for that case.
31637 2006-02-13 Roman Kennke <kennke@aicas.com>
31639 * javax/swing/plaf/basic/BasicTableUI.java
31640 (paint): Determine the cells that need painting based on the
31641 current clip. Use getCellRect() for calculating the cell
31644 2006-02-13 Roman Kennke <kennke@aicas.com>
31646 * javax/swing/JTable.java
31647 (rectCache): New field.
31648 (getCellRect): Returns cached Rectangle instance.
31650 2006-02-13 Roman Kennke <kennke@aicas.com>
31652 * javax/swing/JLayeredPane.java
31653 (removeAll): New method. Avoid potential memory leak.
31654 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31657 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31659 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31660 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31662 2006-02-13 Tom Tromey <tromey@redhat.com>
31664 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31665 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31667 2006-02-13 Roman Kennke <kennke@aicas.com>
31669 * javax/swing/RepaintManager.java
31670 (offscreenBuffers): New field.
31671 (doubleBuffer): Removed field.
31672 (repaintUnderway): New field.
31673 (commitRequests): New field.
31674 (RepaintManager): Initialize new fields.
31675 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31677 (getOffscreenBuffer): Returns the offscreen buffer for the
31678 corresponding root component.
31679 (commitBuffer): New method.
31680 (commitRemainingBuffers): New method.
31681 * javax/swing/JComponent.java
31682 (paint): Call paintDoubleBuffered with the current clip.
31683 (paintImmediately2): Don't paint on screen here.
31684 (paintDoubleBuffered): Rewritten for real double buffering.
31685 (paintSimple): Draw to screen in this method.
31687 2006-02-13 Roman Kennke <kennke@aicas.com>
31689 * javax/swing/JRootPane.java
31690 (JRootPane): Set opaque property to true.
31692 2006-02-13 Tom Tromey <tromey@redhat.com>
31694 * .classpath: Updated for external/relaxngDatatype.
31696 2006-02-13 Chris Burdess <dog@gnu.org>
31698 * gnu/xml/stream/UnicodeReader.java,
31699 gnu/xml/validation/datatype/Annotation.java,
31700 gnu/xml/validation/datatype/AnySimpleType.java,
31701 gnu/xml/validation/datatype/AnyType.java,
31702 gnu/xml/validation/datatype/AnyURIType.java,
31703 gnu/xml/validation/datatype/AtomicSimpleType.java,
31704 gnu/xml/validation/datatype/Base64BinaryType.java,
31705 gnu/xml/validation/datatype/BooleanType.java,
31706 gnu/xml/validation/datatype/ByteType.java,
31707 gnu/xml/validation/datatype/DateTimeType.java,
31708 gnu/xml/validation/datatype/DateType.java,
31709 gnu/xml/validation/datatype/DecimalType.java,
31710 gnu/xml/validation/datatype/DoubleType.java,
31711 gnu/xml/validation/datatype/DurationType.java,
31712 gnu/xml/validation/datatype/EntitiesType.java,
31713 gnu/xml/validation/datatype/EntityType.java,
31714 gnu/xml/validation/datatype/EnumerationFacet.java,
31715 gnu/xml/validation/datatype/Facet.java,
31716 gnu/xml/validation/datatype/FloatType.java,
31717 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31718 gnu/xml/validation/datatype/GDayType.java,
31719 gnu/xml/validation/datatype/GMonthDayType.java,
31720 gnu/xml/validation/datatype/GMonthType.java,
31721 gnu/xml/validation/datatype/GYearMonthType.java,
31722 gnu/xml/validation/datatype/GYearType.java,
31723 gnu/xml/validation/datatype/HexBinaryType.java,
31724 gnu/xml/validation/datatype/IDRefType.java,
31725 gnu/xml/validation/datatype/IDRefsType.java,
31726 gnu/xml/validation/datatype/IDType.java,
31727 gnu/xml/validation/datatype/IntType.java,
31728 gnu/xml/validation/datatype/IntegerType.java,
31729 gnu/xml/validation/datatype/LanguageType.java,
31730 gnu/xml/validation/datatype/LengthFacet.java,
31731 gnu/xml/validation/datatype/ListSimpleType.java,
31732 gnu/xml/validation/datatype/LongType.java,
31733 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31734 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31735 gnu/xml/validation/datatype/MaxLengthFacet.java,
31736 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31737 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31738 gnu/xml/validation/datatype/MinLengthFacet.java,
31739 gnu/xml/validation/datatype/NCNameType.java,
31740 gnu/xml/validation/datatype/NMTokenType.java,
31741 gnu/xml/validation/datatype/NMTokensType.java,
31742 gnu/xml/validation/datatype/NameType.java,
31743 gnu/xml/validation/datatype/NegativeIntegerType.java,
31744 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31745 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31746 gnu/xml/validation/datatype/NormalizedStringType.java,
31747 gnu/xml/validation/datatype/NotationType.java,
31748 gnu/xml/validation/datatype/PatternFacet.java,
31749 gnu/xml/validation/datatype/PositiveIntegerType.java,
31750 gnu/xml/validation/datatype/QNameType.java,
31751 gnu/xml/validation/datatype/ShortType.java,
31752 gnu/xml/validation/datatype/SimpleType.java,
31753 gnu/xml/validation/datatype/StringType.java,
31754 gnu/xml/validation/datatype/TimeType.java,
31755 gnu/xml/validation/datatype/TokenType.java,
31756 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31757 gnu/xml/validation/datatype/Type.java,
31758 gnu/xml/validation/datatype/TypeBuilder.java,
31759 gnu/xml/validation/datatype/TypeLibrary.java,
31760 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31761 gnu/xml/validation/datatype/UnionSimpleType.java,
31762 gnu/xml/validation/datatype/UnsignedByteType.java,
31763 gnu/xml/validation/datatype/UnsignedIntType.java,
31764 gnu/xml/validation/datatype/UnsignedLongType.java,
31765 gnu/xml/validation/datatype/UnsignedShortType.java,
31766 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31767 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31768 RELAX NG datatype library implementation for XML Schema Datatypes.
31770 2006-02-13 Chris Burdess <dog@gnu.org>
31776 external/Makefile.am,
31777 external/relaxngDatatype/.cvsignore,
31778 external/relaxngDatatype/Makefile.am,
31779 external/relaxngDatatype/README.txt,
31780 external/relaxngDatatype/copying.txt,
31781 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31782 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31783 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31784 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31785 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31786 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31787 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31788 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31789 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31790 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31792 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31793 datatypes library API.
31795 2006-02-13 Mark Wielaard <mark@klomp.org>
31797 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31799 (gtkWidgetModifyFont(Font)): New protected helper method.
31800 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31801 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31802 protected and document.
31803 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31805 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31807 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31809 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31810 (setFont): Removed method. Done in GtkMenuComponent.
31811 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31812 abstract and protected.
31813 (setFont): Made private, add implementation.
31814 (setFont(Font)): Implemented.
31815 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31816 Made protected and document.
31817 (create): Made protected.
31818 (setFont): Removed method. Done in GtkMenuComponent.
31819 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31820 (gtkWidgetModifyFont): Made protected and document.
31821 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31822 Removed, similar to GtkGenericPeer super class implementation.
31823 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31824 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31825 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31828 2006-02-13 Mark Wielaard <mark@klomp.org>
31830 * java/lang/Math.java (static): Explicitly call
31831 System.loadLibrary("javalang").
31833 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31835 * javax/print/StreamPrintServiceFactory.java: New file.
31837 2006-02-13 Tom Tromey <tromey@redhat.com>
31839 * tools/.cvsignore: Added Makefile.
31841 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31843 * java/awt/print/PrinterGraphics.java: Reformatted.
31844 * java/awt/print/Paper.java: Likewise.
31845 * java/awt/print/PageFormat.java: Likewise.
31846 * java/awt/print/Pageable.java: Likewise.
31848 2006-02-13 Lillian Angel <langel@redhat.com>
31850 * java/awt/BorderLayout.java
31851 (layoutContainer): Rewrote part of this function to
31852 properly set the bounds of the components.
31853 (setBounds): Removed method, not needed.
31855 2006-02-13 Roman Kennke <kennke@aicas.com>
31857 * javax/swing/text/DefaultStyledDocument.java
31858 (ElementBuffer.clone): Fixed replace call.
31859 (clone): Removed method.
31861 2006-02-13 Roman Kennke <kennke@aicas.com>
31863 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31865 2006-02-13 Roman Kennke <kennke@aicas.com>
31867 * java/rmi/server/UnicastRemoteObject.java
31868 (exportObject(Remote)): Forward method call to export(Remote,int).
31870 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31872 * include/Makefile.am:
31873 Swapped Math.h for VMMath.h
31874 * include/java_lang_Math.h:
31876 * include/java_lang_VMMath.h:
31877 New autogenerated header for the new class.
31878 * java/lang/Math.java:
31879 (sin(double)): Changed to link to VMMath.
31880 (cos(double)): Changed to link to VMMath.
31881 (tan(double)): Changed to link to VMMath.
31882 (asin(double)): Changed to link to VMMath.
31883 (acos(double)): Changed to link to VMMath.
31884 (atan(double)): Changed to link to VMMath.
31885 (atan2(double)): Changed to link to VMMath.
31886 (exp(double)): Changed to link to VMMath.
31887 (log(double)): Changed to link to VMMath.
31888 (sqrt(double)): Changed to link to VMMath.
31889 (pow(double,double)): Changed to link to VMMath.
31890 (IEEEremainder(double,double)): Changed to link to VMMath.
31891 (ceil(double)): Changed to link to VMMath.
31892 (floor(double)): Changed to link to VMMath.
31893 (rint(double)): Changed to link to VMMath.
31894 * native/jni/java-lang/Makefile.am:
31895 Replaced java_lang_Math.c with java_lang_VMMath.c
31896 * native/jni/java-lang/java_lang_Math.c:
31898 * native/jni/java-lang/java_lang_VMMath.c:
31899 Renamed from java_lang_Math.c.
31900 * vm/reference/java/lang/VMMath.java:
31902 (sin(double)): New native method.
31903 (cos(double)): New native method.
31904 (tan(double)): New native method.
31905 (asin(double)): New native method.
31906 (acos(double)): New native method.
31907 (atan(double)): New native method.
31908 (atan2(double)): New native method.
31909 (exp(double)): New native method.
31910 (log(double)): New native method.
31911 (sqrt(double)): New native method.
31912 (pow(double,double)): New native method.
31913 (IEEEremainder(double,double)): New native method.
31914 (ceil(double)): New native method.
31915 (floor(double)): New native method.
31916 (rint(double)): New native method.
31918 2006-02-13 Lillian Angel <langel@redhat.com>
31920 * java/awt/Component.java
31921 (repaint): No need to call isShowing, it is done in the other repaint call.
31922 (repaint): Likewise.
31923 (repaint): Likewise.
31925 2006-02-13 Lillian Angel <langel@redhat.com>
31927 * java/awt/Component.java
31928 (repaint): Reverted last change.
31929 (repaint): Likewise.
31930 (repaint): Likewise.
31932 2006-02-13 Lillian Angel <langel@redhat.com>
31934 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31935 (handleEvent): Made more efficent by handling paint event and
31936 setting the clip for the graphics.
31937 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31938 (handleEvent): Likewise.
31939 * java/awt/Component.java
31940 (repaint): No need to call isShowing, it is done in the other repaint call.
31941 (repaint): Likewise.
31942 (repaint): Likewise.
31944 2006-02-13 Roman Kennke <kennke@aicas.com>
31946 * javax/swing/text/AbstractDocument.java
31947 (setParent): Added API docs. Call setParent(null) on children before
31948 disconnecting this view from the View hierarchy.
31950 2006-02-13 Roman Kennke <kennke@aicas.com>
31952 * javax/swing/text/AbstractDocument.java
31953 (readUnlock): Don't attempt to unlock when the current threads also
31954 holds a write lock.
31956 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31958 * javax/swing/plaf/metal/MetalBorders.java
31959 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31960 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31962 (Flush3DBorder.borderInsets): New field,
31963 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31964 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31965 null insets argument, and populate result from borderInsets,
31966 (PaletteBorder.borderInsets): New field,
31967 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31968 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31969 null insets argument, and populate result from borderInsets,
31970 (InternalFrameBorder.borderInsets): New field,
31971 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31973 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31974 for null insets argument, and populate result from borderInsets,
31975 (MenuItemBorder.borderInsets): Initialise to correct value.
31977 2006-02-13 Roman Kennke <kennke@aicas.com>
31979 * javax/swing/text/AsyncBoxView.java: New file.
31981 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31984 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31985 was moved to a new method parseCharClass.
31986 (parseCharClass): New method originally in initialize. Added parsing
31987 of nested character classes.
31988 (ParseCharClassResult): New inner class used as a return value of
31990 (getCharExpression),(getNamedProperty): Made static.
31991 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31992 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31993 nested character classes.
31994 (RETokenOneOf): New constructor accepting the Vector addition.
31995 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31996 stands for only one character.
31997 (match): Added the processing of the Vector addition.
31998 (matchN), (matchP): Do not check next token if addition is used.
32000 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
32002 * AUTHORS: add self.
32004 2006-02-12 Tom Tromey <tromey@redhat.com>
32006 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
32007 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
32008 (securityContext): Likewise.
32011 2006-02-12 Dalibor Topic <robilad@kaffe.org>
32015 * gnu/java/net/protocol/file/Connection.java (unquote):
32016 Convert Unicode characters outside basic plane to UTF-8,
32017 rather than throwing an exception.
32019 2006-02-12 Tom Tromey <tromey@redhat.com>
32021 * javax/sound/sampled/LineEvent.java (readObject): New method.
32022 (writeObject): Likewise.
32023 (serialVersionUID): New field.
32025 2006-02-12 Mark Wielaard <mark@klomp.org>
32027 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32028 Silently ignores null listener.
32029 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32030 (getPropertyChangeListeners): Returns empty PropertyChangeListener
32031 array for null propertyName.
32033 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32035 * java/rmi/MarshalledObject.java: Added api docs to the class.
32036 * java/rmi/Remote.java: Added interface api docs.
32037 * java/rmi/package.html: Added package description.
32038 * java/rmi/AccessException.java: Minor api doc fixes.
32039 * java/rmi/NoSuchObjectException.java: Likewise.
32040 * java/rmi/AlreadyBoundException.java: Likewise.
32041 * java/rmi/RemoteException.java: Likewise.
32042 * java/rmi/NotBoundException.java: Likewise.
32043 * java/rmi/RMISecurityException.java: Likewise.
32044 * java/rmi/StubNotFoundException.java: Likewise.
32046 2006-02-12 Mark Wielaard <mark@klomp.org>
32048 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32049 q() to get EventQueue.
32050 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32051 (enableQueue): Remove static method.
32052 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32053 Don't call GtkGenericPeer.enableQueue().
32055 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32057 * java/rmi/MarshalledObject.java: Reformatted.
32058 * java/rmi/Naming.java: Likewise.
32060 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32062 * java/io/InputStream.java
32063 (read(byte[],int,int)): Changed argument validation to prevent
32064 integer overflow. Remove redundant check.
32066 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32069 * java/io/InputStreamReader.java
32070 (InputStreamReader(InputStream)): Use SystemProperties.
32071 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32072 Throw NullPointerException if in is null.
32073 Added maxBytesPerChar initialisation.
32074 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32075 Throw NullPointerException if in is null.
32077 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
32079 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32080 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32081 (GnuDHPublicKey): New constructor.
32082 (getEncoded): Removed.
32083 (valueOf): Added support for ASN.1 encoding.
32084 (getEncoded(int)): Likewise.
32085 (equals): New method.
32086 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32087 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32088 (GnuDHPrivateKey(5)): New constructor.
32089 (getEncoded): Removed.
32090 (valueOf): Added support for ASN.1 encoding.
32091 (getEncoded(int)): Likewise.
32092 (equals): New method.
32093 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32094 (PREFERRED_ENCODING_FORMAT): New constant.
32095 (DEFAULT_ENCODING_FORMAT): Likewise.
32096 (preferredFormat): New field.
32097 (setup): Handle preferred encoding format identifier.
32098 (generate): Call constructors with format identifier.
32099 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32100 (GnuDHKey): Added an int argument.
32101 (getEncoded): New method.
32102 (getFormat): New implementation.
32103 (getEncoded(int)): New abstract method.
32104 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32105 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32106 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32107 key-pair generator and key-factory.
32108 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32109 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32110 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32111 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32112 (invokeConstructor): New method.
32113 (getConcreteClass): Likewise.
32114 (getConcreteCtor): Likewise.
32115 (invokeValueOf): Likewise.
32116 (getValueOfMethod): Likewise.
32117 (engineGeneratePublic): Add support for DH keys.
32118 (engineGeneratePrivate): Likewise.
32119 (decodeDHPublicKey(DHPublicKeySpec)): New method.
32120 (decodeDHPublicKey(byte[])): Likewise.
32121 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32122 (decodeDHPrivateKey(byte[])): Likewise.
32124 2006-02-11 Mark Wielaard <mark@klomp.org>
32126 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32128 (repaint): Immediately post to queue when tm <= 0, otherwise call
32129 RepaintTimerTask.schedule().
32130 (RepaintTimerTask): Make static.
32131 (RepaintTimerTask.repaintTimer): New static final field.
32132 (RepaintTimerTask.awtComponent): New field.
32133 (schedule): New static method.
32135 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32137 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32138 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32139 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32140 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32141 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32143 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32145 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
32147 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32148 (engineGeneratePublic): Added support for raw key-specifications.
32149 (engineGeneratePrivate): Likewise.
32150 (decodeDSSPublicKey): New method.
32151 (decodeRSAPublicKey): Likewise.
32152 (decodeDSSPrivateKey): Likewise.
32153 (decodeRSAPrivateKey): Likewise.
32154 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32155 (encodePrivateKey): Throw InvalidParameterException.
32156 (decodePublicKey): Likewise.
32157 (decodePrivateKey): Likewise.
32158 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32159 (encodePublicKey): Likewise.
32160 (encodePrivateKey): Likewise.
32161 (decodePublicKey): Likewise.
32162 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32163 (encodePrivateKey): Likewise.
32164 (decodePublicKey): Likewise.
32165 (decodePrivateKey): Likewise.
32166 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32167 (encodePublicKey): Likewise.
32168 (encodePrivateKey): Likewise.
32169 (decodePublicKey): Likewise.
32171 2006-02-10 Roman Kennke <kennke@aicas.com>
32173 * javax/swing/text/StyleContext.java
32174 (registerStaticAttributeKey): New static method.
32176 2006-02-10 Roman Kennke <kennke@aicas.com>
32178 * javax/swing/text/DefaultStyledDocument.java
32179 (ElementBuffer.clone): New method.
32181 2006-02-10 Roman Kennke <kennke@aicas.com>
32183 * javax/swing/text/ParagraphView.java
32184 (findOffsetToCharactersInString): New method.
32185 (getClosestPositionTo): New method.
32186 (getPartialSize): New method.
32187 (getTabBase): New method.
32188 (adjustRow): New method.
32189 (breakView): New method.
32190 (getBreakWeight): New method.
32192 2006-02-10 Roman Kennke <kennke@aicas.com>
32194 * javax/swing/text/GapContent.java
32195 (updateUndoPositions): New method.
32196 * javax/swing/text/StringContent.java
32197 (updateUndoPositions): New method.
32199 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32201 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32203 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32204 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32205 Added support for encoded key specifications.
32206 (engineGeneratePrivate): Likewise.
32207 (engineGetKeySpec): Likewise.
32208 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32210 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32212 * javax/swing/text/Utilities.java:
32213 (getTabbedTextOffset): Fixed usage of variable p0.
32214 (getPositionAbove): Rewritten.
32215 (getPositionBelow): Rewritten.
32217 2006-02-09 Roman Kennke <kennke@aicas.com>
32219 * javax/swing/text/BoxView.java
32220 (getAxis): Added @since tag.
32221 (setAxis): Added @since tag.
32222 (layoutChanged): Added @since tag.
32223 (isLayoutValid): Added @since tag.
32224 (paint): Don't call setSize here. This is done in RootView already.
32225 (getMaximumSpan): Reimplemented to return the requirements'
32226 maximum size. Added API docs.
32227 (getMinimumSpan): New method.
32228 (layout): Fixed layout order.
32229 (modelToView): Call layout instead of setSize here.
32230 (getResizeWeight): New method.
32231 (getChildAllocation): New method.
32232 (forwardUpdate): New method.
32233 (viewToModel): New method.
32234 (flipEastEndWestEnds): New method.
32235 * javax/swing/text/CompositeView.java
32236 (modelToView): Made this method more robust by returning a default
32237 location if it's not possible to calculate one via the children.
32238 This default location returns the left or right edge of this
32240 (createDefaultLocation): New helper method.
32241 * javax/swing/text/IconView.java
32242 (modelToView): Don't throw BadLocationException. This should
32243 really only be thrown if the position is outside the document
32244 model, not if it's outside the view's boundary.
32246 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32248 * tools/Makefile.am: Handle rmi and giop folders separately.
32250 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32252 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32253 * javax/swing/SpinnerNumberModel.java: Likewise.
32255 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32257 * javax/swing/SpinnerDateModel.java: Removed tabs,
32258 * javax/swing/SpinnerNumberModel.java: Likewise.
32260 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32262 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32263 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32265 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32268 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32269 (isRedirect): Removed, moved to Response.java.
32270 (connect): If error condition redirect responseSink to errorSink.
32271 (getInputStream): If error condition throw IOException, for the error
32272 codes 404 and 410 throw a FileNotFoundException.
32273 * gnu/java/net/protocol/http/Response.java (isError): New method.
32274 (isRedirect): New method, moved from HTTPURLConnection.java.
32276 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32278 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32279 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32280 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32282 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32284 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32285 AbstractMethodGenerator.
32286 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32287 tools/gnu/classpath/tools/rmi/RMIC.java,
32288 tools/gnu/classpath/tools/rmi/RMIC.txt,
32289 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32290 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32291 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32292 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32293 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32294 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32296 * NEWS: Corrected entry about the tools.
32298 2006-02-09 Lillian Angel <langel@redhat.com>
32300 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32301 (handleEvent): Added more to check to prevent assertion errors.
32302 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32303 (handleEvent): Likewise.
32304 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32305 (handleEvent): Likewise.
32307 2006-02-09 Mark Wielaard <mark@klomp.org>
32309 * javax/swing/JTable.java (tableChanged): Interpret null event as
32310 "everything changed".
32312 2006-02-09 Roman Kennke <kennke@aicas.com>
32314 * javax/swing/text/DefaultCaret.java
32315 (DocumentHandler.removeUpdate): When update policy is
32316 'on eventqueue', and the update doesn't come from the
32317 event queue, check if the current dot location is still
32319 (moveDot): Make sure the new dot location is valid.
32320 (setDot): Set the mark the same as the dot.
32322 2006-02-09 Roman Kennke <kennke@aicas.com>
32324 * javax/swing/text/AbstractDocument.java
32325 (remove): Perform all operations within a write lock and in the
32328 2006-02-09 Mark Wielaard <mark@klomp.org>
32330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32331 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32332 creater than min, adjusting page_size if necessary.
32333 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32335 2006-02-09 Lillian Angel <langel@redhat.com>
32337 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32338 (handleEvent): Added code to handle PaintEvent.UPDATE.
32339 Sun does not call update(Graphics g) on Panels.
32340 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32341 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32342 Sun does not call update(Graphics g) on Panels.
32344 2006-02-09 Roman Kennke <kennke@aicas.com>
32346 * javax/swing/text/BoxView.java
32347 (myAxis): Made field private.
32348 (xLayoutValid): Replaced by layoutValid array.
32349 (yLayoutValid): Replaced by layoutValid array.
32350 (layoutValid): New field.
32351 (spansX): Replaced by spans array.
32352 (spansY): Replaced by spans array.
32353 (spans): New field.
32354 (offsetsX): Replaced by offsets array.
32355 (offsetsY): Replaced by offsets array.
32356 (offsets): New field.
32357 (requirements): New field.
32358 (BoxView): Initialize new fields.
32359 (layoutChanged): Rewritten to use the layoutValid array.
32360 (isLayoutValid): Rewritten to use the layoutValid array.
32361 (replace): Use the new arrays.
32362 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32363 instead of baselineRequirements.
32364 (baselineRequirements): Rewritten to calculate baseline requirements.
32365 (baselineLayout): Rewritten to calculate baseline layout.
32366 (childAllocation): Use new arrays.
32367 (layout): Rewritten. Only update the layout if necessary.
32368 (layoutMajorAxis): Directly set layoutValid.
32369 (layoutMinorAxis): Directly set layoutValid. Use cached size
32371 (getWidth): Use new span array.
32372 (getHeight): Likewise.
32373 (setSize): Rewritten to simply call layout().
32374 (validateLayout): Removed unneeded method.
32375 (getSpan): Use new arrays.
32376 (getOffset): Use new arrays.
32377 (getAlignment): Use cached requirements if possible.
32378 (preferenceChanged): Use new arrays.
32379 * javax/swing/text/FlowView.java
32380 (FlowStrategy.insertUpdate): Do nothing here.
32381 (FlowStrategy.removeUpdate): Do nothing here.
32382 (FlowStrategy.changedUpdate): Do nothing here.
32383 (FlowStrategy.layoutRow): Rewritten.
32384 (FlowStrategy.createView): Rewritten.
32385 (FlowStrategy.adjustRow): New method.
32386 (LogicalView.getViewIndex): Fixed condition for finding child
32388 (layoutDirty): New field indicating the state of the layout.
32389 (FlowView): Initialize new field.
32390 (loadChildren): Set parent on logical view so that preferenceChanges
32391 get propagated upwards.
32392 (layout): Rewritten to match the specs.
32393 (insertUpdate): Set layout to dirty.
32394 (removeUpdate): Set layout to dirty.
32395 (changedUpdate): Set layout to dirty.
32396 * javax/swing/text/GlyphView.java
32397 (getBreakWeight): Rewritten to use the Utilities class. Commented
32398 out though because that is broken.
32399 (insertUpdate): Call preferenceChanged on this object instead of
32401 * javax/swing/text/ParagraphView.java
32402 (Row.loadChildren): Overridden to be a noop to prevent initial
32403 creation of child views. This is carried out by the flow layout.
32404 * javax/swing/text/View.java
32405 (getPreferredSpan): Added API docs.
32406 (getResizeWeight): Added API docs.
32407 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32409 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32410 resizable instead of Integer.MAX_VALUE.
32411 (getAlignment): Added API docs.
32412 (replace): Added API docs.
32413 (forwardUpdate): Rewritten to only notify child views that need to
32416 2006-02-09 Roman Kennke <kennke@aicas.com>
32418 * javax/swing/plaf/basic/BasicTextUI.java
32419 (RootView.paint): Call setSize() before painting the view.
32421 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32424 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32425 flag which enables backslash escape in a replacement.
32426 (getReplacement): New public static method.
32427 (substituteImpl),(substituteAllImpl): Use getReplacement.
32428 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32429 * java/util/regex/Matcher.java(appendReplacement)
32430 Use RE#getReplacement.
32431 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32433 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32435 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32436 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32437 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32438 (PREFERRED_ENCODING_FORMAT): New constant.
32439 (DEFAULT_ENCODING_FORMAT): Likewise.
32440 (preferredFormat): New field.
32441 (setup): Add support for preferred encoding format.
32442 (generate): Call key constructors with explicit format identifier.
32443 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32444 Call constructor with 3 arguments..
32445 (GnuRSAPublicKey(3)): New constructor.
32446 (valueOf): Added support for ASN.1 format.
32447 (getEncoded): Likewise.
32448 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32449 Call constructor with 5 arguments.
32450 (GnuRSAPrivateKey(5)): New constructor.
32451 (GnuRSAPrivateKey(9)): New constructor.
32452 (valueOf): Added support for ASN.1 format.
32453 (getEncoded): Likewise.
32454 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32455 (GnuRSAKey): Modified constructor.
32456 (getFormat): Return preferred format identifier.
32457 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32458 (decodePrivateKey): Fixed documentation.
32459 Check Version field.
32460 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32461 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32463 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32464 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32465 (engineGeneratePublic): Added support for RSA.
32466 (engineGeneratePrivate): Likewise.
32468 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32470 * java/net/URLConnection.java:
32471 (setAllowUserInteraction): Throw IllegalStateException if connected.
32472 (getRequestProperty): Document return value if key is null.
32473 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32474 (getRequestProperty): Return null if key is null.
32475 (getRequestProperties): Throw IllegalStateException if connected.
32476 (setRequestProperty): Call super method for exception tests.
32477 (addRequestProperty): Likewise.
32479 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32481 * gnu/java/net/protocol/http/Request.java:
32482 (Request): Remove initialization of removed field.
32483 (requestBodyNegotiationThreshold): Removed now unused field.
32484 (setRequestBodyNegotiationThreshold): Remove now unused method.
32485 (dispatch): Do not use 'Expect 100-continue' header if content-length
32486 is over a treshold. If user specified 'Expect 100-continue' still
32487 initialize the expectingContinue variable.
32489 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32491 * javax/swing/SpinnerNumberModel.java
32492 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32493 maximum and minimum to take null values,
32494 (setValue): Only fire ChangeEvent if new value is different to old
32496 (setMinimum): Fixed test for updating value,
32497 (setMaximum): Likewise,
32498 (setStepSize): Likewise.
32500 2006-02-08 Tom Tromey <tromey@redhat.com>
32502 * tools/.cvsignore: Added Makefile.in.
32504 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32506 * java/rmi/server/RemoteRef.java,
32507 java/rmi/server/RemoteStub.java: Commented.
32509 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32511 * javax/swing/SpinnerDateModel.java
32512 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32514 (getPreviousValue): Check result against start, not end,
32515 (setValue): Check that value actually changes before firing
32518 2006-02-08 Lillian Angel <langel@redhat.com>
32520 * java/awt/Choice.java
32521 (select): Fixed up code, added some checks to prevent errors.
32522 (dispatchEventImpl): Removed. This function is not needed. It
32523 causes several assertion errors.
32525 2006-02-08 Roman Kennke <kennke@aicas.com>
32527 * javax/swing/text/PlainView.java
32528 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32529 drawing unnecessary characters.
32531 2006-02-08 Lillian Angel <langel@redhat.com>
32533 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32534 (handleEvent): Fixed check to determine if height or
32535 width is less than 1.
32537 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32539 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32541 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32543 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32544 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32545 Documenting the code generator.
32546 * gnu/CORBA/IOR.java (toStringFormatted,
32547 CodeSet_component.toStringFormatted): New methods.
32548 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32549 * tools/gnu/classpath/tools/giop/README: Rewritten.
32550 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32551 (printHelpAndExit): Removed.
32552 *tools/gnu/classpath/tools/giop/IorParser.java,
32553 tools/gnu/classpath/tools/giop/IorParser.txt,
32554 tools/gnu/classpath/tools/giop/NameService.java,
32555 tools/gnu/classpath/tools/giop/NamingService.txt,
32556 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32557 NEWS: Added note about GIOP tools.
32559 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32561 * .classpath: New source patch (tools).
32562 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32563 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32564 * tools/gnu/classpath/tools/Makefile.am,
32565 tools/gnu/classpath/tools/giop/GRMIC.java
32566 tools/gnu/classpath/tools/giop/GRMIC.txt,
32567 tools/gnu/classpath/tools/giop/README,
32568 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32569 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32570 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32571 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32572 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32573 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32574 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32575 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32576 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32577 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32578 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32579 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32581 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32583 * java/awt/BasicStroke.java: Updated API docs all over,
32584 * java/awt/doc-files/capjoin.png: New file.
32586 2006-02-07 Lillian Angel <langel@redhat.com>
32588 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32589 (handleEvent): Added check. Should not paint or update the
32590 component if it's width and height are both 0.
32592 2006-02-07 Roman Kennke <kennke@aicas.com>
32594 * javax/swing/text/AbstractDocument.java
32595 (insertString): Enclose locking/unlocking in try-finally block
32596 and also keep locked while notifying the listeners.
32598 2006-02-07 Roman Kennke <kennke@aicas.com>
32600 * javax/swing/text/GlyphView.java
32601 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32603 (getStartOffset): Return element boundary if startOffset < 0.
32604 (getEndOffset): Return element boundary if endOffset < 0.
32605 (createFragment): Set startOffset and endOffset fields of fragment
32606 if one of p0 or p1 is not at the element boundary.
32608 2006-02-07 Roman Kennke <kennke@aicas.com>
32610 * javax/swing/CellRendererPane.java
32611 (paintComponent): Enclosed painting in try finally to properly
32612 clean up even when throwing an exception.
32614 2006-02-07 Roman Kennke <kennke@aicas.com>
32616 * javax/swing/UIManager.java
32617 (listeners): Made this an instance of
32618 java.beans.PropertyChangeSupport instead of the obsoleted
32619 SwingPropertyChangeSupport.
32621 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32623 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32624 of actions "delete-next" and "delete-previous", added new TextAction
32625 implementations for "selection-begin", "selection-begin-line",
32626 "selection-end" and "selection-end-line".
32628 2006-02-07 Roman Kennke <kennke@aicas.com>
32630 * javax/swing/plaf/basic/BasicTextUI.java
32631 (paint): Acquire read lock on the document before calling
32633 (paintSafely): Added comment about what this method does.
32634 (paintBackground): Implemented to actually paint the background.
32635 (update): Overridden to _not_ paint the background. This is done
32636 in paintBackground in this UI.
32638 2006-02-07 Roman Kennke <kennke@aicas.com>
32640 * javax/swing/text/View.java
32641 (forwardUpdate): Don't notify newly added child views as specified.
32643 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32645 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32647 2006-02-07 Roman Kennke <kennke@aicas.com>
32649 * javax/swing/text/DefaultStyledDocument.java
32650 (ElementBuffer.insert): Only register change when the element
32653 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32655 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32657 (getEncodingShortName): Likewise.
32658 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32659 (PKCS8_FORMAT): Likewise.
32660 (ASN1_FORMAT): Likewise.
32661 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32662 constructor with 5 arguments.
32663 (DSSPublicKey(5)): New constructor.
32664 (valueOf): Handle ASN.1 encoding.
32665 (getEncoded): Likewise.
32666 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32667 constructor with 5 arguments.
32668 (DSSPrivateKey(5)): New constructor.
32669 (valueOf): Handle ASN.1 encoding.
32670 (getEncoded): Likewise.
32671 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32672 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32673 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32674 (PREFERRED_ENCODING_FORMAT): New constant.
32675 (DEFAULT_ENCODING_FORMAT): Likewise.
32676 (preferredFormat): New field.
32677 (setup): Handle preferred format ID.
32678 (generate): Use new ctors with 5 arguments.
32679 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32680 ID as an additional argument.
32681 (defaultFormat): new field.
32682 (getFormat): Returns the preferred format as a short string.
32683 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32684 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32686 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32687 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32689 (initialize(int,boolean,SecureRandom)): Likewise.
32690 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32691 writeLength() instead of write().
32692 return buf.length + 1 instead of buf.length.
32694 2006-02-07 Roman Kennke <kennke@aicas.com>
32696 * javax/swing/plaf/basic/BasicTextUI.java
32697 (RootView.preferenceChange): Changed view parameter to view so
32698 that it doesn't hide a field of that class.
32699 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32700 (RootView.modelToView): Removed unnecessary cast from View to View.
32701 (PropertyChangeHandler): Made inner class private.
32702 (updateHandler): Made field private.
32703 (getVisibleEditorRect): Removed unneeded local variable that
32704 shadowed a field with the same name and purpose.
32706 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32708 * javax/swing/text/JTextComponent.java:
32709 (getSelectedText): Calculate offset and use that as
32712 2006-02-07 Roman Kennke <kennke@aicas.com>
32714 * javax/swing/JTextPane.java
32715 (setCharacterAttributes): Replace input attributes when
32718 2006-02-07 Roman Kennke <kennke@aicas.com>
32720 * java/awt/Component.java
32721 (firePropertyChange(String,byte,byte)): Made method public.
32722 (firePropertyChange(String,char,char)): Made method public.
32723 (firePropertyChange(String,short,short)): Made method public.
32724 (firePropertyChange(String,long,long)): Made method public.
32725 (firePropertyChange(String,float,float)): Made method public.
32726 (firePropertyChange(String,double,double)): Made method public.
32728 2006-02-06 Tom Tromey <tromey@redhat.com>
32730 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32732 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32734 2006-02-06 Anthony Green <green@redhat.com>
32736 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32738 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32740 * .settings/org.eclipse.jdt.core.prefs:
32741 Force a line split on extends and implements.
32742 Force a white-space after unary operators.
32743 Don't force a new-line after @params.
32744 Add new-line at end-of-file.
32745 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32747 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32749 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32751 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32753 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32755 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32757 * gnu/java/security/provider/EncodedKeyFactory.java
32758 (ID_DSA): Redefined in terms of Registry constant.
32759 (ID_DSA): Redefined in terms of Registry constant.
32760 (ID_DH): Redefined in terms of Registry constant.
32761 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32762 (PKCS8_ENCODING): Likewise.
32763 (ASN1_ENCODING): Likewise.
32764 (RAW_ENCODING_SHORT_NAME): Likewise.
32765 (X509_ENCODING_SORT_NAME): Likewise.
32766 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32767 (ASN1_ENCODING_SHORT_NAME): Likewise.
32768 (X509_ENCODING_ID): Likewise.
32769 (PKCS8_ENCODING_ID): Likewise.
32770 (ASN1_ENCODING_ID): Likewise.
32771 (DSA_OID_STRING): Likewise.
32772 (RSA_OID_STRING): Likewise.
32773 (DH_OID_STRING): Likewise.
32775 2006-02-06 Roman Kennke <kennke@aicas.com>
32777 * javax/swing/text/GlyphView.java:
32778 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32779 Only fill background if there is a background set on the view.
32780 Call Utilities.drawTabbedText with the baseline height, rather than
32781 the upper left corner of the view rectangle.
32782 (getBackground): Return null if no background is set.
32783 * javax/swing/text/GlyphView.java:
32784 (setPropertiesFromAttributes): Use null for background when no
32785 background is set. StyleConstants.getBackground() doesn't work
32786 for this, because it returns Color.BLACK in that case.
32788 2006-02-06 Roman Kennke <kennke@aicas.com>
32790 * java/awt/Container.java
32791 (changeSupport): Removed duplicate (from Component) field.
32792 (addPropertyChangeListener): Call super.
32794 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32796 * java/util/regex/Matcher.java(matches):
32797 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32799 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32802 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32803 * gnu/regexp/CharIndexedCharArray.java
32804 (lookBehind),(length): Implemented.
32805 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32806 * gnu/regexp/CharIndexedString.java: Likewise.
32807 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32808 * gnu/regexp/REToken.java(getMaximumLength): New method.
32809 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32811 (initialize): Parse (?<=X), (?<!X), (?>X).
32812 (getMaximumLength): Implemented.
32813 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32814 * gnu/regexp/RETokenChar.java: Likewise.
32815 * gnu/regexp/RETokenEnd.java: Likewise.
32816 * gnu/regexp/RETokenEndSub.java: Likewise.
32817 * gnu/regexp/RETokenLookAhead.java: Likewise.
32818 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32819 * gnu/regexp/RETokenOneOf.java: Likewise.
32820 * gnu/regexp/RETokenPOSIX.java: Likewise.
32821 * gnu/regexp/RETokenRange.java: Likewise.
32822 * gnu/regexp/RETokenRepeated.java: Likewise.
32823 * gnu/regexp/RETokenStart.java: Likewise.
32824 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32825 * gnu/regexp/RETokenIndependent.java: New file.
32826 * gnu/regexp/RETokenLookBehind.java: New file.
32828 2006-02-06 Roman Kennke <kennke@aicas.com>
32830 * java/awt/Component.java
32831 (firePropertyChange(String,byte,byte)): New method.
32832 (firePropertyChange(String,char,char)): New method.
32833 (firePropertyChange(String,short,short)): New method.
32834 (firePropertyChange(String,long,long)): New method.
32835 (firePropertyChange(String,float,float)): New method.
32836 (firePropertyChange(String,double,double)): New method.
32838 2006-02-06 Roman Kennke <kennke@aicas.com>
32840 * javax/swing/JComponent.java
32841 (AccessibleJComponent.changeSupport): Changed to be a
32842 java.beans.PropertyChangeSupport rather than
32843 SwingPropertyChangeSupport.
32844 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32846 (changeSupport): Removed unneeded field.
32847 (removePropertyChangeListener): Removed unneeded methods.
32848 (addPropertyChangeListener): Removed unneeded methods.
32849 (getPropertyChangeListeners): Removed unneeded methods.
32850 (firePropertyChange(String,boolean,boolean)): Changed to simply
32851 call super. Added specnote.
32852 (firePropertyChange(String,char,char)): Changed to simply
32853 call super. Added specnote.
32854 (firePropertyChange(String,int,int)): Changed to simply
32855 call super. Added specnote.
32856 (firePropertyChange(String,byte,byte)): Removed.
32857 (firePropertyChange(String,Object,Object)): Removed.
32858 (firePropertyChange(String,double,double)): Removed.
32859 (firePropertyChange(String,float,float)): Removed.
32860 (firePropertyChange(String,long,long)): Removed.
32861 (firePropertyChange(String,short,short)): Removed.
32863 2006-02-06 Roman Kennke <kennke@aicas.com>
32865 * javax/swing/event/SwingPropertyChangeSupport.java
32866 (listeners): Removed field.
32867 (propertyListeners): Removed field.
32868 (source): Removed field.
32869 (SwingPropertyChangeSupport()): Removed initialization of removed
32871 (addPropertyChangeListener): Removed methods.
32872 (removePropertyChangeListener): Removed methods.
32873 (getPropertyChangeListeners): Removed methods.
32874 (firePropertyChange): Removed methods.
32875 (hasListeners): Removed methods.
32877 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32880 * java/net/InetAddress.java
32881 (readResolve): Implemented.
32883 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32886 * java/io/ObjectInputStream.java
32887 (readNextBlock()): Handle TC_RESET.
32889 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32891 * javax/print/attribute/standard/Compression.java,
32892 * javax/print/attribute/standard/Finishings.java,
32893 * javax/print/attribute/standard/JobMediaSheets.java,
32894 * javax/print/attribute/standard/JobSheets.java,
32895 * javax/print/attribute/standard/JobState.java,
32896 * javax/print/attribute/standard/JobStateReason.java,
32897 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32898 * javax/print/attribute/standard/PrintQuality.java,
32899 * javax/print/attribute/standard/Media.java,
32900 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32901 * javax/print/attribute/standard/PrinterStateReason.java,
32902 * javax/print/attribute/standard/PDLOverrideSupported.java:
32903 (getName): Make method final.
32904 (getCategory): Likewise.
32905 * javax/print/attribute/standard/MediaSize.java:
32906 (getName): Make method final.
32907 (getCategory): Likewise.
32908 (ISO): Added private default constructor.
32912 (Engineering): Likewise.
32914 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32916 * native/jni/java-net/javanet.c (_javanet_connect):
32917 Throw ConnectException instead of IOException if connection failed.
32918 * native/jni/java-net/javanet.h:
32919 Add a define for java.net.ConnectException
32921 2006-02-05 Mark Wielaard <mark@klomp.org>
32924 reported by Egon Willighagen <egon.willighagen@gmail.com>
32925 * javax/swing/DefaultListCellRenderer.java
32926 (getListCellRendererComponent): Turn null value into empty string.
32928 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32930 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32931 a Unicode block if the name starts with "In".
32932 (UnicodeBlockHandler): New inner class.
32934 2006-02-04 Roman Kennke <kennke@aicas.com>
32936 * java/awt/Container.java
32937 (getComponentZOrder): New method.
32938 (setComponentZOrder): New method.
32939 * javax/swing/JLayeredPane.java
32940 (setPosition): Reimplemented to use setComponentZOrder().
32941 (getIndexOf): Reimplemented to use getComponentZOrder().
32942 (addImpl): Pass layerContraint to super call. Important for possibly
32943 installed layout managers.
32944 (swapComponents): Remove unneeded method.
32946 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32948 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32949 DSAKeyPairGenerator.
32950 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32951 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32953 Surround call to adaptee in a try/catch.
32954 (initialize((DSAParams,SecureRandom)): New method.
32955 (initialize(int,boolean,SecureRandom)): New method.
32956 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32957 KeyPairGenerator rather than KeyPairGeneratorSpi.
32958 (KeyPairGeneratorAdapter): Call super with algorithm name.
32960 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32962 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32963 (getDefaultPRNG): New method.
32964 (parseO): Use method above.
32965 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32966 (getDefaultPRNG): New method.
32967 (createO): Use method above.
32968 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32969 (nextByte): Use above field.
32970 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32971 * gnu/java/security/sig/rsa/RSA.java: New class field.
32972 (newR): Use above field
32973 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32974 (encode): Use field.above.
32975 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32976 (getDefaultPRNG): new method.
32977 (nextRandomBytes): Use above method.
32978 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32979 * gnu/java/security/sig/BaseSignature.java: Likewise.
32980 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32981 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32982 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32983 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32984 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32985 (getDefaultPRNG): new method.
32986 (nextRandomBytes): Use above method.
32987 (STRICT_DEFAULTS): new class field.
32988 (USE_DEFAULTS): more documentation to clarify behavior.
32989 (setup): amended to handle new attribute.
32990 * gnu/java/security/util/PRNG.java: New file.
32992 2006-02-03 Lillian Angel <langel@redhat.com>
32994 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32995 chooser field should be protected, not package-private.
32997 2006-02-03 Lillian Angel <langel@redhat.com>
32999 * javax/swing/text/DefaultStyledDocument.java
33000 (changeUpdate): Cleaned up code.
33002 (insertUpdate): Set offset to be equal to pos after
33003 insertContentTag call.
33004 (insertContentTag): If paragraph has no children, should use
33005 replace instead of Edit.
33006 (insertFracture): Moved around code to prevent any exception. Also,
33007 left side of tree should not be recreated if it has already been
33008 edited. In that case, we should only be creating a new right branch
33010 (getEditForParagraphAndIndex): No need to check index. We should
33011 use the same edit for each paragraph.
33013 2006-02-03 Mark Wielaard <mark@klomp.org>
33015 * javax/swing/event/SwingPropertyChangeSupport.java
33016 (propertyListeners): Change type to HashMap.
33017 (SwingPropertyChangeSupport): Allocate HashMap.
33019 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
33021 * java/security/KeyPairGenerator.java (getInstance): Test for
33022 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33024 2006-02-02 Roman Kennke <kennke@aicas.com>
33026 * javax/swing/RepaintManager.java
33027 Made fields private.
33028 (RepaintWorker.run): Enclosed work stuff in try finally block in
33029 order to clean up correctly if invalidation or painting fails,
33030 otherwise we would get no more RepaintWorkers onto the EventQueue.
33031 Also, now the RepaintWorker is marked 'dead' only after it has
33032 finished its work, avoid more than one RepaintWorker on the queue.
33033 (ComponentComparator.compareTo): Compare dirty rectangle sizes
33034 instead of hierarchy depths.
33035 (workDirtyComponents): Removed unused field.
33036 (repaintOrder): Removed unused field.
33037 (workRepaintOrder): Removed unused field.
33038 (workInvalidComponents): Removed unused field.
33039 (RepaintManager()): Removed initialization of removed fields.
33040 (addInvalidComponent): Fine tuned synchronization.
33041 (removeInvalidComponent): Fine tune synchronization.
33042 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33043 synchronization. Don't manager repaintOrder here.
33044 (insertRepaintOrder): Removed method.
33045 (markCompletelyClean): Fine tuned synchronization.
33046 (validateInvalidComponents): Dont use a working copy of the
33047 invalidComponents list, instead fine tuned synchronization on this
33048 list. Also, don't search validateRoot, this is already done in
33049 addInvalidComponent().
33050 (paintDirtyRegions): Compute repaint order here, based on size of
33051 damaged regions. Fine tuned synchronization. Avoid use of working
33052 copies of dirtyComponent.
33054 2006-02-02 Lillian Angel <langel@redhat.com>
33056 * javax/swing/text/DefaultStyledDocument.java
33057 (insertUpdate): JoinNextDirection should push the
33058 'next' paragraph on the stack.
33060 2006-02-02 Lillian Angel <langel@redhat.com>
33062 * javax/swing/text/DefaultStyledDocument.java
33063 (insertUpdate): Rewrote code for Originate. This prevents
33064 leaves being created multiple times. If it is on the last
33065 ElementSpec, the leaves need to be created right then;
33066 otherwise, only a branch is created.
33067 (insertContentTag): Rewrote to add new leaf directly if
33068 this is a branch with no children. Otherwise, it
33069 recreates the remainder of the tree as before.
33071 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
33073 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33074 for making a list of REMatch instances.
33075 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33076 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33077 (match): Rewritten using REMatchList.
33078 (matchRest): Rewritten using REMatchList.
33080 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33082 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
33083 (friendsMove): Call repaint() only after endOfGame is assigned.
33085 2006-02-02 Mark Wielaard <mark@klomp.org>
33087 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33088 * java/util/AbstractCollection.java (toString): Only use Iterator,
33089 check whether collection contains itself.
33091 2006-02-01 Casey Marshall <csm@gnu.org>
33093 Partial fix for PR classpath/25143.
33094 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33095 (<init>): fill in `algName,' derive `algOid' from `algName.'
33096 (getOid): new method.
33097 (encode): embed NULL value for parameters if `params' is `null.'
33099 2006-02-01 Casey Marshall <csm@gnu.org>
33101 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33102 <monoman@gmail.com>.
33103 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33104 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33106 2006-02-01 Casey Marshall <csm@gnu.org>
33108 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33109 * gnu/java/security/der/DERValue.java
33110 (getLength, getEncoded, getEncodedLength): throw an exception,
33111 don't initialize `encoded' to a bogus value.
33112 (toString): return a more helpful string.
33114 Partial fix for PR classpath/25144.
33115 * gnu/java/security/der/DERWriter.java (write): if the value is
33116 the pseudo-value used for CONSTRUCTED, write the encoded value
33119 2006-02-01 Tom Tromey <tromey@redhat.com>
33121 * java/security/Security.java (loadProviders): Use system class
33124 2006-02-01 Mark Wielaard <mark@klomp.org>
33126 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33127 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33128 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33129 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33130 (UnicodeCategoriesHandler): New private static class.
33132 2006-02-01 Lillian Angel <langel@redhat.com>
33134 * javax/swing/text/DefaultStyledDocument.java:
33135 Removed unneeded fields.
33136 (insertUpdate): Removed field initialization.
33137 (insertContentTag): Rewrote part of function. Still
33140 2006-02-01 Lillian Angel <langel@redhat.com>
33142 * javax/swing/text/DefaultStyledDocument.java
33143 (insertParagraph): Cleaned up code.
33144 (insertFirstContentTag): Fixed call to recreateLeaves.
33145 (insertContentTag): Added check to code to determine where
33146 content should be inserted with respect to next element.
33147 (createFracture): Removed check, recreateLeaves is called in
33148 other places when needed.
33149 (recreateLeaves): Added new parameter for paragraph instead
33150 of checking the stack. Removed editing for newBranch, replaced
33151 with a replace call.
33153 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
33155 * doc/unicode/Blocks-4.0.0.txt: New file.
33156 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
33157 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33158 * scripts/unicode-blocks.pl: Copied this over from the generics branch
33159 but replaced some 1.5-only features (such as enum).
33161 2006-01-31 Roman Kennke <kennke@aicas.com>
33163 * javax/swing/text/PasswordView.java
33164 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33166 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33169 2006-01-31 Roman Kennke <kennke@aicas.com>
33171 * javax/swing/JTextField.java
33172 (getPreferredSize): Also include textfield's insets in width
33175 2006-01-31 Roman Kennke <kennke@aicas.com>
33177 * javax/swing/plaf/basic/BasicTextUI.java
33178 (getPreferredSize): Include the textcomponent's insets in
33181 2006-01-31 Roman Kennke <kennke@aicas.com>
33183 * javax/swing/table/DefaultTableCellRenderer.java
33184 (getTableCellRendererComponent): Moved setting of the value into
33185 setValue(). Removed (bogus) special handling of JTextField values.
33186 (setValue): Made ?: statement more clear by rewriting it
33189 2006-01-31 Roman Kennke <kennke@aicas.com>
33191 * javax/swing/JLayeredPane.java
33192 (insertIndexForLayer): Fixed algorithm to correctly determine
33193 inser index for positions >= 0.
33194 (addImpl): Fixed API docs for the index parameter.
33196 2006-01-31 Mark Wielaard <mark@klomp.org>
33198 * java/net/URI.java (getURIGroup): Check for null to see whether
33199 group actually exists.
33201 2006-01-31 Lillian Angel <langel@redhat.com>
33203 * javax/swing/text/DefaultStyledDocument.java
33204 (changeUpdate): Fixed calls to split to incorporate
33206 (insertParagraph): Likewise. Uses 0 as editIndex
33207 because inserting into a new paragraph.
33208 (insertContentTag): Fixed check to use
33209 recreateLeaves. Added a FIXME comment.
33210 (split): Added a new parameter for edits.
33212 2006-01-31 Roman Kennke <kennke@aicas.com>
33214 * javax/swing/plaf/basic/BasicRootPaneUI.java
33215 (installDefaults): Don't install a background color here.
33217 2006-01-31 Lillian Angel <langel@redhat.com>
33219 * javax/swing/text/DefaultStyledDocument.java
33220 (insert): Removed comment.
33221 (insertUpdate): Added comment.
33222 (recreateLeaves): Removed call to push newBranch onto the
33223 stack. This does not need to be done here.
33225 2006-01-31 Chris Burdess <dog@gnu.org>
33227 * gnu/xml/stream/SAXParser.java,
33228 gnu/xml/stream/UnicodeReader.java,
33229 gnu/xml/stream/XIncludeFilter.java,
33230 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33231 only resolved the system ID not the stream. Make some utility methods
33232 public and static for use by other private XML APIs.
33233 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33234 called without throwing IllegalStateException.
33235 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33238 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33241 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33242 for an invalid index and return null for a skipped group.
33244 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33247 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33248 (NamedProperty): New inner class.
33249 (getNamedProperty): New method.
33250 (getRETokenNamedProperty): New Method.
33251 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33252 * gnu/regexp/RETokenNamedProperty.java: New file.
33254 2006-01-31 Roman Kennke <kennke@aicas.com>
33256 * javax/swing/plaf/PlainView.java
33257 (paint): Call drawLine with baseline coordinates.
33258 (drawLine): Documented and indented this method.
33259 (drawUnselecetedText): Documented and indented this method.
33260 * javax/swing/plaf/text/Utilites.java
33261 (drawTabbedText): The coordinates denote the baseline of the text
33262 not the upper left corner.
33264 2006-01-31 Roman Kennke <kennke@aicas.com>
33266 * javax/swing/plaf/basic/BasicTextUI.java
33267 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33268 UIManager. Added FIXME regarding the implementation of this method.
33270 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33272 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33273 (ButtonDemo): Move content initialisation to new method,
33274 (initFrameContent): New method,
33275 (main): Call initFrameContent(),
33276 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33277 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33278 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33279 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33280 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33282 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33284 * examples/gnu/classpath/examples/swing/Demo.java
33285 (Demo): Set frame size,
33286 (mkButtonBar): Removed stacked sub-panels.
33288 2006-01-30 Lillian Angel <langel@redhat.com>
33290 * javax/swing/text/DefaultStyledDocument.java:
33292 (insert): Initialized fields. Removed call to addEdit,
33293 and created ElementEdit instead.
33294 (insertUpdate): Added check for fracturing. If the
33295 fracturing was not successful, we should push the
33296 last element back on the stack.
33297 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33298 Also, changed replace calls to use Edit.
33299 (insertFirstContentTag): Removed unneeded check and fixed call
33301 (insertContent): Fixed check to use new fields. Added code in
33302 to check if leaves overlap.
33303 (createFracture): Fixed call to recreateLeaves.
33304 (recreateLeaves): Fixed code and cleaned it up a bit.
33305 (insertFracture): Set fracNotCreated field.
33306 (addEdit): Removed, this method is not needed.
33308 2006-01-30 Roman Kennke <kennke@aicas.com>
33310 * javax/swing/JRootPane.java
33311 (RootLayout.prefSize): Removed caching for preferredSize.
33312 (RootLayout.invalidateLayout): Likewise.
33313 (RootLayout.preferredLayoutSize): Likewise.
33315 2006-01-30 Roman Kennke <kennke@aicas.com>
33318 * javax/swing/JFrame.java
33319 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33320 * javax/swing/plaf/metal/MetalRootPaneUI.java
33321 (MetalFrameBorder): New inner class, provides the border for
33322 top level containers with L&F decorations.
33323 (MetalTitlePane): New inner class, provides the title pane for
33324 top level containers with L&F decorations.
33325 (MetalRootLayout): New inner class. Used to layout the root pane
33326 when L&F window decorations are enabled.
33327 (installUI): New method. Handles window decorations.
33328 (uninstallUI): New method. Handles window decorations.
33329 (propertyChange): Handles window decorations.
33330 (installWindowDecorations): New method. Handles window
33332 (uninstallWindowDecorations): New method. Handles window
33334 * javax/swing/plaf/metal/MetalLookAndFeel.java
33335 (getSupportsWindowDecorations): Overridden to return true.
33337 2006-01-30 Mark Wielaard <mark@klomp.org>
33339 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33340 IllegalArgumentException when orientation is illegal.
33341 (JProgressBar(int, int, int)): Likewise and throw exception.
33342 (setOrientation): Likewise.
33344 2006-01-30 Roman Kennke <kennke@aicas.com>
33346 * javax/swing/ViewportLayout.java
33347 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33349 2006-01-30 Mark Wielaard <mark@klomp.org>
33351 * javax/swing/JProgressBar.java (orientation): Always set by
33353 (JProgressBar(int)): Document default on 'illegal' value.
33354 (JProgressBar(int, int, int)): Likewise and set orientation to
33355 HORIZONTAL when 'illegal'.
33356 (setOrientation): Likewise.
33358 2006-01-30 Roman Kennke <kennke@aicas.com>
33360 * javax/swing/plaf/basic/BasicListUI.java
33361 (ListDataHandler.contentsChanged): Update the
33362 updateLayoutStateNeeded flag.
33363 (ListDataHandler.intervalAdded): Update the
33364 updateLayoutStateNeeded flag.
33365 (ListDataHandler.intervalRemoved): Update the
33366 updateLayoutStateNeeded flag.
33367 (PropertyChangeHandler.propertyChange): Correctly update the
33368 listeners on new list model.
33369 (maybeUpdateLayoutState): Don't consider the validation state
33372 2006-01-30 Mark Wielaard <mark@klomp.org>
33374 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33377 2006-01-30 Roman Kennke <kennke@aicas.com>
33379 * javax/swing/JLayeredPane.java
33380 (insertIndexForLayer): Fixed algorithm to correctly insert
33381 components within different layers and -1 position.
33383 2006-01-30 Mark Wielaard <mark@klomp.org>
33385 * doc/api/Makefile.am (create_html): Add -validhtml.
33387 2006-01-30 Roman Kennke <kennke@aicas.com>
33389 * javax/swing/JLayeredPane.java
33390 (insertIndexForLayer): Fixed algorithm to correctly insert
33391 components within same layer and -1 position.
33393 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33396 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33397 New execution flag.
33398 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33399 implicit RETokenEnd at the end of the regexp chain.
33400 Do not select the longest match, but select the first match.
33401 (match): Do not take care of REMatch.empty.
33402 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33403 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33404 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33405 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33406 Do not take care of REMatch.empty. Set and check REMatch.empty
33407 when trying to match the single token.
33409 2006-01-30 Mark Wielaard <mark@klomp.org>
33411 * java/awt/Cursor.java (toString): Include name and type.
33413 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33415 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33417 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33419 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33422 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33423 Consider the validation state of the list.
33425 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33427 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33429 * java/beans/XMLDecoder.java:
33430 (setExceptionListener): Use shared DefaultExceptionListener
33432 * java/beans/Encoder.java:
33433 (setExceptionListener): Use shared DefaultExceptionListener
33436 2006-01-29 Roman Kennke <kennke@aicas.com>
33438 * javax/swing/ScrollPaneLayout.java
33439 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33441 2006-01-29 Mark Wielaard <mark@klomp.org>
33443 * java/net/SocketPermission.java (setActions): Trim and lower case
33446 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33448 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33449 incorrectly failing primality test for some known primes. Fixed.
33450 (passFermatLittleTheorem): Removed.
33451 (passMillerRabin): Removed.
33452 (isProbablePrime): Cache primes that pass the primality tests.
33453 Use BigInteger.isProbablePrime(int) for primality tests.
33454 (debugBI): New static debugging method.
33456 2006-01-28 Roman Kennke <kennke@aicas.com>
33458 * javax/swing/plaf/basic/BasicListUI.java
33459 (updateLayoutState): Removed unneeded special case for VERTICAL.
33461 2006-01-28 Roman Kennke <kennke@aicas.com>
33463 * javax/swing/plaf/basic/BasicListUI.java
33464 (getCellBounds): Determine correct list width when having a
33465 layoutOrientation of VERTICAL.
33466 (maybeUpdateLayoutState): Don't consider the validation state of
33469 2006-01-28 Mark Wielaard <mark@klomp.org>
33471 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33472 * java/awt/print/NoPrinterJob.java: New (fake) class.
33473 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33475 2006-01-28 Mark Wielaard <mark@klomp.org>
33477 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33479 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33481 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33482 (addChildren): New method.
33484 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33486 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33487 constructor for cloning purposes.
33488 (clone): New implementation that ensures cloning.
33489 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33490 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33493 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33495 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33496 Call updateCurrentVisiblePath.
33498 2006-01-27 Roman Kennke <kennke@aicas.com>
33500 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33502 2006-01-27 Roman Kennke <kennke@aicas.com>
33504 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33505 (createContent): Only create new content if we don't have one
33507 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33508 (createContent): Only create new content if we don't have one
33510 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33511 (createContent): Only create new content if we don't have one
33513 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33514 (createContent): Only create new content if we don't have one
33516 * examples/gnu/classpath/examples/swing/SliderDemo.java
33517 (createContent): Only create new content if we don't have one
33519 * examples/gnu/classpath/examples/swing/TableDemo.java
33520 (createContent): Only create new content if we don't have one
33522 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33523 (createContent): Only create new content if we don't have one
33526 2006-01-27 Lillian Angel <langel@redhat.com>
33528 * javax/swing/text/DefaultStyledDocument.java
33529 (insertFirstContentTag): Removed check, not needed. This
33530 still needs to be fixed for some cases. Added call to
33532 (createFracture): Added call to recreateLeaves.
33533 (recreateLeaves): New method used to recreate all the
33534 leaves after the initial insertion. This still needs
33536 (handleInsertAfterNewline): Removed else, not needed.
33538 2006-01-27 Roman Kennke <kennke@aicas.com>
33540 * javax/swing/JLayeredPane.java
33541 (inserIndexForLayer): Fixed direction of search.
33543 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33545 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33546 node into nodeStates.
33548 2006-01-27 Roman Kennke <kennke@aicas.com>
33550 * javax/swing/JLayeredPane.java
33551 (FRAME_CONTENT_LAYER): Made field final.
33552 (componentToLayer): Made field private.
33553 (rectCache): Removed field.
33554 (layers): Removed field.
33555 (JLayeredPane()): Removed initialization of removed fields.
33556 (getLayer): Rewritten to make use of client properties in
33557 JComponents and to be more straighforward.
33558 (static getLayer): Rewritten to make use of client properties in
33560 (layerToRange): Removed method.
33561 (incrLayer): Removed method.
33562 (decrLayer): Removed method.
33563 (highestLayer): Rewritten to be more straightforward.
33564 (lowestLayer): Rewritten to be more straightforward.
33565 (getPosition): Rewritten to be more straightforward.
33566 (getComponentsInLayer): Rewritten to be more straightforward.
33567 (getComponentCountInLayer): Rewritten to be more straightforward.
33568 (getIndexOf): Rewritten to be more straightforward.
33569 (inserIndexForLayer): Rewritten to be more straightforward.
33570 (remove): Rewritten to be more straightforward.
33571 (setLayer): Rewritten to be more straightforward.
33572 (addImpl): Rewritten to be more straightforward.
33573 (putLayer): Rewritten to be more straightforward.
33575 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33577 * java/lang/Character.java:
33578 (offsetByCodePoints(CharSequence, int, int)): New API method.
33579 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33580 (toChars): Throw the Exception that the docs say we throw.
33581 (codePointAt): Fixed an off-by-one error in the bounds of the if
33583 * java/lang/String.java:
33584 (String(int[], int, int)): New API constructor.
33586 2006-01-27 Lillian Angel <langel@redhat.com>
33588 * javax/swing/text/DefaultStyledDocument.java
33589 (insert): Moved this loop to insertUpdate.
33590 (insertUpdate): Likewise. Fixed variable
33591 names. Incremented pos if new paragraph
33593 (split): Changed edits to use replace instead. Prevents
33595 (insertFirstContentTag): Removed else.
33596 (insertContentTag): Implemented else for JoinNextDirection.
33597 (createFracture): Fixed up code, still not fully complete.
33598 (insertFracture): Fixed to use return value from
33599 recreateAfterFracture.
33600 (recreateAfterFracture): Changed to return an array of the
33601 elements to be added. This prevents an assertion error.
33602 (contains): New function checks if an element is already in
33603 the Vector. Vector's contain function was not enough to use.
33604 (addAddedElement): Changed to use new contains function.
33605 (addAddedElements): Likewise.
33606 (addRemovedElement): Likewise.
33607 (addRemovedElements): Likewise.
33609 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33612 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33613 If no user class loaders found on the stack, return the thread
33614 context class loader. (currentClassLoader): Explained.
33616 2006-01-27 Roman Kennke <kennke@aicas.com>
33618 * java/awt/Container.java
33619 (swapComponents): Removed unspecified method.
33620 * javax/swing/JLayeredPane.java
33621 (setPosition): Reimplemented correctly.
33622 (swapComponents): New helper method.
33624 2006-01-27 Mark Wielaard <mark@klomp.org>
33626 * configure.ac: Set version to 0.21-pre.
33628 2006-01-27 Roman Kennke <kennke@aicas.com>
33631 * javax/swing/JComponent.java
33632 (findOverlapFreeParent): Improved the algorithm to make better use
33633 of the optimizedDrawingEnabled flag.
33634 * javax/swing/JLayeredPane.java
33635 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33636 * javax/swing/JViewport.java
33637 (computeBlit): Fixed check to decide if blitting is possible or not,
33638 so that it doesn't blit if nothing was scrolled (in order to
33639 update the buffer when the view updates itself).
33641 2006-01-27 Roman Kennke <kennke@aicas.com>
33643 * javax/swing/plaf/metal/MetalFileChooserUI.java
33644 (createList): Don't set scrollbar policy.
33646 2006-01-27 Roman Kennke <kennke@aicas.com>
33648 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33649 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33650 Fixed to also handle non-Swing toplevel containers.
33651 (PopupMenuHandler.popupMenuWillBecomeVisible):
33652 Fixed to also handle non-Swing toplevel containers.
33653 * javax/swing/Popup.java
33654 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33657 2006-01-27 Roman Kennke <kennke@aicas.com>
33659 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33660 (InternalFramePropertyChangeListener): Don't implement
33661 VetoableChangeListener.
33662 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33663 (internalFrameVetoableChangeListener): Removed unneeded field.
33664 (installListeners): Don't install vetoableChangeListener.
33665 * javax/swing/event/DocumentEvent.java
33666 (EventType): Made class final.
33668 2006-01-27 Roman Kennke <kennke@aicas.com>
33670 * javax/swing/SwingUtilities.java
33671 (calculateInsetArea): Removed unneeded method. The method
33672 calculateInnerArea has the same purpose and is actually specified.
33673 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33674 * javax/swing/plaf/basic/BasicMenuItemUI.java
33675 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33676 of SwingUtilities.calculateInsetArea().
33678 2006-01-27 Roman Kennke <kennke@aicas.com>
33680 * javax/swing/plaf/basic/BasicTreeUI.java
33681 (installDefaults): Removed requestFocusInWindow() call.
33682 * javax/swing/JComponent.java
33683 (requestFocusInWindow(boolean)): Made method protected.
33684 (printComponent): Made method protected.
33685 (printChildren): Made method protected.
33686 (printComponent): Made method protected.
33687 (printBorder): Made method protected.
33689 2006-01-27 Roman Kennke <kennke@aicas.com>
33691 * javax/swing/AbstractButton.java
33692 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33694 * javax/swing/ImageIcon.java
33695 (component): Made field final.
33696 (tracker): Made field final.
33697 * javax/swing/JApplet.java
33698 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33699 * javax/swing/JCheckBox.java
33700 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33702 * javax/swing/JDialog.java
33703 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33704 * javax/swing/JFrame.java
33705 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33706 * javax/swing/JLayeredPane.java
33707 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33709 (DEFAULT_LAYER): Made field final.
33710 (PALETTE_LAYER): Made field final.
33711 (MODAL_LAYER): Made field final.
33712 (POPUP_LAYER): Made field final.
33713 (DRAG_LAYER): Made field final.
33714 * javax/swing/JMenu.java
33715 (ActionChangeListener): Made class private.
33716 * javax/swing/JOptionPane.java
33717 (UNITITIALIZED_VALUE): Made field final.
33718 * javax/swing/JPanel.java
33719 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33720 * javax/swing/JPopupMenu.java
33721 (ActionChangeListener): Made class private.
33722 * javax/swing/JTree.java
33723 (paramString): Made method protected.
33724 * javax/swing/JViewport.java
33725 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33726 * javax/swing/JWindow.java
33727 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33728 * javax/swing/RepaintManager.java
33729 (RepaintWorker): Made class private.
33731 2006-01-27 Roman Kennke <kennke@aicas.com>
33733 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33734 (handleEvent): Removed debug statement.
33736 2006-01-27 Roman Kennke <kennke@aicas.com>
33738 * java/awt/Component.java
33739 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33740 more than it helps.
33742 2006-01-26 Lillian Angel <langel@redhat.com>
33744 * javax/swing/text/DefaultStyledDocument.java
33745 (createFracture): Commented out a known problem,
33748 2006-01-26 Lillian Angel <langel@redhat.com>
33750 * javax/swing/text/DefaultStyledDocument.java
33751 (ElementBuffer): Added fields.
33752 (remove): Initialized pos.
33753 (change): Likewise.
33754 (insert): Likewise.
33755 (insertUpdate): Incremented pos. Fixed check, createFracture should
33756 be called on first tag if it is not ContentType.
33757 (insertFirstContentTag): Reworked to use proper offsets and
33758 set offset accordingly. This might need more work in the future.
33759 (insertContentTag): Likewise. Fixed to use pos, instead of
33761 (createFracture): Fixed to recreate other leaves. Still needs
33763 (insertFracture): Reimplemented.
33764 (recreateAfterFracture): New method.
33765 (getParagraphElement): Reimplemented, more efficent.
33767 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33769 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33770 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33771 ordering for little-endian arms without VFP.
33773 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33776 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33778 2006-01-26 Mark Wielaard <mark@klomp.org>
33780 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33781 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33782 Add trailing zeros to the fraction of the decimal with the smallest
33785 2006-01-26 Roman Kennke <kennke@aicas.com>
33787 * javax/swing/text/html/ObjectView.java: New file.
33789 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33791 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33792 Call startEditing when appropriate.
33793 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33794 (startEditing): Always edit if directly ordered from
33795 MouseHandler.mousePressed.
33796 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33797 New field. (createTreeCellEditor): Set click count to start.
33798 (getTreeCellEditorComponent): Assing realEditor directly.
33800 2006-01-25 Casey Marshall <csm@gnu.org>
33802 Merging GNU Crypto and Jessie.
33804 * NEWS: mention the merge in the 0.21 notes.
33805 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33806 (SSL_RECORD_LAYER): new constants.
33807 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33809 * resource/java/security/classpath.security: add new providers.
33810 * gnu/javax/crypto/assembly/Assembly.java,
33811 gnu/javax/crypto/assembly/Cascade.java,
33812 gnu/javax/crypto/assembly/CascadeStage.java,
33813 gnu/javax/crypto/assembly/CascadeTransformer.java,
33814 gnu/javax/crypto/assembly/DeflateTransformer.java,
33815 gnu/javax/crypto/assembly/Direction.java,
33816 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33817 gnu/javax/crypto/assembly/ModeStage.java,
33818 gnu/javax/crypto/assembly/Operation.java,
33819 gnu/javax/crypto/assembly/PaddingTransformer.java,
33820 gnu/javax/crypto/assembly/Stage.java,
33821 gnu/javax/crypto/assembly/Transformer.java,
33822 gnu/javax/crypto/assembly/TransformerException.java,
33823 gnu/javax/crypto/cipher/Anubis.java,
33824 gnu/javax/crypto/cipher/BaseCipher.java,
33825 gnu/javax/crypto/cipher/Blowfish.java,
33826 gnu/javax/crypto/cipher/Cast5.java,
33827 gnu/javax/crypto/cipher/CipherFactory.java,
33828 gnu/javax/crypto/cipher/DES.java,
33829 gnu/javax/crypto/cipher/IBlockCipher.java,
33830 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33831 gnu/javax/crypto/cipher/Khazad.java,
33832 gnu/javax/crypto/cipher/NullCipher.java,
33833 gnu/javax/crypto/cipher/Rijndael.java,
33834 gnu/javax/crypto/cipher/Serpent.java,
33835 gnu/javax/crypto/cipher/Square.java,
33836 gnu/javax/crypto/cipher/TripleDES.java,
33837 gnu/javax/crypto/cipher/Twofish.java,
33838 gnu/javax/crypto/cipher/WeakKeyException.java,
33839 gnu/javax/crypto/jce/GnuCrypto.java,
33840 gnu/javax/crypto/jce/GnuSasl.java,
33841 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33842 gnu/javax/crypto/jce/cipher/AESSpi.java,
33843 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33844 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33845 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33846 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33847 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33848 gnu/javax/crypto/jce/cipher/DESSpi.java,
33849 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33850 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33851 gnu/javax/crypto/jce/cipher/PBES2.java,
33852 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33853 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33854 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33855 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33856 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33857 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33858 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33859 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33860 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33861 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33862 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33863 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33864 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33865 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33866 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33867 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33868 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33869 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33870 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33871 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33872 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33873 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33874 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33875 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33876 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33877 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33878 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33879 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33880 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33881 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33882 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33883 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33884 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33885 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33886 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33887 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33888 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33889 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33890 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33891 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33892 gnu/javax/crypto/jce/mac/MacAdapter.java,
33893 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33894 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33895 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33896 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33897 gnu/javax/crypto/jce/mac/OMacImpl.java,
33898 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33899 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33900 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33901 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33902 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33903 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33904 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33905 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33906 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33907 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33908 gnu/javax/crypto/jce/params/DEREncodingException.java,
33909 gnu/javax/crypto/jce/params/DERReader.java,
33910 gnu/javax/crypto/jce/params/DERWriter.java,
33911 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33912 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33913 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33914 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33915 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33916 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33917 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33918 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33919 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33920 gnu/javax/crypto/key/GnuSecretKey.java,
33921 gnu/javax/crypto/key/IKeyAgreementParty.java,
33922 gnu/javax/crypto/key/IncomingMessage.java,
33923 gnu/javax/crypto/key/KeyAgreementException.java,
33924 gnu/javax/crypto/key/KeyAgreementFactory.java,
33925 gnu/javax/crypto/key/OutgoingMessage.java,
33926 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33927 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33928 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33929 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33930 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33931 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33932 gnu/javax/crypto/key/dh/ElGamalSender.java,
33933 gnu/javax/crypto/key/dh/GnuDHKey.java,
33934 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33935 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33936 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33937 gnu/javax/crypto/key/dh/RFC2631.java,
33938 gnu/javax/crypto/key/srp6/SRP6Host.java,
33939 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33940 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33941 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33942 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33943 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33944 gnu/javax/crypto/key/srp6/SRP6User.java,
33945 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33946 gnu/javax/crypto/key/srp6/SRPKey.java,
33947 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33948 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33949 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33950 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33951 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33952 gnu/javax/crypto/keyring/BaseKeyring.java,
33953 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33954 gnu/javax/crypto/keyring/CertPathEntry.java,
33955 gnu/javax/crypto/keyring/CertificateEntry.java,
33956 gnu/javax/crypto/keyring/CompressedEntry.java,
33957 gnu/javax/crypto/keyring/EncryptedEntry.java,
33958 gnu/javax/crypto/keyring/Entry.java,
33959 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33960 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33961 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33962 gnu/javax/crypto/keyring/IKeyring.java,
33963 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33964 gnu/javax/crypto/keyring/IPublicKeyring.java,
33965 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33966 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33967 gnu/javax/crypto/keyring/MeteredInputStream.java,
33968 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33969 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33970 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33971 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33972 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33973 gnu/javax/crypto/keyring/Properties.java,
33974 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33975 gnu/javax/crypto/mac/BaseMac.java,
33976 gnu/javax/crypto/mac/HMac.java,
33977 gnu/javax/crypto/mac/HMacFactory.java,
33978 gnu/javax/crypto/mac/IMac.java,
33979 gnu/javax/crypto/mac/MacFactory.java,
33980 gnu/javax/crypto/mac/MacInputStream.java,
33981 gnu/javax/crypto/mac/MacOutputStream.java,
33982 gnu/javax/crypto/mac/OMAC.java,
33983 gnu/javax/crypto/mac/TMMH16.java,
33984 gnu/javax/crypto/mac/UHash32.java,
33985 gnu/javax/crypto/mac/UMac32.java,
33986 gnu/javax/crypto/mode/BaseMode.java,
33987 gnu/javax/crypto/mode/CBC.java,
33988 gnu/javax/crypto/mode/CFB.java,
33989 gnu/javax/crypto/mode/CTR.java,
33990 gnu/javax/crypto/mode/EAX.java,
33991 gnu/javax/crypto/mode/ECB.java,
33992 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33993 gnu/javax/crypto/mode/ICM.java,
33994 gnu/javax/crypto/mode/IMode.java,
33995 gnu/javax/crypto/mode/ModeFactory.java,
33996 gnu/javax/crypto/mode/OFB.java,
33997 gnu/javax/crypto/pad/BasePad.java,
33998 gnu/javax/crypto/pad/IPad.java,
33999 gnu/javax/crypto/pad/PKCS1_V1_5.java,
34000 gnu/javax/crypto/pad/PKCS7.java,
34001 gnu/javax/crypto/pad/PadFactory.java,
34002 gnu/javax/crypto/pad/SSL3.java,
34003 gnu/javax/crypto/pad/TBC.java,
34004 gnu/javax/crypto/pad/TLS1.java,
34005 gnu/javax/crypto/pad/WrongPaddingException.java,
34006 gnu/javax/crypto/prng/ARCFour.java,
34007 gnu/javax/crypto/prng/CSPRNG.java,
34008 gnu/javax/crypto/prng/Fortuna.java,
34009 gnu/javax/crypto/prng/ICMGenerator.java,
34010 gnu/javax/crypto/prng/IPBE.java,
34011 gnu/javax/crypto/prng/PBKDF2.java,
34012 gnu/javax/crypto/prng/PRNGFactory.java,
34013 gnu/javax/crypto/prng/UMacGenerator.java,
34014 gnu/javax/crypto/sasl/AuthInfo.java,
34015 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34016 gnu/javax/crypto/sasl/ClientFactory.java,
34017 gnu/javax/crypto/sasl/ClientMechanism.java,
34018 gnu/javax/crypto/sasl/ConfidentialityException.java,
34019 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34020 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34021 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34022 gnu/javax/crypto/sasl/InputBuffer.java,
34023 gnu/javax/crypto/sasl/IntegrityException.java,
34024 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34025 gnu/javax/crypto/sasl/NoSuchUserException.java,
34026 gnu/javax/crypto/sasl/OutputBuffer.java,
34027 gnu/javax/crypto/sasl/SaslEncodingException.java,
34028 gnu/javax/crypto/sasl/SaslInputStream.java,
34029 gnu/javax/crypto/sasl/SaslOutputStream.java,
34030 gnu/javax/crypto/sasl/SaslUtil.java,
34031 gnu/javax/crypto/sasl/ServerFactory.java,
34032 gnu/javax/crypto/sasl/ServerMechanism.java,
34033 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34034 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34035 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34036 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34037 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34038 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34039 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34040 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34041 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34042 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34043 gnu/javax/crypto/sasl/plain/PasswordFile.java,
34044 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34045 gnu/javax/crypto/sasl/plain/PlainClient.java,
34046 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34047 gnu/javax/crypto/sasl/plain/PlainServer.java,
34048 gnu/javax/crypto/sasl/srp/CALG.java,
34049 gnu/javax/crypto/sasl/srp/ClientStore.java,
34050 gnu/javax/crypto/sasl/srp/IALG.java,
34051 gnu/javax/crypto/sasl/srp/KDF.java,
34052 gnu/javax/crypto/sasl/srp/PasswordFile.java,
34053 gnu/javax/crypto/sasl/srp/SRP.java,
34054 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34055 gnu/javax/crypto/sasl/srp/SRPClient.java,
34056 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34057 gnu/javax/crypto/sasl/srp/SRPServer.java,
34058 gnu/javax/crypto/sasl/srp/SecurityContext.java,
34059 gnu/javax/crypto/sasl/srp/ServerStore.java,
34060 gnu/javax/crypto/sasl/srp/StoreEntry.java,
34061 gnu/javax/net/ssl/Base64.java,
34062 gnu/javax/net/ssl/EntropySource.java,
34063 gnu/javax/net/ssl/NullManagerParameters.java,
34064 gnu/javax/net/ssl/PrivateCredentials.java,
34065 gnu/javax/net/ssl/SRPManagerParameters.java,
34066 gnu/javax/net/ssl/SRPTrustManager.java,
34067 gnu/javax/net/ssl/StaticTrustAnchors.java,
34068 gnu/javax/net/ssl/provider/Alert.java,
34069 gnu/javax/net/ssl/provider/AlertException.java,
34070 gnu/javax/net/ssl/provider/Certificate.java,
34071 gnu/javax/net/ssl/provider/CertificateRequest.java,
34072 gnu/javax/net/ssl/provider/CertificateType.java,
34073 gnu/javax/net/ssl/provider/CertificateVerify.java,
34074 gnu/javax/net/ssl/provider/CipherSuite.java,
34075 gnu/javax/net/ssl/provider/ClientHello.java,
34076 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34077 gnu/javax/net/ssl/provider/CompressionMethod.java,
34078 gnu/javax/net/ssl/provider/Constructed.java,
34079 gnu/javax/net/ssl/provider/ContentType.java,
34080 gnu/javax/net/ssl/provider/Context.java,
34081 gnu/javax/net/ssl/provider/DiffieHellman.java,
34082 gnu/javax/net/ssl/provider/DigestInputStream.java,
34083 gnu/javax/net/ssl/provider/DigestOutputStream.java,
34084 gnu/javax/net/ssl/provider/Enumerated.java,
34085 gnu/javax/net/ssl/provider/Extension.java,
34086 gnu/javax/net/ssl/provider/Extensions.java,
34087 gnu/javax/net/ssl/provider/Finished.java,
34088 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34089 gnu/javax/net/ssl/provider/Handshake.java,
34090 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34091 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34092 gnu/javax/net/ssl/provider/Jessie.java,
34093 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34094 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34095 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34096 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34097 gnu/javax/net/ssl/provider/KeyPool.java,
34098 gnu/javax/net/ssl/provider/MacException.java,
34099 gnu/javax/net/ssl/provider/OverflowException.java,
34100 gnu/javax/net/ssl/provider/PRNG.java,
34101 gnu/javax/net/ssl/provider/ProtocolVersion.java,
34102 gnu/javax/net/ssl/provider/Random.java,
34103 gnu/javax/net/ssl/provider/RecordInput.java,
34104 gnu/javax/net/ssl/provider/RecordInputStream.java,
34105 gnu/javax/net/ssl/provider/RecordOutputStream.java,
34106 gnu/javax/net/ssl/provider/RecordingInputStream.java,
34107 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34108 gnu/javax/net/ssl/provider/SSLHMac.java,
34109 gnu/javax/net/ssl/provider/SSLRSASignature.java,
34110 gnu/javax/net/ssl/provider/SSLRandom.java,
34111 gnu/javax/net/ssl/provider/SSLServerSocket.java,
34112 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34113 gnu/javax/net/ssl/provider/SSLSocket.java,
34114 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34115 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34116 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34117 gnu/javax/net/ssl/provider/SecurityParameters.java,
34118 gnu/javax/net/ssl/provider/ServerHello.java,
34119 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34120 gnu/javax/net/ssl/provider/Session.java,
34121 gnu/javax/net/ssl/provider/SessionContext.java,
34122 gnu/javax/net/ssl/provider/Signature.java,
34123 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34124 gnu/javax/net/ssl/provider/TLSHMac.java,
34125 gnu/javax/net/ssl/provider/TLSRandom.java,
34126 gnu/javax/net/ssl/provider/Util.java,
34127 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34128 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34129 gnu/javax/net/ssl/provider/XMLSessionContext.java,
34130 gnu/javax/security/auth/Password.java,
34131 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34132 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34133 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34134 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34135 gnu/javax/security/auth/callback/GnuCallbacks.java,
34136 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34137 gnu/java/security/Registry.java,
34138 gnu/java/security/Properties.java,
34139 gnu/java/security/hash/BaseHash.java,
34140 gnu/java/security/hash/HashFactory.java,
34141 gnu/java/security/hash/Haval.java,
34142 gnu/java/security/hash/IMessageDigest.java,
34143 gnu/java/security/hash/MD2.java,
34144 gnu/java/security/hash/MD4.java,
34145 gnu/java/security/hash/MD5.java,
34146 gnu/java/security/hash/RipeMD128.java,
34147 gnu/java/security/hash/RipeMD160.java,
34148 gnu/java/security/hash/Sha160.java,
34149 gnu/java/security/hash/Sha256.java,
34150 gnu/java/security/hash/Sha384.java,
34151 gnu/java/security/hash/Sha512.java,
34152 gnu/java/security/hash/Tiger.java,
34153 gnu/java/security/hash/Whirlpool.java,
34154 gnu/java/security/jce/hash/HavalSpi.java,
34155 gnu/java/security/jce/hash/MD2Spi.java,
34156 gnu/java/security/jce/hash/MD4Spi.java,
34157 gnu/java/security/jce/hash/MD5Spi.java,
34158 gnu/java/security/jce/hash/MessageDigestAdapter.java,
34159 gnu/java/security/jce/hash/RipeMD128Spi.java,
34160 gnu/java/security/jce/hash/RipeMD160Spi.java,
34161 gnu/java/security/jce/hash/Sha160Spi.java,
34162 gnu/java/security/jce/hash/Sha256Spi.java,
34163 gnu/java/security/jce/hash/Sha384Spi.java,
34164 gnu/java/security/jce/hash/Sha512Spi.java,
34165 gnu/java/security/jce/hash/TigerSpi.java,
34166 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34167 gnu/java/security/jce/prng/HavalRandomSpi.java,
34168 gnu/java/security/jce/prng/MD2RandomSpi.java,
34169 gnu/java/security/jce/prng/MD4RandomSpi.java,
34170 gnu/java/security/jce/prng/MD5RandomSpi.java,
34171 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34172 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34173 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34174 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34175 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34176 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34177 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34178 gnu/java/security/jce/prng/TigerRandomSpi.java,
34179 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34180 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34181 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34182 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34183 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34184 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34185 gnu/java/security/jce/sig/SignatureAdapter.java,
34186 gnu/java/security/key/IKeyPairCodec.java,
34187 gnu/java/security/key/IKeyPairGenerator.java,
34188 gnu/java/security/key/KeyPairCodecFactory.java,
34189 gnu/java/security/key/KeyPairGeneratorFactory.java,
34190 gnu/java/security/key/dss/DSSKey.java,
34191 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34192 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34193 gnu/java/security/key/dss/DSSPrivateKey.java,
34194 gnu/java/security/key/dss/DSSPublicKey.java,
34195 gnu/java/security/key/dss/FIPS186.java,
34196 gnu/java/security/key/rsa/GnuRSAKey.java,
34197 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34198 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34199 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34200 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34201 gnu/java/security/prng/BasePRNG.java,
34202 gnu/java/security/prng/EntropySource.java,
34203 gnu/java/security/prng/IRandom.java,
34204 gnu/java/security/prng/LimitReachedException.java,
34205 gnu/java/security/prng/MDGenerator.java,
34206 gnu/java/security/prng/PRNGFactory.java,
34207 gnu/java/security/prng/RandomEvent.java,
34208 gnu/java/security/prng/RandomEventListener.java,
34209 gnu/java/security/sig/BaseSignature.java,
34210 gnu/java/security/sig/ISignature.java,
34211 gnu/java/security/sig/ISignatureCodec.java,
34212 gnu/java/security/sig/SignatureFactory.java,
34213 gnu/java/security/sig/dss/DSSSignature.java,
34214 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34215 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34216 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34217 gnu/java/security/sig/rsa/EMSA_PSS.java,
34218 gnu/java/security/sig/rsa/RSA.java,
34219 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34220 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34221 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34222 gnu/java/security/util/Base64.java,
34223 gnu/java/security/util/ExpirableObject.java,
34224 gnu/java/security/util/Prime2.java,
34225 gnu/java/security/util/Sequence.java,
34226 gnu/java/security/util/SimpleList.java,
34227 gnu/java/security/util/Util.java,
34228 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34229 new files imported from GNU Crypto and Jessie.
34231 2006-01-25 Tom Tromey <tromey@redhat.com>
34233 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34234 Fixed calculation of number of bytes to read.
34235 (size, count, meta, eof): Document.
34237 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34239 * java/lang/Character.java:
34240 (codePointCount(char[], int, int)): New API method.
34241 (codePointCount(CharSequence, int, int)): Likewise.
34243 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34246 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34248 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34249 action if not editing.
34250 * javax/swing/plaf/basic/BasicTreeUI.java
34251 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34252 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34253 (EditorUpdateTimer): Removed.
34254 (TreeAction.actionPerformed): Stop and not cancel the current editing
34255 when starting editing another node.
34256 (editorTimer, newVal): Removed.
34257 (cancelEditing): Do not send the cancel message.
34258 (completeEditing): Obtain the edited value from the editor.
34259 (finish): New method.
34260 (paintRow): Do not paint the editing component here.
34261 (startEditing, stopEditing): Rewritten.
34262 * javax/swing/tree/DefaultTreeCellEditor.java
34263 (DefaultTextField): Added SVUID.
34264 (EditorContainer): Rewritten.
34265 (RealEditorListener): New inner class.
34266 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34267 (constructor): Add cell editor listener. Do not instantiate timer.
34268 (actionPerformed): Return without action.
34269 (cancelCellEditing): Rewritten.
34270 (createTreeCellEditor): Add cell editor listener to the editor.
34271 (getCellEditorValue): Request the value from the realEditor.
34272 (isCellEditable): Removed timer management.
34273 (prepareForEditing): Remove all components befor adding the
34275 (startEditingTimer): Start only if it is not null.
34276 (stopCellEditing): Rewritten.
34277 (stopEditingTimer): New method.
34278 (valueChanged): Do not configure editing component here.
34280 2006-01-25 Roman Kennke <kennke@aicas.com>
34282 * javax/swing/text/html/FormView.java: New file.
34284 2006-01-25 Roman Kennke <kennke@aicas.com>
34286 * javax/swing/JSplitPane.java
34287 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34288 has been set in order to set an initial layout.
34289 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34290 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34291 layout of the right component.
34292 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34293 dividerLocation to the size of the left component.
34294 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34296 (setDividerLocation): Don't validate the location here. Sometimes
34297 the divider needs to be set to an invalid location.
34298 (startDragging): Don't revalidate and repaint here.
34299 (finishDraggingTo): Don't repaint here. Also, don't call
34300 dragDividerTo() here.
34301 * javax/swing/plaf/basic/BasicLookAndFeel.java
34302 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34305 2006-01-25 Roman Kennke <kennke@aicas.com>
34307 * javax/swing/JSplitPane.java
34308 (addImpl): Removed invalidate() and layout() call.
34309 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34310 (PropertyHandler.propertyChange): Remove layoutContainer() and
34313 2006-01-25 Roman Kennke <kennke@aicas.com>
34316 * native/Makefile.am
34317 * native/jni/classpath/Makefile.am
34318 * native/jni/classpath/jcl.c
34319 * native/jni/classpath/jcl.h
34320 * native/jni/classpath/native_state.c
34321 * native/jni/gtk-peer/Makefile.am
34322 * native/jni/java-io/Makefile.am
34323 * native/jni/java-io/java_io_VMFile.c
34324 * native/jni/java-io/java_io_VMObjectStreamClass.c
34325 * native/jni/java-lang/Makefile.am
34326 * native/jni/java-net/Makefile.am
34327 * native/jni/java-net/java_net_VMInetAddress.c
34328 * native/jni/java-net/javanet.c
34329 * native/jni/java-net/javanet.h
34330 * native/jni/java-nio/Makefile.am
34331 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34332 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34333 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34334 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34335 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34336 * native/jni/java-util/Makefile.am
34337 * native/jni/java-util/java_util_VMTimeZone.c
34338 * native/jni/midi-dssi/Makefile.am
34339 * native/jni/xmlj/Makefile.am
34340 * native/target/Makefile.am
34341 * native/target/Linux/target_native_math.h
34342 * native/target/Linux/target_native_memory.h
34343 * native/target/Linux/Makefile.am
34344 * native/target/Linux/target_native_io.h
34345 * native/target/Linux/target_native_math_float.h
34346 * native/target/Linux/target_native_math_int.h
34347 * native/target/generic/target_generic.c
34348 * native/target/generic/target_generic_io.c
34349 * native/target/generic/target_generic_math.h
34350 * native/target/generic/target_generic_memory.h
34351 * native/target/generic/target_generic_misc.c
34352 * native/target/generic/target_generic_network.c
34353 * native/target/generic/Makefile.am
34354 * native/target/generic/target_generic.h
34355 * native/target/generic/target_generic_file.h
34356 * native/target/generic/target_generic_io.h
34357 * native/target/generic/target_generic_math_float.h
34358 * native/target/generic/target_generic_math_int.h
34359 * native/target/generic/target_generic_misc.h
34360 * native/target/generic/target_generic_network.h:
34361 Reverted target native related changes back to the state of the
34363 * native/target/MinGW/.cvsignore
34364 * native/target/MinGW/Makefile.am
34365 * native/target/MinGW/target_native.h
34366 * native/target/MinGW/target_native_file.h
34367 * native/target/MinGW/target_native_io.h
34368 * native/target/MinGW/target_native_math.h
34369 * native/target/MinGW/target_native_memory.h
34370 * native/target/MinGW/target_native_misc.h
34371 * native/target/MinGW/target_native_network.h
34372 * native/target/RTEMS/.cvsignore
34373 * native/target/RTEMS/Makefile.am
34374 * native/target/RTEMS/target_native.h
34375 * native/target/RTEMS/target_native_file.h
34376 * native/target/RTEMS/target_native_io.h
34377 * native/target/RTEMS/target_native_math.h
34378 * native/target/RTEMS/target_native_memory.h
34379 * native/target/RTEMS/target_native_misc.h
34380 * native/target/RTEMS/target_native_network.h
34381 * native/target/SunOS/.cvsignore
34382 * native/target/SunOS/Makefile.am
34383 * native/target/SunOS/target_native.h
34384 * native/target/SunOS/target_native_file.h
34385 * native/target/SunOS/target_native_io.h
34386 * native/target/SunOS/target_native_math.h
34387 * native/target/SunOS/target_native_memory.h
34388 * native/target/SunOS/target_native_misc.h
34389 * native/target/SunOS/target_native_network.h
34390 * native/target/embOS/.cvsignore
34391 * native/target/embOS/Makefile.am
34392 * native/target/embOS/target_native.h
34393 * native/target/embOS/target_native_file.h
34394 * native/target/embOS/target_native_io.c
34395 * native/target/embOS/target_native_io.h
34396 * native/target/embOS/target_native_math.h
34397 * native/target/embOS/target_native_memory.h
34398 * native/target/embOS/target_native_misc.h
34399 * native/target/embOS/target_native_network.h
34400 * native/target/posix/.cvsignore
34401 * native/target/posix/Makefile.am
34402 * native/target/posix/target_posix.c
34403 * native/target/posix/target_posix.h
34404 * native/target/posix/target_posix_file.c
34405 * native/target/posix/target_posix_file.h
34406 * native/target/posix/target_posix_io.c
34407 * native/target/posix/target_posix_io.h
34408 * native/target/posix/target_posix_math.c
34409 * native/target/posix/target_posix_math.h
34410 * native/target/posix/target_posix_memory.c
34411 * native/target/posix/target_posix_memory.h
34412 * native/target/posix/target_posix_misc.c
34413 * native/target/posix/target_posix_misc.h
34414 * native/target/posix/target_posix_network.c
34415 * native/target/posix/target_posix_network.h:
34418 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34420 * javax/print/PrintService.java,
34421 * javax/print/DocPrintJob.java,
34422 * javax/print/CancelablePrintJob.java:
34423 Added and enhanced api documentation for class and methods.
34425 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34427 * javax/print/SimpleDoc.java: Make class final.
34428 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34429 * javax/print/attribute/DateTimeSyntax.java:
34430 (toString): New overridden method.
34431 * javax/print/attribute/standard/JobStateReasons.java:
34432 (add): Use the super.add method to avoid recursion.
34433 * javax/print/attribute/standard/PrinterStateReasons.java:
34434 (put): Use the super.put method to avoid recursion.
34436 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34438 * java/beans/XMLEncoder.java:
34439 (writeExpression): Added early return (fixes PR #25941).
34440 (setExceptionListener, anonymous Class): Removed printStackTrace
34442 * java/beans/Encoder: Removed unused imports.
34443 (setupDefaultPersistenceDelegates): Removed unneccessary
34444 PersistenceDelegates for subclasses.
34445 * java/beans/PersistenceDelegate:
34446 (initialize): Use local variable as first argument as it was
34448 * java/beans/DefaultPersistenceDelegate:
34449 (initialize): Added call to superclass' implementation, added
34452 2006-01-24 Tom Tromey <tromey@redhat.com>
34454 * java/util/regex/PatternSyntaxException.java: Added @since.
34455 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34456 * java/util/regex/MatchResult.java: New file.
34458 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34460 * javax/swing/text/StringContent.java: Added API docs all over, plus
34461 minor reformatting.
34463 2006-01-24 Gary Benson <gbenson@redhat.com>
34465 * java/net/SocketPermission.java: Implemented serialization.
34467 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34469 * javax/swing/text/StringContent.java
34470 (remove): Modified argument check to prevent removal of last character,
34471 (getChars): Removed null argument check to allow NullPointerException,
34473 (checkLocation): Added API docs and white space.
34475 2006-01-23 Lillian Angel <langel@redhat.com>
34477 * javax/swing/text/DefaultStyledDocument.java
34478 (insertUpdate): Should only call createFracture with
34479 StartTagType. Added check.
34480 (insertContentTag): Should use the tags length for splitting.
34481 Also, added a check to determine if current's start and end offset are
34482 equal to the offset and endOffset. If so, only one leaf element
34484 (createFracture): Removed FIXME. This function is complete.
34485 (split): Added calls to replace. Changed so the child is
34486 added immediately to the paragraph. Prevents NPEs.
34488 2006-01-23 Mark Wielaard <mark@klomp.org>
34490 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34492 2006-01-23 Tom Tromey <tromey@redhat.com>
34494 * gnu/java/security/x509/X509Certificate.java (parse):
34495 Unconditionally read value; for version==1 case when reading
34498 2006-01-23 Roman Kennke <kennke@aicas.com>
34500 * javax/swing/plaf/synth/ColorType.java,
34501 * javax/swing/plaf/synth/Region.java,
34502 * javax/swing/plaf/synth/SynthConstants.java,
34503 * javax/swing/plaf/synth/SynthContext.java
34504 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34505 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34506 * javax/swing/plaf/synth/SynthPainter.java,
34507 * javax/swing/plaf/synth/SynthStyle.java,
34508 * javax/swing/plaf/synth/SynthStyleFactory.java,
34509 * javax/swing/plaf/synth/package.html:
34510 New files. Added the public API and framework classes for the
34511 Synth look and feel.
34513 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34515 * javax/swing/text/Segment.java: API docs all over.
34517 2006-01-23 Lillian Angel <langel@redhat.com>
34519 * javax/swing/text/DefaultStyledDocument.java
34520 (split): Should not use createLeafElement and createBranchElement here.
34521 We should just instaniate the LeafElements and BranchElements instead
34522 to avoid the case where create*Element is overridden.
34524 2006-01-23 Lillian Angel <langel@redhat.com>
34526 * javax/swing/text/DefaultStyledDocument.java
34527 (insertFirstContentTag): Moved check outside of if-statement.
34528 This should be checked before creating the new leaf element.
34529 (insertFracture): Fixed check to prevent an NPE. The previous
34530 leaf should only be recreated if it has been created by
34531 insertFirstContentTag. Also, fixed up code: if the endOffset is
34532 greater than the offset, then we need to create a temp leaf
34533 as a place holder. Otherwise, the leaf elements should be
34536 2006-01-23 Gary Benson <gbenson@redhat.com>
34538 * java/net/SocketPermission.java: Almost completely rewritten.
34540 2006-01-23 Lillian Angel <langel@redhat.com>
34542 * javax/swing/text/DefaultStyledDocument.java
34543 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34545 2006-01-23 Lillian Angel <langel@redhat.com>
34547 * javax/swing/text/DefaultStyledDocument.java:
34548 Formatted ElementBuffer and added new fields.
34549 (remove): Added check to determine if length is 0.
34550 (insertFirstContentTag): Initialized firstCreated to the element that is created
34551 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34552 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34553 that have been recreated.
34554 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34555 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34556 FIXME tags to the lines that need to be rewritten.
34558 2006-01-23 Mark Wielaard <mark@klomp.org>
34560 * examples/Makefile.am: Add support for fastjar.
34562 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34564 * gnu/regexp/REToken.java(empty): Made Cloneable.
34565 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34566 Use separate methods matchN and matchP depending on the
34568 (matchN): New method used when negative. Done as before.
34569 (matchP): New method used when not negative. Each token is
34570 tried not by itself but by a clone of it.
34572 2006-01-23 Chris Burdess <dog@gnu.org>
34575 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34576 class to avoid getLength method contention.
34577 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34579 2006-01-23 Chris Burdess <dog@gnu.org>
34581 * native/jni/java-util/Makefile.am: Include library required
34582 explicitly by BSD systems.
34583 * native/target/generic/target_generic_misc.h: Remove old commented
34585 * native/target/generic/target_generic_network.h: Fallbacks (to
34586 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34588 2006-01-22 Tom Tromey <tromey@redhat.com>
34590 * native/target/posix/.cvsignore: Added .deps.
34592 2006-01-22 Mark Wielaard <mark@klomp.org>
34595 reported by James Damour <James.Damour@corp.request.com>
34596 * java/awt/Container.java (addImpl): Use empty string as name when
34597 null constraints for LayoutManager.addLayoutComponent().
34599 2006-01-22 Chris Burdess <dog@gnu.org>
34602 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34603 representing current directory as base for relative URLs.
34605 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34608 * gnu/regexp/REMatch.java(empty): New boolean indicating
34609 an empty string matched.
34610 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34612 (initialize): Support back reference \10, \11, and so on.
34613 (parseInt): renamed from getEscapedChar and returns int.
34614 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34615 when an empty string matched. Fixed a bug of the case where
34616 an empty string matched. Added special handling of {0}.
34617 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34618 when an empty string matched. Fixed the case insensitive matching.
34620 2006-01-21 Roman Kennke <kennke@aicas.com>
34622 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34623 (paint): Added painting of border if one is installed.
34625 2006-01-21 Roman Kennke <kennke@aicas.com>
34627 PR classpath/25843:
34628 * javax/swing/plaf/basic/BasicBorders.java
34629 (getSplitPaneDividerBorder): Use new border constructor
34631 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34632 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34633 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34634 colors are fetched dynamically in the paintBorder method.
34635 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34637 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34639 * javax/swing/plaf/basic/BasicLookAndFeel.java
34640 (initComponentDefaults): Added default for SplitPaneDivider.border.
34641 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34642 (tmpBorder): Removed unneeded inner class.
34643 (BasicSplitPaneDivider): Removed setting of border.
34644 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34646 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34647 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34648 to get behaviour right.
34649 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34650 implementation. This must be rewritten since the layout now works
34651 slightly different (basically, it shouldn't modify the sizes[]
34652 here but instead the dividerLocation.
34653 (dividerLocation): New field.
34654 (installDefaults): Initialize border on divider.
34655 (uninstallDefaults): Only remove background color and border from
34656 splitPane if they are instances of UIDefaults (== not set by
34658 (setDividerLocation): Set the dividerLocation field instead of
34659 doing stunt acts here.
34660 (getDividerLocation): Return dividerLocation field.
34661 (getMinimumDividerLocation): Fixed calculation of minimum location.
34663 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34666 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34668 * lib/Makefile.am: Likewise.
34670 2006-01-21 Roman Kennke <kennke@aicas.com>
34672 * javax/swing/PopupFactory.java
34673 (getPopup): If there is no Swing root found in any way, use a
34674 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34675 for the Swing AWT peers.
34677 2006-01-20 Tom Tromey <tromey@redhat.com>
34679 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34680 Read response body for redirect.
34682 2006-01-20 Chris Burdess <dog@gnu.org>
34684 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34687 2006-01-20 Lillian Angel <langel@redhat.com>
34689 * javax/swing/text/DefaultStyledDocument.java
34690 (pad): Removed, not needed.
34691 (printElements): Likewise.
34692 (printEdit): Likewise.
34694 2006-01-20 Roman Kennke <kennke@aicas.com>
34696 * javax/swing/text/DefaultFormatter.java
34697 (DefaultFormatter): Don't set a value class.
34699 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34701 * javax/swing/DefaultCellEditor.java: Commented.
34703 2006-01-19 Roman Kennke <kennke@aicas.com>
34705 * javax/swing/JOptionPane.java
34706 Added cast to Frame for JDialog constructor.
34708 2006-01-19 Roman Kennke <kennke@aicas.com>
34710 * javax/swing/JWindow.java
34711 (JWindow(Window)): Fixed to accept null owner argument.
34712 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34714 * javax/swing/SwingUtilities.java
34715 (getOwnerFrame): Owner parameter and return value are fixed to
34716 be of type Window for compatibity with the above JWindow
34718 * javax/swing/JDialog.java
34719 (JDialog): Added cast to Frame to make sure the correct constructor
34721 * javax/swing/JFileChooser.java
34722 (createDialog): Added cast to Frame for JDialog constructor.
34724 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34726 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34728 2006-01-19 Roman Kennke <kennke@aicas.com>
34730 * javax/swing/JWindow.java: Added API docs to the constructors.
34732 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34734 * javax/swing/JTable.java: Commenting method headers.
34735 (EditorUpdateTimer): Removed.
34737 2006-01-19 Roman Kennke <kennke@aicas.com>
34739 * javax/swing/JDialog.java
34740 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34741 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34742 SwingUtilities.getOwnerFrame() with the owner argument.
34743 * javax/swing/JFileChooser.java
34744 (showOpenDialog(Component)): Call pack() on the dialog instead of
34745 setting a fixed height.
34746 (showSaveDialog()): Likewise.
34747 (showDialog()): Likewise.
34748 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34749 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34751 * javax/swing/JWindow.java
34752 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34753 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34755 * javax/swing/SwingUtilities.java
34756 (getOwnerFrame): Changed to take a owner parameter that is returned
34757 as owner frame when not null.
34759 2006-01-19 Roman Kennke <kennke@aicas.com>
34761 * gnu/java/awt/peer/swing/SwingFramePeer.java
34762 (handleMouseEvent): Fixed handling of mouse events.
34763 (handleMouseMotionEvent): Fixed handling of mouse events.
34765 2006-01-19 Roman Kennke <kennke@aicas.com>
34767 * native/target/generic/target_generic_misc.c:
34768 (targetGenericMisc_formatString): Added missing method.
34770 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34772 * m4/acinclude.m4: Test also for ecj found before exiting configure
34773 with no javac found error message.
34775 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34778 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34779 \0123, \x1B, \u1234.
34780 (getEscapedChar): New method.
34781 (CharExpression): New inner class.
34782 (getCharExpression): New Method.
34783 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34784 RE_UNICODE_CHAR): New syntax bits.
34786 2006-01-19 Roman Kennke <kennke@aicas.com>
34788 * native/target/Makefile.am: Fixed so that posix stuff is really
34789 only built when requested.
34791 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34793 * javax/swing/JTable.java (editingStopped, editingCancelled):
34794 Repaint the edited cell.
34795 (setValueAt): Do not add the value object to this container.
34796 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34797 (editingStopped): Use editingRow, editingColumn and not
34798 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34799 (doLayout): Move the editor component, if present, into the new
34800 location and call repaint(). (moveToCellBeingEdited): new method.
34801 (TableTextField): new inner class.
34802 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34803 (setValueAt): Repaint the changed segment.
34804 (createDefaultEditors): Implemented.
34805 (BooleanCellRenderer): Center the checkbox and use the default foreground
34806 and background colors.
34807 * javax/swing/plaf/basic/BasicTableUI.java
34808 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34809 (paint): No need to allocate rectangle for each cell.
34810 * javax/swing/DefaultCellEditor.java: Rewritten.
34811 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34812 Use TableDemo.java table example.
34813 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34815 2006-01-19 Roman Kennke <kennke@aicas.com>
34817 * configure.ac: Added/fixed --enable-posix-layer option to enable
34818 build of posix layer.
34819 * native/target/Makefile.am: Added build for posix layer.
34821 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34823 * configure.ac: Set TARGET to Linux per default.
34824 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34826 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34827 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34830 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34832 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34833 what looked like proprietary documentation with original or new one.
34834 * java/security/spec/PSSParameterSpec.java: Likewise.
34835 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34836 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34837 * java/security/AlgorithmParameterGenerator.java: Likewise.
34838 * java/security/AlgorithmParameters.java: Likewise.
34839 * java/security/Identity.java: Likewise.
34840 * java/security/IdentityScope.java: Likewise.
34841 * java/security/KeyFactory.java: Likewise.
34842 * java/security/KeyPairGenerator.java: Likewise.
34843 * java/security/MessageDigest.java: Likewise.
34844 * java/security/Policy.java: Likewise.
34845 * java/security/ProtectionDomain.java: Likewise.
34846 * java/security/Security.java: Likewise.
34847 * java/security/Signature.java: Likewise.
34848 * java/security/SignatureSpi.java: Likewise.
34849 * java/security/SignedObject.java: Likewise.
34850 * java/security/Signer.java: Likewise.
34852 2006-01-18 Roman Kennke <kennke@aicas.com>
34854 * configure.ac: Added --enable-posix-layer option to enable
34855 build of the posix target layer.
34857 2006-01-18 Roman Kennke <kennke@aicas.com>
34859 * native/jni/java-net/java_net_VMInetAddress.c
34860 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34863 2006-01-18 Roman Kennke <kennke@aicas.com>
34865 * native/jni/java-util/java_util_VMTimeZone.c:
34866 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34867 to use target native layer.
34868 (jint_to_charbuf): Removed unneeded helper function.
34870 2006-01-18 Roman Kennke <kennke@aicas.com>
34872 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34873 Removed unnecessary include.
34874 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34875 Reorganized includes to only include sys/* headers when available.
34876 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34877 (get_pagesize): Return 0 when nothing else works.
34878 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34879 Replaced munmap() and strerror() with corresponding target macros.
34880 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34881 Replaced strerror() with corresponding target macro.
34882 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34883 Replaced strerror() with corresponding target macro.
34884 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34885 (Java_java_nio_VMDirectByteBuffer_allocate):
34886 Replaced malloc() with the corresponding target macro.
34887 (Java_java_nio_VMDirectByteBuffer_free):
34888 Replaced free() with the corresponding target macro.
34889 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34890 Add index to pointer when assigning the value.
34891 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34892 Replaced memcpy with corresponding target macro. Add index when
34893 doing the memcpy, not when fetching the pointer.
34894 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34895 Replaced memcpy with corresponding target macro.
34896 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34897 Replaced memmove with the corresponding target macro.
34899 2006-01-17 Tom Tromey <tromey@redhat.com>
34901 PR classpath/20198:
34902 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34903 (JarURLLoader): Likewise.
34904 (addURLImpl): Canonicalize file URLs.
34906 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34908 * configure.ac: Set TARGET.
34909 * native/Makefile.am, native/jni/classpath/Makefile.am,
34910 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34911 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34912 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34913 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34914 native/target/Linux/Makefile.am,
34915 native/target/generic/Makefile.am,
34916 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34917 and target stuff linked in and link it against lib*.so libraries.
34919 2006-01-17 Roman Kennke <kennke@aicas.com>
34921 * native/jni/java-net/javanet.c:
34922 (_javanet_connect): Changed type of some local variables to jint.
34923 Fixed error handling to throw a SocketTimeoutException if the
34924 connection attempt times out.
34925 (_javanet_bind): Changed type of some local variables to jint.
34926 (_javanet_accept): Likewise.
34927 (_javanet_recvfrom): Likewise.
34928 (_javanet_sendto): Fixed error handling to throw a
34929 PortUnreachableException when connection is refused.
34930 (_javanet_get_option): Changed type of some local variables to jint.
34931 Implemented SOCKOPT_SO_BROADCAST.
34932 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34933 target native macro.
34934 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34935 target native macro.
34936 * native/jni/java-net/javanet.h:
34937 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34938 SOCKOPT_SO_BROADCAST.
34940 2006-01-17 Lillian Angel <langel@redhat.com>
34942 * javax/swing/text/DefaultStyledDocument.java
34943 (insert): Cleaned up loop. No need to make so many calls
34944 to getAddedElements and getRemovedElements.
34945 (insertFracture): Removed unneeded array.
34947 2006-01-17 Lillian Angel <langel@redhat.com>
34949 * javax/swing/text/JTextComponent.java
34950 (AccessibleJTextComponent): Implemented.
34951 (getCaretPosition): Implemented.
34952 (getSelectedText): Implemented.
34953 (getSelectionStart): Implemented.
34954 (getSelectionEnd): Implemented.
34955 (getSelectionEnd): Implemented.
34956 (getCharCount): Implemented.
34957 (insertTextAtIndex): Implemented.
34958 (getTextRange): Implemented.
34959 (delete): Implemented.
34960 (cut): Implemented.
34961 (paste): Implemented.
34962 (replaceText): Implemented.
34963 (selectText): Implemented.
34965 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34967 * javax/swing/text/DefaultStyledDocument.java:
34968 (pad): New debugging method.
34969 (printElements): Likewise.
34970 (printPendingEdits): Likewise.
34971 (printElement): Likewise.
34972 (Edit): Improved docs, moved this class to be an inner class of
34973 ElementBuffer since it only applies within that scope. Changed added
34974 and removed to be Vectors instead of arrays because we need to be able
34975 to add to them after construction.
34976 (ElementBuffer): Updated docs with link to article that helped in this
34977 classes implementation.
34978 (ElementBuffer.Edit.getRemovedElements): New method.
34979 (ElementBuffer.Edit.getAddedElements): Likewise.
34980 (ElementBuffer.Edit.addRemovedElement): Likewise.
34981 (ElementBuffer.Edit.addRemovedElements): Likewise.
34982 (ElementBuffer.Edit.addAddedElement): Likewise.
34983 (ElementBuffer.Edit.addAddedElements): Likewise.
34984 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34986 (ElementBuffer.getEditForParagraphAndIndex): New method.
34987 (ElementBuffer.removeUpdate): Changed type of paragraph to
34988 BranchElement. Corrected style of adding the edit to use the new Edit
34990 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34991 the new Edit facilities.
34992 (ElementBuffer.split): Likewise.
34993 (ElementBuffer.insertParagraph): Likewise.
34994 (ElementBuffer.insertContentTag): Likewise.
34995 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34996 not just the root and the first one. Apply the structural changes to
34997 the tree at the same time as updating the DocumentEvent.
34998 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34999 handling of EndTags as the first ElementSpec. Instead have to handle
35000 ContentTags as a special case if they are the first ElementSpec and if
35001 not have to fracture the tree.
35002 (ElementBuffer.createFracture): New method. May not be complete yet.
35003 Added FIXME indicating what may remain to be done.
35004 (ElementBuffer.insertFirstContentTag): New method.
35005 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
35006 be done. Changed the adding of edits to use the new Edit facilities.
35007 Removed the adding of edits for Elements that weren't in the tree prior
35009 (insertUpdate): Removed incorrect condition for setting a StartTag's
35010 direction to JoinNextDirection.
35011 * javax/swing/text/StyleContent.java:
35012 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
35013 that was causing an ArrayOutOfBoundsException.
35015 2006-01-17 Roman Kennke <kennke@aicas.com>
35017 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35018 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35019 exception messages a little.
35020 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35021 alternative implementation for systems without filesystems.
35022 Replaced snprintf with the corresponding target native macro.
35023 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35024 Only do something when we have a filesystem.
35025 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35026 alternative implementation for systems without filesystems.
35027 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35028 alternative implementation for systems without filesystems.
35029 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35030 alternative implementation for systems without filesystems.
35031 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35032 Only do something when we have a filesystem.
35033 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35034 Only do something when we have a filesystem.
35035 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35036 alternative implementation for systems without filesystems.
35037 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35038 Replaced ssize_t variables with jint. Provided
35039 alternative implementation for systems without filesystems.
35040 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35041 Replaced ssize_t variables with jint. Provided
35042 alternative implementation for systems without filesystems.
35043 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35044 Replaced ssize_t variables with jint. Provided
35045 alternative implementation for systems without filesystems.
35046 (Java_gnu_java_nio_channels_FileChannelImpl_force):
35047 Only do something when we have a filesystem.
35048 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35049 Replaced ssize_t variables with jint. Provided
35050 alternative implementation for systems without filesystems.
35051 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35052 to use the corresponding target native macro.
35053 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35054 to use the corresponding target native macro.
35056 2006-01-17 Lillian Angel <langel@redhat.com>
35058 * javax/swing/text/DefaultTextUI.java:
35059 Added deprecated tag.
35060 * javax/swing/text/JTextComponent.java
35061 (AccessibleJTextComponent): Fixed API doc and
35062 partiall9 implemented.
35063 (getCaretPosition): Fixed API doc and implemented.
35064 (getSelectedText): Fixed API doc.
35065 (getSelectionStart): Likewise.
35066 (getSelectionEnd): Likewise.
35067 (caretUpdate): Fixed API doc and
35068 partially implemented.
35069 (getAccessibleStateSet): Likewise.
35070 (getAccessibleRole): Fixed API doc and implemented.
35071 (getAccessibleEditableText): Implemented.
35072 (getAccessibleText): Fixed API doc and implemented.
35073 (insertUpdate): Fixed API doc.
35074 (changedUpdate): Likewise.
35075 (getIndexAtPoint): Likewise.
35076 (getRootEditorRect): Removed.
35077 (getCharacterBounds): Fixed API doc.
35078 (getCharCount): Likewise.
35079 (getCharacterAttribute): Likewise.
35080 (getAtIndex): Likewise.
35081 (getAfterIndex): Likewise.
35082 (getBeforeIndex): Likewise.
35083 (getAccessibleActionCount): Added function stub.
35084 (getAccessibleActionDescription): Added function,
35085 partially implemented.
35086 (doAccessibleAction): Added function stub.
35087 (setTextContents): Likewise.
35088 (insertTextAtIndex): Likewise.
35089 (delete): Likewise.
35092 (replaceText): Likewise.
35093 (selectText): Likewise.
35094 (setAttributes): Likewise.
35095 (getAccessibleContext): Implemented.
35097 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35100 * gnu/regexp/RETokenRange.java(constructor):
35101 Keep lo and hi as they are.
35102 (match): Changed the case insensitive comparison.
35104 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35106 * gnu/regexp/RETokenChar.java(chain):
35107 Do not concatenate tokens whose insens flags are diffent.
35109 2006-01-17 Roman Kennke <kennke@aicas.com>
35111 * native/target/generic/target_generic_network.c:
35112 (targetGenericNetwork_receive): Fixed signature to match the
35113 corresponding .h file.
35114 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35115 to match the corresponding .h file.
35117 2006-01-17 Roman Kennke <kennke@aicas.com>
35119 * native/jni/classpath/jcl.c:
35120 (JCL_malloc): Replaced calls to malloc with the corresponding
35121 target layer macro.
35122 (JCL_free): Replaced calls to free with the corresponding
35123 target layer macro.
35124 * native/jni/classpath/native_state.c:
35125 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35126 calloc with the corresponding target layer macro.
35127 (remove_node): Replaced calls to free with the corresponding
35128 target layer macro.
35129 (add_node): Replaced calls to malloc with the corresponding
35130 target layer macro.
35132 2006-01-17 Roman Kennke <kennke@aicas.com>
35134 * native/jni/java-io/java_io_VMObjectStreamClass.c:
35135 (getFieldReference): Use MALLOC/FREE macros for portability instead
35136 of direct call to malloc() and free().
35138 2006-01-17 Roman Kennke <kennke@aicas.com>
35140 * native/jni/classpath/jcl.c: Added missing imports.
35141 (JCL_realloc): Fixed signature to include oldsize. This is needed
35142 for some targets. Make this function use the MEMORY_REALLOC macro
35144 * native/jni/classpath/jcl.h
35145 (JCL_realloc): Adjusted signature.
35146 * native/jni/java-io/java_io_VMFile.c:
35147 (Java_java_io_VMFile_create): Use target layer macro for handling
35148 errno, for portability.
35149 (Java_java_io_VMFile_length): Release filename string in error cases
35151 (Java_java_io_VMFile_list): Initialize filename variable. Use new
35152 version of JCL_realloc.
35153 * native/jni/java-net/java_net_VMInetAddress.c:
35154 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35155 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35156 * native/jni/java-net/javanet.c:
35157 (_javanet_bind): Make errorstr variable const to avoid compiler
35159 (_javanet_set_option): Fixed typo.
35160 (_javanet_get_option): Fixed typo.
35161 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35162 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35163 error_string variable const to avoid compiler warning.
35164 * native/target/generic/target_generic_file.h:
35165 Replaced // comments with /* */ comments to avoid compiler warnings.
35166 Added some spaces to make code better readable.
35167 * native/target/generic/target_generic_memory.h:
35168 Replaced // comments with /* */ comments to avoid compiler warnings.
35169 * native/target/generic/target_generic_misc.c:
35170 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35171 compiler warnings due to use of varargs.
35172 * native/target/generic/target_generic_misc.h:
35173 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35174 compiler warnings due to use of varargs.
35175 * native/target/generic/target_generic_network.h:
35176 Replaced // comments with /* */ comments to avoid compiler warnings.
35177 (targetGenericNetwork_receive): Fixed signature to use signed chars
35178 for buffer parameter to avoid warning when passing a jbyte to the
35181 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35183 * javax/swing/text/StyleConstants.java
35184 (getAlignment): Removed isDefined() check, so that resolving parent is
35186 (getBackground): Likewise, plus changed default value to Color.BLACK,
35187 (getBidiLevel): Removed isDefined() check,
35188 (getComponent): Likewise,
35189 (getFirstLineIndent): Likewise,
35190 (getFontFamily): Likewise,
35191 (getFontSize): Likewise,
35192 (getForeground): Likewise,
35193 (getIcon): Likewise,
35194 (getLeftIndent): Likewise,
35195 (getLineSpacing): Likewise,
35196 (getRightIndent): Likewise,
35197 (getSpaceAbove): Likewise,
35198 (getSpaceBelow): Likewise,
35199 (getTabSet): Likewise,
35200 (isBold): Likewise,
35201 (isItalic): Likewise,
35202 (isStrikeThrough): Likewise,
35203 (isSubscript): Likewise,
35204 (isSuperscript): Likewise,
35205 (isUnderline): Likewise.
35207 2006-01-17 Gary Benson <gbenson@redhat.com>
35209 * java/lang/System.java (setSecurityManager): Catch
35210 ClassNotFoundException not Throwable.
35212 2006-01-16 Anthony Green <green@redhat.com>
35215 * gnu/java/net/protocol/http/Request.java
35216 (createResponseBodyStream): Remove Content-Encoding for
35217 compressed streams.
35219 2006-01-16 Chris Burdess <dog@gnu.org>
35221 * gnu/xml/stream/XMLParser.java,
35222 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35223 XMLStreamWriter arguments for conformance to the XML specifications.
35224 * gnu/xml/transform/Stylesheet.java,
35225 gnu/xml/transform/Template.java,
35226 gnu/xml/transform/TransformerImpl.java,
35227 gnu/xml/xpath/LangFunction.java,
35228 gnu/xml/xpath/Selector.java: better handling of template priorities;
35229 fix indents when pretty-printing; recursive tests for xml:lang.
35230 * gnu/xml/util/XHTMLWriter.java,
35231 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35233 2006-01-16 Roman Kennke <kennke@aicas.com>
35235 * native/target/MinGW/.cvsignore: New file.
35236 * native/target/RTEMS/.cvsignore: New file.
35237 * native/target/SunOS/.cvsignore: New file.
35238 * native/target/embOS/.cvsignore: New file.
35239 * native/target/posix/.cvsignore: New file.
35241 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35243 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35245 2006-01-16 Roman Kennke <kennke@aicas.com>
35247 * configure.ac: Include new target native directories in build.
35249 2006-01-16 Roman Kennke <kennke@aicas.com>
35251 * native/target/generic/target_generic_file.h: Added missing
35253 * native/target/generic/target_generic_network.c: Fixed several
35254 typos and includes.
35255 * native/target/generic/target_generic_network.h: Likewise.
35257 2006-01-16 Roman Kennke <kennke@aicas.com>
35259 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35260 to include the new targets.
35261 * native/target/posix/Makefile.am: Fixed filenames.
35263 2006-01-16 Roman Kennke <kennke@aicas.com>
35265 * native/target/Makefile.am: Include new targets.
35266 * native/target/Linux/Makefile.am: Include new memory layer.
35267 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35268 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35269 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35270 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35271 * native/target/generic/Makefile.am: Include new memory and math
35273 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35275 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35278 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35279 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35281 2006-01-16 Roman Kennke <kennke@aicas.com>
35283 * native/target/generic/target_generic_network.c: Fixed typo.
35284 * native/target/generic/target_generic_network.h: Fixed typo.
35286 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35288 * doc/vmintegration.texinfo: Updated subsection of the
35289 java.lang.InstrumentationImpl documentation.
35291 2006-01-16 Roman Kennke <kennke@aicas.com>
35293 * native/target/RTEMS/target_native.h,
35294 * native/target/RTEMS/target_native_file.h,
35295 * native/target/RTEMS/target_native_io.h,
35296 * native/target/RTEMS/target_native_math.h,
35297 * native/target/RTEMS/target_native_memory.h,
35298 * native/target/RTEMS/target_native_misc.h,
35299 * native/target/RTEMS/target_native_network.h:
35300 New files. Implement the target native layer for the RTEMS platform.
35302 2006-01-16 Roman Kennke <kennke@aicas.com>
35304 * native/target/SunOS/target_native.h,
35305 * native/target/SunOS/target_native_file.h,
35306 * native/target/SunOS/target_native_io.h,
35307 * native/target/SunOS/target_native_math.h,
35308 * native/target/SunOS/target_native_memory.h,
35309 * native/target/SunOS/target_native_misc.h,
35310 * native/target/SunOS/target_native_network.h:
35311 New files. Implement the target native layer for the SunOS platform.
35313 2006-01-16 Roman Kennke <kennke@aicas.com>
35315 * native/target/MinGW/target_native.h,
35316 * native/target/MinGW/target_native_file.h,
35317 * native/target/MinGW/target_native_io.h,
35318 * native/target/MinGW/target_native_math.h,
35319 * native/target/MinGW/target_native_memory.h,
35320 * native/target/MinGW/target_native_misc.h,
35321 * native/target/MinGW/target_native_network.h:
35322 New files. Implement the target native layer for the MinGW
35325 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35328 * javax/swing/DefaultCellEditor.java
35329 (delegate): Assign new instance immediately.
35330 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35331 (getTableCellEditorComponent): Rewritten.
35332 (prepareAsJTextField):New method (add listener only once).
35333 * javax/swing/JTable.java
35334 (editingCanceled): Rewritten.
35335 (editingStopped ): Rewritten.
35336 (rowAtPoint): Mind row margin.
35337 (getCellRect): Mind row margin.
35338 (getDefaultEditor): Removing JTextComponent border.
35339 (editCellAt): Rewritten.
35340 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35341 Activate editing mode by the mouse clicks.
35342 (getMaximumSize): Mind row margin.
35343 (getPreferredSize): Mind row margin.
35344 (TableAction): Added 'stop editing' command.
35346 2006-01-16 Roman Kennke <kennke@aicas.com>
35348 * jni/java-io/java_io_VMFile.c
35349 (Java_java_io_VMFile_list): Use new 4 argument version of
35350 TARGET_NATIVE_FILE_READ_DIR macro.
35351 * target/Linux/target_native_io.h: Fixed comment at #endif.
35352 * target/Linux/target_native_memory.h: New file. Contains
35353 portability macros for memory operations.
35354 * target/generic/target_generic.c: New file. Contains some functions
35356 * target/generic/target_generic.h: Use posix target and shorter macro
35357 names if CP_NEW is set.
35358 * target/generic/target_generic_file.h: Use posix target and shorter
35359 macro names if CP_NEW is set.
35360 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35361 * target/generic/target_generic_io.c: New file. Contains some
35362 functions for IO portability.
35363 * target/generic/target_generic_io.h: Use posix target and shorter
35364 macro names if CP_NEW is set.
35365 * target/generic/target_generic_misc.c: New file. Contains some
35366 functions for miscallaneaous portability issues.
35367 * target/generic/target_generic_misc.h: Use posix target and shorter
35368 macro names if CP_NEW is set.
35369 * target/generic/target_generic_network.c: New file. Contains some
35370 functions for networking portability.
35371 * target/generic/target_generic_network.h: Use posix target and
35372 shorter macro names if CP_NEW is set.
35373 * target/posix/Makefile.am,
35374 * target/posix/target_posix.c,
35375 * target/posix/target_posix.h,
35376 * target/posix/target_posix_file.c,
35377 * target/posix/target_posix_file.h,
35378 * target/posix/target_posix_io.c,
35379 * target/posix/target_posix_io.h,
35380 * target/posix/target_posix_math.c,
35381 * target/posix/target_posix_math.h,
35382 * target/posix/target_posix_memory.c,
35383 * target/posix/target_posix_memory.h,
35384 * target/posix/target_posix_misc.c,
35385 * target/posix/target_posix_misc.h,
35386 * target/posix/target_posix_network.c,
35387 * target/posix/target_posix_network.h:
35388 New files. This implements the target native layer macros for
35389 Posix-like systems.
35391 2006-01-16 Gary Benson <gbenson@redhat.com>
35393 * java/net/SocketPermission.java (implies): Fix action checks.
35395 2006-01-16 Roman Kennke <kennke@aicas.com>
35397 * native/target/generic/target_generic_math_float.h: Removed. This
35398 file has been replaced by target_generic_math.h.
35399 * native/target/generic/target_generic_math_int.h: Removed. This
35400 file has been replaced by target_generic_math.h.
35401 * native/target/generic/target_generic_math.h: New file. Replaces
35402 the old _int and _float versions.
35403 * native/target/Linux/target_native_math_float.h: Removed. This
35404 file has been replaced by target_native_math.h.
35405 * native/target/Linux/target_native_math_int.h: Removed. This
35406 file has been replaced by target_native_math.h.
35407 * native/target/Linux/target_native_math.h: New file. Replaces
35408 the old _int and _float versions.
35409 * native/target/Linux/Makefile.am: Adjusted for the changed
35411 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35412 instead of target_native_math_int.h.
35413 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35415 * native/target/generic/target_generic_file.h: Likewise.
35417 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35419 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35421 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35423 * javax/swing/text/SimpleAttributeSet.java
35424 (SimpleAttributeSet()): Initialise storage directly,
35425 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35426 NullPointerException,
35427 (containsAttribute): If key is found locally, don't check resolving
35428 parent if the value doesn't match,
35429 (getAttribute): Removed redundant instanceof and cast.
35431 2006-01-16 Gary Benson <gbenson@redhat.com>
35433 * java/lang/System.java (setSecurityManager): Ensure policy
35434 files are loaded before a security manager is put in place.
35436 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35438 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35440 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35442 * javax/print/attribute/standard/MediaSize.java:
35443 (static_initializer): Added comment.
35444 (MediaSize): Added javadoc to mention cache registration.
35445 (MediaSize): Likewise.
35446 (MediaSize): Likewise.
35447 (MediaSize): Likewise.
35449 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35452 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35453 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35454 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35455 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35457 (toString): Added method implementation.
35458 (LoginModuleControlFlag.toString): Removed class name from result.
35459 * javax/security/auth/login/Configuration.java: Updated copyright year.
35460 (getConfig(): replaced calls to NullConfiguration with
35463 2006-01-15 Tom Tromey <tromey@redhat.com>
35465 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35466 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35467 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35468 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35469 (setPersistenceDelegate): Likewise.
35471 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35473 * javax/print/attribute/standard/PrinterStateReasons.java:
35474 (printerStateReasonSet): Genericize the return type.
35476 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35478 * javax/swing/table/DefaultTableCellRenderer.java
35479 (getTableCellRendererComponent): Render null as the empty cell.
35481 2006-01-14 Anthony Green <green@redhat.com>
35483 * java/net/ServerSocket.java (accept): Remove bogus
35485 (implAccept): Add FIXME comment.
35487 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35490 * javax/print/Doc.java: Added and enhanced documentation.
35491 * javax/print/SimpleDoc.java: New file.
35493 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35495 * javax/print/attribute/standard/MediaSize.java:
35496 (Other.TABLOID): New MediaSize added in 1.5
35498 2006-01-14 Chris Burdess <dog@gnu.org>
35500 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35501 correctly when I/O and runtime exceptions occur during parsing.
35503 2006-01-13 Roman Kennke <kennke@aicas.com>
35505 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35506 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35507 * gnu/java/awt/peer/swing/SwingComponent.java,
35508 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35509 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35510 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35511 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35512 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35513 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35514 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35515 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35516 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35517 * gnu/java/awt/peer/swing/SwingToolkit.java,
35518 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35519 * gnu/java/awt/peer/swing/package.html:
35520 New files. Implemented some basic AWT peers based on Swing.
35522 2006-01-13 Roman Kennke <kennke@aicas.com>
35524 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35526 2006-01-13 Roman Kennke <kennke@aicas.com>
35528 * java/awt/MenuComponent.java: Reformatted to better match our
35531 2006-01-13 Roman Kennke <kennke@aicas.com>
35533 * java/awt/Frame.java: Reformatted to better match our
35536 2006-01-13 Roman Kennke <kennke@aicas.com>
35538 * java/awt/MenuBar.java
35539 (accessibleContext): Removed unnecessary field. This is already
35540 defined in MenuComponent.
35541 (setHelpMenu): Renamed the peer variable to myPeer because it was
35542 hiding a field of MenuComponent.
35543 (addNotify): Removed unnecessary cast.
35545 2006-01-13 Roman Kennke <kennke@aicas.com>
35547 * java/awt/MenuBar.java: Reformatted to better match our
35550 2006-01-13 Roman Kennke <kennke@aicas.com>
35552 * java/awt/MenuBar.java
35553 (frame): New field.
35554 (removeNotify): Clear frame field when beeing removed from the
35556 * java/awt/Frame.java
35557 (setMenuBar): Store a reference of the frame in the MenuBar.
35558 * java/awt/MenuComponent.java
35559 (postEvent): Implemented to forward the call to the parent until
35560 a parent can handle the event.
35561 (dispatchEvent): Moved handling of old style events from
35562 dispatchEventImpl() to here.
35563 (dispatchEventImpl): Moved handling of old style events to
35566 2006-01-13 Roman Kennke <kennke@aicas.com>
35568 * java/awt/Component.java
35569 (dispatchEvent): Moved handling of old style events from
35570 dispatchEventImpl() to this method.
35571 (translateEvent): Removed unnecessary cast.
35572 (dispatchEventImpl): Moved handling of old style events to
35575 2006-01-13 Lillian Angel <langel@redhat.com>
35577 * javax/swing/text/DefaultStyledDocument.java
35578 (createDefaultRoot): Removed FIXME.
35579 (setLogicalStyle): Added fireUndoableEditUpdate call and
35582 2006-01-13 Lillian Angel <langel@redhat.com>
35584 * javax/swing/text/DefaultStyledDocument.java
35585 (Edit): New inner class.
35586 (changeUpdate): Changed addEdit call to add a new
35587 instance of Edit to the edits Vector, so addEdits can
35590 (insertParagraph): Likewise.
35591 (insertFracture): Likewise.
35592 (insertContentTag): Likewise.
35593 (insert): Added loop to go through edits Vector and perform
35594 addEdit on each object.
35596 2006-01-13 Chris Burdess <dog@gnu.org>
35598 * gnu/xml/transform/AbstractNumberNode.java,
35599 gnu/xml/transform/ApplyImportsNode.java,
35600 gnu/xml/transform/ApplyTemplatesNode.java,
35601 gnu/xml/transform/AttributeNode.java,
35602 gnu/xml/transform/CallTemplateNode.java,
35603 gnu/xml/transform/ChooseNode.java,
35604 gnu/xml/transform/CommentNode.java,
35605 gnu/xml/transform/CopyNode.java,
35606 gnu/xml/transform/CopyOfNode.java,
35607 gnu/xml/transform/DocumentFunction.java,
35608 gnu/xml/transform/ElementNode.java,
35609 gnu/xml/transform/ForEachNode.java,
35610 gnu/xml/transform/IfNode.java,
35611 gnu/xml/transform/LiteralNode.java,
35612 gnu/xml/transform/MessageNode.java,
35613 gnu/xml/transform/OtherwiseNode.java,
35614 gnu/xml/transform/ParameterNode.java,
35615 gnu/xml/transform/ProcessingInstructionNode.java,
35616 gnu/xml/transform/Stylesheet.java,
35617 gnu/xml/transform/Template.java,
35618 gnu/xml/transform/TemplateNode.java,
35619 gnu/xml/transform/TextNode.java,
35620 gnu/xml/transform/TransformerImpl.java,
35621 gnu/xml/transform/ValueOfNode.java,
35622 gnu/xml/transform/WhenNode.java,
35623 gnu/xml/xpath/NodeTypeTest.java,
35624 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35625 with-param parameters when template does not define parameters; apply
35626 conflict resolution for templates; strip whitespace on documents
35627 retrieved via document() function; allow node() to match document
35630 2006-01-13 Mark Wielaard <mark@klomp.org>
35632 * doc/www.gnu.org/announce/20060113.wml: New file.
35633 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35634 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35636 2006-01-13 Lillian Angel <langel@redhat.com>
35638 * javax/swing/text/DefaultStyledDocument.java:
35639 Removed unused fields.
35640 (insert): Removed unused fields.
35641 (endEdit): Removed, not needed.
35642 (insertUpdate): Removed call to endEdit.
35643 (prepareContentInsertion): Removed, not needed.
35644 (insertContentTag): Removed call to prepareContentInsertion.
35645 (printElements): Removed, not needed.
35646 (attributeSetsAreSame): Removed, not needed.
35648 2005-01-13 Mark Wielaard <mark@klomp.org>
35650 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35651 Duplicate of toString(int, StringBuilder).
35653 2005-01-13 Mark Wielaard <mark@klomp.org>
35655 * configure.ac: Set version to 0.20.
35656 * NEWS: Add entries for all the new work done.
35658 2005-01-13 Mark Wielaard <mark@klomp.org>
35660 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35662 2005-01-13 Mark Wielaard <mark@klomp.org>
35664 * java/util/regex/Pattern.java (Pattern): Chain REException.
35666 2006-01-13 Chris Burdess <dog@gnu.org>
35668 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35670 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35672 * java/security/Security.java
35673 (getProperty): Added hack to skip security check when trusted
35674 code is direct caller.
35676 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35678 * java/io/PrintStream.java
35679 (line_separator, PrintStream(OutputStream,boolean)): Use
35682 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35684 * gnu/java/nio/charset/Provider.java: Added comment about its
35685 special relation with CharsetProvider.
35687 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35688 its special relation with CharsetProvider.
35690 * java/nio/charset/spi/CharsetProvider.java
35691 (CharsetProvider): Add special case to skip security check for
35692 built in providers.
35694 2005-01-13 Mark Wielaard <mark@klomp.org>
35696 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35697 name, accel, mnemonic and command are defined before setting.
35699 2005-01-12 Mark Wielaard <mark@klomp.org>
35701 * javax/swing/plaf/metal/MetalFileChooserUI.java
35702 (FileRenderer.getListCellRendererComponent): Set empty name and null
35703 icon when File is null.
35705 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35707 * gnu/java/rmi/server/UnicastRef.java (newCall):
35708 Throw ConnectException after catching IOException.
35710 2006-01-12 Lillian Angel <langel@redhat.com>
35712 * javax/swing/text/DefaultStyledDocument.java
35713 (insertUpdate): Removed unneeded check.
35715 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35717 * javax/swing/text/DefaultStyledDocument.java:
35718 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35719 and we haven't come immediately after a fracture, adjust the Element
35720 offsets. Added comment explaining the situation.
35721 (insert): Return early if no ElementSpecs passed in. Removed redundant
35722 call to insertUpdate. Fired the UndoableEditUpdate.
35724 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35727 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35728 character classes within a subexpression.
35730 2006-12-12 Lillian Angel <langel@redhat.com>
35732 * javax/swing/text/DefaultStyledDocument.java
35733 (insertUpdate): Added check to check if attribute set is
35735 (insertUpdate): Added check to determine if last character
35736 is a newline. If it is, we should not be fracturing.
35737 (insert): Added check to determine if attribute set is empty.
35738 If it is, insertUpdate should not be called.
35740 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35742 * configure.ac: Check for isnan.
35744 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35747 2006-01-12 Chris Burdess <dog@gnu.org>
35749 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35750 1.1 character ranges.
35752 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35754 * javax/swing/TransferHandler.java:
35755 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35756 gnu/testlet/javax/swing/JTextField/CopyPaste.
35758 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35760 * resource/Makefile.am: Install
35761 logging.properties into $(prefix)/lib.
35762 * resource/Makefile.am (securitydir): Changed to
35763 $(prefix)/lib/security.
35765 2006-01-12 Roman Kennke <kennke@aicas.com>
35767 * javax/swing/JTextField.java
35768 (createDefaultModel): Moved installation of the filterNewlines
35769 property to setDocument().
35770 (setDocument): New method. Installs the filterNewlines property
35773 2006-01-12 Chris Burdess <dog@gnu.org>
35775 * gnu/xml/dom/DomNode.java,
35776 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35778 * gnu/xml/xpath/NameTest.java,
35779 gnu/xml/xpath/NamespaceTest.java,
35780 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35782 * gnu/xml/transform/MessageNode.java: Use standard logging system
35783 for outputting messages.
35785 2006-01-12 Tom Tromey <tromey@redhat.com>
35787 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35788 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35789 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35790 (static initializer): Removed cache code.
35791 (checkCacheFor, addToCache): Removed.
35792 (getAllByName): Removed cache code.
35793 (lookup_time): Removed.
35794 (InetAddress): Updated.
35796 2006-01-12 Chris Burdess <dog@gnu.org>
35798 * gnu/xml/dom/DomDocument.java,
35799 gnu/xml/dom/DomElement.java,
35800 gnu/xml/dom/DomNode.java,
35801 gnu/xml/stream/XMLParser.java,
35802 gnu/xml/transform/Bindings.java,
35803 gnu/xml/transform/ElementAvailableFunction.java,
35804 gnu/xml/transform/ElementNode.java,
35805 gnu/xml/transform/FunctionAvailableFunction.java,
35806 gnu/xml/transform/NamespaceProxy.java,
35807 gnu/xml/transform/StreamSerializer.java,
35808 gnu/xml/transform/Stylesheet.java,
35809 gnu/xml/transform/TransformerImpl.java,
35810 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35811 document and element nodes; correct coalescing semantics when parsing;
35812 attribute-sets can only refer to top-level variables and parameters;
35813 fix namespace retrieval during element-available and
35814 function-available functions; implement xsl:fallback for extension
35815 elements; tokenize whitespace correctly during whitespace stripping;
35816 correct following and previous node axes selectors.
35818 2006-01-12 Roman Kennke <kennke@aicas.com>
35820 * java/util/Hashtable.java
35821 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35822 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35824 2006-01-12 Lillian Angel <langel@redhat.com>
35826 * javax/swing/text/GapContent.java
35827 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35829 2006-01-12 Mark Wielaard <mark@klomp.org>
35831 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35832 Throw UnknowHostException when name could not be resolved.
35834 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35836 * java/net/URL.java
35837 (static, getURLStreamHandler): Use SystemProperties.
35839 2006-01-12 Mark Wielaard <mark@klomp.org>
35841 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35842 Use packet.getLength().
35843 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35844 (nativeReceive): Check whether the receiver wants zero bytes.
35846 2006-01-12 Mark Wielaard <mark@klomp.org>
35848 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35849 other side orderly closed connection.
35850 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35851 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35852 when end of stream reached.
35854 2006-01-12 Mark Wielaard <mark@klomp.org>
35856 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35858 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35859 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35860 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35861 * native/jni/java-net/javanet.c: Likewise.
35863 2006-01-12 Mark Wielaard <mark@klomp.org>
35865 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35866 PR classpath/23863.
35868 2006-01-11 Chris Burdess <dog@gnu.org>
35870 * gnu/xml/transform/AttributeNode.java,
35871 gnu/xml/transform/ElementNode.java,
35872 gnu/xml/transform/LiteralNode.java,
35873 gnu/xml/transform/StreamSerializer.java,
35874 gnu/xml/transform/StrippingInstruction.java,
35875 gnu/xml/transform/Stylesheet.java,
35876 gnu/xml/transform/TransformerImpl.java,
35877 gnu/xml/transform/ValueOfNode.java,
35878 gnu/xml/xpath/Expr.java,
35879 gnu/xml/xpath/LocalNameFunction.java,
35880 gnu/xml/xpath/NameFunction.java,
35881 gnu/xml/xpath/NameTest.java,
35882 gnu/xml/xpath/NamespaceUriFunction.java,
35883 gnu/xml/xpath/NodeTypeTest.java,
35884 gnu/xml/xpath/SubstringFunction.java,
35885 javax/xml/namespace/QName.java: don't determine element namespace
35886 from namespace aliases when specified; better namespace handling
35887 when serializing elements; don't create HTML meta element unless
35888 head element exists; correct encoding of CDATA sections containing
35889 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35890 default encoding for HTML output; rewrite of XSLT
35891 strip-space/preserve-space handling; correct doctype-public and
35892 doctype-system output attributes; insert generated doctype before
35893 document element; fixed result tree whitespace stripping
35894 algorithm; fixed semantics of XPath name, local-name, and
35895 namespace-uri functions; name tests handle XML/XMLNS namespaces
35896 correctly; fixed semantics of processing-instruction node test.
35897 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35900 2006-01-11 Lillian Angel <langel@redhat.com>
35902 * javax/swing/text/DefaultStyledDocument.java
35903 (insertFracture): Added calls to addEdit for each time a structure
35904 is changed. addEdit is called on the newBranch, previous, and parent
35907 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35909 * javax/swing/text/DefaultStyledDocument.java:
35910 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35911 This will have been taken care of in insertFracture. Added a comment
35912 explaining that we need to add edits to the DocumentEvent and that
35913 this may be the place to do it.
35915 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35917 * javax/swing/text/DefaultStyledDocument.java:
35918 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35919 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35920 elementStack when there is a start tag with JoinNextDirection.
35922 2006-01-11 Roman Kennke <kennke@aicas.com>
35924 Reported by: Fridjof Siebert <siebert@aicas.com>
35925 * java/util/Hashtable.java
35926 (KEYS): Removed unneeded field.
35927 (VALUES): Removed unneeded field.
35928 (ENTRIES): Removed unneeded field.
35929 (keys): Return a KeyEnumerator instance.
35930 (elements): Returns a ValueEnumerator instance.
35931 (toString): Use an EntryIterator instance.
35932 (keySet): Return a KeyIterator instance.
35933 (values): Return a ValueIterator instance.
35934 (entrySet): Return an EntryIterator instance.
35935 (hashCode): Use EntryIterator instance.
35936 (rehash): Changed this loop to avoid redundant reads and make
35937 it obvious that null checking is not needed.
35938 (writeObject): Use EntryIterator instance.
35939 (HashIterator): Removed class.
35940 (Enumerator): Removed class.
35941 (EntryIterator): New class.
35942 (KeyIterator): New class.
35943 (ValueIterator): New class.
35944 (EntryEnumerator): New class.
35945 (KeyEnumerator): New class.
35946 (ValueEnumerator): New class.
35948 2006-01-11 Lillian Angel <langel@redhat.com>
35950 * javax/swing/text/DefaultStyledDocument.java
35951 (toString): Shouldn't append the '>' character here.
35952 (createDefaultRoot): Should not set the resolve parent. This
35953 causes problems when comparing attribute sets.
35955 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35957 * javax/swing/text/DefaultStyledDocument.java:
35958 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35960 (ElementBuffer.insertFracture): New method.
35961 (ElementBuffer.insertContentTag): Removed unnecessary case for
35962 JoinFractureDirection - this only applies to start tags, not content
35964 (insertUpdate): Corrected conditions for setting direction to
35967 2006-01-10 Roman Kennke <kennke@aicas.com>
35969 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35970 * ChangeLog-2005: New File.
35972 2006-01-10 Roman Kennke <kennke@aicas.com>
35974 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35975 (get): Release the array with the correct pointer.
35976 (put): Release the array with the correct pointer. Copy the array
35977 around _before_ releasing it.
35979 2006-01-10 Roman Kennke <kennke@aicas.com>
35981 * javax/swing/ViewportLayout.java
35982 (layoutContainer): Fixed condition, to avoid ClasscastException.
35984 2006-01-10 Roman Kennke <kennke@aicas.com>
35986 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35987 (MouseHandler.mousePressed): Fixed indendation.
35988 (MouseHandler.mouseDragged): Fixed indendation.
35990 2006-01-10 Roman Kennke <kennke@aicas.com>
35992 * javax/swing/plaf/basic/BasicLookAndFeel.java
35993 (playSound): Added @since 1.4 to the API docs.
35995 2006-01-10 Roman Kennke <kennke@aicas.com>
35997 * javax/swing/plaf/basic/BasicListUI.java
35998 (maybeUpdateLayoutState): Also update the layout state, if the
35999 list has been invalidated since the last update.
36001 2006-01-10 Roman Kennke <kennke@aicas.com>
36003 * javax/swing/plaf/ComponentUI.java
36004 (update): Fixed indendation.
36006 2006-01-10 Roman Kennke <kennke@aicas.com>
36008 * javax/swing/ViewportLayout.java
36009 (layoutContainer): Fixed condition, so that Scrollable components
36010 are always forced to have to Viewport size, when they
36011 return true for getScrollableTracksViewportHeight() and ..Width().
36013 2006-01-10 Roman Kennke <kennke@aicas.com>
36015 * javax/swing/RepaintManager.java
36016 (validateInvalidComponents): Fixed condition to avoid NPE.
36018 2006-01-10 Roman Kennke <kennke@aicas.com>
36020 * javax/swing/JViewport.java:
36021 (static_initializer): Removed unused variable myScrollMode.
36023 2006-01-10 Roman Kennke <kennke@aicas.com>
36025 * javax/swing/JTabbedPane.java:
36026 Cleared API docs a little.
36028 2006-01-10 Roman Kennke <kennke@aicas.com>
36030 * java/util/StringTokenizer.java
36031 (StringTokenizer(String, String, boolean)):
36032 Don't trigger NPE here for conformance with the spec.
36034 2006-01-10 Roman Kennke <kennke@aicas.com>
36036 * java/util/ArrayList.java
36037 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36039 2006-01-10 Roman Kennke <kennke@aicas.com>
36041 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36042 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36043 field to avoid NPE.
36045 2006-01-10 Roman Kennke <kennke@aicas.com>
36047 * native/jni/java-net/javanet.c
36048 (_javanet_shutdownOutput): Replaced strerror() with
36049 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36050 (_javanet_shutdownInput): Replaced strerror() with
36051 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36053 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36055 * java/beans/EventSetDescriptor.java: Reformatted and
36058 2006-01-10 Roman Kennke <kennke@aicas.com>
36060 * java/lang/SecurityManager.java
36061 Fully qualified AWT class references in API docs.
36063 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36065 * java/beans/EventSetDescriptor.java:
36066 (getGetListenerMethod): New method.
36068 2006-01-10 Mark Wielaard <mark@klomp.org>
36070 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36072 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36075 * java/util/Hashtable.java
36076 (contains): Call equals on existing value.
36077 (containsKey, get, put, remove): Call equals on existing key.
36078 (getEntry): Call equals on existing entry.
36080 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36083 * java/util/AbstractMap.java
36084 (equals(Object,Object)): Test for identity first.
36085 * java/util/WeakHashMap.java
36086 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36087 (WeakBucket.WeakEntry.toString): Fixed string representation of
36089 (internalGet): Use helper method to determine equality.
36091 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36093 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36096 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36098 * javax/swing/text/PlainDocument.java:
36099 (insertUpdate): Handle special case of an insertion immediately
36100 following a newline character.
36102 2006-01-09 Roman Kennke <kennke@aicas.com>
36104 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36105 (connect): Added stream parameter to _connect() call.
36106 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36107 (connect): Added stream parameter to _connect() call.
36108 * native/jni/java-net/javanet.c
36109 (_javanet_create_localfd): Added stream parameter. Look up
36110 fd field based on the stream parameter either in SocketImpl or
36111 in DatagramSocketImpl.
36112 (_javanet_connect): Added stream parameter. Call create_localfd
36113 using this stream parameter. Set localPort field either in
36114 SocketImpl or in DatagramSocketImpl, depending on the stream
36116 * native/jni/java-net/javanet.c
36117 (_javanet_connect): Added stream parameter.
36119 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36121 * javax.management.Attribute.java: Grammar and
36124 2006-01-09 Mark Wielaard <mark@klomp.org>
36126 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36127 exception when channel is not readable or writable.
36128 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36129 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36130 there is enough space to mmap().
36132 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36134 * java/beans/Introspector.java:
36135 (getBeanInfo(Class, int)): New method.
36136 (getBeanInfo(Class, Class): Moved common code in a new method.
36137 (merge): New method.
36139 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36141 * java/beans/XMLEncoder.java: Fix spelling mistakes.
36143 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36145 * javax/swing/text/DefaultStyledDocument.java:
36146 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36147 inlined this method because it needs to change the value of the
36148 finalStartTag and finalStartDirection variables.
36149 (checkForInsertAfterNewline): Removed this method.
36150 (handleInsertAfterNewline): Added case for making the start tag's
36151 direction JoinNextDirection.
36153 2006-01-09 Lillian Angel <langel@redhat.com>
36155 * javax/swing/plaf/basic/BasicTreeUI.java:
36157 (setRowHeight): Row height is set to the max height of
36158 all the nodes, or 20 as a default value.
36159 (getPathBounds): Cleaned up code.
36160 (getMaxHeight): New helper function that gets the max
36161 height of all the rows.
36162 (getClosestPathForLocation): Fixed to use getMaxHeight.
36163 (updateCachedPreferredSize): Likewise.
36164 (installUI): Shouldn't expand tree on startup.
36165 (getNodeDimensions): Fixed to use getMaxHeight.
36167 2006-01-09 Mark Wielaard <mark@klomp.org>
36169 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36170 argument is negative.
36172 2006-01-08 Mark Wielaard <mark@klomp.org>
36174 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36176 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36178 * javax.management.Attribute.java: New file.
36180 2006-01-09 Roman Kennke <kennke@aicas.com>
36182 * java/net/DatagramSocketImpl.java
36183 (localPort): Renamed to localport for correct access from native
36186 2006-01-09 Roman Kennke <kennke@aicas.com>
36188 * javax/swing/Popup.java
36189 (LightweightPopup.hide): Repaint the layered pane when popup is
36192 2006-01-09 Roman Kennke <kennke@aicas.com>
36194 * java/awt/Container.java
36195 (remove): Don't repaint the container here.
36197 2006-01-08 Tom Tromey <tromey@redhat.com>
36199 * java/lang/InheritableThreadLocal.java: Organized imports.
36201 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36204 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36205 when an empty string matched an empty token.
36207 2006-01-08 Chris Burdess <dog@gnu.org>
36209 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36210 content models from external entities.
36211 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36212 attempting to continue with unpaired surrogates.
36213 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36214 resolving entities with character entity references; better
36215 checking of valid character ranges; don't report an error for URI
36216 fragments in notation declarations; check unbound namespace
36217 prefixes for elements and attributes, including XML 1.1 unbinding
36218 syntax; namespace-aware checking of attribute duplicates.
36220 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36222 * java/beans/Statement.java: Doc fixes.
36223 (doExecute): Workaround for Class.forName call.
36224 (toString): Made output look more like on the JDK.
36225 * java/beans/Expression.java: Doc fixes.
36226 (toString): Made output look more like on the JDK.
36227 * java/beans/PersistenceDelegate.java,
36228 java/beans/DefaultPersistenceDelegate.java,
36229 java/beans/Encoder.java,
36230 java/beans/XMLEncoder.java: New file.
36231 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36232 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36233 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36234 gnu/java/beans/encoder/Context.java,
36235 gnu/java/beans/encoder/GenericScannerState.java,
36236 gnu/java/beans/encoder/IgnoringScannerState.java,
36237 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36238 gnu/java/beans/encoder/ObjectId.java,
36239 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36240 gnu/java/beans/encoder/ReportingScannerState.java,
36241 gnu/java/beans/encoder/Root.java,
36242 gnu/java/beans/encoder/ScanEngine.java,
36243 gnu/java/beans/encoder/ScannerState.java,
36244 gnu/java/beans/encoder/StAXWriter.java,
36245 gnu/java/beans/encoder/Writer.java: New file.
36246 * gnu/java/beans/encoder/elements/Array_Get.java,
36247 gnu/java/beans/encoder/elements/Element.java,
36248 gnu/java/beans/encoder/elements/List_Set.java,
36249 gnu/java/beans/encoder/elements/Array_Set.java,
36250 gnu/java/beans/encoder/elements/NullObject.java,
36251 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36252 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36253 gnu/java/beans/encoder/elements/StringReference.java,
36254 gnu/java/beans/encoder/elements/ClassResolution.java,
36255 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36256 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36257 gnu/java/beans/encoder/elements/ObjectReference.java,
36258 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36259 gnu/java/beans/encoder/elements/List_Get.java,
36260 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36262 2006-01-08 Chris Burdess <dog@gnu.org>
36264 * java/lang/Character.java (toChars,toCodePoint): Correct these
36265 methods to use algorithms from Unicode specification.
36267 2006-01-08 Mark Wielaard <mark@klomp.org>
36269 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36271 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36274 * examples/Makefile.am: Corrected DESTDIR install paths.
36276 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36278 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36279 ASCII character (line 46).
36281 2006-01-07 Roman Kennke <kennke@aicas.com>
36283 * javax/swing/text/TableView.java: New file.
36285 2006-01-07 Chris Burdess <dog@gnu.org>
36287 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36288 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36289 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36290 available; correct handling of unparsed entity references;
36291 absolutize all base URIs; remove commented out code.
36293 2006-01-07 Chris Burdess <dog@gnu.org>
36295 * gnu/xml/stream/SAXParser.java,
36296 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36297 URI of the current event.
36299 2006-01-07 Chris Burdess <dog@gnu.org>
36301 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36304 2006-01-07 Chris Burdess <dog@gnu.org>
36306 * gnu/xml/stream/SAXParser.java,
36307 gnu/xml/stream/XIncludeFilter.java,
36308 gnu/xml/stream/XMLParser.java: Updated documentation.
36310 2006-01-07 Chris Burdess <dog@gnu.org>
36312 * AUTHORS: add self.
36314 2006-01-06 Casey Marshall <csm@gnu.org>
36316 * AUTHORS: add myself.
36318 2006-01-06 Casey Marshall <csm@gnu.org>
36321 * javax/crypto/CipherInputStream.java (logger): new constant.
36322 (cipher): make final.
36323 (outLength, inBuffer, inLength): removed.
36324 (isStream): make final.
36325 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36327 (<init>): call `super,' not `this;' remove `inBuffer' and
36328 `outBuffer' initialization; init `eof;' add debug logging.
36329 (<init>): call `this' with a new null cipher.
36330 (available): fix javadoc to reflect the real semantics; if we
36331 don't have a buffer, call `nextBlock.'
36332 (close): synchronize.
36333 (read): synchronize; fix testing for buffered data.
36334 (read): synchronize; add `skip' semantics if first argument is
36335 `null;' decrypt stream cipher data only if there is any; fix tests
36337 (skip): stop using `available' to see how many data are buffered.
36338 (nextBlock): simplify to use cipher-allocated output buffers
36339 instead of internally allocated ones.
36341 2006-01-06 Tom Tromey <tromey@redhat.com>
36343 * java/lang/String.java (codePointCount): Fixed javadoc.
36345 2006-01-06 Tom Tromey <tromey@redhat.com>
36347 * java/lang/String.java (contains): Added @since.
36349 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36352 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36353 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36354 when an empty string matched an empty token.
36356 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36359 * gnu/java/util/WeakIdentityHashMap.java: New file.
36360 * java/lang/InheritableThreadLocal.java
36361 (newChildThread): Modified to remove key indirection.
36362 * java/lang/Thread.java
36363 (locals): Changed type to WeakIdentityHashMap.
36364 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36366 * java/lang/ThreadLocal.java
36367 (key, Key): Removed.
36368 (get, set): Changed to use "this" instead of "key".
36370 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36372 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36374 * native/fdlibm/java-assert.h: Removed file.
36376 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36377 Replaced use of JvAssert by assert.
36379 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36381 * javax/swing/text/DefaultCaret.java:
36382 (setDot): Fixed paramater to Math.max to be this.dot and not the
36385 2006-01-05 Roman Kennke <kennke@aicas.com>
36387 * javax/swing/plaf/basic/BasicListUI.java
36388 (getCellHeight): New helper method.
36389 (getCellBounds): Use new helper method for determining the cell
36391 (paint): Don't call list.indexToLocation() but instead call
36392 directly into the same UI method.
36393 (locationToIndex): Fixed calculation of # visible rows and handling
36395 (indexToLocation): Fixed calculation of # visible rows and handling
36398 2006-01-05 Roman Kennke <kennke@aicas.com>
36400 * javax/swing/plaf/metal/MetalFileChooserUI.java
36401 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36402 in the file chooser.
36404 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36406 * javax/swing/JTextPane.java:
36407 (replaceSelection): If the document is an AbstractDocument, use replace
36408 rather than remove and insert.
36409 * javax/swing/event/EventListenerList.java:
36410 (getListeners): Reversed the order of the listeners to match the
36411 reference implementation.
36412 * javax/swing/text/AbstractDocument.java:
36413 (insertString): Add the UndoableEdit from the content.insertString call
36414 to the DocumentEvent.
36415 (DefaultDocumentEvent.toString): Implemented.
36416 * javax/swing/text/DefaultCaret.java:
36417 (setDot): Make sure dot is > 0 and less than the length of the
36419 * javax/swing/text/DefaultStyledDocument.java:
36420 (ElementBuffer.insertUpdate): Set the modified tag of the document
36421 event when we get start and end tags. This ensures that we create the
36422 proper BranchElements in endEdit().
36423 (ElementBuffer.insertUpdate): Added FIXME to handle
36424 JoinFractureDirection case.
36425 (insertUpdate): Added code to check if we're inserting immediately
36426 after a newline and to handle this case (create start and end tags).
36427 Only change the direction of the first and last tags if they are of
36429 (checkForInsertAfterNewline): New helper method.
36430 (handleInsertAfterNewline): Likewise.
36431 * javax/swing/text/View.java:
36432 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36435 2006-01-05 Mark Wielaard <mark@klomp.org>
36437 * newsitems.txt: Add fosdem meeting.
36438 * events/events.wml: Likewise.
36439 * events/fosdem06.wml: New file.
36441 2006-01-05 Lillian Angel <langel@redhat.com>
36443 * javax/swing/text/GapContent.java
36444 (createPosition): No positions should be created inside the
36445 gap. Fixed check to ensure this does not happen.
36447 2006-01-05 Roman Kennke <kennke@aicas.com>
36449 * javax/swing/RepaintManager.java
36450 (validateInvalidComponents): Search for the validate root
36451 and start validating there.
36453 2006-01-05 Roman Kennke <kennke@aicas.com>
36455 * javax/swing/plaf/basic/BasicListUI.java
36456 (ComponentHandler): Removed unneeded class.
36457 (ListDataHandler.contentsChanged): Revalidate instead of calling
36459 (ListDataHandler.intervalAdded): Revalidate instead of calling
36461 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36463 (PropertyChangeHandler.propertyChange): Or flags together instead
36464 of adding them. Don't call damageLayout().
36465 (componentListener): Removed unnecessary field.
36466 (damageLayout): Removed unnecessary method.
36467 (installListeners): Don't install unnecessary listeners.
36468 (uninstallListeners): Dito.
36469 (getPreferredSize): Don't ask for the real list height and
36470 calculate with the previously calculated list height.
36471 (locationToIndex): Renamed list parameter to l so that it doesn't
36472 shadow the field with the same name.
36473 (indexToLocation): Renamed list parameter to l so that it doesn't
36474 shadow the field with the same name.
36476 2006-01-04 Tom Tromey <tromey@redhat.com>
36478 * include/.cvsignore: Ignore config-int.h.
36480 2006-01-04 Roman Kennke <kennke@aicas.com>
36482 * javax/swing/plaf/basic/BasicListUI.java
36483 (getPreferredSize): Rewritten to match the specs.
36485 2006-01-04 Roman Kennke <kennke@aicas.com>
36487 * javax/swing/JFileChooser.java
36488 (showOpenDialog): Set fixed width on the dialog.
36489 (showSaveDialog): Set fixed width on the dialog.
36490 (showDialog): Set fixed width on the dialog.
36492 2006-01-04 Roman Kennke <kennke@aicas.com>
36494 * javax/swing/plaf/basic/BasicListUI.java
36495 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36496 Adjusted iteration to not use visibleRowCount and instead iterate
36497 over the real number of elements in cellHeights.
36498 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36499 Adjusted iteration to not use visibleRowCount and instead iterate
36500 over the real number of elements in cellHeights.
36502 2006-01-04 Roman Kennke <kennke@aicas.com>
36504 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36505 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36506 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36508 2006-01-04 Roman Kennke <kennke@aicas.com>
36510 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36511 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36513 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36514 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36516 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36518 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36519 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36520 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36521 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36522 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36523 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36524 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36525 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36527 2006-01-04 Lillian Angel <langel@redhat.com>
36529 * javax/swing/plaf/metal/MetalFileChooserUI.java
36530 (propertyChange): Fixed to change the combo box label
36531 appropriately. Also, fixed to set the textfield's text
36533 (editFile): Fixed size of editing field.
36534 (installComponents): Correctly aligned all panels.
36535 (installStrings): Fixed to set the label's text
36536 appropriately depending on the dialog type.
36538 2006-01-04 Lillian Angel <langel@redhat.com>
36542 * javax/swing/JTree.java
36543 (JTree): Because some L&F defaults have been updated,
36544 the selectionMode for the tree needed to be set to SINGLE.
36545 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36546 Initialized accessoryPanel.
36547 * javax/swing/plaf/metal/MetalFileChooserUI.java
36548 (installComponents): Added accessoryPanel to the filechooser.
36550 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36552 * configure.ac: Added AX_CREATE_STDINT_H
36554 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36556 * m4/ax_create_stdint_h.m4: New file.
36558 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36559 typedefs. Removed stdint.h and inttypes.h includes.
36561 2006-01-03 Mark Wielaard <mark@klomp.org>
36563 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36564 register keyboard action when accelerator is not null.
36565 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36566 re-register accelerator if not null.
36567 (installKeyboardActions): Only put accelerator in map when not null.
36569 2006-01-04 Lillian Angel <langel@redhat.com>
36571 * javax/swing/plaf/basic/BasicLookAndFeel.java
36572 (initComponentDefaults): Removed unneeded default.
36573 * javax/swing/plaf/metal/MetalLookAndFeel.java
36574 (initComponentDefaults): Added and fixed several defaults.
36576 2006-01-04 Roman Kennke <kennke@aicas.com>
36578 * javax/swing/plaf/basic/BasicHTML.java: New class.
36580 2006-01-03 Tom Tromey <tromey@redhat.com>
36582 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36583 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36585 2006-01-03 Mark Wielaard <mark@klomp.org>
36587 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36589 2006-01-03 Mark Wielaard <mark@klomp.org>
36591 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36592 Always call createDefaultTheme().
36593 (createDefaultTheme): Check whether theme is still null.
36595 2006-01-03 Mark Wielaard <mark@klomp.org>
36597 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36598 Color.WHITE if null.
36600 2006-01-03 Lillian Angel <langel@redhat.com>
36602 * javax/swing/plaf/metal/MetalLookAndFeel.java
36603 (getDescription): Fixed to return the correct string.
36605 (getName): Likewise.
36606 (getDefaults): Added check to avoid NPE.
36607 (getAcceleratorForeground): Likewise.
36608 (getAcceleratorSelectedForeground): Likewise.
36609 (getBlack): Likewise.
36610 (getControl): Likewise.
36611 (getControlDarkShadow): Likewise.
36612 (getControlDisabled): Likewise.
36613 (getControlHighlight): Likewise.
36614 (getControlInfo): Likewise.
36615 (getControlShadow): Likewise.
36616 (getControlTextColor): Likewise.
36617 (getControlTextFont): Likewise.
36618 (getDesktopColor): Likewise.
36619 (getFocusColor): Likewise.
36620 (getHighlightedTextColor): Likewise.
36621 (getInactiveControlTextColor): Likewise.
36622 (getInactiveSystemTextColor): Likewise.
36623 (getMenuBackground): Likewise.
36624 (getMenuDisabledForeground): Likewise.
36625 (getMenuForeground): Likewise.
36626 (getMenuSelectedBackground): Likewise.
36627 (getMenuSelectedForeground): Likewise.
36628 (getMenuTextFont): Likewise.
36629 (getPrimaryControl): Likewise.
36630 (getPrimaryControlDarkShadow): Likewise.
36631 (getPrimaryControlHighlight): Likewise.
36632 (getPrimaryControlInfo): Likewise.
36633 (getPrimaryControlShadow): Likewise.
36634 (getSeparatorBackground): Likewise.
36635 (getSeparatorForeground): Likewise.
36636 (getSubTextFont): Likewise.
36637 (getSystemTextColor): Likewise.
36638 (getSystemTextFont): Likewise.
36639 (getTextHighlightColor): Likewise.
36640 (getUserTextColor): Likewise.
36641 (getUserTextFont): Likewise.
36642 (getWhite): Likewise.
36643 (getWindowBackground): Likewise.
36644 (getWindowTitleBackground): Likewise.
36645 (getWindowTitleFont): Likewise.
36646 (getWindowTitleForeground): Likewise.
36647 (getWindowTitleInactiveBackground): Likewise.
36648 (getWindowTitleInactiveForeground): Likewise.
36650 2006-01-03 Mark Wielaard <mark@klomp.org>
36652 * javax/swing/JTextArea.java
36653 (JTextArea(Document,text,int,int)): Only call setText() when text is
36656 2006-01-03 Lillian Angel <langel@redhat.com>
36658 * javax/swing/plaf/basic/BasicFileChooserUI.java
36659 (installStrings): Fixed installation of defaults that
36660 were changed in BasicLookAndFeel.
36661 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36662 (installDefaults): Fixed installation of defaults that
36663 were changed in BasicLookAndFeel.
36665 2006-01-03 Lillian Angel <langel@redhat.com>
36667 * javax/swing/plaf/basic/BasicLookAndFeel.java
36668 (initComponentDefaults): Fixed several defaults that differed
36671 2006-01-03 Lillian Angel <langel@redhat.com>
36673 * javax/swing/tree/DefaultTreeSelectionModel.java
36674 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36676 2006-01-03 Lillian Angel <langel@redhat.com>
36678 * javax/swing/AbstractAction.java
36679 (AbstractAction): Fixed to pass in null. Should not be
36680 an empty string. Removed TODO comment.
36681 (AbstractAction): Removed TODO comment.
36682 * javax/swing/JList.java
36683 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36684 * javax/swing/JMenuItem.java
36685 (JMenuItem): Set all defaults if the action passed in is not null.
36686 * javax/swing/JProgressBar.java
36687 (JProgressBar): Added check to prevent NPE.
36689 2006-01-03 Lillian Angel <langel@redhat.com>
36691 * javax/swing/plaf/basic/BasicListUI.java
36692 (getPreferredSize): The JDK adds some extra space to
36693 the list, so we should as well.
36694 * javax/swing/plaf/metal/MetalFileChooserUI.java
36695 (getPreferredSize): Should only take the fileListPanel's
36696 width into account when getting the size. Also, the buttonPanel's
36697 size should not be checked, since it is in the bottomPanel already.
36698 (getMinimumSize): Likewise.
36700 2006-01-03 Lillian Angel <langel@redhat.com>
36702 * javax/swing/JList.java
36703 (init): visibleRowCount should be 7, like the JDK.
36704 * javax/swing/plaf/metal/MetalFileChooserUI.java
36705 (installComponents): No need to add the fileFilterCombo
36706 to a panel. It can be added to the row directly.
36708 2006-01-03 Lillian Angel <langel@redhat.com>
36710 PR classpath/25480 PR classpath/25478
36711 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36712 (updateViewport): Made changes suggested by
36714 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36715 Removed unneeded import.
36716 (createList): Removed comment, JList wrapping
36718 (getPreferredSize): Made changes suggested by
36719 Chris Lansdown. Uses fileListPanel, instead
36721 (getMinimumSize): Uses fileListPanel, instead
36723 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36724 (paintFocus): Fixed height.
36726 2006-01-03 Roman Kennke <kennke@aicas.com>
36728 * javax/swing/plaf/basic/BasicListUI.java
36729 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36731 2006-01-03 Roman Kennke <kennke@aicas.com>
36733 * javax/swing/plaf/basic/BasicListUI.java
36734 (locationToIndex): Special case for when variable cell heights
36735 are possible. (cellHeights is used instead of cellHeight).
36736 (indexToLocation): Special case for when variable cell heights
36737 are possible. (cellHeights is used instead of cellHeight).
36739 2006-01-03 Roman Kennke <kennke@aicas.com>
36741 * javax/swing/text/DefaultStyledDocument.java
36742 (ElementBuffer.remove): New method.
36743 (ElementBuffer.removeUpdate): New method.
36744 (removeUpdate): New method.
36746 2006-01-03 Roman Kennke <kennke@aicas.com>
36749 (dist-hook): Preserve attributes of Java sources when copying to
36752 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36754 * AUTHORS: Added self.
36755 * java/security/Security.java (getProvider): Ensures provider's name is
36756 not null, not an empty string, and is trimmed before usage.
36758 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36760 * gnu/CORBA/Poa/AOM.java (add):
36761 Changed parameter Object into gnuServantObject.
36762 (Obj.object): Changed type to gnuServantObject.
36763 (findObject): Rewritten.
36765 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36767 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36768 buffering. Ability has gone in Qt-4.1.x.
36770 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36771 to have the right include flags.
36773 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36775 * java/security/MessageDigest.java (getInstance(String,String)):
36776 Use trimmed copy of provider name.
36777 * gnu/java/security/Engine.java
36778 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36779 service and algorithm names.
36781 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36783 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36784 localhost is null or is an empty string. Trim hostname before