1 2007-05-07 Keith Seitz <keiths@redhat.com>
3 * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
4 new array-based method.
5 (notify): New function.
6 (sendEvent): Rewrite to use sendEvents.
7 (sendEvents): New method.
8 * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
9 Change parameters to use arrays for events and requests.
10 Add suspendPolicy parameter.
11 Move per-event data transformation to...
13 * gnu/classpath/jdwp/transport/JdwpConnection.java
14 (sendEvent): Renamed to ...
15 (sendEvents): ... this.
16 Change parameters to use arrays for events and requests.
17 Add suspendPolicy parameter.
19 2007-05-03 Andrew Haley <aph@redhat.com>
21 * gnu/javax/management/Server.java (Server): Record the delegate.
22 (registerMBean): Notify the delegate.
23 (unregisterMBean): Likewise.
26 2007-04-04 Francis Kung <fkung@redhat.com>
28 * gnu/java/awt/peer/gtk/ComponentGraphics.java
29 (cairoDrawGlyphVector): Removed method.
30 (cairoSetFont): Removed method.
31 (disposeNative): Removed method.
32 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
33 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
35 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
36 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
38 2007-04-27 Keith Seitz <keiths@redhat.com>
40 * gnu/classpath/jdwp/event/EventManager.java
41 (getEventRequest): Rename to...
42 (getEventRequests): ...this.
43 Change return type to array of requests.
44 Construct a list of all matching events and return
46 * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
47 and send event notifications for all matching requests.
49 2007-04-27 Keith Seitz <keiths@redhat.com>
51 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
52 (matches): Use Location.equals to determine equality.
53 * gnu/classpath/jdwp/VMMethod.java (equals):
55 * gnu/classpath/jdwp/util/Location.java (equals):
58 2007-03-16 Francis Kung <fkung@redhat.com>
60 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
61 (cairoArc): Make protected rather than private so it can be over-ridden.
62 (cairoClip): Likewise.
63 (cairoClosePath): Likewise.
64 (cairoCurveTo): Likewise.
65 (cairoDrawGlyphVector): Likewise.
66 (cairoFill): Likewise.
67 (cairoLineTo): Likewise.
68 (cairoMoveTo): Likewise.
69 (cairoNewPath): Likewise.
70 (cairoRectangle): Likewise.
71 (cairoResetClip): Likewise.
72 (cairoRestore): Likewise.
73 (cairoSave): Likewise.
74 (cairoScale): Likewise.
75 (cairoSetAntialias): Likewise.
76 (cairoSetDash): Likewise.
77 (cairoSetFillRule): Likewise.
78 (cairoSetFont): Likewise.
79 (cairoSetLine): Likewise.
80 (cairoSetMatrix): Likewise.
81 (cairoSetOperator): Likewise.
82 (cairoSetRGBAColor): Likewise.
83 (cairoStroke): Likewise.
84 (drawPixels): Likewise.
86 (setGradient): Likewise.
87 (setPaintPixels): Likewise.
88 (cairoDrawLine): Removed.
89 (cairoDrawRect): Removed.
90 (cairoFillRect): Removed.
91 (cairoPreserveClip): Removed.
92 (cairoRelCurveTo): Removed.
93 (cairoRelLineTo): Removed.
94 (cairoRelMoveTo): Removed.
95 * gnu/java/awt/peer/gtk/ComponentGraphics.java
96 (cairoArc): New method wrapping superclass method in locks.
97 (cairoClip): Likewise.
98 (cairoClosePath): Likewise.
99 (cairoCurveTo): Likewise.
100 (cairoDrawGlyphVector): Likewise.
101 (cairoFill): Likewise.
102 (cairoLineTo): Likewise.
103 (cairoMoveTo): Likewise.
104 (cairoNewPath): Likewise.
105 (cairoRectangle): Likewise.
106 (cairoResetClip): Likewise.
107 (cairoRestore): Likewise.
108 (cairoSave): Likewise.
109 (cairoScale): Likewise.
110 (cairoSetAntialias): Likewise.
111 (cairoSetDash): Likewise.
112 (cairoSetFillRule): Likewise.
113 (cairoSetFont): Likewise.
114 (cairoSetLine): Likewise.
115 (cairoSetMatrix): Likewise.
116 (cairoSetOperator): Likewise.
117 (cairoSetRGBAColor): Likewise.
118 (cairoStroke): Likewise.
119 (disposeNative): Likewise.
120 (drawPixels): Likewise.
122 (setGradient): Likewise.
123 (setPaintPixels): Likewise.
124 (draw): Do not lock, as locking is now done in the wrapped native methods.
125 (drawComposite): Likewise.
126 (drawGlyphVector): Likewise.
127 (drawImage): Likewise.
128 (drawRenderedImage): Likewise.
131 (lock): Added documentation.
132 (unlock): Added documentation.
133 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
134 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
135 * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
136 * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
138 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
139 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
140 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
141 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
142 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
143 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
144 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
146 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
149 * java/util/Arrays.java (qsort): Corrected initial median calculation.
151 2007-04-19 Casey Marshall <csm@gnu.org>
154 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
155 (createSocket): New method.
157 2007-04-18 Tom Tromey <tromey@redhat.com>
159 * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
160 Changed arguments. Directly print method name.
161 * tools/gnu/classpath/tools/javah/ClassWrapper.java
162 (methodNameMap): New field.
163 (makeVtable): Initialize it.
164 (printMethods): Compute name for bridge targets.
166 2007-04-17 Andrew Haley <aph@redhat.com>
168 * gnu/java/rmi/server/UnicastConnectionManager.java
169 (UnicastConnectionManager(int port, RMIServerSocketFactory)):
170 Listen on "localhost", not localhost.
172 2007-04-17 Francis Kung <fkung@redhat.com>
175 * gnu/java/awt/peer/gtk/ComponentGraphics.java
176 (dispose): Removed method.
177 (disposeSurface): Removed method.
178 * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
180 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
181 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
182 after it is used to create a cairo context.
184 2007-04-16 Tom Tromey <tromey@redhat.com>
186 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
187 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
188 (createSocket): Change order of delegation.
190 2007-04-16 Andrew Haley <aph@redhat.com>
192 * java/io/ObjectInputStream.java: (parseContent): Call (String,
193 Object) version of dumpElementln.
194 (dumpElementln(String, Object)): New method.
195 * java/io/ObjectOutputStream.java (writeObject): Call (String,
196 Object) version of dumpElementln.
197 (dumpElementln(String, Object)): New method.
199 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
201 * javax/management/ObjectName.java:
202 (parse(String)): Catch multiple wildcards,
203 initialise with an empty string (so null isn't
204 appended), and emit comma even when wildcard
206 (checkComponents()): Catch newlines.
207 (quote(String)): Handle newlines and quotes
210 2007-04-16 Andrew Haley <aph@redhat.com>
212 * org/omg/IOP/TaggedComponentHelper.java (read): Use
213 read_octet_array(), not read().
214 (write): Use write_octet_array(), not write().
216 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
217 delegate has been set.
219 * javax/management/ObjectName.java serialVersionUID: Declare.
220 Make all fields transient.
221 (parse): Break out from constructor.
222 (writeObject, readObject): New methods.
224 2007-04-02 Keith Seitz <keiths@redhat.com>
226 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
227 Event type is "THREAD_START" not "THREAD_END".
229 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
230 Handle configure strings ":port" and "port".
232 2007-03-30 Andrew Haley <aph@redhat.com>
234 * javax/management/ObjectName.java: Handle 0-length names.
236 2007-03-27 Andrew Haley <aph@redhat.com>
238 * javax/management/MBeanServerFactory.java: Use the domain that
239 we've been passed, not the fixed string "DefaultDomain".
241 2007-03-29 Tom Tromey <tromey@redhat.com>
244 * gnu/java/util/jar/JarUtils.java (log): Commented out.
245 (readSFManifest): Don't log.
247 2007-03-28 Casey Marshall <csm@gnu.org>
249 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
250 check keyEncipherment bit of the certificate, and just pass the public
253 2007-03-27 Casey Marshall <csm@gnu.org>
256 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
257 Always make a new socket.
258 (bind, connect, getInetAddress, getLocalAddress, getPort,
259 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
260 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
261 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
262 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
263 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
264 getTrafficClass, setReuseAddress, getReuseAddress, close,
265 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
266 isInputShutdown, isOutputShutdown): Always use
269 2007-03-27 Tom Tromey <tromey@redhat.com>
272 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
273 (createXMLReader): Code in Classpath default.
275 2007-03-27 Keith Seitz <keiths@redhat.com>
277 Merged from upstream:
278 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
279 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
280 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
281 (executeGetValues): Use Value type.
282 (exectureSetValues): Ditto.
283 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
284 (executeGetValues): Use Value type.
285 (executeSetValues): Ditto.
286 (invokeMethod): Record method return type.
287 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
288 (executeGetValues): Use Value type.
289 (executeSetValues): Ditto.
290 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
291 (executeGetValues): Use Value type.
292 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
293 (executeGetValues): Use Value type.
294 (executeSetValues): Ditto.
295 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
297 (getResultType): New Method.
298 (setResultType): Ditto.
299 * gnu/classpath/jdwp/util/Value.java: Remove.
300 * gnu/classpath/jdwp/value: New Package.
301 * gnu/classpath/jdwp/value/Value.java: New file.
302 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
303 * gnu/classpath/jdwp/value/ByteValue.java: New file.
304 * gnu/classpath/jdwp/value/CharValue.java: New file.
305 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
306 * gnu/classpath/jdwp/value/FloatValue.java: New file.
307 * gnu/classpath/jdwp/value/IntValue.java: New file.
308 * gnu/classpath/jdwp/value/LongValue.java: New file.
309 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
310 * gnu/classpath/jdwp/value/ShortValue.java: New file.
311 * gnu/classpath/jdwp/value/StringValue.java: New file.
312 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
313 * gnu/classpath/jdwp/value/VoidValue.java: New file.
315 2007-02-28 Keith Seitz <keiths@redhat.com>
316 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
317 (executeSet): Check if VM has capability for field access
318 or modification events.
319 * gnu/classpath/jdwp/processor/MethodCommandSet.java
320 (executeByteCodes): Check if VM has capability and
322 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
323 (executeMonitorInfo): Likewise.
324 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
325 (executeSourceDebugExtension): Likewise.
326 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
327 (executePopFrames): Likewise.
328 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
329 (executeOwnedMonitors): Likewise.
330 (executeCurrentContendedMonitor): Likewise.
331 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
332 (executeCapabilities): Rewrite using new VMVirtualMachine
334 (executeRedefineClasses): Check if VM has capability and
336 (executeSetDefaultStratum): Likewise.
337 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
338 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
339 (canWatchFieldModification): New class constant.
340 (canWatchFieldAccess): Likewise.
341 (canGetBytecodes): Likewise.
342 (canGetSyntheticAttribute): Likewise.
343 (canGetOwnedMonitorInfo): Likewise.
344 (canGetCurrentContendedMonitor): Likewise.
345 (canGetMonitorInfo): Likewise.
346 (canRedefineClasses): Likewise.
347 (canAddMethod): Likewise.
348 (canUnrestrictedlyRedefineClasses): Likewise.
349 (canPopFrames): Likewise.
350 (canUseInstanceFilters): Likewise.
351 (canGetSourceDebugExtension): Likewise.
352 (canRequestVMDeathEvent): Likewise.
353 (canSetDefaultStratum): Likewise.
354 (redefineClasses): New method.
355 (setDefaultStratum): Likewise.
356 (getSourceDebugExtension): Likewise.
357 (getBytecodes): Likewise.
358 (getMonitorInfo): Likewise.
359 (getOwnedMonitors): Likewise.
360 (getCurrentContendedMonitor): Likewise.
361 (popFrames): Likewise.
363 2007-02-28 Keith Seitz <keiths@redhat.com>
364 * gnu/classpath/jdwp/processor/MethodCommandSet.java
365 (executeLineTable): Use ReferenceTypeId instead of
366 ClassReferenceTypeId.
367 (executeVariableTable): Likewise.
368 (executeVariableTableWithGeneric): Fix error message.
369 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
370 (executeSignatureWithGeneric): Fix error message.
371 (executeFieldWithGeneric): Likewise.
372 (executeMethodsWithGeneric): Likewise.
373 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
374 (executeGetValues): Use ThreadId instead of ObjectId.
375 (executeSetValues): Likewise.
376 (executeThisObject): Likewise.
378 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
379 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
380 * gnu/classpath/jdwp/util/NullObject.java: New class.
381 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
382 (getObjectId): Handle null object.
383 (get): Handle objectId of 0.
385 2007-02-22 Keith Seitz <keiths@redhat.ecom>
386 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
387 (getAllLoadedClassesCount): Remove.
388 (getAllLoadedClasses): Return a Collection.
389 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
390 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
391 now returns Collection.
392 (executeAllClasses): Likewise.
393 Get size of return from Colleciton instead of calling
394 getAllLoadedClassesCount.
396 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
397 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
398 (executeGetValues): Pass a signature byte to VMFrame.getValue.
399 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
402 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
403 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
404 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
405 (executeSetValues): Ditto.
406 (executeThisObject): Ditto.
407 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
408 and a constructor used to create VMFrames.
409 (getThread): New method.
410 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
411 Changed to take a long instead of a ByteBuffer to pass the frameID.
413 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
414 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
416 2007-03-26 Tom Tromey <tromey@redhat.com>
418 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
419 (rmid Tool): Likewise.
421 2007-03-25 Dalibor Topic <robilad@kaffe.org>
423 * doc/cp-tools.texinfo: Fix node ordering.
425 2007-03-19 Matthias Klose <doko@ubuntu.com>
427 * doc/Makefile.am: Build a gcjh(1) man page.
428 * doc/cp-tools.texinfo: Add documentation for gcjh.
430 2007-03-26 Stepan Kasal <skasal@redhat.com>
432 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
434 (getParser): Use new field.
436 2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
438 * resource/com/sun/tools/javac/messages.properties
439 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
440 messages for when --with-ecj-jar is not specified.
441 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
442 * tools/Makefile.am: Build com.sun.tools.javac package
444 * configure, doc/api/Makefile.in, doc/Makefile.in,
445 examples/Makefile.in, external/jsr166/Makefile.in,
446 external/Makefile.in, external/relaxngDatatype/Makefile.in,
447 external/sax/Makefile.in, external/w3c_dom/Makefile.in,
448 include/Makefile.in, lib/Makefile.in, Makefile.in,
449 native/fdlibm/Makefile.in, native/jawt/Makefile.in,
450 native/jni/classpath/Makefile.in,
451 native/jni/gconf-peer/Makefile.in,
452 native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
453 native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
454 native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
455 native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
456 native/jni/midi-dssi/Makefile.in,
457 native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
458 native/jni/xmlj/Makefile.in, native/Makefile.in,
459 native/plugin/Makefile.in, resource/Makefile.in,
460 scripts/Makefile.in, tools/Makefile.in: Regenerate.
461 * tools/classes/com/sun/tools/javac: New directory.
462 * tools/classes/com/sun/tools/javac/Main.class,
463 tools/classes/com/sun/tools/javac/Messages.class: New files.
465 2007-03-16 Tom Tromey <tromey@redhat.com>
467 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
470 2007-03-16 Tom Tromey <tromey@redhat.com>
472 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
473 (printClass): Added filename argument.
474 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
475 (printClass): Added filename argument.
476 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
477 (printClass): Use user's file name.
478 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
479 (printClass): Use user's file name.
480 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
482 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
484 (writeHeaders): Use a HashMap.
485 (run): Put class name into HashMap for writeHeaders.
487 2007-03-02 Mario Torre <neugens@limasoftware.net>
490 committed for Petteri Räty <betelgeuse@gentoo.org>
491 * configure.ac: fix broken build for gcj browser plugin
493 2007-02-20 Jakub Jelinek <jakub@redhat.com>
495 * java/util/Date.java (parse): Properly parse 09:01:02 as
496 hours/minutes/seconds, not as hours/minutes/year.
497 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
498 {start,end}TimeMode constructor by calling shorter constructor,
499 set {start,end}TimeMode fields after it returns.
500 (setStartRule): Don't adjust startTime into WALL_TIME. Set
501 startTimeMode to WALL_TIME.
502 (endStartRule): Similarly.
503 (getOffset): Handle properly millis + dstOffset overflowing into the
504 next day. Adjust startTime resp. endTime based on startTimeMode
506 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
508 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
509 If non-null, set up aliases0 and don't put anything into
511 (defaultZone): Call getTimeZone instead of timezones().get.
512 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
513 getTimeZoneInternal instead of timezones().get.
514 (parseTime): Parse correctly hour:minute.
515 (getTimeZoneInternal): New private method.
516 (getTimeZone): Do the custom ID checking first, canonicalize
517 ID for custom IDs as required by documentation. Call
518 getTimeZoneInternal to handle the rest.
519 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
520 (getAvailableIDs(File,String,ArrayList)): New private method.
521 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
522 * gnu/java/util/ZoneInfo.java: New file.
524 2007-02-20 Matthias Klose <doko@ubuntu.com>
526 * doc/Makefile.am: Add rules to build and install man pages
528 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
529 Rename, prefix files with "cp-".
530 * doc/cp-tools.texinfo: Add markup for man page generation,
531 add documentation for command line options for gjar, gjavah,
532 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
533 doc/texi2pod.pl: New, taken from the GCC sources.
535 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
538 * javax/management/MBeanInfo.java (MBeanInfo):
539 Use clone to duplicate the arrays in order to
540 preserve the array type.
542 2007-02-16 Andrew Haley <aph@redhat.com>
544 * gnu/java/lang/management/MemoryMXBeanImpl.java,
545 javax/management/MBeanServerDelegate.java: Use
546 gnu.javax.management.ListenerData rather than
547 gnu.classpath.ListenerData.
548 * gnu/javax/management/ListenerData.java: Move here from
549 gnu/classpath/ListenerData.java.
551 2007-02-14 Jakub Jelinek <jakub@redhat.com>
552 Andrew Haley <aph@redhat.com>
554 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
556 2007-02-09 Tom Tromey <tromey@redhat.com>
559 * configure: Rebuilt.
560 * configure.ac: Also check for jack/jack.h.
562 2007-02-09 Jakub Jelinek <jakub@redhat.com>
564 * java/util/TimeZone.java: Handle default (one hour) daylight
567 2007-02-09 Jakub Jelinek <jakub@redhat.com>
570 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
571 just Rule lines, in the other everything else. Pass 0 instead of
572 $savings as second argument to parseRule when parsing the start
574 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
576 2007-02-07 Chris Burdess <dog@gnu.org>
579 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
580 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
581 SAXSources without a backing URL or stream.
584 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
585 LSParser if implementation does not support asynchronous.
586 * gnu/xml/stream/XMLParser.java,
587 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
588 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
589 protocol handler problems.
591 2007-02-06 Tom Tromey <tromey@redhat.com>
594 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
595 (printClass): Always print a header.
597 2007-02-05 Andrew Haley <aph@redhat.com>
600 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
601 (printClass): Replace '/' in filenames with '_'.
602 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
603 (printClass): Likewise.
605 2007-02-05 Tom Tromey <tromey@redhat.com>
607 * java/net/Proxy.java (equals): Handle case where address==null.
608 (hashCode): Likewise.
609 (toString): Likewise.
611 2007-01-31 Tom Tromey <tromey@redhat.com>
613 * resource/gnu/classpath/tools/jar/messages.properties
614 (Main.Stdin): New message.
615 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
617 (readNames): New method.
620 2007-01-26 Andrew Haley <aph@redhat.com>
622 * java/lang/SecurityManager.java: Load and initialize
623 java.security.Security.
625 2007-01-26 Tom Tromey <tromey@redhat.com>
627 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
628 'volatile' after field type.
630 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
632 * java/util/Arrays.java (binarySearch): Change comparison order.
634 2007-01-17 Tom Tromey <tromey@redhat.com>
636 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
637 (PathOptionGroup): Set default boot class path.
639 2006-12-14 Andrew Haley <aph@redhat.com>
641 * tools/gnu/classpath/tools/jar/Creator.java: Close the
644 2006-10-12 Andrew Haley <aph@redhat.com>
646 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
647 * java/lang/ThreadLocal.java: Likewise.
649 2006-09-13 Andrew Haley <aph@redhat.com>
651 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
652 Revert previous gcj-specific disabling of checks.
653 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
655 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
658 2006-09-13 Andrew Haley <aph@redhat.com>
660 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
662 (Iterator.remove()): Decrement index after removing element.
664 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
666 * javax/net/ssl/SSLSocketFactory.java (getDefault):
667 Chain exception cause.
669 2006-12-11 Roman Kennke <kennke@aicas.com>
671 * .classpath: Include ASM in Eclipse classpath.
673 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
675 * gnu/java/lang/management/BeanImpl.java:
676 (translate(String)): Trim strings of whitespace.
677 * javax/management/MBeanAttributeInfo.java:
678 (MBeanAttributeInfo(String,String,Method,Method)):
679 Use Class.getName() for normal (non-parameterized) cases.
680 * javax/management/MBeanConstructorInfo.java:
681 (MBeanConstructorInfo(String, Constructor)):
683 * javax/management/MBeanOperationInfo.java:
684 (MBeanOperationInfo(String, Method)):
687 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
689 * java/lang/Class.java:
690 (getClasses()): Return Class<?>[].
691 (internalGetClasses()): Likewise.
692 (getConstructor(Class<?>...)): Add type parameter
694 (getDeclaredConstructor(Class<?>...)): Likewise.
695 (getDeclaredClasses()): Return Class<?>[].
696 (getDeclaredClasses(boolean)): Likewise.
697 (getDeclaredConstructors()): Return Constructor<?>[].
698 (getDeclaredConstructors(boolean)): Likewise.
699 (getDeclaredMethod(String,Class<?>...)): Add type
700 parameter to parameters.
701 (getInterfaces()): Return Class<?>[].
702 (getMethods(String,Class<?>...)): Add type
703 parameter to parameters.
704 * java/text/CollationKey.java:
706 * java/text/DecimalFormatSymbols.java:
709 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
711 * gnu/java/lang/management/BeanImpl.java:
712 (translate(String)): Handle Map and List as
713 Strings of the form "java.util.Map<K,V>" and
715 * javax/management/MBeanAttributeInfo.java:
716 (MBeanAttributeInfo(String,String,Method,Method)):
717 Use generic parameter and return types.
718 * javax/management/MBeanConstructorInfo.java:
719 (MBeanConstructorInfo(String, Constructor)):
720 Use generic parameter types.
721 * javax/management/MBeanOperationInfo.java:
722 (MBeanOperationInfo(String, Method)):
723 Use generic parameter and return types.
725 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
727 * gnu/java/lang/management/BeanImpl.java:
728 (translate(String)): Comment out code for using type
729 variables for Map and List.
730 * java/lang/Thread.java:
731 (Thread(ThreadGroup,Runnable,String,long)): Fix
732 incrementation of totalThreadsCreated to be prior to use.
734 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
736 * javax/management/MBeanServerFactory.java:
737 (createMBeanServer(String)): Added security check.
738 (findMBeanServer(String)): Likewise.
739 (newMBeanServer(String)): Likewise.
740 (releaseMBeanServer(String)): Likewise.
741 * javax/management/MBeanServerPermission.java:
744 2006-12-08 David Daney <ddaney@avtrex.com>
746 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
749 2006-12-08 David Daney <ddaney@avtrex.com>
751 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
753 2006-12-08 David Daney <ddaney@avtrex.com>
755 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
757 (HTTPConnection): Handle NumberFormatException in properties parsing.
758 (Pool.get): Set timeout on reused sockets.
759 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
761 (HTTPURLConnection): Cleanup properties handling.
762 (getConnection): Use both connection and read timeouts.
763 (setConnectTimeout): Removed.
764 (setReadTimeout): New method.
765 * java/net/URLConnection.java (timeout): Renamed to...
766 (connectTimeout): ... connectTimeout throughout.
767 (readTimeout): New field.
768 (getReadTimeout): New method.
769 (setReadTimeout): New method.
771 2006-12-08 Tania Bento <tbento@redhat.com>
773 * java/awt/ScrollPane.java
774 (doLayout): Change the location of the scrollpane's child
777 2006-12-08 David Daney <ddaney@avtrex.com>
779 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
781 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
782 SocketTimeoutException if a blocking socket timesout.
783 (Java_gnu_java_nio_VMChannel_readScattering): Same.
784 (Java_gnu_java_nio_VMChannel_read__I): Same.
785 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
786 (Java_gnu_java_nio_VMChannel_connect6): Same.
788 2006-12-08 Mark Wielaard <mark@klomp.org>
790 * configure.ac (VERSION): Set to 0.93-generics.
791 * NEWS: Add release date.
793 2006-12-08 Tania Bento <tbento@redhat.com>
795 * java/awt/ScrollPane.java
796 (getScrollPosition): Throw NullPointerException if scrollpane
798 (setScrollPosition(int, int)): Throw NullPointerException if
799 scrollpane does have a child. Check that both ints are within
800 the allowed bounds; If they are not, scroll to the closest allowed
803 2006-12-07 Roman Kennke <kennke@aicas.com>
805 * javax/swing/JEditorPane.java
806 (EditorKitMapping): New inner helper class.
807 (editorKits): New static field for caching editor kit instances.
808 (static_initiazer): Initialize static mappings here.
809 (createEditorKitForContentType): Try to use cached instance.
810 Use correct classloader for loading.
811 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
813 (getEditorKitForContentType): Store the fetched editor kit.
814 Fallback to createDefaultEditorKit().
815 (init): Don't clean the static registry here.
816 (registerEditorKitForContentType(String,String,ClassLoader)):
818 (registerEditorKitForContentType(String,String)): Delegate to
819 the other version of this method with the thread's context
822 2006-12-07 Mark Wielaard <mark@klomp.org>
824 * examples/gnu/classpath/examples/swing/HtmlDemo.java
825 (setPage): Don't convert URL to String for setPage().
827 2006-12-07 Mark Wielaard <mark@klomp.org>
829 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
831 2006-12-07 Mark Wielaard <mark@klomp.org>
833 * tools/Makefile.am: Explicitly define and use bootclasspath as
836 2006-12-07 Mark Wielaard <mark@klomp.org>
838 * javax/swing/JEditorPane.java (createEditorKitForContentType):
839 Always load from system class loader.
841 2006-12-07 Mark Wielaard <mark@klomp.org>
843 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
845 (URL(URL,String,URLStreamHandler)): Call new constructor.
846 (URL(URL,String)): Likewise.
847 (URL(String)): Likewise.
849 2006-12-07 Tom Tromey <tromey@redhat.com>
852 * INSTALL: Don't mention --with-asm.
853 * tools/external/README: New file.
854 * tools/toolwrapper.c (main): Don't use ASM_JAR.
855 * tools/gjavah.in: Don't use PATH_TO_ASM.
856 * tools/grmic.in: Likewise.
857 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
859 (javah, rmic): Removed variables.
860 (bin_PROGRAMS): Updated.
861 (gappletviewer_CFLAGS): Don't define ASM_JAR.
862 (gjarsigner_CFLAGS): Likewise.
863 (gkeytool_CFLAGS): Likewise.
864 (gjar_CFLAGS): Likewise.
865 (gnative2ascii_CFLAGS): Likewise.
866 (gserialver_CFLAGS): Likewise.
867 (grmiregistry_CFLAGS): Likewise.
868 (gtnameserv_CFLAGS): Likewise.
869 (gorbd_CFLAGS): Likewise.
870 (grmid_CFLAGS): Likewise.
871 (gjavah_CFLAGS): Likewise.
872 (grmic_CFLAGS): Likewise.
873 (bin_SCRIPTS): Updated.
874 (TOOLS_JAVA_FILES): Updated.
875 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
876 * configure.ac: Removed --with-asm. Always build gjavah.
878 2006-12-06 Roman Kennke <kennke@aicas.com>
880 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
882 * examples/gnu/classpath/examples/swing/HtmlDemo.java
883 (LoadActionListener): Call setPage() helper method.
884 (createContent): Register tweaked editor kit. For FormSubmitEvents
885 call submitForm(), otherwise setPage().
886 (postData): Helper method for posting form data.
887 (setPage): Helper method for navigating to a new URL.
888 (submitForm): Helper method for submitting a form.
889 * examples/gnu/classpath/examples/swing/forms.html:
890 Added text/password fields and select boxes.
891 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
893 2006-12-06 Roman Kennke <kennke@aicas.com>
895 * javax/swing/text/html/FormView.java
896 (SubmitThread.postData): Implemented.
897 (SubmitThread.run): Pass data to postData().
898 (actionPerformed): Reset form when reset button is activated.
899 (createComponent): Add support for select lists and comboboxes.
900 Don't set value of text and password fields here, this is done
901 now in HTMLDocument for consistency.
902 (getElementFormData): Add support for fetching form data from
903 select lists and comboboxes as well as textareas.
904 (getSelectData): New helper method. Fetches form data from
906 (getTextAreaData): New helper method. Fetches form data from
908 (resetForm): New helper method. Resets the entire form.
909 * javax/swing/text/html/HTMLDocument.java
910 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
911 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
912 (HTMLReader.FormAction.setModel): Initialize text and password
913 values here. Also, use the resetable special models.
914 Group radio buttons into ButtonGroup for exclusive selection.
915 (HTMLReader.FormTagAction): New class. Handles FORM tags.
916 (HTMLReader.buttonGroups): New field.
917 (HTMLReader.numOptions): New field.
918 (HTMLReader.option): New field.
919 (HTMLReader.selectModel): New field.
920 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
921 (HTMLReader.handleText): Handle OPTION text.
922 (HTMLReader.initTags): Map FORM tags to FormTagAction.
923 (HTMLReader.textAreaContent): Set initial content.
924 * javax/swing/text/html/Option.java
925 (Option): Make copy of attribute set. Initialize selected state.
926 (getValue): Fetch value from attribute set.
927 * javax/swing/text/html/ResetableModel.java: New interface.
928 * javax/swing/text/html/ResetablePlainDocument.java: New class.
929 Supports resetting the state.
930 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
931 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
932 * javax/swing/text/html/SelectListModel.java: Likewise.
934 2006-12-06 Roman Kennke <kennke@aicas.com>
936 * javax/swing/text/DefaultCaret.java
937 (appear): Adjust visibility here.
938 (setDotImpl): Don't adjust visibility here.
939 (moveDotImpl): Don't adjust visibility here.
941 2006-12-06 Roman Kennke <kennke@aicas.com>
943 * gnu/java/awt/peer/gtk/AsyncImage.java
944 (Loader.run): Synchronize on the AsyncImage to avoid threading
946 (addObservers): Check for obs==null outside and synchronize on
947 this inside to avoid locking issues.
948 (checkImage): New helper method.
949 (notifyObservers): Check that the correct lock is held and
950 remove actual locking.
951 * gnu/java/awt/peer/gtk/GtkToolkit.java
952 (checkImage): Added special handling for AsyncImages.
954 2006-12-06 Roman Kennke <kennke@aicas.com>
956 * examples/gnu/classpath/examples/swing/Demo.java
957 (getIcon): Made package private.
958 * examples/gnu/classpath/examples/swing/HtmlDemo.java
959 (hyperlinkUpdate): Convert URL to string.
961 2006-12-06 Mark Wielaard <mark@klomp.org>
963 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
966 2006-12-06 Roman Kennke <kennke@aicas.com>
968 * examples/gnu/classpath/examples/icons/back.png,
969 * examples/gnu/classpath/examples/icons/reload.png:
970 New icons for the HTML browser.
971 * examples/gnu/classpath/examples/swing/HtmlDemo.java
972 (history): New field. Manages the browsing history.
973 (HtmlDemo): Initialize history.
974 (createContent): Set location and add history. Add toolbar.
975 (createToolBar): New helper method.
976 (main): Make default size bigger.
977 * examples/gnu/classpath/examples/swing/frame1.html,
978 * examples/gnu/classpath/examples/swing/frame2.html,
979 * examples/gnu/classpath/examples/swing/frame3.html,
980 * examples/gnu/classpath/examples/swing/frame4.html,
981 * examples/gnu/classpath/examples/swing/frames.html,
982 * examples/gnu/classpath/examples/swing/tables.html:
984 * examples/gnu/classpath/examples/swing/welcome.html
985 Add a couple of links and new test pages.
987 2006-12-06 Roman Kennke <kennke@aicas.com>
989 * javax/swing/JEditorPane.java
990 (getStream): Buffer the stream for efficiency.
991 (setPage): Don't scroll the view at this point.
992 * javax/swing/plaf/basic/BasicTextUI.java
993 (RootView.paint): Call RootView's setSize to get synchronization.
994 (RootView.setSize): Synchronize to prevent race in layout code.
995 * javax/swing/text/AbstractDocument.java
996 (notifyListeners): New field.
997 (fireChangedUpdate): Track notifyListener field.
998 (fireRemoveUpdate): Track notifyListener field.
999 (fireIndertUpdate): Track notifyListener field.
1000 (writeLock): Check notifyListener and throw IllegalStateException.
1001 * javax/swing/text/View.java
1002 (preferenceChanged): Create local var for better thread safety and
1005 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1007 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1008 lightweight component, not just for non-Panel components.
1009 (addImpl): Do not call doLayout.
1010 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1011 (setNativeBounds): Ensure widget parent is a GtkFixed before
1012 calling gtk_fixed_move.
1013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1014 (setNativeBounds): Likewise.
1015 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1016 (setNativeBounds): Likewise.
1018 2006-12-06 Roman Kennke <kennke@aicas.com>
1020 * javax/swing/text/html/TableView.java
1021 (RowView.layoutMajorAxis): Check column index for invalid value.
1022 (updateGrid): Check column index for invalid value.
1024 2006-12-06 Roman Kennke <kennke@aicas.com>
1026 * javax/swing/text/html/BlockView.java
1027 (getAlignment): Align blocks horizontally by the superclass.
1028 * javax/swing/text/html/HTMLEditorKit.java
1029 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1030 Add mapping for misplaced tr, td and th tags. Include object mapping.
1031 * javax/swing/text/html/TableView.java
1032 (RowView.replace): Invalidate grid early.
1033 (gridValid): Initialize with false.
1034 (create): Only create RowView and CellView for correctly placed
1035 tags. Avoid unnecessary casts.
1036 (getAlignment): Removed.
1037 (replace): Invalidate grid early.
1039 2006-12-06 Francis Kung <fkung@redhat.com>
1041 * java/awt/geom/RectangularShape.java
1042 (getBounds): Remove empty rectangle check.
1044 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1047 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1048 newValue are the same.
1049 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1051 2006-12-06 Tania Bento <tbento@redhat.com>
1053 * javax/swing/border/CompoundBorder.java:
1054 (isBorderOpaque): If inside border is null, return true if outside
1055 border is opaque, false otherwise; if outside border is null, return
1056 true if inside border is opaque, false otherwise; if inside or
1057 outside border are both not null, then return true only if both the
1058 inside and outside border are opaque, false otherwise.
1060 2006-12-06 Tania Bento <tbento@redhat.com>
1062 * javax/swing/border/CompoundBorder.java:
1063 (isBorderOpaque): If inside and outside border both have a null
1066 2006-12-06 Chris Burdess <dog@gnu.org>
1069 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1070 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1072 2006-12-06 Chris Burdess <dog@gnu.org>
1075 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1078 2006-12-06 Chris Burdess <dog@gnu.org>
1081 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1082 discover schema factory implementation class.
1084 2006-12-05 Francis Kung <fkung@redhat.com>
1086 * java/awt/BasicStroke.java
1087 (capEnd): Prevent division by zero.
1088 * java/awt/geom/Arc2D.java
1089 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1090 (ArcIterator.currentSegment): Handle a negative extent.
1092 2006-12-05 Francis Kung <fkung@redhat.com>
1094 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1095 (constructor): Handle translated subimages properly, ie, if the image's
1096 0,0 position is not the data buffer's first element.
1098 2006-12-05 Roman Kennke <kennke@aicas.com>
1100 * gnu/java/awt/peer/gtk/AsyncImage.java
1101 (Loader.run): Nullify observers after loading.
1102 (observers): Made package private.
1103 (addObserver): Check for null observers field. Create local
1104 variable for thread safety.
1105 (getHeight): Use addObserver() for checking state of field
1106 and notifying observer when necessary.
1107 (getWidth): Use addObserver() for checking state of field
1108 and notifying observer when necessary.
1109 (getProperty): Use addObserver() for checking state of field
1110 and notifying observer when necessary.
1111 (notifyObservers): Check for null observers field. Create local
1112 variable for thread safety.
1114 2006-12-05 Roman Kennke <kennke@aicas.com>
1116 * javax/swing/text/html/HTMLEditorKit.java
1117 (HTMLFactory.create): Removed debug output.
1118 * javax/swing/text/html/InlineView.java
1119 (getBreakWeight): Likewise.
1120 * javax/swing/text/html/StyleSheet.java
1121 (addRule): Likewise.
1122 (ListPainter.paint): Removed debug output.
1124 2006-12-05 Roman Kennke <kennke@aicas.com>
1126 * javax/swing/text/html/BlockView.java
1127 (painter): Made package visible.
1128 * javax/swing/text/html/StyleSheet.java
1129 (translateBorder): New helper method.
1130 (translateHTMLToCSS): Add mappings for border attributes.
1131 * javax/swing/text/html/TableView.java
1132 Made class subclass of BlockView to get CSS goodness.
1133 (CellView.rowSpan): New field.
1134 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1135 (RowView.overlap): New field.
1136 (RowView.rowIndex): New field.
1137 (RowView.layoutMajorAxis): Skip overlapping cells.
1138 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1139 (numColumns): New field.
1140 (tmpRect): New field.
1141 (TableView): Initialize tmpRect.
1142 (calculateColumnRequirements): Adjusted and fixed for multirows.
1143 (getAlignment): Overridden to center tables.
1144 (paint): Overridden to fix clipping.
1145 (getStyleSheet): Made protected.
1146 (layoutMajorAxis): Invalidate rows.
1147 (setPropertiesFromAttributes): Made protected and call super.
1148 (updateGrid): Update the overlapping information for multirows.
1150 2006-12-05 Roman Kennke <kennke@aicas.com>
1152 * gnu/java/awt/peer/gtk/AsyncImage.java
1153 (addObserver): Check for null and ignore null observers.
1154 (getWidth): Check for null and ignore null observers.
1155 (getHeight): Check for null and ignore null observers.
1156 (getProperty): Check for null and ignore null observers.
1158 2006-12-05 Francis Kung <fkung@redhat.com>
1160 * java/awt/BasicStroke.java
1161 (capEnd): Prevent division by zero.
1162 * java/awt/geom/Arc2D.java
1163 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1164 (ArcIterator.currentSegment): Handle a negative extent.
1166 2006-12-05 Francis Kung <fkung@redhat.com>
1168 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1169 (constructor): Handle translated subimages properly, ie, if the image's
1170 0,0 position is not the data buffer's first element.
1172 2006-12-05 Roman Kennke <kennke@aicas.com>
1174 * javax/swing/text/html/ImageView.java
1175 (imageUpdate): Use spans field to determine if the CSS width/height
1176 are set. Call safePreferenceChanged to protect view structure
1177 from threading issues.
1178 (spans): Made package private.
1179 (ImageView): Initialize loadOnDemand with false.
1180 (loadImage): Call Toolkit.prepareImage() to make sure we have
1181 our Observer registered.
1182 (safePreferenceChanged): New helper method. Calls preferenceChanged
1183 in a thread safe environment.
1185 2006-12-05 Roman Kennke <kennke@aicas.com>
1187 * NEWS: Add entry about improved HTML support.
1189 2006-12-05 Roman Kennke <kennke@aicas.com>
1191 * javax/swing/text/html/ImageView.java
1192 (ImageView): Initialize spans array here.
1193 (setPropertiesFromAttributes): Moved init of spans array to
1196 2006-12-05 Roman Kennke <kennke@aicas.com>
1198 * javax/swing/text/html/BlockView.java
1199 (painter): Made package visible.
1200 * javax/swing/text/html/StyleSheet.java
1201 (translateBorder): New helper method.
1202 (translateHTMLToCSS): Add mappings for border attributes.
1203 * javax/swing/text/html/TableView.java
1204 Made class subclass of BlockView to get CSS goodness.
1205 (CellView.rowSpan): New field.
1206 (CellView.setPropertiesFromAttributes): Fetch rowspan.
1207 (RowView.overlap): New field.
1208 (RowView.rowIndex): New field.
1209 (RowView.layoutMajorAxis): Skip overlapping cells.
1210 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1211 (numColumns): New field.
1212 (tmpRect): New field.
1213 (TableView): Initialize tmpRect.
1214 (calculateColumnRequirements): Adjusted and fixed for multirows.
1215 (getAlignment): Overridden to center tables.
1216 (paint): Overridden to fix clipping.
1217 (getStyleSheet): Made protected.
1218 (layoutMajorAxis): Invalidate rows.
1219 (setPropertiesFromAttributes): Made protected and call super.
1220 (updateGrid): Update the overlapping information for multirows.
1222 2006-12-05 Roman Kennke <kennke@aicas.com>
1224 * javax/swing/text/html/HTMLEditorKit.java
1225 (HTMLFactory.create): Removed debug output.
1226 * javax/swing/text/html/InlineView.java
1227 (getBreakWeight): Likewise.
1228 * javax/swing/text/html/StyleSheet.java
1229 (addRule): Likewise.
1230 (ListPainter.paint): Removed debug output.
1232 2006-12-06 Roman Kennke <kennke@aicas.com>
1234 * javax/swing/text/html/BlockView.java
1235 (getAlignment): Align blocks horizontally by the superclass.
1236 * javax/swing/text/html/HTMLEditorKit.java
1237 (HTMLFactory.create): Replace equals comparison by == for efficiency.
1238 Add mapping for misplaced tr, td and th tags. Include object mapping.
1239 * javax/swing/text/html/TableView.java
1240 (RowView.replace): Invalidate grid early.
1241 (gridValid): Initialize with false.
1242 (create): Only create RowView and CellView for correctly placed
1243 tags. Avoid unnecessary casts.
1244 (getAlignment): Removed.
1245 (replace): Invalidate grid early.
1248 2006-12-06 Roman Kennke <kennke@aicas.com>
1250 * javax/swing/text/html/TableView.java
1251 (RowView.layoutMajorAxis): Check column index for invalid value.
1252 (updateGrid): Check column index for invalid value.
1254 2006-12-06 Roman Kennke <kennke@aicas.com>
1256 * javax/swing/JEditorPane.java
1257 (getStream): Buffer the stream for efficiency.
1258 (setPage): Don't scroll the view at this point.
1259 * javax/swing/plaf/basic/BasicTextUI.java
1260 (RootView.paint): Call RootView's setSize to get synchronization.
1261 (RootView.setSize): Synchronize to prevent race in layout code.
1262 * javax/swing/text/AbstractDocument.java
1263 (notifyListeners): New field.
1264 (fireChangedUpdate): Track notifyListener field.
1265 (fireRemoveUpdate): Track notifyListener field.
1266 (fireIndertUpdate): Track notifyListener field.
1267 (writeLock): Check notifyListener and throw IllegalStateException.
1268 * javax/swing/text/View.java
1269 (preferenceChanged): Create local var for better thread safety and
1272 2006-12-06 Roman Kennke <kennke@aicas.com>
1274 * examples/gnu/classpath/examples/icons/back.png,
1275 * examples/gnu/classpath/examples/icons/reload.png:
1276 New icons for the HTML browser.
1277 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1278 (history): New field. Manages the browsing history.
1279 (HtmlDemo): Initialize history.
1280 (createContent): Set location and add history. Add toolbar.
1281 (createToolBar): New helper method.
1282 (main): Make default size bigger.
1283 * examples/gnu/classpath/examples/swing/frame1.html,
1284 * examples/gnu/classpath/examples/swing/frame2.html,
1285 * examples/gnu/classpath/examples/swing/frame3.html,
1286 * examples/gnu/classpath/examples/swing/frame4.html,
1287 * examples/gnu/classpath/examples/swing/frames.html,
1288 * examples/gnu/classpath/examples/swing/tables.html:
1290 * examples/gnu/classpath/examples/swing/welcome.html
1291 Add a couple of links and new test pages.
1293 2006-12-06 Roman Kennke <kennke@aicas.com>
1295 * examples/gnu/classpath/examples/swing/Demo.java
1296 (getIcon): Made package private.
1297 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1298 (hyperlinkUpdate): Convert URL to string.
1300 2006-12-06 Roman Kennke <kennke@aicas.com>
1302 * javax/swing/text/DefaultCaret.java
1303 (appear): Adjust visibility here.
1304 (setDotImpl): Don't adjust visibility here.
1305 (moveDotImpl): Don't adjust visibility here.
1307 2006-12-06 Roman Kennke <kennke@aicas.com>
1309 * javax/swing/text/html/FormView.java
1310 (SubmitThread.postData): Implemented.
1311 (SubmitThread.run): Pass data to postData().
1312 (actionPerformed): Reset form when reset button is activated.
1313 (createComponent): Add support for select lists and comboboxes.
1314 Don't set value of text and password fields here, this is done
1315 now in HTMLDocument for consistency.
1316 (getElementFormData): Add support for fetching form data from
1317 select lists and comboboxes as well as textareas.
1318 (getSelectData): New helper method. Fetches form data from
1320 (getTextAreaData): New helper method. Fetches form data from
1322 (resetForm): New helper method. Resets the entire form.
1323 * javax/swing/text/html/HTMLDocument.java
1324 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1325 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1326 (HTMLReader.FormAction.setModel): Initialize text and password
1327 values here. Also, use the resetable special models.
1328 Group radio buttons into ButtonGroup for exclusive selection.
1329 (HTMLReader.FormTagAction): New class. Handles FORM tags.
1330 (HTMLReader.buttonGroups): New field.
1331 (HTMLReader.numOptions): New field.
1332 (HTMLReader.option): New field.
1333 (HTMLReader.selectModel): New field.
1334 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1335 (HTMLReader.handleText): Handle OPTION text.
1336 (HTMLReader.initTags): Map FORM tags to FormTagAction.
1337 (HTMLReader.textAreaContent): Set initial content.
1338 * javax/swing/text/html/Option.java
1339 (Option): Make copy of attribute set. Initialize selected state.
1340 (getValue): Fetch value from attribute set.
1341 * javax/swing/text/html/ResetableModel.java: New interface.
1342 * javax/swing/text/html/ResetablePlainDocument.java: New class.
1343 Supports resetting the state.
1344 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1345 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1346 * javax/swing/text/html/SelectListModel.java: Likewise.
1348 2006-12-06 Roman Kennke <kennke@aicas.com>
1350 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1352 * examples/gnu/classpath/examples/swing/HtmlDemo.java
1353 (LoadActionListener): Call setPage() helper method.
1354 (createContent): Register tweaked editor kit. For FormSubmitEvents
1355 call submitForm(), otherwise setPage().
1356 (postData): Helper method for posting form data.
1357 (setPage): Helper method for navigating to a new URL.
1358 (submitForm): Helper method for submitting a form.
1359 * examples/gnu/classpath/examples/swing/forms.html:
1360 Added text/password fields and select boxes.
1361 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1363 2006-12-07 Mark Wielaard <mark@klomp.org>
1365 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1366 private constructor.
1367 (URL(URL,String,URLStreamHandler)): Call new constructor.
1368 (URL(URL,String)): Likewise.
1369 (URL(String)): Likewise.
1371 2006-12-07 Mark Wielaard <mark@klomp.org>
1373 * javax/swing/JEditorPane.java (createEditorKitForContentType):
1374 Always load from system class loader.
1376 2006-12-06 Ben Konrath <bkonrath@redhat.com>
1379 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1380 newValue are the same.
1381 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1383 2006-12-06 Chris Burdess <dog@gnu.org>
1386 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1387 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1389 2006-12-06 Chris Burdess <dog@gnu.org>
1392 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1395 2006-12-056 Chris Burdess <dog@gnu.org>
1398 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1399 discover schema factory implementation class.
1401 2006-12-05 Roman Kennke <kennke@aicas.com>
1403 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1404 asynchronous loading of images.
1405 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1406 (drawImage): Fetch real image from possibly AsyncImage.
1407 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1408 (drawImage): Fetch real image from possibly AsyncImage.
1409 * gnu/java/awt/peer/gtk/GtkToolkit.java
1410 (createImage(URL)): Create async image.
1411 (imageOrError): Made method static for easy access from AsyncImage.
1412 (prepareImage): For async images, register the observer to the
1415 2006-12-05 Roman Kennke <kennke@aicas.com>
1417 (paintComponent): Include paint area from event.
1418 (updateComponent): Include paint area from event.
1420 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
1422 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1423 lightweight component, not just for non-Panel components.
1424 (addImpl): Do not call doLayout.
1425 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1426 (setNativeBounds): Ensure widget parent is a GtkFixed before
1427 calling gtk_fixed_move.
1428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1429 (setNativeBounds): Likewise.
1430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1431 (setNativeBounds): Likewise.
1433 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1435 * java/awt/Component.java (getFontImpl): Return a default font if
1436 topmost parent's font is null.
1438 2006-12-04 Mark Wielaard <mark@klomp.org>
1440 * javax/swing/text/html/CSS.java (parseMarginShorthand):
1441 Remove debug output.
1443 2006-12-04 Roman Kennke <kennke@aicas.com>
1445 * java/awt/font/TextLayout.java
1446 (hitTestChar): Fixed conditions for inclusion of range.
1447 Use layout information in the run for more efficiency.
1449 2006-12-04 Roman Kennke <kennke@aicas.com>
1451 * javax/swing/text/GlyphView.java
1452 (J2DGlyphPainter): New inner class.
1453 (checkPainter): For Java2D capable environments create
1456 2006-12-04 Roman Kennke <kennke@aicas.com>
1458 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1459 (FreeTypeGlyphVector): Don't filter control chars here.
1460 (getGlyphs): Filter control chars and replace them by
1463 2006-12-04 Roman Kennke <kennke@aicas.com>
1465 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1466 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1468 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1470 * gnu/java/lang/management/BeanImpl.java:
1471 (translate(String)): Don't assume the list uses "E",
1472 just use the first and only type variable.
1473 * java/lang/management/ManagementFactory.java:
1474 (getPlatformMBeanServer()): Register logging bean.
1475 * javax/management/openmbean/OpenType.java:
1476 (OpenType(String,String,String)): Actually use
1477 the string created to handle arrays.
1479 2006-12-04 Mark Wielaard <mark@klomp.org>
1481 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1482 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1484 2006-12-04 Mark Wielaard <mark@klomp.org>
1486 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1488 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1489 (JCL_thread_interrupted): Only take JNIEnv.
1490 (vm_channel_class): New static variable.
1491 (initID): Set vm_channel_class.
1492 Wrap all reads() and writes() in do-while blocks that check
1495 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1497 * gnu/javax/management/Server.java:
1498 Make map final and initialise it.
1499 (unregisterMBean(ObjectName)): Match against
1500 delegate's object name and not the instance.
1501 * java/lang/management/ManagementFactory.java:
1502 Added constant fields.
1503 (getPlatformMBeanServer()): Implemented.
1504 * javax/management/MBeanServerFactory.java: New file.
1506 2006-12-04 Roman Kennke <kennke@aicas.com>
1508 * javax/swing/text/BoxView.java
1509 (paint): Replaced painting algorithm with more simple and more
1510 reliable painting of the box.
1511 * javax/swing/text/html/BlockView.java
1512 (PositionInfo): New inner class. Stores additional CSS
1513 positioning information.
1514 (positionInfo): New field.
1515 (BlockView): Initialize positionInfo field.
1516 (fetchLayoutInfo): New helper method. Fetches additional
1517 CSS positioning information.
1518 (layoutMajorAxis): Perform additional CSS layout.
1519 (layoutMinorAxis): Perform additional CSS layout.
1520 (positionView): New helper method.
1521 (replace): Overridden to fetch additional layout information.
1522 * javax/swing/text/html/CSS.java
1523 (Attribute.POSITION): New field.
1524 (Attribute.LEFT): New field.
1525 (Attribute.RIGHT): New field.
1526 (Attribute.TOP): New field.
1527 (Attribute.BOTTOM): New field.
1528 (getValue): Create Length for left, right, top and bottom
1531 2006-12-04 Roman Kennke <kennke@aicas.com>
1533 * gnu/javax/swing/text/html/parser/support/Parser.java
1534 (Sgml): Consume any whitespace that immediately follows
1536 (parseDocument): Consume any initial whitespace.
1538 2006-12-03 Mark Wielaard <mark@klomp.org>
1540 * gnu/javax/management/Server.java (beans): Initialize.
1541 (registerMBean): Don't initialize beans.
1543 2006-12-03 Mark Wielaard <mark@klomp.org>
1545 * java/util/logging/LogManager.java (getLevelProperty): Check
1546 whether value is null before passing to Level.parse().
1548 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1550 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1551 whether given a null lock and lockOwner.
1553 2006-12-03 Mark Wielaard <mark@klomp.org>
1555 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1556 (PageLoader.page): Made package local.
1557 (PageLoader.run): Don't reset loader.
1558 (PageLoader.cancel): New method.
1559 (loading): Renamed to loader.
1560 (getPage): Return loader.page.
1561 (setPage): Always set loader. Never reset to null.
1563 2006-12-03 Mark Wielaard <mark@klomp.org>
1565 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1567 (isLastChild): Return false when path is null.
1569 2006-12-03 Mark Wielaard <mark@klomp.org>
1571 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1572 to currentPaintArea.
1573 (paintComponent): Work with local reference to currentPaintArea.
1574 (updateComponent): Likewise.
1575 (coalescePaintEvent): Set currentPaintArea.
1577 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1579 * javax/management/MBeanServerBuilder.java: New file.
1581 2006-12-01 Mark Wielaard <mark@klomp.org>
1583 * java/text/DecimalFormat.java (parse): Always increment parsing
1584 index and adjust pos result.
1586 2006-12-01 Roman Kennke <kennke@aicas.com>
1588 * javax/swing/text/html/HTML.java
1589 (Attribute.DYNAMIC_CLASS): New field.
1590 (Attribute.PSEUDO_CLASS): New field.
1591 * javax/swing/text/html/HTMLDocument.java
1592 (HTMLReader.CharacterAction.start): Initialize anchor with link
1594 (updateSpecialClass): New helper method. Updates the dynamic
1595 or pseudo class for anchor tags.
1596 * javax/swing/text/html/HTMLEditorKit.java
1597 (LinkController.lastAnchorElement): New field. For tracking
1598 enter/exit of anchors.
1599 (LinkController.activateLink): Set pseudo class to 'visited'.
1600 (LinkController.mouseMoved): Added support for tracking
1601 the 'hover' dynamic class.
1602 * javax/swing/text/html/InlineView.java
1603 (changedUpdate): Fetch new properties.
1604 * javax/swing/text/html/StyleSheet.java
1605 (attributeSetToMap): New helper method.
1606 (getRule): Also append dynamic and pseudo class to key.
1607 (resolveStyle): Resolve style based generally on all attributes.
1608 * javax/swing/text/html/TableView.java
1609 (RowView.layoutMajorAxis): Make sure the grid is valid.
1610 (updateGrid): Made package private.
1611 * gnu/javax/swing/text/html/css/Selector.java
1612 (calculateSpecificity): Added support for dynamic and pseudo classes.
1613 (matches): Changed to operate on general attributes.
1614 Added support for dynamic and pseudo classes.
1616 2006-12-01 Mario Torre <neugens@limasoftware.net>
1618 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1619 fractional portion in a separate method.
1620 Also fixes the handling of decimal separator and its associated field.
1621 (handleFractionalPart): new method, needed to relax a bit
1624 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1626 * java/beans/beancontext/BeanContextServicesSupport.java:
1627 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1628 Class)): Implemented.
1629 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1630 Class, Object)): Implemented.
1631 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1632 Object, Object)): Implemented.
1633 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1635 (initialiseBeanContextResources()): Implemented.
1636 (releaseBeanContextResoures()): Implemented.
1638 2006-12-01 Mark Wielaard <mark@klomp.org>
1640 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1642 2006-12-01 Roman Kennke <kennke@aicas.com>
1644 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1645 handling border styles.
1646 * gnu/javax/swing/text/html/css/BorderWidth.java
1647 (isValid): New method.
1648 * gnu/javax/swing/text/html/css/Length.java
1649 (isValid): New method.
1650 * javax/swing/text/html/CSS.java
1651 (addInternal): Added shorthand parsing for border, padding and
1653 (parseBackgroundShorthand): Added API docs.
1654 (parsePaddingShorthand): New method. Handles padding shorthand
1656 (parseMarginShorthand): New method. Handles margin shorthand
1658 (parseBorderShorthand): New method. Handles border shorthand
1660 * javax/swing/text/html/StyleSheet.java
1661 (translateHTMLToCSS): Set specific padding attributes.
1662 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1663 These shorthands are now handled in CSS.
1664 (BoxPainter.paint): Exclude the outer margin.
1666 2006-12-01 Roman Kennke <kennke@aicas.com>
1668 * gnu/javax/swing/text/html/css/Length.java
1669 (emBase): New field.
1670 (exBase): New field.
1671 (isFontEMRelative): New field.
1672 (isFontEXRelative): New field.
1673 (Length): Recognize and setup EM and EX relative values.
1674 (getValue): Handle EM and EX relative values.
1675 (isEMRelative): New method.
1676 (isEXRelative): New method.
1677 (setEMBase): New method.
1678 (setEXBase): New method.
1679 (setFontBases): New method.
1680 * gnu/javax/swing/text/html/parser/support/Parser.java
1681 (_handleEmptyTag): Use new isBlock() helper method.
1682 (_handleEndTag_remaining): Use new isBlock() helper method.
1683 (_handleStartTag): Consume whitespace after block start tag.
1684 (Comment): Consume whitespace after a comment.
1685 (isBlock): New helper method.
1686 (readAttributes): Consider all characters in unquoted attribute
1688 * javax/swing/text/html/BlockView.java
1689 (layoutMinorAxis): Use cached span value.
1690 (paint): Added debug code (commented out).
1691 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1692 * javax/swing/text/html/CSSBorder.java
1693 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1695 (getBorderWidth): Set the EM and EX base on the length values.
1696 * javax/swing/text/html/HTMLDocument.java
1697 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1698 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1699 (HTMLReader.inImpliedParagraph): Removed.
1700 (HTMLReader.inParagraph): Removed.
1701 (HTMLReader.parseStack): New field.
1702 (HTMLReader.addContent): Use new paragraph handling.
1703 (HTMLReader.addSpecialElement): Use new paragraph handling.
1704 (HTMLReader.blockClose): Use new paragraph handling.
1705 (HTMLReader.blockOpen): Use new paragraph handling.
1706 (HTMLReader.inImpliedParagraph): New helper method.
1707 (HTMLReader.inParagraph): New helper method.
1708 * javax/swing/text/html/ImageView.java
1709 (attributes): New field. Caches view attributes.
1710 (spans): New field. Caches CSS spans.
1711 (getAttributes): Correctly setup CSS view attributes.
1712 (getPreferredSpan): Use caches spans.
1713 (getStyleSheet): Use the view's getDocument() method.
1714 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1715 (updateSize): Use cached spans.
1716 * javax/swing/text/html/ParagraphView.java
1717 (setPropertiesFromAttributes): Setup EM and EX.
1718 * javax/swing/text/html/StyleSheet.java
1719 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1720 (getEMBase): New helper method.
1721 (getEXBase): New helper method.
1722 * javax/swing/text/html/TableView.java
1723 (width): New field. Caches the table width.
1724 (calculateMinorAxisRequirements): Use caches span.
1725 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1726 (updateGrid): Correctly setup EM/EX.
1728 2006-11-30 Roman Kennke <kennke@aicas.com>
1730 * javax/swing/text/html/FormSubmitEvent.java: New class.
1731 * javax/swing/text/html/FormView.java
1732 (SubmitThread): New class for submitting data in a separate thread.
1733 (actionPerformed): Fetch the actual for data.
1734 (addData): New helper method.
1735 (getElementFormData): New helper method.
1736 (getFormData): New helper method.
1737 (getInputFormData): New helper method.
1738 (submitData): Implemented.
1739 * javax/swing/text/html/FrameView.java
1740 (createComponent): Add this as hyperlink listener.
1741 Set the target document as frame document.
1742 (getTopEditorPane): New helper method.
1743 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1744 (handleHyperlinkEvent): New helper method.
1745 (handleFormSubmitEvent): New helper method.
1746 * javax/swing/text/html/HTMLDocument.java
1747 (HTMLReader.BaseAction.start): Track the base target.
1748 (HTMLReader.BaseAction.end): Removed.
1749 (baseTarget): New field.
1750 (frameDocument): New field.
1751 (getBaseTarget): New property accessor.
1752 (isFrameDocument): New property accessor.
1753 (processHTMLFrameHyperlinkEvent): Implemented.
1754 (setFrameDocument): New property accessor.
1755 (updateFrame): New helper method.
1756 (updateFrameSet): New helper method.
1757 * javax/swing/text/html/HTMLEditorKit.java
1758 (LinkController.createHyperlinkEvent): Handle frame documents.
1759 (autoFormSubmission): New field.
1760 (HTMLEditorKit): Set autoFormSubmission to true.
1761 (isAutoFormSubmission): New property accessor.
1762 (setAutoFormSubmission): New property accessor.
1764 2006-11-30 Roman Kennke <kennke@aicas.com>
1766 * javax/swing/text/ElementIterator.java
1767 (ElementRef): New inner class.
1768 (currentDepth): Removed.
1769 (currentElement): Removed.
1770 (previousItem): Removed.
1771 (stack): New field. Holds the iteration stack.
1773 (ElementIterator(Document)): Removed init of removed fields.
1774 (ElementIterator(Element)): Removed init of removed fields.
1775 (current): Changed to stack based algorithm.
1776 (deepestLeaf): New helper method.
1777 (depth): Changed to stack based algorithm.
1778 (first): Changed to stack based algorithm.
1779 (next): Changed to stack based algorithm.
1780 (previous): Changed to stack based algorithm.
1782 2006-11-30 Francis Kung <fkung@redhat.com>
1784 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1785 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1787 2006-11-30 Francis Kung <fkung@redhat.com>
1789 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1790 (draw): Set transform in buffered composite.
1791 (drawComposite): Do not transform bounds; round bounds.
1792 (drawGlyphVector): Set transform in buffered composite.
1793 (drawRenderedImage): Set transform in buffered composite.
1794 (fill): Set transform in buffered composite.
1795 (updateBufferedImage): Fix scanline & height calculations.
1796 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1797 (createPath): Simplify width & height calculation.
1798 (drawImage): Also transform width & height.
1800 2006-11-30 Roman Kennke <kennke@aicas.com>
1802 * javax/swing/text/html/FrameSetView.java: New class. Implements
1804 * javax/swing/text/html/FrameView.java: New class. Implements
1806 * javax/swing/text/html/HTMLDocument.java:
1807 (HTMLReader.addSpecialElement): Only add one artificial space.
1808 * javax/swing/text/html/HTMLEditorKit.java
1809 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1810 * gnu/javax/swing/text/html/parser/support/Parser.java
1811 (_handleEmptyTag): Also consume whitespace after frame tags.
1813 2006-11-30 Gary Benson <gbenson@redhat.com>
1815 * java/lang/Thread.java: Javadoc fixes.
1817 2006-11-29 Tom Tromey <tromey@redhat.com>
1820 * java/lang/Class.java (getAnnotations): Rewrote.
1822 2006-11-29 Tania Bento <tbento@redhat.com>
1824 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1825 (parseParams): Unescape 'val' before putting it into the Map.
1826 (unescapeString): New private method.
1828 2006-11-29 Tom Tromey <tromey@redhat.com>
1830 * tools/gnu/classpath/tools/getopt/package.html: New file.
1832 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1834 * javax/swing/plaf/metal/MetalIconFactory.java
1835 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1836 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1838 2006-11-29 Mario Torre <neugens@limasoftware.net>
1840 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1841 with the default international currency sign \u00A4.
1842 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1843 table for string formatting.
1844 (formatInternal): likewise.
1845 (scanNegativePattern): likewise.
1846 (applyPattern): likewise.
1847 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1848 Locale is immutable and does not need clone.
1850 2006-11-29 Francis Kung <fkung@redhat.com>
1852 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1853 (drawLine): Remove hard-coded pixel shifting.
1855 2006-11-29 Roman Kennke <kennke@aicas.com>
1857 * java/awt/Component.java
1858 (isShowing): Simplified condition code and avoid unnecessary
1860 (coalesceEvents): Always coalesce paint events and let the peer
1861 figure out the expanding of the repaint area.
1862 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1863 (currentPaintEvents): Removed. Replaced by paintArea.
1864 (paintArea): New field. Tracks the dirty area.
1865 (SwingComponentPeer): Removed init of currentPaintEvents.
1866 (coalescePaintEvent): Simplified to only union the dirty regions.
1867 (handleEvent): Paint dirty region that was tracked in paintArea.
1868 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1869 (paintArea): New field. Tracks the dirty region.
1870 (coalescePaintEvent): Implemented to track the dirty region.
1871 (paintComponent): Use the dirty region in paintArea. Protect
1872 state by putting the paint and dispose code in a try-finally.
1873 (updateComponent): Use the dirty region in paintArea. Protect
1874 state by putting the paint and dispose code in a try-finally.
1876 2006-11-29 Roman Kennke <kennke@aicas.com>
1878 * java/awt/font/TextLayout.java
1879 (getVisualHighlightShape): Removed debug output.
1881 2006-11-28 Andrew Haley <aph@redhat.com>
1883 * vm/reference/sun/reflect/misc/ReflectUtil.java
1884 (checkPackageAccess): Implement.
1886 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1888 * native/jni/java-lang/java_lang_VMDouble.c:
1889 (parseDoubleFromChars) New function. Factored out from ...
1890 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1891 (dtoa_toString): New function. Factored out from ...
1892 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1893 Changed conversion mode to 2, as modes 0 and 1 don't round
1894 as the API spec demands. Invoke conversion function as often
1895 as necessary with growing precision until a reversible
1896 representation of the double in form of a string is reached.
1898 2006-11-28 Roman Kennke <kennke@aicas.com>
1900 * javax/swing/JComponent.java
1901 (putClientProperty): Do not fire event when both old and new
1904 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1906 * java/lang/Enum.java:
1907 Make name and ordinal final.
1909 2006-11-27 Casey Marshall <csm@gnu.org>
1911 * java/util/jar/JarEntry.java (certs): removed.
1912 (jarfile): new field.
1913 (getCertificates): read the certificates from the containing JarFile.
1914 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1915 fill in 'certs,' fill in 'jarfile' for the entry.
1916 (getEntry): likewise.
1918 2006-11-27 Francis Kung <fkung@redhat.com>
1920 * java/awt/image/WritableRaster.java
1921 (createChild): Implemented.
1923 2006-11-27 Roman Kennke <kennke@aicas.com>
1925 * java/awt/font/TextLayout.java
1926 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1927 (getVisualHighlightShape): Implemented.
1928 (layoutRuns): Fixed boundary so that the last run is also laid out.
1929 (left): New helper method.
1930 (right): New helper method.
1932 2006-11-27 Roman Kennke <kennke@aicas.com>
1934 * java/awt/font/TextLayout.java
1935 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1936 (getCaretShape(TextHitInfo)): Use natural bounds.
1937 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1938 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1939 above with DEFAULT_CARET_POLICY.
1940 (getCaretShapes(int)): Use natural bounds.
1942 2006-11-27 Roman Kennke <kennke@aicas.com>
1944 * java/awt/font/TextLayout.java
1945 (Run.font): New field.
1946 (Run.location): New field.
1947 (Run.Run): Initialize font.
1948 (font): Removed field. This is moved into Run as the actual font
1949 is something run-specific.
1950 (TextLayout(String,Font,FontRenderContext)): Set font on the
1951 single runs. Layout the runs here.
1952 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1953 (findRunAtIndex): New helper method.
1954 (getCaretInfo): Implemented.
1955 (layoutRuns): New helper method.
1956 (toString): Don't put font in output string.
1958 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1960 * AUTHORS: Added Jeroen Fritjers.
1962 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1964 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1965 for FieldPosition to be null.
1966 Check if the factional part is just 0 and can be omitted from the
1968 (scanNegativePattern): Fixed index out of bound exception when searching
1969 for international currency symbol in negative pattern.
1971 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1973 * java/beans/beancontext/BeanContextSupport.java:
1974 (readObject(ObjectInputStream)): Implemented.
1975 (writeObject(ObjectOutputStream)): Likewise.
1976 (BCSChild.getTargetChild()): Added.
1977 (bcsPreDeserializationHook()): Implemented.
1978 (bcsPreSerializationHook()): Likewise.
1979 (childDeserializedHook(Object,BCSChild)): Likewise.
1980 (isSerializing()): Likewise.
1981 (readChildren(ObjectInputStream)): Likewise.
1982 (writeChildren(ObjectOutputStream)): Likewise.
1984 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1985 Ian Lance Taylor <ian <at> airs.com>
1986 Paolo Bonzini <bonzini <at> gnu.org>
1990 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1991 increased portability. Likewise, use -f instead of -e.
1993 2006-11-26 Mark Wielaard <mark@klomp.org>
1995 * lib/Makefile.am (propertydirs): Removed.
1996 (resources): Explicitly create all dirs.
1998 2006-11-26 Mark Wielaard <mark@klomp.org>
2000 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
2002 2006-11-26 Dalibor Topic <robilad@kaffe.org>
2004 * native/target/.cvsignore,
2005 native/target/generic/.cvsignore,
2006 native/target/Linux/.cvsignore:
2007 Removed no longer used files.
2009 * native/target: Removed no longer used directory.
2011 2006-11-26 Dalibor Topic <robilad@kaffe.org>
2015 * libraries/clib/nio/gnu_java_nio_VMSelector.c
2016 (Java_gnu_java_nio_VMSelector_select):
2017 Use strerror if strerror_r is not available.
2019 Reported by: Michael Franz <mvfranz@gmail.com>,
2020 Riccardo Mottola <zuse@libero.it>
2022 2006-11-26 Dalibor Topic <robilad@kaffe.org>
2026 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
2027 STRICT_WARNING_CFLAGS since it caused the build to fail
2030 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
2032 * doc/vmintegration.texinfo: Update VM Threading Model section.
2034 2006-11-26 Tom Tromey <tromey@redhat.com>
2036 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
2038 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
2040 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
2041 Conditionally include ifaddrs.h.
2042 (getif_address): Updated conditional.
2043 (getif_index): Likewise.
2044 * configure.ac: Check for ifaddrs.h.
2046 2006-11-25 Mark Wielaard <mark@klomp.org>
2048 * java/io/File.java (list): Return empty list for unreadable dirs.
2050 2006-11-25 Mark Wielaard <mark@klomp.org>
2052 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2053 Synchronize on font peer.
2054 (setFont): Likewise.
2055 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2057 (getTextMetrics): Likewise.
2059 2006-11-25 Roman Kennke <kennke@aicas.com>
2061 * javax/swing/text/GapContent.java
2062 (getPositionsInRange): Rewritten to use the more efficient
2063 binary search searchFirst() and avoid an NPE that was caused
2066 2006-11-25 Mark Wielaard <mark@klomp.org>
2068 * javax/swing/text/CompositeView.java (modelToView): Never return
2071 2006-11-25 Mark Wielaard <mark@klomp.org>
2073 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2074 Check whether rowView instanceof RowView.
2075 (updateGrid): Likewise.
2077 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
2080 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2081 * java/text/NumberFormat.java (format): all format methods, fixed
2082 FieldPosition argument should never be null.
2083 (format(Object, StringBuffer, FieldPosition)): fixed signature,
2084 method is not final.
2085 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2087 * AUTHORS: added my name to the file.
2089 2006-11-25 Mark Wielaard <mark@klomp.org>
2091 * javax/swing/text/html/StyleSheet.java (paint): Guard against
2092 getChildAllocation() returning null.
2094 2006-11-25 Mark Wielaard <mark@klomp.org>
2096 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2097 Use clazzIndex for id substring.
2099 2006-11-25 Mark Wielaard <mark@klomp.org>
2101 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2102 it is still running.
2104 2006-11-25 Mark Wielaard <mark@klomp.org>
2107 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2110 2006-11-24 Tania Bento <tbento@redhat.com>
2112 * java/awt/font/TextHitInfo.java
2113 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2114 (beforeOffset): Decreased first parameter by 1.
2116 2006-11-24 Francis Kung <fkung@redhat.com>
2118 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2119 (constructor): Check sample model when setting fastCM flag.
2120 (updateBufferedImage): Check scanline and sample model offsets before
2121 copying data directly into the image data buffer.
2123 2006-11-24 Francis Kung <fkung@redhat.com>
2125 * gnu/java/awt/java2d/QuadSegment.java
2126 (offsetSubdivided): Handle special straight-line cases.
2128 2006-11-24 Roman Kennke <kennke@aicas.com>
2130 * java/awt/dnd/DropTarget.java
2131 (DropTargetAutoScroller.HYSTERESIS): New constant.
2132 (DropTargetAutoScroller.DELAY): New constant.
2133 (DropTargetAutoScroller.inner): New field. A cached
2135 (DropTargetAutoScroller.outer): New field. A cached
2137 (DropTargetAutoScroller.timer): New field. The actual timer.
2138 (DropTargetAutoScroller.DropTargetAutoScroller):
2140 (DropTargetAutoScroller.actionPerformed): Implemented.
2141 (DropTargetAutoScroller.stop): Implemented.
2142 (DropTargetAutoScroller.updateLocation): Implemented.
2143 (clearAutoscroll): Stop the autoscroller before nullifying it.
2144 (createDropTargetAutoScroller): Don't set the field here,
2145 only return a new instance.
2146 (dragEnter): Only do something when active. Initialize
2148 (dragExit): Only do something when active. Stop auto scrolling.
2149 (dragOver): Only do something when active. Update auto scrolling.
2150 (drop): Only do something when active. Update auto scrolling.
2151 (dropActionChanged): Only do something when active. Update
2153 (initializeAutoScrolling): Check if component is an instance
2154 of Autoscroll, otherwise do nothing.
2155 (setActive): Disable autoscrolling when deactivating.
2156 (setComponent): When component is set to null, disable autoscrolling.
2158 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
2160 * java/beans/beancontext/BeanContextServicesSupport.java
2161 (getChildBeanContextServicesListener): Implemented.
2163 2006-11-23 Roman Kennke <kennke@aicas.com>
2165 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2166 (createGraphics): Use constructor to create new instance of
2167 BufferedImageGraphics.
2168 * java/awt/Toolkit.java
2169 (getDefaultToolkit): Really try to get a real toolkit. Only
2170 use HeadlessToolkit if no other is available.
2171 * gnu/java/awt/peer/gtk/GtkToolkit.java
2172 (checkHeadless): New helper method. Checks for headless environment
2173 and throws HeadlessException if appropriate.
2174 (createButton): Check for headless.
2175 (createCanvas): Check for headless.
2176 (createCheckbox): Check for headless.
2177 (createCheckboxMenuItem): Check for headless.
2178 (createChoice): Check for headless.
2179 (createDialog): Check for headless.
2180 (createDragGestureRecognizer): Check for headless.
2181 (createDragSourceContextPeer): Check for headless.
2182 (createEmbeddedWindow): Check for headless.
2183 (createFileDialog): Check for headless.
2184 (createFrame): Check for headless.
2185 (createCheckbox): Check for headless.
2186 (createLabel): Check for headless.
2187 (createList): Check for headless.
2188 (createMenu): Check for headless.
2189 (createMenuBar): Check for headless.
2190 (createMenuItem): Check for headless.
2191 (createPanel): Check for headless.
2192 (createPopupMenu): Check for headless.
2193 (createScrollbar): Check for headless.
2194 (createScrollPane): Check for headless.
2195 (createTextArea): Check for headless.
2196 (createTextField): Check for headless.
2197 (createWindow): Check for headless.
2199 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
2201 * java/beans/beancontext/BeanContextSupport.java
2202 (deserialize): Implemented,
2203 (serialize): Implemented.
2205 2006-11-23 Roman Kennke <kennke@aicas.com>
2207 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2208 (createGraphics): Try to use Cairo graphics if available.
2210 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2212 * java/beans/beancontext/BeanContextSupport.java
2213 (toArray): Added API docs,
2214 (toArray(Object[])): Added API docs, removed NotImplementedException.
2216 2006-11-22 Tania Bento <tbento@redhat.com>
2218 * javax/swing/JRootPane.java
2219 (setLayeredPane): Added documentation; throw
2220 IllegalComponentStateException if layered pane parameter is null.
2222 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
2224 * java/beans/beancontext/BeanContextSupport.java
2225 (avoidingGui): Removed NotImplementedException.
2227 2006-11-22 Francis Kung <fkung@redhat.com>
2229 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2230 (drawGlyphVector): Clip updated area to glyph bounds.
2231 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2232 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2233 x-coordinate and y-coordinate pixel shifting.
2234 (shifted): Removed method.
2235 (shiftX): New method, recognising scaling transforms.
2236 (shiftY): New method, recognising scaling transforms.
2237 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2239 2006-11-22 Roman Kennke <kennke@aicas.com>
2241 * java/awt/font/TextLayout.java
2242 (hash): New field. Caches the hash code.
2243 (hashCode): Implemented.
2245 2006-11-22 Roman Kennke <kennke@aicas.com>
2247 * java/awt/image/ImageFilter.java
2248 Reformat whole class.
2249 (getFilterInstance): Don't touch the consumer field. Don't check
2251 (imageComplete): Don't check consumer.
2252 (setColorModel): Don't check consumer.
2253 (setDimensions): Don't check consumer.
2254 (setHints): Don't check consumer.
2255 (setPixels): Don't check consumer.
2256 (setProperties): Pass the original property too.
2257 * java/awt/image/IndexColorModel.java
2258 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2259 transparent pixel by calling the new helper method.
2260 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2261 transparent pixel by calling the new helper method.
2262 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2263 transparent pixel by calling the new helper method.
2264 (coerceData): Removed. This is not needed.
2265 (getAlpha): Simply return value from color map. The transparent
2266 pixel has to be there.
2267 (setTransparentPixel): New helper method. Inserts the transparent
2269 * java/awt/image/RGBImageFilter.java
2270 Reformat whole class.
2271 (convertColorModelToDefault): Removed. No longer needed.
2272 (filterIndexColorModel): Don't handle transparent pixels
2274 (filterRGBPixels): Set pixels on consumer already.
2275 (makeColor): Removed. No longer needed.
2276 * java/awt/image/ReplicateScaleFilter.java
2277 (replicatePixels): Removed.
2278 (setDimension): Correctly compute destination size, avoid double
2280 (setPixels): Avoid double calculations. Fixed some boundary cases.
2281 (setupSources): New helper method.
2282 * java/awt/image/SampleModel.java
2283 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2285 * java/awt/image/SinglePixelPackedSampleModel.java
2286 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2287 This is not needed as the superclass already copies line
2289 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2290 removed some checks that the RI also doesn't perform. Call
2291 DataBuffer.setElem().
2293 2006-11-22 Roman Kennke <kennke@aicas.com>
2295 * java/awt/text/TextLayout.java
2296 (getLogicalRangesForVisualSelection): Implemented.
2298 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
2300 * sun/reflect/annotation/AnnotationParser.java,
2301 * sun/reflect/annotation/AnnotationType.java,
2302 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2303 * sun/reflect/annotation/ExceptionProxy.java:
2305 * sun/misc/ServiceConfigurationError.java,
2306 * sun/misc/Service.java:
2309 2006-11-21 Roman Kennke <kennke@aicas.com>
2311 * java/awt/text/TextLayout.java
2312 (Run.isLeftToRight): New helper method.
2313 (logicalToVisual): New field. Maps logical indices to visual
2315 (visualToLogical): New field. Maps visual indices to logical
2317 (TextLayout): Setup mappings.
2318 (setupMappings): New method for setting up the mappings.
2319 (getCharacterLevel): Reorganized code.
2320 (getNextLeftHit(int)): Implemented.
2321 (getNextLeftHit(int,CaretPolicy)): New method.
2322 (getNextLeftHit(TextHitInfo)): Implemented.
2323 (getNextRightHit(int)): Implemented.
2324 (getNextRightHit(int,CaretPolicy)): New method.
2325 (getNextRightHit(TextHitInfo)): New method.
2326 (getVisualOtherHit): Implemented.
2327 (checkHitInfo): New helper methods for checking parameters.
2328 (hitToCaret): New helper method. Maps hit infos to caret locations.
2329 (caretToHit): New helper method. Maps caret locations to hit infos.
2330 (isCharacterLTR): New helper method.
2331 (CaretPolicy.getStrongCaret): Implemented.
2333 2006-11-21 Francis Kung <fkung@redhat.com>
2335 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2336 (draw): Include stroke width when calculating bounds.
2337 (updateBufferedImage): Round bounds more generously, handle negative
2338 height/width values, and clip more intelligently.
2339 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2340 (createPath): Add shortcut optimization for lines.
2341 (draw): Include stroke width when calculating bounds.
2342 (drawLine): Delegate to main draw() method.
2343 (drawRect): Likewise.
2344 (fillRect): Delegate to main fill() method.
2345 (findStrokedBounds): New method.
2346 (setCustomPaint): Round bounds more generously.
2347 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2348 (drawLine): Removed.
2349 (drawRect): Removed.
2350 (fillRect): Removed.
2352 2006-11-21 Francis Kung <fkung@redhat.com>
2354 * gnu/java/awt/java2d/TexturePaintContext.java
2355 (getRaster): Handle negative coordinate values.
2356 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2357 (setPaint): Moved custom paint processing to a new method.
2358 (setPaintPixels): Added x, y parameters.
2359 (getRealBounds): Added documentation.
2360 (copy): Copy clipping information.
2361 (drawLine): Process custom paints.
2362 (setCustomPaint): New method.
2363 (fill): Process custom paints.
2364 (drawGlyphVector): Process custom paints.
2365 (drawRect): Process custom paints.
2366 (draw): Process custom paints.
2367 * gnu/java/awt/peer/gtk/CairoSurface.java
2368 (cairoCM_opaque): New constant.
2369 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2370 (argb32): Removed constant.
2371 (rgb32): Removed constant.
2372 (BufferedImageGraphics(BufferedImage)): Updated constant names.
2373 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2374 (updateBufferedImage): Transform to device-space before updating.
2375 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2376 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2378 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2379 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2380 source at designated x, y origin.
2382 2006-11-21 Roman Kennke <kennke@aicas.com>
2384 * java/awt/text/TextLayout.java
2385 (Run): New inner helper class.
2386 (length): New field.
2387 (naturalBounds): New field.
2388 (offset): New field.
2389 (runIndices): Removed. This is now encapsulate in a Run object.
2390 (runs): Changed to Run[].
2391 (string): Changed to char[].
2392 (totalAdvance): New field. Caches advance value.
2393 (TextLayout(String,Font,FontRenderContext)): Change to store
2394 string as char[] and run layout as Run[]. Clean out empty
2396 (TextLayout(TextLayout,int,int)): Change to store
2397 string as char[] and run layout as Run[].
2398 (clone): Call private constructor for maximum efficiency.
2399 (determineWhitespace): Adapted to use char[] data.
2400 (draw): Adapted to use Run objects.
2401 (getAdvance): Cache computed total advance.
2402 (getBlackBoxBounds): Adapted to use Run objects.
2403 (getCaretInfo): Use natural layout bounds.
2404 (getCharacterCount): Return length field.
2405 (getLogicalHighlightShape): Adapted to use Run objects.
2406 (getNaturalBounds): New helper method. Calculates and returns the
2407 natural bounds of this text layout.
2408 (getOutline): Adapted to use Run objects.
2409 (getStringProperties): Adapted to use char[] data.
2410 (getVisibleAdvance): Adapted to use char[] and Run data.
2411 (handleJustify): Adapted to use char[] and Run data.
2412 (hitTestChar(float,float,Rectangle2D)): Implemented.
2413 (hitTestChar(float,float)): Use natural bounds.
2414 (setCharIndices): Adapted to use char[] and Run data.
2415 (toString): Adapted to use char[] and Run data.
2416 * java/text/Bidi.java
2417 (requiresBidi): Exclude paragraph separators from bidi-triggers.
2419 2006-11-21 Roman Kennke <kennke@aicas.com>
2421 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2422 Removed. This is now an inner class in GdkFontPeer.
2423 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2424 (drawString(float,float)): Use text layout cache from
2426 (getFontMetrics): Delegate to GdkFontPeer.
2427 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2428 (getGlyphCodes): Also check array size.
2429 (getGlyphPositions): Also check array size.
2430 * gnu/java/awt/peer/gtk/GdkFontPeer.java
2431 (GdkFontLineMetrics.fm): Removed.
2432 (GdkFontLineMetrics.strikeThroughOffset): Removed.
2433 (GdkFontLineMetrics.strikeThroughThickness): Removed.
2434 (GdkFontLineMetrics.underlineOffset): Removed.
2435 (GdkFontLineMetrics.underlineThickness): Removed.
2436 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2437 FontMetrics argument. Don't init removed fields.
2438 (GdkFontLineMetrics.getAscent): Return font peer's field.
2439 (GdkFontLineMetrics.getDescent): Return font peer's field.
2440 (GdkFontLineMetrics.getHeight): Return font peer's field.
2441 (GdkFontLineMetrics.getLeading): Return font peer's field.
2442 (GdkFontLineMetrics.getNumChars): Reformat.
2443 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2444 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2445 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2446 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2447 (GdkFontMetrics): Moved class in here as inner class.
2448 Make it use the font peer's fields and for the char(s) width
2449 and string width method, use TextLayout to measure the actual widths.
2450 (ascent): New field.
2452 (DEFAULT_CTX): New constant field.
2453 (descent): New field.
2454 (FONT_METRICS_ASCENT): New constant.
2455 (FONT_METRICS_DESCENT): New constant.
2456 (FONT_METRICS_HEIGHT): New constant.
2457 (FONT_METRICS_MAX_ADVANCE): New constant.
2458 (FONT_METRICS_MAX_ASCENT): New constant.
2459 (FONT_METRICS_MAX_DESCENT): New constant.
2460 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2461 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2462 (height): New field.
2463 (maxAdvance): New field.
2464 (maxAscent): New field.
2465 (maxDescent): New field.
2466 (metrics): New field. Stores a FontMetrics for this font.
2467 (textLayoutCache): New field. Caches TextLayout instances.
2468 (underlineOffset): New field.
2469 (underlineThickness): New field.
2470 (cinit): Don't initialize resource bundle.
2471 (GdkFontPeer): Setup the metrics.
2472 (getFontMetrics): Return stored metrics if possible.
2473 (getLineMetrics): Adapt to new constructor.
2474 (initFont): New helper method.
2475 (setupMetrics): New helper method.
2476 * gnu/java/awt/peer/gtk/GtkToolkit.java
2477 (LRUCache): Made class a static class.
2478 (getFontMetrics): Delegate to GdkFontPeer.
2479 * native/jni/gtk-peer/gdkfont.h
2480 Added new constant defines.
2481 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2482 (getFontMetrics): Rewritten to fetch the font metrics from
2485 2006-11-20 Tania Bento <tbento@redhat.com>
2487 * javax/swing/ButtonGroup.java:
2488 (setSelected): Select the ButtonModel if all conditions
2491 2006-11-20 Tania Bento <tbento@redhat.com>
2493 * javax/swing/JSlider.java:
2494 (updateLabelUIs): Removed casting.
2496 2006-11-20 Mark Wielaard <mark@klomp.org>
2498 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2499 (bundle): New static final String field.
2500 (getLocalizedMessage): Initialize messages when still null.
2501 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2502 (set): Use RE.getLocalizedMessage().
2504 (setLineSeparator): Likewise.
2506 2006-11-20 Roman Kennke <kennke@aicas.com>
2508 * javax/swing/text/html/StyleSheet.java
2509 (linked): New field.
2510 (styleSheet): Replaced by linked.
2511 (addStyleSheet): Use an arraylist for simplicity.
2512 (getRule): Removed useless instantiation.
2513 (getStyleSheets): Convert array list to array.
2514 (removeStyleSheet): Use an arraylist for simplicity.
2515 (resolveStyle): Include styles from linked lists.
2517 2006-11-20 Roman Kennke <kennke@aicas.com>
2519 * javax/swing/text/BoxView.java
2520 (BoxView): Initialize with invalid req's.
2521 (forwardUpdate): Trigger repaint when children changed the
2523 (getResizeWeight): Return resizable when the pref differs from
2524 the min or the pref differs from the max size.
2525 (layoutMajorAxis): Actually sum up the preferred sizes.
2526 (paint): Made binary search more robust.
2527 (replace): Let arrays shrink when needed.
2528 (replaceLayoutArray): Let arrays shrink when needed.
2529 (setAxis): Trigger preferenceChanged.
2530 * javax/swing/text/CompositeView.java
2531 (getInsideAllocation): Call insets method to take account
2532 of overriding subclasses.
2533 * javax/swing/text/DefaultStyledDocument.java
2534 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2535 (ElementBuffer.insertUpdate): Only remove the found element, not
2537 * javax/swing/text/GlyphView.java
2538 (insertUpdate): Pass null in preferenceChanged.
2539 (removeUpdate): Pass null in preferenceChanged.
2540 (changedUpdate): Pass null in preferenceChanged.
2541 * javax/swing/text/Utilities.java
2542 (drawTabbedText): Avoid single calls to charWidth() and instead
2543 call charsWidth() on whole chunks.
2544 * javax/swing/text/html/HTMLDocument.java
2545 (BlockElement.getName): Fall back to super when necessary.
2546 (RunElement.getName): Fall back to super when necessary.
2547 (HTMLReader.MAX_THRESHOLD): New constant field.
2548 (HTMLReader.GROW_THRESHOLD): New constant field.
2549 (HTMLReader.theshold): New field.
2550 (HTMLReader.HTMLReader): Fetch threshold from document.
2551 (HTMLReader.addContent): Sucessivly grow the threshold.
2552 (createLeafElement): Don't create two elemens and don't set
2554 * javax/swing/text/html/TableView.java
2555 (RowView.replace): Invalidate grid.
2556 (gridValid): Made package private.
2557 (layoutMinorAxis): Mark all rows as invalid.
2558 (replace): Invalidate grid.
2560 2006-11-20 Roman Kennke <kennke@aicas.com>
2562 * javax/swing/text/AbstractDocument.java
2563 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2564 (DefaultDocumentEvent.modified): Made private.
2565 (DefaultDocumentEvent.THRESHOLD): New constant field.
2566 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2568 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2569 exceeding threshold.
2570 (DefaultDocumentEvent.getChange): Use iterative approach
2571 when we have no hashmap yet.
2572 (documentCV): Removed.
2573 (numWriters): Renamed from numWritersWaiting.
2574 (createPosition): Reformat.
2575 (getCurrentWriter): Synchronized.
2576 (readLock): Implement more straightforward.
2577 (readUnlock): Implement more straightforward.
2578 (writeLock): Implement more straightforward.
2579 (writeUnlock): Implement more straightforward.
2580 (remove): Write-lock here.
2581 (removeImpl): Don't write-lock here.
2583 2006-11-20 Roman Kennke <kennke@aicas.com>
2585 * javax/swing/JEditorPane.java
2586 (setPage): Set priority on loading thread.
2588 2006-11-20 Roman Kennke <kennke@aicas.com>
2590 * javax/swing/plaf/basic/BasicTextUI.java
2591 (RootView.paint): Avoid allocation.
2592 (cachedInsets): New field. Caches an Insets instance.
2593 (getNextVisualPositionFrom): Read-lock the document to avoid
2594 thread nastiness. Push allocation.
2595 (getPreferredSize): Push fake allocation when not yet laid out.
2596 (getVisibleEditorRect): Use cached insets.
2597 (viewToModel): Read-lock the document to avoid
2598 thread nastiness. Push allocation.
2600 2006-11-20 Roman Kennke <kennke@aicas.com>
2602 * javax/swing/text/StyleContext.java
2603 (attributeSetPool): Synchronize this map.
2604 (addAttribute): Synchronize this method.
2605 (addAttributes: Synchronize this method.
2606 (readObject): Install synchronized map on target object.
2607 (removeAttribute): Synchronize this method.
2608 (removeAttributes): Synchronize this method.
2609 (removeAttributes): Synchronize this method.
2611 2006-11-20 Roman Kennke <kennke@aicas.com>
2613 * javax/swing/text/GapContent.java
2614 (GapContentPosition.GapContentPosition): Removed constructor.
2615 (Mark): Made subclass of WeakReference to refer directly to
2616 the associated position.
2617 (Mark.refCount): Removed.
2618 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2619 New constructor. Used to reference a position and register the
2621 (Mark.Mark(index)): Call super and don't adjust mark offset.
2622 (Mark.compareTo): Removed.
2623 (Mark.equals): Removed.
2624 (Mark.getOffset): Return at least null. Removed assert.
2625 (Mark.getPosition): New helper method.
2626 (garbageMarks): New field.
2627 (positions): Removed.
2628 (searchMark): New field.
2629 (GapContent): Removed init of positions map.
2630 (addImpl): New helper method.
2631 (adjustPositionsInRange): Removed.
2632 (compare): New helper method.
2633 (createPosition): Rewritten for new datastructures. This now
2634 performs a much more efficient binary search for finding
2635 a position at the requested offste.
2636 (garbageCollect): Rewritten to collect unused marks.
2637 (getPositionsInRange): Adjusted for new data structures.
2638 (removeImpl): New helper method.
2639 (replace): Use new addImpl() and removeImpl() helper method for
2640 correctly adjusting the positions and gap.
2641 (search): Rewritten. Implements a more suitable binary search.
2642 (searchFirst): New helper method.
2643 (setPositionsInRange): Removed.
2644 (shiftEnd): Update the marks here.
2645 (shiftGap): Update the marks here.
2646 (shiftGapEndUp): Update the marks here.
2647 (shiftGapStartDown): Update the marks here.
2649 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2651 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2652 digest algorithm implementations.
2653 (readSignatures): Parse the manifest once and reuse that data.
2654 Add support for line breaks.
2655 (verifyHashes): Use the parsed manifest entry.
2656 (readManifestEntry): Removed.
2658 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2660 * java/beans/beancontext/BeanContextServicesSupport.java:
2661 Added more documentation.
2662 (addService(Class,BeanContextServiceProvider,boolean)):
2663 Synchronized over global hierarchy lock.
2664 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2665 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2666 (childJustRemovedHook(Object,BCSChild)): Implemented.
2667 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2669 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2670 Added revocation-only listeners.
2671 (getBeanContextServicesPeer()): Implemented.
2672 (getCurrentServiceClasses(Class)): Synchronized over global
2674 (getCurrentServiceSelectors(Class)): Synchronized over global
2675 hierarchy lock, and fixed FIXME.
2676 (getService(BeanContextChild,Object,Class,Object,
2677 BeanContextServiceRevokedListener)): Implemented.
2678 (hasService(Class)): Synchronized over global hierarchy lock.
2679 (releaseService(BeanContextChild,Object,Object)): Implemented.
2680 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2681 * java/beans/beancontext/BeanContextSupport.java:
2682 (remove(Object, boolean)): Documentation correction.
2684 2006-11-19 Roman Kennke <kennke@aicas.com>
2686 * javax/swing/JEditorPane.java
2687 (PageStream): New inner class.
2688 (PageLoader): New inner class.
2689 (loading): New field.
2690 (setPage): Implemented asynchronous loading.
2691 * javax/swing/text/DefaultStyledDocument.java
2692 (ElementBuffer.create): New helper method.
2693 (create): Use new ElementBuffer method instead of hack.
2694 * javax/swing/text/html/HTMLDocument.java
2695 (HTMLReader.flushImpl): New helper method.
2696 (HTMLReader.addContent): Use flushImpl().
2697 (HTMLReader.blockClose): Added null check.
2698 (HTMLReader.flush): Use flushImpl().
2699 * javax/swing/text/html/HTMLEditorKit.java
2700 (createDefaultDocument): Set load priority to 4 and token threshold
2702 * javax/swing/text/html/TableView.java
2703 (insertUpdate): Overridden to provide correct view factory.
2704 (removeUpdate): Overridden to provide correct view factory.
2705 (changedUpdate): Overridden to provide correct view factory.
2707 2006-11-19 Roman Kennke <kennke@aicas.com>
2709 * javax/swing/text/BoxView.java
2710 (clipRect): New field.
2711 (tmpRect): New field.
2712 (layout): Reorganized code. Now uses layoutAxis() helper method.
2713 (layoutAxis): New helper method.
2714 (paint): Optimized by using cached Rectangle objects and
2715 a binary search for child views inside the clip.
2716 * javax/swing/text/CompositeView.java
2717 (insideAllocation): Made private and initialized in constructor.
2718 (getInsideAllocation): Removed initialization block for
2719 insideAllocation field. Avoid unnecessary allocations.
2720 * javax/swing/text/GlyphView.java
2721 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2722 The remaining stuff (background, underline and striking) is
2723 done in the GlpyhView itself. Avoid unnecessary allocations.
2724 (cached): A cached Segment instance.
2725 (getText): Return cached segment.
2726 (paint): Paint underline, strike and background here. Avoid
2729 2006-11-19 Roman Kennke <kennke@aicas.com>
2731 * javax/swing/text/html/StyleSheet.java
2732 (getFontSize): Removed debug output.
2733 (ListPainter.tmpRect): New field.
2734 (ListPainter.paint): Align bullet vertically centered to
2735 the first line of the paragraph.
2737 2006-11-17 Roman Kennke <kennke@aicas.com>
2739 * gnu/javax/swing/text/html/css/CSSParser.java
2740 (parseDeclaration): Trim string before reporting.
2741 * gnu/javax/swing/text/html/css/FontSize.java
2743 (isRelative): New field.
2744 (sizeIndex): New field.
2745 (FontSize): Initialize new fields.
2746 (getValue): Changed to call getValue(int).
2747 (getValue(int)): New method. Implements relative font sizes.
2748 (isRelative): New method.
2749 (mapAbsolute): Store index.
2750 (mapEM): New helper method.
2751 (mapLarger): New helper method.
2752 (mapPercent): New helper method.
2753 (mapRelative): New helper method.
2754 (mapSmaller): New helper method.
2755 (mapValue): New helper method.
2756 * javax/swing/text/html/CSS.java
2757 (parseBackgroundShorthand): Create CSSColor directly.
2758 * javax/swing/text/html/StyleSheet.java
2759 (addRule): Invalidate resolved styles.
2760 (getFont): Call new getFontSize() method to resolve relative
2762 (getFontSize): New helper method. Resolves relative font sizes.
2763 (translateHTMLToCSS): Create CSS objects directly.
2765 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2767 * gnu/java/util/regex/RETokenNamedProperty.java:
2768 (getHandler(String)): Add support for 'all'.
2770 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2772 * gnu/javax/management/Server.java:
2773 Initial implementation of a GNU management server.
2774 * javax/management/MBeanPermission.java,
2775 * javax/management/MBeanRegistration.java,
2776 * javax/management/MBeanTrustPermission.java:
2779 2006-11-17 Mark Wielaard <mark@klomp.org>
2781 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2783 2006-11-17 Gary Benson <gbenson@redhat.com>
2785 * java/net/DatagramSocket.java (getLocalAddress, connect,
2786 receive): Perform security check on address not hostname.
2788 2006-11-16 Roman Kennke <kennke@aicas.com>
2790 * gnu/javax/swing/text/html/parser/support/Parser.java
2791 (_handleText): Fixed condition for consuming whitespace.
2792 Removed validator check, this is superfluous now.
2794 2006-11-16 Roman Kennke <kennke@aicas.com>
2796 * gnu/javax/swing/text/html/css/CSSParser.java
2797 (parseRuleset): Support 'combined' selectors.
2798 (main): Adapt callback for combined selectors support.
2799 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2800 (startStatement): Take selector array as argument, to
2801 support combined selectors.
2802 * javax/swing/text/html/BlockView.java
2803 (calculateMinorAxisRequirements): Fetch and apply alignment.
2804 * javax/swing/text/html/StyleSheet.java
2805 (CSSStyle): Inverted the constants for correct precedence.
2806 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2808 (CSSStyleSheetParserCallback.style): Removed.
2809 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2810 (CSSStyleSheetParserCallback.end): Push multiple styles.
2811 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2813 2006-11-16 Roman Kennke <kennke@aicas.com>
2815 * javax/swing/text/FlowView.java
2816 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2817 * javax/swing/text/GlyphView.java
2818 (tabExpander): New field.
2820 (breakView): Set tabX on broken view.
2821 (getPartialSpan): Let the painter fetch the span.
2822 (getTabbedSpan): Update the tab expander field. Maybe trigger
2824 (getTabExpander): Simply return the stored expander.
2825 * javax/swing/text/Utilities.java
2826 (getTabbedTextOffset): Made algoritm a little smarter and more
2828 (getTabbedTextWidth): Don't add single char widths, instead add
2829 chunks of characters.
2830 * javax/swing/text/html/ParagraphView.java
2831 (calculateMinorAxisRequirements): Adjust margin only when the
2832 CSS span is not fixed.
2834 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2836 * java/beans/beancontext/BeanContextSupport.java
2837 (getChildBeanContextMembershipListener): Implemented,
2838 (getChildPropertyChangeListener): Implemented,
2839 (getChildSerializable): Implemented,
2840 (getChildVetoableChangeListener): Implemented,
2841 (getChildVisibility): Implemented,
2842 (setDesignTime): Use same property name as Sun's implementation.
2844 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2846 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2847 * java/beans/Statement.java
2848 (toString): Updated to match reference implementation.
2850 2006-11-15 Roman Kennke <kennke@aicas.com>
2852 * javax/swing/text/html/HTMLEditorKit.java
2853 (InsertHTMLTextAction.actionPerformed): Also try inserting
2854 the alternate tag. Adjust the selection accordingly.
2855 (InsertHTMLTextAction.adjustSelection): New helper method.
2856 Adjusts the selection after an insertion.
2857 (insertAtBoundary): Delegate to deprecated method.
2858 (insertAtBoundry): Implemented missing method.
2859 (tryInsert): New helper method.
2860 (defaultActions): Implemented to fill the array with
2861 a couple of InsertHTMLTextActions.
2863 2006-11-15 Roman Kennke <kennke@aicas.com>
2865 * javax/swing/text/html/ImageView.java
2866 (Observer): New class. Observes image loading.
2867 (haveHeight): New field.
2868 (haveWidth): New field.
2869 (height): New field.
2872 (imageIcon): New field.
2873 (loading): New field.
2874 (observer): New field.
2875 (reloadImage): New field.
2876 (reloadProperties): New field.
2877 (ImageView): Initialize observer and some flags.
2878 (getImage): Update the image state and return the image.
2879 (loadImage): New helper method. Actually starts loading.
2880 (paint): Rewritten to paint the image directly, not via Icon.
2881 (reloadImage): Rewritten. Loads the image and its properties.
2882 (renderIcon): Removed. No more necessary.
2883 (setPropertiesFromAttributes): Don't nullify image here.
2884 Added comment about missing impl.
2885 (setSize): Added comment about missing impl.
2886 (updateSize): New helper method. Updates the size attributes.
2887 (updateState): New helper method. Makes sure the image
2888 and its properties are valid.
2890 2006-11-15 Roman Kennke <kennke@aicas.com>
2892 * gnu/javax/swing/text/html/parser/support/Parser.java
2893 (_handleEndTag_remaining): Consume whitespace after a closing
2896 2006-11-15 Roman Kennke <kennke@aicas.com>
2898 * javax/swing/text/html/HTMLDocument.java
2899 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2901 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2903 (HTMLReader.parseStack): Removed.
2904 (HTMLReader.blockClose): Simply call addContent() with ' '
2905 instead of doing more complicated stuff. Removed parseStack
2907 (HTMLReader.blockOpen): Removed parseStack handling.
2908 (getInsertingReader): Removed parseStack init.
2909 * gnu/javax/swing/text/html/parser/htmlValidator.java
2910 (closeTag): Return true only when the tag actually should be
2912 * gnu/javax/swing/text/html/parser/support/Parser.java
2913 (_handleEndTag): Only actually close the tag when the validator
2916 2006-11-15 Roman Kennke <kennke@aicas.com>
2918 * javax/swing/text/html/CSS.java
2919 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2921 * javax/swing/text/html/StyleSheet.java
2922 (BoxPainter.bottomPadding): New field.
2923 (BoxPainter.leftPadding): New field.
2924 (BoxPainter.rightPadding): New field.
2925 (BoxPainter.topPadding): New field.
2926 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2928 (BoxPainter.getInset): Recognize and include the padding.
2929 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2930 javax/swing/text/html/TableView.java
2931 (RowView.calculateMajorAxisRequirements): Adjust req's for
2933 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2934 (cellSpacing): New field.
2935 (columnRequirements): Made package private to avoid accessor method.
2936 (calculateMinorAxisRequirements): Include cellSpacing.
2937 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2938 (layoutMajorAxis): Likewise.
2939 (layoutColumns): Respect cellSpacing.
2940 (setParent): Overridden to fetch the CSS attributes when view gets
2942 (setPropertiesFromAttributes): New method. Fetches the cell
2943 spacing from the CSS attributes.
2945 2006-11-15 Roman Kennke <kennke@aicas.com>
2947 * gnu/javax/swing/text/html/parser/support/Parser.java
2948 (_handleText): Consume whitespace directly before a closing tag.
2949 (restOfTag): Consume whitespace directly after opening.
2950 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2951 (preprocess): Don't perform array boundary checking by
2952 catch AIOOBE, instead check the boundary in loop condition.
2953 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2954 (TAG_CLOSE): New constants. Describes the token pattern for
2957 2006-11-14 Roman Kennke <kennke@aicas.com>
2959 * javax/swing/text/html/ImageView.java
2960 (getPreferredSpan): Use CSS length values.
2961 * javax/swing/text/html/TableView.java
2962 (CellView.calculateMajorAxisRequirements): Overridden to
2963 set the maximum reqs to maximum.
2964 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2966 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2967 the total column reqs.
2968 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2969 the total column reqs.
2970 * gnu/javax/swing/text/html/css/CSSColor.java
2971 (convertValue): Catch NumberFormatExceptions for more robustness.
2972 * gnu/javax/swing/text/html/css/FontSize.java
2973 (mapPixels): Actually map px values. Catch NFE for more robustness.
2975 2006-11-14 Roman Kennke <kennke@aicas.com>
2977 * gnu/java/awt/font/autofit/AxisHints.java,
2978 * gnu/java/awt/font/autofit/Constants.java,
2979 * gnu/java/awt/font/autofit/GlyphHints.java,
2980 * nu/java/awt/font/autofit/Latin.java,
2981 * nu/java/awt/font/autofit/LatinAxis.java,
2982 * gnu/java/awt/font/autofit/LatinMetrics.java,
2983 * gnu/java/awt/font/autofit/Scaler.java,
2984 * gnu/java/awt/font/autofit/Script.java,
2985 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2986 * gnu/java/awt/font/autofit/Segment.java,
2987 * gnu/java/awt/font/autofit/Width.java:
2988 New classes. This is some skeleton stuff for the FreeType-alike
2990 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2991 * gnu/java/awt/font/opentype/OpenTypeFont.java
2992 (unitsPerEm): Made field public.
2993 (getRawGlyphOutline): New method. Fetches the raw outline.
2994 * gnu/java/awt/font/opentype/Scaler.java
2995 (getRawGlyphOutline): New method. Fetches the raw outline.
2996 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2997 (loadGlyph): New method. This is used to load raw outlines.
2998 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2999 (getRawOutline): New method. Fetches the raw outline.
3000 * gnu/java/awt/font/opentype/truetype/Zone.java:
3003 2006-11-14 Roman Kennke <kennke@aicas.com>
3005 * javax/swing/RepaintManager.java
3006 (RepaintManager): Fetch the default state for the double buffering
3007 from a system property gnu.swing.doublebuffering.
3009 2006-11-14 Roman Kennke <kennke@aicas.com>
3011 * javax/swing/plaf/basic/BasicLabelUI.java
3012 (cachedInsets): New field.
3013 (getFontMetrics): New helper method. Fetches the font metrics
3014 from the component or the toolkit.
3015 (getPreferredSize): Use getFontMetrics() helper method for
3016 fetching the font metrics.
3017 (paint): Use getFontMetrics() helper method for
3018 fetching the font metrics. Only paint if icon or text
3019 are != null. Use cached insets.
3020 (paintDisabledText): Don't store/restore color object. The
3021 JComponent painting mechanism takes care of this by calling
3023 (paintEnabledText): Don't store/restore color object. The
3024 JComponent painting mechanism takes care of this by calling
3027 2006-11-14 Roman Kennke <kennke@aicas.com>
3029 * gnu/java/awt/peer/GLightweightPeer.java
3030 (handleEvent): Try to do something reasonable and trigger painting
3031 for the lightweight component.
3032 (getFontMetrics): Fetch and return a font metrics object from
3035 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
3037 * gnu/java/util/regex/RETokenNamedProperty.java:
3038 (getHandler(String)): Add support for 'all'.
3040 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
3042 * AUTHORS: Add myself.
3044 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3046 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
3047 Dalibor Topic. Re-order 'K' section. Remove trailing space from
3048 Roman Kennke's entry.
3050 2006-11-13 Roman Kennke <kennke@aicas.com>
3052 * java/awt/image/IndexColorModel.java
3053 (createCompatibleSampleModel): Implemented missing method.
3055 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
3057 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3058 from big endian systems correctly.
3060 2006-11-11 Roman Kennke <kennke@aicas.com>
3062 * gnu/javax/swing/text/html/css/CSSColor.java
3063 (isValidColor): New helper method. Checks strings if they
3064 form a valid color value.
3065 * gnu/javax/swing/text/html/css/Length.java
3066 (Length): Catch number format exceptions.
3067 * javax/swing/text/html/CSS.java
3068 (addInternal): New method. Checks for shorthand CSS attributes
3070 (parseBackgroundShorthand): New method. Parses the background
3071 shorthand attribute.
3072 * javax/swing/text/html/HTMLDocument.java
3073 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3074 (HTMLReader.LinkAction.start): Implemented to load the linked
3076 (HTMLReader.LinkAction.end): Removed. This is not needed.
3077 * javax/swing/text/html/StyleSheet.java
3078 (CSSStyleSheetParserCallback.declaration): Push declaration
3079 through CSS.addInternal() to parse shorthand attributes.
3080 (addCSSAttribute): Push declaration through CSS.addInternal()
3081 to parse shorthand attributes.
3082 (importStyleSheet): Implemented. This adds a stylesheet from
3084 * javax/swing/text/html/TableView.java
3085 (calculateColumnRequirements): Increase column index for
3086 non CellView children to avoid endless loop.
3087 * javax/swing/text/CompositeView.java
3088 (setParent): Comparen with numChildren not with real arraylength.
3090 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
3092 * java/beans/beancontext/BeanContextSupport.java
3093 (getChildBeanContextChild): Implemented.
3095 2006-11-10 Roman Kennke <kennke@aicas.com>
3097 * javax/swing/text/View.java
3098 (updateLayout): Only repaint when needed.
3100 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
3102 * java/util/Collections.java
3103 (sort(List)): Minor API doc addition,
3104 (sort(List, Comparator)): Likewise.
3106 2006-11-10 David Fu <fchoong@netbeans.jp>
3108 * javax/swing/text/html/HTMLWriter.java
3109 (traverse): Removed Classpath specific handling of implied
3111 (traverseHtmlFragment): Removed Classpath specific handling of
3114 2006-11-10 Roman Kennke <kennke@aicas.com>
3116 * javax/swing/text/ParagraphView.java
3117 (Row.getMaximumSize): Removed. This method is not necessary.
3118 * javax/swing/text/html/TableView.java
3119 (CellView): Moved attribute init to setPropertiesFromAttributes().
3120 (setPropertiesFromAttributes): Fetch attributes here.
3121 (RowView.RowView): Documented.
3122 (RowView.getMaximumSpan): Overridden to restrict the max span
3124 (RowView.layoutMajorAxis): Correctly layout the spans.
3125 (columnWidths): New field. Stores the width attributes of
3127 (calculateColumnRequirements): Added support for relative
3128 (== percent) width attributes.
3129 (calculateMajorAxisRequirements): Removed.
3130 (calculateMinorAxisRequirements): Removed unnecessary code.
3131 (getMaximumSpan): Overridden to restrict the table's width.
3132 (layoutColumns): Documented. Implement more clever table layout,
3133 i.e. for relative columns etc.
3134 (layoutMinorAxis): Don't mark rows invalid.
3135 (updateGrid): Added docs. Initialize column widths.
3137 2006-11-09 Roman Kennke <kennke@aicas.com>
3139 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3140 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3141 Implement basic headless toolkit.
3142 * java/awt/Toolkit.java
3143 (getDefaultToolkit): Check headless property and create
3144 headless toolkit when true.
3146 2006-11-09 Ingo Proetel <proetel@aicas.com>
3147 2006-11-09 Roman Kennke <kennke@aicas.com>
3149 * gnu/java/awt/peer/swing/SwingButtonPeer.java
3150 (SwingButton.button): New field.
3151 (SwingButton.SwingButton): Added constructor.
3152 (SwingButton.isShowing): Access button field instead of
3153 the surrounding class.
3154 (SwingButton.getParent): Access button field instead of
3155 the surrounding class.
3156 (SwingButtonPeer): Call new SwingButton constructor.
3157 * gnu/java/awt/peer/swing/SwingComponent.java:
3158 Several documentation updates.
3159 * gnu/java/awt/peer/swing/SwingComponentPeer.java
3160 (currentPaintEvents): New field.
3161 (peerFont): New field.
3162 (SwingComponentPeer): Initialize currentPaintEvents fields.
3163 (coalescePaintEvents): Implemented.
3164 (dispose): Unregister peer from heavyweight list of its container.
3165 (getGraphics): Fetch graphics from parent component.
3166 (handleEvent): Discard paint event if its coalesced.
3167 (init): Register component with its container for proper painting.
3168 (paint): Call peerPaint().
3169 (peerPaint): Added argument that indicates if we should update.
3170 Call paint or update on the actual AWT component.
3171 (peerPaintComponent): New method. Paints the peer (Swing) component.
3172 (setFont): Set peerFont field.
3173 * gnu/java/awt/peer/swing/SwingContainerPeer.java
3174 (backbuffer): New field.
3175 (focusOwner): New field.
3176 (heavyweightDescendents): New field.
3177 (SwingContainerPeer): Take Container as argument. Don't call init
3179 (addHeavyweightDescendent): New method.
3180 (getFocusOwner): New helper method.
3181 (getInsets): Delegate to insets().
3182 (handleKeyEvent): Dispatch event to focus owner.
3183 (handleMouseEvent): Dispatch to child component.
3184 (isDoubleBuffering): New helper method.
3185 (peerPaint): Overridden to implement container painting with
3187 (peerPaintChildren): New method. Paints the descendents of this
3189 (removeHeavyweightDescendent): New helper method.
3190 * gnu/java/awt/peer/swing/SwingFramePeer.java
3191 (peerPaint): Removed.
3192 (peerPaintComponent): Overridden to paint the menu bar.
3193 * gnu/java/awt/peer/swing/SwingLabelPeer.java
3194 (SwingLabel.label): New field.
3195 (SwingLabel.SwingLabel): Added constructor with Label argument.
3196 (SwingLabel.getGraphics): Implemented to fetch the graphics from
3197 the actual AWT component.
3198 (SwingLabel.getParent): Implemented to fetch the parent from
3200 (SwingLabel.isShowing): Access the label field.
3201 (SwingLabelPeer): Set alignment from label.
3202 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3203 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3205 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3206 Don't be a lighweight peer.
3207 (SwingPanelPeer): Call init.
3208 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3209 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3210 (SwingTextField.textField): New field.
3211 (SwingTextField.SwingTextField): New constructor.
3212 (SwingTextField.isShowing): Access field not enclosing class.
3213 (SwingTextField.getGraphics): New method.
3214 (SwingTextField.getParent): New method.
3215 (SwingTextFieldPeer): Call new constructor.
3216 (select): Renamed arguments.
3217 * gnu/java/awt/peer/swing/SwingWindowPeer.java
3218 (SwingWindowPeer): Call init.
3220 2006-11-09 Tania Bento <tbento@redhat.com>
3222 * javax/swing/JLabel.java
3223 (JLabel(Icon)): Changed documentation; Changed text to null.
3224 (JLabel(Icon,int)): Likewise.
3225 (JLabel(text)): Changed documenation.
3226 (JLabel(text,int)): Likewise.
3227 (JLabel(text,Icon,int)): Changed documentation; Throw
3228 IllegalArgumentException if int is not one of LEFT, RIGHT,
3229 CENTER, LEADING or TRAILING.
3231 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3233 * java/beans/beancontext/BeanContextSupport.java
3234 (BeanContextSupport): Use correct dtime default,
3235 (BeanContextSupport(BeanContext)): Likewise,
3236 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3238 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3239 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3241 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3243 * java/beans/beancontext/BeanContextSupport.java
3244 (getBeanContextPeer): Implemented.
3246 2006-11-09 Roman Kennke <kennke@aicas.com>
3248 * javax/swing/text/html/BlockView.java
3249 (cssHeight): Removed.
3250 (cssWidth): Removed.
3251 (cssSpans): New field. Replaces the two fields above.
3252 (BlockView): Allocate cssSpans array.
3253 (layoutMinorAxis): Fetch and use child span, not this view's span.
3254 (setCSSSpan): Adjusted to use cssSpans array.
3255 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3257 2006-11-09 Roman Kennke <kennke@aicas.com>
3259 * javax/swing/text/html/InlineView.java
3260 (nowrap): New field.
3261 (getBreakWeight): Add support for nowrap.
3262 (setPropertiesFromAttributes): Fetch the nowrap setting.
3264 2006-11-09 Roman Kennke <kennke@aicas.com>
3266 * gnu/javax/swing/text/html/css/CSSParser.java
3267 (parseRuleset): Use new Selector class.
3268 (parseValue): Parse multiple anys, not only one.
3269 (main): Allow stylesheet be specified on the command line.
3270 Use new Selector class.
3271 * gnu/javax/swing/text/html/css/CSSParserCallback.java
3272 (startStatement): Use Selector class.
3273 * gnu/javax/swing/text/html/css/CSSScanner.java
3274 (readName): Actually read a character in the loop to avoid
3276 * gnu/javax/swing/text/html/css/Length.java
3277 (getValue): Only multiply when we have a percentage value.
3278 * gnu/javax/swing/text/html/css/Selector.java:
3279 New class. Provides handling of CSS selectors.
3280 * javax/swing/text/html/StyleSheet.java
3281 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3282 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3283 (CSSStyle.PREC_NORM): New constant field.
3284 (CSSStyle.PREC_UA): New constant field.
3285 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3286 (CSSStyle.precedence): New field.
3287 (CSSStyle.priority): Removed.
3288 (CSSStyle.selector): New field.
3289 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3291 (CSSStyle.compareTo): Adjusted to use the precedence and
3292 specificity of the selector.
3293 (CSSStyleSheetParserCallback.precedence): New field.
3294 (CSSStyleSheetParserCallback.selector): Removed.
3295 (CSSStyleSheetParserCallback.style): New field.
3296 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3297 Initialize with precedence.
3298 (CSSStyleSheetParserCallback.declaration): Don't look up
3299 existing rule, simply create new one.
3300 (CSSStyleSheetParserCallback.endStatement): Append style
3302 (CSSStyleSheetParserCallback.startStatement): Use new Selector
3304 (css): Changed to be ArrayList.
3305 (addRule): Create parser with author-normal precendence.
3306 (getRule): Fixed implementation.
3307 (loadRules): Create parser with UA precendence.
3308 (resolveStyle): Use Selector class for resolving and matching
3310 (translateHTMLToCSS): Added mappings for a couple of HTML
3313 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
3316 * java/beans/SimpleBeanInfo.java
3317 (loadImage): Check for nulls.
3319 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3321 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3322 (getpeername): Added 16 byte offset to memcpy operation.
3324 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
3326 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3327 (getsockname): Added 16 byte offset to memcpy operation.
3329 2006-11-08 Mark Wielaard <mark@klomp.org>
3332 * java/io/OutputStreamWriter.java
3333 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3334 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3336 2006-11-08 Roman Kennke <kennke@aicas.com>
3338 * javax/swing/text/html/HTMLEditorKit.java
3339 (getParser): Use plain HTML_401F DTD.
3340 * javax/swing/text/html/HTMLDocument.java
3341 (HTMLReader.print): Removed method and all calls to it.
3342 (HTMLReader.printBuffer): Removed method and all calls to it.
3343 (HTMLReader.inImpliedParagraph): New field.
3344 (HTMLReader.inParagraph): New field.
3345 (HTMLReader.addContent): Create implied p-tag if necessary.
3346 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3347 (HTMLReader.blockClose): Close implied p-tag if necessary.
3348 (HTMLReader.blockOpen): Close implied p-tag if necessary.
3349 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3351 2006-11-08 Roman Kennke <kennke@aicas.com>
3353 * javax/swing/text/html/HTMLEditorKit.java
3354 (HTMLFactory.create): Removed mapping for TD tag. This
3355 is done in TableView.
3356 * javax/swing/text/html/TableView.java:
3357 Implemented from scratch.
3359 2006-11-07 Roman Kennke <kennke@aicas.com>
3361 * gnu/javax/swing/text/html/parser/support/Parser.java
3362 (_handleText): Check if text content is actually allowed before
3363 passing empty text fragments on to the parser callbacks.
3365 2006-11-07 Mark Wielaard <mark@klomp.org>
3367 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3371 2006-11-07 Tania Bento <tbento@redhat.com>
3373 * java/awt/FlowLayout.java
3374 (getSize): If parent does not have a component, then a
3375 different formula is used to calcuate the width.
3377 2006-11-07 Roman Kennke <kennke@aicas.com>
3379 * javax/swing/text/html/HTMLEditorKit.java
3380 (HTMLFactory.create): Include ListView.
3381 * javax/swing/text/html/ListView.java
3382 (paint): Removed comment.
3383 * javax/swing/text/html/StyleSheet.java
3384 (CSSStyle.priority): New field.
3385 (CSSStyle.CSSStyle(int)): New constructor with priority.
3386 (CSSStyle.compareTo): New method. Used for sorting the styles.
3387 (CSSStyleSheetParserCallback.declaration): Store the style
3388 with the complete selector.
3389 (ListPainter.attributes): Renamed as field.
3390 (ListPainter.styleSheet): New field.
3391 (ListPainter.type): New field.
3392 (ListPainter.ListPainter): Pass StyleSheet to constructor.
3393 (ListPainter.paint): Provide simplistic implementation.
3394 (getListPainter): Pass StyleSheet to constructor.
3395 (resolveStyle): Fixed CSS style resolving.
3397 2006-11-07 Roman Kennke <kennke@aicas.com>
3399 * gnu/javax/swing/text/html/css/BorderWidth.java:
3400 New class. Handles CSS border width values.
3401 * gnu/javax/swing/text/html/css/Length.java
3402 (floatValue): Made protected so that BorderWidth can access it.
3403 * javax/swing/text/html/CSS.java
3404 (Attribute.BORDER_BOTTOM_COLOR): New static field.
3405 (Attribute.BORDER_BOTTOM_STYLE): New static field.
3406 (Attribute.BORDER_LEFT_COLOR): New static field.
3407 (Attribute.BORDER_LEFT_STYLE): New static field.
3408 (Attribute.BORDER_RIGHT_COLOR): New static field.
3409 (Attribute.BORDER_RIGHT_STYLE): New static field.
3410 (Attribute.BORDER_TOP_COLOR): New static field.
3411 (Attribute.BORDER_TOP_STYLE): New static field.
3412 (getValue): Added some mappings for the border color and
3413 border width values.
3414 * javax/swing/text/html/CSSBorder.java: New class. Implements
3416 * javax/swing/text/html/StyleSheet.java
3417 (BoxPainter.background): New field.
3418 (BoxPainter.border): New field.
3419 (BoxPainter.bottomInset): Documented.
3420 (BoxPainter.leftInset): Documented.
3421 (BoxPainter.rightInset): Documented.
3422 (BoxPainter.topInset): Documented.
3423 (BoxPainter.BoxPainter): Added support for borders and background.
3424 (BoxPainter.getInset): Add border insets.
3425 (BoxPainter.paint): Implemented. Paints the background and the
3427 (addRule): Be less picky about parse and IO exceptions.
3428 (getBoxPainter): Adjust to new BoxPainter constructor.
3430 2006-11-07 Andreas <a.tobler@schweiz.org>
3432 * examples/Makefile.am: Add rule to install the *.html files we use
3435 2006-11-06 Francis Kung <fkung@redhat.com>
3437 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3438 (fillRect): Handle custom composites.
3439 (drawRenderedImage): Handle custom composites.
3440 (drawImage): Handle custom composites.
3441 (createBuffer): New method.
3442 (drawLine): Handle custom composites.
3443 (drawComposite): New method.
3444 (fill): Handle custom composites.
3445 (getNativeCM): New method.
3446 (drawGlyphVector): Handle custom composites.
3447 (drawRect): Handle custom composites.
3448 (draw): Handle custom composites.
3449 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3450 (drawComposite): Unset composite during draw call, to prevent parent
3451 from handling composite again.
3452 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3453 (getBufferCM): Added comments.
3454 (getNativeCM): Made abstract.
3455 (setComposite): Removed comments.
3457 2006-11-06 Roman Kennke <kennke@aicas.com>
3459 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3460 Fixed initial window size and start document.
3462 2006-11-06 Roman Kennke <kennke@aicas.com>
3464 * javax/swing/text/html/HTMLDocument.java
3465 (HTMLReader.addSpecialElement): Removed comment about
3467 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3468 of htmlAttributeSet.
3469 * javax/swing/text/html/parser/DocumentParser.java
3470 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3471 of htmlAttributeSet.
3472 * javax/swing/text/html/parser/ParserDelegator.java
3473 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3474 of htmlAttributeSet.
3475 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3476 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3477 of htmlAttributeSet.
3478 * gnu/javax/swing/text/html/parser/support/Parser.java
3479 (getAttributes): Return a SimpleAttributeSet.
3480 (restOfTag): Don't set resolving parent here.
3482 2006-11-06 Tania Bento <tbento@redhat.com>
3484 * java/awt/TextComponent.java
3485 (setSelectionStart): Added check.
3487 2006-11-06 Tania Bento <tbento@redhat.com>
3489 * java/awt/TextField.java
3490 (minimumSize(int)): Check if minimum size has been previously
3491 set and changed values of Dimension returned if peer == null.
3492 (preferredSize(int)): Check if preferred size has been previously
3493 set and changed values of Dimension returned if peer == null.
3495 2006-11-06 Roman Kennke <kennke@aicas.com>
3497 * javax/swing/JTree.java
3498 (TreeModelHandler.treeNodesRemoved): Implemented.
3499 (TreeModelHandler.treeStructureChanged): Implemented.
3500 (nodeStates): Made package private.
3502 2006-11-06 Francis Kung <fkung@redhat.com>
3505 * javax/swing/JTree.java
3506 (clearSelectionPathStates): New private method to clean up nodeStates.
3507 (removeSelectionPath): Call clearSelectionPathStates().
3508 (removeSelectionPaths): Call clearSelectionPathStates().
3509 (removeSelectionRow): Call clearSelectionPathStates().
3510 (setSelectionPath): Call clearSelectionPathStates().
3511 (setSelectionPaths): Call clearSelectionPathStates().
3512 (setSelectionRow): Call clearSelectionPathStates().
3514 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3517 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3519 2006-11-06 Roman Kennke <kennke@aicas.com>
3521 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3522 Changed to implement a minimalistic browser.
3523 * examples/gnu/classpath/examples/swing/forms.html,
3524 * examples/gnu/classpath/examples/swing/textstyles.html,
3525 * examples/gnu/classpath/examples/swing/welcome.html:
3526 Some example content.
3528 2006-11-06 Roman Kennke <kennke@aicas.com>
3530 * javax/swing/text/ComponentView.java
3531 (setParent): Lock the document and repaint the hosting
3533 * javax/swing/text/FlowView.java
3534 (FlowStrategy.createView): Removed comment.
3535 (FlowView): Initialize span with Short.MAX_VALUE.
3536 (getFlowStart): Return 0 unconditionally.
3537 (layout): Moved code around to make it more readable.
3538 (loadChildren): Always set the parent.
3539 * javax/swing/text/GlyphView.java
3540 (DefaultGlyphPainter.fontMetrics): New field.
3541 (DefaultGlyphPainter.getAscent): Use new helper method to
3542 synchronize the font metrics.
3543 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3544 to synchronize the font metrics.
3545 (DefaultGlyphPainter.getDescent): Use new helper method to
3546 synchronize the font metrics.
3547 (DefaultGlyphPainter.getHeight): Use new helper method to
3548 synchronize the font metrics.
3549 (DefaultGlyphPainter.getSpan): Use new helper method to
3550 synchronize the font metrics.
3551 (DefaultGlyphPainter.modelToView): Use new helper method to
3552 synchronize the font metrics.
3553 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3554 font metrics caching.
3555 (DefaultGlyphPainter.viewToModel): Use new helper method to
3556 synchronize the font metrics. Fixed view to model mapping.
3557 * javax/swing/text/View.java
3558 (removeAll): Pass null to replace().
3559 (setParent): Only reparent children that have this view as parent.
3561 2006-11-05 Mark Wielaard <mark@klomp.org>
3563 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3564 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3565 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3567 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3569 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3570 Remove gnu_java_nio_channels_FileChannelImpl.c.
3572 2006-11-03 Roman Kennke <kennke@aicas.com>
3574 * javax/swing/text/html/BlockView.java
3575 (attributes): New field.
3576 (cssHeight): New field.
3577 (cssWidth): New field.
3578 (painter): New field.
3579 (calculateMajorAxisRequirements): Overridden to account for
3581 (calculateMinorAxisRequirements): Overridden to account for
3583 (layoutMinorAxis): Overridden to account for CSS settings.
3584 (changedUpdate): Formatting fixlet.
3585 (constrainSize): New helper method.
3586 (getAlignment): Fix alignment.
3587 (getAttributes): Cache attributes for better performance.
3588 (getStyleSheet): Fetch stylesheet from document rather than creating
3590 (paint): Remove comment.
3591 (setCSSSpan): New helper method.
3592 (setPropertiesFromAttributes): Implemented to fetch the
3593 recognized properties.
3594 * javax/swing/text/html/CSS.java
3595 (getValue): Added mapping for width and height attributes.
3596 * javax/swing/text/html/InlineView.java
3597 (longestWord): New field.
3598 (getLongestWord): New helper method.
3599 (calculateLongestWord): New helper method.
3600 (getMinimumSpan): Overridden to constrain the minimum span by the
3602 * javax/swing/text/html/ParagraphView.java
3603 (cssHeight): New field.
3604 (cssWidth): New field.
3605 (calculateMinorAxisRequirements): Overridden to account for
3607 (setCSSSpan): New helper method.
3608 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3610 * gnu/javax/swing/text/html/css/Length.java
3611 (percentage): New field.
3612 (Length): Determine percentage values.
3613 (getValue(float)): New method for handling percentage values.
3614 (isPercentage): New method.
3616 2006-11-03 Tania Bento <tbento@redhat.com>
3618 * java/awt/TextArea.java
3619 (getMinimumSize): Changed documentation.
3620 (getPreferredSize): Changed documentation.
3621 (getMinimumSize(int,int)): Changed documenation.
3622 (getPreferredSize(int,int)): Changed documenation.
3623 (minimumSize): Changed documentation.
3624 (preferredSize): Changed documenation.
3625 (minimumSize(int,int)): Changed documentation. Checked if
3626 minimum size had been previously set and changed values of
3627 Dimension returned if peer == null.
3628 (preferredSize(int, int)): Checked if preferred size had been
3629 previously set and changed values of Dimension returned if
3632 2006-11-03 Tania Bento <tbento@redhat.com>
3634 * java/awt/event/ComponentEvent.java
3635 (paramString): Changed format of string representation returned.
3637 2006-11-03 Roman Kennke <kennke@aicas.com>
3639 * javax/swing/text/html/HTMLDocument.java
3640 (HTMLReader.FormAction.start): Added support for textarea.
3641 (HTMLReader.FormAction.end): Added support for textarea.
3642 (HTMLReader.HeadAction.end): Call super to actually close the
3644 (HTMLReader.inTextArea): New field.
3645 (HTMLReader.textAreaDocument): New field.
3646 (HTMLReader.handleText): Call textAreaContent when inside
3648 (HTMLReader.textAreaContent): Implemented to initialize
3649 the text area's model.
3650 * javax/swing/text/html/FormView.java
3651 (createComponent): Added support for textarea tag.
3653 2006-11-03 Roman Kennke <kennke@aicas.com>
3655 * javax/swing/text/html/HTMLDocument.java
3656 (HTMLReader.IsindexAction.start): Implemented.
3658 2006-11-03 Roman Kennke <kennke@aicas.com>
3660 * javax/swing/text/html/StyleSheet.java
3661 (addRule): Implemented.
3662 * javax/swing/text/html/HTMLDocument.java
3663 (HTMLReader.inStyleTag): New field.
3664 (HTMLReader.styles): New field.
3665 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3667 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3668 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3669 (HTMLReader.handleText): When inside a style tag, add
3670 content to the styles array.
3672 2006-11-02 Roman Kennke <kennke@aicas.com>
3674 * javax/swing/text/html/FormView.java
3675 (maxIsPreferred): New field.
3676 (createComponent): Initialize components correctly.
3677 (getMaximumSpan): Return the preferred span for components
3678 that need this. The maxIsPreferred flag is set accordingly
3680 * javax/swing/text/html/HTMLDocument.java
3681 (HTMLReader.FormAction.start): Implemented to set the
3682 correct model as attribute.
3683 (HTMLReader.FormAction.setModel): New helper method.
3684 (HTMLReader.FormAction.end): Call super to finish the element.
3685 Added TODO about things left to do.
3686 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3687 than htmlAttributeSet.
3688 * javax/swing/text/html/HTMLEditorKit.java
3689 (HTMLFactory.create): Create BlockView for FORM tags.
3690 Create FormView for INPUT, TEXTAREA and SELECT tags.
3692 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3694 * java/awt/geom/GeneralPath.java: API doc fixes.
3696 2006-11-02 Roman Kennke <kennke@aicas.com>
3698 * javax/swing/text/html/ImageView.java
3699 (getImageURL): Fetch attribute from element. Consider the
3700 base URL for relative image locations.
3702 2006-11-02 Roman Kennke <kennke@aicas.com>
3704 * javax/swing/JEditorPane.java
3705 (setContentType): Strip off attributes.
3706 * javax/swing/text/html/HTMLEditorKit.java
3707 (LinkController.activateLink(int,JEditorPane,int,int): New
3708 method. Implements activation of a hyperlink.
3709 (LinkController.activateLinke(int,JEditorPane)): Delegate
3710 to the other activateLink() method.
3711 (LinkController.createHyperlinkEvent): New helper method.
3712 (LinkController.mouseClicked): Implemented to activate the link.
3713 (LinkController.mouseDragged): Added comment that this
3714 method does nothing.
3715 (LinkController.mouseMoved): Update cursor for hyperlinks.
3716 (mouseHandler): Renamed field to linkController.
3717 (HTMLEditorKit): Create a link controller.
3718 (clone): Give the clone a new link controller.
3719 (deinstall): De-install link controller as mouseMotionListener too.
3720 (install): Install link controller as mouseMotionListener too.
3722 2006-11-02 Roman Kennke <kennke@aicas.com>
3725 * javax/swing/text/FlowView.java
3726 (FlowStrategy.changedUpdate): Reversed condition. This caused
3727 wrong layout and bad performance.
3728 (FlowStrategy.insertUpdate): Reversed condition. This caused
3729 wrong layout and bad performance.
3730 (FlowStrategy.removeUpdate): Reversed condition. This caused
3731 wrong layout and bad performance.
3732 (LogicalView): Changed to be a subclass of CompositeView.
3733 (LogicalView()): Only take one Element argument.
3734 (LogicalView.childAllocation): New method for implementing
3735 the abstract CompositeView method.
3736 (LogicalView.forwardUpdateToView): Overridden for correct
3738 (getMinimumSpan): Overridden to handle line breaking correctly.
3739 (getPreferredSpan): Implemented to handle line breaking correctly.
3740 (getViewAtPoint): New method for implementing
3741 the abstract CompositeView method.
3742 (getViewIndexAtPosition): Overridden to handle leaf elements
3744 (isAfter): New method for implementing
3745 the abstract CompositeView method.
3746 (isBefore): New method for implementing
3747 the abstract CompositeView method.
3748 (loadChildren): Overridden to handle leaf elements
3750 (paint): New method for implementing
3751 the abstract CompositeView method.
3752 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3753 (loadChildren): Initialize flow layout by sending a synthetic
3754 insertUpdate() to the layout strategy.
3755 * javax/swing/text/GlyphView.java
3756 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3757 font metrics if component is not available. Add initial offset
3759 (breakView): Be more clever when breaking the view.
3760 (getBreakLocation): New helper method to determine a good
3762 (getBreakWeight): Be more clever when breaking the view.
3763 (getTabbedSpan): Make sure we have a painter. Use view's
3764 start and end offset rather than the element's.
3765 * javax/swing/text/Utilities.java
3766 (drawTabbedText): Avoid useless add and sub with the y offset.
3768 2006-11-02 Roman Kennke <kennke@aicas.com>
3771 * gnu/java/awt/peer/ClasspathFontPeer.java
3772 (getStringBounds): Removed abstract method. This is replaced
3773 in java.awt.Font to use a TextLayout.
3774 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3775 (GtkWindowPeer): Set a font on the window object.
3776 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3777 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3778 Changed to take char,int,int instead of String. Filter
3780 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3781 Create char array out of string.
3782 (getLogicalBounds): Don't translate bounds. They already are
3784 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3785 (stringWidth): Filter out control characters.
3786 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3787 (getStringBounds): Removed unneeded method.
3788 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3790 * gnu/java/awt/peer/qt/QtFontPeer.java
3791 (getStringBounds): Removed unneeded method.
3792 * gnu/java/awt/peer/x/XFontPeer.java
3793 (getStringBounds): Removed unneeded method.
3794 * gnu/java/awt/peer/x/XFontPeer2.java
3795 (getStringBounds): Removed unneeded method.
3796 * java/awt/Font.java
3797 (getStringBounds(char[],int,int,FontRenderContext)):
3798 Use TextLayout to determine the bounds.
3799 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3800 Delegate to the char[] version of this method.
3801 (getStringBounds(String,FontRenderContext)):
3802 Delegate to the char[] version of this method.
3803 (getStringBounds(String,int,int,FontRenderContext)):
3804 Delegate to the String version of this method.
3806 2006-11-01 Tania Bento <tbento@redhat.com>
3808 * java/awt/ScrollPaneAdjustable.java
3809 (paramString): Changed format of string representation returned.
3810 (paramStringHelper): New private method.
3812 2006-11-01 Tania Bento <tbento@redhat.com>
3814 * java/awt/GridBagLayout.java
3815 (toString): Implemented method.
3817 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3819 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3820 initialization to NP_Initialize.
3821 (NP_Initialize): Initialize GLib threading.
3823 2006-10-31 Tania Bento <tbento@redhat.com>
3825 * javax/swing/JTextField.java
3826 (fireActionPerformed): When creating the new event, if
3827 actionCommand == null, then getText() is used.
3829 2006-10-31 Francis Kung <fkung@redhat.com>
3831 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3832 (fillArc): Corrected arc type to Arc2D.PIE.
3834 2006-10-31 Roman Kennke <kennke@aicas.com>
3836 * javax/swing/text/html/HTMLDocument.java
3837 (HTMLReader.PreAction.end): Implemented.
3838 (HTMLReader.PreAction.start): Implemented.
3839 (HTMLReader.inPreTag): New field.
3840 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3841 (HTMLReader.preContent): Implemented.
3843 2006-10-31 Tania Bento <tbento@redhat.com>
3845 * javax/swing/JTextField.java
3846 (fireActionPerformed): When creating the new event,
3847 actionCommand should be used as the command, not
3850 2006-10-31 Roman Kennke <kennke@aicas.com>
3852 * javax/swing/text/html/HTMLEditorKit.java
3853 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3854 HTML or Styled documents.
3856 2006-10-31 David Fu <fchoong@netbeans.jp>
3858 * javax/swing/text/html/HTMLWriter.java: New class.
3860 2006-10-30 Roman Kennke <kennke@aicas.com>
3862 * java/awt/dnd/DragSourceContext.java
3863 (dragExit): Use constant fields instead of 0.
3864 (updateCurrentCursor): Completed implementation.
3866 2006-10-30 Roman Kennke <kennke@aicas.com>
3868 * java/awt/dnd/DragGestureRecognizer.java
3869 (resetRecognizer): Added API docs. Do not replace the events object
3870 but rather clear() it. Removed not implemented tag.
3872 2006-10-30 Roman Kennke <kennke@aicas.com>
3874 * java/awt/datatransfer/DataFlavor.java
3875 (writeExternal): Remove not implemented tag.
3877 2006-10-30 Roman Kennke <kennke@aicas.com>
3879 * java/awt/datatransfer/DataFlavor.java
3880 (javaFileListFlavor): Don't explicitly specify class.
3881 (plainTextFlavor): Don't explicitly specify class.
3882 (mimeType): Changed to type MimeType. Remove final.
3883 (representationClass): Remove final.
3884 (DataFlavor): Don't do anything here.
3885 (DataFlavor(Class,String,String)): Removed.
3886 (DataFlavor(Class,String)): Initialize here.
3887 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3888 (DataFlavor(String,String)): Initialize in init().
3889 (DataFlavor(String)): Initialize in init().
3890 (init): New initialization method.
3891 (getMimeType): Delegate to MimeType.toString().
3892 (getParameter(String,String)): Removed. Is now done in MimeType.
3893 (getParameter(String)): Delegate to MimeType.
3894 (getPrimaryType): Delegate to MimeType.
3895 (getRepresentationClassFromMime): Removed.
3896 (getRepresentationClassFromMimeThrows): Removed.
3897 (getSubType): Delegate to MimeType.
3898 (hashCode): Take MimeType.toString() for the hashCode.
3899 (isFlavorRemoveObjectType): Return true only when representation
3900 class is remove and serializable and the mime type is remote.
3901 (isFlavorSerializedObjectType): Return true only when representation
3902 class is serializable and the mime type is serialized.
3903 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3904 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3905 (readExternal): Implemented stub method.
3906 (writeExternal): Implemented stub method.
3907 * java/awt/datatransfer/MimeType.java: New helper class.
3909 2006-10-28 Roman Kennke <kennke@aicas.com>
3911 * javax/swing/TransferHandler.java
3912 (importData): Implemented stub method. Added API docs.
3914 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3916 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3918 * native/jni/classpath/classpath_jawt.h: Likewise.
3919 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3920 initializer for surface_info_x11->depth.
3922 2006-10-26 Tania Bento <tbento@redhat.com>
3924 * java/awt/FileDialog.java:
3925 (setFile): Changed if-clause condition.
3927 2006-10-25 Francis Kung <fkung@redhat.com>
3929 * include/gnu_java_nio_VMChannel.h,
3930 * include/java_net_VMNetworkInterface.h,
3931 * include/gnu_java_nio_EpollSelectorImpl.h,
3932 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3933 * include/gnu_java_nio_FileChannelImpl.h,
3934 * include/gnu_java_nio_KqueueSelectorImpl.h,
3935 * include/gnu_java_nio_VMPipe.h,
3936 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3938 2006-10-25 Tania Bento <tbento@redhat.com>
3940 * java/awt/Dialog.java: Created new private variable
3942 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3943 Set cursor to default cursor.
3944 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3946 (generateName): New method.
3947 (getUniqueLong): New private method.
3948 * java/awt/FileDialog.java: Created new private variable
3949 next_file_dialog_number.
3950 (setFile): If file == "", set it to null.
3951 (generateName): New method.
3952 (getUniqueLong): New private method.
3954 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3956 * java/net/MulticastSocket.java:
3957 (setNetworkInterface): Rewritten.
3959 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3961 * native/jni/java-net/javanet.h: Added declaration for
3962 _javanet_create_inetaddress.
3963 * native/jni/java-net/javanet.c:
3964 (_javanet_create_inetaddress): Removed static keyword.
3966 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3968 * gnu/java/net/PlainDatagramSocketImpl.java:
3969 (connect): Use VMChannel instance for connect call.
3970 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3971 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3972 (setOption): Handle multicast options.
3973 (getOption): Handle multicast options.
3974 * gnu/java/net/PlainSocketImpl.java:
3975 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3976 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3977 (setOption): Filter unappropriate options.
3978 (getOption): Filter unappropriate options.
3979 (connect): Use given SocketAddress.
3980 (close): Reset address and port.
3982 * include/Makefile.am: Removed all occurences of
3983 gnu_java_net_VMPlainDatagramSocketImpl.h.
3984 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3985 * native/jni/java-net/Makefile.am: Removed
3986 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3987 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3989 as SocketException, declare to throw SocketException.
3990 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3991 for SocketException and ConnectException.
3992 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3994 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3996 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3997 (JCL_thread_interrupted): New function.
3998 (initIDs): Added initialisation for isThreadInterrupted method id.
3999 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
4000 CPNET_IP_TTL to java_sockopt enum.
4001 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
4002 case, handle SO_LINGER case properly.
4003 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
4004 case, handle SO_LINGER case properly.
4005 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
4007 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
4009 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
4011 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
4013 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
4014 * vm/reference/gnu/java/nio/VMChannel.java:
4015 (connect(int, byte[], int, int)): Declare to throw SocketException.
4016 (connect6): Declare to throw SocketException.
4017 (connect(InetSocketAddress, int)): Catch IOException and rethrow
4018 (isThreadInterrupted): New method.
4019 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
4021 (setTimeToLive): New method.
4022 (getTimeToLive): New method.
4023 (setMulticastInterface(int, InetAddress)): New method.
4024 (setMulticastInterface(int, int, Inet4Address): New method.
4025 (setMulticastInterface6(int, int, Inet6Address): New method.
4026 (setOptions): Handle SO_LINGER case.
4027 (getOptions): Add missing SO_REUSEADDR case.
4028 * java/net/Socket.java:
4029 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
4030 when exception was thrown out of connect().
4031 (setSoLinger): Replaced instantiations with valueOf calls, replaced
4032 Boolean.FALSE with Integer.valueOf(-1).
4033 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
4034 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
4035 * NEWS: Documented VM interface changes.
4037 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4039 * java/net/Inet6Address.java:
4040 (isMulticastAddress): Fixed check.
4042 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4045 * java/net/MulticastSocket.java:
4046 (getNetworkInterface): Return a special NetworkInterface instance
4047 if the socket's multicast interface is set to any.
4049 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
4052 * java/net/NetworkInterface.java:
4053 (createAnyInterface): New method.
4054 (equals): Added if-statement to handle case where netif.name is null.
4055 * vm/reference/java/net/VMNetworkInterface.java:
4056 (hashCode): Rewritten.
4057 (VMNetworkInterface): New constructor.
4059 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4061 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4062 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4063 Add ASM_JAR to bootclasspath.
4065 2006-10-24 Tania Bento <tbento@redhat.com>
4067 * java/awt/Scrollbar.java:
4068 (setLineIncrement): Removed unnecessary if-clause and if
4069 lineIncrement == 0, then it should be set to 1, not 0.
4070 (setPageIncrement): Removed unnecessary if-clause and if
4071 pageIncrement == 0, then it should be set to 1, not 0.
4072 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4073 If maximum <= minimum, maximum should be set to mininum + 1. The
4074 actual value of maximum is maximum - visibleAmount, so I made
4075 this change to the appropriate if-check. Remove the two unneccessary
4078 2006-10-23 Francis Kung <fkung@redhat.com>
4080 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4081 (cairoSetFont): New method.
4082 (copy): Set font using setFont method.
4083 (setFont): Call cairoSetFont.
4084 (setup): Set font using setFont method.
4085 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4087 (install_font_peer): Removed.
4088 (cairoDrawGlyphVector): Removed call to install_font_peer.
4089 (cairoSetFont): New method.
4091 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
4093 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4094 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4095 NativeEventLoopRunningEvent after GTK main loop start and stop.
4096 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4097 (getNextEvent): Set dispatchThread to null.
4098 (postEventImpl): Set nativeLoopRunning.
4099 (pop): Interrupt event dispatch thread.
4100 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4102 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
4104 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4106 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4109 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
4111 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4112 * javax/crypto/CipherOutputStream.java: Re-implemented.
4113 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4114 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4115 decryption mode and check if it is a complete block.
4116 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4117 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4118 partially processed data into account.
4120 2006-10-21 Tom Tromey <tromey@redhat.com>
4123 * java/util/AbstractCollection.java (toArray): Removed cast.
4125 2006-10-20 Tom Tromey <tromey@redhat.com>
4127 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4128 Don't use mangled class name for .h file.
4129 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4130 Don't use mangled class name for .c file.
4131 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4132 Handle classes from the default package.
4134 2006-10-20 Francis Kung <fkung@redhat.com>
4136 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4138 2006-10-19 Francis Kung <fkung@redhat.com>
4141 * java/awt/image/BufferedImage.java
4142 (constructor): Updated some properties of default image types.
4143 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4144 (argb32): Updated field to match default in BufferedImage.
4146 2006-10-18 Roman Kennke <kennke@aicas.com>
4149 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4150 (copyArea): Changed size comparison to return when size == 0
4152 * javax/swing/JViewport.java
4153 (paintBackingStore): Check width and height of blitted area
4154 and only do blit if its > 0.
4155 (paintBlit): Check width and height of blitted area
4156 and only do blit if its > 0.
4158 2006-10-18 Roman Kennke <kennke@aicas.com>
4161 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4162 (maximize): New native method.
4163 (unmaximize): New native method.
4164 (iconify): New native method.
4165 (deiconify): New native method.
4166 (getState): Implemented.
4167 (setState): Implemented.
4168 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4169 (oldState): Rename to windowState and made protected, so that
4170 the FramePeer can access it.
4171 (postWindowEvent): Handle state change events more gently and
4173 * java/awt/Frame.java
4174 (getState): Fetch state from getExtendedState().
4175 (setExtendedState): Update the peer. Check if the state change
4176 is actually supported.
4177 (getExtendedState): Update the state from the peer.
4178 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4179 (maximize): New method.
4180 (unmaximize): New method.
4181 (iconify): New method.
4182 (deiconify): New method.
4183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4184 (AWT_FRAME_NORMAL): New macro.
4185 (AWT_FRAME_ICONIFIED): New macro.
4186 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4187 (window_window_state_cb): Rewritten to handle window state changes
4188 more gently (mostly on the java side of the world).
4189 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4191 2006-10-18 Tania Bento <tbento@redhat.com>
4193 * java/awt/CardLayout.java:
4194 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4195 its height and width if Container passed as argument is null.
4196 (gotoComponent): Consider the case where the component is not visible.
4198 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4200 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4202 * resource/gnu/classpath/tools/appletviewer/messages.properties:
4204 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4206 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4208 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4210 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4211 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4212 Retrieve user-visible strings through Messages.getString.
4213 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4214 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4216 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4218 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4220 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4222 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4224 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4227 2006-10-18 Roman Kennke <kennke@aicas.com>
4229 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4230 (AWT_WINDOW_OPENED): Remove unnecessary macro.
4231 (window_show_cb): Removed unnecessary function.
4232 (connect_signals): Don't connect signal for show. *
4233 gnu/java/awt/peer/gtk/GtkWindowPeer.java
4234 (hasBeenShown): Removed. This is handled in java.awt.Window.
4235 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4236 in java.awt.Window. * java/awt/Window.java
4237 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4239 2006-10-18 Francis Kung <fkung@redhat.com>
4241 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4242 (drawRenderedImage): New method.
4243 (drawImage): New method.
4244 (CairoSurfaceGraphics): Set clip.
4245 (createBuffer): New method.
4246 (getBufferCM): New method.
4247 (drawComposite): New method.
4249 (getNativeCM): New method.
4250 (drawGlyphVector): New method.
4252 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4253 (getNativeCM): Reflect renamed field.
4254 * gnu/java/awt/peer/gtk/CairoSurface.java
4255 (cairoCM_pre): Renamed from cairoColorModel.
4256 (cairoColorModel): Set premultiplication to false.
4258 2006-10-18 Roman Kennke <kennke@aicas.com>
4261 * javax/swing/JScrollPane.java
4262 (viewportBorder): Made field private.
4263 (wheelScrollingEnabled): Made field private.
4264 (JScrollPane): Enabled wheel scrolling by default.
4265 * javax/swing/JTree.java
4266 (TreeSelectionRedirector.valueChanged): Don't repaint anything
4268 (getScrollableUnitIncrement): Fixed thinko.
4269 * javax/swing/plaf/basic/BasicScrollBarUI.java
4270 (static scrollByBlock): New static method to avoid code duplication
4271 for the BasicScrollPane wheel scrolling.
4272 (static scrollByUnits): New static method to avoid code duplication
4273 for the BasicScrollPane wheel scrolling.
4274 (scrollByBlock): Delegate to static helper method.
4275 (scrollByUnit): Delegate to static helper method.
4276 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4277 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4278 static helper methods to avoid code duplication.
4279 (MouseWheelHandler.bounds): Removed.
4280 (MouseWheelHandler.getValue): Removed.
4281 (MouseWheelHandler.scroll): Removed.
4283 2006-10-18 Roman Kennke <kennke@aicas.com>
4286 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4287 (updateComponent): Don't override this here.
4288 * java/awt/Window.java
4289 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4290 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4292 (addWindowStateListener): Ignore null listener. Set newEventsOnly
4295 2006-10-18 Roman Kennke <kennke@aicas.com>
4297 * javax/swing/JEditorPane.java
4298 (getStream): Try to detect and set the content type of the
4301 2006-10-18 Roman Kennke <kennke@aicas.com>
4303 * javax/swing/RepaintManager.java
4304 (RepaintWorkerEvent): Pass full set of params to super.
4305 (RepaintWorker.dispatch): Overridden to allow apps to call this
4307 (addDirtyRegion): Synchronize a little more to protect the
4308 dirtyComponents field and avoid NPEs.
4309 (invokeLater): Pass full set of params to RepaintWorkerEvent
4312 2006-10-18 Roman Kennke <kennke@aicas.com>
4314 * javax/swing/JEditorPane.java
4315 (page): Removed field. The page is now stored in the correct
4317 (getPage): Fetch page URL from document property.
4318 (read): Set the document for this JEditorPane. Use a Reader
4319 for reading in the document.
4320 (setPage): Call getStream() to get the stream from which we read.
4321 Fire property change. Store page in document property.
4323 2006-10-18 Roman Kennke <kennke@aicas.com>
4325 * java/awt/datatransfer/DataFlavor.java
4326 (DataFlavor(String)): Removed check for space in mime string.
4328 2006-10-18 Roman Kennke <kennke@aicas.com>
4330 * java/awt/Container.java
4331 (validateTree): Call ContainerPeer.begin|endLayout() rather than
4332 begin|endValidate().
4333 (validate): Call ContainerPeer.begin|endValidate() here.
4334 Added some local vars to avoid NPEs.
4336 2006-10-18 Roman Kennke <kennke@aicas.com>
4338 * native/target/.cvsignore
4339 * native/target/Linux/.cvsignore
4340 * native/target/generic/.cvsignore:
4341 Added to let CVS ignore the generated Makefile and Makefile.in
4344 2006-10-18 Roman Kennke <kennke@aicas.com>
4347 * java/awt/Window.java
4348 (eventTypeEnabled): Overridden to handle WindowEvents.
4349 (processEvent): Switch between processWindowEvent(),
4350 processWindowFocusEvent() and processWindowStateEvent() here,
4351 rather than simply calling processWindowEvent().
4352 (processWindowEvent): Only dispatch event to listener, do not
4353 switch to processWindowFocusEvent() or processWindowStateEvent()
4355 * javax/swing/JFrame.java
4356 (frameInit): Explicitly enable window and key events here.
4357 (processWindowEvent): Throw out some unnecessary code.
4358 * javax/swing/JWindow.java
4359 (windowInit): Explicitly enable key events here.
4360 * javax/swing/JDialog.java
4361 (close_action): Renamed to closeAction.
4362 (dialogInit): Explicitly enable window events here.
4363 (getDefaultCloseOperation): Renamed close_action to closeAction.
4364 (processWindowEvent): Throw out some unnecessary code.
4365 Renamed close_action to closeAction.
4366 (setDefaultCloseOperation): Renamed close_action to closeAction.
4368 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4370 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4371 to track native GTK event loop status.
4372 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4373 clear running flag when native GTK event loop starts and stops.
4375 2006-10-17 Roman Kennke <kennke@aicas.com>
4377 * javax/swing/TransferHandler.java
4378 (exportToClipboard): Implemented.
4380 2006-10-17 Francis Kung <fkung@redhat.com>
4382 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4383 region to account for pixel-shifting.
4384 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4387 2006-10-17 Francis Kung <fkung@redhat.com>
4390 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4391 (getLogicalBounds): Translate individual glyphs before appending bounds.
4392 (getOutline): Translate individual glyphs before appending outline.
4394 2006-10-17 Cameron McCormack <cam@mcc.id.au>
4397 * java/awt/font/TextLayout.java
4399 (constructor): Store bidi in field.
4400 (getCharacterLevel): Implemented.
4402 2006-10-17 Roman Kennke <kennke@aicas.com>
4404 * javax/swing/TransferHandler.java
4405 (PropertyTransferable): New inner class. Handles transfers
4406 from component properties.
4407 (createTransferable): Implemented.
4409 2006-10-17 Francis Kung <fkung@redhat.com>
4411 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4412 (drawComposite): Ensure composite does not extend beyond buffer
4414 * java/awt/image/Raster.java
4415 (createChild): Ensure child does not extend beyond parent's
4417 * java/awt/image/WritableRaster.java
4418 (createWritableChild): Ensure child does not extend beyond
4421 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
4423 * native/jni/classpath/jcl.c
4424 (JNI_OnLoad): Corrected calling convention.
4426 2006-10-16 Roman Kennke <kennke@aicas.com>
4428 * javax/swing/TransferHandler.java
4429 (propertyName): New field.
4430 (TransferHandler(String)): Store property name in field.
4431 (canImport): Implemented stub method.
4432 (exportDone): This is a no-op. Removed not-implemented mark.
4433 (getPropertyDataFlavor): New helper method.
4434 (getPropertyDescriptor): New helper method.
4436 2006-10-16 Roman Kennke <kennke@aicas.com>
4438 * javax/swing/AbstractButton.java
4439 (AccessibleJButton.getAfterIndex): Implemented.
4440 (AccessibleJButton.getAtIndex): Implemented.
4441 (AccessibleJButton.getBeforeIndex): Implemented.
4442 (AccessibleJButton.getCharacterAttribute): Completed incomplete
4443 method implementation.
4445 2006-10-16 Roman Kennke <kennke@aicas.com>
4447 * javax/swing/JLabel.java
4448 (AccessibleJLabel.getIndexAtPoint): Implemented.
4449 (AccessibleJLabel.getCharacterBounds): Implemented.
4450 (AccessibleJLabel.getTextRectangle): New helper method.
4452 2006-10-16 Roman Kennke <kennke@aicas.com>
4454 * javax/swing/filechooser/FileSystemView.java
4455 (getFileSystemView): Mark as implemented.
4457 2006-10-14 Roman Kennke <kennke@aicas.com>
4460 * javax/swing/JComponent.java
4461 (toolTipText): Removed field.
4462 (createToolTip): Don't set tooltip text here. This is done
4463 in the ToolTipManager.
4464 (setToolTipText): Set tooltip text as client property.
4465 (getToolTipText): Get tooltip text from client property.
4466 * javax/swing/ToolTipManager.java
4467 (currentComponent): Made field non-static and of type JComponent.
4468 (currentPoint): Made field non-static.
4469 (currentTip): Made field non-static.
4470 (popup): Made field non-static.
4471 (toolTipText): New field. Stores the current tooltip text.
4472 (checkTipUpdate): New helper method. Checks for updates of
4473 the tooltip text and triggers the appropriate actions.
4474 (getContentPaneDeepestComponent): Removed unneeded casts.
4475 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4476 text from component.
4477 (mouseMoved): Check for tooltip text updates.
4478 (showTip): Set tooltip text from current setting.
4480 2006-10-14 Roman Kennke <kennke@aicas.com>
4483 * javax/swing/JSlider.java
4484 (setPaintLabels): Call setLabelTable() instead of setting
4485 the field directly. This also updates the label's size.
4487 2006-10-13 Tom Tromey <tromey@redhat.com>
4489 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4492 2006-10-13 Tania Bento <tbento@redhat.com>
4494 * java/awt/ScrollPane.java
4495 (setLayout): Should throw AWTError whenever called.
4497 2006-10-13 Roman Kennke <kennke@aicas.com>
4500 * java/awt/Component.java
4501 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4502 update the AWT's knowledge about a component's size.
4503 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4504 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4505 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4506 to update the AWT's knowledge about the component bounds.
4508 2006-10-13 Tania Bento <tbento@redhat.com>
4510 * java/awt/ScrollPaneAdjustable.java
4511 (setMaximum): Should throw AWTError whenever called.
4513 (setVisibleAmount): Same.
4515 2006-10-13 Tania Bento <tbento@redhat.com>
4517 * java/awt/ScrollPane.java
4518 (addImpl): When calling super, index should be value passed,
4520 (getIsValidString): New helper method for paramString().
4521 (getScrollbarDisplayString): New helper method for paramString().
4522 (paramString): Changed format of outputted string.
4524 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4526 * javax/swing/tree/DefaultTreeSelectionModel.java
4527 (clone): Added cast to TreePath[].
4529 2006-10-13 Roman Kennke <kennke@aicas.com>
4532 * javax/swing/JMenuItem.java
4533 (isDragging): New field. Indicates if we are inside a mouse
4535 (createMenuDragMouseEvent): Removed unneeded method.
4536 (processMenuDragMouseEvent): Track if we are dragging.
4537 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4538 * javax/swing/plaf/basic/BasicMenuItemUI.java
4539 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4540 MenuSelectionManager from event.
4541 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4542 MenuSelectionManager from event.
4543 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4544 MenuSelectionManager from event.
4545 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4546 release inside menu item, otherwise clear selection.
4547 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4548 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4549 (doClick): Perform an immediate click.
4551 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4553 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4554 return if object is not in the list.
4556 2006-10-12 Andrew Haley <aph@redhat.com>
4558 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4559 * java/lang/ThreadLocal.java: Likewise.
4561 2006-10-12 Roman Kennke <kennke@aicas.com>
4564 * javax/swing/JSlider.java
4565 (LabelUIResource): New inner class. A JLabel as UIResource.
4566 (createStandardLabels): Don't set label bounds here.
4567 Create LabelUIResource instances.
4568 (setInverted): Repaint.
4569 (setLabelTable): Update the label UIs. Revalidate and repaint.
4570 (setMajorTickSpacing): Update the label table. Repaint if
4572 (setMinorTickSpacing): Repaint if necessary.
4573 (setOrientation): Revalidate.
4574 (setPaintLabels): Revalidate and repaint.
4575 (setPaintTicks): Revalidate and repaint.
4576 (setPaintTrack): Repaint.
4577 (updateLabelUIs): Set the label sizes here.
4578 (updateUI): Also update the label UIs.
4579 * javax/swing/plaf/basic/BasicSliderUI.java
4580 (ComponentHandler.componentResized): Don't revalidate.
4581 (FocusHandler.focusGained): Don't set field.
4582 (FocusHandler.focusLost): Don't set field.
4583 (PropertyChangeHandler.propertyChange): Calculate geometry
4584 and repaint for a couple more properties.
4585 (TrackListener.mouseReleased): Repaint.
4586 (hasFocus): Removed unneeded field.
4587 (calculateContentRect): No need to check for content size < 0.
4588 (calculateFocusRect): Use insets from insetCache.
4589 (calculateLabelRect): Fixed calculation of label rectangle.
4590 It is relative to the tick rectangle, rather than the content
4592 (calculateTickRect): Small restructuring to avoid unnecessary
4594 (calculateTrackRect): Fixed calculation of track rectangle.
4595 (getMaximumSize): Fixed. Fetch preferred size and set
4596 the height of width to Short.MAX_VALUE.
4597 (getMinimumHorizontalSize): Fixed to return UIManager value.
4598 (getMinimumVerticalSize): Fixed to return UIManager value.
4599 (getPreferredHorizontalSize): Fixed to return UIManager value.
4600 (getPreferredVerticalSize): Fixed to return UIManager value.
4601 (getMinimumSize): Fixed to return the UIManager value plus
4603 (getPreferredSize): Fixed to return the UIManager value plus
4605 (getWidthOfWidestLabel): Restructured for more cleanness and
4607 (hitClip): New helper method.
4608 (paintHorizontalLabel): Replaced by more efficient and clean
4610 (paintVerticalLabel): Replaced by more efficient and clean
4612 (paintLabels): Replaced by more efficient and clean
4614 (paint): Check if rectangles intersect with clip for maximum
4616 (recalculateIfInsetsChanged): Fixed. This method should
4617 recalculate only when the insets changed.
4618 (setThumbLocation): Repaint with a reasonable clip.
4619 (xPositionForValue): Made more clean and efficient.
4620 (yPositionForValue): Made more clean and efficient.
4621 * javax/swing/plaf/basic/BasicLookAndFeel.java
4622 (initComponenDefaults): Added Slider.horizontalSize,
4623 Slider.verticalSize, Slider.minimumHorizontalSize and
4624 Slider.minimumVerticalSize properties.
4625 * javax/swing/plaf/metal/MetalSliderUI.java
4626 (getTickLength): Add 1 for horizontal sliders and 3 for
4628 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4629 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4630 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4631 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4633 2006-10-12 Roman Kennke <kennke@aicas.com>
4636 * javax/swing/text/FlowView.java
4637 (FlowStrategy.layout): Preserve logical views from getting lost.
4638 (FlowStrategy.layoutRow): Fix line breaking.
4639 (FlowStrategy.adjustRow): Fix line breaking.
4640 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4641 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4642 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4643 (createView): Don't check index.
4644 (contains): New helper method.
4645 (reparent): New helper method.
4646 (layoutDirty): Removed unneeded field.
4647 (FlowView): Removed layoutDirty field init.
4648 (changedUpdate): Removed layoutDirty handling.
4649 (insertUpdate): Removed layoutDirty handling.
4650 (removeUpdate): Removed layoutDirty handling.
4651 (layout): Use isLayoutValid() rather than the layoutDirty field.
4652 * javax/swing/text/GlyphView.java
4653 (startOffset): Removed.
4654 (endOffset): Removed.
4655 (offset): New field.
4656 (length): New field.
4657 (GlyphView): Initialize new fields. Removed old fields.
4658 (createFragment): Create fragment with new relative offsets.
4659 (getEndOffset): Work with new relative offsets.
4660 (getStartOffset): Work with new relative offsets.
4661 * javax/swing/text/ParagraphView.java
4662 (Row.getStartOffset): Overidden to determine the minimum start
4663 offset from the children.
4664 (Row.getEndOffset): Overidden to determine the maximum end
4665 offset from the children.
4666 * javax/swing/text/html/BRView.java
4667 Make subclass of InlineView.
4668 (getBreakWeight): Fall back to super for Y_AXIS.
4670 2006-10-12 Roman Kennke <kennke@aicas.com>
4673 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4674 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4675 one that avoids faulty state that could cause division by zero
4678 2006-10-12 Roman Kennke <kennke@aicas.com>
4681 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4682 (paint): Determine correct icon. Added support for HTML label.
4683 Added small optimizations.
4684 (getPreferredSize): Only consider the buttons iconTextGap, and
4685 only when the text is not null.
4686 * javax/swing/plaf/basic/BasicLookAndFeel.java
4687 (initComponentDefaults): Fetch border for RadioButton from
4688 BasicButtons.getRadioButtonBorder().
4689 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4690 (paintFocus): Paint focus rectangle one pixel smaller.
4692 2006-10-12 Roman Kennke <kennke@aicas.com>
4695 * javax/swing/tree/AbstractLayoutCache.java
4696 (getNodeDimensions): Don't throw InternalError, but instead
4698 (getRowsForPaths): Check for null here.
4699 (isFixedRowHeight): Returns true when rowHeight > 0.
4700 (setSelectionModel): Set this as the row mapper for the selection
4702 * javax/swing/tree/VariableHeightLayoutCache.java
4703 (NodeRecord.NodeRecord): Initialize bounds field.
4704 (getBounds): Simply return the bounds field.
4705 (row2Node): Changed to be an ArrayList.
4706 (RECT_CACHE): New field. Caches a Rectangle instance.
4707 (countRows): Added y parameter and return value. The method
4708 now takes the current y position as parameter, and returns
4709 the updated y position.
4710 (getBounds): Fixed to return the correct bounds.
4711 (getPathForRow): Replaced by fixed implementation.
4712 (getPreferredHeight): Replaced by more efficient implementation.
4713 This simply fetches the last node record and returns its lower
4715 (getPreferredWidth): Added null check.
4716 (getVisibleChildCount): Added null check.
4717 (getVisiblePathsFrom): Added null check.
4718 (setExpandedState): Also expand the ancestors of the node
4720 (setModel): Set dirty flag rather than updating for real.
4721 (setNodeDimensions): Overridden to set the dirty flag.
4722 (setRowHeight): Overridden to set the dirty flag.
4723 (update): Don't special case the root here, this is done now
4726 2006-10-12 Roman Kennke <kennke@aicas.com>
4728 * javax/swing/JComponent.java
4729 (paintImmediately2): Added support for components which need
4730 to force themselves as paint root.
4731 (isPaintRoot): New method. This should be overridden by components
4732 which need to force themselves as paint root.
4733 * javax/swing/JViewport.java
4734 (isPaintRoot): Overridden to force the viewport as paint root
4735 when running in backingstore mode.
4737 2006-10-12 Roman Kennke <kennke@aicas.com>
4739 * javax/swing/tree/DefaultTreeSelectionModel.java
4740 (PathPlaceHolder): New inner class. Wraps a path and its status
4742 (selectedPaths): New field. A supporting datastructure.
4743 (tmpPaths): New field. A supporting datastructure.
4744 (DefaultTreeSelectionModel): Initialize the list selection model,
4745 the leadIndex and the supporting datastructures.
4746 (addPropertyChangeListener): Create changeSupport object lazily.
4747 (addSelectionPaths): Mostly rewritten to handle the different
4748 selection modes correctly.
4749 (addSelectionPath): Delegate to addSelectionPaths().
4750 (arePathsContiguous): Replaced with more efficient implementation
4752 (canPathBeAdded): Removed unneeded method.
4753 (canPathsBeAdded): Replaced with more efficient implementation.
4754 (clearSelection): Create correct event. Clear the fields correctly,
4755 including the supporting datastructures.
4756 (clone): Also clone the supporting datastructures and nullify
4757 changeSupport field.
4758 (getMaxSelectionRow): Delegate to list selection model.
4759 (getMinSelectionRow): Delegate to list selection model.
4760 (getPath): Removed unneeded method.
4761 (getPropertyChangeListeners): Handle null changeSupport field
4763 (getRow): Handle null rowMapper field correctly.
4764 (getSelectionRows): Handle invisible rows correctly.
4765 (insureRowContinuity): Replaced by more efficient and correct
4767 (isRowSelected): Delegate to list selection model.
4768 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4770 (removePropertyChangeListener): Handle null changeSupport field.
4771 (removeSelectionPaths): Mostly rewritten to handle the different
4772 selection modes correctly.
4773 (removeSelectionPath): Delegate to removeSelectionPaths().
4774 (resetRowSelection): Handle list selection model.
4775 (selectOne): Removed unneeded field.
4776 (setRowMapper): Reset the row selection.
4777 (setSelectionMode): Check for invalid mode and set to
4778 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4779 (setSelectionPaths): Mostly rewritten to handle the different
4780 selection modes correctly.
4781 (setSelectionPath): Delegate to setSelectionPaths().
4782 (updateLeadIndex): Made more efficient.
4784 2006-10-11 Francis Kung <fkung@redhat.com>
4786 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4787 (buffer, locked): New fields.
4788 (constructors): Initialize new variables.
4789 (createBuffer): New method.
4790 (draw): Implement custom composites.
4791 (drawComposite): New method.
4792 (drawGlyphVector): Implement custom composites.
4793 (drawImage): Implement custom composites.
4794 (drawRenderedImage): Implement custom composites.
4795 (fill): Implement custom composites.
4796 (getBufferCM): New method.
4797 (getNativeCM): New method.
4798 (updateBufferedImage): Fix premultiplication.
4799 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4800 (copy): Copy composite.
4801 (drawImage): Set background properly.
4802 (getBufferCM): New method.
4803 (setComposite): Reset alpha composite when using custom composite.
4804 * gnu/java/awt/peer/gtk/CairoSurface.java
4805 (cairoColorModel): New field.
4806 (nativeColorModel): Renamed.
4807 (constructor): Use renamed createCairoSampleModel method.
4808 (createCairoSampleModel): New method.
4809 (createNativeSampleModel): Renamed.
4810 (getBufferedImage): Use renamed cairoColorModel field.
4811 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4812 (gdkColorModel): New field.
4813 (createGdkSampleModel): New method.
4814 (getPixels): Added comments.
4815 (getSnapshot): Use GDK colour and sample models.
4816 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4817 (createBuffer): Use GDK colour and sample models.
4818 (getNativeCM): Added comments.
4819 * java/awt/image/BufferedImage.java
4820 (constructor): Set premultiplied flag properly.
4822 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4824 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4825 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4827 2006-10-10 Francis Kung <fkung@redhat.com>
4830 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4831 (createPath): Added isDraw parameter.
4832 (draw): Updated createPath call.
4833 (fill): Updated createPath call.
4835 2006-10-10 Tom Tromey <tromey@redhat.com>
4838 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4839 there is a stylesheet.
4841 2006-10-10 Roman Kennke <kennke@aicas.com>
4843 * java/awt/Toolkit.java
4844 (getDefaultTookit): Make method synchronized to avoid
4845 accidentally creating more than one toolkits from different
4848 2006-10-10 Roman Kennke <kennke@aicas.com>
4850 * java/awt/LightweightDispatcher.java
4851 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4852 (redispatch): Transfer the button to the redispatched event.
4854 2006-10-10 Francis Kung <fkung@redhat.com>
4856 * java/awt/image/ColorModel.java (coerceData): Implemented.
4858 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4860 * vm/reference/java/lang/VMClassLoader.java:
4861 (defineClassWithTransformers): Use proper class name format.
4863 2006-10-09 Gary Benson <gbenson@redhat.com>
4865 * java/net/ServerSocket.java
4866 (implAccept): Add security check.
4867 (accept): Close socket if security check fails.
4868 (setSocketFactory): Add security check and already-set check.
4870 2006-10-09 Roman Kennke <kennke@aicas.com>
4873 * javax/swing/JSplitPane.java
4874 (dividerLocation): New field. Stores the divider location.
4875 (JSplitPane): Initialize dividerLocation with -1.
4876 (addImpl): Removed unneeded local variables.
4877 (getDividerLocation): Manage dividerLocation in the JSplitPane
4878 class, not in the UI.
4879 (setDividerLocation): Manage dividerLocation in the JSplitPane
4880 class, not in the UI. Only call the UI method for notification.
4881 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4882 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4883 location from the JSplitPane. Honour the minimumSize, but only
4884 if the divider location hasn't been set explicitly.
4885 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4887 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4889 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4890 the divider location.
4891 (dividerLocationSet): New field.
4892 (dividerLocation): Removed field.
4893 (createActionMap): Fetch and set divider location on the JSplitPane.
4894 (getDividerLocation): Return the actual real divider location.
4895 (getMaximumSize): Removed unneeded cast.
4896 (getPreferredSize): Removed unneeded cast.
4897 (getMinimumSize): Removed unneeded cast.
4898 (installUI): Initialize dividerLocationSet with false.
4899 (uninstallUI): Initialize dividerLocationSet with false.
4900 (setDividerLocation): Set dividerLocationSet to true.
4902 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4904 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4905 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4906 convert jstring into char *.
4907 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4908 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4909 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4910 (getif_address): Added const modifier to second argument.
4911 (getif_index): Dito.
4913 2006-10-09 Roman Kennke <kennke@aicas.com>
4915 * javax/swing/JTree.java
4916 (isSelected): Added API docs.
4918 2006-10-09 Roman Kennke <kennke@aicas.com>
4920 * javax/swing/JTree.java
4921 (isSelected): Delegate to the selection model directly.
4923 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4925 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4926 sizeof_struct_kevent to _sizeof_struct_kevent.
4928 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4930 * tools/gnu/classpath/tools/rmic/RMICException.java:
4931 javadoc corrections, reformatted.
4933 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4935 * gnu/java/lang/InstrumentationImpl.java:
4936 Made constructor package visible.
4938 2006-10-05 Gary Benson <gbenson@redhat.com>
4940 * java/net/Socket.java
4941 (Socket): Perform security check on address not hostname.
4943 2006-10-04 Roman Kennke <kennke@aicas.com>
4945 * javax/swing/tree/VariableHeightLayoutCache.java
4946 (getBounds): When rect is null, create a new Rectangle.
4948 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4950 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4951 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4952 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4953 (cpnio_select): Use CPNIO_EXPORT.
4954 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4955 inline instead of extern inline, as newer GCCs changed their
4958 2006-10-04 Gary Benson <gbenson@redhat.com>
4960 * java/net/InetAddress.java: Updated javadoc.
4961 (<clinit>, getByLiteral): Throw InternalError on failures.
4963 2006-10-03 Francis Kung <fkung@redhat.com>
4965 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4966 (compCtx): New field for composite context.
4967 (copy): Copy composite.
4968 (dispose): Dispose of composite context.
4969 (getNativeCM): New method.
4970 (setComposite): Discard old composite context and set up new context.
4971 (setRenderingHints): Update composite context.
4972 * gnu/java/awt/peer/gtk/CairoSurface.java
4973 (nativeColorModel): New field, renamed from nativeModel.
4974 (nativeModel): Renamed field to nativeColorModel.
4975 (CairoSurface(int, int)): Call new method to create sample model.
4976 (createNativeSampleModel): New method.
4977 (getBufferedImage): Updated variable name.
4978 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4979 (buffer): New field.
4980 (createBuffer): New method.
4982 (drawComposite): New method.
4983 (drawGlyphVector): New method.
4984 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4985 (drawImage(Image, int, int, ImageObserver)): Check composite.
4986 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4988 (getNativeCM): New method.
4989 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4990 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4991 intermediary pixbuf to grab on-screen pixels.
4993 2006-10-03 Tom Tromey <tromey@redhat.com>
4996 * java/util/IdentityHashMap.java (tombstone): Removed.
4997 (emptyslot): Removed.
4998 (nullslot): New field.
4999 (IdentityHashMap): Don't fill array.
5000 (clear): Fill with null.
5001 (hash): Now final. Use linear probing.
5002 (xform): New method.
5003 (unxform): Likewise.
5004 (removeAtIndex): Likewise.
5005 (clone, containsKey, containsValue, entrySet, get, hashCode,
5006 keySet, put, remove, values): Updated.
5007 (IdentityIterator, IdentityEntry): Likewise.
5008 (writeObject): Likewise.
5010 2006-10-03 Tom Tromey <tromey@redhat.com>
5012 * java/util/Locale.java (hashcode): Updated javadoc.
5013 (hashcodeCache): Removed.
5015 (hashCode): Updated.
5016 (writeObject): New method.
5017 (readObject): Updated.
5019 2006-10-02 Francis Kung <fkung@redhat.com>
5021 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
5022 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
5023 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5024 (clearRect): Paint background colour with AlphaComposite.SRC rule.
5025 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
5026 pre-multiply data before drawing.
5027 (fillRect): Draw using regular fill() method.
5028 (setComposite): Handle null case with AlphaComposite.SrcOver default.
5029 * gnu/java/awt/peer/gtk/CairoSurface.java
5030 (nativeModel): Use correct value for alpha premultiplication (true).
5031 * java/awt/image/BufferedImage.java
5032 (coerceData): Update isPremultiplied field.
5034 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
5036 * gnu/classpath/ListenerData.java:
5037 New class for holding listener data.
5038 * gnu/java/lang/management/MemoryMXBeanImpl.java:
5039 ListenerData class moved to its own file.
5040 * javax/management/MBeanServerDelegate.java,
5041 * javax/management/MBeanServerDelegateMBean.java,
5042 * javax/management/MBeanServerNotification.java:
5045 2006-10-02 Tania Bento <tbento@redhat.com>
5047 * java/ast/Rectangle.java:
5048 (Rectangle(Rectangle)): Do not throw NPE.
5049 (Rectangle(Point, Dimension)): Same.
5050 (Rectangle(Point)): Same.
5051 (Rectangle(Dimension)): Same.
5053 2006-09-29 Casey Marshall <csm@gnu.org>
5056 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5057 `AbstractSelectionKey.'
5058 (cancel, isValid): removed.
5059 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5060 (events): new field.
5061 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5063 (<clinit>): initialize those constants.
5064 (<init>): don't initialize `cancelledKeys;' initialize `events.'
5065 (doSelect): deregister cancelled keys; remove keys attached to
5066 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5067 `events' buffer; reallocate `events' buffer if needed.
5068 (register): reallocate `events' buffer if needed.
5069 (reallocateBuffer): new method.
5072 2006-09-29 Roman Kennke <kennke@aicas.com>
5075 * javax/swing/JViewport.java
5076 (cinit): Renamed system property to gnu.swing.scrollmode
5077 to avoid bloat. Default to BACKINGSTORE, this is much
5079 (repaint): Forward repaint() to parent as is specified.
5081 2006-09-29 Tania Bento <tbento@redhat.com>
5083 * javax/swing/plaf/basic/BasicTableUI.java
5084 (getPreferredSize): The number of iterations for the for-loop should be
5085 the number of columns in the table's column model, not the number of
5086 columns of the table.
5087 * javax/swing/JTable.java
5088 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5089 lines that are not needed.
5090 (initializeLocalVars): dragEnabled should be set to false, not true.
5091 (getCellRenderer): Added a check to prevent an
5092 ArrayIndexOutOfBoundsException.
5093 (doLayout): The number of iterations for the for-loops should be the
5094 number of columns in the table's column model, not the number of columns
5097 2006-09-29 Roman Kennke <kennke@aicas.com>
5099 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5101 (isOptimized): Initialize with true.
5102 (paintRaster): Removed unneeded field.
5103 (shapeCache): New static field. Caches certain shapes for reuse.
5104 (computeIntersection): Removed unneeded casts.
5105 (drawArc): Use shape cache.
5106 (drawImage): Removed unneeded statement.
5107 (drawLine): Use shape cache. Pass untranslated coordinates
5109 (drawOval): Use shape cache.
5110 (drawPolygon): Use shape cache.
5111 (drawRect): Overridden to provide accelerated rectangle drawing
5112 if possible and to use the shape cache.
5113 (drawRoundRect): Use shape cache.
5114 (fillArc): Use shape cache.
5115 (fillOval): Use shape cache.
5116 (fillPolygon): Use shape cache.
5117 (fillRect): Pass untranslated coordinates to rawFillRect().
5119 (fillRoundRect): Use shape cache.
5120 (fillScanlineAA): Removed unneeded statement.
5121 (fillScanline): Updated API docs.
5122 (fillShapeAntialias): Removed unnecessary cast.
5123 (fillShapeImpl): Update API docs. Removed unnecessary cast.
5124 (fillShape): Updated API docs.
5125 (getShapeCache): New helper method.
5126 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5127 certain shapes for reuse in AbstractGraphics2D.
5129 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5131 * javax/management/BadBinaryOpValueExpException.java:
5132 (getExp()): Implemented.
5133 * javax/management/MBeanConnection.java:
5134 Renamed to MBeanServerConnection.
5135 * javax/management/MBeanServer.java:
5136 (setAttribute(Attribute)): Fixed...
5137 (setAttribute(ObjectName,Attribute)): to this.
5138 * javax/management/MBeanServerConnection.java:
5139 Renamed from MBeanConnection.
5140 * javax/management/QueryExp.java:
5141 Extend Serializable.
5142 * javax/management/ValueExp.java:
5144 * javax/management/loading/ClassLoaderRepository.java:
5145 (loadClass(String)): Throw ClassNotFoundException.
5146 (loadClassBefore(ClassLoader,String)): Likewise.
5147 (loadClassWithout(String, ClassLoader): Fixed...
5148 (loadClassWithout(ClassLoader,String)): to this.
5150 2006-09-28 Roman Kennke <kennke@aicas.com>
5152 * javax/swing/tree/DefaultTreeCellRenderer.java
5153 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5154 property from UIManager.
5155 (paint): Rewritten to use super's implementation and only paint
5156 background and focus indicator before.
5157 (paintFocus): New helper method.
5158 (getXOffset): New helper method.
5160 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
5162 * javax/management/BadBinaryOpValueExpException.java,
5163 * javax/management/MBeanConnection.java,
5164 * javax/management/MBeanServer.java,
5165 * javax/management/ObjectInstance.java:
5167 * javax/management/ObjectName.java:
5168 (setMBeanServer(MBeanServer)): Implemented.
5169 * javax/management/QueryExp.java,
5170 * javax/management/ValueExp.java,
5171 * javax/management/loading/ClassLoaderRepository.java:
5174 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5176 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5178 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5180 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5181 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5182 * gnu/java/nio/EpollSelectorImpl.java:
5183 (doSelect): Use Integer.valueOf() instead of constructor call.
5184 (register): Use Integer.valueOf() instead of constructor call.
5186 2006-09-27 Roman Kennke <kennke@aicas.com>
5188 * java/awt/Container.java
5189 (addContainerListener): Activate newEventsOnly for the component.
5190 Ignore null listeners.
5192 2006-09-27 Roman Kennke <kennke@aicas.com>
5194 * java/awt/EventQueue.java
5195 (Queue): New inner class. Implements the actual queue.
5196 (LOW_PRIORITY): New constant field.
5197 (NORM_PRIORITY): New constant field.
5198 (queueHead): Removed. Moved into Queue.
5199 (queueTail): Removed. Moved into Queue.
5200 (queues): New field.
5201 (EventQueue): Initialize two internal queues, one for
5202 normal events, one for low priority events.
5203 (getNextEventImpl): New helper method, fetches the next event.
5204 (getNextEvent): Use getNextEventImpl() for fetching the event.
5205 (peekEvent): Use getNextEventImpl() for fetching the event.
5206 (peekEvent(int)): Search for event in all queues.
5207 (postEventImpl(AWTEvent)): Moved actual posting into
5208 postEventImpl(AWTEvent,int). Prioritize events here.
5209 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5210 event into correct queue. Re-enable event coalescing.
5211 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5212 * javax/swing/RepaintManager.java
5213 (RepaintWorkerEvent): New internal class. This is a low priority
5214 event for the repaint worker.
5215 (addDirtyRegion): Use new internal invokeLater() for sending
5216 a low priority event.
5217 (addInvalidComponent): Use new internal invokeLater() for sending
5218 a low priority event.
5219 (commitBuffer): Added some null checks.
5220 (invokeLater): New helper method. Sends a low priority
5221 repaint worker event on the event queue.
5223 2006-09-27 Roman Kennke <kennke@aicas.com>
5227 * javax/swing/plaf/basic/BasicButtonUI.java
5228 (cachedInsets): New field.
5229 (installListeners): Fire synthetic property change to initialize
5230 TEXT_LAYOUT_CACHE for the button because the font has been
5232 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5233 (paint): Use cached insets.
5234 (paintText): Let new method forward to old one, not vice versa.
5235 * javax/swing/plaf/basic/BasicMenuItemUI.java
5236 (defaultAcceleratorLabelGap): Removed unused field.
5237 (MenuGap): Removed unused field.
5238 (propertyChangeListener): Made private.
5239 (getAcceleratorRect): Removed unused method.
5240 (getAcceleratorText): Removed unused method.
5241 (getPath): Removed unnecessary cast.
5242 (installListeners): Fire synthetic property change to initialize
5243 TEXT_LAYOUT_CACHE for the button because the font has been
5245 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5246 (layoutMenuItem): Removed unused statements.
5248 2006-09-27 Roman Kennke <kennke@aicas.com>
5251 * javax/swing/tree/DefaultTreeModel.java
5252 (isLeaf): Check if the node allows children when
5253 asksAllowsChildren is true, otherwise fall back
5254 to return the node's leaf property.
5256 2006-09-27 Mario Torre <neugens@limasoftware.net>
5258 * scripts/check_jni_methods.sh: removed methods from the
5260 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5261 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5262 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5263 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5264 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5265 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5266 to better follow the GNU style.
5267 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5268 regenerated header file for GConfNativePeer.
5270 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
5272 * INSTALL: Added information about grmic being built when ASM
5273 is available, added information about gconf dependency, indented
5274 Qt4 dependency section.
5275 * configure.ac: Added information about grmic being built when ASM
5278 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
5280 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5281 DeleteGlobalRef on a local ref.
5283 2006-09-24 Mario Torre <neugens@limasoftware.net>
5285 * scripts/check_jni_methods.sh: added two new methods in the
5287 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5289 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5290 * native/jni/gconf-peer/GConfNativePeer.c:
5291 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5292 refacored method name, renamed from
5293 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5294 Added code to unescape escaped GConf key names.
5295 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5296 refacored method name, renamed from
5297 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5298 Added code to unescape escaped GConf key names.
5299 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5301 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5303 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5304 version javadoc tag.
5305 (escapeString): new method.
5306 (unescapeString): likewise.
5307 (gconf_escape_key): new native method.
5308 (gconf_unescape_key): likewise.
5309 (gconf_client_suggest_sync): update native method signature, now
5310 explicity throws BackingStoreException.
5311 (gconf_client_all_nodes): update native method signature, now
5312 explicity throws BackingStoreException. Refactored method name,
5313 renamed from gconf_client_gconf_client_all_nodes.
5314 (gconf_client_all_keys): update native method signature, now
5315 explicity throws BackingStoreException. Refactored method name,
5316 renamed from gconf_client_gconf_client_all_keys.
5317 (getKeys): refactored to use the new method name
5318 gconf_client_all_keys.
5319 (getChildrenNodes): refactored to use the new method name
5320 gconf_client_all_nodes.
5321 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5322 version javadoc tag.
5323 (GConfBasedPreferences): Added code to escape node names from
5324 invalid characters so that GConf now accept invalid node names.
5325 (GConfBasedPreferences): Moved code to register the current
5326 node to the list of nodes watched by GConf outside the constructor.
5327 (childSpi): Added code to register the current node to the
5328 list of nodes watched by GConf.
5329 (getGConfKey): Added code to escape key names from
5330 invalid characters so that GConf now accept invalid key names.
5332 2006-09-26 Tom Tromey <tromey@redhat.com>
5334 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5335 call mkdirs in output-directory case.
5336 (getPrintStream): Create output directory.
5337 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5340 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
5342 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5343 Accept three additional arguments.
5344 (writePreambleImpl): New method.
5345 (getPrintStreamImpl): Likewise.
5346 (printClass): Adapted to use new methods in Printer superclass.
5347 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5348 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5349 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5350 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5352 (getParser): Add support for -o option.
5353 Check that only one of -d or -o is defined.
5354 Add support for -jni option.
5355 Add support for -force option.
5356 (makeOutputFile): New method.
5357 (writeHeaders): Removed File argument from signature.
5358 (run): Take into account newly added fields.
5359 Invoke concrete PrintStream implementations with augmented constructors.
5360 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5361 (isDirectory): Likewise.
5363 (wrotePreamble): Likewise.
5364 (Printer): Changed ctor to accept three additional arguments.
5365 (printClass): Changed signature to accept one ClassWrapper argument.
5366 (writePreambleImpl): New abstract method.
5367 (getPrintStreamImpl): Likewise.
5368 (getPrintStream): New method.
5369 (writePreamble): Likewise.
5371 2006-09-26 Tania Bento <tbento@redhat.com>
5373 * java/awt/GridLayout.java
5374 (toString): There is no common before hgap.
5375 * java/awt/Rectangle.java
5376 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5377 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
5379 (Rectangle(Point)): Throw NPE if Point is null.
5380 (Rectangle(Dimension)): Throw NPE if Dimension is null.
5382 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5384 * javax/swing/plaf/metal/MetalIconFactory.java
5385 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5386 returned by getShift(),
5387 (FileIcon16.getShift): Updated API docs,
5388 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5389 returned by getShift(),
5390 (FolderIcon16.getShift): Updated API docs,
5391 (TreeFolderIcon.getShift): Likewise,
5392 (TreeLeafIcon.getShift): Likewise.
5394 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
5396 * javax/swing/plaf/metal/MetalIconFactory.java
5397 (FileIcon16.paintIcon): Fetch colors from look and feel,
5398 (FolderIcon16.paintIcon): Likewise.
5400 2006-09-25 Casey Marshall <csm@gnu.org>
5402 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5404 (write): revert back to using `writeGathering.'
5405 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5406 the first buffer that has data remaining, and start at that one.
5408 2006-09-25 Tom Tromey <tromey@redhat.com>
5410 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5413 2006-09-25 Tom Tromey <tromey@redhat.com>
5415 * tools/.cvsignore: Updated.
5417 2006-09-25 Tom Tromey <tromey@redhat.com>
5420 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5421 (Encoder.canEncode): Likewise.
5422 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5423 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5425 (Encoder.canEncode): Likewise.
5426 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5428 (Encoder.canEncode): Likewise.
5430 2006-09-25 Tom Tromey <tromey@redhat.com>
5432 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5435 2006-09-25 Francis Kung <fkung@redhat.com>
5437 * java/awt/image/ColorModel.java
5438 (coerceData): Made abstract.
5439 (coerceDataWorker): New protected method.
5440 * java/awt/image/ComponentColorModel.java
5441 (coerceData): Return new instance of proper ColorModel.
5442 * java/awt/image/DirectColorModel.java
5443 (coerceData): Return new instance of proper ColorModel.
5444 * java/awt/image/IndexColorModel.java
5445 (coerceData): New method.
5447 2006-09-24 Casey Marshall <csm@gnu.org>
5449 * gnu/java/nio/FileChannelImpl.java
5450 (read): call `read' in a loop, don't use `readScattering.'
5451 (write): call `write' in a loop, don't use `writeGathering.'
5453 2006-09-24 Mark Wielaard <mark@klomp.org>
5455 * configure.ac: Move -pedantic from WARNING to STRICT flags.
5457 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5459 * java/nio/channels/spi/AbstractSelectableChannel.java
5460 (register): Set interestOps and attachment when the key already
5463 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5465 * java/net/ServerSocket.java
5466 (bind(SocketAddress,int)): Added support for null address.
5467 Throw proper exception if already bound.
5468 Handle unresolved addresses correctly. Ignore exceptions that
5469 happen during close in error path (to prevent losing the original
5472 2006-09-24 Mark Wielaard <mark@klomp.org>
5474 Suggested by Aaron M. Ucko <ucko@debian.org>
5476 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5478 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5480 * java/nio/channels/spi/AbstractSelectableChannel.java
5481 (implCloseChannel): Cancel all keys after closing the channel.
5483 2006-09-22 Casey Marshall <csm@gnu.org>
5485 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5486 after we delete them.
5487 (selectedKeys): return an empty set if nothing's been selected.
5488 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5489 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5490 throw an exception on EBADF.
5491 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5492 throw exception on EINTR, just return 0.
5494 2006-09-22 Casey Marshall <csm@gnu.org>
5496 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5497 remove `const' from `filename.'
5498 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5500 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5502 2006-09-22 Casey Marshall <csm@gnu.org>
5504 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5505 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5506 allocate `filename,' and handle changes to `cpio_readDir.'
5507 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5508 available; copy the filename into the destination buffer; return
5509 an error code if readdir returns NULL, but errno is 0.
5510 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5511 parameter to `const char *.'
5513 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5515 * javax/management/ObjectName.java:
5518 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5520 * resource/gnu/classpath/tools/orbd: New directory.
5521 * resource/gnu/classpath/tools/rmic: Likewise.
5522 * resource/gnu/classpath/tools/rmid: Likewise.
5523 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5524 * resource/gnu/classpath/tools/tnameserv: Likewise.
5525 * tools/gnu/classpath/tools/giop: Move contents to...
5526 * tools/gnu/classpath/tools/orbd,
5527 tools/gnu/classpath/tools/tnameserv: New directories.
5528 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5529 * tools/gnu/classpath/tools/rmic: New directory.
5530 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5531 * tools/gnu/classpath/tools/rmid: New directory.
5532 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5533 * tools/gnu/classpath/tools/rmiregistry: New directory.
5534 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5535 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5536 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5537 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5539 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5541 * tools/gnu/classpath/tools/orbd/Main.java,
5542 tools/gnu/classpath/tools/orbd/Messages.java,
5543 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5544 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5545 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5546 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5547 tools/gnu/classpath/tools/rmic/CompilationError.java,
5548 tools/gnu/classpath/tools/rmic/Generator.java,
5549 tools/gnu/classpath/tools/rmic/GiopIo.java,
5550 tools/gnu/classpath/tools/rmic/HashFinder.java,
5551 tools/gnu/classpath/tools/rmic/Main.java,
5552 tools/gnu/classpath/tools/rmic/Messages.java,
5553 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5554 tools/gnu/classpath/tools/rmic/RMICException.java,
5555 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5556 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5557 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5558 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5559 tools/gnu/classpath/tools/rmic/Variables.java,
5560 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5561 tools/gnu/classpath/tools/rmic/templates,
5562 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5563 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5564 tools/gnu/classpath/tools/rmid/Main.java,
5565 tools/gnu/classpath/tools/rmid/Messages.java,
5566 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5567 tools/gnu/classpath/tools/rmiregistry/Main.java,
5568 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5569 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5570 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5571 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5572 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5573 tools/gnu/classpath/tools/tnameserv/Main.java,
5574 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5575 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5576 RMIC.java from cp-tools.
5577 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5578 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5579 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5581 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5582 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5584 (start): New method.
5585 * tools/Makefile.am: Add build support for new tool wrappers.
5586 * tools/gorbd.in: New file.
5587 * tools/grmic.in: Likewise.
5588 * tools/grmid.in: Likewise.
5589 * tools/grmiregistry.in: Likewise.
5590 * tools/gtnameserv.in: Likewise.
5591 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5592 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5594 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5595 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5596 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5598 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5601 * gnu/java/util/regex/RETokenRepeated.java
5602 (findMatch): Rewriten without using recursive calls,
5603 (FindMatchControlStack): New class,
5604 (FindMatchControl): New class,
5605 (TryAnotherResult): New class,
5606 (tryAnother): New method.
5608 2006-09-22 Gary Benson <gbenson@redhat.com>
5610 * java/net/SocketPermission.java
5611 (processHostport): Cope with IPv6 addresses with a
5612 one-digit first component.
5614 2006-09-22 Roman Kennke <kennke@aicas.com>
5616 * java/awt/Component.java
5617 (enableEvents): Set newEventsOnly flag.
5618 * java/awt/Container.java
5619 (dispatchEventImpl): Consume event if lightweight dispatcher
5620 dispatched the event. Don't call processEvent() here, this
5621 is already done in Component.dispatchEventImpl(). For
5622 heavyweights or when the lightweight dispatcher could
5623 not dispatch, fall back to calling super.
5624 (dispatchNoLightweight): New helper method to avoid
5625 recursivly calling the lightweight dispatcher.
5626 * java/awt/LightweightDispatcher.java
5627 (dragButton): Removed field.
5628 (dragTarget): Removed field.
5629 (mouseEventTarget): New field.
5630 (convertPointToChild): Removed method.
5631 (dispatchEvent): Don't depend on component beeing
5633 (findTarget): Improved algorithm for finding a target.
5634 Before we went down to the deepest component and went
5635 up again to find a suitable target. Now we go
5636 down only once, without going up.
5637 (handleMouseEvent): Broke method down into some smaller
5639 (isDragging): New helper method.
5640 (isMouseListening): New helper method.
5641 (redispatch): New helper method.
5642 (trackEnterExit): New helper method.
5644 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5646 * javax/swing/SizeSequence.java
5647 (getSize): Return 0 if index is out of bounds.
5649 2006-09-21 Tom Tromey <tromey@redhat.com>
5651 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5652 (PathOptionGroup): Make -I a joined option.
5653 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5654 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5655 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5656 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5657 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5658 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5659 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5660 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5661 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5662 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5663 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5664 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5665 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5666 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5667 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5668 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5669 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5670 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5671 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5672 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5673 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5675 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5676 * tools/gnu/classpath/tools/common/Messages.java: New file.
5677 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5678 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5680 (ClasspathToolParser): Add -J option here.
5681 (ClasspathToolParser): Call other constructor in this class.
5682 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5683 Handle joined options.
5684 (handleShortOptions): Likewise.
5685 (handleShortOption): Removed.
5686 (finalGroup): New field.
5687 (Parser): Initialize new field. Don't add -J option.
5688 (addFinal): New method.
5689 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5691 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5692 (Option): Check short option for validity.
5693 (Option): New constructors.
5694 (joined): New field.
5696 2006-09-21 csm <csm@pollux.local>
5698 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5699 `InterruptedIOException;' try again if it gets thrown.
5700 (receive): likewise, but re-throw `SocketTimeoutException.'
5701 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5702 if we have nothing to select.
5704 2006-09-21 Francis Kung <fkung@redhat.com>
5706 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5707 (getLogicalBounds): Respect glyph transformations.
5708 (getGlyphOutline): Added null pointer check.
5709 (getGlyphTransform): Do not generate identity transform (API permits null).
5710 (setGlyphPosition): Do not invalidate transform.
5711 (setGlyphTransform): Do not modify glyph position.
5713 2006-09-21 Francis Kung <fkung@redhat.com>
5715 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5717 2006-09-21 Francis Kung <fkung@redhat.com>
5719 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5720 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5721 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5723 2006-09-21 Tania Bento <tbento@redhat.com>
5725 * javax/swing/JTabbedPane.java:
5726 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5727 (setModel): A ChangeListener should be created only if there does not
5728 currently exist one.
5730 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5732 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5733 (MaximizeAction.actionPerformed): Change icon on maxButton.
5735 2006-09-21 Roman Kennke <kennke@aicas.com>
5737 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5738 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5739 Use more efficient getViewPosition() and getViewSize() methods
5740 to avoid creating a rectangle.
5741 (HSBChangeListener.stateChanged): Update the view position
5742 unconditionally. Let the Viewport figure out if something
5744 (VSBChangeListener.stateChanged): Update the view position
5745 unconditionally. Let the Viewport figure out if something
5747 * javax/swing/JViewport.java
5748 (ViewListener.componentResized): Fire state change, because
5749 the extentSize changes.
5750 (extentSize): Removed unneeded field.
5751 (viewSize): Removed unneeded field.
5752 (getExtentSize): Return the viewport's size here.
5753 (getViewRect): Reformatted.
5754 (getViewSize): Reordered for only one return statement.
5755 (paintImmediately2): Fixed up javadoc.
5756 (paint): Removed unneeded statement.
5757 (setExtentSize): Set viewport size and check for actual change
5759 (setViewPosition): Simplified condition. Set scrollUnderway
5760 true and don't set isViewSizeSet. Avoid creating one Point
5762 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5764 * javax/swing/JScrollBar.java
5765 (ScrollBarListener): New class. Forwards change events from
5766 the model as adjustment events.
5767 (sbChangeListener): New field.
5768 (JScrollBar): Install listener on new model.
5769 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5771 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5772 method to allow custom isAdjusting value.
5773 (setMaximum): Only forward to model.
5774 (setMinimum): Only forward to model.
5775 (setValue): Only forward to model.
5776 (setVisibleAmount): Only forward to model.
5777 (setValues): Only forward to model.
5778 (setModel): Update the change listener.
5780 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5782 * java/util/Formatter.java (basicIntegralConversion): Removed
5783 check for ZERO && !LEFT_JUSTIFY.
5785 2006-09-20 Roman Kennke <kennke@aicas.com>
5788 * javax/swing/plaf/metal/DefaultMetalTheme.java
5789 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5790 (BOLD_CONTROL_TEXT_FONT): New constant field.
5791 (PLAIN_MENU_TEXT_FONT): New constant field.
5792 (BOLD_MENU_TEXT_FONT): New constant field.
5793 (controlTextFont): Removed.
5794 (menuTextFont): Removed.
5795 (CONTROL_TEXT_FONT): New constant field.
5796 (MENU_TEXT_FONT): New constant field.
5797 (getControlTextFont): Use getFont() helper method for fetching
5799 (getMenuTextFont): Use getFont() helper method for fetching
5801 (getFont): New helper method.
5802 (isBoldMetal): New helper method.
5804 2006-09-20 Casey Marshall <csm@gnu.org>
5806 * NEWS: mention epoll selector along with the kqueue one.
5808 2006-09-20 Casey Marshall <csm@gnu.org>
5810 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5811 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5813 2006-09-20 Francis Kung <fkung@redhat.com>
5816 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5817 (getGlyphTransform): Use translation instead of scale.
5818 (performDefaultLayout): Increment position values instead of resetting, and
5819 pre-increment instead of post-increment.
5820 (setGlyphTransform): Handle null case with identity transform.
5822 2006-09-20 Casey Marshall <csm@gnu.org>
5824 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5825 (AC_CHECK_FUNCS): check for `epoll_create.'
5826 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5827 * gnu/java/nio/EpollSelectorImpl.java: new file.
5828 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5830 (openSelector): return epoll selector if requested and available.
5831 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5832 (gnu_java_nio_EpollSelectorImpl.h): new target.
5833 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5834 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5835 gnu_java_nio_EpollSelectorImpl.c.
5836 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5838 2006-09-20 Casey Marshall <csm@gnu.org>
5840 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5842 (isConnected): return false if `connectionPending' is true.
5844 2006-09-20 Francis Kung <fkung@redhat.com>
5847 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5848 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5849 (getGlyphOutline): Call getGylphTransform to generate transform.
5850 (getGylphPosition): Read position directly out of array.
5851 (getGlyphPositions): Read positions directly out of array.
5852 (getGlyphTransform): Generate transform based on gylphPositions array.
5853 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5854 (setGlyphPosition): Set position directly into array.
5855 (setGlyphTransform): Update positions array as well.
5857 2006-09-20 David Daney <ddaney@avtrex.com>
5860 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5861 default content-type for POST method.
5863 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5865 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5866 (BasicRadioButtonUI): Don't fetch icon here,
5867 (installDefaults): Initialise icon here,
5868 (getDefaultIcon): Just return icon.
5870 2006-09-20 Mark Wielaard <mark@klomp.org>
5872 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5873 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5874 (EXTRA_DIST): Include javanio.c.
5876 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5878 * java/awt/geom/RoundRectangle2D.java:
5879 (getPathIterator): Reimplemented,
5880 and updated various API doc comments.
5882 2006-09-20 Roman Kennke <kennke@aicas.com>
5884 * java/awt/Container.java
5885 (addImpl): Set the new component's parent after it has been
5886 added to the array. Call addNotify() and invalidate()
5887 after the component has been added, so that the peer
5888 gets to know about the component structure when it is created.
5889 * java/awt/Window.java
5890 (dispatchEventImpl): Only revalidate when window is resized,
5891 let the other stuff be processed by the superclass.
5892 (dispose): Post WINDOW_CLOSED event only when some listener
5893 is registered or event is explicitly enabled.
5894 (show): Post WINDOW_OPENED event when appropriate.
5896 2006-09-20 Roman Kennke <kennke@aicas.com>
5898 * java/awt/Component.java
5899 (addNotify): Invalidate here. Fetch peer font.
5900 (getFont): Delegate to helper method, to protect from
5901 overriding client code. Lock the tree while fetching the font.
5902 (getFontImpl): New helper method. Moved code from getFont() in
5904 (removeNotify): Nullify peerFont too.
5905 (setFont): Synchronize on tree and component to avoid threading
5906 issues. Update the peerFont correctly.
5907 (validate): Update the peer font if necessary, before validating.
5908 (getGraphics): Revert to recursive graphics fetching.
5909 Set component font on the Graphics object.
5910 (translateEvent): Removed unnecessary cast.
5911 * java/awt/Container.java
5912 (invalidateTree): Made final and private. Made implementation
5913 slightly more efficient.
5914 (setFont): Get old and new font via getFont() to account for
5915 the real font, and only invalidate the tree when they are not
5916 the same and not equal.
5917 (visitChild): Set the font of the child on the component graphics.
5918 * java/awt/Frame.java
5919 (setMenuBar): Create local reference of peer for thread safety.
5920 Only call simple invalidate, not invalidateTree().
5922 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5925 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5926 (constructor): Copy image field.
5928 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5930 * javax/swing/JMenuBar.java
5931 (getHelpMenu): Implemented to throw an Error, and added API docs,
5932 (getMargin): Added API docs,
5933 (setMargin): Likewise.
5935 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5937 * javax/swing/AbstractButton.java
5938 (AbstractButton): Don't call updateUI(),
5939 * javax/swing/JButton.java
5940 (JButton(String, Icon)): Call setModel() before init(),
5941 * javax/swing/JMenuItem.java
5942 (JMenuItem()): Delegate to another constructor,
5943 (JMenuItem(Icon)): Likewise,
5944 (JMenuItem(Action)): Set model,
5945 (JMenuItem(String, Icon)): Likewise,
5946 * javax/swing/JToggleButton.java
5947 (init): Call setModel() before init().
5949 2006-09-19 Mark Wielaard <mark@klomp.org>
5952 * java/util/logging/LogManager.java (addLogger): Always check for
5953 existing children of a new Logger.
5955 2006-09-19 Roman Kennke <kennke@aicas.com>
5957 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5958 (HSBChangeListener.stateChanged): Moved handling of header to
5959 syncScrollPaneWithViewport().
5960 (VSBChangeListener.stateChanged): Moved handling of header to
5961 syncScrollPaneWithViewport().
5962 (ViewportChangedHandler.stateChanged): Removed unused statements.
5963 (syncScrollPaneWithViewport): Added null checks. Use setValues
5964 rather then the single setter methods to avoid multiple
5965 adjustments and side effects. Also snyc the headers here.
5966 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5967 (uninstallUI): Removed unnecessary cast and this qualifier as well
5968 as the call to super.
5970 2006-09-19 Gary Benson <gbenson@redhat.com>
5972 * java/net/ResolverCache.java: New class (a DNS cache).
5973 * java/net/InetAddress.java
5974 (internalGetCanonicalHostName, getAllByName): Use the above.
5976 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5978 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5979 * java/net/ServerSocket.java
5981 (bind): Set port field.
5982 (close): Set impl to null.
5983 (isClosed): Check impl and channel instead of using VMChannel.
5984 (toString): Use port field and getLocalPort() method.
5985 * java/net/Socket.java
5986 (isClosed): Check impl and channel instead of using VMChannel.
5988 2006-09-18 Tom Tromey <tromey@redhat.com>
5990 * java/util/concurrent/CopyOnWriteArrayList.java
5991 (CopyOnWriteArrayList): New constructor.
5993 2006-09-18 Casey Marshall <csm@gnu.org>
5995 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5996 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5998 2006-09-18 Tom Tromey <tromey@redhat.com>
6000 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
6001 isConnected): Removed old comment.
6002 (getRemoteSocketAddress): Uncommented.
6003 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
6004 setTrafficClass, getTrafficClass, setReuseAddress,
6005 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
6006 isOutputShutdown): Uncommented.
6008 2006-09-18 David Pirkle <dpirkle@symyx.com>
6011 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
6012 input stream during resolution.
6014 2006-09-18 Roman Kennke <kennke@aicas.com>
6016 * java/awt/LightweightDispatcher.java
6017 (findTarget): Correctly translate child coordinates.
6018 Use Component.eventTypeEnabled() for checking if a component
6019 has a certain event enabled.
6020 (handleMouseEvent): Find the correct mouse event target.
6021 Use Component.eventTypeEnabled() for checking if a component
6022 has a certain event enabled.
6024 2006-09-18 Roman Kennke <kennke@aicas.com>
6026 * java/awt/Component.java
6027 (show): Test for the peer beeing lightweight directly.
6028 (paintAll): Validate before painting. Don't paint when not
6029 showing. Call peer.paint() when the component is heavyweight.
6030 (repaint): Delegate to the parent when lightweight, rather
6031 than skipping to the nearest heavyweight.
6032 (createImage): Added null check to prevent NPE.
6033 (dispatchEvent): Moved old event dispatching and toolkit
6034 event dispatching to dispatchEventImpl.
6035 (addComponentListener): Don't enable event. Only add listener
6036 when not null. Switch to new event dispatching only.
6037 (addFocusListener): Likewise.
6038 (addHierarchyListener): Likewise.
6039 (addHierarchyBoundsListener): Likewise.
6040 (addKeyListener): Likewise.
6041 (addMouseListener): Likewise.
6042 (addMouseMotionListener): Likewise.
6043 (addMouseWheelListener): Likewise.
6044 (addInputMethodListener): Likewise.
6045 (coalesceEvents): For mouse events coalesce them only when
6046 their modifiers are equal. For paint events coalesce the events
6047 when one contains the other, without going through complicated
6049 (dispatchEventImpl): Moved old event dispatching and toolkit
6050 event dispatching to dispatchEventImpl.
6051 (coalescePaintEvents): Removed.
6052 (HeavyweightInLightweightListener.componentHidden):
6054 * java/awt/Container.java
6055 (addImpl): Don't enable events on lightweights.
6056 (remove): Reordered operations. Don't remove any listeners.
6057 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6058 Only removeNotify() when peer is != null. Only invalidate if
6059 not already invalid. Only fire ContainerEvent if there is
6060 an interested listener or the event is enabled. Dispatch this
6061 event directly without the event queue.
6062 (removeAll): Likewise.
6063 (paintComponents): Only paint when showing. Also paint heavyweights.
6064 Don't paint the container itself.
6065 (removeNotify): Create local variables for improved thread safety.
6066 (addNotifyContainerChildren): Don't enable events for lightweights.
6068 2006-09-18 Roman Kennke <kennke@aicas.com>
6070 * java/awt/EventQueue.java
6071 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6072 (next_in): Removed obsolete field.
6073 (next_out): Removed obsolete field.
6074 (queueHead): New field. Markes the head of the queue.
6075 (queueTail): New field. Markes the tail of the queue.
6076 (queue): Removed obsolete field.
6077 (EventQueue): Documented empty block.
6078 (getNextEvent): Changed array based implementation to single-linked
6079 list based implementation.
6080 (invokeAndWait): Use an Object as synchronization object rather
6081 than the current thread.
6082 (peekEvent(int)): Changed array based implementation to single-linked
6083 list based implementation.
6084 (peekEvent()): Changed array based implementation to single-linked
6085 list based implementation.
6086 (pop()): Changed array based implementation to single-linked
6087 list based implementation.
6088 (postEvent): Foward to postEventImpl.
6089 (postEventImpl): Changed array based implementation to single-linked
6090 list based implementation.
6091 (push): Changed array based implementation to single-linked
6092 list based implementation.
6093 * java/awt/AWTEvent.java
6094 (queueNext): New field. Implements a single-linked list for
6097 2006-09-17 Mark Wielaard <mark@klomp.org>
6099 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6100 resource from HTMLEditorKit.class.
6102 2006-09-17 Mark Wielaard <mark@klomp.org>
6104 * javax/swing/plaf/basic/BasicToolBarUI.java
6105 (setBorderToNonRollover): Check whether border is null.
6106 (setBorderToRollover): Likewise.
6108 2006-09-17 Mark Wielaard <mark@klomp.org>
6110 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6112 2006-09-17 Mark Wielaard <mark@klomp.org>
6114 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6115 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6116 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6117 (Java_gnu_java_nio_VMChannel_lock): Likewise.
6118 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6120 2006-09-17 Casey Marshall <csm@gnu.org>
6122 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6125 2006-09-17 Chris Burdess <dog@gnu.org>
6127 Fixes PR 27610 27687.
6128 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6129 * gnu/xml/transform/SAXTemplatesHandler.java,
6130 * gnu/xml/transform/SAXTransformerHandler.java: New files.
6131 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6132 SAXTransformerFactory.
6134 2006-09-16 Casey Marshall <csm@gnu.org>
6137 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6138 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6140 (HAVE_INET6): define if IPv6 is supported.
6141 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6142 (native_fd): removed.
6144 (<init>): throw IOException; initialize fields.
6145 (finalize): removed.
6146 (getNativeFD): removed.
6147 (bind): use `PlainSocketImpl.bind.'
6148 (create): use `PlainSocketImpl.initSocket.'
6149 (disconnect): use `PlainSocketImpl.disconnect.'
6150 (getLocalPort): new method.
6151 (send): use `VMChannel.send.'
6152 (receive): use `VMChannel.receive.'
6153 (setOption): use `PlainSocketImpl.setOption.'
6154 (getOption): use `PlainSocketImpl.getOption.'
6155 (close): use `VMChannel.State.close.'
6156 (join): use `PlainSocketImpl.join.'
6157 (leave): use `PlainSocketImpl.leave.'
6158 (joinGroup, leaveGroup): implemented.
6159 * gnu/java/net/PlainSocketImpl.java: make non-final.
6160 (native_fd): removed.
6162 (channel): new field.
6163 (<init>): initialize `impl.'
6164 (finalize, getNativeFD): removed.
6165 (setOption): use `PlainSocketImpl.setOption.'
6166 (getOption): use `PlainSocketImpl.getOption.'
6167 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6168 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6169 (create): create `channel,' initialize `impl's native state.
6170 (connect): use `connect(SocketAddress, int).'
6171 (connect): use `SocketChannelImpl.connect;' initialize `address'
6173 (bind): use `VMPlainSocketImpl.bind.'
6174 (listen): use `VMPlainSocketImpl.listen.'
6175 (accept): use `SocketChannelImpl.accept.'
6176 (available): use `VMChannel.available.'
6177 (close): use `PlainSocketImpl.close.'
6178 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6179 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6180 getPort): new methods.
6181 (SocketInputStream.read): use `VMChannel.read.'
6182 (SocketInputStream.read): use `SocketChannel.read.'
6183 (SocketOutputStream.write): use `VMChannel.write.'
6184 (SocketOutputStream.write): use `SocketChannel.write.'
6185 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6186 (channel): new field.
6187 (<init>): initialize `channel.'
6188 (implCloseSelectableChannel): use `VMChannel.close.'
6189 (implConfigureBlocking): use `VMChannel.setBlocking.'
6190 (connect): use `VMChannel.connect.'
6191 (disconnect): use `VMChannel.disconnect.'
6192 (isConnected): use `VMChannel.getPeerAddress.'
6193 (write): use `VMChannel.write.'
6194 (write): use `VMChannel.writeGathering.'
6195 (read): use `VMChannel.read.'
6196 (read): use `VMChannel.readScattering.'
6197 (receive): use `VMChannel.receive.'
6198 (send): use `VMChannel.send.'
6199 (getVMChannel): new method.
6200 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6201 access native FD through VMChannel.State.
6202 * gnu/java/nio/FileChannelImpl.java: moved from
6203 gnu/java/nio/channels/FileChannelImpl.java.
6204 * gnu/java/nio/FileLockImpl.java: fix imports.
6205 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6206 * gnu/java/nio/KqueueSelectorImpl.java: new file.
6207 * gnu/java/nio/NIOSocket.java (impl): removed.
6208 (channel): new field.
6209 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6210 (getPlainSocketImpl, setChannel): removed.
6211 (isConnected): new method.
6212 * gnu/java/nio/NIOSocketImpl.java: new file.
6213 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6215 (SourceChannelImpl.native_fd): removed.
6216 (SourceChannelImpl.<init>): init with a `VMChannel.'
6217 (SourceChannelImpl.getNativeFD): removed.
6218 (SourceChannelImpl.getVMChannel): new method.
6219 (SourceChannelImpl.implCloseSelectableChannel): implement.
6220 (SinkChannelImpl): implement `VMChannelOwner.'
6221 (SinkChannelImpl.native_fd): removed.
6222 (SinkChannelImpl.<init>): init with a `VMChannel.'
6223 (SinkChannelImpl.implCloseSelectableChannel): implement.
6224 (SinkChannelImpl.getNativeFD): removed.
6225 (SinkChannelImpl.getVMChannel): new method.
6226 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6228 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6229 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6230 (openSelector): return kqueue selector if available.
6231 * gnu/java/nio/ServerSocketChannelImpl.java: implement
6233 (channel): new field.
6234 (<init>): init `channel.'
6235 (finalizer): check if the `VMChannel.State' is valid.
6236 (implCloseSelectableChannel): use `VMChannel.close.'
6237 (implConfigureBlocking): use `VMChannel.setBlocking.'
6238 (accept): use `VMChannel.accept.'
6239 (getVMChannel): new method.
6240 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6241 access native FD through `VMChannel.State.'
6242 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6244 (channel, connected, connectAddress): new field.
6245 (<init>): new constructors.
6246 (getPlainSocketImpl): removed.
6247 (implCloseSelectableChannel): use `VMChannel.close.'
6248 (implConfigureBlocking): use `VMChannel.setBlocking.'
6249 (connect): use `connect(SocketAddress,int).'
6250 (connect): use `VMChannel.connect.'
6251 (finishConnect): don't use a selector.
6252 (isConnected): use `VMChannel.getPeerAddress.'
6253 (read): use `VMChannel.read.'
6254 (read): use `VMChannel.readScattering.'
6255 (write): use `VMChannel.write.'
6256 (write): use `VMChannel.writeGathering.'
6257 (getVMChannel): new method.
6258 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6259 native FD from `VMChannel.State.'
6260 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6261 get native FD from `VMChannel.State.'
6262 * gnu/java/nio/VMChannelOwner.java: new file.
6263 * gnu/java/nio/channels/FileChannelImpl.java: removed.
6264 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6265 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6266 `gnu_java_nio_channels_FileChannelImpl.h.'
6267 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6268 * include/gnu_java_nio_FileChannelImpl.h: new file.
6269 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6270 * include/gnu_java_nio_VMChannel.h: regenerated.
6271 * include/gnu_java_nio_VMPipe.h: regenerated.
6272 * include/java_net_VMNetworkInterface.h: regenerated.
6273 * java/io/FileDescriptor.java: fix imports.
6274 * java/io/FileInputStream.java (<init>): handle exceptions.
6275 (read): wrap the destination arary.
6276 * java/io/FileOutputStream.java (<init>): handle exceptions.
6277 (write): wrap the source array.
6278 * java/io/RandomAccessFile.java (<init>): handle exceptions.
6279 * java/net/DatagramSocket.java (<init>): handle exceptions.
6280 (receive): handle length/port setting.
6281 (connect): bind to any address/port if the argument is null.
6282 * java/net/NetworkInterface.java (name, inetAddress): removed.
6284 (<init>): make private.
6285 (getName): return `netif.name.'
6286 (getInetAddresses): access `netif.addresses.'
6287 (getDisplayName): return `netif.name.'
6288 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6289 (condense): removed.
6290 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6291 (equals): compare `netif' fields.
6292 (hashCode): get hash codes from `netif.'
6293 (toString): use a StringBuffer.
6294 * java/net/ServerSocket.java (close): don't set `impl' to null.
6295 (isClosed): use `VMChannel.State.isClosed.'
6296 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6297 the `SocketImpl' is a `PlainSocketImpl.'
6298 (close): just close the `impl.'
6299 (toString): use `super.toString' in the value we return.
6300 (isConnected): just access `impl,' not `getImpl.'
6301 (isBound): use `PlainSocketImpl' methods if we can.
6302 (isClosed): look at `VMChannel.State.'
6303 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6304 (JCL_NewRawDataObject): don't initialize cached fields here; throw
6305 an exception if they were not.
6306 (JCL_GetRawData): throw an exception if cached fields weren't
6308 * native/jni/java-lang/java_lang_VMProcess.c: handle
6309 FileChannelImpl move.
6310 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6311 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6312 THROW_NO_NETWORK): new macros.
6313 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6314 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6315 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6316 (java_sockopt): new enum.
6317 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6318 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6319 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6321 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6323 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6325 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6326 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6327 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6328 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6329 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6330 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6331 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6332 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6333 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6334 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6335 (getif_address): new function.
6336 (getif_index): new function.
6337 * native/jni/java-net/java_net_VMNetworkInterface.c
6338 (java_net_VMNetworkInterface_init,
6339 java_net_VMNetworkInterface_addAddress): new file-scope globals.
6340 (Java_java_net_VMNetworkInterface_initIds): new function.
6341 (struct netif_entry): new struct.
6342 (free_netif_list): new function.
6343 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6344 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6345 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6346 gnu_java_nio_channels_FileChannelImpl.c, add
6347 gnu_java_nio_KqueueSelectorImpl.c.
6348 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6349 * native/jni/java-nio/gnu_java_nio_VMChannel.c
6350 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6351 ALIGN_DOWN): new macros.
6352 (JCL_init_buffer): get the address through GetDirectBufferAddress
6354 (Java_gnu_java_nio_VMChannel_stdin_1fd,
6355 Java_gnu_java_nio_VMChannel_stdout_1fd,
6356 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6357 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6359 (Java_gnu_java_nio_VMChannel_read): renamed...
6360 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6361 this; handle interrupted IO; add HAVE_READ check.
6362 (Java_gnu_java_nio_VMChannel_write): renamed...
6363 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6364 this; handle zero-length write; add HAVE_WRITE check.
6365 (Java_gnu_java_nio_VMChannel_receive): new function.
6366 (Java_gnu_java_nio_VMChannel_send): new function.
6367 (Java_gnu_java_nio_VMChannel_send6): new function.
6368 (Java_gnu_java_nio_VMChannel_read__I): new function.
6369 (Java_gnu_java_nio_VMChannel_write__II): new function.
6370 (Java_gnu_java_nio_VMChannel_socket): new function.
6371 (Java_gnu_java_nio_VMChannel_connect): new function.
6372 (Java_gnu_java_nio_VMChannel_connect6): new function.
6373 (Java_gnu_java_nio_VMChannel_getsockname): new function.
6374 (Java_gnu_java_nio_VMChannel_getpeername): new function.
6375 (Java_gnu_java_nio_VMChannel_accept): new function.
6376 (Java_gnu_java_nio_VMChannel_disconnect): new function.
6377 (Java_gnu_java_nio_VMChannel_close): new function.
6378 (Java_gnu_java_nio_VMChannel_available): new function.
6379 (FileChannel_mode): new enum.
6380 (Java_gnu_java_nio_VMChannel_open): new function.
6381 (Java_gnu_java_nio_VMChannel_position): new function.
6382 (Java_gnu_java_nio_VMChannel_seek): new function.
6383 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6384 (Java_gnu_java_nio_VMChannel_lock): new function.
6385 (Java_gnu_java_nio_VMChannel_unlock): new function.
6386 (Java_gnu_java_nio_VMChannel_size): new function.
6387 (Java_gnu_java_nio_VMChannel_map): new function.
6388 (Java_gnu_java_nio_VMChannel_flush): new function.
6389 * native/jni/java-nio/gnu_java_nio_VMPipe.c
6390 (Java_gnu_java_nio_VMPipe_init): removed.
6391 (Java_gnu_java_nio_VMPipe_pipe0): new function.
6392 * native/jni/java-nio/javanio.c: new file.
6393 * native/jni/java-nio/javanio.h: new file.
6394 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6395 systems without `gethostbyname_r.'
6396 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6398 (<init>, <init>): new constructors.
6399 (setOption, getOption): make instance methods; defer to native
6402 (bind): make an instance method; defer to native methods.
6404 (available): removed.
6405 (listen): make an instance method; defer to native method.
6407 (join, leave): new methods.
6409 (joinGroup, leaveGroup): new methods.
6410 (shutdownInput, shutdownOutput): make instance methods.
6411 (sendUrgentData): removed.
6413 * vm/reference/gnu/java/nio/VMChannel.java: make final.
6416 (<init>): new, public constructors.
6417 (getVMChannel): methods removed.
6418 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6419 stderr_fd): new methods.
6420 (setBlocking): make an instance method.
6421 (available): new method.
6422 (read): get native fd from `nfd.'
6423 (read): new single-byte read method.
6424 (readScattering): get native fd from `nfd.'
6425 (receive): new method.
6426 (write, writeGathering): get native fd from `nfd.'
6428 (write): new single-byte write method.
6429 (initSocket): new method.
6430 (connect): new method.
6431 (disconnect): new method.
6432 (getLocalAddress): new method.
6433 (getPeerAddress): new method.
6434 (accept): new method.
6435 (openFile): new method.
6436 (position): new method.
6438 (truncate): new method.
6440 (unlock): new method.
6443 (flush): new method.
6444 (close): new method.
6447 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6448 (pipe, pipe0): new method.
6449 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6451 (<clinit>): call `initIds.'
6452 (initIds): new method.
6453 (getInterfaces): removed.
6454 (getVMInterfaces): new method.
6455 (addAddress): new method.
6456 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6458 2006-09-16 Chris Burdess <dog@gnu.org>
6461 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6462 when in text output mode.
6464 2006-09-16 Chris Burdess <dog@gnu.org>
6467 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6469 2006-09-14 Michael Koch <konqueror@gmx.de>
6471 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6473 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6475 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6476 Added !cl.isArray() to serialVersionUID mismatch check.
6478 2006-09-14 Francis Kung <fkung@redhat.com>
6480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6481 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6482 be compatibe with Cairo 1.2.x.
6484 2006-09-14 Francis Kung <fkung@redhat.com>
6486 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6487 (cairoSurfaceSetFilter): Removed method.
6488 (drawImage): Pass interpolation type as argument to drawing methods.
6489 (drawPixels): Added interpolation parameter.
6490 (drawRaster): Pass interpolation type as argument to drawing method.
6491 (getInterpolation): New method.
6492 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6493 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6494 * gnu/java/awt/peer/gtk/CairoSurface.java
6495 (drawSurface): Added interpolation parameter.
6496 (nativeDrawSurface): Added interpolation parameter.
6497 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6498 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6500 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6501 * native/jni/gtk-peer/cairographics2d.h
6502 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6503 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6504 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6506 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6507 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6508 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6509 interpolation parameter.
6511 2006-09-14 Gary Benson <gbenson@redhat.com>
6513 * java/net/InetAddress.java
6514 (internalGetCanonicalHostName): New method.
6515 (getCanonicalHostName): Use internalGetCanonicalHostName.
6516 (getByLiteral): New method.
6517 (getAllByName): Use getByLiteral.
6518 * java/net/SocketPermission.java
6519 (host): Replaced with...
6520 (hostname, address): New fields.
6521 (equals, hashcode): Reflect the above.
6522 (setHostPort): Parse host into hostname or address.
6523 (implies): Rewrite host checks.
6525 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6528 * java/awt/Menu.java
6529 (insert(MenuItem, int)): Fixed loop range,
6530 (insert(String, int)): Updated API docs.
6532 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6535 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6536 architectures (like Arm).
6537 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6538 Reverted SWAP_DOUBLE patch.
6539 (doubleToRawLongBits): Likewise.
6540 (longBitsToDouble): Likewise.
6542 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6544 * java/awt/Menu.java: Reformatted source file.
6546 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6548 * gnu/java/rmi/server/ActivatableRef.java
6549 (readExternal, writeExternal): Partial fix for serialization format.
6551 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6554 * java/io/InputStreamReader.java
6555 (read(char[],int,int)): Fixed bug.
6557 2006-09-13 Francis Kung <fkung@redhat.com>
6559 * java/awt/image/BandCombineOp.java: Updated documentation.
6560 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6562 2006-09-13 Tom Tromey <tromey@redhat.com>
6565 * java/io/PipedReader.java (read): Return early if len==0.
6566 * java/io/PipedInputStream.java (read): Return early if len==0.
6568 2006-09-13 Francis Kung <fkung@redhat.com>
6570 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6571 Removed hard-coded max sample value.
6572 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6573 Fixed finding of max sample value.
6575 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6577 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6578 (setPaint): Check null argument ('p').
6580 2006-09-12 Francis Kung <fkung@redhat.com>
6583 * gnu/java/awt/java2d/TexturePaintContext.java
6584 (constructor): Fixed typo, getMinY instead of getMaxX.
6585 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6586 (setPaint): Implemented support for custom Paint classes.
6587 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6588 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6589 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6590 to setPaintPixels, and added repeat parameter.
6591 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6592 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6594 2006-09-12 Gary Benson <gbenson@redhat.com>
6596 * java/net/NetworkInterface.java (getInetAddresses):
6597 Fix port used in security check.
6599 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6601 * javax/swing/plaf/metal/DefaultMetalTheme.java
6602 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6603 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6604 (getControlTextFont): Check 'swing.boldMetal' setting before
6606 (getMenuTextFont): Likewise.
6608 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6610 * javax/swing/plaf/metal/OceanTheme.java
6611 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6613 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6615 * javax/swing/plaf/metal/MetalIconFactory.java
6616 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6618 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6620 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6622 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6624 * javax/swing/AbstractButton.java
6625 (AbstractButton): Initialise textIconGap field.
6627 2006-09-11 Tom Tromey <tromey@redhat.com>
6629 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6630 "volatile" when needed.
6632 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6634 * java/text/AttributedCharacterIterator.java
6635 (LANGUAGE): Initialise with lower case string,
6636 (INPUT_METHOD_SEGMENT): Likewise,
6637 (READING): Likewise,
6638 * java/text/AttributedStringIterator.java
6639 (getRunLimit): Check all attributes for changes.
6641 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6643 * java/text/AttributedCharacterIterator.java: Added @since tag,
6644 renamed some variables (no underscores) and removed some spaces to
6645 match the common style,
6646 * java/text/AttributedString.java: Likewise,
6647 * java/text/AttributedStringIterator.java: Likewise.
6649 2006-09-11 Gary Benson <gbenson@redhat.com>
6651 * java/net/Inet4Address.java
6652 (FAMILY): Renamed back to AF_INET.
6653 (<init>, writeReplace): Reflect the above.
6654 * java/net/Inet6Address.java
6655 (FAMILY): Renamed back to AF_INET6.
6656 (<init>): Reflect the above.
6658 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6661 * java/text/AttributedString.java
6662 (AttributedString(AttributedCharacterIterator, int, int,
6663 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6666 2006-09-11 Gary Benson <gbenson@redhat.com>
6668 * java/net/Inet4Address.java
6669 (AF_INET): Renamed to FAMILY.
6670 (<init>, writeReplace): Reflect the above.
6671 * java/net/Inet6Address.java
6672 (AF_INET6): Renamed to FAMILY.
6673 (<init>): Reflect the above.
6675 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6678 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6679 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6680 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6681 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6682 (bind): Call getImpl().create(true).
6684 2006-09-09 Chris Burdess <dog@gnu.org>
6686 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6687 an instance of org.w3c.dom.NodeList.
6689 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6691 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6692 missing security manager when run in standalone mode.
6694 2006-09-08 Francis Kung <fkung@redhat.com>
6696 * java/awt/image/AffineTransformOp.java: Updated documentation.
6697 (createCompatibleDestRaster): Updated formatting.
6698 (filter(BufferedImage, BufferedImage)): Updated formatting.
6699 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6700 if colour model is compatible.
6701 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6702 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6704 2006-09-08 Gary Benson <gbenson@redhat.com>
6706 * java/net/InetAddress.java
6707 (family): Updated javadoc and made private.
6708 (<init>): Add an address family argument.
6709 (readObject): Don't overwrite family.
6710 * java/net/Inet4Address.java
6711 (AF_INET): New constant.
6712 (<init>): Use AF_INET as the family.
6713 (writeReplace): Likewise.
6714 * java/net/Inet6Address.java
6715 (AF_INET6): New constant.
6716 (<init>): Use AF_INET6 as the family.
6718 2006-09-08 Gary Benson <gbenson@redhat.com>
6720 * java/net/InetAddress.java
6721 (getHostName): Move lookup into getCanonicalHostName.
6722 (getCanonicalHostName): Move lookup from getHostName,
6723 Perform security check on canonical name (ie after lookup).
6725 2006-09-08 Gary Benson <gbenson@redhat.com>
6727 * java/net/Inet4Address.java (isMulticastAddress,
6728 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6729 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6730 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6731 implementations from InetAddress.
6732 * java/net/InetAddress.java (isMulticastAddress,
6733 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6734 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6735 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6736 implementations with UnsupportedOperationExceptions.
6738 2006-09-08 Gary Benson <gbenson@redhat.com>
6740 * java/net/InetAddress.java
6741 (inaddr_any): Removed.
6742 (ANY_IF, LOCALHOST): Create using getByAddress.
6743 (<init>): Updated javadoc.
6744 (getHostName): Cache hostname even if the lookup failed.
6745 (getByAddress): Create Inet4Address objects when passed
6746 IPv4-mapped IPv6 addresses.
6748 (getAllByName): Create address objects using getByAddress.
6749 Do not perform security checks unless actually required.
6750 Do not strip whitespace from the hostname.
6751 (getInaddrAny): Removed.
6752 (getLocalHost): Return the loopback address if getByName
6753 throws a SecurityException.
6754 (readResolve): Updated javadoc.
6755 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6756 * include/java_net_VMInetAddress.h
6757 (Java_java_net_VMInetAddress_aton): Likewise.
6758 * native/jni/java-net/java_net_VMInetAddress.c
6759 (Java_java_net_VMInetAddress_aton): New method.
6760 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6761 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6762 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6763 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6764 * NEWS: Added note about updated VM interface.
6766 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6768 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6769 (setNorthPane): Assign component to titlePane.
6771 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6773 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6774 Remove unused variable alt_addr.
6775 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6776 Remove unused variables.
6778 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6780 * javax/swing/plaf/metal/MetalScrollBarUI.java
6781 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6782 (createDecreaseButton): Don't fetch scrollBarWidth here,
6783 (createIncreaseButton): Likewise.
6785 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6787 * java/awt/image/MemoryImageSource.java: Added API docs.
6789 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6791 * javax/swing/plaf/basic/BasicScrollBarUI.java
6792 (installDefaults): Call configureScrollBarColors().
6794 2006-09-06 Francis Kung <fkung@redhat.com>
6796 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6797 (constructor): Make copy of arrays.
6798 (createCompatibleDestImage): Changed treatment of null ColorModel.
6799 (filter(BufferedImage, BufferedImage)): Re-implemented.
6800 (filter(Raster, WritableRaster, boolean[])): New method.
6801 (filter(Raster, WritableRaster)): Re-implemented.
6802 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6803 (getPoint2D): Cleaned up formatting.
6804 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6806 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6808 * javax/swing/UIManager.java
6809 (getBoolean(Object)): Reimplemented,
6810 (getBoolean(Object, Locale)): Likewise,
6811 (getBorder(Object)): Likewise,
6812 (getBorder(Object, Locale)): Likewise,
6813 (getColor(Object)): Likewise,
6814 (getColor(Object, Locale)): Likewise,
6815 (getDimension(Object)): Likewise,
6816 (getDimension(Object, Locale)): Likewise,
6817 (getFont(Object)): Likewise,
6818 (getFont(Object, Locale)): Likewise,
6819 (getIcon(Object)): Likewise,
6820 (getIcon(Object, Locale)): Likewise,
6821 (getInsets(Object)): Updated API docs,
6822 (getInsets(Object, Locale)): Likewise,
6823 (getInt(Object)): Reimplemented,
6824 (getInt(Object, Locale)): Likewise,
6825 (getString(Object)): Likewise,
6826 (getString(Object, Locale)): Likewise.
6828 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6830 * javax/swing/UIManager.java
6831 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6832 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6834 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6836 * javax/swing/plaf/metal/MetalLookAndFeel.java
6837 (initComponentDefaults): Corrected various font defaults.
6839 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6841 * java/awt/List.java: Added @since to various methods.
6843 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6845 * native/jni/native-lib/cpprocess.c:
6846 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6847 Add redirection of stdout to stderr.
6848 * native/jni/native-lib/cpprocess.h:
6849 Added redirect argument.
6850 * native/jni/java-lang/java_lang_VMProcess.c
6851 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6852 * vm/reference/java/lang/VMProcess.java: Likewise.
6853 * include/java_lang_VMProcess.h: Regenerated.
6855 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6857 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6858 __attribute to __attribute__.
6860 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6863 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6865 * java/awt/List.java: Source code reformatted.
6867 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6869 * gnu/CORBA/CollocatedOrbs.java,
6870 gnu/CORBA/SafeForDirectCalls.java: New files.
6871 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6872 Implement gnu.CORBA.SafeForDirectCalls.
6873 * gnu/CORBA/NamingService/Ext.java: Likewise.
6874 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6875 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6876 of the local host. (ior_to_object): Return the local object
6877 where possible. (run): Register/unregister this ORB.
6878 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6879 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6880 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6881 (constructors): Initialize noRetain. (_invoke): Drop servant
6882 if noRetain is true. (getHandler): Always seach for the new servant
6883 if noRetain is true.
6884 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6885 * NEWS: Added note about the new feature.
6887 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6889 * java/awt/Choice.java
6890 (addItem): Fixed API doc glitch.
6892 2006-09-05 Francis Kung <fkung@redhat.com>
6894 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6895 (createCompatibleDestImage): Re-implemented.
6896 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6897 compatibility, and use ColorConvertOp for color conversion if needed.
6898 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6900 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6902 gnu/CORBA/CDR/Vio.java,
6903 org/omg/CORBA_2_3/ORB.java,
6904 org/omg/CORBA_2_3/portable/InputStream.java,
6905 org/omg/CORBA_2_3/portable/OutputStream.java,
6906 org/omg/CosNaming/BindingIteratorHelper.java,
6907 org/omg/CosNaming/BindingTypeHelper.java,
6908 org/omg/CosNaming/NameComponentHelper.java,
6909 org/omg/CosNaming/NameHelper.java,
6910 org/omg/CosNaming/NamingContextExtHelper.java,
6911 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6912 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6913 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6914 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6915 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6916 org/omg/CosNaming/NamingContextHelper.java,
6917 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6918 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6919 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6920 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6921 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6922 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6923 org/omg/DynamicAny/AnySeqHelper.java,
6924 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6925 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6926 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6927 org/omg/DynamicAny/DynAnyHelper.java,
6928 org/omg/DynamicAny/DynAnyOperations.java,
6929 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6930 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6931 org/omg/DynamicAny/DynAnySeqHelper.java,
6932 org/omg/DynamicAny/DynArrayHelper.java,
6933 org/omg/DynamicAny/DynEnumHelper.java,
6934 org/omg/DynamicAny/DynFixedHelper.java,
6935 org/omg/DynamicAny/DynSequenceHelper.java,
6936 org/omg/DynamicAny/DynStructHelper.java,
6937 org/omg/DynamicAny/DynStructOperations.java,
6938 org/omg/DynamicAny/DynUnionHelper.java,
6939 org/omg/DynamicAny/DynValueHelper.java,
6940 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6941 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6942 org/omg/IOP/CodecFactoryHelper.java,
6943 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6944 org/omg/IOP/CodecOperations.java,
6945 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6946 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6947 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6948 org/omg/IOP/ComponentIdHelper.java,
6949 org/omg/IOP/ExceptionDetailMessage.java,
6950 org/omg/IOP/MultipleComponentProfileHelper.java,
6951 org/omg/IOP/ProfileIdHelper.java,
6952 org/omg/IOP/ServiceContextListHelper.java,
6953 org/omg/IOP/ServiceIdHelper.java,
6954 org/omg/IOP/TAG_CODE_SETS.java,
6955 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6956 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6957 org/omg/PortableInterceptor/CurrentHelper.java,
6958 org/omg/PortableInterceptor/IORInfo.java,
6959 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6960 org/omg/PortableInterceptor/ORBIdHelper.java,
6961 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6962 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6963 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6964 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6965 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6966 org/omg/PortableInterceptor/RequestInfoOperations.java,
6967 org/omg/PortableInterceptor/ServerIdHelper.java,
6968 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6969 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6970 org/omg/PortableServer/AdapterActivatorOperations.java,
6971 org/omg/PortableServer/CurrentHelper.java,
6972 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6973 org/omg/PortableServer/ForwardRequestHelper.java,
6974 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6975 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6976 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6977 org/omg/PortableServer/LifespanPolicyValue.java,
6978 org/omg/PortableServer/POA.java,
6979 org/omg/PortableServer/POAHelper.java,
6980 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6981 org/omg/PortableServer/POAManagerPackage/State.java,
6982 org/omg/PortableServer/POAOperations.java,
6983 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6984 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6985 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6986 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6987 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6988 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6989 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6990 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6991 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6992 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6993 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6994 org/omg/PortableServer/ServantActivatorHelper.java,
6995 org/omg/PortableServer/ServantLocatorHelper.java,
6996 org/omg/PortableServer/ServantLocatorOperations.java,
6997 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6998 org/omg/PortableServer/ThreadPolicyValue.java,
6999 org/omg/PortableServer/_ServantActivatorStub.java,
7000 org/omg/PortableServer/_ServantLocatorStub.java,
7001 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
7003 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7005 * javax/rmi/CORBA/Tie.java,
7006 org/omg/CORBA/AnyHolder.java,
7007 org/omg/CORBA/AnySeqHelper.java,
7008 org/omg/CORBA/AnySeqHolder.java,
7009 org/omg/CORBA/BooleanHolder.java,
7010 org/omg/CORBA/BooleanSeqHelper.java,
7011 org/omg/CORBA/BooleanSeqHolder.java,
7012 org/omg/CORBA/ByteHolder.java,
7013 org/omg/CORBA/CharHolder.java,
7014 org/omg/CORBA/CharSeqHelper.java,
7015 org/omg/CORBA/CharSeqHolder.java,
7016 org/omg/CORBA/Context.java,
7017 org/omg/CORBA/CurrentHelper.java,
7018 org/omg/CORBA/CustomValue.java,
7019 org/omg/CORBA/DataOutputStream.java,
7020 org/omg/CORBA/DefinitionKindHelper.java,
7021 org/omg/CORBA/DomainManagerOperations.java,
7022 org/omg/CORBA/DoubleHolder.java,
7023 org/omg/CORBA/DoubleSeqHelper.java,
7024 org/omg/CORBA/DoubleSeqHolder.java,
7025 org/omg/CORBA/DynAny.java,
7026 org/omg/CORBA/DynSequence.java,
7027 org/omg/CORBA/DynValue.java,
7028 org/omg/CORBA/DynamicImplementation.java,
7029 org/omg/CORBA/FieldNameHelper.java,
7030 org/omg/CORBA/FixedHolder.java,
7031 org/omg/CORBA/FloatHolder.java,
7032 org/omg/CORBA/FloatSeqHelper.java,
7033 org/omg/CORBA/FloatSeqHolder.java,
7034 org/omg/CORBA/IdentifierHelper.java,
7035 org/omg/CORBA/IntHolder.java,
7036 org/omg/CORBA/LocalObject.java,
7037 org/omg/CORBA/LongHolder.java,
7038 org/omg/CORBA/LongLongSeqHelper.java,
7039 org/omg/CORBA/LongLongSeqHolder.java,
7040 org/omg/CORBA/LongSeqHelper.java,
7041 org/omg/CORBA/LongSeqHolder.java,
7042 org/omg/CORBA/ORB.java,
7043 org/omg/CORBA/ObjectHelper.java,
7044 org/omg/CORBA/ObjectHolder.java,
7045 org/omg/CORBA/OctetSeqHelper.java,
7046 org/omg/CORBA/OctetSeqHolder.java,
7047 org/omg/CORBA/PolicyErrorCodeHelper.java,
7048 org/omg/CORBA/PolicyErrorHelper.java,
7049 org/omg/CORBA/PolicyHelper.java,
7050 org/omg/CORBA/PolicyListHelper.java,
7051 org/omg/CORBA/PolicyTypeHelper.java,
7052 org/omg/CORBA/PrincipalHolder.java,
7053 org/omg/CORBA/RepositoryIdHelper.java,
7054 org/omg/CORBA/Request.java,
7055 org/omg/CORBA/ShortHolder.java,
7056 org/omg/CORBA/ShortSeqHelper.java,
7057 org/omg/CORBA/ShortSeqHolder.java,
7058 org/omg/CORBA/StringSeqHelper.java,
7059 org/omg/CORBA/StringSeqHolder.java,
7060 org/omg/CORBA/ULongLongSeqHelper.java,
7061 org/omg/CORBA/ULongLongSeqHolder.java,
7062 org/omg/CORBA/ULongSeqHelper.java,
7063 org/omg/CORBA/ULongSeqHolder.java,
7064 org/omg/CORBA/UShortSeqHelper.java,
7065 org/omg/CORBA/UShortSeqHolder.java,
7066 org/omg/CORBA/ValueBaseHelper.java,
7067 org/omg/CORBA/ValueBaseHolder.java,
7068 org/omg/CORBA/VersionSpecHelper.java,
7069 org/omg/CORBA/WCharSeqHelper.java,
7070 org/omg/CORBA/WCharSeqHolder.java,
7071 org/omg/CORBA/WStringSeqHelper.java,
7072 org/omg/CORBA/WStringSeqHolder.java,
7073 org/omg/CORBA/WrongTransactionHelper.java,
7074 org/omg/CORBA/_IDLTypeStub.java,
7075 org/omg/CORBA/_PolicyStub.java,
7076 org/omg/CORBA/portable/BoxedValueHelper.java,
7077 org/omg/CORBA/portable/Delegate.java,
7078 org/omg/CORBA/portable/ObjectImpl.java,
7079 org/omg/CORBA/portable/ServantObject.java,
7080 org/omg/CORBA/portable/StreamableValue.java,
7081 org/omg/CosNaming/BindingType.java,
7082 org/omg/CosNaming/IstringHelper.java,
7083 org/omg/DynamicAny/FieldNameHelper.java,
7084 org/omg/PortableServer/Servant.java: Documentation fixes.
7086 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
7088 * java/awt/Rectangle.java
7089 (setRect(double, double, double, double)): Modified rounding of input
7092 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7094 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7095 Disallow H1 - H6 in the paragraphs.
7096 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7097 (preprocess): Leave at most one leading and/or trailing space.
7098 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7099 Do not add any text after closing the HTML tag.
7101 2006-09-02 Roman Kennke <kennke@aicas.com>
7104 * javax/swing/plaf/basic/BasicTextUI.java
7105 (RootView.getPreferredSpan): Default to 10 when there is no
7107 (RootView.getMinimumSpan): Forward to view and default to 10
7108 when there is no real view.
7109 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7110 (getMaximumSize): Check for overflow.
7111 * javax/swing/text/FieldView.java
7112 (getResizeWeight): Removed unneeded assignment.
7114 2006-09-01 Francis Kung <fkung@redhat.com>
7115 * java/awt/image/ColorConvertOp.java
7116 (copyImage): Updated javadoc and comments.
7117 (copyRaster): Add javadoc.
7118 (createCompatibleColorModel): Add javadocs and comments.
7119 (createCompatibleDestImage): Use correct transfer type.
7120 (createCompatibleDestRaster): Add new parameter for transfer type.
7121 (filter): Use correct transfer type.
7122 * java/awt/image/ConvolveOp.java: Updated javadocs.
7123 (createCompatibleDestImage): Set new image properties correctly.
7124 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7125 (filter(WritableRaster, Raster): Clip sample values to [0-255].
7127 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7129 * javax/swing/table/DefaultTableModel.java:
7130 (checkSize): Added null check for dataVector.
7132 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7134 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7135 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7136 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7138 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7140 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7141 (paintIcon): Removed unused import statements, lowered cast requirement
7142 from JCheckBox to AbstractButton.
7144 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7146 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7147 (initComponentDefaults): Added, changed and removed some
7148 tabbed pane properties.
7150 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7152 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7153 (createContent): Changed menu item name and tab naming.
7155 2006-09-01 Roman Kennke <kennke@aicas.com>
7158 * javax/swing/plaf/basic/BasicHTML.java
7159 (HTMLRootView.getAttributes): Overridden to return null.
7160 (HTMLRootView.getElement): Overridden to return the view's
7163 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
7165 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7166 (calculateTabAreaHeight): Use getTabRunOverlay method instead
7167 of accessing variable directly.
7168 (calculateTabAreaWidth): Dito.
7170 2006-08-31 Keith Seitz <keiths@redhat.com>
7172 * include/jvmti.h: Include jvmti_md.h.
7174 2006-08-31 Keith Seitz <keiths@redhat.com>
7176 From Martin Platter <motse@complang.tuwien.ac.at>:
7177 * Makefile.am (include_HEADERS): Include jvmti.h.
7178 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7179 (jvmtiError): Remove superfluous comma after last entry.
7180 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7181 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7182 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7183 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7185 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7186 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7187 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7190 2006-08-31 Roman Kennke <kennke@aicas.com>
7192 * javax/swing/text/BoxView.java
7193 (getWidth): Return the width with insets added, not with one
7194 added and one removed.
7195 (getHeight): Return the height with insets added, not with one
7196 added and one removed.
7197 * javax/swing/text/GlyphView.java
7198 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7199 * javax/swing/text/ParagraphView.java
7200 (Row.getAlignment): Adjust alignment with respect to
7201 the justification attribute.
7202 (Row.getLeftInset): Overridden to adjust for firstLineIndent
7204 * javax/swing/text/html/CSS.java
7205 (getValue): Convert length values.
7206 * javax/swing/text/html/Paragraph.java
7207 (painter): New field.
7208 (paint): Implemented to delegate painting to the BoxPainter too.
7209 (setPropertiesFromAttributes): Implemented to load attributes
7211 * javax/swing/text/html/StyleSheet.java
7212 (BoxPainter.as): Removed field.
7213 (BoxPainter.leftInset): New field.
7214 (BoxPainter.bottomInset): New field.
7215 (BoxPainter.rightInset): New field.
7216 (BoxPainter.topInset): New field.
7217 (BoxPainter.BoxPainter): Implemented to load the insets from
7219 (BoxPainter.getInset): Implemented.
7220 * gnu/javax/swing/text/html/Length.java: New class.
7221 Converts CSS length units to usable values.
7223 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
7225 * configure.ac: Add check for gethostbyname_r.
7226 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7227 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7228 SOCKET_NOSIGNAL according to the configure check.
7229 (cpnet_send): Use SOCKET_NOSIGNAL.
7230 (cpnet_sendTo): Likewise.
7231 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7233 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7236 * lib/Makefile.am (cssfiles): Add new rule to install css files.
7238 2006-08-31 Roman Kennke <kennke@aicas.com>
7240 * javax/swing/JEditorPane.java
7241 (getPreferredSize): Replace preferred size with minimum
7242 UI size only if the scrollable does _not_ track the viewport
7243 size and only if the viewport's size is smaller than the
7245 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7247 * javax/swing/plaf/basic/BasicTextUI.java
7248 (getPreferredSize): Read-lock the document to avoid
7249 concurrency problems.
7250 (getMaximumSize): Return maximum size of the view.
7251 Read-lock the document to avoid concurrency problems.
7252 (getMinimumSize): Return minimum size of the view.
7253 Read-lock the document to avoid concurrency problems.
7255 2006-08-31 Gary Benson <gbenson@redhat.com>
7257 * java/net/SocketPermission.java
7258 (maybeBracketIPv6Address): Renamed to processHostport.
7259 (processHostport): Also translate "" to "localhost".
7260 (setHostPort): Remove special cases for empty hostport and for
7261 extra colons in hostport (processHostport handles these now).
7263 2006-08-31 Mark Wielaard <mark@klomp.org>
7265 * javax/swing/text/ZoneView.java (Zone): Make static class.
7266 Constructor takes axis parameter.
7267 (createZone): Create Zone with getAxis() as major axis.
7269 2006-08-30 Roman Kennke <kennke@aicas.com>
7271 * javax/swing/text/ZoneView.java
7272 (loadChildren): Implemented.
7273 (getViewIndexAtPosition): Implemented.
7274 (checkZoneAt): New helper method.
7275 (splitZone): New helper method.
7276 (getPreferredZoneEnd): New helper method.
7278 2006-08-30 Roman Kennke <kennke@aicas.com>
7280 * javax/swing/text/ZoneView.java: New class.
7282 2006-08-30 Roman Kennke <kennke@aicas.com>
7284 * javax/swing/JMenu.java
7285 (getMenu): Removed unneeded cast.
7286 (getPopupMenuOrigin): Made positioning algorithm better respect
7288 (setMenuLocation): Also set the location on the popup if it's
7290 (setModel): Use menuChangeListener so that we don't override
7291 the changeListener field from AbstractButton.
7292 (setPopupMenuVisible): Use custom location if set, otherwise
7293 fallback to getPopupMenuOrigin().
7295 2006-08-29 Roman Kennke <kennke@aicas.com>
7297 * javax/swing/text/InternationalFormatter.java
7298 (stringToValue): Fixed bounds check.
7299 * javax/swing/text/MaskFormatter.java
7300 (MaskFormatter): Don't explicitly set allosInvalid property.
7301 (convertStringToValue): New helper method.
7302 (convertValueToString): New helper method.
7303 (convertValue): Removed. Replaced by the 2 convert* methods
7305 (getPadCharAt): Removed.
7306 (isCharValid): Removed.
7308 (stringToValue): Fixed stringToValue conversion.
7309 (stripLiterals): Removed.
7310 (valueToString): Fixed valueToString conversion.
7311 * javax/swing/text/DefaultFormatter.java
7312 (DefaultFormatter): Default to commitsOnValidEdit = false.
7314 2006-08-29 Roman Kennke <kennke@aicas.com>
7316 * javax/swing/text/TextAction.java
7317 (getTextComponent): Check event for null and return null in
7319 (augmentList): Augment Actions based on their names.
7320 * javax/swing/text/DefaultEditorKit.java
7321 (BeginAction.actionPerformed): Check target for null.
7322 (BeginLineAction.actionPerformed): Check target for null.
7323 (CopyAction.actionPerformed): Check target for null.
7324 (CutAction.actionPerformed): Check target for null.
7325 (EndAction.actionPerformed): Check target for null.
7326 (EndLineAction.actionPerformed): Check target for null.
7327 (InsertBreakAction.actionPerformed): Check target for null.
7328 (InsertTabAction.actionPerformed): Check target for null.
7329 (PasteAction.actionPerformed): Check target for null.
7330 (SelectAllAction.actionPerformed): Check target for null.
7331 (SelectionBeginAction.actionPerformed): Check target for null.
7332 (SelectionBeginLineAction.actionPerformed): Check target for null.
7333 (SelectionEndAction.actionPerformed): Check target for null.
7334 (SelectionEndLineAction.actionPerformed): Check target for null.
7335 (SelectLineAction.actionPerformed): Check target for null.
7336 (SelectWordAction.actionPerformed): Check target for null.
7338 2006-08-29 Roman Kennke <kennke@aicas.com>
7340 * javax/swing/plaf/basic/BasicTextUI.java
7341 (FocusHandler): New class. This is moved from the anonymous
7342 inner focus listener class to a static member class, and
7343 is now shared between components.
7344 (DocumentHandler): This class is combined with the PropertyHandler
7345 into the Handler class.
7346 (PropertyChangeHandler): This class is combined with the
7347 DocumentHandler into the Handler class.
7348 (Handler): New class. This combines the Property and Document
7349 handler into one class.
7350 (RootView.changedUpdate): Only forward if real view != null.
7351 (RootView.insertUpdate): Only forward if real view != null.
7352 (RootView.removeUpdate): Only forward if real view != null.
7353 (documentHandler): Removed field and replaced by handler.
7354 (focuslistener): Made field static and renamed to focusListener.
7355 (handler): New field.
7356 (kit): Lazily initialize field.
7357 (rootView): Lazily initialize field.
7358 (updateHandler): Removed and replaced by handler.
7359 (getEditorKit): Lazily instantiate field.
7360 (installDefaults): Don't set margin twice. Install correct
7361 property for disabledTextColor. Moved caret and highlighter
7362 initialization to installFixedDefaults.
7363 (installFixedDefaults): New method. Installs defaults that
7364 can't be overridden by subclasses.
7365 (installListeners): Only install focus handler when new
7366 system property gnu.swing.text.no-xlike-clipboard is not set.
7367 Lazily initialize focus handler.
7368 (installUI): Lazily initialize rootView. Install handler
7369 both for property and document changes.
7370 (uninstallDefaults): Uninstall the UI defaults.
7371 (uninstallFixedDefaults): New method. Uninstalls the fixed
7373 (installListeners): Only uninstall focus handler when not null.
7374 (uninstallUI): Uninstall property and document listener here.
7376 2006-08-29 Gary Benson <gbenson@redhat.com>
7378 * java/net/SocketPermission.java
7379 (maybeBracketIPv6Address): New method.
7380 (<init>): Pass the hostport argument through the above.
7382 * java/net/NetworkInterface.java (getInetAddresses):
7383 Don't bracket IPv6 addresses.
7385 2006-08-28 Roman Kennke <kennke@aicas.com>
7387 * javax/swing/text/BoxView.java
7388 (calculateMinorAxisRequirements): Initialize max size
7389 with Integer.MAX_VALUE.
7390 * javax/swing/text/Utilities.java
7391 (getBreakLocation): For simple chars, scan the text directly.
7392 * javax/swing/text/WrappedPlainView.java
7393 (tabBase): New field.
7394 (tabSize): New field.
7395 (calculateBreakPosition): Use Utilities. Fixed for correct
7397 (changedUpdate): Update children directly.
7398 (insertUpdate): Update children directly. Notify children.
7399 (removeUpdate): Update children directly. Notify children.
7400 (updateChildren): New helper method.
7401 (nextTabStop): Fixed to return correct results.
7402 (paint): Update tabBase.
7403 (updateMetrics): Update tab size.
7405 2006-08-28 Roman Kennke <kennke@aicas.com>
7407 * javax/swing/text/Position.java
7408 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7409 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7411 2006-08-28 Roman Kennke <kennke@aicas.com>
7413 * javax/swing/text/View.java
7414 (height): Removed unneeded field.
7415 (width): Removed unneeded field.
7416 (getBreakWeight): Return GoodBreakWeight when pos is after
7418 (getToolTipText): Check view index more carefully. Avoid
7420 (insertUpdate): Only execute method body if view count > 0.
7421 When updateChildren returns false, clear the ec variable.
7422 (updateChildren): Added null checks.
7423 (viewToModel): Initialize bias array correctly.
7424 * javax/swing/text/CompositeView.java
7425 (children): Made private.
7426 (numChildren): New field.
7427 (loadChildren): Check factory for null. Don't load children
7428 when factory is null.
7429 (replace): Removed null check. Nullify removed children. Made
7430 growing the array more efficient.
7431 (getViewCount): Return numChildren rather then the real array
7433 * javax/swing/text/BoxView.java
7434 (getViewAtPoint): Fixed algorithm for finding the view.
7435 (replace): Made array growing more efficient.
7436 (replaceLayoutArray): New helper method for growing/patching
7438 (viewToModel): Make sure we have a valid layout.
7440 2006-08-28 Tania Bento <tbento@redhat.com>
7442 * java/awt/MenuShortcut.java
7443 (MenuShortcut (int, boolean)): Set keyName.
7444 (toString): Modified string output.
7445 (setKeyName): New private method.
7447 2006-08-28 Roman Kennke <kennke@aicas.com>
7449 * javax/swing/text/GapContent.java
7450 (Mark.getOffset): Made assert less strict, include boundary.
7451 (search): Made package private to avoid accessor method.
7453 2006-08-28 Roman Kennke <kennke@aicas.com>
7455 * javax/swing/text/StringContent.java
7456 (InsertUndo.positions): New field.
7457 (InsertUndo.redo): Update the undo positions.
7458 (InsertUndo.undo): Fetch the undo positions.
7459 (Mark): New class. Layer of indirection to allow Positions
7460 to be GC'ed while we still hold references to the Mark.
7461 (RemoveUndo.len): New field.
7462 (RemoveUndo.positions): New field.
7463 (RemoveUndo.RemoveUndo): Fetch undo positions.
7464 (RemoveUndo.redo): Re-fetch positions and string.
7465 (RemoveUndo.undo): Update undo positions.
7466 (StickyPosition.mark): New field.
7467 (StickyPosition.offset): Removed field.
7468 (StickyPosition.StickyPosition): Create new Mark. Register
7469 Position in queueOfDeath. Update reference count on mark.
7470 (StickyPosition.getOffset): Return offset stored in mark.
7471 (StickyPosition.setOffset): Removed unneeded method.
7472 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7474 (marks): New field. Stores the marks.
7475 (positions): Removed field.
7476 (queueOfDeath): New field. Used for GCing the positions.
7477 (StringContent): Initialize queueOfDeath.
7478 (createPosition): Lazily create marks vector.
7479 (garbageCollect): New helper method. Collects positions
7480 to be GCed and updates their marks.
7481 (getChars): Fixed bounds check.
7482 (getPositionsInRange): When v == null, create new Vector,
7483 otherwise use v. Store UndoPosRefs in vector.
7484 (getString): Added comment about bug in RI.
7485 (insertString): Use new helper method for replacing the array.
7486 Correctly update positions.
7487 (length): Removed this qualifier.
7488 (remove): Use new helper method for replacing the array.
7489 Correctly update positions.
7490 (replace): New helper method for growing or patching the array.
7491 (updateUndoPositions): Implemented. Updates the positions
7492 for undo/redo operations.
7494 2006-08-27 Roman Kennke <kennke@aicas.com>
7496 * javax/swing/text/StyleContext.java
7497 (NamedStyle.attributes): Made field transient.
7498 (NamedStyle.changeEvent): Made field transient.
7499 (NamedStyle.name): Removed field. The name is stored as
7501 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7502 storing the name and check for null name and resolveParent.
7503 Don't initialize changeEvent.
7504 (NamedStyle.copyAttributes): Return a new NamedStyle,
7505 rather than a plain copy of the attributes field.
7506 (NamedStyle.fireStateChange): Lazily create changeEvent
7508 (NamedStyle.getName): Fetch name from attributes.
7509 (NamedStyle.setName): Store name from attributes.
7510 (NamedStyle.readObject): Implemented for correct
7512 (NamedStyle.writeObject): Implemented for correct
7514 (NamedStyle.setResolveParent): When new parent is null,
7515 remove resolveParent attribute. Use addAttribute() method
7516 rather than StyleContext addAttribute().
7517 (NamedStyle.toString): Fixed to produce output equal to the
7519 (SmallAttributeSet.resolveParent): New field.
7520 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7521 the resolveParent field correctly.
7522 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7523 array but store it directly. Update
7524 the resolveParent field correctly.
7525 (SmallAttributeSet.clone): Return this as the object is
7527 (SmallAttributeSet.containsAttributes): Make sure that keys
7528 and values are the same.
7529 (SmallAttributeSet.containsAttribute): Make sure that keys
7530 and values are the same.
7531 (SmallAttributeSet.copyAttributes): Return this as the object is
7533 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7534 are equal if they have the same number of attributes and
7535 one contains the other.
7536 (SmallAttributeSet.getAttribute): Improved lookup of
7538 (SmallAttributeSet.getResolveParent): Improved lookup of
7540 (SmallAttributeSet.isEqual): When comparing object is a
7541 SmallAttributeSet, consider them equal only if they are the
7543 (SmallAttributeSet.toString): Fixed to produce output equal to the
7545 (attributeSetPool): New field.
7546 (defaultStyleContext): Initialize lazily.
7547 (defaultStyle): Removed field. This is stored in the style context
7549 (listenerList): Removed field. The NamedStyle stores the
7551 (readAttributeKeys): New static field. Used for looking up
7552 the serialization mappings when reading.
7553 (search): New field. Used as search key.
7554 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7555 (styles): New field. Stores the styles and listeners.
7556 (styleTable): Removed field. Replaced by styles field.
7557 (writeAttributeKeys): New static field. Used for looking up
7558 the serialization mappings when writing.
7559 (static_initializer): Register mappings for all keys in
7561 (StyleContext): Initialize styles correctly.
7562 (addAttributes): Fixed caching of immutable attributes.
7563 (addAttribute): Fixed caching of immutable attributes.
7564 (removeAttributes): Fixed caching of immutable attributes.
7565 (removeAttribute): Fixed caching of immutable attributes.
7566 (addChangeListener): Add listener to styles field.
7567 (removeChangeListener): Remove listener from styles field.
7568 (getChangeListeners): Fetch listeners from styles field.
7569 (addStyle): Add style to styles field.
7570 (cleanupPool): New method.
7571 (getDefaultStyleContext): Lazily create context.
7572 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7573 (getMutableAttributeSet): New helper method. Used for
7575 (getStaticAttribute): Fetch key from readAttributeKeys.
7576 (getStyleNames): Return names from styles field.
7577 (getStyle): Lookup style in styles field.
7578 (removeStyle): Remove style from styles field.
7579 (readAttributeSet): Fixed deserialization.
7580 (writeAttributeSet): Fixed serialization.
7581 (readObject): Fixed deserialization.
7582 (writeObject): Fixed serialization.
7583 (reclaim): Simply cleanup the pool.
7584 (registerStaticAttributeKey): Store mapping in both ways.
7585 (searchImmutableSet): New helper method for caching.
7586 (toString): Fixed for output like the RI.
7587 * javax/swing/text/StyleConstants.java
7588 (keys): New field. Stores all known keys.
7589 (StyleConstants): Store created key in keys list.
7590 * javax/swing/event/EventListenerList.java
7591 (readObject): Fixed deserialization.
7592 (writeObject): Fixed serialization.
7594 2006-08-25 Roman Kennke <kennke@aicas.com>
7596 * javax/swing/text/CompositeView.java
7597 (insets): Removed. Replaced by single short fields.
7598 (top): New field. Replaces insets.
7599 (bottom): New field. Replaces insets.
7600 (left): New field. Replaces insets.
7601 (right): New field. Replaces insets.
7602 (CompositeView): Initialize insets fields.
7603 (createDefaultLocation): Removed unneeded method.
7604 (getBottomInset): Return field directly.
7605 (getTopInset): Return field directly.
7606 (getLeftInset): Return field directly.
7607 (getRightInset): Return field directly.
7608 (getInsideAllocation): Adjusted to work on new insets fields.
7609 (getViewIndex): Fixed check.
7610 (loadChildren): Don't replace the old children.
7611 (replace): Make sure that there is an array to operate on.
7612 Only set parent to null, when it is this View.
7613 (setInsets): Adjusted to work with new insets fields.
7614 (setParagraphInsets): Fixed to pull insets directly from
7617 2006-08-25 Roman Kennke <kennke@aicas.com>
7619 * javax/swing/text/ComponentView.java
7620 (Interceptor): New inner helper class. Used to propagate
7621 invalidate requests and cache component layout sizes.
7622 (interceptor): New field.
7623 (getAlignment): Fetch alignment from interceptor container.
7624 (getComponent): Don't create component here. This is done
7626 (getMaximumSpan): Fetch layout info from interceptor. Check
7628 (getMinimumSpan): Fetch layout info from interceptor. Check
7630 (getPreferredSpan): Fetch layout info from interceptor. Check
7632 (modelToView): Fixed model to view mapping.
7633 (viewToModel): Fixed view to model mapping.
7634 (paint): Check for null. Set bounds on interceptor rather
7636 (setParentImpl): Install interceptor between component
7637 and hosting container.
7638 (setParent): Call super.setParent() immediately.
7640 2006-08-25 Roman Kennke <kennke@aicas.com>
7642 * javax/swing/text/LabelView.java
7643 (setPropertiesFromAttributes): Only set background when
7644 the corresponding attribute is actually defined, otherwise
7645 set to null, as the StyleConstants would return black.
7646 * javax/swing/text/DefaultStyledDocument.java
7647 (ElementBuffer.documentEvent): Removed obsolete field.
7648 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7649 to correctly update the element structure.
7650 (ElementBuffer.insertContentTag): Removed unused statement.
7651 (ElementBuffer.recreateAfterFracture): Removed
7652 unused obsolete method.
7653 (setCharacterAttributes): Removed unused statement.
7655 2006-08-25 Roman Kennke <kennke@aicas.com>
7657 * examples/gnu/classpath/examples/swing/Demo.java
7658 (LaterMain.run): Removed unused local variable.
7659 (Demo): Don't put desktop in scrollpane.
7660 (addChildren): Removed unused method.
7661 (mkButtonBar): Added HTML demo.
7662 (mkMenuBar): Added HTML demo.
7663 (mkPanel): Removed unused method.
7664 (mkScrollPane): Removed unused method.
7665 (mkTree): Removed unused method.
7666 (valign2str): Removed unused method.
7667 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7668 Initialize text field with some HTML that already works.
7669 (DEBUG): New field. Set to true for debugging output.
7670 (createContent): Dump element tree after parsing.
7672 2006-08-25 Roman Kennke <kennke@aicas.com>
7674 * javax/swing/text/html/CSS.java
7675 (getValue): Added color value conversion.
7676 * javax/swing/text/html/HTMLDocument.java
7677 (HTMLReader.ConvertAction): New class, converts HTML style tags
7679 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7680 * javax/swing/text/html/InlineView.java
7681 (setPropertiesFromAttributes): Implemented to fetch
7682 CSS character attributes.
7683 * javax/swing/text/html/StyleSheet.java
7684 (addCSSAttribute): Convert value.
7685 (getBackground): Implemented to fetch CSS background color
7687 (getForeground): Implemented to fetch CSS color
7689 (getFont): Adjust font size for superscript and subscript.
7690 (translateHTMLToCSS): Rudimentary implementation that
7691 copies the original attributes, so that any CSS attributes in
7692 there are preserved.
7693 (stringToColor): Use CSSColor for conversion.
7694 * gnu/javax/swing/text/html/css/CSSColor.java:
7695 New class. Converts CSS color values to RGB color values.
7696 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7697 Removed. This is more or less replaced by CSSColor and the
7698 ConvertAction in HTMLReader.
7700 2006-08-25 Roman Kennke <kennke@aicas.com>
7702 * javax/swing/text/BoxView.java
7703 (childReqs): Removed obsolete field.
7704 (baselineLayout): Reimplemented for correct baseline layout.
7705 (baselineRequirements): Reimplemented for correct baseline
7707 (updateChildRequirements): Removed obsolete method.
7708 * javax/swing/text/GlyphView.java
7709 (DefaultGlyphPainter.getSpan): Removed unused statement.
7710 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7711 specially. The subscript/superscript layout is performed
7712 via the alignment, the font is supplied by the StyleContext.
7713 (breakView): Removed unused statements.
7714 (getAlignment): Adjust alignment according to the
7715 superscript/subscript setting.
7716 (getFont): Reimplemented to fetch the font from the style
7717 context, or from the document if the stylecontext is not
7719 (getPreferredSpan): Adjust span for superscript. Use switch
7721 * javax/swing/text/LabelView.java
7722 (setPropertiesFromAttributes): Fetch background and foreground
7723 from document / style context.
7724 (isSubscript): Resync properties if needed.
7725 * javax/swing/text/ParagraphView.java
7726 (Row.calculateMinorAxisRequirements): Overridden to perform
7728 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7730 2006-08-24 Roman Kennke <kennke@aicas.com>
7732 * javax/swing/text/Utilities.java
7733 (BUF_LENGTH): Removed unused field.
7734 (drawTabbedText): Removed unneeded cast.
7735 (getBreakLocation): Removed unneeded cast.
7736 Fixed offset to account for Segments not starting at 0.
7738 2006-08-24 Roman Kennke <kennke@aicas.com>
7740 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7741 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7742 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7743 (ScrollingPane.updateUI): Likewise.
7744 (calculateTabWidth): Rewritten to correctly and efficiently
7745 layout the tab width.
7746 (layoutLabel): Call SwingUtilities method with the tabPane
7748 (paintContentBorderLeftEdge): Removed unused statement.
7749 (paintContentBorderRightEdge): Removed unused statement.
7750 (paintContentBorder): Removed unused statement.
7752 2006-08-24 Roman Kennke <kennke@aicas.com>
7754 * javax/swing/plaf/basic/BasicTextUI.java
7755 (RootView.getAttributes): Overridden to return null,
7756 as the RootView has no parent.
7758 2006-08-24 Roman Kennke <kennke@aicas.com>
7760 * javax/swing/text/html/CSSParser.java: Removed.
7761 * javax/swing/text/html/CSS.java
7762 (getValue): New helper method. Returns special converter
7763 instances for certain kinds of property values.
7764 * javax/swing/text/html/HTMLDocument.java
7765 (HTMLReader.CharacterAction.start): Don't translate tags
7766 here. Instead, store the attributes directly with the tag
7768 (content): Removed field. The Content object is handled
7769 by AbstractDocument.
7770 (styleSheet): Removed field. The styleSheet is the styleContext
7771 of this document and handled by the DefaultStyledDocument already.
7772 (HTMLDocument(Content,StyleSheet): Simply call super here.
7773 The super classes already handle the content and styleContext.
7774 (HTMLDocument()): Call this() with a default GapContent and
7776 (getStyleSheet): Return the styleContext here.
7777 (insertUpdate): New method. Overridden to add the
7778 CONTENT dummy tag to the element's attributes.
7779 (setBase): Set the base on the styleContext.
7780 * javax/swing/text/html/HTMLEditorKit.java
7781 (styleContext): Removed unneeded field.
7782 (styleSheet): Made field private.
7783 (HTMLEditorKit): Do nothing here. The StyleSheet is
7784 created lazily in getStyleSheet(). A styleContext is not
7786 (getStyleSheet): Create StyleSheet correctly.
7787 (insertHTML): Removed unneeded cast.
7788 * javax/swing/text/html/InlineView.java
7789 (attributes): New field.
7790 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7791 (getAttributes): Implemented to fetch the attributes from
7793 * javax/swing/text/html/MultiAttributeSet.java: New class.
7794 Multiplexes between several AttributeSets.
7795 * javax/swing/text/html/MultiStyle.java: New class.
7796 Multiplexes between several Styles.
7797 * javax/swing/text/html/ParagraphView.java
7798 (attributes): New field.
7799 (getAttributes): Implemented to fetch the attributes from
7801 * javax/swing/text/html/StyleSheet.java
7802 (CssParser): Removed inner class.
7803 (CSSStyle): New inner class. Represents a style defined
7805 (CSSStyleSheetParserCallback): New class, for parsing
7807 (css): New field. Stores the CSS rules.
7808 (resolvedStyles): New field. Stores resolved styles.
7809 (StyleSheet): Initialize resolvedStyles map.
7810 (addRule): Removed bogus impl.
7811 (getFont): Implemented to fetch font, based on CSS rules.
7812 (getResolvedStyle): New helper method. Looks up resolved
7813 styles, and resolves a style if necessary.
7814 (resolveStyle): New pair of helper methods. Resolves
7816 (getRule(String)): Provide rudimentary implementation.
7817 (getRule(Tag,Element)): Implemented.
7818 (getViewAttributes): Implemented.
7819 (loadRules): Implemented.
7820 (translateHTMLToCSS): Tagged as not implemented.
7821 * javax/swing/text/html/ViewAttributeSet.java: New class.
7823 2006-08-24 Roman Kennke <kennke@aicas.com>
7825 * javax/swing/text/FlowView.java:
7826 (LogicalView.getAttributes): New method. Overrides super
7827 impl to return the attributes of the FlowView instance.
7828 * javax/swing/text/LabelView.java:
7829 (setPropertiesFromAttributes): Fetch attributes from
7830 View, rather then from the Element. (In the HTML
7831 package the getAttributes() method is overridden to
7832 return different attributes). Fetch font from the StyledDocument.
7834 2006-08-24 Roman Kennke <kennke@aicas.com>
7836 * javax/swing/text/DefaultEditorKit.java:
7837 (DefaultKeyTypedAction.actionPerform): Also filter
7838 ALT and CTRL modifiers.
7840 2006-08-24 Roman Kennke <kennke@aicas.com>
7842 * gnu/javax/swing/text/html/css/FontSize.java,
7843 * gnu/javax/swing/text/html/css/FontStyle.java,
7844 * gnu/javax/swing/text/html/css/FontWeight.java:
7845 New classes. Used to convert CSS font attributes to AWT/Swing
7848 2006-08-24 Francis Kung <fkung@redhat.com>
7849 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7850 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7851 (srccs, dstcs, rasterValid): Variables removed.
7852 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7853 (copyRaster): Check for null rendering hints
7854 (createCompatibleColorModel): New private method.
7855 (createCompatibleDestImage): Re-implemented.
7856 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7857 (createCompatibleDestRaster(Raster)): Re-implemented.
7858 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7859 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7860 (getPoint2D): Clean up formatting.
7861 * java/awt/image/ComponentColorModel.java
7862 (constructor): use findBits method instead of passing null.
7863 (findBits): New method.
7865 2006-08-24 Gary Benson <gbenson@redhat.com>
7867 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7870 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7872 * java/lang/ref/Reference.java
7873 (queue, nextOnQueue): Made volatile.
7874 (enqueue): Made thread safe.
7875 * java/lang/ref/ReferenceQueue.java
7877 (poll): Removed synchronized.
7878 (enqueue): Changed to synchronize on lock object, to update Reference
7879 state and return success status.
7880 (dequeue, remove): Synchronize on lock object.
7882 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7884 * java/security/SecureClassLoader.java
7885 (protectionDomainCache): Changed to HashMap.
7886 (SecureClassLoader): Removed redundant security check.
7887 (defineClass(String,byte[],int,int,CodeSource): Moved
7888 protection domain lookup/construction to new method.
7889 (defineClass(String,ByteBuffer,CodeSource): New method.
7890 (getProtectionDomain): New method.
7892 2006-08-23 Roman Kennke <kennke@aicas.com>
7894 * javax/swing/JComponent.java
7895 (isRepainting): Made package private.
7896 (paintChild): New field.
7897 (findOpaqueParent): Removed method. This is now in
7899 (findOverlapFreeParent): Removed method. This is now
7900 in paintImmediately2().
7901 (findPaintRoot): Removed method. This is now
7902 in paintImmediately2().
7903 (isCompletelyObscured): Changed to take rectangle as single
7905 (isPaintingDoubleBuffered): Removed method. This is now
7906 in paintImmediately2().
7907 (isPartiallyObscured): New helper method.
7908 (onTop): New helper method for optimization.
7909 (paintChildren): Paint only to specific child when
7910 requested like this from paintImmediately2().
7911 (paintDoubleBuffered): Changed to take rectangle as single int
7913 (paintImmediately2): Changed to take rectangle as single int
7914 arguments. Optimized determination of paint root.
7915 (paintImmediately(Rectangle)): Change to delegate to
7916 paintImmediately(int,int,int,int).
7917 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7918 and start painting there.
7919 (paint): Call paintDoubleBuffered() with int arguments. Only
7920 paint component, when not completely occupied by opaque child.
7921 (processKeyBinding): Removed unnecessary cast.
7922 (isOccupiedByChild): New helper method.
7923 * javax/swing/RepaintManager.java
7924 (repaintUnderway): Removed obsolete field.
7925 (commitRequests): Removed obsolete field.
7926 (RepaintManager): Removed initialization of obsolete fields.
7927 (addDirtyRegion): Removed unused statement.
7928 (commitBuffer): Changed to take plain ints as argument.
7929 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7930 Compute offsets in place, rather than using SwingUtilities.
7931 (paintDirtyRegions): Removed unused field.
7932 * javax/swing/JMenuItem.java
7933 (onTop): Return true when not descendant of JInternalFrame.
7934 * javax/swing/JPopupMenu.java
7935 (onTop): Return true.
7936 * javax/swing/JToolTip.java
7937 (onTop): Return true.
7938 * javax/swing/JViewport.java
7939 (paintImmediately2): Change signature to match the
7940 corresponding JComponent method.
7942 2006-08-23 Tania Bento <tbento@redhat.com>
7944 * java/awt/Color.java
7945 (brighter): Modified algorithm to correctly determine the
7946 new brighter colour.
7948 2006-08-23 Roman Kennke <kennke@aicas.com>
7950 * java/awt/Container.java
7951 (maxSize): Removed field. This is already declared in Component.
7952 (validateTree): Check for ContainerPeer. Don't addNotify here.
7953 Only validate Component instances if they are invalid.
7955 2006-08-22 Roman Kennke <kennke@aicas.com>
7957 * javax/swing/JComponent.java
7958 (preferredSize): Removed field.
7959 (maximumSize): Removed field.
7960 (minimumSize): Removed field.
7961 (getMaximumSize): Adjusted to delegate to Component, rather
7962 then managing the size in JComponent.
7963 (getMinimumSize): Adjusted to delegate to Component, rather
7964 then managing the size in JComponent.
7965 (getPreferredSize): Adjusted to delegate to Component, rather
7966 then managing the size in JComponent.
7967 (isMaximumSizeSet): Removed.
7968 (isMinimumSizeSet): Removed.
7969 (isPreferredSizeSet): Removed.
7970 (setMaximumSize): Removed.
7971 (setMinimumSize): Removed
7972 (setPreferredSize): Removed.
7974 2006-08-22 Roman Kennke <kennke@aicas.com>
7976 * javax/swing/AbstractButton.java
7977 (ButtonChangeListener.stateChanged): Delegate to combined
7979 (EventHandler): New inner class. Handles all three types
7980 of events on the model.
7981 (eventHandler): New field. Stores the combined event
7983 (AbstractButton): Moved listener initialization to
7985 (createActionListener): Return combined handler.
7986 (createChangeListener): Return combined handler.
7987 (createItemListener): Return combined handler.
7988 (getEventHandler): New helper method for creating the combined
7990 (setModel): Initialize listeners here.
7991 * javax/swing/plaf/basic/BasicButtonListener.java
7992 (ButtonAction): New class. Implements the keyboard action
7994 (checkOpacity): Implemented.
7995 (createDefaultActionMap): New helper method.
7996 (installKeyboardActions): Rewritten to install InputMap
7997 and ActionMap according to 'new' keyboard input method.
7998 (mouseClicked): Commented as no-op.
7999 (mouseDragged): Commented as no-op.
8000 (mouseMoved): Commented as no-op.
8001 (propertyChange): Check for contentAreaFilled change and
8002 update opacity. Pull handling of HTLM in font and text handler.
8003 (stateChanged): Repaint button.
8004 (uninstallKeyboardActions): Properly uninstall keyboard actions.
8005 * javax/swing/plaf/basic/BasicButtonUI.java
8006 (listener): Removed.
8007 (sharedListener): New static field. Stores the shared listener.
8008 (sharedUI): New static field. Stores the shared UI.
8009 (createButtonListener): Return shared instance here.
8010 (createUI): Return shared instance here.
8011 (getButtonListener): New helper method. Looks for the
8012 BasicButtonListener installed on a button and returns it.
8013 (installDefaults): Correctly install rollover property here.
8014 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
8015 (installKeyboardActions): Fetch listener with new helper method.
8016 (installListeners): Don't use removed field. Check for null.
8017 (installUI): Added comment about order of method invocations.
8018 (uninstallDefaults): Don't uninstall non-uninstallable properties.
8019 (uninstallKeyboardActions): Fetch listener with new helper method.
8020 (uninstallListeners): Fetch listener with new helper method.
8021 (paintIcon): Paint icon offset when pressed and armed.
8022 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
8023 * javax/swing/plaf/metal/MetalButtonUI.java
8024 (sharedUI): New field. Stores the shared UI.
8025 (MetalButtonUI): Don't initialize fields here.
8026 (createButtonListener): Removed method. Use super impl.
8027 (createUI): Return shared instance.
8028 (getDisabledTextColor): Update field here.
8029 (getFocusColor): Update field here.
8030 (getSelectColor): Update field here.
8031 (installDefaults): Don't handle rollover property here.
8032 (uninstallDefaults): Don't handle rollover property here.
8033 (paintButtonPressed): Use accessor method to update the
8036 2006-08-21 Mark Wielaard <mark@klomp.org>
8038 Merge NATIVE_LAYER branch.
8040 2006-08-20 Mark Wielaard <mark@klomp.org>
8042 * doc/tools.texinfo: Add file from trunk.
8043 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
8044 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
8046 * native/jni/java-lang/java_lang_VMProcess.c
8047 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8048 * native/jni/java-net/java_net_VMInetAddress.c
8049 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8050 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8052 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8054 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8056 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8058 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8060 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8062 * include/java_lang_VMProcess.h: Regenerated.
8064 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
8066 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8067 (nativeReceive): Fixed the type of the arrays (use java types).
8068 (nativeSendTo): Force throwing an exception if port is 0.
8070 * native/jni/java-net/javanet.c:
8071 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8073 (_javanet_recvfrom): Likewise.
8074 (_javanet_sendto): Throw a NullPointerException if the socket is
8075 not connected and no address is given.
8077 * native/jni/java-net/javanet.h
8078 (NULL_EXCEPTION): Defined.
8080 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
8082 * native/jni/java-net/java_net_VMInetAddress.c
8083 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8086 * native/jni/java-net/javanet.c
8087 (_javanet_accept): Fixed bogus call to TARGET.
8088 (_javanet_create_inetaddress): Fixed address generation. Fixed
8090 (_javanet_bind): set "Reuse address" flag.
8092 * native/jni/native-lib/cpio.c
8093 (cpio_getModificationTime): Fixed type.
8094 (cpio_removeFile): Use rmdir too.
8096 * native/jni/native-lib/cpnet.c
8097 (cpnet_getHostByName): Fixed error detection.
8099 * native/jni/native-lib/cpnet.h
8100 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8102 (cpnet_IPV4AddressToBytes): Fixed types.
8104 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
8106 * native/jni/native-lib/cpio.c
8107 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8109 * native/jni/native-lib/cpnet.h:
8110 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8111 messed by signs in jbyte.
8113 * native/jni/native-lib/cpproc.h
8114 (CPIO_EXEC_NUM_PIPES): Compilation fix.
8116 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
8118 * native/jni/native-lib/cpnet.c
8119 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8120 (waitForWritable, waitForReadable): New functions.
8121 (socketTimeouts): New static global table to hold timeouts for all
8123 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8124 Added waitForXXXX safeguards to handle socket timeouts.
8126 * native/jni/java-net/javanet.c
8127 (_javanet_accept): Check for the right error value when a timeout
8130 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
8132 * native/jni/java-io/Makefile.am,
8133 native/jni/java-lang/Makefile.am,
8134 native/jni/java-net/Makefile.am,
8135 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8137 * native/jni/native-lib/Makefile.am: Added cpproc.c
8139 * native/jni/native-lib/cpio.c: Implemented missing functions for
8142 * native/jni/native-lib/cpnet.c
8143 (cpnet_getHostByName): Fixed address array initialization.
8145 * native/jni/native-lib/cpproc.c: Implemented.
8147 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8149 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8151 * m4/gcc_attribute.m4: New file from ac_archive.
8153 * native/jni/java-net/javanet.c: Adapted to cpnet API
8156 * native/jni/native-lib/cpnet.c: Implemented.
8158 * native/jni/native-lib/cpnet.h
8159 (cpnet_openSocketDatagram,
8160 cpnet_openSocketStream): These calls need an address family now.
8161 (cpnet_IPV4AddressToBytes,
8162 cpnet_bytesToIPV4Address): Convert the address to network order.
8164 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
8166 * native/jni/java-io/java_io_VMFile.c,
8167 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8168 native/jni/midi-dssi/dssi_data.h,
8169 native/jni/native-lib/cpio.c,
8170 native/jni/native-lib/cpmath.h: Removed cpmath
8171 dependency. Fixed coding style.
8173 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8175 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8176 dependency. Simplified the JNI code by moving some part into the
8179 * native/jni/native-lib/cpproc.h: New interface to handle processes.
8181 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
8183 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8184 errors. Removed any remaining TARGET invocations.
8186 * native/jni/java-net/javanet.c
8187 (_javanet_create_inetaddress): Removed spurious arr and
8188 octets. Fixed compilation errors.
8190 * native/jni/native-lib/cpnet.h
8191 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8192 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8193 cpnet_isIPV4Address): New functions.
8194 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8197 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8199 * native/jni/java-io/java_io_VMFile.c,
8200 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8201 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8202 native/jni/java-net/javanet.c,
8203 native/jni/java-net/javanet.h: Adapted the VM layer code
8204 to the new native layer.
8206 * native/jni/native-lib/cpnet.h
8207 (cpnet_addMembership,
8208 cpnet_dropMembership,
8209 cpnet_getAvailableBytes): Added the declarations of
8211 (cpnet_newIPV6Address,
8212 cpnet_IPV6AddressToBytes,
8213 cpnet_bytesToIPV6Address): Implemented.
8214 (cpnet_newIPV4Address): Initialize the sin_family field.
8216 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
8218 * native/target: Removed.
8220 * configure.ac: Removed target from CLASSPATH_INCLUDES and
8221 Makefile generation.
8223 * native/jni/native-lib/Makefile.am,
8224 native/jni/native-lib/cpnet.h,
8225 native/jni/native-lib/cpnet.c
8226 native/jni/native-lib/cpio.h,
8227 native/jni/native-lib/cpio.c,
8228 native/jni/native-lib/cpmath.h: Imported new native compatibility
8231 2006-08-21 Roman Kennke <kennke@aicas.com>
8233 * gnu/javax/swing/text/html/css/CSSParser.java:
8235 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8237 * gnu/javax/swing/text/html/css/CSSParserException.java:
8239 * gnu/javax/swing/text/html/css/CSSScanner.java:
8240 Adjusted API comments. Made all constants package private.
8241 (EOF): New constant field.
8242 (parseBuffer): Made package private.
8243 (tokenEnd): Made package private.
8244 (CSSScanner): Initialize lookahead buffer with -1.
8245 (main): Print out to System.out rather then System.err.
8246 (nextToken): Push back character after IDENT.
8248 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8250 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8252 2006-08-21 Roman Kennke <kennke@aicas.com>
8254 * gnu/javax/swing/text/html/css/CSSScanner.java
8255 (main): Use buffered input stream.
8256 (nextToken): Removed 65536 workaround. Use int value directly
8257 without cast to char.
8258 (readComment): Use int value directly without cast to char.
8259 Cast to char only when putting the character into the buffer.
8260 (readEscape): Likewise.
8261 (readIdent): Likewise.
8262 (readName): Likewise.
8263 (readNum): Likewise.
8264 (readString): Likewise.
8265 (readWhitespace): Likewise.
8267 2006-08-21 Ingo Proetel <proetel@aicas.com>
8269 * java/io/InputStreamReader.java
8270 (bytesCache): New field.
8271 (cacheLock): New field.
8272 (read(byte[],int,int): Avoid allocations of new byte
8273 array on every call and reuse cached byte array if possible.
8275 2006-08-21 Roman Kennke <kennke@aicas.com>
8277 * gnu/java/net/local/LocalSocketImpl.java
8278 Only load native lib if this is supported by runtime.
8279 * native/jni/java-net/local.c
8280 Include config.h unconditionally.
8281 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8282 Include config.h unconditionally.
8284 2006-08-21 Friedjof Siebert <siebert@aicas.com>
8286 * java/io/ObjectInputStream.java
8287 (objectLookupTable): Changed to be a Vector.
8288 (ObjectInputStream): Initialize objectLookupTable as Vector.
8289 (assignNewHandle): Store Object using handle index rather than
8290 Hashtable, using the new rememberHandle() method.
8291 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8292 with a caching in ObjectStreamClass.
8293 (inputGetObjectStreamClass): Replaced by hierarchy().
8294 (lookupHandle): New method. Looks up an object by it's handle
8296 (parseContent): Avoid creating of Integer objects. Use
8297 hierarchy() method for looking up the class hierarchy.
8298 (processResolution): Use rememberHandle() to store
8299 handle per index, rather than Hashtabling the object.
8301 (rememberHandle): New method.
8302 * java/io/ObjectOutputStream.java
8303 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8304 Hashtable for improved lookup performance.
8305 (ObjectOutputStream): Initialize OIDLookupTable as
8306 ObjectIdentityMap2Int.
8307 (assignNewHandle): Change to use ObjectIdentityMap2Int.
8308 (findHandle): Change to use ObjectIdentityMap2Int.
8309 (getBooleanField): Removed.
8310 (getByteField): Removed.
8311 (getCharField): Removed.
8312 (getDoubleField): Removed.
8313 (getField): Removed.
8314 (getFloatField): Removed.
8315 (getIntField): Removed.
8316 (getLongField): Removed.
8317 (getObjectField): Removed.
8318 (writeFields(Object,ObjectStreamClass)): Use new helper method.
8319 (writeFields(Object,ObjectStreamField)): New helper method.
8320 Use switch rather then if-else cascade.
8321 (writeObject): Use int handle, rather then Integer.
8322 * java/io/ObjectStreamClass.java
8323 (hierarchy): New field. Caches the class hierarchy.
8324 (methodCache): New field. Caches methods.
8325 (readObjectSignature): New field. Stores the read signature.
8326 (uidCache): New field. Caches UIDs.
8327 (writeObjectSignature): New field. Stores the write signature.
8328 (cacheMethods): Cache methods in methodCache.
8329 (calculateClassID): Outsourced from getClassUID()
8330 for computing the UIDs.
8331 (getClassUIDFromField): Outsourced from getClassUID() for
8332 fetching the UID from the class field.
8333 (getClassUID): Use cached uid if possible. Use new helper
8334 methods for fetching the UID from the field or computing
8336 (getObjectStreamClasses): Removed. Replaced by more
8337 efficient hierarchy() method, that also caches the result.
8338 (hierarchy): Replaces getObjectStreamClasses() for caching
8340 (loadedByBootOrApplicationClassLoader): New helper method.
8341 (setClass): Invalidate hierarchy cache.
8342 (setSuperclass): Invalidate hierarchy cache.
8343 * java/io/ObjectStreamField.java
8344 (field): Made field package private for access from other
8346 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8347 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8348 hashtable for mapping objects to ints.
8350 2006-08-21 Roman Kennke <kennke@aicas.com>
8353 (getAbsolutePath): Fetch absolute path from
8354 VMFile.getAbsolutePath(). Moved actual impl to there.
8355 (isAbsolute): Let VMFile determine the absoluteness.
8356 (toURL): Let VMFile convert the filename.
8357 * vm/reference/java/io/VMFile.java
8358 (getAbsolutePath): New method.
8359 (isAbsolute): New method.
8360 (toURL): New method.
8362 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
8364 * NEWS: Added note about updated VM interface.
8366 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8368 * java/lang/management/ManagementFactory.java:
8369 Updated documentation.
8371 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
8374 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8376 * gnu/java/util/regex/CharIndexedCharSequence.java,
8377 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8379 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8380 (match): call the new method setHitEnd of the input,
8381 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8382 Some optimization commented out, Use CharIndexed#move1 instead of move.
8383 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8384 * gnu/java/util/regex/REToken.java(match): The method body has been
8385 moved to an internal private method, (matchFake): New method,
8386 (setHitEnd): New method.
8387 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8388 if the match is not complete, (matchOneString): Count the number of
8389 characters which matched the pattern.
8390 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8391 (setFake): New method, (match): Call super.match or super.matchFake.
8392 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8393 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8394 setHitEnd of the input,
8395 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8396 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8397 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8399 2006-08-18 Tom Tromey <tromey@redhat.com>
8401 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8402 the 'int', not the cast char.
8404 2006-08-18 Roger Sayle <roger@eyesopen.com>
8406 * scripts/check_jni_methods.sh: Don't use the "set -C" command
8407 which isn't available in all shells.
8409 2006-08-18 Roger Sayle <roger@eyesopen.com>
8411 * lib/Makefile.am (resources): Fix some shell portability issues.
8413 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8415 * configure.ac (tool-wrappers): Check for ltdl support when tool
8416 wrapper binaries are enabled.
8417 * tools/Makefile.am (LIBJVM): Remove variable.
8418 (AM_CPPFLAGS): Add LIBJVM define.
8419 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8420 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8421 gjavah_LDFLAGS): Remove variables.
8422 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8424 2006-08-18 Tom Tromey <tromey@redhat.com>
8426 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8428 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8430 (readEntries): Likewise.
8432 2006-08-17 Roman Kennke <kennke@aicas.com>
8434 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8435 (layoutLabel): Reset the text and icon rectangles.
8437 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8440 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8441 Transform gappletviewer name using program_transform_name.
8443 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8445 * javax/swing/filechooser/FileSystemView.java
8446 (getFileSystemView): Always return UnixFileSystemView, since
8447 that's the only one we got. Marked with NotImplementedException.
8448 * javax/swing/plaf/basic/BasicFileChooserUI.java
8449 (mouseClicked, installUI): Don't parse path by hand.
8451 2006-08-17 Roman Kennke <kennke@aicas.com>
8453 * javax/swing/JComponent.java
8454 (scrollRectToVisible): Handle intermediate non-JComponents
8457 2006-08-17 Roman Kennke <kennke@aicas.com>
8459 * javax/swing/RepaintManager.java
8460 (blitBuffer): Removed. This is now done in commitBuffer().
8461 (commitBuffer): Always paint on the root window or applet.
8462 No need to look for intermediate heavyweights. Optimized
8463 rectangle translation.
8464 (commitRemainingBuffers): Removed. Not needed anymore.
8465 (getHeavyweightParent): Removed. Not needed anymore.
8466 (getOffscreenBuffer): Fetch offscreen image from the
8467 actual root component.
8468 (paintDirtyRegions): Don't call commitRemainingBuffers().
8470 2006-08-17 Roman Kennke <kennke@aicas.com>
8472 * javax/swing/SwingUtilities.java
8473 (clipString): New helper method for trimming strings.
8474 (layoutCompoundLabelImpl): Fixed algorithm to conform
8475 testsuites. Trim text if it's too long. Avoid creating
8476 new Rectangles. Optimized for performance.
8477 (layoutCompoundLabel): Use switch rather then if-else-chain.
8478 * javax/swing/plaf/basic/BasicButtonUI.java
8482 (paint): Reset and use cached rectangles. Only call paintIcon()
8483 if icon is not null. Don't call paintButtonPressed() when
8484 button is selected, only when it is both armed and pressed.
8485 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8486 (getPreferredButtonSize): Reused cached rectangles rather
8487 then creating new ones. Don't create new Rectangle via
8489 * javax/swing/plaf/basic/BasicLabelUI.java
8490 (getPreferredSize): Correctly reset cached rectangles. Especially
8491 the view rect must have a big size to give it room for layouting.
8492 Short cut layout when text == null.
8493 (paint): Correctly reset cached rectangles.
8494 * javax/swing/plaf/basic/BasicMenuItemUI.java
8495 (resetRectangles): New helper method.
8496 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8497 (paintMenuItem): Correctly reset the cached rectangles.
8498 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8499 (getPreferredSize): Use cached Rectangle objects and initialize
8501 (paint): Use cached Rectangle objects and initialize
8504 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8506 * java/util/Calendar.java: API doc additions.
8508 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8510 * javax/swing/DefaultButtonModel.java:
8511 (setRollover): Simplified statement.
8513 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8515 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8516 (loadClass): Rewritten to use getClassLoader.
8517 (loadProxyClass): Implemented.
8518 (getClassLoader): Fixed support for null or empty codebase.
8519 * gnu/java/rmi/server/RMIObjectInputStream.java
8520 (resolveClass): Use user class loader as default class loader.
8521 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8522 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8523 (loadClass): Simplified and use user class loader instead of
8524 context class loader as default.
8525 * java/io/ObjectInputStream.java
8526 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8527 * vm/reference/gnu/classpath/VMStackWalker.java
8528 (firstNonNullClassLoader): New method.
8529 * vm/reference/java/io/VMObjectInputStream.java
8530 (loaderAction, currentClassLoader): Removed.
8532 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8534 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8535 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8536 by current scroll offset, added method documention.
8537 (getTabBounds(int, Rectangle)): Added method documentation.
8538 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8539 (paintContentBorderLeftEdge): Changed y to 1.
8541 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8543 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8544 (MouseHandler.mouseReleased): Implemented.
8545 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8546 (MouseHandler.mouseEntered): Dito.
8547 (MouseHandler.mouseExited): Dito.
8548 (MouseHandler.mouseMoved): Dito.
8549 (MouseHandler.redispatchEvent): New method.
8550 (PropertyChangeHandler.propertyChange): Added extra block level,
8551 added code to handle tab placement changes, added comment.
8552 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8554 2006-08-16 Roman Kennke <kennke@aicas.com>
8556 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8557 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8560 2006-08-16 Mark Wielaard <mark@klomp.org>
8562 * java/awt/Component.java (orientation): Renamed to
8563 componentOrientation.
8564 (setComponentOrientation): Use new field name.
8565 (getComponentOrientation): Likewise.
8567 2006-08-16 Roman Kennke <kennke@aicas.com>
8570 * javax/swing/plaf/basic/BasicTreeUI.java
8571 (CellEditorHandler.editingCancelled): Call completeEditing
8573 (CellEditorHandler.editingStopped): Call completeEditing
8575 (NodeDimensionHandler.getNodeDimensions): Rewritten
8576 to use the preferred sizes of the renderer and editor.
8577 (TreeExpansionHandler.treeCollapsed): Complete editing
8579 (TreeSelectionHandler.valueChanged): Complete editing
8581 (cancelEditing): Call completeEditing with false, false and
8582 false. Don't call finish (removed method).
8583 (completeEditing(boolean,boolean,boolean): Only do something when
8584 stopEditingInCompleteEditing is true. Nullify editingComponent
8585 and editingPath. Remove editingComponent from tree. Update
8586 the layout when necessary and repaint.
8587 (completeEditing): Stop editing when necessary.
8588 (editorRequestFocus): New helper method. Request focus
8589 on the actual editor.
8590 (finish) Removed. This is now done in completeEditing().
8591 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8592 (setLargeModel): Complete editing here.
8593 (setRootVisible): Complete editing here.
8594 (setRowHeight): Complete editing here.
8595 (setSelectionModel): Complete editing here.
8596 (startEditing): Correctly initialize and start editing.
8597 (updateExpandedDescendants): Complete editing here.
8598 * javax/swing/tree/DefaultTreeCellEditor.java
8599 (DefaultTextField): Fetch size from super and use renderer's height
8601 (EditorContainer.EditorContainer): Set layout to null, just
8603 (EditorContainer.doLayout): Layout so that the editor
8604 is offset to the right of the icon.
8605 (EditorContainer.getPreferredSize): Implemented to
8606 provide a reasonable preferred size.
8607 (EditorContainer.paint): Position icon in the middle.
8608 Also paint border if appropriate.
8609 (EditorContainer.setBounds): Removed.
8610 (RealEditorListener): Removed.
8611 (DefaultTreeCellEditor): Set correct border.
8612 (cancelCellEditing): Message real editor. Call finish().
8613 (createCellEditor): Don't add listener.
8614 (determineOffset): Correctly determine offset, and update
8616 (finish): New helper method.
8617 (getTreeCellEditorComponent): Set correct font. Call
8618 prepareForEditing() and determineOffset() to correctly initialize
8620 (stopCellEditing): Messsage realEditor to stop editing. Call
8622 (stopEditingTimer): Removed.
8623 (valueChanged): Correctly reset lastPath.
8624 * javax/swing/tree/DefaultTreeCellRenderer.java
8625 (getPreferredSize): Return super plus some extra space for
8628 2006-08-16 Roman Kennke <kennke@aicas.com>
8630 * javax/swing/plaf/metal/MetalTreeUI.java
8631 (LineStyleListener): New property listener, that updates
8632 the line style setting if the corresponding property
8634 (lineStyleListener): New field.
8635 (lineStyle): New field.
8636 (LINE_STYLE_ANGLED): New constant field.
8637 (LINE_STYLE_HORIZONTAL): New constant field.
8638 (LINE_STYLE_NONE): New constant field.
8639 (LINE_STYLE_VALUE_ANGLED): New constant field.
8640 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8641 (LINE_STYLE_VALUE_NONE): New constant field.
8642 (LINE_STYLE_PROPERTY): New constant field.
8643 (decodeLineStyle): Implemented.
8644 (installUI): Install line style listener. Set initial
8646 (uninstallUI): Uninstall line style listener.
8647 (paintHorizontalPartOfLeg): Only call super for angled
8649 (paintVerticalPartOfLeg): Only call super for angled
8651 (paintHorizontalSeparators): Implemented.
8652 (paint): If lineStyle==HORIZONTAL, call
8653 paintHorizontalSeparators().
8654 * examples/gnu/classpath/examples/swing/TreeDemo.java
8655 (createContent): Add panel for selecting line styles.
8657 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8659 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8660 (createContent): Rewritten.
8661 (createPlacementChangingMenuItem): New method.
8662 (createLayoutPolicyChangingMenuItem): New method.
8663 (createTabbedPane): New method.
8664 (createTabContent): New method.
8666 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8668 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8669 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8670 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8672 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8674 * javax/swing/text/WrappedPlainView.java:
8675 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8676 (calculateBreakPosition): Add p0 to return value.
8678 2006-08-15 Roman Kennke <kennke@aicas.com>
8680 * javax/swing/plaf/basic/BasicTreeUI.java
8681 (MouseHandler.selectedOnPress): New field.
8682 (MouseHandler.handleEvent): New helper method for handling
8683 selection and start/stop editing for mouse events.
8684 (MouseHandler.mouseDragged): Commented as no-op method.
8685 (MouseHandler.mouseMoved): Commented as no-op method.
8686 (MouseHandler.mousePressed): Use handleEvent() to handle
8687 selection and editing handling.
8688 (MouseHandler.mouseReleased): Use handleEvent() to handle
8689 selection and editing handling.
8690 (MouseInputHandler.MouseInputHandler): Register itself
8691 as mouse listener on source. Redispatch event to
8693 (MouseInputHandler.dispatch): New helper method.
8694 (MouseInputHandler.mouseClicked): Dispatch event.
8695 (MouseInputHandler.mouseDragged): Dispatch event.
8696 (MouseInputHandler.mouseEntered): Stop dispatching
8697 if dragging stopped.
8698 (MouseInputHandler.mouseExited): Stop dispatching
8699 if dragging stopped.
8700 (MouseInputHandler.mouseMoved): Stop dispatching.
8701 (MouseInputHandler.mousePressed): Marked as no-op.
8702 (MouseInputHandler.mouseReleased): Dispatch and stop
8703 dispatching afterwards.
8704 (MouseInputHandler.removeFromSource): Implemented.
8705 (PropertyChangeHandler.propertyChange): Also handle
8706 editable property changes by calling setEditable().
8707 (SelectionModelPropertyChangeHandler.propertyChange):
8708 Reset row selection.
8709 (startEditTimer): Removed.
8710 (setCellEditor): Call updateEditor().
8711 (setEditable): Call updateEditor().
8712 (startEditingAtPath): Make path fully visible before starting
8714 (startEditing): Maybe cancel previous edit session. Add
8715 editing component itself, not its parent container.
8716 Register MouseInputHandler for correctly redispatching
8718 (stopEditing): Message cellEditor and only completeEditing()
8719 when approved by cell editor.
8720 (updateCellEditor): Complete editing before updating
8721 the cell editor. Get cell editor from JTree if possible,
8722 otherwise create default editor. Update the listeners
8724 * javax/swing/tree/DefaultTreeCellEditor.java
8725 (CLICK_COUNT_TO_START): Removed.
8726 (DefaultTreeCellEditor): Install correct border. Let setTree()
8727 update the listeners. Don't initialize lastPath and font yet.
8728 (actionPerformed): Implemented to start editing.
8729 (createTreeCellEditor): Set click count to start to 1, rather than
8731 (isCellEditable): Prepare editor here. Determine if we can
8732 start immediately, or if we trigger a timer to do so.
8733 (prepareForEditing): Don't removeAll() (not necessary),
8734 check editingComponent to be non-null.
8735 (setTree): Update listeners.
8736 (shouldStartEditingTimer): Check for left mouse button.
8737 (startEditingTimer): Lazily create timer.
8739 2006-08-15 Lillian Angel <langel@redhat.com>
8741 * java/awt/dnd/DropTargetDragEvent.java
8742 (getTransferable): Implemented.
8744 2006-08-15 Roman Kennke <kennke@aicas.com>
8746 * java/util/Vector.java
8747 (removeAll): Added comment about NPE.
8748 (retainAll): Added comment about NPE.
8750 2006-08-15 Roman Kennke <kennke@aicas.com>
8752 * java/util/zip/ZipFile.java
8753 (UTF8DECODER): Removed.
8754 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8755 (utf8Decoder): New instance field.
8756 (decodeChars): Lazily create UTF8 decoder. Use instance
8757 field rather than a static field to avoid corruption.
8759 2006-08-15 Roman Kennke <kennke@aicas.com>
8761 * java/io/PrintStream.java
8762 (line_separator): Provide default for system property.
8763 * java/io/FileDescriptor.java
8764 (valid): Create local copy of channel field for better
8767 2006-08-15 Ingo Proetel <proetel@aicas.com>
8769 * java/util/zip/ZipFile.java
8770 (PartialInputStream.UTF8DECODER): New constant field, used
8771 for decoding UTF8 strings.
8772 (readLeShort): Access buffer directly if it has enough bytes
8774 (readLeInt): Access buffer directly if it has enough bytes
8776 (decodeChars): New helper method for decoding UTF8 strings.
8777 (readString): Avoid NIO charset decoder if possible.
8779 2006-08-15 Roman Kennke <kennke@aicas.com>
8781 * java/util/Vector.java
8782 (removeAll): Don't explicitly null-check here. The RI allows
8783 null arguments when Vector is empty. In other cases we
8784 implicitly throw an NPE.
8785 (retainAll): Don't explicitly null-check here. The RI allows
8786 null arguments when Vector is empty. In other cases we
8787 implicitly throw an NPE.
8789 2006-08-14 Casey Marshall <csm@gnu.org>
8791 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8792 of changes made on this branch.
8794 * gnu/classpath/debug/Component.java
8795 * gnu/classpath/debug/SystemLogger.java
8796 * gnu/java/security/action/GetPropertyAction.java
8797 * gnu/java/security/action/GetSecurityPropertyAction.java
8798 * gnu/javax/crypto/RSACipherImpl.java
8799 * gnu/javax/net/ssl/PrivateCredentials.java
8800 * gnu/javax/net/ssl/provider/Alert.java
8801 * gnu/javax/net/ssl/provider/AlertException.java
8802 * gnu/javax/net/ssl/provider/Certificate.java
8803 * gnu/javax/net/ssl/provider/CertificateRequest.java
8804 * gnu/javax/net/ssl/provider/CertificateType.java
8805 * gnu/javax/net/ssl/provider/CertificateVerify.java
8806 * gnu/javax/net/ssl/provider/CipherSuite.java
8807 * gnu/javax/net/ssl/provider/ClientHello.java
8808 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8809 * gnu/javax/net/ssl/provider/CompressionMethod.java
8810 * gnu/javax/net/ssl/provider/Constructed.java
8811 * gnu/javax/net/ssl/provider/ContentType.java
8812 * gnu/javax/net/ssl/provider/DiffieHellman.java
8813 * gnu/javax/net/ssl/provider/Extension.java
8814 * gnu/javax/net/ssl/provider/Finished.java
8815 * gnu/javax/net/ssl/provider/Handshake.java
8816 * gnu/javax/net/ssl/provider/Jessie.java
8817 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8818 * gnu/javax/net/ssl/provider/Random.java
8819 * gnu/javax/net/ssl/provider/ServerHello.java
8820 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8821 * gnu/javax/net/ssl/provider/Signature.java
8822 * gnu/javax/net/ssl/provider/Util.java
8823 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8824 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8825 * java/security/MessageDigest.java
8826 * java/security/MessageDigestSpi.java
8827 * java/security/Signature.java
8828 * java/security/SignatureSpi.java
8829 * javax/crypto/Mac.java
8830 * javax/crypto/MacSpi.java
8831 * javax/net/ssl/HandshakeCompletedEvent.java
8832 * javax/net/ssl/HttpsURLConnection.java
8833 * javax/net/ssl/SSLContext.java
8834 * javax/net/ssl/SSLContextSpi.java
8835 * javax/net/ssl/SSLSession.java
8837 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8838 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8839 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8840 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8841 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8842 * gnu/javax/net/ssl/provider/ServerDHParams.java
8843 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8844 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8845 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8846 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8847 * gnu/javax/net/ssl/provider/ServerNameList.java
8848 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8849 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8850 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8851 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8852 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8853 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8854 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8855 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8856 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8857 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8858 * gnu/javax/net/ssl/provider/Record.java
8859 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8860 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8861 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8862 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8863 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8864 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8865 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8866 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8867 * gnu/javax/net/ssl/provider/ExtensionList.java
8868 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8869 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8870 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8871 * gnu/javax/net/ssl/provider/ServerHandshake.java
8872 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8873 * gnu/javax/net/ssl/provider/SessionImpl.java
8874 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8875 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8876 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8877 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8878 * gnu/javax/net/ssl/provider/HelloRequest.java
8879 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8880 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8881 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8882 * gnu/javax/net/ssl/provider/ClientHandshake.java
8883 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8884 * gnu/javax/net/ssl/provider/CertificateURL.java
8885 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8886 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8887 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8888 * gnu/javax/net/ssl/provider/Builder.java
8889 * gnu/javax/net/ssl/provider/Debug.java
8890 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8891 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8892 * gnu/javax/net/ssl/provider/DelegatedTask.java
8893 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8894 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8895 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8896 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8897 * javax/net/ssl/SSLEngine.java
8898 * javax/net/ssl/CertPathTrustManagerParameters.java
8899 * javax/net/ssl/KeyStoreBuilderParameters.java
8900 * javax/net/ssl/X509ExtendedKeyManager.java
8901 * javax/net/ssl/SSLEngineResult.java
8902 * gnu/javax/net/ssl/PreSharedKeyManager.java
8903 * gnu/javax/net/ssl/Session.java
8904 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8905 * gnu/javax/net/ssl/SSLCipherSuite.java
8906 * gnu/javax/net/ssl/AbstractSessionContext.java
8907 * gnu/javax/net/ssl/SessionStoreException.java
8908 * gnu/javax/net/ssl/SSLRecordHandler.java
8909 * gnu/javax/net/ssl/SSLProtocolVersion.java
8910 * gnu/javax/crypto/key/GnuPBEKey.java
8911 * gnu/java/security/util/ByteBufferOutputStream.java
8912 * gnu/java/security/Requires.java
8913 * gnu/javax/security/auth/callback/CertificateCallback.java
8915 * gnu/javax/net/ssl/provider/Context.java
8916 * gnu/javax/net/ssl/provider/DigestInputStream.java
8917 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8918 * gnu/javax/net/ssl/provider/Enumerated.java
8919 * gnu/javax/net/ssl/provider/Extensions.java
8920 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8921 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8922 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8923 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8924 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8925 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8926 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8927 * gnu/javax/net/ssl/provider/KeyPool.java
8928 * gnu/javax/net/ssl/provider/OverflowException.java
8929 * gnu/javax/net/ssl/provider/RecordInput.java
8930 * gnu/javax/net/ssl/provider/RecordInputStream.java
8931 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8932 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8933 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8934 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8935 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8936 * gnu/javax/net/ssl/provider/SSLSocket.java
8937 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8938 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8939 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8940 * gnu/javax/net/ssl/provider/SecurityParameters.java
8941 * gnu/javax/net/ssl/provider/Session.java
8942 * gnu/javax/net/ssl/provider/SessionContext.java
8943 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8944 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8946 2006-08-14 Roman Kennke <kennke@aicas.com>
8948 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8949 (DividerLayout.layoutContainer): Removed debug output.
8950 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8951 (BasicHorizontalLayoutManager.axis): New field.
8952 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8954 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8955 Call new axis constructor.
8956 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8958 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8960 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8961 Refactored to handle direction.
8962 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8963 to handle direction.
8964 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8966 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8967 to handle direction.
8968 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8969 to handle direction.
8970 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8971 to handle direction.
8972 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8974 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8975 New explicit constructor. Calls super with vertical axis.
8976 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8977 to BasicHorizontalLayoutManager.
8978 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8979 moved to BasicHorizontalLayoutManager.
8980 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8981 Functionality moved to BasicHorizontalLayoutManager.
8982 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8983 moved to BasicHorizontalLayoutManager.
8984 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8985 moved to BasicHorizontalLayoutManager.
8986 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8987 Functionality moved to BasicHorizontalLayoutManager.
8988 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8989 moved to BasicHorizontalLayoutManager.
8990 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8991 moved to BasicHorizontalLayoutManager.
8992 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8993 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8994 (BUTTON_SPRITE_R): New constant field.
8995 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8996 L sprite for left buttons.
8998 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
9000 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
9001 (query_formats): g_free 'name' after usage.
9002 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
9003 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
9005 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9008 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
9011 2006-08-14 Francis Kung <fkung@redhat.com>
9014 * java/awt/image/ColorModel.java
9015 (coerceData): Added check for non-transparent images.
9017 2006-08-14 Francis Kung <fkung@redhat.com>
9019 * java/awt/image/BandCombineOp.java
9020 (BandCombineOp): Perform checks on validity of matrix.
9021 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
9022 (filter): Updated to work with new matrix storage.
9023 (getMatrix): Updated javadoc.
9024 (getPoint2D): Formatting change.
9026 2006-08-14 Francis Kung <fkung@redhat.com>
9028 * java/awt/image/AffineTransformOp.java
9029 (AffineTransformOp): Updated javadoc.
9030 (createCompatibleDestImage): Match behaviour of reference implementation.
9031 (createCompatibleDestRaster): Formatting changes.
9032 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
9033 (filter(Raster, WritableRaster)): Re-implemented.
9034 (filterBicubic): New private method.
9035 (filterBilinear): New private method.
9036 (filterNearest): New private method.
9037 (getBounds2D): No longer fixed around one point for rotations.
9038 (getInterpolationType): Add support for bicubic interpolation.
9040 2006-08-14 Roman Kennke <kennke@aicas.com>
9042 * javax/swing/plaf/metal/MetalLookAndFeel.java
9043 (MetalLookAndFeel): Moved theme initialization to
9045 (createDefaultTheme): Forward to getCurrentTheme().
9046 (getDefaults): Initialize theme before doing anything else.
9047 (getCurrentTheme): Recognize swing.metalTheme property.
9049 2006-08-14 Roman Kennke <kennke@aicas.com>
9051 * javax/swing/JTable
9052 (getScrollableUnitIncrement): Expose partially exposed
9053 row in scrolling direction.
9055 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9057 * javax/swing/JTable (getScrollableUnitIncrement):
9058 Removing my name as the whole method body have been
9059 recently completely replaced.
9061 2006-08-14 Roman Kennke <kennke@aicas.com>
9064 * javax/swing/text/Utilities.java
9065 (getTabbedTextOffset): Don't add p0 here.
9067 2006-08-14 Roman Kennke <kennke@aicas.com>
9070 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9071 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9072 when wheel is going up.
9074 2006-08-14 Roman Kennke <kennke@aicas.com>
9077 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9078 (BasicOneTouchButton): New inner class.
9079 (DividerLayout.changeButtonOrientation): Removed.
9080 (DividerLayout.positionButtons): Moved into layoutContainer.
9081 (DividerLayout.layoutContainer): Reworked for correct layout.
9082 (OneTouchAction): New inner class.
9083 (centerOneTouchButtons): New field.
9084 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9086 (createLeftOneTouchButton): Reimplemented to return
9087 BasicOneTouchButton.
9088 (createRightOneTouchButton): Reimplemented to return
9089 BasicOneTouchButton.
9090 (getPreferredSize): Reimplemented to return fixed preferredSize.
9091 (oneTouchExpandableChanged): Add OneTouchAction action to
9092 buttons. Don't install mouse listeners.
9093 (MouseHandler.mousePressed): Removed handling of one touch buttons.
9094 (paint): Don't trigger extra paint for buttons.
9095 (propertyChange): Revalidate splitPane when orientation is changed.
9096 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9097 oneTouchExpandable is true.
9098 * javax/swing/plaf/basic/BasicSplitPaneUI.java
9099 (installDefaults): Install dividerSize on the divider too.
9100 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9101 (MetalDividerLayout): Removed. Functionality is already
9102 in BasicSplitPaneDivider.DividerLayout.
9103 (MetalOneTouchButton): New inner class.
9104 (BUTTON_SPRITE): New constant field.
9105 (MetalSplitPaneDivider): Don't change layout.
9106 (createLeftOneTouchButton): Overridden to return custom button
9108 (createRightOneTouchButton): Overridden to return custom button
9110 (paint): Don't trigger button painting. Call super instead.
9112 2006-08-13 Roman Kennke <kennke@aicas.com>
9114 * javax/swing/plaf/basic/BasicTableHeaderUI.java
9115 (installKeyboardAction): Unmarked as stub. Added comment
9116 explaining that the RI seems to do nothing here.
9117 (uninstallKeyboardAction): Unmarked as stub. Added comment
9118 explaining that the RI seems to do nothing here.
9120 2006-08-13 Roman Kennke <kennke@aicas.com>
9123 * javax/swing/ScrollPaneLayout.java
9124 (layoutContainer): Consider the viewportBorder of the
9126 (minimumLayoutSize): Consider the viewportBorder of the
9128 (preferredLayoutSize): Consider the viewportBorder of the
9130 * javax/swing/plaf/basic/BasicScrollPaneUI.java
9131 (installDefaults): Also install viewportBorder if specified.
9132 (paint): Paint viewportBorder if present.
9133 (uninstallDefaults): Uninstall viewportBorder if appropriate.
9134 Don't nullify foreground, background and font. Uninstall
9135 border via LookAndFeel helper method to avoid uninstall
9138 2006-08-13 Roman Kennke <kennke@aicas.com>
9141 * javax/swing/plaf/basic/BasicHTML.java
9142 (HTMLRootView.HTMLRootView): Trigger initial layout.
9143 (HTMLRootView.setSize): Overridden to forward to real view.
9144 * javax/swing/plaf/basic/BasicToolTipUI.java
9145 (PropertyChangeHandler): New inner class. Updates the HTML
9147 (propertyChangeHandler): New field.
9148 (getMaximumSize): Add HTML width delta.
9149 (getMinimumSize): Add HTML width delta.
9150 (getPreferredSize): Reimplemented to use HTML view for size
9151 calculation if appropriate, otherwise use simple stringWidth()
9153 (installListeners): Install propertyChangeHandler.
9154 (uninstallListeners): Uninstall propertyChangeHandler.
9155 (installUI): Update HTML renderer.
9156 (uninstallUI): Update HTML renderer.
9157 (paint): Reimplemented to use HTML view for rendering if
9158 appropriate, simple drawString otherwise.
9159 * javax/swing/plaf/metal/MetalToolTipUI.java
9160 (getPreferredSize): Call super and add accelerator delta.
9161 (paint): Simply call super.
9163 2006-08-13 Roman Kennke <kennke@aicas.com>
9165 * javax/swing/JMenu.java
9166 (changeListener): Renamed to menuChangeListener to avoid
9167 shadowing changeListener field from AbstractButton.
9169 2006-08-13 Roman Kennke <kennke@aicas.com>
9171 * javax/swing/JTree.java
9172 (getScrollableUnitIncrement): Fixed direction.
9173 (getScrollableBlockIncrement): Implemented to scroll one
9175 * javax/swing/tree/VariableHeightLayoutCache.java
9176 (distance): Consider y + height already outside the node.
9178 2006-08-13 Roman Kennke <kennke@aicas.com>
9180 * javax/swing/JTable.java
9181 (getScrollableUnitIncrement): Fixed direction. Make it behave
9183 (getScrollableBlockIncrement): Fixed direction. Make it behave
9186 2006-08-13 Roman Kennke <kennke@aicas.com>
9188 * javax/swing/JList.java
9189 (getScrollableUnitIncrement): Fixed direction. Implemented
9190 horizontal scrolling. Improved usability.
9191 (getScrollableBlockIncrement): Fixed direction. Improved usability.
9193 2006-08-13 Roman Kennke <kennke@aicas.com>
9195 * javax/swing/plaf/basic/BasicScrollBarUI.java
9196 (scrollByUnit): Scroll by -unit when direction is not positive
9197 and +unit otherwise.
9198 (scrollByBlock): Scroll by -unit when direction is not positive
9199 and +unit otherwise.
9201 2006-08-13 Roman Kennke <kennke@aicas.com>
9204 * javax/swing/text/PlainView.java
9205 (paint): Limit painted area to the lines inside the clip
9208 2006-08-13 Roman Kennke <kennke@aicas.com>
9210 * javax/swing/plaf/basic/BasicTextUI.java
9211 (uninstallListeners): Unregister document listener.
9213 2006-08-13 Sven de Marothy <sven@physto.se>
9215 * java/util/Locale.java
9216 (hashcodeCache): New field.
9217 (hashCode): use the above field instead of the serialized one
9218 (writeObject): Removed method.
9219 (readObject): Intern strings.
9220 (equals): Revert to previous method.
9222 2006-08-13 Roman Kennke <kennke@aicas.com>
9224 * javax/swing/JTabbedPane.java
9225 (JTabbedPane): Call setModel() here and let this install the
9226 change listener correctly.
9227 (setModel): Correctly uninstall and reinstall ChangeListener when
9230 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9233 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9234 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9235 (lastDefaultLocale): Removed.
9236 (emptyLocale): Likewise.
9237 (BundleKey.defaultLocale): New field.
9238 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9239 (BundleKey.set): Likewise.
9240 (BundleKey.equals): Take defaultLocal field into consideration.
9241 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9243 2006-08-13 Roman Kennke <kennke@aicas.com>
9245 * javax/swing/JMenu.java
9246 (MenuChangeListener): New inner class, helps firing menu events.
9247 (changeListener): New field.
9248 (add(text)): Create new JMenuItem here and call add(JMenuItem).
9249 (add(Action)): Create Action using createActionComponent()
9250 and add via add(Component).
9251 (setModel): Install and uninstall MenuChangeListener here.
9253 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9256 * java/math/BigInteger.java: Updated copyright year.
9257 (init): Consume as little bytes as possible.
9258 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9259 (valueOf(String, int)): Throw NumberFormatException for malformed strings
9260 as per RI's documentation.
9262 2006-08-13 Sven de Marothy <sven@physto.se>
9264 * java/util/Locale.java
9265 (hashcode): Is a serialized field, not transient.
9266 (equals): Should NOT compare strings by reference.
9267 (readObject/writeObject): Use the default methods and handle the hash
9270 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
9273 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9274 Updated documentation.
9276 (getInstance(String, String, Provider, Object[])): Likewise.
9277 Separate checks for null and empty string arguments.
9278 Include as much information as possible in the exception's message.
9279 Do not swallow original exception; instead use it as the cause of the
9280 resulting exception.
9281 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9282 (getInstance(String)): Updated documentation.
9284 Store last exception caught when iterating through all providers.
9285 If no implementation found, raise last exception if one was caught.
9286 (getInstance(String, String)): Updated documentation.
9288 Check for null or empty provider as per RI-5's documentation.
9289 (getInstance(String, Provider)): Updated documentation.
9291 Use as much information as possible in the exception message.
9292 Do not swallow original exception; instead use it as the cause for the
9293 ultimate raised exception(s).
9294 * java/security/cert/CertificateFactory.java: Likewise.
9295 * java/security/cert/CertPathBuilder.java: Likewise.
9296 * java/security/cert/CertPathValidator.java: Likewise.
9297 * java/security/cert/CertStore.java: Likewise.
9298 * java/security/AlgorithmParameterGenerator.java: Likewise.
9299 * java/security/AlgorithmParameters.java: Likewise.
9300 * java/security/KeyFactory.java: Likewise.
9301 * java/security/KeyPairGenerator.java: Likewise.
9302 * java/security/KeyStore.java: Likewise.
9303 * java/security/MessageDigest.java: Likewise.
9304 * java/security/SecureRandom.java: Likewise.
9305 * java/security/Signature.java: Likewise.
9306 * javax/crypto/Cipher.java: Likewise.
9307 * javax/crypto/ExemptionMechanism.java: Likewise.
9308 * javax/crypto/KeyAgreement.java: Likewise.
9309 * javax/crypto/KeyGenerator.java: Likewise.
9310 * javax/crypto/Mac.java: Likewise.
9311 * javax/crypto/SecretKeyFactory.java: Likewise.
9312 * javax/net/ssl/KeyManagerFactory.java: Likewise.
9313 * javax/net/ssl/SSLContext.java: Likewise.
9314 * javax/net/ssl/TrustManagerFactory.java: Likewise.
9316 2006-08-13 Roman Kennke <kennke@aicas.com>
9318 * javax/swing/JEditorPane.java
9319 (getScrollableTracksViewportHeight): Also check maximum size.
9320 * javax/swing/JTextPane.java
9321 (insertIcon): Use input attributes for adding the icon
9323 * javax/swing/plaf/basic/BasicTextUI.java
9324 (RootView.setSize): Overridden to forward to real view.
9325 (getPreferredSize): Trigger setSize() on the view.
9326 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9327 to viewToModel() call, rather then null.
9328 * javax/swing/text/ParagraphView.java
9329 (changedUpdate): Invalide layout. Call super.
9330 * javax/swing/text/SimpleAttributeSet.java
9331 (clone): Use super's clone method to create clone.
9332 * javax/swing/text/StyleConstants.java
9333 (setIcon): Also set element name attribute.
9334 * javax/swing/text/StyledEditorKit.java
9335 (BoldAction.actionPerformed): Actually set the bold attribute,
9337 (setCharacterAttributes): Replaced with more straightforward
9339 * javax/swing/text/TextAction.java
9340 (getFocusedComponent): Implemented.
9341 * javax/swing/text/Utilities.java
9342 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9344 * javax/swing/text/View.java
9345 (changedUpdate): Nullify element change when updateChildren
9348 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
9350 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9351 Fix documentation typos.
9353 2006-08-11 David Daney <ddaney@avtrex.com>
9356 * gnu/java/net/protocol/http/Request.java (readResponse): Call
9357 createResponseBodyStream in more cases and with new parameter.
9358 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
9359 HEAD and !mayHaveBody responses specially.
9361 2006-08-11 Roman Kennke <kennke@aicas.com>
9363 * javax/swing/text/GlyphView.java
9364 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9365 * javax/swing/text/LabelView.java
9366 (valid): New flag indicating if the text attributes are valid.
9367 (LabelView): Initialize valid field with false.
9368 (setPropertiesFromAttributes): Call setter methods instead
9369 of setting properties directly. Set valid to true.
9370 (changedUpdate): Invalidate attributes. Call super.
9371 (getBackground): Sync attributes if necessary.
9372 (getForeground): Sync attributes if necessary.
9373 (getFont): Sync attributes if necessary.
9374 (isUnderline): Sync attributes if necessary.
9375 (isSuperscript): Sync attributes if necessary.
9376 (isStrikeThrough): Sync attributes if necessary.
9377 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9378 from toolkit if Container is not available yet.
9380 2006-08-11 Roman Kennke <kennke@aicas.com>
9382 * javax/swing/text/PlainView.java
9383 (tabBase): New field.
9384 (tabSize): New field.
9385 (updateMetrics): Update tabSize.
9386 (lineToRect): Only allocate when really necessary.
9387 (modelToView): Use tabBase for offset calculations.
9388 (paint): Only allocate when really necessary. Update tabBase.
9389 (nextTabStop): Fixed tab calculation.
9390 (viewToModel): Correctly handle multiline text and locations
9391 outside the view's bounds. Set bias.
9392 (getLineLength): Use tabBase.
9393 * javax/swing/text/Utilities.java
9394 (drawTabbedText): Don't special case newlines. The views
9395 must take care of this.
9397 2006-08-11 Roman Kennke <kennke@aicas.com>
9399 * javax/swing/text/GapContent.java
9400 (UndoPosRef): New inner class. Used for resetting positions
9401 after undo/redo operations.
9402 (InsertUndo.positions): New field.
9403 (InsertUndo.undo): Store positions in removed range.
9404 (InsertUndo.redo): Restore positions in re-inserted range.
9405 (UndoRemove.positions): New field.
9406 (UndoRemove.UndoRemove): Store positions in removed range.
9407 (UndoRemove.undo): Restore positions in re-inserted range.
9408 (UndoRemove.redo): Store positions in removed range.
9409 (insertString): Create InsertUndo instance before actually
9410 inserting the string.
9411 (remove): Create UndoRemove instance before actually
9413 (getPositionsInRange): Don't clear the Vector. Return Vector
9415 (updateUndoPositions): Implemented to reset all UndoPosRefs
9418 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
9420 * java/io/ObjectInputStream.java (readClassDescriptor):
9421 Use class's class loader to resolve field types.
9422 * java/io/ObjectStreamField.java
9423 (ObjectStreamField(String,String,ClassLoader)): Removed.
9424 (ObjectStreamField(String,String)): Don't try to resolve typename.
9425 (resolveType): New method.
9427 2006-08-10 Roman Kennke <kennke@aicas.com>
9429 * javax/swing/text/BoxView.java
9430 (calculateMajorAxisRequirements): Sum up the preferred and
9432 (isAfter): Also add in the rectangle's with/height.
9433 (childAllocation): Don't trigger layout here.
9434 (layoutMinorAxis): Removed debug output.
9435 (getWidth): Consider the insets.
9436 (getHeight): Consider the insets.
9437 (setSize): Consider the insets.
9438 (updateRequirements): Check axis and throw
9439 IllegalArgumentException.
9441 2006-08-10 Roman Kennke <kennke@aicas.com>
9443 * javax/swing/text/AbstractDocument.java
9444 (BidiRootName): New constant field, denotes the element name
9445 for bidi root elements.
9446 (AsyncLoadPriority): New constant field, denotes the property
9447 to store the asynchronousLoadPriority.
9448 (I18N): New constant field, denotes the property for
9450 (bidiRoot): Made field type BidiRootElement.
9451 (AbstractDocument): Build initial element structure for
9453 (getAsynchronousLoadPriority): Implemented. Returns the
9454 value stored in the document properties.
9455 (setAsynchronousLoadPriority): Implemented. Sets the
9456 value stored in the document properties.
9457 (getEndPosition): Implemented to use a Position from the
9459 (getStartPosition): Implemented to use a Position from the
9461 (insertStringImpl): Update the I18N setting if necessary.
9462 (insertUpdate): Update the bidi structure if necessary.
9463 (postRemoveUpdate): Update the bidi structure if necessary.
9464 (putProperty): Update the I18N setting and bidi structure
9466 (updateBidi): New helper method for updating the bidi
9468 (getBidis): New helper method. Fetches the Bidi analysers
9469 for the paragraphs of the range to check.
9470 (dump): Also dump the bidi structure.
9471 (AbstractElement.dump): Indent the '>' correctly.
9472 (AbstractElement.children): Check numChildren rather then
9474 (BidiRootElement): New inner class.
9475 (BidiElement): New inner class.
9477 2006-08-10 Roman Kennke <kennke@aicas.com>
9479 * javax/swing/text/GapContent.java
9480 (getChars): Optimized to only copy array when really necessary.
9481 Respect the partialReturn property.
9483 2006-08-10 Lillian Angel <langel@redhat.com>
9485 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9486 (getComponentPeer): Added check to prevent NPE.
9488 2006-08-10 Gary Benson <gbenson@redhat.com>
9490 * java/security/AccessControlContext.java (<init>):
9491 Avoid a duplicated AccessController.getContext() call.
9493 2006-08-09 Mark Wielaard <mark@klomp.org>
9495 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9496 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9497 * doc/www.gnu.org/announce/20060809.wml: New file.
9499 2006-08-09 Mark Wielaard <mark@klomp.org>
9501 * configure.ac (VERSION): Set to 0.92-generics.
9502 * NEWS: Add updates for 0.92 release.
9504 2006-08-09 Tom Tromey <tromey@redhat.com>
9507 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9508 the pattern match any number of spaces in the text.
9510 2006-08-09 Sven de Marothy <sven@physto.se>
9512 * java/awt/image/BufferedImage.java
9513 (BufferedImage): Reimplement predefined-type constructor.
9514 (observers/tileObservers): Field renamed to tileObservers.
9515 (createDefaultIndexedColorModel): New method.
9517 2006-08-09 Tom Tromey <tromey@redhat.com>
9520 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9521 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9522 Create a 'short' array.
9524 2006-08-09 Tom Tromey <tromey@redhat.com>
9526 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9528 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9529 (writeFields): Print "L" after int constant. Don't mangle the field
9530 name. Only print int/long fields.
9532 2006-08-09 Tom Tromey <tromey@redhat.com>
9534 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9537 2006-08-09 Sven de Marothy <sven@physto.se>
9539 * javax/swing/JTree.java
9540 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9541 (setSelectionModel): Null parameter should create an EmptySelectionM.
9543 2006-08-09 Roman Kennke <kennke@aicas.com>
9545 * javax/swing/text/AbstractDocument.java
9546 (insertString): Perform modifications inside a write lock.
9547 (insertStringImpl): Don't lock here. This is already done
9549 (replace): Perform modifications inside a write lock.
9550 (AbstractElement.AbstractElement): Call addAttributes() to
9552 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9553 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9554 (BranchElement.BranchElement): Set lastIndex to -1.
9555 (BranchElement.getElementIndex): Implemented more efficient
9558 2006-08-09 Roman Kennke <kennke@aicas.com>
9560 * javax/swing/text/DefaultStyledDocument.java
9561 (Edit): Moved this inner class into ElementBuffer where it
9563 (edits): Moved this field into ElementBuffer.
9564 (getEditForParagraphAndIndex): Removed obsolete method.
9565 (insertUpdate): Added some optimizations and fixes. Split
9566 out handling insertion after newlines.
9567 (insertAfterNewline): New helper method. Handles insertions
9569 (ElementBuffer.Edit): New inner class. Moved here from
9570 DefaultStyledDocument.
9571 (ElementBuffer.createdFracture): New field.
9572 (ElementBuffer.documentEvent): Made private.
9573 (ElementBuffer.edits): New field. Moved here from
9574 DefaultStyledDocument.
9575 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9576 (ElementBuffer.fracturedChild): New field.
9577 (ElementBuffer.fracturedParent): New field.
9578 (ElementBuffer.insertPath): New field.
9579 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9581 (ElementBuffer.offsetLastIndex): New field.
9582 (ElementBuffer.offsetLastIndexReplace): New field.
9583 (ElementBuffer.recreateLeafs): New field.
9584 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9585 (ElementBuffer.canJoin): New helper method.
9586 (ElementBuffer.changeUpdate): Changed to use elementStack with
9587 Edits rather than Elements. Let the split method do the work.
9588 (ElementBuffer.cloneAsNecessary): New helper method.
9589 (ElementBuffer.createFracture): Changed to fracture the bottommost
9591 (ElementBuffer.finishEdit): New helper method. Moved out
9592 from insertUpdate to perform the actual changes and update
9594 (fracture): New helper method.
9595 (insertContentTag): Fixed some bugs and changed to use Edit
9596 instances in the stack, rather then Elements.
9597 (insertElement): New helper method. Moved out from insertUpdate()
9598 to process the ElementSpecs.
9599 (insertFirstContentTag): Fixed some problems and changed to use Edit
9600 instances in the stack, rather then Elements.
9601 (insertFracture): Removed. Basically moved into createFracture()
9603 (insertParagraph): Removed.
9604 (insertUpdate): Split out the ElementSpec processing into
9605 insertElement(). Use Edit instances in the stack. Fixed some
9607 (insert): Split out the preparation and finishing code into
9608 prepareEdit() and finishEdit().
9609 (join): New helper method.
9610 (pop): New helper method.
9611 (prepareEdit): New helper method.
9612 (recreateFracturedElement): New helper method.
9613 (recreateLeaves): Removed.
9614 (recreate): New helper method.
9615 (removeElements): New helper method. Split out from removeUpdate().
9616 (removeUpdate): Split out the actual removal. Use the
9617 Edit stack to perform removal and perform the remove actions
9618 and event updates afterwards, just like in insertImpl().
9619 (remove): Use prepareEdit() and finishEdit().
9620 (split): Replaced with more flexible impl.
9622 2006-08-09 Sven de Marothy <sven@physto.se>
9624 * gnu/java/awt/peer/gtk/CairoSurface.java
9625 Change class to extend WritableRaster and not DataBuffer.
9626 (CairoDataBuffer): New inner class.
9627 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9628 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9629 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9630 Accomodate the above change.
9632 2006-08-09 Sven de Marothy <sven@physto.se>
9634 * gnu/java/awt/peer/gtk/GtkMainThread.java
9636 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9637 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9638 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9639 * gnu/java/awt/peer/gtk/GtkToolkit.java
9640 Minor style fixes; removed unused fields,
9641 set fields to private where possible.
9642 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9643 Call GtkMainThread.createWindow().
9644 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9645 (dispose): New method.
9646 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9648 (gtkQuit): New native method.
9650 2006-08-08 Lillian Angel <langel@redhat.com>
9652 * java/awt/Component.java
9653 (setDropTarget): Added check.
9655 2006-08-08 Lillian Angel <langel@redhat.com>
9657 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9658 (GtkDragSourceContextPeer): Added FIXME. Changed call
9660 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9661 (GtkDropTargetContextPeer): Removed target initialization.
9662 * java/awt/Component.java
9663 (setTarget): Removed commented out code.
9665 2006-08-08 Mark Wielaard <mark@klomp.org>
9667 * javax/swing/text/DefaultHighlighter.java: Qualify
9668 Highlighter.HighlightPainter class name for gcj.
9670 2006-08-05 Roman Kennke <kennke@aicas.com>
9672 * javax/swing/plaf/basic/BasicTableUI.java
9673 (MouseInputHandler.mousePressed): Request focus on list
9676 2006-08-05 Roman Kennke <kennke@aicas.com>
9678 * javax/swing/plaf/basic/BasicListUI.java
9679 (MouseInputHandler.mousePressed): Request focus on list
9682 2006-08-05 Roman Kennke <kennke@aicas.com>
9685 * javax/swing/plaf/basic/BasicMenuBarUI.java
9686 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9687 than Tree.actionMap.
9688 * javax/swing/plaf/basic/BasicTreeUI.java
9689 (action): Removed obsolete field.
9690 (uninstallKeyboardActions): Removed action field handling.
9691 (installKeyboardActions): Removed action field handling.
9692 (createDefaultActions): Don't install removed TreeAction.
9693 (TreeAction): Removed obsolete inner class.
9694 (ActionListenerProxy): Removed obsolete inner class.
9695 (MouseHandler.mousePressed): Request focus on JTree component
9698 2006-08-08 Roman Kennke <kennke@aicas.com>
9700 * javax/swing/plaf/basic/BasicListUI.java
9701 (MouseInputHandler.mousePressed): Request focus on list
9704 2006-08-08 Roman Kennke <kennke@aicas.com>
9706 * javax/swing/plaf/basic/BasicTableUI.java
9707 (MouseInputHandler.mousePressed): Request focus on list
9710 2006-08-08 Roman Kennke <kennke@aicas.com>
9712 * javax/swing/plaf/basic/BasicTextUI.java
9713 (damageRange(JTextComponent,int,int)): Call damageRange() with
9714 correct biases, rather than null.
9715 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9716 to use simpler modelToView() approach without much special
9717 casing. This seems not worth the effort and actually
9718 caused problems. Added locking of the document.
9719 * javax/swing/text/BoxView.java
9720 (requirementsValid): New field.
9721 (calculateMajorAxisRequirements): Rewritten without using
9722 SizeRequirements. The SizeRequirements algorithms are slightly
9723 different and too inefficient.
9724 (calculateMinorAxisRequirements): Rewritten without using
9725 SizeRequirements. The SizeRequirements algorithms are slightly
9726 different and too inefficient.
9727 (getAlignment): Simply return the alignment of the cached
9729 (getMaximumSpan): Add insets.
9730 (getMinimumSpan): Add insets.
9731 (getPreferredSpan): Add insets.
9732 (layoutMajorAxis): Rewritten without using
9733 SizeRequirements. The SizeRequirements algorithms are slightly
9734 different and too inefficient.
9735 (layoutMinorAxis): Rewritten without using
9736 SizeRequirements. The SizeRequirements algorithms are slightly
9737 different and too inefficient.
9738 (modelToView): Call setSize() rather than layout().
9739 (paint): Check clip for more efficient painting.
9740 (preferenceChanged): Invalidate requirements here.
9741 (replace): Invalidate requirements here.
9742 (updateRequirements): Update requirements only when requirements
9744 * javax/swing/text/CompositeView.java
9745 (modelToView): Added some more checks and handling of corner cases.
9746 * javax/swing/text/FlowView.java
9747 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9748 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9749 * javax/swing/text/IconView.java
9750 (getAlignment): Implemented to return 1.0 for vertical alignment.
9751 * javax/swing/text/ParagraphView.java
9752 (Row.getMaximumSpan): Implemented to let Rows span the whole
9754 (getAlignment): Fixed horizontal alignment and vertical alignment
9755 for empty paragraphs to be 0.5.
9757 2006-08-08 Roman Kennke <kennke@aicas.com>
9759 * javax/swing/text/View.java
9760 (modelToView): Added special handling for corner case at the end
9761 of the view and for multiline views.
9763 2006-08-08 Roman Kennke <kennke@aicas.com>
9765 * javax/swing/plaf/basic/BasicTextUI.java
9766 (modelToView): Read-lock the document. Set size of the
9767 root view before fetching the model-to-view mapping.
9768 (getViewIndex): Check of the position is inside the range and
9769 return -1 if this is not the case.
9770 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9772 (getViewIndexAtPosition(int)): Delegate the index search to
9773 the element since we have a 1:1 mapping between elements and
9775 * javax/swing/text/DefaultCaret.java
9776 (appear): Ignore BadLocationException.
9777 (paint): Ignore BadLocationException.
9778 * javax/swing/text/FlowView.java
9779 (changedUpdate): Also notify the layoutPool view.
9780 (removeUpdate): Also notify the layoutPool view.
9781 * javax/swing/text/ParagraphView.java
9782 (Row.getViewIndexAtPosition): Overridden to search linearily
9783 through the view instead of relying on a 1:1 model to view
9785 * javax/swing/text/View.java
9786 (removeUpdate): Clear ElementChange object if updateChildren
9788 (forwardUpdate): Special handle some boundary cases.
9790 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9792 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9793 (hasInheritedParameters): New method.
9794 (equals): Updated documentation.
9795 Take into consideration the outcome of hasInheritedParameters invocation.
9796 (toString): Call hasInheritedParameters and adjust the result accordingly.
9797 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9798 Updated documentation.
9799 Handle case of public keys with null p, q, and g MPIs.
9800 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9802 2006-08-07 Tom Tromey <tromey@redhat.com>
9805 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9806 (attachment): Likewise.
9807 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9809 (isValid): Likewise.
9810 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9812 (interestOps): Synchronize.
9813 (readyOps): Likewise.
9814 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9817 2006-08-07 C. Scott Marshall <csm@gnu.org>
9820 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9821 the mark has been set.
9822 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9823 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9826 2006-08-07 Sven de Marothy <sven@physto.se>
9828 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9829 (drawGlyphVector): Synchronize against font object when drawing.
9830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9831 (nativeDrawGlyphVector): Use pango locking when drawing.
9832 (install_font_peer): Use pango locking when creating the cairo face.
9834 2006-08-06 Roman Kennke <kennke@aicas.com>
9837 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9838 (getPreferredSize): Renamed method to preferredSize(). That's
9839 the one that gets called from java.awt.*.
9840 * java/awt/peer/ComponentPeer.java
9841 (getPreferredSize): Added specnote about this method never
9842 beeing called in the RI.
9843 (getMinimumSize): Added specnote about this method never
9844 beeing called in the RI.
9846 2006-08-03 Sven de Marothy <sven@physto.se>
9848 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9849 (grab, nativeGrab): New methods.
9850 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9852 (nativeGrab): New method.
9853 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9855 * java/awt/Component.java
9856 (printAll): Should call peer print method.
9858 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9860 * java/net/URL.java (getContent(Class[])): Implement.
9862 2006-08-06 Mark Wielaard <mark@klomp.org>
9865 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9866 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9868 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9871 2006-08-06 Roman Kennke <kennke@aicas.com>
9873 * NEWS: Added note about the X peers.
9874 * INSTALL: Added install notes about the X peers.
9876 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9877 Paul Jenner <psj@harker.dyndns.org>
9879 * README: Update bug, patches and cvs instructions plus new URLs of
9880 various external projects.
9882 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9884 * configure.ac (MOZILLA_FOUND): Fall back to
9885 mozilla-firefox-plugin.
9887 2006-08-06 Mario Torre <neugens@limasoftware.net>
9889 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9890 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9891 g_type_init earlier in function to correctly initialize the
9892 type system used by the backend.
9894 2006-08-05 Roman Kennke <kennke@aicas.com>
9896 * javax/swing/text/DefaultHighlight.java
9897 (DefaultHighlightPainter.paintHighlight): Removed method.
9898 (DefaultHighlightPainter.paintLayer): Implemented.
9899 (DefaultHighlightPainter.paint): Implemented more efficient
9900 painting for multiline-highlights.
9901 (HighlightEntry.p0): Changed to be a Position.
9902 (HighlightEntry.p1): Changed to be a Position.
9903 (HighlightEntry.HighlightEntry): Changed to take Position
9905 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9906 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9907 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9908 and tracks the painted rectangle for efficient repainting.
9909 (addHighlight): Handle layered highlight.
9910 (changeHighlight): Handle layered highlight.
9911 (paintLayeredHighlights): Implemented.
9912 (paint): Paint only non-layered highlights here.
9913 (removeAllHighlights): Trigger correct repaint.
9914 (removeHighlight): Handle layered highlight here for
9915 more efficient repainting.
9916 * javax/swing/text/GlyphView.java
9917 (paint): Handle layered highlights.
9918 * javax/swing/text/PlainView.java
9919 (paint): Handle layered highlights.
9920 * javax/swing/text/WrappedPlainView.java
9921 (WrappedLine.paint): Handle layered highlights.
9923 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9926 * NEWS: As suggested by Paul Jennier, added note about the fix of
9929 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9931 * NEWS: Added entry about the context factories for JNDI.
9933 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9936 * gnu/CORBA/Connected_objects.java (size): New method.
9937 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9939 * javax/naming/spi/NamingManager.java (getURLContext):
9940 Also search for the URL context factories in
9941 gnu/javax/naming/jndi/url.
9942 * gnu/javax/naming/giop/ContextContinuation.java,
9943 gnu/javax/naming/giop/CorbalocParser.java,
9944 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9945 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9946 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9947 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9948 gnu/javax/naming/giop/ListEnumeration.java,
9949 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9950 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9951 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9952 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9953 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9954 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9955 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9956 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9958 2006-08-06 Sven de Marothy <sven@physto.se>
9960 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9961 (drawGlyphVector): Synchronize against font object when drawing.
9962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9963 (nativeDrawGlyphVector): Use pango locking when drawing.
9964 (install_font_peer): Use pango locking when creating the cairo face.
9966 2006-08-06 C. Scott Marshall <csm@gnu.org>
9969 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9970 the mark has been set.
9971 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9972 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9975 2006-08-06 Mark Wielaard <mark@klomp.org>
9978 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9979 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9981 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9984 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9985 Paul Jenner <psj@harker.dyndns.org>
9987 * README: Update bug, patches and cvs instructions plus new URLs of
9988 various external projects.
9990 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9992 * gnu/java/lang/management/BeanImpl.java:
9993 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9995 (getCachedMBeanInfo()): Return open variant.
9996 (getMBeanInfo()): Likewise.
9997 (getTypeFromClass(Class)): Implemented.
9998 (translateSignature(MBeanParameterInfo)): Likewise.
9999 (translate(String)): Likewise.
10000 * javax/management/StandardMBean.java:
10001 (getMBeanInfo()): Return attribute names with capital letters,
10002 as in docs for java.lang.management.ManagementFactory, and
10003 ensure descriptions are not "".
10004 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
10005 * javax/management/openmbean/OpenMBeanInfoSupport.java,
10006 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10007 (toString()): Use Arrays.toString().
10008 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10009 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
10010 Set open type here rather than in other constructors.
10012 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10014 * javax/management/MBeanFeatureInfo.java:
10015 Make string variable package-private.
10016 * javax/management/StandardMBean.java:
10017 (getMBeanInterface()): Made final.
10018 * javax/management/openmbean/SimpleType.java:
10021 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
10023 * java/awt/Component.java (setDropTarget): Commented out GTK specific
10026 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10028 * examples/gnu/classpath/examples/swing/FillRect.java,
10029 * gnu/CORBA/Focused_ORB.java,
10030 * gnu/CORBA/interfaces/gnuSocketFactory.java,
10031 * gnu/classpath/ByteArray.java,
10032 * gnu/classpath/ObjectPool.java,
10033 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
10034 * gnu/java/awt/peer/x/fonts.properties,
10035 * gnu/java/security/util/Prime2.java,
10036 * gnu/javax/imageio/gif/GIFStream.java,
10037 * javax/swing/text/html/HTMLTableView.java,
10038 * native/cni/Makefile.am,
10039 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
10040 * org/omg/CORBA/SendingContext/Runtime.java,
10041 * resource/gnu/regexp/MessagesBundle.properties,
10042 * resource/gnu/regexp/MessagesBundle_fr.properties,
10043 * resource/gnu/regexp/MessagesBundle_it.properties,
10044 * tools/appletviewer.in,
10045 * tools/jarsigner.in,
10046 * tools/keytool.in,
10047 * vm/reference/java/lang/management/VMThreadInfo.java:
10049 * examples/gnu/classpath/examples/awt/aicas.png,
10050 * examples/gnu/classpath/examples/awt/palme.gif,
10051 * examples/gnu/classpath/examples/java2d/aicas.png,
10052 * examples/gnu/classpath/examples/java2d/palme.gif,
10053 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10054 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10055 * java/awt/doc-files/capjoin.png,
10056 * java/awt/geom/doc-files/Area-1.png,
10057 * java/awt/geom/doc-files/Ellipse-1.png,
10058 * java/awt/geom/doc-files/GeneralPath-1.png:
10061 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10066 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
10068 * gnu/java/lang/management/BeanImpl.java:
10069 (getAttribute(String)): Implemented.
10071 2006-08-05 Roman Kennke <kennke@aicas.com>
10073 * javax/swing/text/JTextComponent.java
10074 (AccessibleJTextComponent.dot): Renamed field into caretDot.
10075 (AccessibleJTextComponent.textComp): Removed field
10076 and replace with JTextComponent.this construct.
10077 (AccessibleJTextComponent.AccessibleJTextComponent):
10078 Fetch caret position.
10079 (caretUpdate): Implemented. Fires property change events and
10080 updates the caretDot field.
10081 (changedUpdate): Implemented. Fires property change events.
10082 (insertUpdate): Implemented. Fires property change events.
10083 (removeUpdate): Implemented. Fires property change events.
10084 (cut): Replaced textComp with JTextComponent.this construct.
10085 (paste): Replaced textComp with JTextComponent.this construct.
10086 (replaceText): Replaced textComp with JTextComponent.this construct.
10087 (selectText): Replaced textComp with JTextComponent.this construct.
10088 (getCaretPosition): Replaced textComp with JTextComponent.this
10090 (getCharCount): Replaced textComp with JTextComponent.this construct.
10091 (getSelectedText): Replaced textComp with JTextComponent.this
10093 (getSelectionEnd): Replaced textComp with JTextComponent.this
10095 (getSelectionStart): Replaced textComp with JTextComponent.this
10097 (getTextRange): Replaced textComp with JTextComponent.this
10099 (doAccessibleAction): Implemented.
10100 (getAccessibleActionCount): Implemented.
10101 (getAccessibleActionDescription): Implemented.
10102 (getAccessibleStateSet): Implemented.
10103 (getAfterIndex): Implemented.
10104 (getBeforeIndex): Implemented.
10105 (getAtIndex): Implemented.
10106 (getAtIndexImpl): New helper method.
10107 (getCharacterAttribute): Implemented.
10108 (getCharacterBounds): Implemented.
10109 (getIndexAtPoint): Implemented.
10110 (insertTextAtIndex): Implemented.
10111 (setAttributes): Implemented.
10112 (setTextContents): Implemented.
10114 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
10116 * configure.ac: Better handling of default-preferences-peer option.
10118 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
10120 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10123 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10125 * javax/management/openmbean/TabularData.java:
10126 Documentation corrections.
10127 * javax/management/openmbean/TabularDataSupport.java:
10130 2006-08-04 Francis Kung <fkung@redhat.com>
10132 * java/awt/BasicStroke.java
10133 (dashedStroke): Implemented.
10135 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
10137 * javax/management/BadAttributeValueExpException.java,
10138 * javax/management/BadStringOperationException.java,
10139 * javax/management/InstanceAlreadyExistsException.java,
10140 * javax/management/InstanceNotFoundException.java,
10141 * javax/management/InvalidApplicationException.java,
10142 * javax/management/MBeanRegistrationException.java,
10143 * javax/management/MalformedObjectNameException.java,
10144 * javax/management/RuntimeErrorException.java,
10145 * javax/management/RuntimeMBeanException.java,
10146 * javax/management/ServiceNotFoundException.java:
10149 2006-08-04 Roman Kennke <kennke@aicas.com>
10151 * javax/swing/SwingUtilities.java
10152 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10153 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10154 layoutCompoundLabelImpl().
10155 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10156 Rectangle,Rectangle,Rectangle,int)): Delegate to new
10157 layoutCompoundLabelImpl().
10158 (layoutCompoundLabelImpl): New helper method. Moved impl from
10159 layoutCompoundLabel() to here and added handling of HTML.
10160 * javax/swing/plaf/basic/BasicButtonUI.java
10161 (installUI): Update HTML view if appropriate.
10162 (uninstallUI): New method. Do the usual uninstallUI things
10163 and uninstall HTML view.
10164 (getMinimumSize): New method. Adjusts the minimum size
10165 by the HTML view minimum size.
10166 (getMaximumSize): New method. Adjusts the maximum size
10167 by the HTML view maximum size.
10168 (getPreferredSize): Pass the button's iconTextGap to the
10169 BasicGraphicsUtils method.
10170 (paint): Let HTML view paint the text, if present.
10171 * javax/swing/plaf/basic/BasicButtonListener.java
10172 (propertyChange): Update the HTML view when the button's
10175 2006-08-04 Mario Torre <neugens@limasoftware.net>
10177 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10178 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10179 g_type_init earlier in function to correctly initialize the
10180 type system used by the backend.
10182 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10185 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10187 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10189 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10191 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10193 * gnu/xml/dom/DomIterator.java:
10194 (successor): Added if-statement.
10196 2006-08-04 Mark Wielaard <mark@klomp.org>
10198 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10200 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
10202 * javax/swing/plaf/metal/MetalMenuBarUI.java:
10203 (update): Check size and paint smaller gradient.
10204 * javax/swing/plaf/metal/MetalBorders.java:
10205 (MenuBarBorder): Removed borderColor field.
10206 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10209 2006-08-03 Roman Kennke <kennke@aicas.com>
10212 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10213 (ComponentHandler.componentResized): Reimplemented to handle
10215 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10216 component listener on changed ancestor.
10217 (installListeners): Install componentListener.
10218 (uninstallListeners): Uninstall componentListener.
10220 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10222 * StrictMath.java (cbrt): Return argument if it is a NaN.
10227 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
10229 * java/lang/StrictMath.java (tanh): New method.
10231 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
10233 * scripts/import-cacerts.sh: Batch CA certificates import script.
10235 2006-08-03 Roman Kennke <kennke@aicas.com>
10238 * javax/swing/plaf/basic/BasicListUI.java
10239 (paintCell): Pass row index to cell renderer.
10240 * javax/swing/plaf/basic/MetalFileChooserUI.java
10241 (DirectoryComboBoxRenderer.indentIcon): New field.
10242 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10243 Initialize indentIcon.
10244 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10245 Fall back to super and removed standard functionality.
10246 Handle indentation.
10247 (IndentIcon): New class. Wraps and indents another icon.
10249 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10251 * javax/management/MBeanConstructorInfo.java:
10252 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10253 Copy array rather than directly assigning.
10254 * javax/management/MBeanInfo.java:
10255 (MBeanInfo(String,String,MBeanAttributeInfo[],
10256 MBeanConstructorInfo[], MBeanOperationInfo[],
10257 MBeanNotificationInfo[])): Likewise.
10258 * javax/management/MBeanOperationInfo.java:
10259 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10261 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10262 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10264 * javax/management/openmbean/OpenMBeanInfo.java:
10265 Corrected documentation.
10266 * javax/management/openmbean/OpenMBeanInfoSupport.java:
10268 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10269 Corrected documentation.
10270 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10272 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10273 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10274 Call other constructor rather than reimplementing.
10276 2006-08-02 Lillian Angel <langel@redhat.com>
10278 * java/awt/dnd/DragSource.java
10279 (isDragImageSupported): Implemented.
10280 (getDragThreshold): Changed default value.
10281 * java/awt/dnd/DropTarget.java
10282 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10283 (DropTarget): Likewise.
10284 (DropTarget): If FlavorMap passed in is null, we should use the system default.
10285 (addDropTargetListener): Added check to determine if new DropTargetListener
10286 is this class. If so, an IllegalArgumentException is thrown. If the
10287 new listener is null, nothing happens.
10289 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
10291 * configure.ac (MOZILLA_FOUND): Fall back to
10292 mozilla-firefox-plugin.
10294 2006-08-02 Sven de Marothy <sven@physto.se>
10296 * java/awt/geom/AffineTransform.java
10297 (hashCode): Tweak impl.
10298 * java/awt/font/FontRenderContext.java
10299 (hashCode): Implement.
10301 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
10303 * java/lang/StrictMath.java (sinh): New method.
10305 2006-08-02 Roman Kennke <kennke@aicas.com>
10308 * javax/swing/JComboBox.java
10309 (setSelectedItem): Fire ActionEvent here.
10310 * javax/swing/plaf/basic/BasicDirectoryModel.java
10311 (directories): Changed to type Vector.
10312 (files): New field.
10313 (loadThread): New field.
10314 (DirectoryLoadThread): New inner class. This loads the contents
10315 of directories asynchronously.
10316 (getDirectories): Return cached Vector.
10317 (getFiles): Return cached Vector.
10318 (getSize): Return plain size of contents Vector.
10319 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10320 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10321 (sort): Don't store sorted list in contents. This must be done
10322 asynchronously from the EventThread.
10323 (validateFileCache): Rewritten for asynchronous reading
10324 of directory contents.
10325 * javax/swing/plaf/basic/BasicFileChooserUI.java
10326 (installListeners): Install model as PropertyChangeListener.
10327 (uninstallListeners): Uninstall model as PropertyChangeListener.
10328 (createPropertyChangeListener): Return null just like the
10331 2006-08-02 Sven de Marothy <sven@physto.se>
10333 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10334 (remove): Force event on removing item 0 when it's selected.
10335 (handleEvent): Always call Choice.selected().
10336 * java/awt/Choice.java:
10337 (remove): Simplify and correct.
10339 2006-08-02 Mark Wielaard <mark@klomp.org>
10342 * configure.ac (gconf-peer): Check for gdk-2.0.
10343 * native/jni/gconf-peer/Makefile.am
10344 (AM_LDFLAGS): Use GDK_LIBS.
10345 (AM_CFLAGS): Use GDK_CFLAGS.
10347 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
10349 * java/net/URL.java (getContent(Class[])): Implement.
10351 2006-08-02 Roman Kennke <kennke@aicas.com>
10354 * javax/swing/JMenu.java
10355 (JMenu()): Removed setting of delay.
10356 (JMenu(String)): Removed setting of delay.
10357 (JMenu(Action)): Removed setting of delay.
10358 (JMenu(String,boolean)): Removed setting of delay.
10359 (setSelectedHelper): Removed unneeded method.
10360 (setSelected): Simply set the model state.
10361 (setPopupMenuVisible): Recognize the popup location
10362 determined by getPopupMenuOrigin().
10363 (getPopupMenuOrigin): Recognize the UI properties for
10365 (menuSelectionChanged): Call setSelected() directly.
10366 * javax/swing/JPopupMenu.java
10367 (menuSelectionChanged): If invoker is a JMenu, then delegate
10368 to that to get the position right.
10369 * javax/swing/Popup.java
10370 (LightweightPopup.show): Insert the popup as first component
10371 in the layer, so that it overlaps it's caller.
10372 * javax/swing/plaf/basic/BasicMenuItemUI.java
10373 (getPath): Don't include the popup.
10374 * javax/swing/plaf/basic/BasicMenuUI.java
10375 (SelectMenuAction): New class. This invokes the popup when
10376 a menu is selected.
10377 (installDefaults): Install delay of 200 ms.
10378 (setupPostTimer): Implemented.
10379 (MouseInputHandler.mouseClicked): Do nothing here.
10380 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10381 magic to handle the selection. Open the menu via a timer.
10382 (MouseInputHandler.mousePressed): Use MenuSelectionManager
10383 magic to handle the selection. Open the menu via a timer.
10384 (MenuDragMouseHandler.menuMouseDragged): Probably use
10386 (menuDragMouseEntered): Do nothing here.
10388 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
10390 * javax/management/openmbean/InvalidOpenTypeException.java,
10391 * javax/management/openmbean/KeyAlreadyExistsException.java:
10394 2006-08-02 Roman Kennke <kennke@aicas.com>
10397 * javax/swing/plaf/basic/BasicChooserUI.java
10398 (BasicFileView.getName): Fetch the real name from the
10399 file chooser's FileSystemView.
10400 * javax/swing/plaf/metal/MetalChooserUI.java
10401 (DirectoryComboBoxRenderer.getListCellRendererComponent):
10402 Set the text fetched from the JFileChooser.getName().
10403 * javax/swing/FileSystemView.java
10404 (createFileObject): When file is a filesystem root,
10405 create a filesystem root object first.
10406 (getSystemDisplayName): Return the filename. Added specnote
10407 about ShellFolder class that is mentioned in the spec.
10408 * javax/swing/UnixFileSystemView.java
10409 (getSystemDisplayName): Implemented to return the real name
10410 of a file, special handling files like '.' or '..'.
10412 2006-08-03 Mark Wielaard <mark@klomp.org>
10414 * examples/gnu/classpath/examples/icons/badge.png: Add file.
10416 2006-08-03 Roman Kennke <kennke@aicas.com>
10419 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10420 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10421 components when visual property chanegs.
10423 2006-08-03 Roman Kennke <kennke@aicas.com>
10426 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10427 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10428 component when visual properties change.
10430 2006-08-03 Roman Kennke <kennke@aicas.com>
10433 * javax/swing/JTree.java
10434 (JTree(TreeModel)): Set cell renderer to null.
10435 * javax/swing/plaf/basic/BasicTreeUI.java
10436 (setCellRenderer): Finish editing before setting the
10437 cell renderer. Refresh the layout. Don't set the
10438 currentCellRenderer field here (that's done in updateRenderer).
10439 (updateRenderer): Handle createdRenderer field here too.
10440 Set renderer to a default handler when the current renderer
10441 in the JTree is null.
10443 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10446 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10448 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
10451 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10452 Updated documentation to clarify that RFC-2459 states that the parameters
10453 field of the AlgorithmIdentifier element MUST be NULL if present.
10454 Amended the code to reflect the specs.
10455 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10457 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10459 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10460 Call parameter 'defaultValue' not 'defValue'.
10462 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10464 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10467 2006-08-01 Roman Kennke <kennke@aicas.com>
10470 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10471 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10472 components when visual property chanegs.
10474 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10476 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10477 (toString()): Corrected documentation.
10478 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10479 * javax/management/openmbean/OpenMBeanInfo.java,
10480 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10482 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10483 (toString()): Corrected documentation.
10485 2006-08-01 Tania Bento <tbento@redhat.com>
10487 * java/awt/Choice.java
10488 (remove(int)): Added documentation.
10490 2006-08-01 Tania Bento <tbento@redhat.com>
10492 * java/awt/Choice.java
10493 (remove(int)): An IllegalArgumentException should not be thrown
10494 if int is invalid. Update selectedIndex and peer selection.
10496 2006-08-01 Tania Bento <tbento@redhat.com>
10498 * java/awt/CardLayout.java
10499 (toString): Changed format of string outputted.
10500 (goToComponent): Changed the order of the if-clause.
10502 2006-07-31 Tom Tromey <tromey@redhat.com>
10504 * INSTALL: Updated for ASM.
10506 2006-07-31 Tom Tromey <tromey@redhat.com>
10509 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10510 (attachment): Likewise.
10511 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10513 (isValid): Likewise.
10514 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10516 (interestOps): Synchronize.
10517 (readyOps): Likewise.
10518 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10521 2006-07-31 Roman Kennke <kennke@aicas.com>
10523 * NEWS: Added note about the X peers.
10524 * INSTALL: Added install notes about the X peers.
10526 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10528 * StrictMath.java (getLowDWord): Return long instead of int.
10529 (getHighDWord): Likewise.
10530 (buildDouble): Take two long arguments.
10531 (cbrt): Adapted to int -> long change.
10535 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10537 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10540 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10542 * java/security/Provider.java: Updated copyright year.
10543 Updated documentation.
10545 (put): Updated documentation.
10546 Added security manager check.
10547 Canonicalize the key before adding its mapping.
10548 (get): Override superclass implementation to use canonicalized keys.
10549 (remove): Updated documentation.
10550 Added security manager check.
10551 Canonicalize the key before removing its mapping.
10552 (clear): Updated documentation.
10553 Added security manager check.
10554 (toCanonicalKey): New method.
10556 2006-07-30 Matt Wringe <mwringe@redhat.com>
10558 * gnu/java/security/Engine.java
10559 (getInstance): Ignore self referencing aliases.
10561 2006-07-30 Mark Wielaard <mark@klomp.org>
10563 * javax/swing/JComponent.java (getListeners): Revert
10566 2006-07-30 Mark Wielaard <mark@klomp.org>
10568 * resource/java/security/classpath.security: Add /dev/urandom as
10569 default securerandom.source.
10571 2006-07-30 Mark Wielaard <mark@klomp.org>
10573 * java/util/GregorianCalendar.java (maximums): Months can have up to
10575 (nonLeniencyCheck): weeks is either 5 or 6.
10577 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10579 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10580 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10583 2006-07-30 Matt Wringe <mwringe@redhat.com>
10585 * gnu/java/security/Engine.java
10586 (getInstance): Ignore self referencing aliases.
10588 2006-07-30 Sven de Marothy <sven@physto.se>
10590 * java/awt/Choice.java:
10591 (accessibleAction): Call select() directly.
10592 (add, insert, remove): Reimplement.
10593 (dispatchEventImpl): Always call super.
10594 (processItemEvent): Does not set the index.
10595 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10598 (nativeAdd): Name changed to add.
10599 (selection_changed_cb): Simplify callback.
10600 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10601 (selected): New field.
10602 (add): Replaced with native impl.
10603 (handleEvent): New method.
10605 2006-07-30 Sven de Marothy <sven@physto.se>
10607 * java/awt/Choice.java:
10608 Reformat, fix copyright year.
10610 2006-07-29 Mark Wielaard <mark@klomp.org>
10612 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10613 static field isPaintingDoubleBuffered to not have the same name
10616 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10618 * examples/gnu/classpath/examples/management/TestBeans.java:
10620 * javax/management/MBeanAttributeInfo.java:
10621 (toString()): Implemented.
10622 * javax/management/MBeanConstructorInfo.java:
10623 (toString()): Implemented.
10624 * javax/management/MBeanFeatureInfo.java:
10625 (toString()): Implemented.
10626 * javax/management/MBeanInfo.java:
10627 (toString()): Implemented.
10628 * javax/management/MBeanNotificationInfo.java:
10629 (toString()): Implemented.
10630 * javax/management/MBeanOperationInfo.java:
10631 (toString()): Implemented.
10632 * javax/management/MBeanParameterInfo.java:
10633 (toString()): Implemented.
10634 * javax/management/StandardMBean.java:
10635 (getMBeanInfo()): Fix attribute naming.
10637 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10639 * gnu/java/lang/management/BeanImpl.java:
10640 Extended javax.management.StandardMBean.
10641 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10642 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10643 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10644 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10645 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10646 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10647 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10648 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10649 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10650 Call the superclass with the appropriate class.
10651 * java/lang/management/ManagementFactory.java:
10652 (getOperatingSystemMXBean()): Catch exception from
10654 (getRuntimeMXBean()): Likewise.
10655 (getClassLoadingMXBean()): Likewise.
10656 (getThreadMXBean()): Likewise.
10657 (getMemoryMXBean()): Likewise.
10658 (getCompilationMXBean()): Likewise.
10659 (getMemoryPoolMXBeans()): Likewise.
10660 (getMemoryManagerMXBeans()): Likewise.
10661 (getGarbageCollectorMXBeans()): Likewise.
10662 * javax/management/MBeanFeatureInfo.java:
10663 hashCode()): Fixed to check for null values.
10665 2006-07-29 Matt Wringe <mwringe@redhat.com>
10667 * gnu/java/security/Engine.java
10668 (getInstance): Add case insentivity to algorithm names
10669 * java/security/Provider.java
10670 (put): Stop using canonical key naming
10672 (toCanonicalKey): Method removed
10673 (get): Method removed, no longer needs to overwrite
10674 parent implementation
10676 2006-07-29 Mark Wielaard <mark@klomp.org>
10678 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10679 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10680 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10681 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10682 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10683 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10686 2006-07-29 Sven de Marothy <sven@physto.se>
10688 * java/math/BigDecimal.java
10689 Adjust copyright date.
10690 (divide(BigDecimal): Implement.
10691 (precision): Reimplement.
10692 (numDigitsInBigInteger, numDigitsInLong): Removed.
10693 (toString): Get exponent from string length,
10694 fix negative values with exponential form.
10695 (toEngineeringString): Same as for toString.
10696 (setScale): Throw ArithmeticException if scale < 0.
10698 2006-07-27 Francis Kung <fkung@redhat.com>
10700 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10701 (cp1): Renamed from first().
10702 (c2): Renamed from last().
10703 (first): Renamed to cp1().
10704 (getDisplacedSegments): Implemented.
10705 (last): Renamed to cp2().
10706 * gnu/java/awt/java2d/LineSegment.java
10707 (cp1): Renamed from first().
10708 (c2): Renamed from last().
10709 (first): Renamed to cp1().
10710 (last): Renamed to cp2().
10711 * gnu/java/awt/java2d/QuadSegment.java
10712 (cp1): Renamed from first().
10713 (c2): Renamed from last().
10714 (first): Renamed to cp1().
10715 (last): Renamed to cp2().
10716 * gnu/java/awt/java2d/Segment.java: Added comments.
10717 (first): New field.
10718 (Segment): Keep track of first element in list.
10719 (add): Update first & last element variables.
10720 (cp1): Renamed from first().
10721 (c2): Renamed from last().
10722 (first()): Renamed to cp1() to reduce ambiguity.
10723 (last()): Renamed to cp2() to reduce ambiguity.
10724 (reverseAll): Update first element variable..
10725 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10726 (draw): Remove flattening path iterator.
10727 * java/awt/BasicStroke.java: Clarified comments.
10728 (addSegments): Refactored some code into joinSegments and
10730 (capEnd): Rename of Segment.first() and Segment.end().
10731 (joinInnerSegments): New method.
10732 (joinOuterSegments): New method.
10733 (joinSegments): Refactored some code into joinOuterSegments.
10734 (solidStroke): Connect segments together properly.
10736 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10738 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10740 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10742 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10744 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10747 2006-07-28 Tom Tromey <tromey@redhat.com>
10749 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10751 2006-07-28 Lillian Angel <langel@redhat.com>
10753 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10754 Removed function declarations.
10755 (connect_signals_for_widget): Removed implementation because
10756 stub functions have been removed.
10757 (drag_begin_cb): Removed function.
10758 (drag_motion_cb): Likewise.
10759 (drag_data_get_cb): Likewise.
10760 (drag_data_delete_cb): Likewise.
10761 (drag_drop_cb): Likewise.
10762 (drag_end_cb): Likewise.
10763 (drag_data_received_cb): Likewise.
10765 2006-07-28 Mark Wielaard <mark@klomp.org>
10767 * configure.ac: Set version to 0.93-pre.
10769 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10771 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10773 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10775 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10776 (getCallbackHandler): Fully qualify linked class in javadoc.
10777 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10778 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10779 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10781 2006-07-27 Tom Tromey <tromey@redhat.com>
10783 PR classpath/28486:
10784 * java/net/URLStreamHandler.java (equals): Properly handle default
10785 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10787 2006-07-27 Roman Kennke <kennke@aicas.com>
10789 * javax/swing/text/AbstractDocument.java
10790 (documentCV): Made field private.
10791 (bypass): Made field private.
10792 (bidiRoot): New field.
10793 (AbstractDocument): Initialize bidiRoot.
10794 (getBidiRootElement): Return bidiRoot.
10795 (getRootElements): Adjusted to also return the bidiRoot element.
10796 (BranchElement.startOffset): Removed unneeded field.
10797 (BranchElement.endOffset): Removed unneeded field.
10798 (BranchElement.BranchElement): Removed unneeded fields.
10799 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10800 done automatically when there's no element left in the array.
10801 (BranchElement.getStartOffset): Likewise.
10802 (BranchElement.replace): Reordered calculations to avoid double
10804 (removeImpl): Silently ignore requests with length <= 0.
10805 * javax/swing/text/GapContent.java
10806 (createPosition): Removed explicit check for correct offset.
10807 This class can deal with offsets outside the document.
10808 (shiftEnd): Update all positions, even those outside the
10810 (adjustPositionsInRange): Fixed to also adjust positions outside
10811 the document boundary.
10813 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10815 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10817 (getParameter): Returns _klass field instead of determining
10818 class from _instance.
10819 (setCatchLoc): New method.
10820 (writeData): Now assumes Location deals with empty locations instead of
10822 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10823 locations and write out accordingly.
10824 (getEmptyLocation): New method.
10826 2006-07-27 Roman Kennke <kennke@aicas.com>
10828 * javax/swing/text/SimpleAttributeSet.java
10829 (EMPTY): Use EmptyAttributeSet for this field rather than
10830 SimpleAttributeSet.
10831 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10832 an empty and immutable AttributeSet.
10834 2006-07-27 Roman Kennke <kennke@aicas.com>
10836 * java/awt/Component.java
10837 (reshape): Invalidate the component itself only when the
10838 size has changed. Invalidate the parent always. Fixed
10839 repainting. Pulled out the notification into
10841 (notifyReshape): New helper method. Notify interested listeners
10843 (update): Simply call paint() without clearing the background.
10844 This is done in Container.update() if appropriate.
10845 (repaint): Delagate the repaint to the nearest heavyweight
10846 parent (for lightweights) and send an UPDATE event, rather than
10847 calling ComponentPeer.repaint().
10848 * java/awt/Container.java
10849 (backCleared): Removed field.
10850 (paint): Removed handling of backCleared flag.
10851 (update): Only paint if the container is actually
10852 showing. Removed handling of backCleared flag.
10854 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10856 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10858 (NavigateAction): New inner class.
10859 (NavigatePageDownAction): New inner class.
10860 (NavigatePageUpAction): New inner class.
10861 (RequestFocusAction): New inner class.
10862 (RequestFocusForVisibleComponentAction): New inner class.
10863 (FocusHandler.focusGained): Implemented.
10864 (FocusHandler.focusLost): Implemented.
10865 (MouseHandler.mouseReleased): Implemented.
10866 (MouseHandler.mousePressed): Rewritten.
10867 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10868 currentScrollLocation to 0.
10869 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10870 removed local variables, fixed indentation to stay under 80 column
10872 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10873 one, set selectedIndex to 0 if its negative, corrected start values
10874 for normalization, suppressed padding when only one tab run,
10875 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10876 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10877 80 column limit, corrected the starting value for the bounds fixing
10879 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10880 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10881 selectedRun, set start index for loop to 0.
10882 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10883 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10884 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10885 alignment and visibility handling.
10886 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10888 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10889 (currentScrollOffset): New field.
10890 (tabRuns): Rewritten documentation.
10891 (selectedColor): New field.
10892 (tempTextRect): New field.
10893 (tempIconRect): New field.
10894 (scrollTab): New method.
10895 (updateButtons): New method.
10896 (updateViewPosition): New method.
10897 (createLayoutManager): Reordered method calls, predefine new fields,
10898 register proper listeners.
10899 (uninstallComponents): Implemented.
10900 (installDefaults): Corrected property names, fixed indentation,.
10901 (uninstallDefaults): Set new fields to null.
10902 (uninstallListeners): Remove listeners from components neccessary for
10903 scrolling tab layout.
10904 (installKeyboardActions): Implemented.
10905 (uninstallKeyboardActions): Implemented.
10906 (paint): Paint tab area background.
10907 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10909 (getTabLabelShiftX): Rewritten.
10910 (getTabLabelShiftY): Rewritten.
10911 (paintFocusIndicator): Reindented.
10912 (paintTabBorder): Rewritten.
10913 (paintTabBackground): Corrected color usage, rewritten background
10914 rectangle painting.
10915 (paintContentBorderTopEdge): Rewritten.
10916 (paintContentBorderBottomEdge): Rewritten.
10917 (paintContentBorderLeftEdge): Rewritten.
10918 (paintContentBorderRightEdge): Rewritten.
10919 (tabForCoordinate): Return selected index when no tab could be
10920 found, removed FIXME note.
10921 (getRunForTab): Changed return value for first if-statement.
10922 (navigateSelectedTab): Fixed last argument for both
10923 getTabRunOffset() calls.
10924 (selectedNextTabInRun): Added scrolling code.
10925 (selectedPreviousTabInRun): Added scrolling code.
10926 (selectedNextTab): Added scrolling code.
10927 (selectedPreviousTab): Added scrolling code.
10928 (selectAdjacentRunTab): Added scrolling code.
10929 (getTextViewForTab): Added FIXME note.
10930 (calculateTabHeight): Changed FIXME note.
10931 (getTabRunOffset): Fixed indentation.
10932 (getNextTabIndexInRun): Corrected return value.
10933 (rotateInsets): Make TOP case the default in switch-statement.
10934 (getActionMap): New method.
10935 (createActionMap): New method.
10936 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10937 (createLayoutManager): Rewritten.
10938 (paintLeftTabBorder): Do not paint left line when previous tab
10939 is selected but current tab is the first in its run, do not paint
10940 left line when current tab is selected and is first in its run.
10941 (paintRightTabBorder): Added missing setColor() call, fixed color
10942 usage, do not paint right line if previous tab is selected but
10943 current tab is the first in its run.
10944 (paintBottomTabBorder): Do not paint left line if tab is selected
10945 and is the first tab in the last run.
10946 (paintFocusIndicator): New method.
10947 (getLabelShiftX): New method.
10948 (getLabelShiftY): New method.
10950 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10953 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10954 g_assert from unused obj.
10955 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10956 obj as unused and remove g_assert on it.
10958 2006-07-26 Roman Kennke <kennke@aicas.com>
10960 * javax/swing/RepaintManager.java
10961 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10963 (isCompletelyDirty): Consider a component completely dirty
10964 when it has a dirty region with Integer.MAX_VALUE.
10966 2006-07-26 Roman Kennke <kennke@aicas.com>
10968 * java/awt/KeyboardFocusManager.java
10969 (getGlobalFocusOwner): Explicitly check for thread security.
10970 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10971 (getGlobalFocusedWindow): Explicitly check for thread security.
10972 (getGlobalActiveWindow): Explicitly check for thread security.
10973 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10974 (getGlobalObject): Added new argument for specifying if
10975 a security check should be performed or not.
10976 (setGlobalObject): Don't check for thread security when
10977 calling getGlobalObject.
10979 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10981 * javax/management/MBeanConstructorInfo.java:
10983 * javax/management/MBeanInfo.java:
10984 (MBeanInfo(String,String,MBeanAttributeInfo[],
10985 MBeanConstructorInfo[], MBeanOperationInfo[],
10986 MBeanNotificationInfo[])): Implemented.
10987 (equals(Object)): Likewise.
10988 (getAttributes()): Likewise.
10989 (getConstructors()): Likewise.
10990 (getOperations()): Likewise.
10991 (hashCode()): Likewise.
10992 * javax/management/MBeanOperationInfo.java,
10993 * javax/management/NotCompliantMBeanException.java,
10994 * javax/management/StandardMBean.java:
10997 2006-07-26 Sven de Marothy <sven@physto.se>
10999 * java/awt/geom/GeneralPath.java: Fix severe typo.
11001 2006-07-26 Sven de Marothy <sven@physto.se>
11003 * include/java_lang_VMSystem.h
11004 * vm/reference/java/lang/VMSystem.java
11005 * native/jni/java-lang/java_lang_VMSystem.c
11006 (nanoTime, currentTimeMillis): Switch the former to native code and
11007 the latter to java.
11009 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
11011 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
11012 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
11013 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
11014 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
11015 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
11016 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
11017 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
11018 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
11019 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
11020 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
11021 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
11022 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
11023 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
11024 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
11025 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
11026 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
11027 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
11028 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
11029 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
11030 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
11031 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
11033 2006-07-26 Roman Kennke <kennke@aicas.com>
11035 * java/awt/KeyboardFocusManager.java
11036 (getFocusOwner): Don't check permanent owner.
11037 (getGlobalFocusOwner): Don't check permanent owner.
11039 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
11041 * StrictMath.java (cosh): New method.
11042 (expm1): New method.
11043 (EXPM1_Q1): New field.
11044 (EXPM1_Q2): Likewise.
11045 (EXPM1_Q3): Likewise.
11046 (EXPM1_Q4): Likewise.
11047 (EXPM1_Q6): Likewise.
11049 2006-07-26 Roman Kennke <kennke@aicas.com>
11051 * javax/swing/plaf/basic/BasicButtonListener.java
11052 (mousePressed): Request focus if appropriate.
11053 * javax/swing/text/DefaultCaret.java
11054 (mousePressed): Also handle the focus of the text component
11055 as specified. Don't consume events.
11057 2006-07-26 Roman Kennke <kennke@aicas.com>
11059 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11060 (focusRequest): Removed field.
11061 (postFocusEvent(int,boolean,Component)): Removed.
11062 (postFocusEvent(int,boolean)): Reverted to post event using
11063 the heavyweight component.
11064 (requestFocus): Post focus event using the heavyweight
11066 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11067 (requestFocus): Post focus event using the heavyweight
11069 * java/awt/AWTEvent.java
11070 (isFocusManagerEvent): New field, indicating if this is
11071 an event that is redispatched by the KeyboardFocusManager.
11072 * java/awt/Component.java
11073 (requestFocusImpl): Register component for
11074 heavyweight->lightweight mapping.
11075 (dispatchEventImpl): Retarget focus events before dispatching
11076 to the KeyboardFocusManager. Use new AWTEvent flag instead
11077 of locking hack. Dispatch all events through the
11078 KeyboardFocusManager. Don't request focus on lightweight
11080 * java/awt/DefaultKeyboardFocusManager.java
11081 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11083 (handleFocusGained): Fixed handling of temporary vs permanent
11084 focus changes. Added some checks.
11085 (handleFocusLost): Fixed handling of temporary vs permanent
11086 focus changes. Added some checks.
11087 * java/awt/EventDispatchThread.java
11088 (run): Don't dispatch to KeyboardFocusManager here. This
11089 is done in Component.dispatchEventImpl().
11090 * java/awt/KeyboardFocusManager.java
11091 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11092 (focusRequests): New field.
11093 (retargetFocusEvent): New method. Retargets focus events
11094 that come from heavyweights to the correct lightweight component.
11095 (addLightweightFocusRequest): New method. Stores a mapping
11096 for later retargetting of heavyweight focus events.
11097 * java/awt/Window.java
11098 (addFocusListener): Removed bogus method. If at all, this
11099 should be performed in the KeyboardFocusManager.
11100 (Window): Don't install a focus listener on the Window.
11102 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11104 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11105 (drawLine): Apply shift to line coordinates.
11107 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11109 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11110 (copyimage): Do not call setRenderingHints() when the respective map
11112 (filter): Removed code to clone the ColorModel instance.
11113 * java/awt/image/ColorModel.java:
11114 (cloneColorModel): Removed.
11116 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
11118 * javax/swing/JTabbedPane.java:
11119 (setSelectedIndex): Removed updating of component visibility status,
11121 (remove(Component)): Use indexOfComponent() to find whether we have
11122 to use super.remove(int) or removeTabAt().
11124 2006-07-26 Roman Kennke <kennke@aicas.com>
11126 * javax/swing/JOptionPane.java
11127 (createDialog): Add property change handler for closing
11128 the dialog when the value property changes.
11129 (ValuePropertyHandler): New inner helper class.
11130 * javax/swing/plaf/basic/BasicOptionPaneUI.java
11131 (OptionPaneCloseAction): New class.
11132 (messageForeground): Removed field.
11133 (messageBorder): Removed field.
11134 (buttonBorder): Removed field.
11135 (addIcon): Configure the new label.
11136 (addMessageComponents): Configure newly created labels.
11137 (burstStringInto): Likewise.
11138 (createButtonArea): Install border here.
11139 (createMessageArea): Install border and foreground here.
11140 (createSeparator): Added comment and removed
11141 NotImplementedException.
11142 (installComponents): Don't install the UI defaults for the
11143 message and button area here. This is moved to the
11144 corresponding create* methods. Adjusted comment about
11146 (installDefaults): Removed initialization of removed fields.
11147 (installKeyboardActions): Implemented.
11148 (getActionMap): New helper method.
11149 (createDefaultActions): New helper method.
11150 (uninstallDefaults): Removed de-initialization of removed fields.
11151 (uninstallKeyboardActions): Implemented.
11152 (configureLabel): New helper method.
11153 * javax/swing/plaf/basic/BasicTableUI.java
11154 (getActionMap): Fixed the UI property names.
11155 * javax/swing/plaf/basic/BasicToolBarUI.java
11156 (getActionMap): Fixed the UI property names.
11158 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11160 * java/awt/image/BandedSampleModel.java
11161 (getDataElements): Check for negative x or y,
11162 (getPixels): Likewise,
11163 (getSamples): Likewise,
11164 (setSamples): Likewise.
11166 2006-07-26 Roman Kennke <kennke@aicas.com>
11168 * javax/swing/plaf/basic/BasicToolBarUI.java
11169 (ToolBarAction): New inner class for handling keyboard
11171 (installKeyboardActions): Implemented.
11172 (getActionMap): New helper method.
11173 (createDefaultActions): New helper method.
11174 (installListeners): Install focus listener on toolbar's
11175 children, rather than the toolbar itself.
11176 (navigateFocusedComp): Implemented.
11177 (uninstallKeyboardActions): Implemented.
11178 (uninstallListeners): Uninstall focus listener from
11179 toolbar's children, rather than the toolbar itself.
11180 (ToolBarContListener.componentAdded): Install focus
11181 listener on added child.
11182 (ToolBarContListener.componentRemoved): Uninstall focus
11183 listener from removed child.
11184 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11185 (ToolBarFocusListener.focusGained): Implemented.
11186 (ToolBarFocusListener.focusLost): Implemented.
11188 2006-07-26 Roman Kennke <kennke@aicas.com>
11190 * java/awt/DefaultKeyboardFocusManager.java
11191 (dispatchEvent): Notify old focus owner when it has lost
11194 2006-07-26 Roman Kennke <kennke@aicas.com>
11196 * javax/swing/plaf/basic/BasicTableUI.java
11197 (FocusHandler.focusGained): Implemented to refresh the
11199 (FocusHandler.focusLost): Implemented to refresh the
11201 (FocusHandler.repaintLeadCell): New helper method.
11202 (MouseInputHandler.mouseEntered): Do nothing here.
11203 (MouseInputHandler.mouseExited): Do nothing here.
11204 (MouseInputHandler.mouseMoved): Do nothing here.
11205 (installKeyboardActions): Rewritten to use a shared InputMap
11206 and ActionMap and correctly install the maps via SwingUtilities
11208 (getActionMap): New helper method.
11209 (createDefaultActions): New helper method.
11210 (ActionListenerProxy): Removed unneeded class.
11211 (TableAction): Made class static.
11212 (TableAction.actionPerformed): Determine table by fetching
11213 the event source. Pass the table to helper methods.
11214 Use __command__ hack to determine the action command.
11215 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11216 (TableAction.getLastVisibleColumnIndex): Get table as argument.
11217 (TableAction.getFirstVisibleRowIndex): Get table as argument.
11218 (TableAction.getLastVisibleRowIndex): Get table as argument.
11219 (TableAction.advanceMultipleSelection): Get table as argument.
11220 (uninstallDefaults): Do nothing here.
11221 (uninstallKeyboardActions): Uninstall the keyboard actions.
11223 2006-07-26 Roman Kennke <kennke@aicas.com>
11225 * javax/swing/JComponent.java
11226 (processKeyBinding): Store the action command as property
11227 in the Action instance that we call. This allows for
11228 improvement on the side of the Action.
11230 2006-07-26 Roman Kennke <kennke@aicas.com>
11232 * javax/swing/plaf/metal/MetalUtils.java
11233 (fillMetalPattern): Use fillRect() instead of drawLine() to
11234 fill single pixels.
11236 2006-07-26 Roman Kennke <kennke@aicas.com>
11238 * javax/swing/text/GapContent.java
11239 (getChars): Check for negative length and throw
11240 BadLocationException.
11242 2006-07-26 Roman Kennke <kennke@aicas.com>
11244 * javax/swing/plaf/basic/BasicMenuBarUI.java
11245 (FocusAction): Made class static.
11247 2006-07-26 Roman Kennke <kennke@aicas.com>
11249 * javax/swing/plaf/basic/BasicLookAndFeel.java
11250 (initComponentDefaults): Add keyboard bindings for
11253 2006-07-26 Roman Kennke <kennke@aicas.com>
11255 * javax/swing/UIManager.java
11256 (getLookAndFeelDefaults): Return the look and feel defaults.
11257 (setLookAndFeel): Improved exception messsage.
11259 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11261 * javax/swing/text/StringContent.java
11262 (StringContent): Changed initialLength to 10.
11264 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11266 * java/util/Vector.java: Fixed API doc typo.
11268 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
11270 * java/awt/image/BandedSampleModel.java
11271 (createCompatibleSampleModel): Fixed typo in loop increment, set
11272 correct scanlineStride, and updated API docs.
11274 2006-07-25 Roman Kennke <kennke@aicas.com>
11276 * javax/swing/plaf/basic/BasicPopupMenuUI.java
11277 (NavigateAction): New inner class. This is responsible for
11278 keyboard navigation through menus.
11279 (KeyboardHelper): New inner class. This manages the
11280 keyboard mappings and focus when a popup opens or closes.
11281 (keyboardHelper): New static field.
11282 (numPopups): New static field.
11283 (installUI): Create KeyboardHelper for first popup.
11284 Call installKeyboardActions().
11285 (installKeyboardActions): Removed NotImplementedException.
11286 This method is a no-op.
11287 (installKeyboardActionsImpl): New method. Installs keyboard
11288 mapping when a popup is opened.
11289 (getActionMap): New helper method.
11290 (createDefaultActions): New helper method.
11291 (uninstallUI): Uninstall KeyboardHelper when last Popup is
11292 uninstalled. Call uninstallKeyboardActions().
11293 (uninstallKeyboardActions): Removed NotImplementedException.
11294 This method is a no-op.
11295 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11296 mapping when a popup is closed.
11298 2006-07-25 Roman Kennke <kennke@aicas.com>
11300 * java/awt/Component.java
11301 (requestFocus()): Reimplemented to use requestFocusImpl().
11302 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11303 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11304 (requestFocusInWindow(boolean)): Reimplemented to use
11305 requestFocusImpl().
11306 (requestFocusImpl): Reimplemented focus request to use
11307 new peer method. Also added some obvious additional checks
11308 for rejecting focus requests early.
11309 * java/awt/ComponentPeer.java
11310 (requestFocus(Component,boolean,boolean,long)): Documented
11312 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11313 (requestFocus): New field.
11314 (gtkWidgetHasFocus): New native method.
11315 (gtkWidgetCanFocus): New native method.
11316 (requestFocus): Replaced with assert false to prevent
11317 usage of obsolete method.
11318 (postFocusEvent(int,boolean,Component)): New overloaded method
11319 for posting the focus event to a specific target.
11320 (postFocusEvent(int,boolean)): Post event to requestFocus
11322 (requestFocus(Component,boolean,boolean,long)): Implemented.
11323 (getWindowFor): New helper method.
11324 (isLightweightDescendant): New helper method.
11325 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11326 (gtkWindowHasFocus): New native method.
11327 (requestFocus(Component,boolean,boolean,long)): New method.
11328 Overrides GtkComponentPeer method to specially handly the
11329 case when a Window receives a focus request for a lightweight
11331 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11332 (gtkWidgetHasFocus): New native method.
11333 (gtkWidgetCanFocus): New native method.
11334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11335 (gtkWindowHasFocus): New native method.
11336 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11337 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11340 2006-07-25 Francis Kung <fkung@redhat.com>
11342 * java/awt/DefaultKeyboardFocusManager.java
11343 (dispatchEvent): Add check for valid component.
11345 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
11347 * javax/management/MBeanConstructorInfo.java:
11349 * javax/management/MBeanNotificationInfo.java:
11351 * javax/management/MBeanParameterInfo.java:
11354 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11356 * java/awt/peer/gtk/CairoGraphics.java:
11357 (drawLine): Added special case for 1 pixel lines.
11359 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11362 * java/awt/peer/gtk/CairoGraphics.java:
11363 (drawLine): Removed calls to shifted().
11365 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11367 * javax/swing/JTabbedPane.java:
11368 (remove(Component)): Rewritten.
11369 (setSelectedIndex): Implemented updating of component visibility state.
11371 2006-07-25 Sven de Marothy <sven@physto.se>
11373 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11374 (init): Default to the actual depth in the worst case.
11376 * java/awt/Font.java
11377 (createFont(int, File)): New method.
11379 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
11382 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11384 (RETokenEnd): New constructer to set check_java_line_terminators.
11385 (matchThis): Checck line terminators if check_java_line_terminators.
11386 * gnu/java/util/regex/RETokenStart.java: Likewise.
11387 * gnu/regexp/RE.java(initialize): Use the new constructors for
11388 RETokenEnd and RETokenStart if REG_MULTILINE is set.
11389 * java/util/regex/Pattern.java(Patteren): Changed so that
11390 gnu/regexp/RE.java may use the new the new constructors.
11392 2006-07-25 Roman Kennke <kennke@aicas.com>
11394 * java/awt/Container.java
11395 (focusTraversalPolicyProvider): New field.
11396 (isFocusTraversalPolicyProvider): New method.
11397 (setFocusTraversalPolicyProvider): New method.
11398 * java/awt/ContainerOrderFocusTraversalPolicy.java
11399 (getFirstComponent): Use accept() instead of lengthy checks.
11400 Don't fetch getComponents() to avoid copying of array.
11401 Traverse down the hierarchy to find the first focused component.
11402 * java/awt/DefaultKeyboardFocusManager.java
11403 (dispatchEvent): Let the initial component request focus.
11405 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11407 * javax/swing/text/Segment.java
11408 (last): Update current index before returning DONE for zero count.
11410 2006-07-24 Mark Wielaard <mark@klomp.org>
11412 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11414 2006-07-25 Roman Kennke <kennke@aicas.com>
11416 * javax/swing/plaf/basic/BasicMenuBarUI.java
11417 (FocusAction): New inner class. Used to grab focus.
11418 (installKeyboardActions): Implemented.
11419 (uninstallKeyboardActions): Implemented.
11420 (getActionMap): New helper method.
11421 (createDefaultActions): New helper method.
11423 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
11425 * examples/gnu/classpath/examples/swing/Demo.java:
11426 (mkMenuBar): Install instantiable basic look and feel.
11427 (InstantiableBasicLookAndFeel): New inner class.
11429 2006-07-25 Roman Kennke <kennke@aicas.com>
11431 * javax/swing/plaf/basic/BasicInternalFrameUI.java
11432 (GlassPaneDispatcher.dragTarget): New field.
11433 (GlassPaneDispatcher.isDragging): New field.
11434 (GlassPaneDispatcher.pressedComponent): Removed field.
11435 (GlassPaneDispatcher.tempComponent): Removed field.
11436 (GlassPaneDispatcher.pressCount): Removed field.
11437 (GlassPaneDispatcher.mousePressed): Call
11438 borderListener.mousePressed() to activate the frame.
11439 (acquireComponentForMouseEvent): Removed method.
11440 (handleEvent): Rewritten.
11441 (redispatch): New method.
11442 (InternalFramePropertyChangeListener.propertyChange):
11443 Make glasspane invisible when frame is selected, and visible
11444 if it gets deselected.
11446 2006-07-25 Roman Kennke <kennke@aicas.com>
11448 * java/awt/LightweightDispatcher.java
11449 (handleMouseEvent): Dispatch event to real target if
11450 the dragTarget has become invisible in the meantime.
11452 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
11454 * javax/swing/text/TabSet.java
11455 (equals): New method override for 1.5,
11456 (hashCode): Likewise,
11457 (toString): Added spaces to match reference implementation.
11459 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
11461 * javax/management/IntrospectionException.java,
11462 * javax/management/MBeanAttributeInfo.java:
11464 * javax/management/MBeanNotificationInfo.java:
11465 Documentation cleanups.
11467 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11469 * javax/swing/text/TabSet.java
11470 (TabSet): Check for null argument,
11471 (getTab): Throw IllegalArgumentException for index out of bounds,
11472 (getTabIndexAfter): Changed test to '<=',
11473 and updated API docs all over,
11474 * javax/swing/text/TabStop.java: Updated API docs.
11476 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11478 * javax/swing/text/TabStop.java
11479 (toString): Don't use 'left ' prefix, and added space between tab
11480 location and '(w/leader)' suffix.
11482 2006-07-24 Francis Kung <fkung@redhat.com>
11484 * javax/swing/JComboBox.java
11485 (DefaultKeySelectionManager): Implemented.
11486 (createDefaultKeySelectionManager): Implemented.
11487 (getKeySelectionManager): Implemented.
11488 (processKeyEvent): Removed duplicate code.
11489 * javax/swing/JPopupMenu.java
11490 (selectionModel): Changed visibility.
11491 * javax/swing/plaf/basic/BasicComboBoxUI.java
11492 (KeyHandler.keyPressed): Added navigation keys.
11493 (configureEditor): Add key listener.
11494 (installListeners): Install focus listener to combo box.
11495 (isNavigationKey): Added enter, escape, and tab.
11496 (selectPreviousPossibleValue): Added out of bounds check.
11497 (unconfigureEditor): Remove key listener.
11498 * javax/swing/plaf/metal/MetalComboBoxButton.java
11499 (paintComponent): Highlight combo box when in focus.
11501 2006-07-24 Roman Kennke <kennke@aicas.com>
11503 * javax/swing/SwingUtilities.java
11504 (isLeftMouseButton): Fixed condition.
11505 * java/awt/LightweightDispatcher.java
11506 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11509 2006-07-24 Roman Kennke <kennke@aicas.com>
11511 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11512 (setPaint): Fixed scaleX and scaleY.
11514 2006-07-24 Roman Kennke <kennke@aicas.com>
11516 * javax/swing/JTable.java
11517 (handleInsert): Repaint the whole table for variable row
11518 height tables and an optimized region otherwise.
11519 (handleDelete): Likewise.
11520 (handleUpdate): Likewise.
11522 2006-07-24 Mario Torre <neugens@limasoftware.net>
11524 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11525 now explicity registerListeners on GtkMouseDragGestureRecognizer
11527 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11528 (unregisterListeners): new method, overrided from base class
11529 to rise visibility (from protected to public).
11530 (registerListeners): Likewise.
11531 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11532 removed call to registerListeners from the constructor.
11534 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11536 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11537 * java/lang/management/MemoryPoolMXBean.java:
11538 (getType()): Changed return type to MemoryType.
11539 * java/lang/management/MemoryType.java:
11542 2006-07-23 Mark Wielaard <mark@klomp.org>
11544 * configure.ac: Check for moc and moc-qt4.
11546 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11548 * java/awt/image/Kernel.java: API doc updates.
11550 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11552 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11555 2006-07-22 Mark Wielaard <mark@klomp.org>
11557 * java/lang/Iterable.java: Import all of java.util.
11558 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11559 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11561 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11563 * doc/vmintegration.texinfo:
11564 Document getType(String).
11565 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11566 * java/lang/management/MemoryPoolMXBean.java:
11567 (getType()): Implemented.
11568 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11569 (getType(String)): Implemented.
11571 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11573 * doc/vmintegration.texinfo:
11574 Move end of itemization block.
11576 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11578 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11579 (initComponentDefaults): Added new properties, added comments.
11581 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11583 * doc/vmintegration.texinfo:
11584 Mention callback methods.
11585 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11586 (fireNotification(String,String,long,long,long,long,long)):
11587 Made package-private.
11588 (fireThresholdExceededNotification(String,long,long,long,
11589 long,long)): Likewise.
11590 (fireCollectionThresholdExceededNotification(String,long,
11591 long,long,long,long)): Likewise.
11592 * java/lang/management/MemoryMXBean.java:
11593 Document notifications.
11595 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11597 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11598 (fireNotification(String,String,long,long,long,long,long)):
11600 (fireThresholdExceededNotification(String,long,long,long,
11601 long,long)): Likewise.
11602 (fireCollectionThresholdExceededNotification(String,long,
11603 long,long,long,long)): Likewise.
11604 * java/lang/management/MemoryNotificationInfo.java:
11605 Use composite type from MemoryMXBeanImpl.
11606 * javax/management/openmbean/CompositeData.java:
11607 Correct documentation.
11608 * javax/management/openmbean/CompositeDataSupport.java,
11609 * javax/management/openmbean/InvalidKeyException.java:
11612 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11614 * gnu/java/security/util/IntegerUtil.java: New file.
11616 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11619 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11620 (KEY_SIZE): Likewise.
11621 (adjustParity(int,byte[],int): New method.
11622 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11623 (isParityAdjusted(int,byte[],int)): New method.
11624 (isParityAdjusted): Call above method with 3 as 1st argument.
11625 (keySizes): Add 8 and 16 as other valid key sizes.
11626 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11628 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11630 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11631 code for the pixel swap routine to be more efficient.
11633 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11635 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11636 (lastIndexOf(E, int)): Likewise.
11637 (add(E)): Increase the size of newData array by one.
11638 (add(int, E)): Likewise.
11640 2006-07-20 Lillian Angel <langel@redhat.com>
11642 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11643 Removed unused fields.
11644 (GtkMouseDragGestureRecognizer): Removed initializations.
11646 2006-07-20 Lillian Angel <langel@redhat.com>
11648 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11649 (GtkMouseDragGestureRecognizer): New constructor.
11650 (GtkMouseDragGestureRecognizer): New constructor.
11651 (GtkMouseDragGestureRecognizer): New constructor.
11652 (mouseClicked): Removed FIXME.
11653 (mousePressed): Implemented.
11654 (mouseReleased): Implemented.
11655 (mouseEntered): Implemented.
11656 (mouseDragged): Implemented to check mouse point and trigger origin.
11657 (mouseMoved): Removed FIXME.
11658 (getDropActionFromEvent): New helper function used to convert mouse event
11659 modifiers to a drop action.
11660 * java/awt/dnd/DragSource.java
11661 (getDragThreshold): Changed to return some arbitrary value for testing
11664 2006-07-20 Roman Kennke <kennke@aicas.com>
11666 * java/awt/LightweightDispatcher.java
11667 (findTarget): Also consider components that have their eventMask
11668 set, for compatibility with stonage AWT. Optimized check
11670 (handleMouseEvent): Likewise.
11672 2006-07-20 Roman Kennke <kennke@aicas.com>
11674 * javax/swing/JTable.java
11675 (tableChanged): Split out handling of the event into multiple
11677 (handleCompleteChange): New method. Clear the selection and
11678 check the lead/anchor indices.
11679 (handleInsert): New method. Check the lead/anchor indices.
11680 Optimized repainting.
11681 (handleDelete): New method. Check the lead/anchor indices.
11682 Optimized repainting.
11683 (handleUpdate): New method. Optimized repainting.
11684 (checkSelection): New helper method.
11685 (setSelectionModel): Update lead/anchor indices.
11687 2006-07-20 Lillian Angel <langel@redhat.com>
11690 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11691 (dispose): Reset all fields.
11693 2006-07-20 Roman Kennke <kennke@aicas.com>
11695 * gnu/java/awt/peer/x/XToolkit.java
11696 (createImage(InputStream)): Only copy image to Pixmap if
11697 it's actually opaque. Transparent images are left as
11698 BufferedImage and composited later onto the screen.
11699 * gnu/java/awt/peer/x/XGraphics.java
11700 (XGraphics): Fetch some parameters for image rendering.
11701 (drawImage): Added special handling of transparent images.
11702 (getRGB): New helper method.
11703 (setRGB): New helper method.
11705 2006-07-20 Roman Kennke <kennke@aicas.com>
11707 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11708 ImageInputStreams as normal InputStreams.
11709 * gnu/javax/imageio/gif/GIFStream.java:
11710 Moved to gnu/javax/imageio/IIOInputStream.java.
11711 * gnu/javax/imageio/gif/GIFImageReader.java
11712 (readImage): Use IIOInputStream.
11713 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11714 (canDecodeInput): Use IIOInputStream.
11715 * gnu/javax/imageio/png/PNGException.java: Make subclass
11717 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11718 Implements the ImageIO ImageReader for PNG.
11719 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11720 Implements the ImageIO ImageReaderSpi for PNG.
11721 * javax/imageio/spi/IIORegistry.java:
11722 (IIORegistry): Add PNGImageReaderSpi.
11724 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11726 * java/awt/image/ComponentSampleModel.java
11727 (getPixel): Added argument check,
11728 (getSample): Modified exception message.
11730 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11733 * java/awt/image/ConvolveOp.java
11734 (filter(Raster, WritableRaster)): Reimplemented,
11735 (fillEdge): New private method.
11737 2006-07-19 Keith Seitz <keiths@redhat.com>
11739 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11740 (JVMTI_VERSION): Define.
11742 2006-07-19 Roman Kennke <kennke@aicas.com>
11744 * resource/gnu/regexp/MessagesBundle.properties,
11745 * resource/gnu/regexp/MessagesBundle_fr.properties,
11746 * resource/gnu/regexp/MessagesBundle_it.properties:
11747 Moved to resource/gnu/java/util/regex.
11748 * resource/gnu/java/util/regex/MessagesBundle.properties,
11749 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11750 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11752 * gnu/java/util/regex/RE.java
11753 Use new resource bundle location.
11755 2006-07-19 Roman Kennke <kennke@aicas.com>
11757 * javax/swing/JComponent.java
11758 (paintChildren): Refactored. The paintChildrenOptimized method
11759 has been moved back in here. Added locking of the tree and
11760 only check for completely obscured child components
11761 when not optimized drawing enabled. Use Graphics.create() to
11762 protect from irreversible changes.
11763 (isCompletelyObscured): New helper method.
11764 (paintComponent): Also use Graphics.create() for Graphics2D,
11765 to protect from irreverible changes.
11766 (clipAndTranslateGraphics): Refactored to use more efficient
11767 iterative (vs recursive) approach.
11768 * javax/swing/RepaintManager.java
11769 (getOffscreenBuffer): Create image from root component.
11771 2006-07-19 Roman Kennke <kennke@aicas.com>
11773 * gnu/java/awt/peer/x/XGraphics.java
11774 (translate): Don't set the clip on the X server.
11775 (clipRect): Use setXClip() to set the clip on the X server.
11776 (hitClip): More efficient and correct implementation.
11777 (setClip): Use setXClip() to set the clip on the X server.
11778 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11779 (copyArea): Translate and clip the source rectangle correctly.
11780 (dispose): Only flush when object is not yet disposed.
11781 (clone): Use setXClip() to set the clip on the X server.
11783 2006-07-19 Sven de Marothy <sven@physto.se>
11785 * gnu/javax/imageio/png/PNGChunk.java,
11786 * gnu/javax/imageio/png/PNGData.java,
11787 * gnu/javax/imageio/png/PNGDecoder.java,
11788 * gnu/javax/imageio/png/PNGEncoder.java,
11789 * gnu/javax/imageio/png/PNGException.java,
11790 * gnu/javax/imageio/png/PNGFile.java,
11791 * gnu/javax/imageio/png/PNGFilter.java,
11792 * gnu/javax/imageio/png/PNGGamma.java,
11793 * gnu/javax/imageio/png/PNGHeader.java,
11794 * gnu/javax/imageio/png/PNGICCProfile.java,
11795 * gnu/javax/imageio/png/PNGPalette.java,
11796 * gnu/javax/imageio/png/PNGPhys.java,
11797 * gnu/javax/imageio/png/PNGTime.java:
11800 2006-07-19 Sven de Marothy <sven@physto.se>
11802 * java/net/Inet6Address.java:
11803 (getScopedId, getScopedInterface): New methods.
11805 2006-07-19 Lillian Angel <langel@redhat.com>
11807 * examples/gnu/classpath/examples/awt/Demo.java
11808 (DragDropWindow): Fixed typo in Label text.
11809 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11810 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11811 (startDrag): Initialized context field.
11812 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11814 (dragEnter): New function.
11815 (dragExit): Likewise.
11816 (dragDropEnd): Likewise.
11817 (dragMouseMoved): Likewise.
11818 (dragOver): Likewise.
11819 (dragActionChanged): Likewise.
11821 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11824 * resource/java/security/classpath.security: Updated copyright year.
11825 (auth.login.defaultCallbackHandler): New property; set to our default
11826 callback handler. This is needed by the LoginContext when no callback
11827 handler was specified.
11828 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11829 (LoginContext(4)): Assign passed parameters to local fields before invoking
11832 2006-07-19 Roman Kennke <kennke@aicas.com>
11834 * gnu/java/awt/peer/x/XGraphics.java
11835 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11836 Fixed ordering of parameters.
11838 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11840 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11841 (MemoryMXBeanImpl()): Implemented.
11842 (ListenerData): New private class.
11843 (addNotificationListener(NotificationListener,
11844 NotificationFilter, Object)): Implemented.
11845 (getNotificationInfo()): Likewise.
11846 (removeNotificationListener(NotificationListener)):
11848 (removeNotificationListener(NotificationListener,
11849 NotificationFilter, Object)): Likewise.
11851 2006-07-18 Roman Kennke <kennke@aicas.com>
11853 * gnu/java/awt/peer/x/XFontPeer.java
11854 (encodeFont): Be more flexible with font sizes.
11855 (validSize): New helper method.
11856 * gnu/java/awt/peer/x/XGraphics.java
11857 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11859 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11861 * gnu/java/awt/peer/x/XImage.java
11862 (properties): New field.
11863 (getProperty): Implemented.
11864 * resource/gnu/java/awt/peer/x/fonts.properties:
11865 Added copyright header. Fixed font size field.
11867 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11869 * java/awt/image/BandedSampleModel.java
11870 (createDataBuffer): New method override,
11871 * java/awt/image/ByteLookupTable.java
11872 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11873 (ByteLookuptable(int, byte[])): Check for null array,
11874 * java/awt/image/ComponentSampleModel.java
11875 (createDataBuffer): Removed unnecessary braces,
11876 (getSample): Check (x, y) is within bounds,
11877 * java/awt/image/ShortLookupTable.java
11878 (ShortLookupTable(int, short[][])): Create new array to hold references,
11879 (ShortLookupTable(int, short[])): Check for null array,
11880 (getTable): Added API docs,
11881 (lookupPixel): Source reformatting.
11883 2006-07-18 Tania Bento <tbento@redhat.com>
11885 * java/awt/GridLayout.java
11886 (setHgap): Illegal Argument Exception should not be thrown if
11888 (setVgap): Illegal Argument Exception should not be thrown if
11890 (toString): Opening square braket ([) should appear before hgap
11891 value, not the name of the class.
11893 2006-07-18 Roman Kennke <kennke@aicas.com>
11895 * lib/copy-vmresources.sh.in: Reverted.
11896 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11897 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11899 2006-07-18 Roman Kennke <kennke@aicas.com>
11901 * lib/copy-vmresources.sh.in: Include properties from X peers.
11903 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11906 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11907 certificate validity.
11908 (getIssuerName): New method.
11909 (getSubjectName): Likewise.
11910 (getNotAfterDate): Likewise.
11911 (getNotBeforeDate): Likewise.
11912 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11913 messages for newly added messages in SFHelper.
11915 2006-07-18 Roman Kennke <kennke@aicas.com>
11917 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11918 * gnu/java/awt/peer/x/XEventPump.java
11919 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11920 * gnu/java/awt/peer/x/XFramePeer.java
11921 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11922 * gnu/java/awt/peer/x/XGraphics.java
11923 Made subclass of Graphics rather than Graphics2D. Removed
11924 all Graphics2D specific method stubs.
11925 (setColor): Map colors using the X color map that is
11926 stored in XToolkit.
11927 * gnu/java/awt/peer/x/XToolkit.java
11928 (colorMap): New field.
11929 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11931 (createDialog): Implemented.
11932 (createImage(ImageProducer)): Implemented.
11933 (createImage(InputStream)): Use createImage(ImageProducer)
11934 to convert the BufferedImage to an XImage.
11935 * gnu/java/awt/peer/x/XWindowPeer.java
11936 (XWindowPeer): Removed debug output.
11938 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11940 * java/awt/image/BufferedImageOp.java: API docs added,
11941 * java/awt/image/RasterOp.java: Likewise.
11943 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11945 * java/awt/Graphics2D.java: API docs updated.
11947 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11949 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11952 2006-07-18 Sven de Marothy <sven@physto.se>
11954 * java/net/Inet6Address.java:
11955 Add 1.5 serialized fields.
11956 (getByAddress): New methods.
11957 (readObject, writeObject): New methods.
11958 (equals): Reimplement.
11960 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11962 * java/awt/image/Raster.java: Added API docs and reformatted source
11965 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11967 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11969 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11970 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11971 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11972 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11973 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11974 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11975 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11976 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11977 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11978 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11979 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11980 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11981 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11982 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11983 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11984 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11985 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11986 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11987 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11988 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11989 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11991 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11993 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11994 to make it compile again under jikes. Note added.
11996 2006-07-17 Lillian Angel <langel@redhat.com>
11998 * examples/gnu/classpath/examples/awt/Demo.java
11999 (Demo): Added new window for DnD demo.
12000 (DragDropWindow): New class.
12001 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12002 Added new fields and declarations for native functions.
12003 (GtkDragSourceContextPeer): Implemented.
12004 (getComponentPeer): New function.
12005 (startDrag): Partially implemented.
12006 (getCursor): Implemented.
12007 (setCursor): Implemented.
12008 * include/GtkDragSourceContextPeer.h: New file.
12009 * include/Makefile.am: Added new header file.
12010 * java/awt/Component.java
12011 (addNotify): Added call to the dropTarget's addNotify.
12012 * java/awt/dnd/DragSource.java
12013 (startDrag): Fixed code to use shared instances of peer and
12015 (getDragThreshold): Added stub.
12016 * java/awt/dnd/DropTarget.java
12017 (DropTarget): Implemented fully.
12018 (addNotify): Added code to get the peer of the parent that is
12020 * java/awt/dnd/DropTargetDragEvent.java
12021 (getTransferable): Added stub.
12022 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
12023 * native/jni/gtk-peer/Makefile.am: Added new c file.
12024 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12025 Changed to extend GtkGenericPeer.
12026 (GtkDropTargetContextPeer): New constructor.
12027 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12028 Changed to extend GtkGenericPeer.
12029 (GtkDropTargetContextPeer): New constructor.
12031 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12033 * java/awt/image/SinglePixelPackedSampleModel.java
12034 (createSubsetSampleModel): Added argument check and API docs.
12036 2006-07-17 Roman Kennke <kennke@aicas.com>
12038 * gnu/java/awt/peer/x/XGraphics.java
12039 (copyArea): Implemented.
12041 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12043 * java/awt/image/SinglePixelPackedSampleModel.java
12044 (getSampleSize): Return copy of array,
12045 (getOffset): Added API docs,
12046 (getScanlineStride): Likewise,
12047 (hashCode): Implemented.
12049 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
12051 * java/awt/image/MultiPixelPackedSampleModel.java
12052 (getOffset): Updated API docs and source reformatting,
12053 (getBitOffset): Source reformatting only,
12054 (getDataElements): Likewise,
12055 (getPixel): Likewise,
12056 (getPixels): Removed method override,
12057 (setDataElements): Reimplemented.
12059 2006-07-17 Gary Benson <gbenson@redhat.com>
12061 * resource/META-INF/services/.cvsignore: New file.
12062 * lib/.cvsignore: Updated.
12064 2006-07-17 Roman Kennke <kennke@aicas.com>
12066 * javax/swing/plaf/basic/BasicButtonListener.java
12067 (propertyChange): Only do the text layout caching as long
12068 as the noGraphics2D property isn't set.
12069 * javax/swing/plaf/basic/BasicMenuItemUI.java
12070 (PropertyChangeHandler.propertyChange): Only do the text layout
12071 caching as long as the noGraphics2D property isn't set.
12073 2006-07-17 Roman Kennke <kennke@aicas.com>
12075 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12076 (XGraphicsEnvironment): Make constructor public so that it
12077 can be called via Class.forName().newInstance().
12078 * gnu/java/awt/peer/x/XImage.java
12079 (XImage): Fetch GraphicsEnvironment via
12080 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12081 than the XToolkit method, to avoid double instantiation
12082 of the XGraphicsEnvironment.
12083 * gnu/java/awt/peer/x/XToolkit.java
12084 (env): Removed field.
12085 (getLocalGraphicsEnvironment): Removed impl. This method
12086 should not be called since we set the graphicsenv property
12087 in the constructor.
12089 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12091 * java/util/UUID.java:
12092 (compareTo(Object)): Call compareTo(UUID).
12093 (compareTo(UUID)): Implemented.
12095 2006-07-16 Tom Tromey <tromey@redhat.com>
12097 * java/lang/StrictMath.java (cbrt): Added '@since'.
12099 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
12101 * java/lang/StrictMath.java (cbrt): New method.
12102 (getLowDWord): New helper method.
12103 (getHighDWord): Likewise.
12104 (buildDouble): Likewise.
12105 (CBRT_B1): New field.
12106 (CBRT_B2): Likewise.
12107 (CBRT_C): Likewise.
12108 (CBRT_D): Likewise.
12109 (CBRT_E): Likewise.
12110 (CBRT_F): Likewise.
12111 (CBRT_G): Likewise.
12113 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12115 * javax/management/MBeanInfo.java:
12116 (getNotifications()): Implemented.
12117 * javax/management/NotificationBroadcaster.java:
12118 (removeNotificationListener(NotificationListener)):
12119 Renamed from removeListener.
12120 * javax/management/NotificationEmitter.java:
12121 (removeNotificationListener(NotificationListener,
12122 NotificationFilter, Object)): Likewise.
12123 * javax/management/NotificationFilter.java:
12124 Implement Serializable.
12125 * javax/management/NotificationListener.java:
12126 Implement java.util.EventListener.
12127 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12128 Implement Serializable.
12130 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12132 * java/lang/management/MemoryNotificationInfo.java:
12135 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12138 * gnu/javax/swing/text/html/parser/htmlValidator.java
12139 (tagIsValidForContext): If it is not possible to insert any tag, but
12140 is possible to insert a P, insert a P.
12141 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12142 (newInstance): Removed print statement. (getBodyElements):
12143 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12144 valid body level tags (will be enclosed into P's).
12146 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
12148 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12149 Condition the creation of .keystore (a default keystore) based on the
12150 createIfNotFound argument as well.
12152 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12155 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12156 Removed heading p tag from the parsing example.
12157 * gnu/javax/swing/text/html/parser/HTML_401F.java:
12158 (createHtmlContentModel): Explained.
12159 (defineElements): Call getBodyElements to get the body
12160 elements. (getBodyElements): New method. (model):
12161 Made protected from private.
12162 * gnu/javax/swing/text/html/parser/htmlValidator.java
12163 (openTag): Mind that current content model may be null.
12164 (tagIsValidForContext): If the tag is PCDATA, and it is not
12165 valid for context, but the paragraph (P) is valid for context,
12166 suggest to insert the P tag here.
12167 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12168 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12169 implied P tags here.
12170 * javax/swing/text/html/HTMLEditorKit.java (getParser):
12171 Get the custom parser, using HTML_401Swing.java DTD.
12172 * javax/swing/text/html/parser/ParserDelegator.java:
12173 Removed the obsolete note that HTMLEditorKit does not exist.
12174 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12175 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12177 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12179 * javax/management/ListenerNotFoundException.java:
12181 * javax/management/MBeanFeatureInfo.java:
12182 (hashCode()): Use summation instead of multiplication
12183 for consistency with other classes.
12184 * javax/management/MBeanNotificationInfo.java,
12185 * javax/management/Notification.java,
12186 * javax/management/NotificationBroadcaster.java,
12187 * javax/management/NotificationEmitter.java,
12188 * javax/management/NotificationFilter.java,
12189 * javax/management/NotificationListener.java:
12191 * javax/management/OperationsException.java:
12192 (serialVersionUID): Added.
12194 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
12195 Mark Wielaard <mark@klomp.org>
12197 * java/io/PrintStream.java: Added four constructors, for File and
12198 String describing a filename with or without explicit encoding.
12200 2006-07-16 Sven de Marothy <sven@physto.se>
12202 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12203 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12206 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12209 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
12211 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12212 (setProviderClassNameParam): Made private.
12213 (setKeystoreTypeParam): Likewise.
12214 (setKeyPasswordParam): Likewise
12215 (setKeystorePasswordParam): Likewise.
12216 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12217 create or not the keystore if it's not there, and the second is the store's
12218 password to process before loading the keystore. Amended the code
12220 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12221 setKeyStoreParams(5) with true as its first argument.
12222 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12223 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12225 2006-07-16 Sven de Marothy <sven@physto.se>
12227 * java/util/UUID.java: New file.
12229 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12231 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12232 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12233 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12234 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12235 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12236 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12237 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12238 added Key Wrapping Algorithm SPIs.
12240 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12242 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12243 wrapping/unwrapping to invoke their engineGetOutputSize.
12245 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12247 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12248 (engineInit): If a SecureRandom was specified then use it.
12249 (nextRandomBytes): New method.
12250 (engineWrap): Use above method.
12251 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12252 (getDefaultPRNG): New method.
12253 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12254 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12257 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12259 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12260 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12262 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
12264 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12265 offset into consideration.
12267 2006-07-16 Mario Torre <neugens@limasoftware.net>
12269 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12270 Fixed comment. This functions now requires to be called
12271 with gdk lock held, the comment states that.
12272 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12273 Introduces gdk locks around critical regions of code.
12274 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12276 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12278 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12280 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12282 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12284 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12286 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12288 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12290 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12292 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12293 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12295 2006-07-15 Sven de Marothy <sven@physto.se>
12297 * javax/swing/JFileChooser.java
12298 Change default selection mode to FILES_ONLY.
12299 * javax/swing/plaf/basic/BasicDirectoryModel.java
12300 Document, fix selection mode filtering.
12301 (renameFile): Implement
12302 * javax/swing/plaf/basic/BasicFileChooserUI.java
12303 (selectedDir): New field to handle selected directories,
12304 disallow selecting of directories in FILES_ONLY mode.
12305 * javax/swing/plaf/metal/MetalFileChooserUI.java:
12306 (EditingActionListener.actionPerformed):
12307 Stop editing on all actions (e.g. return-key press)
12309 2006-07-15 Mark Wielaard <mark@klomp.org>
12311 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12313 (JNI Implementation): Mark JVMTI Implementation as next.
12314 (JVMTI Implementation): Mark JNI Implementation as prev.
12316 2006-07-15 Mark Wielaard <mark@klomp.org>
12318 * include/Makefile.am: Remove
12319 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12320 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12321 * native/jni/gtk-peer/Makefile.am: Remove
12322 gnu_java_awt_peer_gtk_GdkTextLayout.c
12323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12326 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12328 2006-07-15 Mark Wielaard <mark@klomp.org>
12330 * autogen.sh: Recognize autoconf 2.60.
12332 2006-07-15 Keith Seitz <keiths@redhat.com>
12334 * NEWS: Update for JVMTI and jvmti.h.
12335 * doc/vmintegration.texinfo: Likewise.
12336 * include/jvmti.h: New file.
12338 2006-07-15 Mark Wielaard <mark@klomp.org>
12340 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12341 Removed C++ style comment.
12343 2006-07-15 Sven de Marothy <sven@physto.se>
12345 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12346 * java/awt/MouseInfo.java,
12347 * java/awt/PointerInfo.java,
12348 * java/awt/peer/MouseInfoPeer.java:
12351 * java/awt/Image.java
12352 (accelerationPriority): New field.
12353 (setAccelerationPriority, getAccelerationPriority): New methods..
12355 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12356 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12357 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12358 (getMouseCoordinates): New method.
12360 * gnu/java/awt/peer/gtk/GtkFramePeer.java
12361 (updateAlwaysOnTop): Remove stub overload.
12363 * gnu/java/awt/ClasspathToolkit.java,
12364 * gnu/java/awt/peer/gtk/GtkToolkit.java,
12365 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12366 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12367 (getMouseInfoPeer): New method.
12368 (getMouseNumberOfButtons): New method.
12370 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12371 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12372 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12373 (gtkWindowSetAlwaysOnTop): New method.
12374 (updateAlwaysOnTop): Implement.
12376 * java/awt/Toolkit.java,
12377 (getMouseInfoPeer): New method.
12379 * java/awt/Window.java
12380 (alwaysOnTop): New field.
12381 (isAlwaysOnTop, setAlwaysOnTop): New methods.
12383 * java/awt/peer/WindowPeer.java: Doc fix.
12385 2006-07-14 Sven de Marothy <sven@physto.se>
12387 * java/awt/font/TextLayout.java:
12388 (hitTestChar): Stub method.
12389 * java/awt/font/TextMeasurer.java:
12390 (getLayout): Throw exception on invalid argument.
12392 2006-07-14 Sven de Marothy <sven@physto.se>
12394 * java/awt/image/DataBuffer.java
12395 (DataBuffer): Call constructors in the correct order,
12397 2006-07-14 Mark Wielaard <mark@klomp.org>
12399 Revert to previous implementation.
12400 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12401 constraints insets.
12403 2006-07-14 Roman Kennke <kennke@aicas.com>
12405 * gnu/java/awt/peer/x/XToolkit.java
12406 (XToolkit): Install properties to SystemProperties
12407 rather than System, to avoid SecurityManager.
12408 (getImage(String)): Return error image when string is invalid.
12409 (createImage(URL)): Moved image loading to helper method.
12410 (createImage(ImageProducer)): Implemented.
12411 (createImage(byte[],int,int)): Implemented.
12412 (createImage(InputStream)): New helper method.
12414 2006-07-14 Tania Bento <tbento@redhat.com>
12416 * java/awt/FlowLayout.java
12417 (setHgap): No Excpetion should be thrown if hgap has
12419 (setVgap): No Exception should be thrown if vgap has
12422 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12424 * java/awt/image/MultiPixelPackedSampleModel.java:
12425 Added API docs all over.
12427 2006-07-14 Matt Wringe <mwringe@redhat.com>
12429 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
12430 (engineInit): Throw InvalidAlgorithmParameterException
12431 for invalid IVParameterSpec IV length.
12433 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12435 * java/awt/image/MultiPixelPackedSampleModel.java
12436 (createDataBuffer): Include dataBitOffset in calculating the size for
12439 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12441 * java/awt/image/MultiPixelPackedSampleModel.java
12442 (getSampleSize()): Return a copy of the array,
12443 (getTransferType()): New method override.
12445 2006-07-14 Roman Kennke <kennke@aicas.com>
12447 * java/awt/CardLayout.java
12448 (show): Validate parent to make sure that the layout is
12451 2006-07-14 Roman Kennke <kennke@aicas.com>
12453 * java/awt/Component.java
12454 (enable): Added tree locking.
12455 (disable): Added tree locking.
12456 (show): Added tree locking.
12457 (hide): Added tree locking.
12458 (getLocationOnScreen): Added tree locking.
12459 (reshape): Added tree locking.
12460 (addHierarchyListener): Added tree locking.
12461 (removeHierarchyListener): Added tree locking.
12462 (addHierarchyBoundsListener): Added tree locking.
12463 (removeHierarchyBoundsListener): Added tree locking.
12464 (addNotify): Added tree locking.
12465 (removeNotify): Added tree locking.
12466 * java/awt/Container.java
12467 (invalidateTree): Added tree locking.
12468 (getAlignmentX): Added tree locking.
12469 (getAlignmentY): Added tree locking.
12470 (addNotify): Added tree locking.
12471 (setComponentZOrder): Added tree locking.
12472 (getComponentZOrder): Added tree locking.
12474 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12476 * java/awt/image/MultiPixelPackedSampleModel.java
12477 (createSubsetSampleModel): Restored argument check, but let null
12480 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12482 * java/awt/image/MultiPixelPackedSampleModel.java
12483 (createSubsetSampleModel): Removed argument check.
12485 2006-07-14 Roman Kennke <kennke@aicas.com>
12487 * java/awt/Component.java
12488 (numHierarchyListeners): New field.
12489 (numHierarchyBoundsListeners): New field.
12490 (show): Fire hierarchy events here. Only fire component event
12491 if there is actually a listener for it.
12492 (hide): Fire hierarchy events here. Only fire component event
12493 if there is actually a listener for it.
12494 (reshape): Fire hierarchy events here. Only fire component event
12495 if there is actually a listener for it.
12496 (addHierarchyListeners): Update listener counters.
12497 (removeHierarchyListeners): Update listener counters.
12498 (addHierarchyBoundsListeners): Update listener counters.
12499 (removeHierarchyBoundsListeners): Update listener counters.
12500 (fireHierarchyEvent): New helper method for firing hierarchy
12502 * java/awt/Container.java
12503 (addImpl): Update listener counters. Fire hierarchy event.
12504 (remove): Update listener counters. Fire hierarchy event.
12505 (fireHierarchyEvent): New helper method for firing hierarchy
12507 (updateHierarchyListenerCount): New helper method for
12508 updating the listener counters.
12510 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12512 * java/awt/image/MultiPixelPackedSampleModel.java
12513 (equals): New method override,
12514 (hashCode): Likewise.
12516 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12518 * java/awt/image/MultiPixelPackedSampleModel.java
12519 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12520 Corrected scanlineStride calculation.
12522 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12524 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12525 (AES_KWA): Likewise.
12526 (AES128_KWA): Likewise.
12527 (AES192_KWA): Likewise.
12528 (AES256_KWA): Likewise.
12529 (RIJNDAEL_KWA): Likewise.
12530 (TRIPLEDES_KWA): Likewise.
12531 (DESEDE_KWA): Likewise.
12532 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12533 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12534 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12535 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12536 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12537 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12539 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12541 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12542 (PADDING_BLOCK_SIZE): New constant.
12543 (init(Map attributes)): New method.
12544 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12546 2006-07-14 Mario Torre <neugens@limasoftware.net>
12548 * gnu/java/security/OID.java (OID): Private Constructor removed as
12549 it is not needed anymore.
12550 (clone): Fixed. Now uses super.clone instead of the private
12551 constructor as per specification of clone method.
12552 (serialVersionUID): added new field to allow serialization.
12554 2006-07-13 Sven de Marothy <sven@physto.se>
12556 * gnu/javax/imageio/gif/GIFImageReader.java
12557 (read): Remove old debugging trace.
12559 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12562 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12565 2006-07-13 Roman Kennke <kennke@aicas.com>
12567 * java/awt/Component.java
12568 (DEFAULT_MAX_SIZE): New static constant.
12569 (preferredSize): Return copy of the actual value computed
12570 by new helper method.
12571 (preferredSizeImpl): New helper method. Adds locking and
12572 correct handling of cached value.
12573 (minimumSize): Return copy of the actual value computed
12574 by new helper method.
12575 (minimumSizeImpl): New helper method. Adds locking and
12576 correct handling of cached value.
12577 (getMaximumSize): Return copy of the actual value computed
12578 by new helper method.
12579 (maximumSizeImpl): New helper method. Adds locking and
12580 correct handling of cached value.
12581 (invalidate): Correct handling of cached layout information.
12583 * java/awt/Container.java
12584 (preferredSize): Minimized locking. Corrected handling of cached
12585 values. Return copy of real value.
12586 (minimumSize): Minimized locking. Corrected handling of cached
12587 values. Return copy of real value.
12588 (getMaximumSize): Minimized locking. Corrected handling of cached
12589 values. Return copy of real value.
12591 2006-07-13 Tania Bento <tbento@redhat.com>
12593 * gnu/java/awt/peer/ClasspathFontPeer.java
12594 (isLogicalFontName): Return true if name == default.
12595 (logicalFontNameToFaceName): Check if name == default,
12596 and if so, return "Dialog.plain".
12597 (setStandardAttributes(String, Map)): If name == null,
12598 it should be set to "Default", not "SansSerif".
12599 * java/awt/Canvas.java
12600 (generateName): Fixed documentation.
12601 * java/awt/CheckboxMenuItem.java
12602 Added static variable "next_chkmenuitem_number".
12603 (generateName): Added and implemented method.
12604 (getUniqueLong): Likewise.
12605 * java/awt/Choice.java
12606 Added static variable "next_choice_number".
12607 (generateName): Added and implemented method.
12608 (getUniqueLong): Likewise.
12609 * java/awt/Cursor.java
12610 (Cursor(int)): Set name depending on the type passed.
12611 * java/awt/List.java
12612 Added static variable "next_list_number".
12613 (generateName): Added and implemented method.
12614 (getUniqueLong): Likewise.
12615 * java/awt/Menu.java
12616 Added static variable "next_menu_number".
12617 (generateName): Added and implemented method.
12618 (getUniqueLong): Likewise.
12619 * java/awt/MenuBar.java
12620 Added static variable "next_menubar_number".
12621 (generateName): Added and implemented method.
12622 (getUniqueLong): Likewise.
12623 * java/awt/MenuComponent.java
12624 (getName): Before returning name, check if name == null
12625 and name is not explicity set. If this is the case,
12626 name will be generated.
12627 (generateName): Added and implemented method.
12628 * java/awt/MenuItem.java
12629 Added static variable "next_menuitem_number".
12630 (generateName): Added and implemented method.
12631 (getUniqueLong): Likewise.
12632 * java/awt/PopupMenu.java
12633 Added static variable "next_popup_number".
12634 (generateName): Added and implemented method.
12635 (getUniqueLong): Likewise.
12636 * java/awt/ScrollPane.java
12637 Added static variable "next_scrollpane_number".
12638 (generateName): Added and implemented method.
12639 (getUniqueLong): Likewise.
12640 * java/awt/TextField.java
12641 Added static variable "next_textfield_number".
12642 (generateName): Added and implemented method.
12643 (getUniqueLong): Likewise.
12646 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12648 * java/awt/image/SinglePixelPackedSampleModel.java
12649 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12650 mask correctly as an unsigned integer,
12651 (equals): New method override.
12653 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12655 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12656 insertAfterStart, insertBeforeEnd): Removed stub markings.
12658 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12660 * java/awt/image/BandedSampleModel.java: API doc updates and source
12662 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12664 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12666 * java/awt/image/BandedSampleModel.java: API doc updates.
12668 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12670 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12671 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12672 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12673 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12674 (HRMLReader.blockClose): Mind that parser stack may be empty.
12675 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12676 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12677 (HTMLReader.shouldInsert): New method. (getElement(String)):
12678 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12679 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12680 Implemented. (getInsertingReader): New method.
12681 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12682 Added buttons to demonstrate the work of the insert actions.
12684 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12686 * java/awt/image/SampleModel.java: API doc updates and additions,
12687 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12689 2006-07-12 Sven de Marothy <sven@physto.se>
12691 * javax/swing/JFileChooser.java:
12692 (createDialog): Close operation should cause a cancel.
12694 2006-07-12 Francis Kung <fkung@redhat.com>
12696 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12697 (cairoArc): New native method.
12698 (cairoRestore): New native method.
12699 (cairoSave): New native method.
12700 (cairoScale): New native method.
12701 (createPath): New method to centralize code from draw and fill.
12702 (draw): Modified to use createPath method.
12703 (fill): Modified to use createPath method.
12704 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12705 function declarations.
12706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12707 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12709 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12711 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12714 2006-07-12 Tom Tromey <tromey@redhat.com>
12717 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12718 on PartialInputStream.
12719 (PartialInputStream.dummyByteCount): New field.
12720 (PartialInputStream.fillBuffer): Handle dummy byte.
12721 (PartialInputStream.read): Likewise.
12722 (PartialInputStream.addDummyByte): New method.
12724 2006-07-12 Mario Torre <neugens@limasoftware.net>
12726 * native/jni/gconf-peer/GConfNativePeer.c
12727 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12728 Fixed C++ style comment.
12730 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12732 * java/util/Arrays.java
12733 (asList): Updated API docs.
12735 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12738 * native/jni/gconf-peer/GConfNativePeer.c:
12739 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12740 Changed if-expression.
12741 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12742 Added check for _value not being NULL.
12744 2006-07-11 Roman Kennke <kennke@aicas.com>
12746 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12747 (read): Use fd when local sockets are disabled to make the
12751 2006-07-11 Roman Kennke <kennke@aicas.com>
12753 * java/awt/image/MultiPixelPackedSampleModel.java
12754 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12755 division gets rounded up.
12757 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12759 * java/lang/management/ManageFactory.java:
12760 (getMemoryManagerMXBeans()): Use addAll, not add.
12762 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12765 * gnu/classpath/ByteArray.java: Removed (moved).
12766 * gnu/java/security/util/ByteArray.java: New File.
12767 * gnu/javax/crypto/RSACipherImpl.java: Reference
12768 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12770 2006-07-11 Roman Kennke <kennke@aicas.com>
12772 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12773 (available): Pass fd as argument and avoid JNI class/field
12777 * include/gnu_java_net_local_LocalSocketImpl.h:
12779 * gnu/java/net/local/LocalSocketImpl.h
12780 (available): Pass fd as argument and avoid JNI class/field
12785 2006-07-11 Sven de Marothy <sven@physto.se>
12787 * gnu/javax/sound/sampled/AU/AUReader.java:
12788 Correct file extension from .as to .au.
12790 2006-07-11 Sven de Marothy <sven@physto.se>
12792 * gnu/javax/sound/sampled/AU/AUReader.java:
12794 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12795 Added new provider.
12797 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12799 * javax/swing/JTable.java
12800 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12801 (setColumnSelectionAllowed): Likewise.
12803 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12806 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12807 AccessController.doPrivileged instead of SystemProperties.getProperty.
12808 * gnu/classpath/debug/SystemLogger.java: Likewise.
12809 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12810 repeated getProperty calls for "file.seperator".
12811 (refresh): Since already in privileged block, call System.getProperty
12812 instead of SystemProperties.getProperty.
12813 * gnu/java/security/key/dss/DSSKey.java
12814 (toString): Use AccessController.doPrivileged instead of
12815 SystemProperties.getProperty.
12816 * gnu/java/security/key/dss/DSSPrivateKey.java
12817 (toString): Likewise.
12818 * gnu/java/security/key/dss/DSSPublicKey.java
12819 (toString): Likewise.
12820 * gnu/java/security/key/rsa/GnuRSAKey.java
12821 (toString): Likewise.
12822 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12823 (toString): Likewise.
12824 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12825 (toString): Likewise.
12826 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12827 * gnu/javax/crypto/key/dh/GnuDHKey.java
12828 (toString): Likewise.
12829 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12830 (toString): Likewise.
12831 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12832 (toString): Likewise.
12834 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12836 * javax/swing/AbstractButton.java
12837 (disabledIcon): Fixed name (was 'disabeldIcon'),
12838 (getDisabledIcon): Updated for corrected field name,
12839 (setDisabledIcon): Fire a PropertyChangeEvent.
12841 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12843 * javax/swing/DefaultBoundedRangeModel.java
12844 (readObject): New private method,
12845 (writeObject): Likewise.
12847 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12849 * javax/swing/ButtonGroup.java
12850 (add): Ignore null argument,
12851 (remove): Ignore null argument. If removing selected button, clear the
12853 (findButton): Changed case for method name, and documented,
12854 (setSelected): Updated for modification to findButton() method name,
12855 (isSelected): Updated API docs.
12857 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12859 * java/awt/image/BufferedImage.java
12860 (BufferedImage(int, int, int)): Use correct color space for
12861 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12862 IllegalArgumentException for an unrecognised type.
12864 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12866 * java/lang/management/ManagementFactory.java:
12867 (getMemoryPoolMXBeans): Genericized fully.
12868 (getMemoryManagerMXBeans): Likewise.
12869 (getGarbageCollectorMXBeans): Likewise.
12871 2006-07-10 Tom Tromey <tromey@redhat.com>
12873 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12875 (getMemoryManagerMXBeans): Likewise.
12876 (getGarbageCollectorMXBeans): Likewise.
12878 2006-07-10 Mario Torre <neugens@limasoftware.net>
12880 * java/awt/BasicStroke.java: Removed unused import.
12881 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12882 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12883 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12885 2006-07-10 Matt Wringe <mwringe@redhat.com>
12887 PR classpath/28212:
12888 * javax/crypto/spec/SecretKeySpec.java
12889 (equals): Check object type.
12891 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12893 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12894 communication/StructureToPassHelper.java,
12895 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12896 communication/StructureToReturnHelper.java,
12897 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12898 communication/TreeNodeHelper.java,
12899 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12900 communication/WeThrowThisExceptionHelper.java,
12901 gnu/CORBA/ForwardRequestHelper.java,
12902 org/omg/CORBA/CompletionStatusHelper.java,
12903 org/omg/CORBA/CurrentHelper.java,
12904 org/omg/CORBA/DefinitionKindHelper.java,
12905 org/omg/CORBA/IDLTypeHelper.java,
12906 org/omg/CORBA/NameValuePairHelper.java,
12907 org/omg/CORBA/ObjectHelper.java,
12908 org/omg/CORBA/ParameterModeHelper.java,
12909 org/omg/CORBA/PolicyErrorCodeHelper.java,
12910 org/omg/CORBA/PolicyErrorHelper.java,
12911 org/omg/CORBA/PolicyHelper.java,
12912 org/omg/CORBA/PolicyListHelper.java,
12913 org/omg/CORBA/PolicyTypeHelper.java,
12914 org/omg/CORBA/ServiceDetailHelper.java,
12915 org/omg/CORBA/ServiceInformationHelper.java,
12916 org/omg/CORBA/SetOverrideTypeHelper.java,
12917 org/omg/CORBA/StringValueHelper.java,
12918 org/omg/CORBA/UnionMemberHelper.java,
12919 org/omg/CORBA/UnknownUserExceptionHelper.java,
12920 org/omg/CORBA/VisibilityHelper.java,
12921 org/omg/CORBA/WStringValueHelper.java,
12922 org/omg/CORBA/WrongTransactionHelper.java,
12923 org/omg/CosNaming/BindingHelper.java,
12924 org/omg/CosNaming/BindingIteratorHelper.java,
12925 org/omg/CosNaming/BindingListHelper.java,
12926 org/omg/CosNaming/BindingTypeHelper.java,
12927 org/omg/CosNaming/NameComponentHelper.java,
12928 org/omg/CosNaming/NameHelper.java,
12929 org/omg/CosNaming/NamingContextExtHelper.java,
12930 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12931 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12932 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12933 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12934 org/omg/CosNaming/NamingContextHelper.java,
12935 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12936 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12937 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12938 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12939 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12940 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12941 org/omg/DynamicAny/AnySeqHelper.java,
12942 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12943 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12944 org/omg/DynamicAny/DynAnyHelper.java,
12945 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12946 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12947 org/omg/DynamicAny/DynAnySeqHelper.java,
12948 org/omg/DynamicAny/DynArrayHelper.java,
12949 org/omg/DynamicAny/DynEnumHelper.java,
12950 org/omg/DynamicAny/DynFixedHelper.java,
12951 org/omg/DynamicAny/DynSequenceHelper.java,
12952 org/omg/DynamicAny/DynStructHelper.java,
12953 org/omg/DynamicAny/DynUnionHelper.java,
12954 org/omg/DynamicAny/DynValueHelper.java,
12955 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12956 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12957 org/omg/DynamicAny/NameValuePairHelper.java,
12958 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12959 org/omg/IOP/CodecFactoryHelper.java,
12960 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12961 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12962 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12963 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12964 org/omg/IOP/ComponentIdHelper.java,
12965 org/omg/IOP/IORHelper.java,
12966 org/omg/IOP/MultipleComponentProfileHelper.java,
12967 org/omg/IOP/ProfileIdHelper.java,
12968 org/omg/IOP/ServiceContextHelper.java,
12969 org/omg/IOP/ServiceContextListHelper.java,
12970 org/omg/IOP/ServiceIdHelper.java,
12971 org/omg/IOP/TaggedComponentHelper.java,
12972 org/omg/IOP/TaggedProfileHelper.java,
12973 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12974 org/omg/PortableInterceptor/AdapterNameHelper.java,
12975 org/omg/PortableInterceptor/AdapterStateHelper.java,
12976 org/omg/PortableInterceptor/CurrentHelper.java,
12977 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12978 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12979 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12980 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12981 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12982 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12983 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12984 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12985 org/omg/PortableServer/CurrentHelper.java,
12986 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12987 org/omg/PortableServer/ForwardRequestHelper.java,
12988 org/omg/PortableServer/POAHelper.java,
12989 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12990 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12991 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12992 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12993 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12994 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12995 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12996 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12997 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12998 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12999 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
13000 org/omg/PortableServer/ServantActivatorHelper.java,
13001 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
13002 typecode caching and always use OrbRestricted.Singleton.
13004 2006-07-09 Tom Tromey <tromey@redhat.com>
13006 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
13008 2006-07-09 Mark Wielaard <mark@klomp.org>
13010 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
13011 New static final boolean field.
13012 (getComponentGraphics): Use hasXRenderExtension.
13013 (setClip): Override method for locking.
13015 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
13017 * javax/swing/AbstractButton.java
13018 (setHorizontalTextPosition): Added check for illegal argument,
13019 (setVerticalTextPosition): Likewise.
13021 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
13023 * javax/swing/Timer.java
13024 (setDelay): Throw IllegalArgumentException for negative delay,
13025 (setInitialDelay): Likewise,
13026 * javax/swing/ToolTipManager.java
13027 (setInitialDelay): Document IllegalArgumentException,
13028 (setDismissDelay): Likewise,
13029 (setReshowDelay): Likewise.
13031 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
13033 * java/lang/management/MemoryUsage.java:
13034 (from(javax.management.openmbean.CompositeData)):
13036 * java/lang/management/ThreadInfo.java:
13037 Changed to use open types throughout for the state.
13038 (ThreadInfo(long,String,String,long,long,String,
13039 long,String,long,long,boolean,StackTraceElement[])):
13041 (checkAttribute(javax.management.openmbean.CompositeType,
13042 String, javax.management.openmbean.OpenType)): New method.
13043 (from(javax.management.openmbean.CompositeData)):
13045 (getLockName()): Fixed to use new variable.
13046 (getLockOwnerId()): Likewise.
13047 (getLockOwnerName()): Likewise.
13048 (getThreadId()): Likewise.
13049 (getThreadName()): Likewise.
13050 (getThreadState()): Likewise.
13051 (toString()): Refactored to use new variables.
13052 * javax/management/openmbean/ArrayType.java:
13054 * javax/management/openmbean/CompositeType.java:
13055 Variables should be transient, not volatile.
13056 * javax/management/openmbean/OpenDataException.java:
13057 (serialVersionUID): Added.
13058 * javax/management/openmbean/SimpleType.java:
13060 * javax/management/openmbean/TabularType.java
13061 Variables should be transient, not volatile.
13063 2006-07-09 Tom Tromey <tromey@redhat.com>
13065 * tools/.cvsignore: Updated for new tools.
13067 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
13069 * javax/management/openmbean/CompositeData.java,
13070 * javax/management/openmbean/CompositeType.java,
13071 * javax/management/openmbean/OpenDataException.java,
13072 * javax/management/openmbean/OpenType.java,
13073 * javax/management/openmbean/TabularData.java,
13074 * javax/management/openmbean/TabularType.java,
13075 * javax/management/openmbean/package.html:
13078 2006-07-09 Mark Wielaard <mark@klomp.org>
13080 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13081 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13082 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13084 2006-07-08 Anthony Green <green@redhat.com>
13086 * gnu/javax/sound/sampled/WAV/WAVReader.java,
13087 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
13090 2006-07-09 Mario Torre <neugens@limasoftware.net>
13092 * native/jni/gconf-peer/GConfNativePeer.c:
13093 Fixed indentation to be more compliant to the GNU coding
13095 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13096 Added explicit test for errors in the GConf backend.
13097 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13098 Added explicit test for errors in the GConf backend.
13099 Fixed Segmentation Fault when non valid key names are given as input.
13100 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13102 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13103 Added explicit test for errors in the GConf backend.
13104 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13105 Added javadoc comments for all native methods.
13106 (nodeExist): removed test to check for valid absolute path name
13108 (startWatchingNode): likewise.
13109 (stopWatchingNode): likewise.
13110 (setString): likewise, plus fixed javadoc comments.
13111 (unset): likekwise.
13112 (getKey): likewise.
13113 (getKeys): likewise, also fixed javadoc comments.
13114 (getChildrenNodes): likewise.
13115 * gnu/java/util/prefs/GConfBasedPreferences.java:
13116 changed DEFAULT_USER_ROOT to /apps/classpath.
13117 (constructor): Test to check for a valid absolute path for nodes
13118 is now in the contructor for that node, instead of being on
13119 each method of the backend.
13120 (getGConfKey): removed empty new line.
13122 2006-07-08 Mark Wielaard <mark@klomp.org>
13124 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13126 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13128 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13129 Handle the forced break in the same way as exceeding the
13130 available row space.
13131 * javax/swing/text/html/HRuleView.java: Rewritten.
13132 * javax/swing/text/html/HTMLDocument.java
13133 (HTMLReader.addSpecialElement):Reserve two characters for
13134 the special elements.
13135 * examples/gnu/classpath/examples/swing/HtmlDemo.java
13136 (text): Extended the HTML example to parse.
13138 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13140 * javax/swing/AbstractButton.java
13141 (setHorizontalAlignment): Check for illegal argument,
13142 (setVerticalAlignment): Likewise.
13144 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13146 * javax/swing/text/html/TableView.java
13147 (getStyleSheet): New method. (RowView.getStyleSheet):
13150 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13152 * javax/swing/AbstractButton.java
13153 (setRolloverIcon): Call setRolloverEnabled(true),
13154 (setRolloverSelectedIcon): Likewise.
13156 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13158 * javax/swing/border/TitledBorder.java
13159 (setTitlePosition): Added message to exception,
13160 (setTitleJustification): Likewise.
13162 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13164 * javax/swing/plaf/metal/MetalLookAndFeel.java
13165 (createDefaultTheme): Corrected API docs,
13166 (initComponentDefaults): Added entry for 'TitledBorder.border',
13167 (getCurrentTheme): Initialise theme if it is null.
13169 2006-07-07 Roman Kennke <kennke@aicas.com>
13171 * java/awt/Component.java
13172 (isValid): Return false when component has no peer,
13173 don't query the showing state.
13175 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13177 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13178 Advance the offset also in the case of the enforced break.
13180 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13182 * javax/swing/plaf/basic/BasicArrowButton.java
13183 (MAXIMUM_SIZE): Removed field,
13184 (MINIMUM_SIZE): Likewise,
13185 (PREFERRED_SIZE): Likewise,
13186 (getMaximumSize): Return new instance every time,
13187 (getMinimumSize): Likewise,
13188 (getPreferredSize): Likewise.
13190 2006-07-07 Roman Kennke <kennke@aicas.com>
13192 * java/awt/LightweightDispatcher.java
13193 (findTarget): Avoid array copying in
13194 Container.getComponents().
13196 2006-07-07 Roman Kennke <kennke@aicas.com>
13198 * javax/swing/JComponent.java
13199 (paintChildrenWithOverlap): Avoid array copying in
13200 Container.getComponents().
13201 (paintChildrenOptimized): Avoid array copying in
13202 Container.getComponents().
13203 (fireAncestorEvent): Avoid array copying in
13204 Container.getComponents().
13205 (findOverlapFreeParent): Avoid array copying in
13206 Container.getComponents().
13208 2006-07-07 Matt Wringe <mwringe@redhat.com>
13210 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13211 (passwordValid): New field.
13212 (setPassword): New method.
13213 (setSalt): Likewise.
13214 (setIterationCount): Likewise.
13215 (setKeyLength): Likewise.
13216 (PBEKeySpec(char[])): Use new setter methods.
13217 (PBEKeySpec(char[], byte[], int)): Likewise.
13218 (PBEKeySpec(char[], byte[], int, int)): Likewise.
13219 (clearPassword): Set passwordValid to false.
13220 (getPassword): Check that clearPassword() was not called earlier.
13221 Return a clone of the password.
13222 (getSalt): Return a clone of the salt if it was not null.
13224 2006-07-07 Roman Kennke <kennke@aicas.com>
13226 * java/awt/Component.java
13227 (isValid): Always return false when component is
13229 (setFont): Always set font, even when setting
13230 the same or equal font again.
13232 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
13234 * javax/swing/plaf/metal/MetalIconFactory.java
13235 (CheckBoxMenuItemIcon): Implement UIResource,
13236 (FileChooserDetailViewIcon): Likewise,
13237 (FileChooserHomeFolderIcon): Likewise,
13238 (FileChooserListViewIcon): Likewise,
13239 (FileChooserNewFolderIcon): Likewise,
13240 (FileChooserUpFolderIcon): Removed redundant 'implements',
13241 (RadioButtonMenuItemIcon): Implement UIResource,
13242 (HorizontalSliderThumbIcon): Likewise,
13243 (InternalFrameCloseIcon): Likewise,
13244 (InternalFrameDefaultMenuIcon): Likewise,
13245 (InternalFrameAltMaximizeIcon): Likewise,
13246 (InternalFrameMaximizeIcon): Likewise,
13247 (InternalFrameMinimizeIcon): Likewise,
13248 (VerticalSliderThumbIcon): Likewise,
13249 (TreeHardDriveIcon): Likewise,
13250 (TreeFloppyDriveIcon): Likewise,
13251 (TreeComputerIcon): Likewise,
13252 (horizontalSliderThumbIcon): New field,
13253 (verticalSliderThumbIcon): New field,
13254 (getHorizontalSliderThumbIcon): Cache icon,
13255 (getVerticalSliderThumbIcon): Likewise.
13257 2006-07-06 Mark Wielaard <mark@klomp.org>
13259 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13260 (DISTCLEANFILES): Add standard.omit.
13261 (clean-local): Remove Makefile.deps, only remove dirs.
13263 2006-07-06 Roman Kennke <kennke@aicas.com>
13265 * java/awt/Component.java
13266 (setFont): Only invalidate when component is valid.
13267 * java/awt/Container.java
13268 (setLayout): Only invalidate when component is valid.
13270 2006-07-06 Lillian Angel <langel@redhat.com>
13272 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13273 New class not fully implemented.
13274 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13275 New class not fully implemented.
13276 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13277 New class not fully implemented.
13278 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13279 New class not fully implemented.
13280 * nu/java/awt/peer/gtk/GtkToolkit.java:
13282 (createDragSourceContextPeer): Implemented.
13283 (createDragGestureRecognizer): New function to override
13284 java.awt.Toolkit.createDragGestureRecognizer.
13285 * java/awt/dnd/DragSource.java
13286 (NoDragGestureRecognizer): Removed inner class.
13287 (createDragGestureRecognizer): Re-Implemented to
13288 call Toolkit's createDragGestureRecognizer.
13289 (createDefaultDragGestureRecognizer): Re-Implemented to
13290 call Toolkit's createDragGestureRecognizer.
13291 * java/awt/dnd/DropTarget.java
13292 (addNotify): Added check to determine type of peer and call
13294 (removeNotify): Added call to removeDropTarget.
13296 2006-07-06 Tom Tromey <tromey@redhat.com>
13298 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13300 (run): Wait on queue, not 'this'.
13302 2006-07-06 Lillian Angel <langel@redhat.com>
13304 * java/awt/dnd/DragSource.java
13305 (startDrag): Implemented. Added comments describing
13306 what the function should do. Removed FIXME.
13308 2006-07-06 Tania Bento <tbento@redhat.com>
13310 * gnu/java/awt/Canvas.java
13311 Added new private variable 'next_canvas_number'.
13312 (generateName): Added.
13313 (getUniqueLong): Added.
13315 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13317 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13318 (getColor): Made public.
13319 * javax/swing/text/html/StyleSheet.java (stringToColor):
13320 Use CharacterAttributeTranslator.getColor(String)
13322 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13324 * javax/swing/text/html/HTMLEditorKit.java:
13325 (HTMLFactory.createElement): Update reference to the html table view.
13326 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13327 * javax/swing/text/html/TableView.java: New file.
13329 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13331 * javax/swing/text/html/HTMLEditorKit.java:
13332 (HTMLFactory.createElement): Uncomment
13333 code for BRView and HRuleView.
13334 * javax/swing/text/html/BRView.java,
13335 javax/swing/text/html/HRuleView.java: New files.
13337 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13339 * java/lang/Thread.java:
13340 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13341 Added generic type signature.
13343 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
13346 * doc/vmintegration.texinfo: Likewise.
13347 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13348 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13349 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13350 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13351 * java/lang/management/GarbageCollectorMXBean.java:
13353 * java/lang/management/ManagementFactory.java:
13354 (getGarbageCollectorMXBeans()): Implemented.
13355 (getMemoryManagerMXBeans()): Likewise.
13356 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13357 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13359 * vm/reference/java/lang/management/VMManagementFactory.java:
13360 (getMemoryManagerNames()): Added.
13361 (getGarbageCollectorNames()): Added.
13363 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
13365 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13366 from lib_LTLIBRARIES.
13367 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13369 2006-07-05 Lillian Angel <langel@redhat.com>
13371 * java/awt/dnd/DragGestureEvent.java:
13373 (DragGestureEvent): Initialized new fields, added to check and
13374 added documentation.
13375 (getSourceAsDragGestureRecognizer): Added documentation and
13376 changed to use getSource.
13377 (getComponent): Added documentation and fixed to return the proper
13379 (getDragSource): Likewise.
13380 (getDragOrigin): Added documentation.
13381 (iterator): Implemented and added documentation.
13382 (toArray): Likewise.
13383 (toArray): Likewise.
13384 (getDragAction): Likewise.
13385 (getTriggerEvent): Likewise.
13386 (startDrag): Likewise.
13387 * java/awt/dnd/DragGestureRecognizer.java
13388 (resetRecognizer): Added FIXME.
13389 * java/awt/dnd/DragSource.java:
13391 (DragSource): Set ds to be null if headless.
13392 (getDefaultDragSource): Added documentation and implemented.
13393 (isDragImageSupported): Marked as unimplemented.
13394 (startDrag): Likewise.
13395 (createDragSourceContext): Implemented.
13396 (NoDragGestureRecognizer): Formatted inner class.
13397 * java/awt/dnd/DropTarget.java
13398 (stop): Marked as unimplemented.
13399 (actionPerformed): Likewise.
13400 (addDropTargetListener): Added code to throw exception.
13401 (removeDropTargetListener): Added check, removed FIXME.
13402 (dragEnter): Implemented.
13403 (dragOver): Implemented.
13404 (dropActionChanged): Implemented.
13405 (dragExit): Implemented.
13406 (drop): Implemented.
13407 (addNotify): Implemented.
13408 (removeNotify): Implemented.
13409 (createDropTargetContext): Implemented.
13410 (createDropTargetAutoScroller): Implemented.
13411 (initializeAutoscrolling): Implemented.
13412 (updateAutoscroll): Implemented.
13413 (clearAutoscroll): Implemented.
13414 * java/awt/dnd/DropTargetContext.java
13415 (dropComplete): Implemented.
13416 (acceptDrag): Implemented.
13417 (rejectDrag): Implemented.
13418 (acceptDrop): Implemented.
13419 (rejectDrop): Implemented.
13420 (getCurrentDataFlavors): Implemented.
13421 (getTransferable): Partially implemented.
13422 * java/awt/dnd/DropTargetDragEvent.java
13423 (getDropAction): Uncommented correct code.
13424 * java/awt/dnd/DropTargetDropEvent.java
13425 (dropComplete) :Implemented.
13426 * java/awt/dnd/InvalidDnDOperationException.java
13427 (InvalidDnDOperationException): Added call to super.
13429 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
13431 * javax/swing/plaf/basic/BasicArrowButton.java:
13432 (paint): Removed getBounds() call, changed center point
13435 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13437 * javax/swing/InputMap.java
13438 (inputMap): Don't initialize yet,
13439 (InputMap): Removed TODO,
13440 (get): Check for null inputMap,
13441 (put): Return immediately for null keyStroke, check for null inputMap
13442 and initialize if necessary,
13443 (remove): Check for null inputMap,
13447 (allKeys): Likewise,
13448 (writeObject): Removed,
13449 (readObject): Removed.
13451 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
13453 * gnu/classpath/examples/swing/TabbedPaneDemo.java
13454 (createContent): Use different labels for buttons.
13456 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
13459 * doc/vmintegration.texinfo: Likewise.
13460 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13461 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13463 * java/lang/management/ManagementFactory.java:
13464 (getMemoryPoolMXBeans()): Implemented.
13465 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13466 * vm/reference/java/lang/management/VMManagementFactory.java:
13469 2006-07-04 Lillian Angel <langel@redhat.com>
13471 * java/awt/dnd/DragSourceContext.java:
13472 Removed FIXMEs from fields.
13473 (DragSourceContext): Added code to initialize cursor and sourceActions.
13474 (getDragSource): Added documentation.
13475 (getComponent): Likewise.
13476 (getTrigger): Likewise.
13477 (getSourceActions): Added documentation and implemented.
13478 (setCursor): Implemented. Added documentation.
13479 (getCursor): Implemented. Added documentation.
13480 (dragEnter): Added code to notify DragSource's listeners.
13481 (dragOver): Likewise.
13482 (dragExit): Likewise.
13483 (dropActionChanged): Likewise.
13484 (dragDropEnd): Likewise.
13485 (dragMouseMoved): Implemented.
13486 (getTransferable): Added API documentation.
13487 (updateCurrentCursor): Added API documentation and partially implemented.
13489 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13491 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13493 2006-07-04 Lillian Angel <langel@redhat.com>
13495 * java/awt/dnd/DragSourceContext.java
13496 (DragSourceContext): Implemented fully. Fixed API docs.
13497 (transferablesFlavorsChanged): Implemented.
13498 (dragEnter): Implemented.
13499 (dragOver): Implemented.
13500 (dragExit): Implemented.
13501 (dropActionChanged): Implemented.
13502 (dragDropEnd): Implemented.
13504 2006-07-04 Lillian Angel <langel@redhat.com>
13506 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13507 Fixed name of constant.
13508 (getIconWidth): Changed name of constant returned.
13509 (getIconHeight): Likewise.
13511 (createSeparator): Marked as unimplemented.
13512 * javax/swing/plaf/basic/BasicTableUI.java
13513 (focusGained): Marked as unimplemented.
13514 (focusLost): Marked as unimplemented.
13515 (mouseEntered): Likewise.
13516 (mouseMoved): Likewise.
13517 (uninstallDefaults): Likewise.
13518 * javax/swing/plaf/basic/BasicToolBarUI.java
13519 (mouseClicked): Changed comment.
13520 (mouseEntered): Likewise.
13521 (mouseExited): Likewise.
13522 (mouseMoved): Likewise.
13523 (setOrientation): Implemented.
13524 (ToolBarFocusListener): Marked as unimplemented.
13525 (focusGained): Marked as unimplemented.
13526 (focusLost): Marked as unimplemented.
13528 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13531 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13532 Mind the effect of the root visibility on the position of the control.
13533 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13534 vertical line over first level nodes.
13536 2006-07-04 Lillian Angel <langel@redhat.com>
13538 * javax/swing/plaf/basic/BasicMenuUI.java
13539 (installKeyboardActions): Implemented to call super. Nothing else
13540 needs to be done here.
13541 (setupPostTimer): Marked as unimplemented.
13542 (uninstallKeyboardActions): Implemented to call super. Nothing else
13543 needs to be done here.
13544 (mouseMoved): Removed TODO. Nothing to be done here.
13545 (ChangeHandler): Implemented.
13546 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13547 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13548 (menuKeyReleased): Removed TODO. Nothing to be done here.
13549 (menuKeyTyped): Marked as unimplemented.
13551 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13554 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13555 (getDefaults): Set hash color to black.
13556 * javax/swing/plaf/basic/BasicLookAndFeel.java
13557 (initComponentDefaults): Set hash color to grey blue.
13558 * javax/swing/plaf/basic/BasicTreeUI.java
13559 (instellDefaults): Set hash color.
13560 * javax/swing/plaf/metal/MetalIconFactory.java
13561 (TreeControlIcon.paint): Rewritten.
13563 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13566 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13567 Always cancel the current editing session before doing anything else,
13568 return immediately if this fails.
13569 (TreeHomeAction): Ensure that the lead selection path is visible after
13570 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13571 Likewise. TreeTraverseAction: Likewise.
13573 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13576 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13577 Returned back the code to handle the start of the click-pause-click
13578 editing initiation, explained about this code.
13579 (TreeStartEditingAction): New inner class.
13580 (stopEditingInCompleteEditing): Explained about this field.
13581 (completeEditing(boolean, boolean, boolean): Only return early
13582 if there is no current editing session.
13583 (createDefaultActions): Install TreeStartEditingAction and
13584 TreeCancelEditingAction.
13586 2006-07-04 Mario Torre <neugens@limasoftware.net>
13588 * configure.ac: Added new option --enable-default-preferences-peer
13589 to pass user specified default preference backend.
13590 If the GConf peer is built, GConf become the default backend.
13591 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13593 * lib/Makefile.am: excludes files terminating in 'in' from
13594 the metafiles list.
13595 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13596 from copy into META-INF.
13597 * java/util/prefs/Preferences.java: added two new import
13598 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13599 (getFactory): Now try to check for
13600 a system defined default preference backend before to fall back on
13601 FileBasedPreference.
13603 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13606 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13607 (EXPANDED): Initialise to Boolean.TRUE.
13608 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13609 First configure layout cache and then set the assigned value
13610 as row mapper. Set the root visibility property.
13611 (toggleExpandState): Obtains expansion state from the layout cache.
13613 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13615 * java/lang/management/MemoryPoolMXBean.java:
13618 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13620 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13622 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13624 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13625 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13626 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13627 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13628 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13629 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13630 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13631 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13632 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13633 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13634 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13635 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13636 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13637 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13638 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13639 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13640 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13641 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13642 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13643 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13644 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13645 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13646 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13647 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13648 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13649 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13650 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13651 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13652 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13653 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13654 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13655 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13656 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13657 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13658 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13659 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13660 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13661 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13662 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13663 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13664 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13665 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13666 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13667 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13668 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13669 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13670 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13672 2006-07-02 Anthony Green <green@redhat.com>
13674 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13675 sure that every track written ends with an End Of Track meta
13678 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13680 * java/lang/management/MemoryUsage.java:
13681 (toString()): Fix missing MB for maximum memory usage.
13683 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13686 Updated to include VMCompilationMXBeanImpl.
13687 * doc/vmintegration.texinfo:
13688 Likewise, along with update to VMMemoryMXBeanImpl
13690 * examples/gnu/classpath/examples/management/TestCompilation.java,
13691 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13692 * java/lang/management/CompilationMXBeanImpl.java:
13694 * java/lang/management/ManagementFactory.java:
13695 (getCompilationMXBean()): Implemented.
13696 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13698 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13699 (getHeapMemoryUsage()): Added default implementation.
13701 2006-07-02 Anthony Green <green@redhat.com>
13703 * NEWS: Mention MIDI file reader/writer providers.
13705 2006-07-02 Anthony Green <green@redhat.com>
13707 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13708 gnu/javax/sound/midi/file/MidiFileWriter.java,
13709 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13711 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13714 Updated to include VMMemoryMXBeanImpl.
13715 * doc/vmintegration.texinfo: Likewise.
13716 * examples/gnu/classpath/examples/management/TestMemory.java:
13718 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13719 Remove redundant import.
13720 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13722 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13723 Remove redundant import.
13724 * java/lang/management/ManagementFactory.java:
13725 (getMemoryMXBean()): Implemented.
13726 * java/lang/management/MemoryMXBean.java,
13727 * java/lang/management/MemoryUsage.java:
13729 * java/lang/management/ThreadInfo.java:
13730 (toString()): Updated documentation.
13731 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13734 2006-07-01 Anthony Green <green@redhat.com>
13736 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13737 gnu/javax/sound/midi/file/MidiFileReader.java,
13738 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13739 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13741 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13743 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13744 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13745 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13746 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13747 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13748 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13749 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13751 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13753 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13754 * gnu/javax/crypto/pad/IPad.java: Likewise.
13755 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13756 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13757 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13758 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13759 * gnu/javax/crypto/pad/TBC.java: Likewise.
13760 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13761 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13763 2006-07-01 Anthony Green <green@redhat.com>
13765 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13767 (setMessage): Fix it again, in a different setMessage method.
13769 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13771 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13772 * gnu/javax/crypto/mode/CBC.java: Likewise.
13773 * gnu/javax/crypto/mode/CFB.java: Likewise.
13774 * gnu/javax/crypto/mode/CTR.java: Likewise.
13775 * gnu/javax/crypto/mode/EAX.java: Likewise.
13776 * gnu/javax/crypto/mode/ECB.java: Likewise.
13777 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13778 * gnu/javax/crypto/mode/ICM.java: Likewise.
13779 * gnu/javax/crypto/mode/IMode.java: Likewise.
13780 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13781 * gnu/javax/crypto/mode/OFB.java: Likewise.
13783 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13785 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13786 * gnu/javax/crypto/mac/HMac.java: Likewise.
13787 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13788 * gnu/javax/crypto/mac/IMac.java: Likewise.
13789 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13790 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13791 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13792 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13793 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13794 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13795 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13797 2006-07-01 Anthony Green <green@redhat.com>
13799 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13801 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13803 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13804 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13805 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13806 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13807 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13808 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13809 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13810 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13811 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13812 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13813 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13814 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13815 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13816 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13817 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13818 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13819 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13820 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13821 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13822 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13823 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13824 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13825 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13826 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13828 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13830 * javax/swing/AbstractCellEditor.java: Source code formatting,
13831 * javax/swing/AbstractSpinnerModel.java: Likewise,
13832 * javax/swing/Box.java: Likewise,
13833 * javax/swing/BoxLayout.java: Likewise,
13834 * javax/swing/DefaultListModel.java: Likewise,
13835 * javax/swing/GrayFilter.java: Likewise,
13836 * javax/swing/LookAndFeel.java: Likewise,
13837 * javax/swing/ProgressMonitor.java: Likewise,
13838 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13839 * javax/swing/ScrollPaneLayout.java: Likewise,
13840 * javax/swing/SpringLayout.java: Likewise,
13841 * javax/swing/event/EventListenerList.java: Likewise,
13842 * javax/swing/event/MenuEvent.java: Likewise,
13843 * javax/swing/event/TreeExpansionListener.java: Likewise.
13845 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13848 Mention threading bean and getState().
13849 * doc/vmintegration.texinfo:
13850 Update documentation for threading bean and new
13851 method of VMThread.
13853 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13855 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13856 * examples/gnu/classpath/examples/management/TestOS.java,
13857 * examples/gnu/classpath/examples/management/TestRuntime.java,
13858 * examples/gnu/classpath/examples/management/TestThread.java:
13861 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13863 * java/lang/ThreadGroup.java
13864 (getThreadFromId, getThreadFromIdImpl): New methods.
13866 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13868 * java/lang/Thread.java:
13869 Make thread IDs start from 1 in a more efficient way.
13871 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13873 * java/lang/Thread.java:
13874 Make thread IDs start from 1.
13876 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13878 * gnu/java/lang/management/BeanImpl.java:
13879 New superclass for all bean implementations.
13880 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13881 Extend BeanImpl and call permission code there.
13882 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13884 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13885 Extend BeanImpl and call permission code there.
13886 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13888 * java/lang/management/ManagementFactory.java:
13889 (getThreadMXBean()): Implemented.
13890 * java/lang/management/ThreadInfo.java:
13891 (ThreadInfo(Thread,int)): Replaced...
13892 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13893 boolean, boolean, StackTraceElement[])): with this.
13894 (getBlockedCount()): Refactored to use local variables.
13895 (getBlockedTime()): Likewise.
13896 (getLockName()): Likewise.
13897 (getLockOwnerId()): Likewise.
13898 (getLockOwnerName()): Likewise.
13899 (getStackTrace()): Likewise.
13900 (getWaitedCount()): Likewise.
13901 (getWaitedTime()): Likewise.
13902 (isInNative()): Likewise.
13903 (isSuspended()): Likewise.
13904 (toString()): Changed to use new local variables.
13905 * java/lang/management/ThreadMXBean.java:
13906 (getThreadInfo(long, int)): Corrected documentation.
13907 (getThreadInfo(long[], int)): Likewise.
13908 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13910 * vm/reference/java/lang/management/VMThreadInfo.java:
13913 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13915 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13916 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13917 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13918 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13919 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13920 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13921 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13922 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13923 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13924 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13925 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13926 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13927 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13928 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13929 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13930 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13931 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13932 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13933 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13934 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13935 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13936 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13937 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13938 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13939 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13940 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13941 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13942 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13943 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13944 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13945 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13946 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13948 2006-07-01 Roman Kennke <kennke@aicas.com>
13950 * gnu/java/awt/java2d/AbstractGraphics2D.java
13951 (transform): Make field protected.
13952 (getDestinationRaster): Provide default implementation for
13953 previously abstract method.
13955 2006-06-30 Tania Bento <tbento@redhat.com>
13957 * java/awt/TextArea.java
13958 (TextArea(String, int, int, int)): No longer throws
13959 IllegalArgumentException if rows, columns, or scrollbarVisibility
13960 values are invalid.
13961 (TextArea(String, int, int, int)): If rows or columns are < 0,
13962 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13963 gets set to the default value of 0 (SCROLLBARS_BOTH).
13964 (appendText): Added case when peer = null.
13965 (insertText): Added case when peer == null.
13966 (replaceText): Added case when peer == null.
13967 * java/awt/TextComponent.java
13968 (TextComponent(String)): If text == null, set it to "".
13970 2006-06-30 Lillian Angel <langel@redhat.com>
13972 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13973 (create): Added synchronized block around groupMap.get calls.
13974 (setCheckboxGroup): Likewise.
13976 2006-06-30 Lillian Angel <langel@redhat.com>
13978 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13979 (create): Changed to be non-synchronized.
13980 (setLabel): Likewise.
13981 (setCheckboxGroup): Likewise.
13982 (addToGroupMap): Likewise. Added synchronized block around
13984 (dispose): Changed to be non-synchronized.
13986 2006-06-30 Lillian Angel <langel@redhat.com>
13988 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13989 Changed all return values of native functions to void.
13990 (create): Changed function to be synchronized. Removed
13991 call to put value in groupMap, this is now done from
13993 (setState): Changed function to be synchronized.
13994 (setLabel): Changed function to be synchronized.
13995 (setCheckboxGroup): Changed function to be synchronized. Removed
13996 call to put value in groupMap, this is now done from
13998 (postItemEvent): Changed function to be synchronized.
13999 (addToGroupMap): New function. Called by native code to add
14000 new value to the group.
14001 (dispose): Changed function to be synchronized.
14002 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
14004 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14005 (cp_gtk_checkbox_init_jni): Added code to link to
14007 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14008 Changed return value to void. Added call
14009 to java function to set pointer in groupMap.
14010 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
14011 changed check to an assert. Also, removed call to set/del pointer.
14012 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
14013 Likewise. Also, added check to determine if native_group should be
14015 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
14017 2006-06-30 Sven de Marothy <sven@physto.se>
14019 * gnu/java/awt/ClasspathToolkit.java,
14020 * gnu/java/awt/peer/x/XToolkit.java,
14021 * gnu/java/awt/peer/qt/QtToolkit.java,
14022 * gnu/java/awt/peer/gtk/GtkToolkit.java,
14023 Remove ClasspathTextLayoutPeer.
14024 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
14025 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
14028 2006-06-30 Sven de Marothy <sven@physto.se>
14030 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
14031 (drawGlyphVector): Don't draw empty vectors.
14033 2006-06-30 Lillian Angel <langel@redhat.com>
14034 Tom Fitzsimmons <fitzsim@redhat.com>
14036 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
14037 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14038 Added current_group, groupMap fields. Added definitions for
14039 new native functions.
14040 (create): Removed FIXME. Added code to create the check button or
14041 radio button when appropriate. Updated groupMap to contain
14042 pointer to the newly created group.
14043 (setCheckboxGroup): Added code to handle all cases. Removing
14044 a button from a group, adding a button to a group, or changing the
14046 (dispose): Changed to call super.
14047 * include/Makefile.am: Removed reference to
14048 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14049 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14050 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14052 * native/jni/gtk-peer/Makefile.am: Removed reference to
14053 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14057 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
14058 Renamed to checkbox_get_widget.
14059 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
14060 Changed to use checkbox_get_widget.
14061 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
14063 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14064 Changed to use checkbox_get_widget.
14065 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14067 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14068 New function. Creates checkbutton without a group.
14069 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14070 Creates a radio button in a group, using groupPointer. If groupPointer
14071 is 0, then a new group is created.
14072 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14073 check button to a group, using groupPointer. A radio button is created
14074 in its place. If groupPointer is 0, then a new group is created.
14075 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14076 radio button is removed from the group. A check button is created in
14078 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14079 radio button is moved to a new group.
14081 2006-06-30 Mark Wielaard <mark@klomp.org>
14083 * configure.ac: Move standard.omit creation after dirs are created.
14084 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14085 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14086 (clean-local): Remove standard.omit.
14087 * lib/gen-classlist.sh.in: Use omit file in build dir.
14088 * lib/standard.omit.in: Make exclude regex more explicit.
14090 2006-06-30 Roman Kennke <kennke@aicas.com>
14092 * lib/Makefile.am: Added Escher dir/jar to classpath when
14094 * configure.ac: Moved handling of standard.omit to a place
14095 where it actually gets executed.
14097 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
14099 * java/awt/TextComponent.java: Reformatted source code,
14100 * java/awt/TextField.java: Likewise.
14102 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
14104 * java/lang/Thread.java:
14105 (getState()): Handle case of no VMThread
14108 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
14110 * java/lang/Thread.java,
14111 * java/lang/VMThread.java:
14112 Reverted patch from 2006-06-28.
14114 2006-06-29 Roman Kennke <kennke@aicas.com>
14116 * gnu/java/awt/peer/x/GLGraphics.java,
14117 * gnu/java/awt/peer/x/ImageConverter.java,
14118 * gnu/java/awt/peer/x/KeyboardMapping.java,
14119 * gnu/java/awt/peer/x/XEventPump.java,
14120 * gnu/java/awt/peer/x/XFontPeer.java,
14121 * gnu/java/awt/peer/x/XFontPeer2.java,
14122 * gnu/java/awt/peer/x/XFramePeer.java,
14123 * gnu/java/awt/peer/x/XGraphics.java,
14124 * gnu/java/awt/peer/x/XGraphics2D.java,
14125 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14126 * gnu/java/awt/peer/x/XGraphicsDevice.java,
14127 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14128 * gnu/java/awt/peer/x/XImage.java,
14129 * gnu/java/awt/peer/x/XLightweightPeer.java,
14130 * gnu/java/awt/peer/x/XToolkit.java,
14131 * gnu/java/awt/peer/x/XWindowPeer.java,
14132 * gnu/java/awt/peer/x/fonts.properties: New files.
14133 * lib/standard.omit: Removed.
14134 * lib/standard.omit.in: Added.
14135 * configure.ac: Added configure option --with-escher. Added some
14136 configury for omitting gnu.java.awt.peer.x package when
14137 this option is not specified.
14139 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
14141 * javax/swing/JComponent.java
14142 (JComponent()): Initialize the locale here, not the default locale,
14143 (getDefaultLocale): If null, return Locale.getDefault(),
14144 (setDefaultLocale): Added API docs.
14146 2006-06-29 Tania Bento <tbento@redhat.com>
14148 * java/awt/Container.java
14149 (applyComponentOrientation): Implemented method.
14151 2006-06-29 Gary Benson <gbenson@redhat.com>
14153 * java/io/File.java (listRoots): Merge security checks from libgcj.
14155 2006-06-29 Gary Benson <gbenson@redhat.com>
14157 * java/io/FilePermission.java (implies): Work when path is "/".
14159 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
14161 * java/lang/Thread.java:
14162 (Thread(ThreadGroup,Runnable,String,long)): Update
14164 (Thread(VMThread,String,int,boolean)): Likewise.
14165 (join(long,int)): Likewise.
14166 (resume()): Likewise.
14167 (sleep(long,int)): Likewise.
14168 (start()): Likewise.
14169 (stop()): Likewise.
14170 (suspend()): Likewise.
14172 (getState()): Return either state or use VMThread.
14173 * java/lang/VMThread.java:
14174 (getState()): Added default implementation to return
14177 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
14179 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14180 GdkPixbuf correctly on big endian systems. Fix a typo in the little
14181 endian swapping code.
14183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14184 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14185 without alpha information correctly on big endian systems.
14187 2006-06-28 Roman Kennke <kennke@aicas.com>
14189 * gnu/java/net/local/LocalSocket.java
14190 (setSoTimeout): Don't throw exception and ignore request.
14191 (getSoTimeout): Don't throw exception and always return 0.
14193 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14195 * javax/swing/JComponent.java
14196 (getRegisteredKeyStrokes): Implemented.
14198 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14200 * javax/swing/JComponent.java
14201 (verifyInputWhenFocusTarget): Initialise to true.
14203 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14205 * java/beans/VetoableChangeSupport.java
14206 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14208 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14209 for null property name and/or listener,
14210 * javax/swing/JComponent.java
14211 (getListeners): Handle VetoableChangeListener.class as a special case,
14212 (getVetoableChangeListeners): Fetch these from the
14213 vetoableChangeSupport object.
14215 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14217 * javax/swing/JComponent.java
14218 (componentPopupMenu): New field,
14219 (inheritsPopupMenu): New field,
14220 (getInheritsPopupMenu): Implemented,
14221 (setInheritsPopupMenu): Likewise,
14222 (getComponentPopupMenu): Likewise,
14223 (setComponentPopupMenu): Likewise,
14224 * javax/swing/JLabel.java
14225 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14227 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
14229 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14230 (toString): New method.
14231 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14232 (toString): New method.
14233 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14234 (toString): New method.
14235 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14236 Handle case when Q is null.
14237 (decodePrivateKey): Likewise.
14238 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14240 (decodePublicKey): Likewise.
14241 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14242 aliases for all block ciphers.
14243 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14244 (engineDoPhase): Compute fully the shared secret.
14245 (checkState): New method.
14247 (engineGenerateSecret()): Reset key-agreement before returning.
14248 (engineGenerateSecret(byte[],int)): Check for short-buffer.
14249 Reset key-agreement before returning.
14250 (engineGenerateSecret(String)): Reset key-agreement before returning.
14251 (engineInit(Key,SecureRandom)): Call reset() before returning.
14252 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14253 (engineInit): Replace printing to System.out with conditional logging.
14254 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14255 When the key-size is not specified, attempt best effort to find a suitable
14256 value among those advertised by the cipher before setting it to the length
14257 of provided key material.
14259 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
14261 * javax/swing/table/DefaultTableColumnModel.java
14262 (changeEvent): Don't initialize yet, removed FIXME,
14263 (fireColumnModelChanged): Initialize changeEvent if necessary.
14265 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14267 * java/lang/Thread.java:
14268 (getAllStackTraces()): Implemented.
14269 (getStackTrace()): Likewise.
14271 2006-06-27 Tania Bento <tbento@redhat.com>
14273 * java/awt/Component.java
14274 (setComponentOrientation): NPE should not be thrown.
14276 2006-06-27 Tom Tromey <tromey@redhat.com>
14278 * configure.ac: Create gjar, gnative2ascii, gserialver.
14279 * tools/gappletviewer.in: Quote $@.
14280 * tools/gkeytool.in: Likewise.
14281 * tools/gjarsigner.in: Likewise.
14282 * tools/gjar.in: New file.
14283 * tools/gnative2ascii.in: Likewise.
14284 * tools/gserialver.in: Likewise.
14285 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14287 (bin_SCRIPTS): Likewise.
14289 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14291 * java/lang/management/ThreadMXBean.java:
14292 (getThreadInfo(long[])): Corrected return type.
14293 (getThreadInfo(long[], int)): Likewise.
14295 2006-06-27 Mark Wielaard <mark@klomp.org>
14297 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14298 nothing when listener is null.
14299 (removeFlavorListener): Likewise.
14301 * java/awt/datatransfer/DataFlavor.java
14302 (getRepresentationClassFromMime): Renamed to
14303 getRepresentationClassFromMimeThrows.
14304 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14305 (isRepresentationClassSerializable): Likewise.
14306 (isFlavorJavaFileListType): Likewise and check primary and
14308 (getParameter): Parameters are separated by semi-colons.
14309 (DataFlavor(Class,String,String)): Do some sanity checks.
14310 (DataFlavor(String,String,ClassLoader)): Call
14311 getRepresentationClassFromMimeThrows.
14312 (DataFlavor(String)): Likewise.
14313 (equals(DataFlavor)): Special case primary type text and charset
14316 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14318 * java/awt/Component.java
14319 (setName): Fire required PropertyChangeEvent,
14320 * java/awt/Label.java
14321 (getText): Removed redundant brackets,
14322 (generateName): New method (override),
14323 (nextLabelNumber): New field,
14324 (getUniqueLong): New method.
14326 2006-06-27 Roman Kennke <kennke@aicas.com>
14328 * gnu/java/awt/peer/swing/SwingComponentPeer.java
14329 (createImage): Delegate this to the parent.
14330 (handleEvent): Only handle PAINT/UPDATE events when the
14331 component is actually showing.
14332 (hide): Repaint the parent after hiding a component.
14333 (prepareImage): Have only one return point.
14334 (setVisible): Delegate to show() and hide().
14335 (createVolatileImage): Added null check to avoid NPE.
14337 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14339 * java/awt/Label.java: Reformatted source code.
14341 2006-06-27 Roman Kennke <kennke@aicas.com>
14343 * java/awt/image/BufferedImage.java
14344 (getSource): Use a fixed DirectColorModel to deliver the
14345 RGB pixels to the ImageConsumer.
14347 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14349 * java/awt/Point.java
14350 (setLocation(double, double)): Round to nearest integer coordinates.
14352 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
14354 * java/awt/Component.java
14355 (minSizeSet): New field,
14356 (maxSize): Likewise,
14357 (maxSizeSet): Likewise,
14358 (isMaximumSizeSet): Implemented,
14359 (isMinimumSizeSet): Likewise,
14360 (isPreferredSizeSet): Likewise,
14361 (setMaximumSize): Likewise,
14362 (setMinimumSize): Likewise,
14363 (setPreferredSize): Likewise.
14365 2006-06-27 Roman Kennke <kennke@aicas.com>
14367 * javax/imageio/spi/IIORegistry.java
14368 (IIORegistry): Added BMP codec.
14370 2006-06-27 Mark Wielaard <mark@klomp.org>
14372 * javax/swing/JComponent.java
14373 (firePropertyChange(String,char,char)): New override method.
14375 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14377 * java/lang/Thread.java:
14378 (getState()): New method.
14379 * java/lang/management/ClassLoadingMXBean.java:
14380 Corrected class documentation.
14381 * java/lang/management/ManagementFactory.java:
14382 Added new temporary marked stub to get thread bean.
14383 * java/lang/management/OperatingSystemMXBean.java:
14384 Corrected class documentation.
14385 * java/lang/management/RuntimeMXBean.java:
14386 Corrected class documentation.
14387 * java/lang/management/ThreadInfo.java,
14388 * java/lang/management/ThreadMXBean.java:
14390 * vm/reference/java/lang/VMThread.java:
14391 (getState()): New method.
14392 * vm/reference/java/lang/management/VMThreadInfo.java:
14395 2006-06-26 Sven de Marothy <sven@physto.se>
14397 * gnu/javax/imageio/gif/GIFFile.java
14398 * gnu/javax/imageio/gif/GIFImageReader.java
14399 * gnu/javax/imageio/gif/GIFImageSpi.java
14400 * gnu/javax/imageio/gif/GIFStream.java
14402 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14404 2006-06-26 Tania Bento <tbento@redhat.com>
14406 * java/awt/List.java
14407 (List): A list should have at least 4 visible rows.
14408 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14409 not an IllegalArgumentException.
14410 (makeVisible): Should not throw an IllegalArgumentException if
14411 the specified index is out of range.
14413 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14415 * javax/swing/JList.java
14416 (getNextMatch): Reimplemented to perform a circular search for the
14419 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14421 * javax/swing/JList.java
14422 (init): Set default value for visibleRowCount to 8,
14423 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14425 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14427 * javax/swing/JList.java
14428 (valueIsAdjusting): Removed,
14429 (init): Removed initialization of valueIsAdjusting field,
14430 (getValueIsAdjusting): Fetch value from selection model,
14431 (setValueIsAdjusting): Store value in selection model.
14433 2006-06-26 Roman Kennke <kennke@aicas.com>
14435 * javax/swing/plaf/basic/BasicListUI.java
14436 (installKeyboardActions): Rewritten to fit with the
14437 ActionMap/InputMap architecture.
14438 (uninstallKeyboardActions): Implemented.
14439 (ListAction): Made private. Added TODO for splitting
14440 up this bulk Action.
14441 (ListAction.ListAction): New constructor. This one
14442 takes a cmd parameter to be installed as actionCommand.
14444 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14446 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14447 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14449 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
14451 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14452 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14453 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14454 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14455 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14456 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14457 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14458 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14459 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14460 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14461 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14462 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14463 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14464 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14465 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14466 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14467 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14468 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14469 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14470 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14471 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14472 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14473 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14474 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14475 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14476 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14477 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14478 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14479 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14480 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14481 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14482 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14483 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14484 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14485 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14486 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14487 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14488 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14489 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14490 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14491 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14492 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14493 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14494 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14495 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14496 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14497 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14498 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14499 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14500 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14501 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14502 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14503 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14504 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14505 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14506 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14507 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14508 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14509 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14510 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14511 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14512 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14513 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14514 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14515 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14516 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14517 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14518 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14519 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14520 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14521 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14522 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14523 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14524 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14525 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14526 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14527 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14528 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14529 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14530 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14531 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14532 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14534 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14536 * javax/swing/JList.java
14537 (setLayoutOrientation): Check for valid argument.
14539 2006-06-26 Roman Kennke <kennke@aicas.com>
14541 * javax/swing/JComponent.java
14542 (firePropertyChange(String,int,int)): New method. Overrides
14543 Component method and makes it public.
14544 (firePropertyChange(String,boolean,boolean)): Likewise.
14546 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14548 * gnu/java/security/.cvsignore: New File.
14549 * gnu/java/security/Configuration.java.in: New File.
14550 * gnu/java/security/Properties.java: Change import from
14551 gnu.classpath.Configuration to gnu.java.security.Configuration.
14552 * gnu/java/security/hash/Whirlpool.java: Likewise.
14553 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14554 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14555 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14556 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14557 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14558 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14559 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14560 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14561 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14562 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14563 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14564 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14565 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14566 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14567 * gnu/java/security/util/Base64.java: Likewise.
14568 * gnu/java/security/x509/X509CRL.java: Likewise.
14569 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14570 * gnu/java/security/x509/ext/Extension.java: Likewise.
14571 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14572 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14573 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14574 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14575 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14576 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14577 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14578 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14579 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14580 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14581 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14582 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14583 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14584 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14585 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14586 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14587 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14588 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14589 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14590 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14591 * gnu/javax/crypto/pad/TBC.java: Likewise.
14592 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14593 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14594 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14595 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14596 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14597 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14598 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14599 * gnu/javax/security/auth/login/GnuConfiguration.java
14600 (getAppConfigurationEntry): Change reference to
14601 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14602 (getConfigFromUserHome): Likewise.
14603 (getInputStreamFromURL): Likewise.
14604 (getUserHome): Likewise.
14606 (processSecurityProperties): Likewise.
14607 (processSystemProperty): Likewise.
14608 (processUserHome): Likewise.
14609 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14610 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14613 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14615 * javax/swing/text/DefaultCaret.java (isActive): New method.
14617 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14619 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14620 * java/lang/management/ClassLoadingMXBean.java:
14621 (getTotalLoadedClassCount()): Corrected return type.
14622 (getUnloadedClassCount()): Likewise.
14623 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14624 (getUnloadedClassCount()): Likewise.
14626 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14628 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14629 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14630 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14631 * gnu/javax/crypto/cipher/Square.java: Likewise.
14632 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14633 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14634 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14635 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14636 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14637 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14638 * gnu/javax/crypto/cipher/DES.java: Likewise.
14639 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14640 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14641 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14642 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14643 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14645 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14647 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14648 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14649 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14650 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14651 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14652 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14653 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14654 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14655 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14656 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14657 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14658 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14659 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14661 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14664 * doc/vmintegration.texinfo:
14665 Updated with information on new VM interface.
14666 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14667 * java/lang/management/ClassLoadingMXBean.java:
14668 New files implementing the class loading bean.
14669 * java/lang/management/ManagementFactory.java:
14670 (getClassLoadingMXBean()): Implemented.
14671 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14672 New VM interface file.
14674 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14676 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14677 (isBootClassPathSupported()): Use SystemProperties
14678 rather than System.getProperty.
14680 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14682 * gnu/java/security/Properties.java: Source formatting.
14683 * gnu/java/security/Registry.java: Likewise.
14685 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14687 * gnu/java/security/util/Util.java: Source formatting.
14688 * gnu/java/security/util/SimpleList.java: Likewise.
14689 * gnu/java/security/util/Sequence.java: Likewise.
14690 * gnu/java/security/util/PRNG.java: Likewise.
14691 * gnu/java/security/util/ExpirableObject.java: Likewise.
14692 * gnu/java/security/util/Base64.java: Likewise.
14693 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14694 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14695 * gnu/java/security/sig/ISignature.java: Likewise.
14696 * gnu/java/security/sig/BaseSignature.java: Likewise.
14697 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14698 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14699 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14700 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14701 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14702 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14703 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14704 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14705 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14706 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14707 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14708 * gnu/java/security/provider/Gnu.java: Likewise.
14709 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14710 * gnu/java/security/prng/RandomEvent.java: Likewise.
14711 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14712 * gnu/java/security/prng/MDGenerator.java: Likewise.
14713 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14714 * gnu/java/security/prng/IRandom.java: Likewise.
14715 * gnu/java/security/prng/EntropySource.java: Likewise.
14716 * gnu/java/security/prng/BasePRNG.java: Likewise.
14718 2006-06-23 Francis Kung <fkung@redhat.com>
14720 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14721 (Harness.actionPerformed): Process additional options.
14722 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14723 (J2dBenchmarkWrapper.setAlias): New method.
14724 (J2dBenchmarkWrapper.setComposite): New method.
14725 (J2dBenchmarkWrapper.setFill): New method.
14726 (J2dBenchmarkWrapper.setRotation): New method.
14727 (J2dBenchmarkWrapper.setShear): New method.
14728 (J2dBenchmarkWrapper.setStroke): New method.
14729 (J2dBenchmarkWrapper.setTranslation): New method.
14730 (run): Add additional options to GUI.
14731 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14732 Added protected fields for various options.
14733 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14734 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14735 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14736 (getNextColor): Renamed to setRandom.
14737 (init): Load additional image for texturing if needed.
14738 (loadBufferedImage): New method.
14739 (main): Accept additional command-line switches.
14740 (prepareGraphics): New method.
14741 (resetGraphics): New method.
14742 (runTestSuite): Accept additional image-processing options.
14743 (setRandom): Renamed from getNextColor; generate various random options
14744 (test_drawArc): Rename getNextColor to setRandom.
14745 (test_drawCubic): Likewise.
14746 (test_drawEllipse): Likewise.
14747 (test_drawGeneralPath): Likewise.
14748 (test_drawImage): Likewise.
14749 (test_drawLine): Likewise.
14750 (test_drawQuadCurve): Likewise.
14751 (test_drawRectangle): Likewise.
14752 (test_drawRoundRectangle): Likewise.
14753 (test_drawTransparentImage): Likewise.
14754 (test_fillArc): Rename getNextColor to setRandom.
14755 (test_fillEllipse): Likewise.
14756 (test_fillGeneralPath): Likewise.
14757 (test_fillRectangle): Likewise.
14758 (test_fillRoundRectangle): Likewise.
14759 (TestRecorder.getAverage): Round the average time.
14761 2006-06-23 Tom Tromey <tromey@redhat.com>
14763 * java/util/logging/LoggingMXBean.java: New file.
14764 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14765 (loggingBean): New field.
14766 (getLoggingMXBean): New method.
14768 2006-06-23 Tania Bento <tbento@redhat.com>
14770 * java/awt/TextField.java
14771 (TextField): Default number of columns should be 0, not 1.
14772 (TextField): Check if number of columns given as argument
14773 is valid (>= 0) and set the number of columns accordingly.
14774 (TextField): Check if the string passed is null. If it is,
14775 set columns to 0, else columns is set to the length of
14778 2006-06-23 Roman Kennke <kennke@aicas.com>
14780 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14781 (InternalFramePropertyChangeListener.propertyChange):
14782 Don't call getPropertyName() repeatedly. Added null checks
14783 to avoid NPEs. Call closeFrame() if the closed property
14786 2006-06-23 Roman Kennke <kennke@aicas.com>
14788 * javax/swing/JInternalFrame.java
14789 (maxTransition): Removed.
14790 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14791 Don't initialize storedBounds here.
14792 (dipose): Rewritten to correctly dispose the JInternalFrame.
14793 (getDesktopIcon): Don't initialize desktopIcon here.
14794 (getLayer): Delegate to JLayeredPane.getLayer().
14795 (getNormalBounds): Return bounds when storedBounds == null,
14796 otherwise storedBounds.
14797 (hide): Don't change selection. Also hide the desktopIcon.
14798 (moveToBack): Call getParent() only once.
14799 (moveToFront): Call getParent() only once.
14800 (pack): Call validate() to make sure that the layout is
14801 propagated to the children.
14802 (setClosed): Fire InternalFrameEvent first, before the
14804 (setJMenuBar): Fire PropertyChangeEvent for this property.
14805 (setLayer): Delegate to JLayeredPane.
14806 (setLayeredPane): Check for null and throw IllegalArgumenException.
14807 (setMaximum): Remove handling of maxTransition and normalBounds.
14808 Should probably be done in the UI.
14809 (setNormalBounds): Store Rectangle object directly, not a copy.
14810 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14811 adding the RootPane doesn't add it to the contentPane.
14812 Fire PropertyChangeEvent.
14813 (setSelected): Added condition for when this property must not
14815 (show): Don't ask the DesktopPane to select the frame. Moved
14816 code around to fire InternalFrameEvent before actually calling
14817 super.show(). Also make the desktopIcon visible.
14818 (setTitle): Fire PropertyChangeEvent unconditionally.
14820 2006-06-23 Roman Kennke <kennke@aicas.com>
14822 * javax/swing/JLayeredPane.java
14823 (getPosition): Moved code around to avoid unnecessary method calls.
14824 (setPosition): Delegate to setLayer().
14825 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14826 (insertIndexForLayer(Component,int,int)): New helper method
14827 to support the use of setComponentZOrder() which doesn't remove
14828 the component and thus the insertIndexForLayer must ignore
14829 the component to be moved to get the index right.
14830 (setLayer): Added check to prevent unnecessary execution of
14831 method body. Changed to update the component order here.
14832 Added repaint() to make sure that the update becomes visible.
14833 (addImpl): Call setLayer() only when a constraint has been specified.
14834 Validate and repaint the JLayeredPane.
14836 2006-06-23 Roman Kennke <kennke@aicas.com>
14838 * java/awt/Container.java
14839 (getComponentZOrder): Use ncomponents instead of
14840 component.length so that we don't consider the empty space
14841 after the last component.
14843 2006-06-22 Roman Kennke <kennke@aicas.com>
14845 * javax/swing/JComponent.java
14846 (vetoableChangeSupport): New field.
14847 (removeVetoableChangeListener): Rewritten to use
14848 vetoableChangeSupport.
14849 (addVetoableChangeListener): Rewritten to use
14850 vetoableChangeSupport.
14851 (fireVetoableChange): Rewritten to use
14852 vetoableChangeSupport.
14853 (addPropertyChangeListener): Removed. This is handled in
14855 (firePropertyChange(String,boolean,boolean)): Likewise.
14856 (firePropertyChange(String,char,char)): Likewise.
14857 (firePropertyChange(String,int,int)): Likewise.
14858 (revalidate): Don't do anything when the commponent has no
14861 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14863 * javax/swing/JLabel.java: Updated API docs.
14865 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14867 * java/awt/Insets.java: Updated copyright year.
14868 (toString): Changed string, removed a line from the
14871 2006-06-22 Roman Kennke <kennke@aicas.com>
14873 * javax/swing/text/AbstractDocument.java
14874 (AbstractDocument): Set the i18n document property.
14875 (removeImpl): Added checks for correct boundaries.
14877 2006-06-22 Roman Kennke <kennke@aicas.com>
14879 * javax/swing/text/PlainDocument.java
14880 (rootElement): Changed type to Element.
14881 (tabSize): Removed field. This is stored in the document properties
14883 (PlainDocument): Set tabSize property. Init rootElement without
14885 (insertUpdate): Rewritten. The previous implementation did not
14886 handle some corner cases properly and was a mess.
14887 (removeUpdate): Cast rootElement to BranchElement.
14889 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14891 * javax/swing/plaf/basic/BasicLabelUI.java
14892 (installKeyboardActions): Implemented,
14893 (uninstallKeyboardActions): Implemented,
14894 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14897 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14899 * javax/swing/JMenu.java:
14900 (removeAll): Added check for popupMenu not being null.
14902 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14904 * javax/swing/JLabel.java
14905 (getText): Updated API docs,
14906 (setText): Corrected the check for an unchanged value, and the update
14907 of the displayedMnemonicIndex.
14909 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14911 * javax/swing/JLabel.java
14912 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14914 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14915 where label text is null.
14917 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14919 * javax/swing/JLabel.java
14920 (setDisplayedMnemonic): Updated API docs,
14921 (getDisplayedMnemonic): Removed unnecessary type-cast,
14922 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14923 (getDisplayedMnemonicIndex): Updated API docs.
14925 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14927 * java/util/Collections (entrySet): Fixed compile error.
14929 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14931 * javax/swing/DefaultListSelectionModel.java
14932 (getSelectionMode): Updated API docs,
14933 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14934 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14935 setSelectionInterval(),
14936 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14937 SINGLE_INTERVAL_SELECTION cases.
14939 2006-06-21 Roman Kennke <kennke@aicas.com>
14941 * javax/swing/text/AbstractDocument.java
14942 (BranchElement.numChildren): New field.
14943 (BranchElement.BranchElement): Initialize children array with
14944 one element (that's the least number of elements that makes sense).
14945 Initialize numChildren.
14946 (BranchElement.children): Use numChildren as boundary.
14947 (BranchElement.getElement): Use numChildren as boundary.
14948 (BranchElement.getElementCount): Use numChildren as boundary.
14949 (BranchElement.getElementIndex): Use numChildren as boundary.
14950 (BranchElement.getEndOffset): Use numChildren as boundary.
14951 (BranchElement.getStartOffset): Use numChildren as boundary.
14952 (BranchElement.positionToElement): Use numChildren as boundary.
14953 (BranchElement.replace): Handle the children array more efficiently
14954 by growing in blocks > 1, and reusing space from removed elements.
14955 (LeafElement.startDelta): Removed.
14956 (LeafElement.endDelta): Removed.
14957 (LeafElement.LeafElement): Removed handling of deltas.
14958 (LeafElement.getEndOffset): Likewise.
14959 (LeafElement.getStartOffset): Likewise.
14960 * javax/swing/text/JTextComponent.java
14961 (setDocument): Added locking of the old document to avoid dangling
14962 notification beeing delivered while the document is beeing
14964 (getScrollableTracksViewportWidth): Fixed condition.
14965 * javax/swing/text/PlainDocument.java
14966 (createDefaultRoot): Create elements without AttributeSet.
14967 * javax/swing/text/rtf/RTFParser.java
14968 (parseFile): Handle slightly incorrect RTF gracefully.
14969 * javax/swing/text/rtf/RTFScanner.java
14970 (lastToken): New field.
14971 (readTokenImpl): New method.
14972 (peekToken): New method.
14973 (readToken): Changed to call readTokenImpl or return the lastToken
14974 if there's one present.
14976 2006-06-21 Tania Bento <tbento@redhat.com>
14978 * javax/swing/JMenu.java
14979 (remove): An IllegalArgumentException should be thrown if
14980 either index < 0 or if index > 0 and there are no menu
14981 components. Also, a check was added that ensures there are
14982 menu components before removing the desired the component.
14984 2006-06-21 Lillian Angel <langel@redhat.com>
14986 * javax/swing/text/DefaultCaret.java
14987 (install): Added check to prevent NPE.
14988 (propertyChange): Added checks to prevent NPEs.
14990 2006-06-21 Tania Bento <tbento@redhat.com>
14992 * javax/swing/JMenu.java
14993 Changed instantiation of popupMenu to null.
14994 (JMenu): Instantiated popupMenu to new JPopupMenu.
14995 (JMenu): Instantiated popupMenu to new JPopupMenu.
14996 (add): Changed popupMenu to getPopupMenu().
14997 (add): Changed popupMenu to getPopupMenu().
14998 (add): Changed popupMenu to getPopupMenu().
14999 (add): Changed popupMenu to getPopupMenu().
15000 (remove): Changed popupMenu to getPopupMenu().
15001 (remove): Changed popupMenu to getPopupMenu().
15002 (insert): Changed popupMenu to getPopupMenu().
15003 (setSelectedHelper): Changed popupMenu to getPopupMenu().
15004 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
15005 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
15006 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
15007 (getMenuComponents): Changed popupMenu to getPopupMenu().
15008 (getPopupMenu): Check first if popupMenu is null and if so,
15009 instantiate it to a new JPopupMenu and set the invoker.
15010 * javax/swing/plaf/basic/BasicPopupMenuUI.java
15011 (popupMenuWillBecomeVisible): Component Listener should only
15012 be added to the root container if the root container is not
15013 null. This avoids a null pointer exception.
15015 2006-06-21 Tania Bento <tbento@redhat.com>
15017 * javax/swing/JMenu.java
15018 (JMenu): Delay should be set to 200, not default of 0.
15019 (JMenu): Delay should be set to 200, not default of 0.
15020 (JMenu): Delay should be set to 200, not default of 0.
15021 (JMenu): Delay should be set to 200, not default of 0.
15022 (remove): Added check that index >= 0 before removing
15024 (getItem): Return null if item count equals 0.
15025 (isTearOff): Should throw new error and not return false.
15026 (getMenuComponent): Return null if popupMenu is null or
15027 if there are no menu components.
15029 2006-06-21 Roman Kennke <kennke@aicas.com>
15031 * java/awt/font/FontRenderContext.java:
15032 (equals): Added special conditions for affineTransform beeing
15035 2006-06-21 Roman Kennke <kennke@aicas.com>
15037 * javax/swing/UIManager.java
15038 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
15039 must not be cleared.
15041 2006-06-21 Roman Kennke <kennke@aicas.com>
15043 * javax/swing/plaf/metal/MetalUtils.java
15044 (paintHorizontalGradient): Use paintHorizontalGradient2D when
15045 Graphics2D is available. Use fillRect instead of drawLine, this
15047 (paintVerticalGradient): Use paintHorizontalGradient2D when
15048 Graphics2D is available. Use fillRect instead of drawLine, this
15050 (paintHorizontalGradient2D): New method. Paints gradient
15051 using Graphics2D functions.
15052 (paintVerticalGradient2D): New method. Paints gradient
15053 using Graphics2D functions.
15055 2006-06-21 Roman Kennke <kennke@aicas.com>
15057 * javax/swing/plaf/basic/BasicButtonListener.java
15058 (propertyChange): Create a TextLayout and store it in the button
15059 when the 'text' property changes.
15060 * javax/swing/plaf/basic/BasicButtonUI.java
15061 (paintText): Call BasicGraphicsUtils utility method for
15062 drawing strings, instead of Graphics.drawString().
15063 * javax/swing/plaf/basic/BasicGraphicsUtils.java
15064 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15065 cached text layouts as client properties in JComponents.
15066 (drawString(JComponent,Graphics,String,int,int)): New helper method.
15067 (drawStringUnderlineCharAt): New helper method.
15068 * javax/swing/plaf/basic/BasicMenuItemUI.java
15069 (PropertyChangeHandler.propertyChange): Update cached text layout
15070 when 'text' property changes. Use equals() instead of == for
15072 (paintText): Use new BasicGraphicsUtils methods for painting
15073 the cached text layout.
15074 (installListeners): Call super.installListeners() and remove
15075 the unneeded listener installs.
15076 (uninstallListeners): Call super.uninstallListeners() and remove
15077 the unneeded listener uninstalls.
15079 2006-06-21 Roman Kennke <kennke@aicas.com>
15081 * javax/swing/plaf/basic/BasicTextUI.java
15082 (PropertyChangeHandler.propertyChange): Handle document listener
15084 (background): Removed unneeded fields.
15085 (inactiveBackground): Remove unneeded fields.
15086 (installUI): Install the document listener. Slightly changed
15087 order of operations. Don't trigger modelChanged().
15088 (installDefaults): Only install properties when the
15089 current properties are null or instances of UIResource.
15090 (installListeners): Removed unnecessary listener installs.
15091 (installDocumentListeners): Removed unneeded method.
15092 (uninstallListeners): Removed unnecessary listener uninstalls.
15093 (modelChanged): Removed call to installDocumentListeners().
15094 * javax/swing/plaf/basic/BasicTextFieldUI.java
15095 (propertyChange): Update the colors by fetching them from
15096 SharedUIDefaults. Fixed conditions.
15097 * javax/swing/plaf/basic/SharedUIDefaults.java
15098 (getColor): New method.
15100 2006-06-21 Roman Kennke <kennke@aicas.com>
15102 * javax/swing/SizeSequence.java
15103 (SizeSequence): Initialize array with correct number of entries.
15105 2006-06-21 Roman Kennke <kennke@aicas.com>
15107 * javax/swing/JSplitPane.java
15108 (setDividerLocation): Substract divider size when computing
15111 2006-06-21 Roman Kennke <kennke@aicas.com>
15113 * javax/swing/JComponent.java
15114 (paintChildrenWithOverlap): Determine opaque property by
15115 calling the corresponding Component method, without requiring
15117 (paintChildrenOptimized): Removed old unneeded code.
15118 (paintImmediately): Use JComponent's convertRectangleToAncestor()
15119 method instead of SwingUtilities.convertRectangle(). This is
15122 2006-06-21 Roman Kennke <kennke@aicas.com>
15124 * javax/swing/AbstractButton.java
15125 (init): Call setText() instead of setting the property directly,
15126 so that listeners (especially in the UI) get notified.
15128 2006-06-21 Roman Kennke <kennke@aicas.com>
15130 * javax/swing/UIManager.java
15131 (MultiplexUIDefaults): New inner class.
15132 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15133 (userUIDefaults): Changed name to be lookAndFeelDefaults.
15134 (<cinit>): Call setLookAndFeel(String) instead of trying to load
15135 directly. Print stacktrace if something goes wrong.
15136 (get): Delegate call to currentUIDefaults.
15137 (getDefaults): If currentUIDefaults is null, then lazily instantiate
15139 (getUI): Delegate call to currentUIDefaults.
15140 (put): Delegate call to currentUIDefaults.
15141 (setLookAndFeel): Initialize currentUIDefaults with
15142 MultiplexUIDefaults. Set lookAndFeelDefaults.
15143 (setLookAndFeel): Use current thread's context classloader for
15146 2006-06-21 Roman Kennke <kennke@aicas.com>
15148 * javax/swing/text/GapContent.java
15149 (GapContentPosition.GapContentPosition): Replace
15150 Collections.binarySearch with call to local search() to make
15151 sure we find the first object that equals the searched object.
15152 (setPositionsInRange): Likewise.
15153 (adjustPositionsInRange): Likewise.
15154 (search): New helper method.
15156 2006-06-21 Gary Benson <gbenson@redhat.com>
15158 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15159 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15160 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15162 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
15164 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15165 APPLETVIEWER_EXECUTABLE to gappletviewer.
15167 2006-06-20 Tom Tromey <tromey@redhat.com>
15169 PR classpath/28095:
15170 * java/net/URL.java (URL): Throw MalformedURLException if a
15171 RuntimeException is caught. Chain exceptions.
15173 2006-06-20 Lillian Angel <langel@redhat.com>
15175 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15176 (create): Added check to prevent Seg Fault. Should not
15177 set the label if it is null.
15178 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15179 (setText): Changed to be a non-native function. Calls
15180 setNativeText if the String parameter is non-null.
15181 (setNativeText): Replaces old native setText function.
15182 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15184 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15185 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15186 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15187 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15189 2006-06-20 Lillian Angel <langel@redhat.com>
15191 * javax/swing/text/JTextComponent.java
15192 (AccessibleJTextComponent): Rewrote all javadocs
15193 for this inner class.
15195 2006-06-20 Francis Kung <fkung@redhat.com>
15197 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15198 Changed many members to be protected.
15199 (J2dBenchmark): moved to init() instead.
15200 (init): New method.
15201 (main): Call init() after creating object
15202 (testComplete): New method.
15203 (test_drawArc): Use maxTests varialbe instead of constant.
15204 (test_drawCubicCurve): Likewise.
15205 (test_drawEllipse): Likewise.
15206 (test_drawGeneralPath): Likewise.
15207 (test_drawImage): Likewise.
15208 (test_drawLine): Likewise.
15209 (test_drawQuadCurve): Likewise.
15210 (test_drawRectangle): Likewise.
15211 (test_drawRoundRectangle): Likewise.
15212 (test_drawTransparentImage): Likewise.
15213 (test_fillArc): Likewise.
15214 (test_fillEllipse): Likewise.
15215 (test_fillGeneralPath): Likewise.
15216 (test_fillRectangle): Likewise.
15217 (test_fillRoundRectangle): Likewise.
15218 (GraphicsTest.runSetNoClipping): Added runCount parameter.
15219 (GraphicsTest.runSetWithClipping): Likewise.
15220 (GraphicsTest.runSetZeroClipping): Likewise.
15221 (GraphicsTest.run): Added checks for more option flags.
15222 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15225 2006-06-20 Roman Kennke <kennke@aicas.com>
15227 * javax/swing/text/GapContent.java
15228 (GapContentPosition.mark): New field.
15229 (GapContentPosition.index): Removed.
15230 (GapContentPosition.GapContentPosition): Changed to take the
15231 real offset as parameter. Added handling of reference counter.
15232 Try to cleanup before creating new instances.
15233 (getOffset): Delegate to the Mark method with same name.
15234 (Mark): New class, encapsulating a mark.
15235 (positionMarks): Removed field.
15236 (numMarks): Removed field.
15237 (marks): New field.
15238 (queueOfDeath): New field.
15239 (GapContent): Removed init of old fields, added init of new fields.
15240 (createPosition): Added check for validity of arguments.
15241 Create GapContentPosition directly with offset.
15242 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15243 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15244 (shiftGapStartDown): Call resetMarksAtZero().
15245 (shiftGapEndUp): Call resetMarksAtZero().
15246 (replace): Don't call resetMarksAtZero().
15247 (setPositionInRange): Replaced by simpler algorithm, similar to
15248 adjustPositionsInRange.
15249 (adjustPositionsInRange): Adapted to use of Mark objects.
15250 (resetMarksAtZero): Reset all marks that point to zero instead
15251 of only the first one.
15252 (dumpMarks): Adjusted to dump Mark objects.
15253 (insertMark): Removed.
15254 (garbageCollect): New method. Cleans up the marks list.
15255 (binarySearch): Removed.
15257 2006-06-20 Lillian Angel <langel@redhat.com>
15259 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15260 (drawImage): Added call to updateColor because
15261 Cairo seems to lose the current color.
15263 2006-06-20 Gary Benson <gbenson@redhat.com>
15265 * java/awt/Toolkit.java: Add security check.
15266 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15267 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15269 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
15271 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15272 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15273 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15274 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15275 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15276 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15277 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15278 * gnu/java/security/key/dss/FIPS186.java: Likewise.
15279 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15280 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15281 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15282 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15283 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15284 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15285 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15286 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15287 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15288 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15289 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15291 2006-06-19 Lillian Angel <langel@redhat.com>
15293 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15294 (drawImage): Should always use getRGB to get the pixels.
15295 getData returns an incorrect array of pixels.
15297 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15299 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15300 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15301 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15302 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15303 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15304 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15305 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15306 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15307 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15308 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15309 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15310 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15311 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15312 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15313 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15314 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15315 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15316 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15317 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15318 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15319 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15320 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15321 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15322 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15323 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15324 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15325 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15326 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15327 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15328 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15329 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15330 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15331 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15332 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15333 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15334 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15336 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
15338 * NEWS: Updated (delayed) for security tools and tools.texinfo.
15340 2006-06-19 Roman Kennke <kennke@aicas.com>
15342 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15343 (drawImage): Clip volatile image correctly.
15344 (drawVolatileImage): Added arguments for clipping.
15345 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15346 (drawVolatileImage): Added arguments for clipping. Clip image
15348 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15350 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15353 * java/rmi/server/UID.java (constructor): Synchronized
15354 the whole constructor on the UID class.
15356 2006-06-19 Roman Kennke <kennke@aicas.com>
15358 * javax/swing/RepaintManager.java
15359 (addInvalidComponent): Only add component that are displayable,
15360 that have displayable parents and that have a validateRoot.
15361 Also, don't validate components that have a CellRendererPane
15364 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
15366 * javax/swing/plaf/IconUIResource.java
15367 (IconUIResource): Throw IllegalArgumentException for null icon.
15369 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15372 * java/rmi/server/UID.java (constructor): First increment
15373 uidCounter, and then use the value.
15375 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15377 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15378 * java/awt/GridBagConstraints.java: Indent.
15380 2006-06-18 Tom Tromey <tromey@redhat.com>
15382 * native/jni/gconf-peer/.cvsignore: New file.
15384 2006-06-18 Tom Tromey <tromey@redhat.com>
15386 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15387 Also handle short options.
15389 2006-06-18 Jim Huang <jserv@kaffe.org>
15391 PR classpath/28076:
15392 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15395 2006-06-19 Mark Wielaard <mark@klomp.org>
15397 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15398 on gnu/java/util/prefs/gconf/%.class.
15399 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15400 chache typo, should be cache.
15401 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15403 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15405 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15406 Don't return a value for void function.
15407 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15409 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15410 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
15412 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15413 Mark clazz ad unused.
15415 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15417 * gnu/java/security/hash/Whirlpool.java: Source formatting.
15418 * gnu/java/security/hash/Tiger.java: Likewise.
15419 * gnu/java/security/hash/Sha512.java: Likewise.
15420 * gnu/java/security/hash/Sha384.java: Likewise.
15421 * gnu/java/security/hash/Sha256.java: Likewise.
15422 * gnu/java/security/hash/Sha160.java: Likewise.
15423 * gnu/java/security/hash/RipeMD160.java: Likewise.
15424 * gnu/java/security/hash/RipeMD128.java: Likewise.
15425 * gnu/java/security/hash/MD5.java: Likewise.
15426 * gnu/java/security/hash/MD4.java: Likewise.
15427 * gnu/java/security/hash/MD2.java: Likewise.
15428 * gnu/java/security/hash/IMessageDigest.java: Likewise.
15429 * gnu/java/security/hash/Haval.java: Likewise.
15430 * gnu/java/security/hash/HashFactory.java: Likewise.
15431 * gnu/java/security/hash/BaseHash.java: Likewise.
15433 2006-06-18 Sven de Marothy <sven@physto.se>
15435 * java/awt/event/KeyEvent.java:
15436 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15437 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15438 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15440 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
15442 * gnu/java/security/util/Prime2.java: Removed.
15443 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15444 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15445 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15446 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15447 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15448 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15449 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15450 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15451 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15452 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15453 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15454 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15456 2006-06-18 Sven de Marothy <sven@physto.se>
15458 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15459 * java/awt/font/TextMeasurer.java: Fix copyright date,
15460 remove commented-out code.
15462 2006-06-18 Sven de Marothy <sven@physto.se>
15464 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15465 (FreetypeGlyphVector, clone): Implement cloning.
15466 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15467 * java/awt/font/TextMeasurer.java: Implement.
15468 * java/awt/font/LineBreakMeasurer.java:
15469 Reimplement to use TextMeasurer.
15470 * java/awt/font/TextLayout.java
15472 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15473 (getText, getFont): New private static methods.
15474 (setCharIndices): New method.
15475 * java/text/AttributedString.java
15476 (AttributedString): Fix constructor to stop at end point.
15478 2006-06-17 Tom Tromey <tromey@redhat.com>
15480 * lib/gen-classlist.sh.in: Search all top-level directories, not
15481 just 'org', in external.
15483 2006-06-12 Mario torre <neugens at limasoftware.net>
15485 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15486 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15487 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15488 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15490 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15491 * configure.ac: update to introduce new files. Added options
15492 to build gconf native peer used by the GConf preference backend.
15493 * include/Makefile.am: update to introduce new files.
15494 * native/jni/Makefile.am update to introduce new files.
15495 * scripts/check_jni_methods.sh: added three new ignored file
15497 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15498 build gconf-peer shared library.
15500 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15502 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15503 Use Integer.valueOf() instead of new Integer().
15504 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15505 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15506 * gnu/java/security/util/Sequence.java: Likewise.
15507 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15508 * gnu/java/security/x509/X509Certificate.java: Likewise.
15509 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15510 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15511 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15512 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15513 * gnu/javax/crypto/cipher/DES.java: Likewise.
15514 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15515 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15516 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15517 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15518 * gnu/javax/crypto/cipher/Square.java: Likewise.
15519 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15520 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15521 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15522 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15523 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15524 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15525 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15526 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15527 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15528 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15529 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15530 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15531 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15532 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15533 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15534 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15535 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15536 * gnu/javax/crypto/mode/EAX.java: Likewise.
15537 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15538 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15539 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15540 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15541 * java/security/cert/X509CertSelector.java: Likewise.
15543 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15545 * javax/management/DynamicMBean.java:
15546 (setAttribute): Fixed to return void.
15547 * javax/management/MBeanFeatureInfo.java:
15550 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15552 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15553 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15554 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15555 into engineInitHandler and reuse the code in
15556 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15557 (engineInitHandler): New method.
15558 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15559 null, use random or default information when possible.
15561 2006-06-16 Francis Kung <fkung@redhat.com>
15563 * examples/gnu/classpath/examples/swing/Demo.java:
15564 (mkButtonBar): Rename FillRect to JNIOverhead.
15565 (mkMenuBar): Rename FillRect to JNIOverhead.
15566 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15567 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15568 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15569 Moved from old FillRect.
15571 2006-06-16 Tom Tromey <tromey@redhat.com>
15573 * tools/.cvsignore: Added new tool names.
15575 2006-06-16 Keith Seitz <keiths@redhat.com>
15577 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15578 instantiation so that EventManager is created when getDefault
15580 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15583 2006-06-16 Keith Seitz <keiths@redhat.com>
15585 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15586 (_initCount): New field.
15587 (Jdwp): Don't set isDebugging until fully initialized.
15588 (subcomponentInitialized): New method.
15589 (run): Wait for PacketProcessor and JdwpConnection to
15590 startup, then set isDebugging, and then let this thread
15592 * gnu/classpath/jdwp/transport/JdwpConnection.java
15593 (run): Add synchronization notification.
15594 * gnu/classpath/jdwp/processor/PacketProcessor.java
15597 2006-06-16 Tom Tromey <tromey@redhat.com>
15599 * NEWS: Updated for JSR 166.
15601 2006-06-16 Tom Tromey <tromey@redhat.com>
15603 * lib/Makefile.am (compile_classpath): Added jsr166.
15604 * configure.ac: Added external/jsr166/Makefile.
15605 * external/Makefile.am (SUBDIRS): Added jsr166.
15606 * external/jsr166/Makefile.am: New file.
15607 * lib/gen-classlist.sh.in: Look in external/jsr166.
15609 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15611 * gnu/classpath/jdwp/event/ExceptionEvent:
15612 Added Object instance to javadoc in constructor
15613 * gnu/classpath/jdwp/event/MethodEntryEvent:
15615 * gnu/classpath/jdwp/event/MethodExitEvent:
15617 * gnu/classpath/jdwp/event/SingleStepEvent:
15620 2006-06-16 Tom Tromey <tromey@redhat.com>
15622 Imported JSR 166 reference implementation:
15623 * .classpath: Added external/jsr166.
15624 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15625 * java/util/AbstractQueue.java: Removed.
15626 * java/util/Queue.java: Removed.
15627 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15628 (runPeriodic): Added explicit cast.
15629 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15632 2006-06-16 Tom Tromey <tromey@redhat.com>
15634 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15636 (getCallerClass): Now static.
15637 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15639 2006-06-16 Lillian Angel <langel@redhat.com>
15641 * java/awt/FileDialog.java
15642 (FileDialog): Added @since tag to API docs.
15643 (FileDialog): Likewise.
15644 (FileDialog): Likewise.
15645 * java/awt/Font.java:
15646 Added @since tag to TYPE1_FONT field docs.
15647 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15648 (isThumbRollover): Likewise.
15649 (setThumbRollover): Likewise.
15650 (getSupportsAbsolutePositioning): Likewise.
15651 * javax/swing/plaf/basic/BasicSliderUI.java:
15652 (isDragging): Likewise.
15654 2006-06-16 Lillian Angel <langel@redhat.com>
15656 * java/awt/FileDialog.java
15657 (FileDialog): Implemented.
15658 (FileDialog): Implemented.
15659 (FileDialog): Implemented.
15660 * java/awt/Font.java:
15661 Added TYPE1_FONT constant field.
15663 2006-06-16 Lillian Angel <langel@redhat.com>
15665 * java/awt/font/TextLayout.java:
15666 Removed unneeded imports.
15667 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15668 Added new thumbRollover field.
15669 (mouseMoved): Added code to set thumbRollover field.
15670 (isThumbRollover): New function.
15671 (setThumbRollover): New function.
15672 (getSupportsAbsolutePositioning): Implemented. This
15673 needs to be changed once the feature has been
15675 * javax/swing/plaf/basic/BasicSliderUI.java:
15676 Added new dragging field.
15677 (mouseDragged): Initialized dragging field.
15678 (isDragging): New function.
15679 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15680 (focusGained): Marked as not implemented.
15681 (focusLost): Likewise.
15683 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15685 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15686 Added check for null ThreadId to avoid null pointer
15689 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15691 * javax/swing/DefaultComboBoxModel.java
15692 (removeElementAt): Set new selected item by calling setSelectedItem().
15694 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15696 * javax/swing/DefaultButtonModel.java
15697 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15699 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15701 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15702 (ListDataEvent): Handle case where index0 > index1,
15703 (toString): Implemented.
15705 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15707 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15708 (update): Added subexpression to if-statement.
15710 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15712 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15713 (installDefaults): Removed unneccessary code.
15714 (paint): Removed complex if-cascade, revert to default icon if
15715 icon property is not set.
15716 (getPreferredSize): New method.
15718 2006-06-16 Roman Kennke <kennke@aicas.com>
15721 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15722 (drawImage): Don't use setClip() but instead clipRect() to
15723 intersect the current clip with a new one.
15725 2006-06-15 Tom Tromey <tromey@redhat.com>
15727 * scripts/sanitize-jsr166: New file.
15728 * external/jsr166/IMPORTING: New file.
15729 * vm/reference/sun/reflect/Reflection.java: New file.
15730 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15731 * vm/reference/sun/misc/Unsafe.java: ...here.
15733 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15735 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15736 gjarsigner and keytool to gkeytool.
15737 * doc/tools.texinfo: Add note about tool exectable names.
15738 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15739 jarsigner to gjarsigner and keytool to gkeytool.
15740 * tools/appletviewer.in: Rename ...
15741 * tools/gappletviewer.in: New file.
15742 * tools/jarsigner.in: Rename ...
15743 * tools/gjarsigner.in: New file.
15744 * tools/keytool.in: Rename ...
15745 * tools/gkeytool.in: New file.
15746 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15748 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15750 * javax/management/AttributeList.java:
15751 Add serialization UID.
15752 * javax/management/DynamicMBean.java:
15754 * javax/management/JMRuntimeException.java:
15755 Add serialization UID and correct name
15756 of serialized field.
15757 * javax/management/MBeanInfo.java: New file.
15759 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15761 * javax/management/AttributeList.java,
15762 * javax/management/JMRuntimeException.java,
15763 * javax/management/RuntimeOperationsException.java:
15766 2006-06-15 Lillian Angel <langel@redhat.com>
15768 * java/awt/font/TextLayout.java:
15769 DEFAULT_CARET_POLICY changed to be public static final.
15771 2006-06-15 Tania Bento <tbento@redhat.com>
15773 * javax/swing/plaf/metal/MetalScrollButton.java
15774 (MetalScrollButton): Should set 'focusable' to false.
15776 2006-06-15 Tania Bento <tbento@redhat.com>
15778 * javax/swing/plaf/basic/BasicArrowButton.java
15779 (BasicArrowButton): Should set 'focusable' to false.
15780 (BasicArrowButton): Should set 'focusable' to false.
15782 2006-06-15 Mark Wielaard <mark@klomp.org>
15784 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15785 (getGraphicsConfiguration): Return default screen device.
15786 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15788 (GtkVolatileImage): Record initiating component.
15789 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15790 (getDeviceConfiguration): Return configuration of image component.
15792 2006-06-15 Mark Wielaard <mark@klomp.org>
15794 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15797 2006-06-15 Mark Wielaard <mark@klomp.org>
15799 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15800 with null argument.
15802 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15804 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15805 (matches): Added explicit brackets to return statement.
15807 2006-06-15 Tania Bento <tbento@redhat.com>
15809 * javax/swing/JRadioButtonMenuItem.java
15810 (JRadioButtonMenuItem): Should set 'focusable' to false.
15812 2006-06-15 Tania Bento <tbento@redhat.com>
15814 * javax/swing/JCheckBoxMenuItem.java
15815 (JCheckBoxMenuItem): Should set 'focusable' to false.
15817 2006-06-15 Tania Bento <tbento@redhat.com>
15819 * javax/swing/AbstractButton.java:
15820 (AbstractButton): 'Focusable' should be set to true and not false.
15822 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15824 * java/lang/management/ManagementFactory.java:
15825 Add private constructor to prevent instance creation.
15826 * java/lang/management/ManagementPermission.java:
15829 2006-06-15 Francis Kung <fkung@redhat.com>
15831 * javax/swing/plaf/basic/BasicArrowButton.java:
15832 (BasicArrowButton): move client property for not triggering out
15834 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15835 (configureArrowButton): set client property for not triggering
15836 (installUI): set client property for not triggering
15837 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15838 (PopupHelper.mousePressed): check client property for triggering
15840 2006-06-15 Roman Kennke <kennke@aicas.com>
15843 * javax/swing/RepaintManager.java
15844 (blitBuffer): Substract coordinates the other way around.
15846 2006-06-15 Roman Kennke <kennke@aicas.com>
15849 * javax/swing/JComponent.java
15850 (paintImmediately2): Only paint component without double buffering
15851 when all of it's parents have also double buffering disabled.
15852 (isPaintingDoubleBuffered): New helper method.
15854 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15856 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15857 (draw(Shape)): Pass null transform to getPathIterator(),
15858 (getClip): Likewise,
15859 * gnu/java/print/PostscriptGraphics2D.java
15860 (drawStringShape): Pass null transform to getPathIterator(),
15861 (writeShape): Likewise,
15862 * java/awt/Shape.java: Small updates to API docs.
15864 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15866 * javax/naming/InitialContext.java:
15867 (list(javax.naming.Name)): Fixed generic type.
15868 (list(String)): Likewise.
15869 (listBindings(javax.naming.Name)): Likewise.
15870 (listBindings(String)): Likewise.
15872 2006-06-14 Roman Kennke <kennke@aicas.com>
15874 * javax/swing/plaf/basic/BasicComboBoxUI.java
15875 (getAccessibleChildrenCount): Implemented.
15876 (getAccessibleChild): Implemented.
15877 (isNavigationKey): Implemented.
15878 (KeyHandler.keyPressed): Implemented.
15880 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15882 * java/lang/management/ManagementPermission.java:
15883 Added serialization UID.
15884 * javax/management/Attribute.java: Likewise.
15885 * javax/management/MBeanException.java,
15886 * javax/management/ReflectionException.java:
15887 Added serialization UID and changed to extend
15888 javax.management.JMException.
15890 2006-06-14 Lillian Angel <langel@redhat.com>
15892 * java/awt/Component.java
15893 (ignoreOldMouseEvents): Made static.
15894 (translateEvent): Made static.
15895 * java/awt/TextComponent.java
15896 (ignoreOldMouseEvents): Made static.
15898 2006-06-14 Mark Wielaard <mark@klomp.org>
15900 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15902 (drawRect): Likewise.
15903 (fillRect): Likewise.
15905 2006-06-14 Lillian Angel <langel@redhat.com>
15907 * java/awt/Component.java
15908 (ignoreOldMouseEvents): New helper function.
15909 (translateEvent): Changed to be non-static and use new helper.
15910 * java/awt/TextComponent.java
15911 (ignoreOldMouseEvents): New helper function.
15913 2006-06-14 Roman Kennke <kennke@aicas.com>
15915 * javax/swing/RepaintManager.java
15916 (MERGE_REGIONS): New constant flag.
15917 (commitBuffer): Exclude the merging of regions by default. This
15918 was causing painting artifacts in some applications, especially
15919 when different areas of the GUI are updated synchronously.
15921 2006-06-14 Roman Kennke <kennke@aicas.com>
15923 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15924 New file. This is a benchmark for AWT 1.1 style graphics operations.
15925 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15926 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15928 2006-06-14 Tom Tromey <tromey@redhat.com>
15930 * java/io/File.java (getParent): Javadoc fix.
15932 2006-06-14 Tom Tromey <tromey@redhat.com>
15934 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15936 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15937 when index entry does not exist.
15939 2006-06-14 Tania Bento <tbento@redhat.com>
15941 * javax/swing/AbstractButton.java
15942 (AbstractButton): Set focusable to false, not true.
15944 2006-06-14 Tania Bento <tbento@redhat.com>
15946 * javax/swing/JMenuItem.java
15947 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15949 2006-06-14 Tania Bento <tbento@redhat.com>
15951 * javax/swing/JCheckBoxMenuItem.java
15952 (JCheckBoxMenuItem): Added check to set the selected state.
15954 2006-06-14 Roman Kennke <kennke@aicas.com>
15956 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15957 (cairoDrawLine): New native method.
15958 (cairoDrawRect): New native method.
15959 (cairoFillRect): New native method.
15960 (drawLine): Use special native method.
15961 (drawRect): Use special native method.
15962 (fillRect): Use special native method.
15963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15964 (cairoDrawLine): New native method.
15965 (cairoDrawRect): New native method.
15966 (cairoFillRect): New native method.
15967 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15969 2006-06-14 Mark Wielaard <mark@klomp.org>
15971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15972 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15973 cannot be allocated.
15975 2006-06-14 Tom Tromey <tromey@redhat.com>
15978 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15979 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15981 2006-06-14 Roman Kennke <kennke@aicas.com>
15983 * javax/swing/JComponent.java
15984 (isRepainting): New flag.
15985 (paintImmediately2): Set isRepainting flag.
15986 (getRoot): Removed obsolete method.
15987 (paintDoubleBuffered): Differenciate between paint calls from
15988 RepaintManager and from AWT refresh. Call
15989 RepaintManager.commitBuffer with this and local coordinates.
15990 (findOpaqueParent): Stop searching at heavyweight component. These
15992 (paintChildrenOptimized): Don't paint heavyweight children. These
15993 should care for themselves.
15994 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15995 should care for themselves.
15996 * javax/swing/RepaintManager.java
15997 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15999 (getVolatileOffscreenBuffer): Associate offscreen buffer with
16000 toplevel windows only.
16001 (getRoot): Removed obsolete method.
16002 (commitBuffer): Blit buffer on nearest heavyweight.
16003 (blitBuffer): New helper method.
16004 (getHeavyweightParent): New helper method.
16005 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
16006 * javax/swing/SwingUtilities.java
16007 (convertRectangleToAncestor): New helper method.
16009 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
16011 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
16012 Condition all trace/debug code based on Configuration.DEBUG.
16013 Use logger instead of STDOUT and ot STDERR.
16015 2006-06-13 Lillian Angel <langel@redhat.com>
16017 * native/plugin/gcjwebplugin.cc
16018 (NP_Initialize): Removed code to create whitelist file.
16019 (GCJ_New): Added code to create whitelist file.
16020 (plugin_user_trusts_documentbase): Fixed error message.
16022 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16024 * javax/swing/plaf/metal/MetalIconFactory.java
16025 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
16026 prevent overwriting border,
16027 (VerticalSliderThumbIcon.gradientMask): Likewise.
16029 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
16031 * javax/management/AttributeNotFoundException.java,
16032 * javax/management/InvalidAttributeValueException.java,
16033 * javax/management/JMException.java,
16034 * javax/management/MBeanException.java,
16035 * javax/management/OperationsException.java,
16036 * javax/management/ReflectionException.java:
16039 2006-06-13 Roman Kennke <kennke@aicas.com>
16041 * java/awt/Component.java
16042 (dispatchEvent): Handle events even when consumed (this might be
16043 picked up later in the dispatching chain).
16044 * javax/swing/plaf/basic/BasicLookAndFeel.java
16045 (PopupHelper.mousePressed): Don't consume event. Only close popup
16046 when target component isn't flagged as DONT_CANCEL_POPUP.
16047 (DONT_CANCEL_POPUP): New package private constant for flagging
16048 special components that don't trigger popup closing.
16049 * javax/swing/plaf/basic/BasicArrowButton.java
16050 (BasicArrowButton): Set client property for not triggering closing
16053 2006-06-13 Lillian Angel <langel@redhat.com>
16055 * java/awt/image/PixelGrabber.java
16056 (PixelGrabber): Added to API documentation.
16058 2006-06-13 Keith Seitz <keiths@redhat.com>
16060 From Kyle Galloway <kgallowa@redhat.com>:
16061 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16062 (ExceptionOnlyFilter): Allow null refId.
16064 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16065 compatibility with filters.
16066 (getParameter): Modified to allow access to above.
16068 2006-06-13 Sven de Marothy <sven@physto.se>
16070 * gnu/java/awt/peer/gtk/CairoSurface.java
16071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16072 (create): Use stride in ints.
16074 2006-06-13 Keith Seitz <keiths@redhat.com>
16076 From Kyle Galloway <kgallowa@redhat.com>:
16077 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16079 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16081 * javax/swing/plaf/basic/BasicSliderUI.java
16082 (calculateThumbSize): Removed unnecessary code,
16083 (calculateThumbLocation): Shift position by one,
16084 (calculateTickRect): Shift position by one when ticks are displayed,
16085 (calculateLabelRect): Calculate rect differently according to whether
16086 or not the labels are visible,
16087 (paintTrack): Shift track down one pixel.
16089 2006-06-13 Lillian Angel <langel@redhat.com>
16091 * java/awt/image/PixelGrabber.java
16092 (PixelGrabber): Removed check to throw exception. JDK does
16094 (startGrabbing): Removed line to print stacktrace.
16096 2006-06-13 Mark Wielaard <mark@klomp.org>
16098 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16099 allocate unused AffineTransform. Add comment about conversion to
16101 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16102 Recognize identity transform as "easy". Always convert to
16103 BufferedImage before calling super.
16105 2006-06-13 Roman Kennke <kennke@aicas.com>
16107 * java/awt/Component.java
16108 (getGraphics): Translate child graphics correctly.
16109 (dispatchEvent): Only dispatch event if it hasn't been consumed
16110 yet by the global dispatcher.
16111 * javax/swing/plaf/basic/BasicLookAndFeel.java
16112 Added some API docs.
16113 (PopupHelper.mousePressed): Consume the event after closing
16116 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
16118 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
16120 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16121 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16122 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16123 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16124 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16125 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16126 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16127 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16128 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16129 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16130 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16131 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16132 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16133 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16134 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16135 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16137 2006-06-12 Sven de Marothy <sven@physto.se>
16139 * java/awt/font/LineBreakMeasurer.java): Implement.
16141 2006-06-12 Keith Seitz <keiths@redhat.com>
16143 From Kyle Galloway <kgallowa@redhat.com>:
16144 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16146 2006-06-12 Keith Seitz <keiths@redhat.com>
16148 From Kyle Galloway <kgallowa@redhat.com>:
16149 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16151 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16153 2006-06-12 Roman Kennke <kennke@aicas.com>
16155 * javax/swing/JComponent.java
16156 (paintDoubleBuffered): Correctly translate and clip the Graphics
16158 (clipAndTranslateGraphics): New helper method.
16160 2006-06-12 Roman Kennke <kennke@aicas.com>
16162 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16163 (copy): Use getClip() to copy the clip. Make copied transform
16164 null when original transform is null. Set clip here.
16165 (setTransform): Correctly update the clip.
16166 (setTransformImpl): New method. Updates the actual transform for
16168 (transform): Correctly update the clip.
16169 (translate): Correctly update the clip.
16170 (clip): Handle null clip and argument correctly.
16171 (clipRect): Avoid creating new Rectangle objects.
16172 (getClip): Get the correct copy of the clip.
16173 (setClip): Correctly handle null argument.
16174 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16175 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16176 be null or whatever has been set in copy().
16177 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16178 (drawImage): Add translation to the image coordinates.
16179 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16180 (VolatileImageGraphics): Don't set clip here. The clip can either
16181 be null or whatever has been set in copy().
16183 2006-06-12 Keith Seitz <keiths@redhat.com>
16185 From Kyle Galloway <kgallowa@redhat.com>:
16186 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16187 (forCaught): Removed unused/unnecessary method.
16188 (forUncaught): Likewise.
16189 (matches): Implement.
16191 2006-06-12 Keith Seitz <keiths@redhat.com>
16193 From Kyle Galloway <kgallowa@redhat.com>:
16194 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16196 2006-06-12 Keith Seitz <keiths@redhat.com>
16198 From Kyle Galloway <kgallowa@redhat.com>:
16199 * gnu/classpath/jdwp/event/Event.java: Added constants for
16201 (getParameter): Changed parameter type from Class to int.
16202 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16203 Changed from Class type to constants.
16204 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16206 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16208 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16210 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16212 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16214 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16216 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16218 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16220 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16223 2006-06-12 Lillian Angel <langel@redhat.com>
16225 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16226 (StandaloneAppletWindow): Changed title of standalone window.
16228 2006-06-12 Lillian Angel <langel@redhat.com>
16230 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16231 (layoutContainer): Added missing selectedComponent assignment.
16233 2006-06-12 Lillian Angel <langel@redhat.com>
16235 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16236 (layoutContainer): Added check to prevent exception.
16238 2006-06-12 Tom Tromey <tromey@redhat.com>
16240 * java/lang/Thread.java (uncaughtException): Javadoc fix.
16242 2006-06-12 Mark Wielaard <mark@klomp.org>
16244 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16247 (lock): New method.
16248 (unlock): Likewise.
16249 (draw): Use lock() and unlock().
16251 (drawRenderedImage): Likewise.
16252 (drawImage): Likewise.
16253 (drawGlyphVector): Likewise.
16255 2006-06-12 Roman Kennke <kennke@aicas.com>
16257 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16258 (drawPixels): Include alpha in parameter list.
16259 (cairoFill): Include alpha in parameter list.
16260 (setComposite): Don't modify the color.
16261 (draw(Shape))): Use fill when the current composite has an alpha
16262 of != 1.0, so that the stroked shaped will be composited.
16263 (fill(Shape)): Call cairoFill() with alpha.
16264 (drawImage): Call drawPixels or drawSurface with alpha.
16265 (drawGlyphVector): When composite alpha is != 1.0, render the
16266 outline using fill() to enable compositing for text.
16267 (drawRaster): Call drawPixels with alpha.
16268 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16269 (nativeDrawSurface): Include alpha in parameter list.
16270 (drawSurface): Include alpha in parameter list. Pass it to
16271 nativeDrawSurface().
16272 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16273 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16276 (drawPixels): Handle possible alpha for compositing.
16277 (cairoFill): Likewise.
16278 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16279 (nativeDrawSurface): Handle possible alpha for compositing.
16281 2006-06-12 Mark Wielaard <mark@klomp.org>
16283 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16284 Notify data when completely done. Wait for worker thread to finish.
16285 Rethrow any pending exceptions.
16286 (exception): New field.
16287 (run): Store pending exception.
16289 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
16291 * java/lang/management/ManagementPermission.java:
16294 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16296 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16298 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
16300 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16301 Use String.charAt().
16303 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
16305 * doc/tools.texinfo
16306 (Applet Tools): New chapter.
16307 (appletviewer Tool): New section.
16308 (gcjwebplugin): New section.
16310 2006-06-11 Mark Wielaard <mark@klomp.org>
16312 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16313 Takes GdkPixbufWriter.
16314 (GdkPixbufWriter): Implements Runnable.
16315 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16317 (DATADONE): New static final field.
16319 (write(byte[])): New method.
16321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16322 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16323 Get dataOutputWriteID from writeClass.
16324 (stream_save_request): Change stream field to writer.
16325 (save_to_stream): Remove FIXME, call writer.
16326 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16329 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
16332 Mention new VM interface and use of properties.
16333 * doc/vmintegration.texinfo:
16334 Update with new gnu.java.lang.management section.
16335 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16337 * java/lang/management/ManagementFactory.java:
16338 (getRuntimeMXBean()): Implemented.
16339 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16340 New VM interface file.
16342 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16345 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16346 debug code based on Configuration.DEBUG.
16347 Use logger instead of STDOUT and ot STDERR.
16348 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16349 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16350 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16351 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16352 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16353 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16354 * gnu/javax/crypto/pad/TBC.java: Likewise.
16355 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16356 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16357 * gnu/javax/crypto/pad/BasePad.java: Likewise.
16358 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16359 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16360 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16361 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16362 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16363 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16364 * gnu/javax/crypto/keyring/Entry.java: Likewise.
16365 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16366 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16367 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16368 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16369 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16370 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16371 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16372 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16373 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16374 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16375 * gnu/java/security/Properties.java: Likewise.
16376 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16377 * gnu/java/security/x509/X509CRL.java: Likewise.
16378 * gnu/java/security/x509/ext/Extension.java: Likewise.
16379 * gnu/java/security/util/Prime2.java: Likewise.
16380 * gnu/java/security/util/Base64.java: Likewise.
16381 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16382 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16383 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16384 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16385 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16386 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16387 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16388 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16389 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16390 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16391 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16392 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16393 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16394 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16395 * gnu/java/security/hash/Whirlpool.java: Likewise.
16397 2006-06-11 Mark Wielaard <mark@klomp.org>
16399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16400 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16401 Remove unused variable glyph_index.
16403 2006-06-11 Mark Wielaard <mark@klomp.org>
16405 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16406 Don't recurse, return false if not an BufferedImage and no image
16408 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16409 end_gdk_drawing() to finally block.
16411 (drawRenderedImage): Likewise.
16412 (drawImage): Likewise.
16413 (drawGlyphVector): Likewise.
16415 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16417 * doc/tools.texinfo: Added text for new -cacert command.
16418 Re-structured sections.
16419 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16420 for -cacert command.
16421 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16422 (_CACERT): Likewise.
16423 (shutdownThread): New field.
16424 (Main): Install shutdown thread.
16425 (main): Uninstall shutdown thread.
16426 (start): Handle new -cacert command.
16427 (getParser): Likewise.
16428 (teardown): Increased visibility.
16429 (ShutdownHook): New inner class.
16430 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16432 2006-06-11 Sven de Marothy <sven@physto.se>
16434 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16435 (setupGlyphMetrics): New method. Add glyphmetrics caching.
16436 (getOutline): Operate on the shape directly.
16437 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16438 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16439 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16440 (getGlyph renamed getGlyphs)
16441 * java/awt/geom/AffineTransform.java
16442 (getTranslateInstance): Set fields directly.
16443 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16444 (getGlyphs): Get all glyph codes at once.
16446 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16449 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16451 2006-06-11 Sven de Marothy <sven@physto.se>
16453 * java/awt/font/TextLayout.java
16454 (getLogicalHighlightShape): Add check.
16455 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16456 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16458 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
16460 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16461 Check that every component of 'cn' starts with a valid Java identifier char.
16463 2006-06-10 Tom Tromey <tromey@redhat.com>
16465 * java/io/File.java (pathSeparator): Typo fix.
16467 2006-06-10 Mark Wielaard <mark@klomp.org>
16469 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16471 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16472 Mark all unused parameters.
16473 (cp_gtk_get_cairo_t): Removed.
16474 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16475 Don't mix declerations and statements.
16476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16477 Mark all unused parameters.
16478 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16479 Get cairographics2d pointer directly.
16480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16481 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16482 Use jlong to pass pointer.
16483 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16484 Mark all unused parameters.
16485 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16486 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16487 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16488 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16489 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16490 * include/java_io_VMFile.h: Regenerated.
16492 2006-06-10 Roman Kennke <kennke@aicas.com>
16494 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16495 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16496 instead of setClip(), so that an already present clip is intersected
16499 2006-06-10 Mark Wielaard <mark@klomp.org>
16501 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16502 Call getSize() to avoid accessor method.
16504 2006-06-10 Mark Wielaard <mark@klomp.org>
16506 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16507 Qualify ElementSpec.
16509 2006-06-10 Mark Wielaard <mark@klomp.org>
16511 * lib/.cvsignore: Add sun.
16512 * lib/Makefile.am (dist-hook): Likewise.
16514 2006-06-10 Roman Kennke <kennke@aicas.com>
16516 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16517 * gnu/java/awt/peer/gtk/CairoSurface.java
16518 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16519 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16520 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16521 * native/jni/gtk-peer/cairographics2d.h
16522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16523 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16525 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16526 Changed method signatures and calls to pass native pointers directly
16527 into the JNI code, in order to avoid costly lookups on each
16529 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16530 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16531 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16532 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16535 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16538 * javax/swing/text/DefaultStyledDocument.java
16539 (ElementBuffer.insertContentTag):
16540 Do not recreate leaves and do not remove elements here.
16542 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16544 * javax/swing/text/html/HTMLDocument.java
16545 (HTMLReader.HiddenAction): Implemented.
16547 2006-06-10 Roman Kennke <kennke@aicas.com>
16549 * javax/swing/RepaintManager.java
16550 (getVolatileOffscreenBuffer): Store the created buffer.
16551 * javax/swing/JComponent.java
16552 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16553 for better performance.
16555 2006-06-10 Roman Kennke <kennke@aicas.com>
16557 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16558 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16560 (getRealBounds): Overridden to return the correct bounds.
16562 2006-06-10 Roman Kennke <kennke@aicas.com>
16564 * javax/swing/plaf/metal/MetalButtonUI.java
16565 (update): Fixed to paint the gradient under the correct conditions.
16566 (updateWidthGradient): Removed.
16567 (isToolbarButton): New helper method.
16568 (isDrawingGradient): New helper method.
16570 2006-06-09 Roman Kennke <kennke@aicas.com>
16572 * javax/swing/JTabbedPane.java
16573 (setSelectedIndex): Don't change the visibility of the components,
16574 this is done by the UI class.
16575 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16576 (TabbedPaneLayout.layoutContainer): Change visibility of component
16577 here, depending on the selected index. Only do this if the new
16578 selected component is not null. Some programs seem to expect
16580 (visibleComponent): New field.
16581 (getVisibleComponent): Changed to return visibleComponent field.
16582 (setVisibleComponent): Changed to set the visibility of
16583 the old and new visible component.
16585 2006-06-09 Roman Kennke <kennke@aicas.com>
16587 * javax/swing/JComponent.java
16588 (paintChildrenOptimized): Paint component with a new Graphics
16589 object to protect the other painting code from modifications
16590 done in that object, and avoid cleanup ops on possibly dispose()ed
16593 2006-06-09 Sven de Marothy <sven@physto.se>
16595 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16596 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16597 Use GTK locks while disposing (Xlib) surface.
16599 2006-06-09 Tom Tromey <tromey@redhat.com>
16601 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16602 (uninstall-local): Delete 'sun' directory.
16603 (glibj.zip): Include 'sun' classes.
16604 (clean-local): Delete 'sun' directory.
16605 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16607 2006-06-09 Roman Kennke <kennke@aicas.com>
16609 * gnu/java/awt/java2d/AbstractGraphics2D.java
16610 (drawImage): Fixed scaling.
16611 (fillShape): Removed offset handling.
16612 (fillShapeImpl): Limit scanlining to device bounds.
16613 (getSegments): Removed offset handling.
16614 * gnu/java/awt/java2d/PolyEdge.java
16615 (toString): Include isClip flag in output.
16617 2006-06-08 Sven de Marothy <sven@physto.se>
16619 * java/awt/font/TextLayout.java
16620 (getOutline): Allow null transform.
16622 2006-06-08 Sven de Marothy <sven@physto.se>
16624 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16625 (drawString): Use TextLayout instead of GlyphVector.
16627 2006-06-08 Sven de Marothy <sven@physto.se>
16629 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16630 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16631 New constructor for bidirectionality.
16632 (getGlyphMetrics): Return whitespace glyphs.
16633 (getLogicalBounds): Offset rectangles to correct positions.
16634 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16635 (getBaselineFor): Default to ROMAN_BASELINE.
16636 (GdkFontLineMetrics): Guess some values for underline and
16638 (layoutGlyphVector): Use bidirectionality.
16639 * java/awt/font/TextLayout.java: Implement, mostly.
16641 2006-06-09 Anthony Green <green@redhat.com>
16643 PR classpath/27888:
16644 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16645 * java/util/Collections.java (binarySearch): Use unsigned shift.
16646 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16648 2006-06-09 Tom Tromey <tromey@redhat.com>
16650 * tools/.cvsignore: Added .deps.
16652 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16654 PR classpath/27966:
16655 * gnu/javax/security/auth/login/ConfigFileParser.java
16656 (validateClassName): Quote '.' in regexp.
16658 2006-06-09 Tom Tromey <tromey@redhat.com>
16660 PR classpath/23863:
16661 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16663 * native/fdlibm/mprec.c: New version from newlib. Commented out
16664 some includes. Added <assert.h>.
16665 (_reent, _Bigint): New defines.
16666 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16667 (__ULong, __Long): New types.
16668 (_calloc_r): New function.
16669 (Balloc): Dynamically add new _freelist entries as needed.
16670 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16671 MAX_BIGNUMS to size _x[].
16672 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16673 _allocation_map, num. Added _max_k.
16675 2006-06-09 Roman Kennke <kennke@aicas.com>
16677 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16678 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16681 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16683 * java/awt/image/BufferedImage.java
16684 (BufferedImage(int, int, int)): Added API docs,
16685 (getProperty(String)): Return correct value for undefined properties,
16686 (getPropertyNames()): Added comments and removed FIXME.
16688 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16690 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16691 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16693 2006-06-09 Francis Kung <fkung@redhat.com>
16695 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16696 (getPreferredSize): Return correct height for null or empty
16699 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16701 * java/awt/datatransfer/DataFlavor.java
16702 (readExternal): Mark as stub,
16703 (writeExternal): Likewise,
16704 * java/awt/dnd/DropTargetContext.java
16705 (dropComplete): Mark as stub,
16706 (acceptDrag): Likewise,
16707 (rejectDrag): Likewise,
16708 (acceptDrop): Likewise,
16709 (rejectDrop): Likewise,
16710 (getCurrentDataFlavors): Likewise,
16711 (getTransferable): Likewise,
16712 * java/awt/dnd/DropTargetDropEvent.java
16713 (dropComplete): Mark as stub.
16715 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16717 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16718 (constructor): Do not lowercase the values.
16719 * javax/swing/text/html/HTMLDocument.java
16720 (HTMLReader.addSpecialElement): Implemented.
16721 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16723 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16725 On behalf of Matthew Wringe <mwringe@redhat.com>
16726 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16727 * gnu/javax/crypto/pad/ISO10126.java: New class.
16728 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16729 (getInstance): Added support for ISO-10126 scheme.
16730 (getNames): Likewise.
16731 Cache result for speed.
16733 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16735 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16736 flexible self-test by sub-classes.
16737 (test1BlockSize): New method.
16739 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16741 * javax/swing/plaf/basic/BasicLookAndFeel.java
16742 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16743 * javax/swing/plaf/basic/BasicScrollBarUI.java
16744 (installKeyboardActions): Implemented,
16745 (uninstallKeyboardActions): Implemented,
16746 (getInputMap): New method,
16747 (getActionMap): New method,
16748 (createActionMap): New method,
16749 (installUI): Call installKeyboardActions(),
16750 (uninstallUI): Call uninstallKeyboardActions().
16752 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16754 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16755 (getActionMap): Use correct key to store action map.
16757 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16759 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16760 (executeInstruction): Added NOT support.
16762 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16764 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16767 2006-06-08 Tom Tromey <tromey@redhat.com>
16769 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16772 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16774 * java/lang/management/RuntimeMXBean.java:
16777 2006-06-08 Lillian Angel <langel@redhat.com>
16779 * native/plugin/gcjwebplugin.cc:
16780 (NP_Shutdown): Freed whitelist_filename.
16782 2006-06-08 Lillian Angel <langel@redhat.com>
16784 * native/plugin/Makefile.am:
16785 Removed DATA_DIRECTORY.
16786 * native/plugin/gcjwebplugin.cc:
16787 Added new global fields for whitelist_file
16788 and data_directory. Removed WHITELIST_FILE.
16789 (NP_Initialize): Initialized new fields. Also,
16790 Changed to use new fields.
16791 (NP_Shutdown): Freed data_directory.
16792 (GCJ_New): Changed to use new fields.
16793 (plugin_ask_user_about_documentbase): Likewise.
16795 2006-06-08 Lillian Angel <langel@redhat.com>
16797 * native/plugin/Makefile.am:
16798 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16799 * native/plugin/gcjwebplugin.cc:
16800 Changed all instances of PLUGIN_DATA_DIRECTORY
16803 2006-06-08 Roman Kennke <kennke@aicas.com>
16805 * java/awt/LightweightDispatcher.java
16806 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16807 with convertPointToChild(). This is more efficient and avoids
16808 problems with getLocationOnScreen().
16809 (findTarget): Check for component beeing showing() early.
16810 Simplified AWTUtilities.convertPoint() to a simple substraction
16812 (convertPointToChild): New helper method.
16814 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16816 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16819 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16820 Lillian Angel <langel@redhat.com>
16822 * native/plugin/gcjwebplugin.cc
16823 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16824 Also, reset initialized field.
16826 2006-06-08 Lillian Angel <langel@redhat.com>
16828 * javax/swing/plaf/basic/BasicProgressBarUI.java
16829 (paintString): Fixed to paint string at the correct location.
16831 2006-06-08 Roman Kennke <kennke@aicas.com>
16833 * javax/swing/plaf/basic/BasicTreeUI.java
16834 (createDefaultActions): Added new actions.
16835 (TreePageAction.TreePageAction): Set action name.
16836 (TreePageAction.actionPerformed): Implemented.
16837 (TreePageAction.isEnabled): Implemented.
16838 (TreeToggleAction.TreePageAction): Set action name.
16839 (TreeToggleAction.actionPerformed): Implemented.
16840 (TreeToggleAction.isEnabled): Implemented.
16841 (TreeTraverseAction.TreeTraverseAction): Set action name.
16842 (TreeTraverseAction.actionPerformed): Use action name as command.
16843 (TreeTraverseAction.isEnabled): Implemented.
16845 2006-06-08 Roman Kennke <kennke@aicas.com>
16847 * javax/swing/plaf/basic/BasicTreeUI.java
16848 (installKeyboardActions): Rewritten to correctly install the UI
16849 input and action maps.
16850 (getActionMap): New helper method.
16851 (createDefaultActionMap): New helper method.
16852 (TreeHomeAction.TreeHomeAction()): Implemented.
16853 (TreeHomeAction.actionPerformed): Implemented.
16854 (TreeHomeAction.isEnabled): Implemented.
16855 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16856 (TreeIncrementAction.actionPerformed): Use action name as command.
16857 (TreeIncrementAction.isEnabled): Implemented.
16859 2006-06-08 Mark Wielaard <mark@klomp.org>
16862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16863 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16866 2006-06-08 Mark Wielaard <mark@klomp.org>
16868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16869 (attrs): Removed unused static.
16871 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16873 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16874 (getInputMap): New method,
16875 (getActionMap): New method,
16876 (createActionMap): New method,
16877 (installKeyboardActions): Implemented,
16878 (uninstallKeyboardActions): Implemented.
16880 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16882 * javax/swing/border/MatteBorder.java:
16883 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16885 (paintBorder): Added if-statement to abort painting early.
16887 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16890 * gnu/xml/dom/DomIterator.java:
16891 (successor): Changed expression.
16893 2006-06-08 Sven de Marothy <sven@physto.se>
16895 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16896 (defaultLayout): Do kerning.
16897 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16898 (getKerning): Correct class name, removed unused variable.
16900 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16902 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16903 libqtpeer.so unconditionally.
16905 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16907 * java/util/InputMismatchException.java:
16910 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16912 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16914 2006-06-07 Roman Kennke <kennke@aicas.com>
16916 * javax/swing/plaf/basic/BasicTreeUI.java
16917 (completeUIUninstall): Implemented.
16918 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16919 editing before uninstalling anything.
16920 (isToggleEvent): Implemented.
16921 (selectPathForEvent): Make use of isToggleEvent().
16922 (ComponentHandler.componentMoved): Implemented.
16923 (ComponentHandler.startTimer): Implemented.
16924 (ComponentHandler.getScrollPane): Implemented.
16925 (ComponentHandler.actionPerformed): Implemented.
16927 2006-06-07 Francis Kung <fkung@redhat.com>
16929 * javax/swing/JMenuBar.java:
16930 (getSubElements): Do not return null values.
16932 2006-06-07 Roman Kennke <kennke@aicas.com>
16935 * gnu/regexp/BacktrackStack.java
16936 * gnu/regexp/CharIndexed.java
16937 * gnu/regexp/CharIndexedCharArray.java
16938 * gnu/regexp/CharIndexedCharSequence.java
16939 * gnu/regexp/CharIndexedInputStream.java
16940 * gnu/regexp/CharIndexedString.java
16941 * gnu/regexp/CharIndexedStringBuffer.java
16942 * gnu/regexp/RE.java
16943 * gnu/regexp/REException.java
16944 * gnu/regexp/REFilterInputStream.java
16945 * gnu/regexp/REMatch.java
16946 * gnu/regexp/REMatchEnumeration.java
16947 * gnu/regexp/RESyntax.java
16948 * gnu/regexp/REToken.java
16949 * gnu/regexp/RETokenAny.java
16950 * gnu/regexp/RETokenBackRef.java
16951 * gnu/regexp/RETokenChar.java
16952 * gnu/regexp/RETokenEnd.java
16953 * gnu/regexp/RETokenEndOfPreviousMatch.java
16954 * gnu/regexp/RETokenEndSub.java
16955 * gnu/regexp/RETokenIndependent.java
16956 * gnu/regexp/RETokenLookAhead.java
16957 * gnu/regexp/RETokenLookBehind.java
16958 * gnu/regexp/RETokenNamedProperty.java
16959 * gnu/regexp/RETokenOneOf.java
16960 * gnu/regexp/RETokenPOSIX.java
16961 * gnu/regexp/RETokenRange.java
16962 * gnu/regexp/RETokenRepeated.java
16963 * gnu/regexp/RETokenStart.java
16964 * gnu/regexp/RETokenWordBoundary.java
16965 * gnu/regexp/UncheckedRE.java
16966 * gnu/java/util/regex/BacktrackStack.java
16967 * gnu/java/util/regex/CharIndexed.java
16968 * gnu/java/util/regex/CharIndexedCharArray.java
16969 * gnu/java/util/regex/CharIndexedCharSequence.java
16970 * gnu/java/util/regex/CharIndexedInputStream.java
16971 * gnu/java/util/regex/CharIndexedString.java
16972 * gnu/java/util/regex/CharIndexedStringBuffer.java
16973 * gnu/java/util/regex/RE.java
16974 * gnu/java/util/regex/REException.java
16975 * gnu/java/util/regex/REFilterInputStream.java
16976 * gnu/java/util/regex/REMatch.java
16977 * gnu/java/util/regex/REMatchEnumeration.java
16978 * gnu/java/util/regex/RESyntax.java
16979 * gnu/java/util/regex/REToken.java
16980 * gnu/java/util/regex/RETokenAny.java
16981 * gnu/java/util/regex/RETokenBackRef.java
16982 * gnu/java/util/regex/RETokenChar.java
16983 * gnu/java/util/regex/RETokenEnd.java
16984 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16985 * gnu/java/util/regex/RETokenEndSub.java
16986 * gnu/java/util/regex/RETokenIndependent.java
16987 * gnu/java/util/regex/RETokenLookAhead.java
16988 * gnu/java/util/regex/RETokenLookBehind.java
16989 * gnu/java/util/regex/RETokenNamedProperty.java
16990 * gnu/java/util/regex/RETokenOneOf.java
16991 * gnu/java/util/regex/RETokenPOSIX.java
16992 * gnu/java/util/regex/RETokenRange.java
16993 * gnu/java/util/regex/RETokenRepeated.java
16994 * gnu/java/util/regex/RETokenStart.java
16995 * gnu/java/util/regex/RETokenWordBoundary.java
16996 * gnu/java/util/regex/UncheckedRE.java
16997 Moved gnu.regexp classes to gnu.java.util.regex package.
16998 * java/util/regex/Matcher.java
16999 * java/util/regex/Pattern.java
17000 Adjusted import statements for new package name for gnu regexp.
17002 2006-06-07 Tom Tromey <tromey@redhat.com>
17004 PR classpath/27905:
17005 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
17006 Added missing charsets.
17007 (charsetForName): Don't check 'extendedLoaded'.
17009 2006-06-07 Roman Kennke <kennke@aicas.com>
17012 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17013 (clip(Shape)): Implemented correctly, so that the current shape
17014 gets intersected by the parameter shape.
17016 2006-06-07 Lillian Angel <langel@redhat.com>
17018 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17019 (getTabBounds): If this method is called with a tab index
17020 that is not in the rects array, we need to re-layout the container
17023 2006-06-07 Lillian Angel <langel@redhat.com>
17025 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17026 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
17027 * java/lang/String.java
17028 (codePointCount): Fixed check to match API. Shouldn't throw exception
17029 if end == count. end is 1 more than the endIndex, so end == count is
17032 2006-06-07 Gary Benson <gbenson@redhat.com>
17035 * native/jni/java-io/java_io_VMFile.c
17036 (Java_java_io_VMFile_toCanonicalForm): New method.
17037 * configure.ac: Added checks for lstat and readlink.
17038 * include/java_io_VMFile.h: Added new method.
17039 * vm/reference/java/io/VMFile.java: Use new method.
17040 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
17041 * NEWS: Documented the above.
17042 * java/io/File.java: Javadoc fix.
17044 2006-06-07 Roman Kennke <kennke@aicas.com>
17047 * javax/swing/JTree.java
17048 (JTree()): Initialize with default model.
17049 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17050 on the updateUI() / setModel() order.
17051 (setModel): Correctly (un-)setup the listeners. Clear the expanded
17053 * javax/swing/plaf/basic/BasicTreeUI.java
17054 (BasicTreeUI()): Initialize listeners in installListeners().
17055 (setModel): Complete editing on model change. Correctly resetup
17056 the listeners. Update the layout cache accordingly.
17057 (setShowRootHandles): Complete editing and update layout. Do not
17058 call back into the JTree, this could cause cycles.
17059 (prepareForUIInstall): Implemented. Moved some init code from
17060 installUI() to this method.
17061 (completeUIInstall): Implemented. Moved some init code from
17062 installUI() to this method.
17063 (createDefaultCellEditor): Check for type of renderer, and install
17064 with null renderer when not DefaultTreeCellRenderer.
17065 (updateLayoutCacheExpandedNodes): Added null check for tree root
17067 (updateRenderer): Call updateEditor().
17068 (installListeners): Initialize the listeners here. Added some null
17069 checks to avoid NPEs.
17070 (installUI): Moved some init code to prepareForUIInstall() and
17071 completeUIInstall().
17072 (completeEditing): Return immediately if editing component is null
17073 or if the setting is to not stop editing on complete editing.
17074 (checkForClickInExpandControl): Call handleExpandControlClick()
17075 instead of toggleExpandState() directly.
17076 (isLocationInExpandControl): Rewritten to correctly determine the
17077 expand click location.
17078 (MouseHandler.mousePressed): Rewritten to make better use of the
17079 instance methods of BasicTreeUI to handle the click.
17080 (PropertyHandler.propertyChange): Handle model and cell renderer
17082 * javax/swing/tree/DefaultTreeCellEditor.java
17083 (DefaultTreeCellEditor): Removed initialization of the icon. This
17084 is done so that the constructor can deal with null renderer as the
17085 RI does. Maybe this needs more fixing.
17086 * javax/swing/tree/TreePath.java
17087 (isDescendant): Fixed this method. The previous version did too
17088 much and compared the wrong things, which lead to a ClassCastException
17090 * javax/swing/tree/VariableHeightLayoutCache.java
17091 (update): Do nothing when model is null.
17092 (setModel): Clear the tables and update the layout. Added null
17093 check to prevent NPE.
17095 2006-06-07 Sven de Marothy <sven@physto.se>
17097 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17099 2006-06-07 Sven de Marothy <sven@physto.se>
17101 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17102 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17103 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17106 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17107 (getGlyphVector): Removed native method.
17108 (createGlyphVector, getStringBounds): Use new GV class.
17110 * include/Makefile.am
17111 * native/jni/gtk-peer/Makefile.am
17114 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17116 (getGlyphVector): Removed native method.
17118 2006-06-07 Chris Burdess <dog@gnu.org>
17120 * gnu/classpath/debug/TeeInputStream.java,
17121 gnu/classpath/debug/TeeOutputStream.java,
17122 gnu/classpath/debug/TeeReader.java,
17123 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17124 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17125 read more characters than absolutely necessary in tryRead method.
17127 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
17129 * examples/gnu/classpath/examples/swing/Demo.java:
17130 (mkMenuBar): Put look and feel radio buttons into
17131 appropriate button group.
17133 2006-06-07 Chris Burdess <dog@gnu.org>
17135 * gnu/xml/stream/SAXParser.java,
17136 gnu/xml/stream/XMLParser.java: Add command line options for setting
17137 parsing parameters (for simpler debugging).
17138 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17139 closing output stream is propagated to application.
17141 2006-06-06 Mark Wielaard <mark@klomp.org>
17144 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17145 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17146 call disposeSurface.
17147 (disposeSurface): New native method.
17148 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17149 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17152 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17153 cairo_pattern_destroy.
17154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17155 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17156 New function to destroy the surface.
17157 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17158 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17159 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17161 2006-06-06 Mark Wielaard <mark@klomp.org>
17163 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17166 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17168 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17169 (paint): If has focus, paint special background color,
17170 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17171 (FocusHandler.focusGained): Implemented,
17172 (FocusHandler.focusLost): Implemented.
17174 2006-06-06 Tom Tromey <tromey@redhat.com>
17176 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17178 (writeAttributeSet): Implemented.
17180 2006-06-06 Tom Tromey <tromey@redhat.com>
17182 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17184 (SpecialAction.end): Removed.
17185 (IsindexAction.end): Likewise.
17187 2006-06-06 Tom Tromey <tromey@redhat.com>
17189 * include/jni.h (JDK1_1InitArgs): New struct.
17190 (JDK1_1AttachArgs): Likewise.
17192 2006-06-06 Tom Tromey <tromey@redhat.com>
17194 * java/security/UnresolvedPermission.java (getUnresolvedType): New
17196 (getUnresolvedName): New method.
17197 (getUnresolvedActions): New method.
17198 (getUnresolvedCerts): New method.
17200 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17202 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17203 (getColor): Removed debugging code.
17205 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17207 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17208 (getColor): Added support for "rgb(red, green, blue)" notation.
17209 (translateTag): Use Boolean.TRUE, not new Boolean().
17211 2006-06-06 Roman Kennke <kennke@aicas.com>
17214 * javax/swing/JTree.java
17215 (JTree(TreeModel)): Call updateUI() before setModel().
17216 (setModel): Don't call updateUI here.
17218 2006-06-06 Lillian Angel <langel@redhat.com>
17220 * native/plugin/gcjwebplugin.cc:
17221 Fixed failure message and commenting.
17222 (NP_Initialize): Added more comments.
17224 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17226 * javax/swing/JSplitPane.java
17227 (AccessibleJSplitPane): API doc fixes,
17228 (setDividerLocation): Likewise,
17229 * javax/swing/plaf/basic/BasicLookAndFeel.java
17230 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17231 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17232 (getInputMap): New method,
17233 (getActionMap): New method,
17234 (createActionMap): New method,
17235 (installKeyboardActions): Implemented,
17236 (uninstallKeyboardActions): Implemented.
17238 2006-06-06 Roman Kennke <kennke@aicas.com>
17241 * javax/swing/MenuSelectionManager.java
17242 (processKeyEvent): Added check to avoid
17243 ArrayIndexOutOfBoundsException.
17245 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17247 * gnu/javax/swing/text/html/htmlAttributeSet.java
17248 (getAttributeNames): Rewritten
17250 2006-06-06 Chris Burdess <dog@gnu.org>
17252 * gnu/xml/transform/TransformerImpl.java: Check type of created
17253 document (more cases).
17255 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17257 * gnu/javax/swing/text/html/htmlAttributeSet.java
17258 (clone): New method. (copyAttributes): New method.
17259 (getResolveParent): Comment fix. (getAttribute):
17260 Rewritten. (addAttribute): Rewritten.
17261 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17264 2006-06-06 Roman Kennke <kennke@aicas.com>
17267 * javax/swing/JMenuBar.java
17268 (processKeyBindingHelper): Added null check to prevent NPE.
17270 2006-06-06 Roman Kennke <kennke@aicas.com>
17272 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17273 (ShowSystemMenuAction): New class.
17274 (installKeyboardActions): Implemented.
17275 (uninstallKeyboardActions): Implemented.
17276 * javax/swing/plaf/metal/MetalInternalFrameUI.java
17277 (installKeyboardActions): Overridden to remove showSystemMenu action.
17279 2006-06-06 Chris Burdess <dog@gnu.org>
17281 * gnu/xml/transform/TransformerImpl.java: Check type of created
17284 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17286 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17287 (getScreenDevices): Added explicit cast.
17289 2006-06-06 Roman Kennke <kennke@aicas.com>
17291 * javax/swing/plaf/basic/BasicTextUI.java
17292 (installKeyboardActions): Use shared input map. Correctly
17293 install the input/action maps in the component's input/action
17295 (getActionMap): New helper method for fetching an ActionMap from
17296 the UIManager or creating a default one if there is none supplied
17298 (createActionMap): Add the TransferHandler's actions here. Made
17300 (getInputMap): Leave out unnecessary method parameter. Load
17302 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17304 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17306 * configure.ac: Added missing [ to expression.
17308 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17310 * configure.ac: Added missing { to expression.
17312 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17314 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17315 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17316 * include/Makefile.am: Added
17317 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17318 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17319 (GdkGraphicsConfiguration): Rewritten.
17320 (getColorModel): Rewritten.
17321 (getColorModel(int)): Rewritten.
17322 (getBounds): Rewritten.
17323 (createCompatibleVolatileImage): Implemented.
17324 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17326 (getDefaultScreenDevice): Rewritten.
17327 (nativeGetDefaultScreenDevice): New method.
17328 (getScreenDevices): Rewritten.
17329 (nativeGetScreenDevices): New method.
17330 (nativeInitState): New method.
17331 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17333 (X11DisplayMode): New inner class.
17334 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17335 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17336 * native/jni/gtk-peer/gdkdisplay.h: New file.
17337 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17338 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17340 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17342 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17343 _nativeGetScreenDevices):
17345 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17346 _nativeGetDefaultScreenDevice):
17348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17350 * configure.ac: Added check for Xrandr library.
17352 2006-06-06 Roman Kennke <kennke@aicas.com>
17354 * javax/swing/plaf/basic/BasicTableUI.java
17355 (getMaximumSize): Don't return null. Fixed calculation of
17357 (getMinimumSize): Don't return null. Fixed calculation of
17359 (getPreferredSize): Fixed calculation of with and height. Added
17361 (getHeight): New helper method.
17363 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17365 * javax/swing/JComponent.java
17366 (getInputMap(int)): Throw IllegalArgumentException for unknown
17367 condition argument, and added API docs,
17368 (getInputMap()): Added API docs.
17370 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
17372 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17374 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
17376 * javax/swing/JTable.java
17377 (AccessibleJTableHeaderCell.header): New field,
17378 (AccessibleJTableHeaderCell.columnIndex): Likewise,
17379 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17380 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17381 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17382 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17383 (AccessibleJTable.getAccessibleChild(int)): Overridden,
17384 (AccessibleJTable.getAccessibleAt): Reimplemented.
17386 2006-06-05 Sven de Marothy <sven@physto.se>
17388 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17389 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17390 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17391 (initFromVolatile): New method.
17392 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17393 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17395 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17396 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17397 (copyArea, drawVolatileImage): New methods.
17399 2006-06-05 Tania Bento <tbento@redhat.com>
17401 * javax/swing/JFrame.java
17402 (frameInit): Set background color and fixed layout parameters.
17404 2006-06-05 Tom Tromey <tromey@redhat.com>
17406 * NEWS: Mention VMURLConnection.
17408 2006-06-05 Lillian Angel <langel@redhat.com>
17410 * native/plugin/gcjwebplugin.cc:
17411 Added new field to keep track of initialization.
17412 (plugin_start_appletviewer): Fixed to return an error value, if
17413 an error was encountered when loading the appletviewer.
17414 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17416 (plugin_failed): New helper function. Shows a warning if the appletviewer
17417 has not been installed.
17418 (NP_Initialize): Added code to make sure this function is only called
17421 2006-06-05 Lillian Angel <langel@redhat.com>
17423 * native/plugin/Makefile.am:
17424 Fixed to use a set plugin directory in the .mozilla directory.
17425 All applet logs are now stored here, instead of /tmp.
17426 * native/plugin/gcjwebplugin.cc:
17427 Added new fields for security warning.
17428 (GCJ_NEW): Added code to generate a security warning for all pages
17429 that spawn an appletviewer. This warning asks the user if they trust
17430 the applet and if they would like to add it to a 'whitelist'. This
17431 whitelist keeps track of all the addresses the user would like
17432 to trust indefinitely.
17433 (plugin_user_trusts_documentbase): New helper function.
17434 (plugin_add_documentbase_to_whitelist): New helper function.
17435 (plugin_ask_user_about_documentbase): New helper function.
17436 (plugin_in_pipe_callback): Fixed check to determine if channel_error
17438 (plugin_start_appletviewer): Likewise.
17439 (plugin_create_applet_tag): Reset all fields to null after they have been
17441 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
17442 if channel_error has been set.
17443 (plugin_stop_appletviewer): Likewise.
17444 (NP_Initialize): Likewise. Also, added code to determine if directory and file
17447 2006-06-05 Francis Kung <fkung@redhat.com>
17450 * gnu/java/awt/peer/gtk/GtkImage.java
17451 (getSource): Added check to determine if in
17452 errorLoading state.
17453 * gnu/java/awt/peer/gtk/GtkToolkit.java
17454 (createImage): Added check to prevent NPE.
17456 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17458 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17459 Create the ImageView, when applicable.
17460 * gnu/javax/swing/text/html/CombinedAttributes.java,
17461 javax/swing/text/html/ImageView.java: New files.
17463 2006-06-05 Roman Kennke <kennke@aicas.com>
17466 * javax/swing/text/GapContent.java
17467 (setPositionsInRange): Compare with startIndex and endIndex
17468 rather than start and end.
17469 (dumpMarks): Only dump real marks.
17471 2006-06-05 Sven de Marothy <sven@physto.se>
17473 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17474 (ComponentGraphics): Use 0,0 as clip origin.
17476 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17478 * java/util/Formattable.java,
17479 * java/util/FormattableFlags.java,
17480 * java/util/Formatter.java:
17483 2006-06-04 Tom Tromey <tromey@redhat.com>
17485 * javax/naming/Context.java (list): Genericized.
17486 (listBindings): Likewise.
17487 * javax/naming/Reference.java (addrs): Genericized.
17488 * javax/naming/InitialContext.java (myProps): Fixed type.
17489 (init): Genericized.
17491 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17493 * java/util/DuplicateFormatFlagsException.java,
17494 * java/util/FormatFlagsConversionMismatchException.java,
17495 * java/util/FormatterClosedException.java,
17496 * java/util/IllegalFormatCodePointException.java,
17497 * java/util/IllegalFormatConversionException.java,
17498 * java/util/IllegalFormatException.java,
17499 * java/util/IllegalFormatFlagsException.java,
17500 * java/util/IllegalFormatPrecisionException.java,
17501 * java/util/IllegalFormatWidthException.java,
17502 * java/util/MissingFormatArgumentException.java,
17503 * java/util/MissingFormatWidthException.java,
17504 * java/util/UnknownFormatConversionException.java,
17505 * java/util/UnknownFormatFlagsException.java:
17508 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17510 * java/lang/System.java:
17511 (getenv()): Handle cases where split only
17512 returns an array of size 1.
17514 2006-06-04 Sven de Marothy <sven@physto.se>
17516 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17517 (createVolatileImage): Pass peer to VolatileImage constructor.
17518 * java/awt/Component.java
17519 (createVolatileImage): Call peer method directly.
17521 2006-06-04 Sven de Marothy <sven@physto.se>
17523 * gnu/java/awt/peer/gtk/CairoSurface.java
17524 (getFlippedBuffer): New method.
17525 (getGtkImage): Renamed method.
17526 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17527 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17528 Renamed getSharedImage to getGtkImage.
17529 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17530 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17531 (getFlippedBuffer): New method
17532 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17533 Avoid window casts.
17534 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17536 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17537 (drawVolatile): Add casts.
17538 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17539 (getOutline): Add casts.
17540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17541 Comment out unused prototype.
17542 (getPixels): Add appropriate cast and comment out unused variable.
17544 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17546 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17547 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17548 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17549 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17550 (getSystemInstance): Fix javadoc @link.
17551 (counter): Increased visibility.
17552 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17553 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17554 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17555 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17556 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17557 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17558 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17559 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17560 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17561 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17562 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17563 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17564 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17565 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17566 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17567 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17568 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17569 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17570 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17571 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17572 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17573 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17574 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17575 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17576 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17577 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17578 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17579 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17580 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17581 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17582 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17584 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17586 * gnu/java/security/PolicyFile.java: Updated copyright year.
17587 (logger): Increased visibility.
17588 * gnu/java/security/x509/Util.java: Updated copyright year.
17589 (hexDump): Fix javadoc @link.
17590 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17591 Removed unused import.
17592 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17593 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17594 * gnu/java/security/util/ExpirableObject.java: Likewise.
17595 (destroy): Likewise.
17596 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17597 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17598 Updated copyright year.
17599 (checkCRL): Fix javadoc @param.
17601 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17603 * java/lang/annotation/IncompleteAnnotationException.java:
17606 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17608 * java/lang/ProcessBuilder.java:
17610 (environment): Create as a copy.
17611 * java/lang/System.java:
17612 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17614 (EnvironmentMap.put(String,String)): Override superclass
17615 method with checks for nulls and non-Strings.
17617 2006-06-02 Sven de Marothy <sven@physto.se>
17619 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17620 (cairoPreserveClip, cairoResetClip): New methods.
17621 (setClip, clip): Reimplement.
17622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17623 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17624 (cairoPreserveClip, cairoResetClip): New methods.
17626 2006-06-02 Sven de Marothy <sven@physto.se>
17628 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17629 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17632 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17633 (drawImage): Overloads for VolatileImage drawing.
17634 (drawVolatile): New method.
17635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17636 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17637 (drawVolatile): New method.
17638 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17639 Unstub implementation.
17640 * include/Makefile.am
17641 * native/jni/gtk-peer/Makefile.am
17643 * native/jni/gtk-peer/gtkpeer.h
17646 2006-06-03 Roman Kennke <kennke@aicas.com>
17649 * javax/swing/plaf/basic/BasicTextUI.java
17650 (damageRange): Added null check to avoid NPE.
17652 2006-06-03 Roman Kennke <kennke@aicas.com>
17654 * javax/swing/text/PlainView.java
17655 (updateDamage): Check for valid longestLine and initialize if
17658 2006-06-03 Mark Wielaard <mark@klomp.org>
17660 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17663 2006-06-02 Sven de Marothy <sven@physto.se>
17666 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17667 (copyArea): Implement.
17668 (copyAreaImpl, getRealBounds): New methods.
17669 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17670 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17671 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17672 (copyAreaImpl, getRealBounds): Implement.
17673 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17674 (nativeCopyArea): Reimplement.
17676 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17678 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17679 (XTEST_LIBS): New, substitute.
17680 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17682 2006-06-02 Roman Kennke <kennke@aicas.com>
17685 * javax/swing/text/PlainView.java
17686 (updateDamage): Rewritten for correct repainting and revalidating.
17687 (findLongestLine): New helper method.
17688 (getLineLength): New helper method.
17690 2006-06-02 Sven de Marothy <sven@physto.se>
17692 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17693 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17695 (nativeCopyArea): Change stride parameter to use # of ints.
17696 (setPixels): Add checks.
17697 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17698 (ComponentGraphics): Set background, clip.
17699 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17700 (Cairographics2D): Don't set clip.
17701 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17704 2006-06-02 Lillian Angel <langel@redhat.com>
17707 * java/awt/DefaultKeyboardFocusManager.java
17708 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17709 to get the focused window.
17711 2006-06-01 Miriam Schuster <schmir11@web.de>
17713 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17714 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17716 2006-06-02 Roman Kennke <kennke@aicas.com>
17718 * javax/swing/JTable.java
17719 (columnSelectionChanged): Don't return when there's only one
17720 column (might still need repainting). Correctly calculate
17722 (valueChanged): Use return value of SwingUtilities.computeUnion
17725 2006-06-01 Keith Seitz <keiths@redhat.com>
17727 From Martin Platter <motse@complang.tuwien.ac.at>:
17728 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17729 (executeSet): Fix buffer underflow reading reference ID.
17730 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17731 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17732 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17733 (executeSuperclass): Handle case of Object with ID zero.
17735 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17737 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17738 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17739 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17740 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17741 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17742 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17743 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17744 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17745 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17746 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17747 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17749 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17751 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17752 (Command): Add the shutdown hook.
17753 (doCommand): Remove the shutdown hook.
17754 (ShutdownHook): New class.
17756 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17758 * tools/jarsigner.in: Use @VM_BINARY@.
17759 * tools/keytool.in: Likewise.
17761 2006-06-01 Sven de Marothy <sven@physto.se>
17763 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17764 (setColor): Update the cairo paint.
17766 2006-06-01 Mark Wielaard <mark@klomp.org>
17768 * java/util/logging/LogManager.java (createInstance): Always add
17769 original exception on warning.
17771 2006-06-01 Lillian Angel <langel@redhat.com>
17773 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17774 (prependCodebase): Fixed check. No dirname was ever considered to
17775 be a file, so every applet fell into the if-statement causing a lot
17776 of classloading problems with the applets.
17778 2006-06-01 Sven de Marothy <sven@physto.se>
17780 Patch submitted by Boris Dusek.
17781 * native/jni/qt-peer/qtmenupeer.cpp
17784 2006-06-01 Roman Kennke <kennke@aicas.com>
17786 * javax/swing/JTable.java
17787 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17788 why the behaviour is like it is.
17789 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17790 (AccessibleJTableHeader): New inner class.
17791 (AccessibleJTableHeaderCell): New inner class.
17792 (AccessibleJTable.lastSelectedRow): New field.
17793 (AccessibleJTable.lastSelectedColumn): New field.
17794 (AccessibleJTable.caption): New field.
17795 (AccessibleJTable.summary): New field.
17796 (AccessibleJTable.rowDescriptions): New field.
17797 (AccessibleJTable.columnDescriptions): New field.
17798 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17799 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17800 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17801 (AccessibleJTable.addAccessibleSelection): Implemented.
17802 (AccessibleJTable.removeAccessibleSelection): Implemented.
17803 (AccessibleJTable.clearAccessibleSelection): Implemented.
17804 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17805 (AccessibleJTable.valueChange): Implemented.
17806 (AccessibleJTable.tableRowsInserted): Implemented.
17807 (AccessibleJTable.tableRowsDeleted): Implemented.
17808 (AccessibleJTable.handleRowChange): New helper method.
17809 (AccessibleJTable.columnAdded): Implemented.
17810 (AccessibleJTable.columnMarginChanged): Implemented.
17811 (AccessibleJTable.columnMoved): Implemented.
17812 (AccessibleJTable.columnRemoved): Implemented.
17813 (AccessibleJTable.columnSelectionChanged): Implemented.
17814 (AccessibleJTable.handleColumnChange): New helper method.
17815 (AccessibleJTable.editingCanceled): Implemented.
17816 (AccessibleJTable.editingStopped): Implemented.
17817 (AccessibleJTable.getAccessibleRow): Implemented.
17818 (AccessibleJTable.getAccessibleColumn): Implemented.
17819 (AccessibleJTable.getAccessibleIndex): Implemented.
17820 (AccessibleJTable.getAccessibleCaption): Implemented.
17821 (AccessibleJTable.setAccessibleCaption): Implemented.
17822 (AccessibleJTable.getAccessibleSummary): Implemented.
17823 (AccessibleJTable.setAccessibleSummary): Implemented.
17824 (AccessibleJTable.getAccessibleRowCount): Implemented.
17825 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17826 (AccessibleJTable.getAccessibleAt): Implemented.
17827 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17828 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17829 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17830 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17831 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17832 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17833 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17834 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17835 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17836 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17837 (AccessibleJTable.isAccessibleSelected): Implemented.
17838 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17839 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17840 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17841 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17842 (getAccessibleContext): Register listeners for the accessibility
17843 class on the JTable.
17845 2006-06-01 Sven de Marothy <sven@physto.se>
17847 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17848 (setPaint): Scale +1 pixel larger.
17850 2006-06-01 Sven de Marothy <sven@physto.se>
17853 * gnu/java/awt/Buffers.java (getData): Reimplement.
17854 * gnu/java/awt/peer/gtk/CairoSurface.java
17855 (getElem, setElem): Call native methods.
17857 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17859 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17861 2006-06-01 Sven de Marothy <sven@physto.se>
17863 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17864 (drawImage): Check for zero size.
17865 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17866 (setFont): Declare new native method.
17867 (GdkTextLayout): Read some attributes.
17868 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17869 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17870 (setFont): New native method.
17872 2006-06-01 Sven de Marothy <sven@physto.se>
17874 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17875 (updateBufferedImage): Fix some errors.
17877 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17879 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17881 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17882 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17883 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17884 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17885 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17886 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17887 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17888 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17889 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17890 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17892 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17894 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17895 * javax/swing/JEditorPane.java: Likewise,
17896 * javax/swing/JFormattedTextField.java: Likewise,
17897 * javax/swing/JLayeredPane.java: Likewise,
17898 * javax/swing/JScrollPane.java: Likewise,
17899 * javax/swing/JSlider.java: Likewise,
17900 * javax/swing/JSpinner.java: Likewise,
17901 * javax/swing/JTree.java: Likewise,
17902 * javax/swing/JViewport.java: Likewise,
17903 * javax/swing/UIDefaults.java: Likewise,
17904 * javax/swing/UIManager.java: Likewise.
17906 2006-06-01 Sven de Marothy <sven@physto.se>
17908 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17909 (BufferedImageGraphics): Cache surfaces.
17910 (updateBufferedImage): Copy directly for certain color models.
17911 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17912 (drawImage): Reimplement.
17914 2006-06-01 Sven de Marothy <sven@physto.se>
17916 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17917 (setPixels): Don't swap, correct size.
17919 2006-05-31 Anthony Green <green@redhat.com>
17922 * java/net/InetSocketAddress.java: Defer getting the host
17923 name until somebody calls InetSocketAddress.getHostName().
17924 Fix "represenation" typo.
17926 2006-06-01 Sven de Marothy <sven@physto.se>
17928 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17929 (updateBufferedImage): Simplify.
17930 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17931 (getPixels): Don't swap.
17933 2006-06-01 Sven de Marothy <sven@physto.se>
17935 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17936 (setGradient): Reimplement.
17938 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17940 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17941 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17943 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17944 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17945 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17946 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17949 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17951 * javax/swing/table/JTableHeader.java
17952 (getColumnHeaderRenderer): New method,
17953 (getAccessibleColumnHeaderRenderer): Delegate part to new
17954 getColumnHeaderRenderer() method,
17955 (getLocale): Implemented.
17957 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17959 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17960 (cp_gtk_grab_current_drawable): Rename
17961 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17962 cp_gtk_grab_current_drawable, remove static declaration.
17963 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17965 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17967 Remove prototype of
17968 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17969 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17971 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17972 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17973 cp_gtk_grab_current_drawable here.
17975 2006-05-31 Sven de Marothy <sven@physto.se>
17977 Should fix PR 27835
17978 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17979 (updateBufferedImage): Keep within image bounds.
17981 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17982 Andreas Tobler <a.tobler@schweiz.ch>
17984 * configure.ac: Check for libXrender when the GTK peers are
17985 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17987 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17988 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17989 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17991 2006-05-31 Lillian Angel <langel@redhat.com>
17993 * javax/swing/plaf/basic/BasicProgressBarUI.java
17994 (paintString): Implemented to paint the string vertically.
17996 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17998 * javax/swing/JTable.java
17999 (AccessibleJTable.AccessibleJTable()): Check for null editor,
18000 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
18002 (AccessibleJTable.getAccessibleTable()): Likewise,
18003 (getAccessibleContext): Create new context if required.
18005 2006-05-31 Roman Kennke <kennke@aicas.com>
18007 * javax/swing/JTabbedPane.java
18008 (AccessibleJTabbedPane.stateChanged): Implemented.
18009 (Page.getAccessibleStateSet): Implemented.
18010 (Page.getAccessibleIndexInParent): Implemented.
18011 (getAccessibleContext): Add AccessibleJTabbedPane object
18012 as ChangeListener to the JTabbedPane.
18014 2006-05-31 Roman Kennke <kennke@aicas.com>
18016 * javax/swing/JMenuItem.java
18017 (getAccessibleContext): Register accessible object as ChangeListener
18019 (AccessibleJMenuItem.armed): New field.
18020 (AccessibleJMenuItem.focusOwner): New field.
18021 (AccessibleJMenuItem.pressed): New field.
18022 (AccessibleJMenuItem.selected): New field.
18023 (stateChanged): Implemented.
18025 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
18027 * javax/swing/ListSelectionModel.java: Added API docs all over.
18029 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18031 * examples/gnu/classpath/examples/swing/FillRect.java
18032 (paintComponent): Optionally paint lines rather than rectangles.
18033 (createContent): Added option to test line painting.
18035 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
18037 * javax/swing/event/EventListenerList.java
18038 (getListenerList): Updated API docs.
18040 2006-05-30 Sven de Marothy <sven@physto.se>
18042 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18043 (drawImage): Clip scaled image to dest rectangle.
18045 2006-05-30 Sven de Marothy <sven@physto.se>
18047 * gnu/java/awt/peer/gtk/CairoSurface.java:
18048 (CairoSurface): Convert pixels properly.
18049 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18050 Remove commented-out lines.
18052 2006-05-30 Sven de Marothy <sven@physto.se>
18054 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18055 (drawImage): Use Toolkit to convert to BufferedImage.
18056 * gnu/java/awt/peer/gtk/CairoSurface.java
18057 (CairoSurface(GtkImage)): New Constructor.
18058 (getBufferedImage): New method.
18059 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18060 Don't fill background - FIXME.
18061 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18062 Remove unused methods.
18063 * gnu/java/awt/peer/gtk/GtkImage.java:
18064 (pixbuflock): New field. Methods change to use this lock.
18065 * gnu/java/awt/peer/gtk/GtkToolkit.java
18066 (createImage): Use Cairo-backed surfaces via GtkImage instead of
18068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18069 (setPixels): Correct length in bytes.
18071 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18073 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18074 System.loadLibrary unconditionally.
18075 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18076 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18077 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18078 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18080 2006-05-30 Mark Wielaard <mark@klomp.org>
18082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18083 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18084 Mark unused parameters, remove unused variables.
18086 2006-05-30 Sven de Marothy <sven@physto.se>
18088 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18089 (copyArea): Implemented.
18090 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18091 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18092 (copyAreaNative): New method.
18094 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
18096 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18097 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18098 for non big endian systems.
18099 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18101 2006-05-30 Roman Kennke <kennke@aicas.com>
18103 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18104 * java/awt/TexturePaint.java
18105 (createContext): Implemented.
18107 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18109 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18112 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18114 * java/awt/Container.java:
18115 (removeAll): Reimplemented, added note.
18117 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
18119 * java/awt/Container.java:
18120 (removeAll): Implemented different removal mechanism, added note.
18122 2006-05-30 Lillian Angel <langel@redhat.com>
18125 * java/awt/Component.java:
18126 (translateEvent): Added handling to translate WindowEvents
18127 * java/awt/Window.java:
18128 Removed unneeded imports.
18130 2006-05-30 Mark Wielaard <mark@klomp.org>
18132 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18135 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
18137 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18139 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18141 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18142 (clearRect): Do not reuse the fg field, call updateColor.
18143 (drawRaster): Likewise.
18144 (setColor): Call updateColor.
18145 (updateColor): New method.
18147 2006-05-30 Mark Wielaard <mark@klomp.org>
18149 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18150 (PTR_TO_JLONG): Likewise.
18151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18152 (getPointer): Use new conversion macros.
18153 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18155 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18157 (setNativeObject): Likewise.
18158 (getNativeObject): Likewise.
18159 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18160 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18162 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18163 Correctly cast XID and pointer values.
18164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18165 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18166 Mark unused variables.
18167 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18170 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18171 Remove unused cairographics2d struct.
18172 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18173 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18174 Use new conversion macros.
18175 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18177 2006-05-30 Mark Wielaard <mark@klomp.org>
18179 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18181 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18183 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18184 (copy): Do not reuse the fd field.
18185 (setColor): Do not set the color if the parameter
18187 (translate(double, double): Rewritten to use
18188 AffineTransform.translate.
18190 2006-05-30 Sven de Marothy <sven@physto.se>
18192 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18193 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18194 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18196 * include/Makefile.am
18197 * native/jni/gtk-peer/Makefile.am
18199 * gnu/java/awt/peer/gtk/CairoSurface.java
18200 (getSharedGtkImage): New method.
18201 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18204 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18205 Support a non-xrender context.
18206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18208 * gnu/java/awt/peer/gtk/GtkImage.java
18209 * include/gnu_java_awt_peer_gtk_GtkImage.h
18210 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18211 (initFromBuffer): New method.
18212 * native/jni/gtk-peer/gtkpeer.h:
18213 Remove declarations of previouslyremoved methods.
18215 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
18217 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18219 2006-05-29 Mark Wielaard <mark@klomp.org>
18221 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18222 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18224 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18225 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18226 early. Remove unused return statement in void function.
18227 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18229 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18230 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18232 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18233 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18235 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18238 2006-05-29 Sven de Marothy <sven@physto.se>
18240 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18241 (setPixels): Remove superfluous return statement.
18243 2006-05-29 Sven de Marothy <sven@physto.se>
18245 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18246 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18247 * gnu/java/awt/peer/gtk/CairoSurface.java
18248 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18249 * gnu/java/awt/peer/gtk/ComponentGraphics.java
18250 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18251 * include/gnu_java_awt_peer_gtk_CairoSurface.h
18252 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18253 * native/jni/gtk-peer/cairographics2d.h
18254 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18255 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18258 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18260 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18263 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18264 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18265 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18266 (releasePeerGraphicsResource): Moved to Font peer class.
18268 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18269 (createGraphics): Use new context classes.
18271 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18272 Use native BufferedImages where possible.
18274 * gnu/java/awt/peer/gtk/GdkTextLayout.java
18275 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18276 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18277 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18278 renamed to cairoDrawGdkTextLayout.
18280 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18281 (getGraphics): Use ComponentGraphics context.
18282 (createImage): Use native BufferedImage.
18284 * gnu/java/awt/peer/gtk/GtkImage.java:
18285 * include/gnu_java_awt_peer_gtk_GtkImage.h
18286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18287 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18288 Remove drawing methods.
18290 * gnu/java/awt/print/JavaPrinterGraphics.java:
18291 Use CairoSurface instead of GtkImage.
18293 * include/Makefile.am
18294 * native/jni/gtk-peer/Makefile.am
18295 Update for new files.
18297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18299 Remove superfluous GtkImage code for GdkPixmaps.
18301 * native/jni/gtk-peer/gtkpeer.h
18302 Remove graphics2d structure.
18304 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18306 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18307 Do not reuse fg in the constructor.
18309 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
18311 * java/io/ObjectStreamConstants.java: Added API docs.
18313 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18315 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18316 Take no action if this color is already set.
18318 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18320 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18322 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18323 Optionally paint with translation. (createContent): Added option
18324 to test painting with translation
18326 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
18328 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18329 pattern to the default value when null.
18330 Pass field pattern, and not parameter with same name to createFileStream.
18332 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
18334 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18335 New class implementing the OS bean.
18336 * gnu/java/lang/management/package.html:
18337 New file to document the gnu.java.lang.management package.
18338 * java/lang/management/ManagementFactory.java:
18339 New class to provide access to the OS bean.
18340 * java/lang/management/OperatingSystemMXBean.java:
18342 * java/lang/management/package.html:
18343 New file to document the java.lang.management package.
18345 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18347 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18350 (SECURITY): Likewise.
18351 (CACERTS): Likewise.
18352 (CACERTS_GKR): Likewise.
18353 (gkrCaCertsPathName): New field.
18354 (jksCaCertsPathName): Likewise.
18355 (selfSignedCertificate): Likewise.
18356 (start): Initialize trusted certificate key stores if -trustcacerts is
18358 (ensureReplyIsOurs): Initialize selfSignedCertificate.
18359 (orderChain): Implemented.
18360 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18361 certificate key stores if -trustcacerts option is specified.
18362 (findTrustInCACerts): Removed.
18363 (getCertPathParameters): New method.
18364 (validate): New method.
18365 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18367 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18369 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18370 (PATTERN_KEY): Likewise.
18371 (DEFAULT_PATTERN): Likewise.
18372 (LIMIT_KEY): Likewise.
18373 (DEFAULT_LIMIT): Likewise.
18374 (COUNT_KEY): Likewise.
18375 (DEFAULT_COUNT): Likewise.
18376 (APPEND_KEY): Likewise.
18377 (DEFAULT_APPEND): Likewise.
18378 (FileHandler()): Use pattern value as set in logging.properties.
18379 Use constants defined above.
18380 (FileHandler(1)): Use constants defined above.
18381 (FileHandler(2)): Likewise.
18382 (FileHandler(3)): Likewise.
18383 (FileHandler(4)): Likewise.
18384 (createFileStream): Likewise.
18386 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18388 * java/util/logging/FileHandler.java: Reverted previous patch.
18389 * java/util/logging/LogManager.java: Likewise.
18391 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
18393 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18394 (DEFAULT_PATTERN): Likewise.
18395 (FileHandler()): Use configured pattern property if any; otherwise use a
18396 default value as per RI documentation.
18397 * java/util/logging/LogManager.java (getStringProperty): New method.
18399 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18401 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18403 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
18405 * configure.ac (FOUND_CACAO): New automake conditional.
18406 Add --enable-tool-wrappers.
18407 * NEWS: Introduce the --enable-tool-wrappers option.
18408 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18409 * tools/appletviewer.c: Remove file. Make tool-indepedent and
18411 * tools/toolwrapper.c: New file.
18413 2006-05-27 Dalibor Topic <robilad@kaffe.org>
18415 * java/awt/Graphics2D.java: Use full class name for
18416 PrinterJob in javadoc.
18418 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
18420 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18421 (callMouseMethod): Likewise.
18423 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18425 * native/jni/java-net/java_net_VMURLConnection.c:
18426 Fix function declarations to specify unused parameters.
18427 * scripts/check_jni_methods.sh:
18428 Remove copies of the same function using uniq.
18430 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
18432 * vm/reference/java/net/VMURLConnection.java:
18433 Make package-private and final.
18435 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18437 * examples/gnu/classpath/examples/swing/TableDemo.java
18438 (TModed): Added editor for the icons column.
18439 (createContent): Increase the row height by 2 px.
18441 2006-05-26 Tom Tromey <tromey@redhat.com>
18443 PR classpath/27685:
18444 * java/math/BigInteger.java (modPow): Correctly handle negative
18447 2006-05-26 Tom Tromey <tromey@redhat.com>
18449 * configure.ac: Check for magic.h and -lmagic.
18450 * vm/reference/java/net/VMURLConnection.java: New file.
18451 * include/java_net_VMURLConnection.h: New file.
18452 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18453 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18454 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18456 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18457 * native/jni/java-net/java_net_VMURLConnection.c: New file.
18459 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18461 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18463 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18465 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18466 libjawtgnu.la libjawt.la.
18468 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18470 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18473 2006-05-25 Lillian Angel <langel@redhat.com>
18476 * java/awt/Window.java
18477 (Window): Moved code to helper.
18478 (addWindowFocusListener): New function. Handles focus
18479 listener code. Added code to handle focus lost/gained
18482 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18485 Make pkg-config check for GTK+ >= 2.8.
18487 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18489 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18490 (flush): Remove debugging printfs.
18492 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18494 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18495 (schedule_flush): New function.
18496 (end_drawing_operation): Call schedule_flush.
18498 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18500 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18501 paint performance demo.
18502 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18504 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18506 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18507 Cairo version requirement. Do not mention --enable-gtk-cairo
18509 * NEWS: Add entry for GdkGraphics2D.
18510 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18511 Cairo library and headers.
18512 * .externalToolBuilders/Configure.launch: Remove
18513 --enable-gtk-cairo from configure line.
18514 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18516 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18517 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18518 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18519 useGraphics2D references. Always assume Graphics2D is enabled.
18520 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18521 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18522 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18523 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18524 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18525 useGraphics2D references. Always assume Graphics2D is enabled.
18526 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18527 Graphics2D check. Always assume Graphics2D is enabled.
18528 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18529 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18530 (realize): Remove method.
18531 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18532 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18533 (isRealized): Remove method.
18534 (realize): Implement as a native method. Remove useGraphics2D
18535 references. Always assume Graphics2D is enabled.
18536 * gnu/java/awt/peer/gtk/GtkImage.java,
18537 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18538 GdkGraphics references with GdkGraphics2D references.
18539 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18540 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18541 useGraphics2D references. Always assume Graphics2D is enabled.
18542 * include/Makefile.am (GTKPEER_H_FILES): Remove
18543 gnu_java_awt_peer_gtk_GdkGraphics.h.
18544 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18545 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18546 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18547 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18548 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18549 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18550 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18551 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18552 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18553 (AM_LDFLAGS): Remove CAIRO_LIBS.
18554 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18555 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18557 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18559 2006-05-25 Lillian Angel <langel@redhat.com>
18561 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18562 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18563 Added check to prevent assertion error. If widget->window is null, then
18564 use the parent widget's window to set the cursor on.
18566 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18568 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18571 2006-05-24 Lillian Angel <langel@redhat.com>
18573 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18574 (prependCodeBase): Added check to determine if the documentbase
18575 points to a directory or a file.
18577 2006-05-24 Sven de Marothy <sven@physto.se>
18579 * java/awt/dnd/DragGestureRecognizer.java
18580 (resetRecognizer): Implement.
18581 (fireDragGestureRecognized): Implement.
18583 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18585 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18586 fixed source code formatting.
18588 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18590 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18592 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18594 Reported by Antony Balkisson.
18595 * javax/swing/JTable.java (selectAll): Return without action
18596 if the table is empty.
18598 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18600 * examples/gnu/classpath/examples/swing/TableDemo.java:
18601 (SliderCell): New inner class. (setCustomEditors,
18602 setInformativeHeaders): New fields. (createContent):
18604 * javax/swing/DefaultCellEditor.java
18605 (JComboBoxDelegate.shouldSelectCell): New method.
18606 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18607 * javax/swing/plaf/basic/BasicTableUI.java
18608 (MouseInputHandler.mouseClicked): Start editing on a single
18609 click if the cell editor is not a default cell editor.
18611 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18613 * javax/swing/naming/CompositeName.java,
18614 javax/swing/naming/CompoundName.java:
18617 2006-05-23 Archie Cobbs <archie@dellroad.org>
18619 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18622 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18624 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18625 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18626 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18627 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18628 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18629 * javax/swing/tree/ExpandVetoException.java: Likewise,
18630 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18631 * javax/swing/tree/RowMapper.java: Likewise,
18632 * javax/swing/tree/TreeNode.java: Likewise,
18633 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18634 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18636 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18638 * javax/swing/tree/DefaultTreeCellRenderer.java
18639 (DefaultTreeCellRenderer): Changed key for
18640 setBackgroundNonSelectionColor(),
18641 plus API docs all over.
18643 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18646 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18647 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18648 Initialise in constructor. (columnMoved): Cancel editing.
18649 (createDefaultEditors): Rewritten. (editCellAt):
18650 Just invert the value if this is a boolean cell.
18651 (initialiseLocalVars): Do not initialise renderer and editor tables.
18652 (setUI): Create editors and renderers here.
18654 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18656 * examples/gnu/classpath/examples/awt/Demo.java:
18657 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18658 instance as subframe.
18659 (ResolutionWindow): New inner class.
18660 (FullscreenWindow): New inner class.
18662 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18665 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18666 Set horizontal alignment to centered.
18668 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18670 * javax/accessibility/AccessibleContext.java
18671 (getAccessibleComponent): Fixed typo in docs,
18672 * javax/swing/JLabel.java:
18673 (AccessibleJLabel.getAccessibleName): Check for explicit
18675 * javax/swing/JTableHeader.java
18676 (AccessibleJTableHeaderEntry.columnIndex): New field,
18677 (AccessibleJTableHeaderEntry.parent): New field,
18678 (AccessibleJTableHeaderEntry.table): New field,
18679 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18681 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18683 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18684 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18685 (AccessibleJTableHeaderEntry.contains): Implemented,
18686 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18687 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18688 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18689 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18690 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18691 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18692 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18693 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18694 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18695 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18696 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18697 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18698 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18699 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18700 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18701 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18702 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18703 (AccessibleJTableHeaderEntry.getFont): Implemented,
18704 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18705 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18706 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18707 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18708 (AccessibleJTableHeaderEntry.getSize): Implemented,
18709 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18710 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18711 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18712 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18713 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18714 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18716 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18717 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18718 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18719 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18720 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18721 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18722 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18723 (AccessibleJTableHeaderEntry.setFont): Implemented,
18724 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18725 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18726 (AccessibleJTableHeaderEntry.setSize): Implemented,
18727 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18728 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18729 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18730 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18731 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18733 2006-05-22 Tom Tromey <tromey@redhat.com>
18737 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18739 * javax/swing/JLabel.java
18740 (AccessibleJLabel.getAccessibleName): New method (override),
18741 (setLabelFor): Fire 'labelFor' property change event before other
18744 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18746 * javax/swing/JLabel.java
18747 (AccessibleJLabel.getAccessibleRole): New method (override).
18749 2006-05-22 Tom Tromey <tromey@redhat.com>
18751 * resource/gnu/classpath/tools/serialver/messages.properties: New
18753 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18754 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18756 (classpath): Likewise.
18759 (addFileURL): New method.
18760 (getClassLoader): Likewise.
18761 (printMessage): Likewise.
18763 2006-05-22 Tom Tromey <tromey@redhat.com>
18765 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18767 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18769 * javax/swing/JTable.java (doLayout): In the column
18770 resize mode, only repaing the changed part of the table.
18771 (getLeftResizingBoundary): New method.
18773 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18775 * javax/naming/spi/InitialContextFactory.java,
18776 javax/naming/spi/InitialContextFactoryBuilder.java,
18777 javax/naming/spi/NamingManager.java,
18778 javax/naming/spi/ObjectFactory.java,
18779 javax/naming/spi/ResolveResult.java,
18780 javax/naming/spi/Resolver.java,
18781 javax/naming/spi/StateFactory.java: Documented.
18783 2006-05-21 Tom Tromey <tromey@redhat.com>
18785 PR classpath/27688:
18786 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18788 (initSet): Removed.
18789 (shouldExtract): Removed.
18791 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18792 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18795 (allItems): New field.
18796 (run): Initialize it.
18799 2006-05-22 Sven de Marothy <sven@physto.se>
18801 * java/nio/CharBuffer.java
18802 (wrap): Fix bounds checking.
18804 2004-08-26 Tom Tromey <tromey@redhat.com>
18806 * java/io/OutputStream.java
18807 (OutputStream): Implements Closeable, Flushable.
18809 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18811 * java/io/ObjectOutputStream.java:
18812 (writeObject(Object)): Added enum support.
18813 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18814 * java/io/ObjectStreamClass.java:
18815 (isEnum()): New package-private method.
18816 (setFlags(Class)): Added enum support.
18817 * java/io/ObjectStreamConstants.java:
18820 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18822 * java/io/ObjectInputStream.java:
18823 (parseContent(byte)): Added enum support.
18824 * java/io/ObjectStreamConstants.java:
18826 (TC_MAX): Changed to new maximum, TC_ENUM.
18828 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18830 * java/beans/beancontext/BeanContextSupport.java:
18831 (instantiateChild(String)): Implemented.
18833 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18835 * java/beans/beancontext/BeanContextSupport.java:
18836 (add(Object)): Add further documentation.
18837 (isEmpty()): Documented.
18838 (propertyChange(PropertyChangeEvent)): Implemented.
18839 (remove(Object)): Documented.
18840 (remove(Object,boolean)): Documented and implemented.
18841 (vetoableChange(PropertyChangeEvent)): Marked as
18842 implemented (only subclasses appear to need this).
18844 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18846 * java/beans/beancontext/BeanContextSupport.java:
18847 (add(Object)): Implement support for the child being
18848 a BeanContextChild.
18849 (avoidingGui()): Implemented.
18850 (dontUseGui()): Likewise.
18851 (needsGui()): Likewise.
18852 (okToUseGui()): Likewise.
18854 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18856 * javax/naming/Context.java,
18857 javax/naming/ContextNotEmptyException.java,
18858 javax/naming/Reference.java: Documented.
18860 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18862 * javax/swing/text/html/MinimalHTMLWriter.java
18863 (writeComponent, writeImage): Declare that the method
18864 may throw the IOException.
18866 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18869 * javax/naming/InitialContext.java (colon_list): Changed type to
18870 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18871 (merge): Rewritten.
18873 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18875 * javax/naming/InitialContext.java: Documented.
18877 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18879 * javax/naming/NameParser.java,
18880 javax/naming/NamingEnumeration.java,
18881 javax/naming/PartialResultException.java,
18882 javax/naming/SizeLimitExceededException.java,
18883 javax/naming/spi/ObjectFactory.java,
18884 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18886 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18888 * gnu/java/net/loader/JarURLLoader.java:
18889 Use Map.Entry instead of LinkedHashMap.Entry
18891 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18893 * javax/naming/Context.java: Documented.
18895 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18897 * javax/naming/Referenceable.java: Documented.
18898 * javax/naming/spi/NamingManager.java: Documented.
18900 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18902 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18903 to messages.properties.
18904 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18905 Renamed to messages.properties.
18906 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18908 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18909 Renamed from MessageBundle.properties.
18910 Added copyright notice.
18911 * resource/gnu/classpath/tools/keytool/messages.properties:
18913 * tools/gnu/classpath/tools/jarsigner/Messages.java
18914 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18915 (getFormattedString): Fixed a spelling mistake.
18916 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18918 2006-05-20 Sven de Marothy <sven@physto.se>
18920 * gnu/java/awt/font/opentype/NameDecoder.java
18922 (getName): Use getShort instead of getChar(), fix PS name.
18923 (decodeName): New method.
18924 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18925 (getSubFamilyName): Implement.
18926 (getPostScriptName): Use the NameDecoder class instead.
18927 (parsePSName): Removed.
18930 2006-05-20 Sven de Marothy <sven@physto.se>
18932 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18933 (getTrueTypeTable): New native method.
18934 (getPostScriptName): Reimplement.
18935 (parsePSName): New method.
18936 (getNumGlyphs): Implement.
18937 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18938 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18939 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18940 New function. File is now explicitly dependent on FT2.
18942 2006-05-20 Tom Tromey <tromey@redhat.com>
18944 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18945 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18947 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18948 (HandleFile): New class.
18949 (input, output, encoding, reversed): New fields.
18950 (createParser): New method.
18953 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18954 (notifyFile): Throws OptionException.
18956 2006-05-20 Tom Tromey <tromey@redhat.com>
18958 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18961 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18963 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18964 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18967 2006-05-20 Sven de Marothy <sven@physto.se>
18969 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18971 2006-05-20 Sven de Marothy <sven@physto.se>
18973 * gnu/java/awt/print/JavaPrinterJob.java
18974 (print): Use PostScriptGraphics2D.
18975 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18977 2006-05-20 Sven de Marothy <sven@physto.se>
18979 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18981 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18983 * gnu/java/security/OID.java: Updated copyright year.
18984 (OID): Removed unused Javadoc param tag.
18985 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18986 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18988 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18990 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18992 Added trace/debug statements.
18993 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18994 Entry. Also ensure that any previous entry for this alias is removed
18995 before a new one is added.
18996 (engineGetKey): Do not trace/log passwords.
18997 Trace key's class name only.
18998 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18999 Certificate Entry. Also ensure that previous entry for this alias is
19000 removed before a new one is added.
19001 (engineLoad): Do not trace/log passwords.
19002 (engineStore): Likewise.
19003 (engineSize): Use size of enumeration instead of collection size.
19005 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
19007 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
19008 (toString): New method.
19009 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
19010 Do not trace/log passwords.
19011 Set masked to false before decoding envelope.
19012 Do not set payload to null.
19013 (encrypt): Set masked to true.
19014 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
19015 Do not trace/log passwords.
19016 Set masked to false before decoding envelope.
19017 Do not set payload to null.
19018 Added trace/debug statements.
19019 (authenticate): Do not trace/log passwords.
19020 Set masked to true.
19021 Added trace/debug statements.
19022 (getMac): Added trace/debug statements.
19023 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
19024 (remove(String)): Changed the signature to return a boolean.
19025 (toString): New method.
19026 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
19028 (getCertificate): Likewise.
19029 (putCertificate): Likewise.
19031 Do not trace/log passwords.
19033 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
19034 Do not trace/log passwords.
19035 Added more trace/logging statements.
19036 (putPrivateKey): Do not trace/log passwords.
19037 Trace only key's class name.
19039 (containsPublicKey): Formatting.
19040 (getPublicKey): Likewise.
19041 Trace only key's class name.
19042 (putPublicKey): Trace only key's class name.
19043 (containsCertPath): Formatting.
19044 (getCertPath): Likewise.
19045 (putCertPath): Likewise.
19046 (load): Do not trace/log passwords.
19049 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19050 (add): Do not set payload to null.
19051 Added trace/debug statements.
19052 (containsAlias): Added trace/debug statements.
19054 (remove(Entry)): Likewise.
19055 (remove(String)): Likewise.
19056 Changed the signature to return a boolean.
19057 Do not set payload to null unless really removed.
19058 (toString): New method.
19059 (decodeEnvelope): Clear entries before proceeding.
19060 (makeAliasList): Added trace/debug statements.
19061 Ensure only non-null aliases and alias-lists are added.
19062 * gnu/javax/crypto/keyring/Entry.java (log): New field.
19063 (TYPES): New constant.
19064 (toString): New method.
19065 (defaultDecode): Add trace/debug statement.
19067 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
19069 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19070 Increased visibility.
19071 (setup): Do not trace/log passwords.
19072 (parsed): Was not setting correct (rfc) field; fixed.
19073 (print1Chain): Formatting.
19074 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19075 Do not trace/log passwords.
19076 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19077 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19078 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19079 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19080 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19081 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19082 (orderChain): Added FIXME.
19083 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19084 Do not trace/log passwords.
19085 Removed commented out code.
19086 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19087 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19088 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19089 (setKeystoreURLParam): Likewise.
19090 (setKeystorePasswordParam): Do not trace/log passwords.
19091 (saveKeyStore): Likewise.
19093 2006-05-19 Roman Kennke <kennke@aicas.com>
19095 * gnu/java/awt/java2d/AbstractGraphics2D.java
19097 (pixel): Removed obsolete field.
19098 (draw(Shape)): Removed commented out code.
19099 (drawImage): Formatting.
19100 (drawString): Added optimization hook.
19101 (setPaint): Removed rawSetForeground().
19102 (getFontRenderContext): Return context with correct transform.
19103 (drawGlyphVector): Draw complete outline in one go.
19104 (copyArea): Added optimization hook.
19105 (clearRect): Added optimization hook.
19106 (drawImage): Added optimization hook.
19107 (fillShape): (Temporarily) Set antialiasing off by default for
19108 font rendering. Adjust the shape by some bits to improve rendering.
19109 Pass clip bounds to the render methods.
19110 (drawPixel): Removed.
19111 (rawSetPixel): Removed.
19112 (rawSetForeground): Removed.
19113 (rawDrawLine): Default impl calls standard pipeline.
19114 (rawDrawString): New method, calls standard pipeline for rendering.
19115 (rawClearRect): New method, calls standard pipeline for rendering.
19116 (rawFillRect): New method, calls standard pipeline for rendering.
19117 (rawDrawImage): New method, calls standard pipeline for rendering.
19118 (rawCopyArea): New method.
19119 (copyAreaImpl): New method.
19120 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19122 (fillShapeAntialias): Fixed AA rendering.
19123 (fillScanlineAA): Fixed AA rendering.
19124 (getSegments): Take offset into account.
19126 2006-05-19 Sven de Marothy <sven@physto.se>
19128 * javax/swing/text/AbstractWriter.java
19129 (getText): Fix parameters (start, length) not (start, end).
19131 2006-05-19 Tom Tromey <tromey@redhat.com>
19133 PR classpath/27444:
19134 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19135 Changed return type.
19136 * java/net/URLClassLoader.java (urlloaders): Removed.
19137 (addURLImpl): Updated.
19138 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19139 (indexSet): Likewise.
19140 (classPath): Changed type.
19141 (JarURLLoader): New constructor.
19142 (initialize): New method.
19143 (getResource): Use index set if it exists.
19144 (getClassPath): Updated.
19145 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19146 (prefixes): New field.
19147 (headers): Removed.
19148 (IndexListParser): Fill in prefixes.
19149 (clearAll): Clear prefixes.
19150 (getHeaders): Changed return type.
19152 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19154 * javax/swing/plaf/basic/BasicTableHeaderUI.java
19155 (MouseInputHandler.mouseExitted): No nothing there.
19156 (MouseInputHandler.endDragging): Move column to the
19157 first/last position if released outside the horizontal
19160 2006-05-19 Lillian Angel <langel@redhat.com>
19162 * java/awt/font/GlyphVector.java
19163 (getGlyphCharIndex): Implemented.
19164 (getGlyphCharIndices): Implemented.
19165 (getGlyphOutline): Implemented.
19166 (getGlyphVisualBounds): Implemented.
19167 (getGlyphVisualBounds): Implemented.
19168 (getPixelBounds): Implemented.
19169 (getLayoutFlags): Implemented.
19171 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19173 * java/awt/LightweightDispatcher.java: Added field dragButton and
19174 documentation for it.
19175 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19176 added subexpression to if-clause in MOUSE_RELEASED case.
19178 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19180 * javax/swing/metal/MetalButtonUI.java:
19181 (update): Removed some subexpression from if-clause and call
19182 updateWithGradient.
19183 (updateWithGradient): New method.
19185 2006-05-19 Roman Kennke <kennke@aicas.com>
19187 * javax/swing/JComponent.java
19188 (findOverlapFreeParent): Implemented algorithm for finding
19189 overlapping in component hierarchy.
19191 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
19193 * java/lang/Thread.java
19194 (contextClassLoaderIsSystemClassLoader): New field.
19195 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19196 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19197 and set contextClassLoaderIsSystemClassLoader.
19198 (Thread(ThreadGroup,Runnable,String,long)):
19199 Set contextClassLoaderIsSystemClassLoader.
19200 (createAnonymousThreadName): New method.
19201 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19202 and fixed security check.
19203 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19205 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
19207 * javax/swing/plaf/basic/BasicToolBarUI.java:
19208 (createNonRolloverBorder): Rewritten.
19209 (createRolloverBorder): Rewritten.
19210 (setToNonRolloverBorder): Store old border instance in hashtable.
19211 (setToRolloverBorder): Store old border instance in hashtable, use
19212 AbstractButton instead of JButton in statements.
19213 (setBorderToNormal): Rewritten.
19214 * javax/swing/plaf/metal/MetalLookAndFeel.java:
19215 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19216 ToolBar.nonrolloverBorder.
19218 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
19220 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19221 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19223 2006-05-18 Lillian Angel <langel@redhat.com>
19225 * java/awt/font/GlyphMetrics.java
19226 (getLSB): Implemented.
19227 (getRSB): Implemented.
19229 2006-05-18 Lillian Angel <langel@redhat.com>
19231 * java/awt/font/GraphicAttribute.java:
19232 Documented entire class.
19233 (GraphicAttribute): Added check for alignment.
19234 (getBounds): Implemented.
19235 (getJustificationInfo): Implemented.
19237 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19239 * java/awt/LightweightDispatcher.java:
19240 (handleMouseEvent): Added note, added subexpression to if-statement.
19242 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
19244 * javax/swing/plaf/basic/BasicToolBarUI.java:
19245 (navigateFocusedComp): Marked as stub.
19246 (createRolloverBorder): Create a different Border instance, added note.
19247 * javax/swing/plaf/metal/MetalBorders.java:
19248 (ButtonBorder): Added documentation.
19249 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19250 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19251 subexpression into if-else cascade, added note.
19253 2006-05-18 Lillian Angel <langel@redhat.com>
19255 * java/awt/font/ShapeGraphicAttribute.java:
19256 Documented entire class.
19257 (ShapeGraphicAttribute): Initialized bounds field.
19258 (draw): Implemented.
19259 (equals): Implemented.
19260 (getAdvance): Implemented.
19261 (getAscent): Implemented.
19262 (getBounds): Implemented.
19263 (getDescent): Implemented.
19264 (hashCode): Implemented.
19266 2006-05-18 Roman Kennke <kennke@aicas.com>
19268 * javax/swing/CellRendererPane.java
19269 (CellRendererPane): Set CellRendererPane to invisible.
19271 2006-05-18 Roman Kennke <kennke@aicas.com>
19273 * gnu/java/awt/peer/gtk/GdkGraphics.java
19274 (clipRect): Removed old intersection statement.
19276 2006-05-18 Roman Kennke <kennke@aicas.com>
19278 * gnu/java/awt/peer/gtk/GdkGraphics.java
19279 (clipRect): Don't use Rectangle.intersection() to avoid creating
19280 2 unnecessary Rectangle instances and fix a clipping problem.
19281 (computeIntersection): New helper method, adapted from SwingUtilities.
19283 2006-05-18 Roman Kennke <kennke@aicas.com>
19285 * javax/swing/JComponent.java
19286 (isCompletelyDirty): Removed.
19287 (paint): Don't mark children as clean, this is no longer necessary.
19288 (findOverlapFreeParent): Don't stop at Viewports, this breaks
19289 painting when something overlaps the viewport (like a popup/menu).
19290 * javax/swing/RepaintManager.java
19291 (currentRepaintManagers): Made package private to avoid accessor
19293 (dirtyComponents): Made private.
19294 (dirtyComponentsWork): Made private.
19295 (markCompletelyDirty): Fixed bounds of dirtyrect to be
19296 component-local not parent-local. Do not set flag in JComponent.
19297 (markCompletelyClean): Don't set JComponent flag.
19298 (isCompletelyDirty): Rewritten to return true when the complete
19299 component is marked dirty.
19300 (paintDirtyRegions): Improved parent-merging so that the merged-in
19301 components don't get painted too. 'Outsourced' the compilation
19302 of the repaint root components.
19303 (compileRepaintRoots): New helper method.
19305 2006-05-18 Roman Kennke <kennke@aicas.com>
19308 * javax/swing/text/GapContent.java
19309 (GapContentPosition(int)): Use adapted binarySearch method to
19310 allow for having a greater array than number of entries.
19311 (numMarks): New field, holds the end of the marks list.
19312 (GapContent): Initialize positionMarks with size of 10 instead of 0.
19313 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19314 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19315 (setPositionsInRange): Changed signature to narrow the purpose and
19316 special cases inside. Reimplemented to crunch together equal marks.
19317 (adjustPositionsInRange): Added assertion to make sure we do
19318 not accidentally change the order of the mark. Added some debug
19319 output for a special case of which I don't know if it even exists.
19320 (resetMarksAtZero): Made impl simpler.
19321 (dumpMarks): New debug helper method.
19322 (insertMark): Grow array in bigger chunks to avoid excessive copying.
19323 (binarySearch): New method. An adaption of Arrays.binarySearch()
19324 that allows for an maxIndex parameter.
19326 2006-05-18 Roman Kennke <kennke@aicas.com>
19328 * javax/swing/KeyboardManager.java
19329 (topLevelLookup): Use WeakHashMap to avoid memory leak.
19331 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
19333 * gnu/java/net/loader/JarURLLoader.java
19334 (JarURLLoader): Use a slightly more efficient URL constructor.
19336 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
19338 * gnu/java/awt/print/JavaPrinterGraphics.java
19339 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19340 (drawImage(Image, int, int, ImageObserver)): Likewise,
19341 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19342 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19343 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
19344 ImageObserver)): Likewise,
19345 (drawImage(Image, int, int, int, int, int, int, int, int,
19346 ImageObserver)): Likewise.
19348 2006-05-17 Tom Tromey <tromey@redhat.com>
19350 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19353 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19355 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19356 * javax/swing/border/BevelBorder.java: Likewise,
19357 * javax/swing/border/CompoundBorder.java: Likewise,
19358 * javax/swing/border/TitledBorder.java: Likewise.
19360 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
19362 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19363 * javax/swing/table/DefaultTableModel.java: Likewise,
19364 * javax/swing/table/TableCellEditor.java: Likewise,
19365 * javax/swing/table/TableCellRenderer.java: Likewise.
19367 2006-05-17 Lillian Angel <langel@redhat.com>
19369 * java/awt/font/ImageGraphicAttribute.java:
19370 Documented entire class.
19371 (ImageGraphicAttribute): Changed to call this.
19372 (ImageGraphicAttribute): Implemented.
19373 (draw): Implemented.
19374 (equals): Implemented.
19375 (getAdvance): Implemented.
19376 (getAscent): Implemented.
19377 (getBounds): Implemented.
19378 (getDescent): Implemented.
19379 (hashCode): Implemented.
19380 * javax/swing/text/html/HTMLDocument.java
19381 (create): Removed. Sufficent enough for
19382 super to be called.
19383 (insert): Likewise.
19384 (insertUpdate): Likewise.
19385 (processHTMLFrameHyperlinkEvent): Marked as stub.
19386 (start): Removed FIXME.
19388 (start): Called super.
19389 (end): Called super.
19390 (getElement): removed unneeded code.
19391 (setParagraphAttribute): Removed. Sufficent enough
19392 for super to be called.
19393 (fireChangedUpdate): Likewise.
19394 (fireUndoableEditUpdate): Likewise.
19396 2006-05-17 Lillian Angel <langel@redhat.com>
19398 * java/awt/TexturePaint.java:
19399 Added documentation for class and all functions.
19400 (getTransparency): Implemented.
19402 2006-05-17 Roman Kennke <kennke@aicas.com>
19404 * java/awt/LightweightDispatcher.java
19405 (findTarget): Translate point to child components.
19407 2006-05-17 Roman Kennke <kennke@aicas.com>
19410 * javax/swing/text/GapContent.java
19411 (GapContentPosition): Do no more implement Comparable.
19412 (GapContentPosition.mark): Removed field.
19413 (GapContentPosition.index): New field to hold the index into
19414 the positions array.
19415 (GapContentPosition(int)): Rewritten to use the new indirection
19416 to the positions array.
19417 (GapContentPosition.compareTo): Removed.
19418 (GapContentPosition.getOffset): Synchronized. Fetch mark from
19419 positionMarks array.
19420 (WeakPositionComparator): Removed obsolete class.
19421 (positions): Changed type to WeakHashMap.
19422 (positionMarks): New field, holds the marks of the positions.
19423 (GapContent): Initialize new fields.
19424 (createPosition): Rewritten to use the new indirection
19425 to the positions array.
19426 (getPositionsInRange): Rewritten to use the new indirection
19427 to the positions array.
19428 (setPositionsInRange): Rewritten to use the new indirection
19429 to the positions array.
19430 (adjustPositionsInRange): Rewritten to use the new indirection
19431 to the positions array.
19432 (insertMark): New helper method.
19433 (clearPositionReferences): Removed obsolete methods.
19435 2006-05-17 Lillian Angel <langel@redhat.com>
19437 * java/awt/GraphicsConfiguration.java
19438 (getImageCapabilities): Implemented.
19439 (getBufferCapabilities): Implemented.
19441 2006-05-17 Lillian Angel <langel@redhat.com>
19443 * javax/swing/plaf/basic/BasicSliderUI.java
19444 (focusGained): Implemented.
19445 (focusLost): Implemented.
19446 (paint): Added code to paint the focus.
19447 * javax/swing/plaf/metal/MetalSliderUI.java
19448 (paintThumb): Added code to set the thumbColor.
19449 (paintFocus): Implemented properly.
19451 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19454 * javax/naming/spi/NamingManager.java (getURLContext):
19455 Always search for the factory class in all possible places
19456 and use VMStackWalker.
19457 (forName): New method.
19459 2006-05-17 Roman Kennke <kennke@aicas.com>
19461 * java/awt/LightweightDispatcher.java
19462 (handleMouseEvent): Fixed search algorithm for finding the
19463 mouse event target.
19464 (findTarget): Fixed search algorithm for finding the
19465 mouse event target.
19467 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19469 * javax/naming/spi/NamingManager.java: Documented.
19471 2006-05-17 Mark Wielaard <mark@klomp.org>
19473 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19474 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19475 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19476 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19478 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19481 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19483 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19485 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19487 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19490 * java/awt/LightweightDispatcher.java:
19491 (handleMouseEvent): Moved assignment into switch-block, added notes.
19493 2006-05-16 Lillian Angel <langel@redhat.com>
19495 * javax/swing/text/StyleContext.java:
19496 Changed staticAttributeKeys to be a Hashtable.
19497 (getStaticAttribute): Implemented.
19498 (getStaticAttributeKey): Implemented.
19499 (readAttributeSet): Implemented.
19500 (writeAttributeSet): Added FIXME. Not sure how
19502 (readAttributes): Implemented.
19503 (writeAttributes): Implemented.
19504 (registerStaticAttibuteKey): Fixed to add key to
19507 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19509 * javax/swing/DefaultButtonModel.java
19510 (setGroup): Removed event notification.
19512 2006-05-16 Lillian Angel <langel@redhat.com>
19514 * javax/swing/plaf/basic/BasicComboBoxUI.java
19515 (installKeyboardActions): Implemented.
19516 (uninstallKeyboardActions): Implemented.
19517 * javax/swing/plaf/basic/BasicComboPopup.java
19518 (uninstallKeyboardActions): Removed FIXME. Nothing
19520 (installKeyboardActions): Likewise.
19521 * javax/swing/plaf/basic/BasicTextUI.java
19522 (uninstallKeyboardActions): Implemented.
19523 * javax/swing/plaf/basic/BasicTreeUI.java:
19524 Added field for hashColor.
19525 Marked stub methods.
19526 (getHashColor): Implemented to use field.
19527 (setHashColor): Likewise.
19528 (getRowX): Implemented.
19529 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19531 2006-05-16 Roman Kennke <kennke@aicas.com>
19534 * javax/swing/JTable.java
19535 (rowHeights): New field.
19536 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19537 in order to initialize rowHeights correctly.
19538 (tableChanged): Nullify rowHeights when model changes. Only
19539 create default columns from model when corresponding property
19540 is set. Sync table model with rowHeights as appropriate.
19541 (valueChanged): Call repaint with the correct rectangle.
19542 (rowAtPoint): Handle rowHeights.
19543 (getCellRect): Mostly rewritten. Check for boundaries
19544 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19545 Handle component orientation. Round correctly.
19546 (getRowHeight(int)): Implemented for variable row height.
19547 (setRowHeight(int,int)): Implemented for variable row height.
19548 (setRowHeight(int)): Nullify rowHeights.
19549 (setModel): Notify tableChanged().
19550 * javax/swing/plaf/basic/BasicTableUI.java
19551 (installDefaults): Create rendererPane in installUI.
19552 (installUI): Create and install rendererPane.
19553 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19555 (paint): Correctly handle rowMargin.
19557 2006-05-16 Tom Tromey <tromey@redhat.com>
19559 PR classpath/27563:
19560 * java/text/NumberFormat.java (getIntegerInstance): Use
19561 "integerFormat", not "numberFormat".
19563 2006-05-16 Lillian Angel <langel@redhat.com>
19565 * javax/swing/JPopupMenu.java
19566 (addMenuKeyListener): Implemented.
19567 (removeMenuKeyListener): Implemented.
19568 (getMenuKeyListeners): Implemented.
19569 * javax/swing/ProgressMonitor.java:
19570 Added new protected field.
19571 (getAccessibleContext): Implemented.
19573 2006-05-16 Lillian Angel <langel@redhat.com>
19575 * javax/swing/JFileChooser.java:
19576 Added new private field.
19577 (setDragEnabled): Implemented.
19578 (getDragEnabled): Implemented.
19580 2006-05-16 Lillian Angel <langel@redhat.com>
19582 * java/awt/Window.java
19583 (applyResourceBundle): Implemented.
19585 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19587 * javax/swing/DefaultButtonModel.java
19588 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19591 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19593 * javax/swing/JList.java (getSelectedValues):
19594 Ask the value for the indexed array element.
19596 2006-05-16 Roman Kennke <kennke@aicas.com>
19598 * javax/swing/JTable.java
19599 (valueChanged): Also repaint when table has only 1 row. Fixed
19600 repaint rectangle to span the entire changed rows.
19602 2006-05-16 Roman Kennke <kennke@aicas.com>
19605 * javax/swing/JOptionPane.java
19606 (startModal): Rewritten. The events are now dispatched, even
19607 when the event dispatch thread gets blocked by the call
19608 to this method. Also, mouse events get intercepted outside the
19611 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19613 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19614 (BorderListener.mouseDragged):Do not set cursor
19615 if the frame is being dragged.
19617 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19619 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19620 (BorderListener): Rewritten. (InternalFrameBorder):
19621 Made package private.
19622 (InternalFrameBorder.offset):
19623 Renamed to cornerSize, made package private.
19624 (bSize): Made package private.
19626 2006-05-16 Roman Kennke <kennke@aicas.com>
19628 * javax/swing/JMenu.java
19629 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19630 (AccessibleJMenu.getAccessibleChild): Implemented.
19631 (AccessibleJMenu.getAccessibleSelection): Implemented.
19632 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19633 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19634 (AccessibleJMenu.getAccessibleRole): Documented.
19635 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19636 (AccessibleJMenu.addAccessibleSelection): Implemented.
19637 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19638 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19639 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19640 (createPath): New helper method.
19642 2006-05-15 Tom Tromey <tromey@redhat.com>
19644 * java/text/MessageFormat.java (format): Now varargs.
19646 2006-05-15 Tom Tromey <tromey@redhat.com>
19648 * java/lang/Thread.java (State): Fixed typo.
19650 2006-05-15 Tom Tromey <tromey@redhat.com>
19652 * java/net/URLClassLoader.java: Moved inner classes to
19653 gnu.java.net.loader.
19654 (factoryCache): Changed type.
19655 (URL_LOADER_PREFIX): New constant.
19656 (URLClassLoader): Updated for new factoryCache.
19657 (addURLImpl): Use reflection to search for a loader.
19658 (findClass): Use getClass method on URLLoader.
19659 (getURLStreamHandler): Removed.
19660 * gnu/java/net/loader/URLLoader.java: New file, extracted
19661 from URLClassLoader.
19662 * gnu/java/net/loader/Resource.java: Likewise.
19663 * gnu/java/net/loader/FileResource.java: Likewise.
19664 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19665 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19666 * gnu/java/net/loader/JarURLResource.java: Likewise.
19667 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19668 * gnu/java/net/loader/RemoteResource.java: Likewise.
19669 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19671 2006-05-15 Sven de Marothy <sven@physto.se>
19673 * native/target/generic/target_generic_network.h:
19674 Add a pair of parenthesis.
19676 2006-05-15 Mark Wielaard <mark@klomp.org>
19678 * java/awt/Graphics2D.java: Remove PrinterJob import.
19680 2006-05-15 Mark Wielaard <mark@klomp.org>
19682 * doc/www.gnu.org/announce/20060515.wml: New file.
19683 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19684 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19686 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19688 * NEWS: Announce inclusion of gcjwebplugin.
19689 Announce inclusion of appletviewer.
19690 * INSTALL: Note gcjwebplugin dependencies.
19692 2006-05-15 Mark Wielaard <mark@klomp.org>
19694 * configure.ac (VERSION): Set to 0.91-generics.
19696 2006-05-15 Mark Wielaard <mark@klomp.org>
19698 * NEWS: Add release date and VMClassLoader.getBootPackages()
19701 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19703 * README: Added CACAO to list of VMs.
19705 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19707 * javax/swing/RepaintManager.java (paintDirtyRegions):
19708 Break loop as soon as the component repaint is merged
19709 with some parent. (ComponentComparator): Removed.
19710 (comparator): Removed.
19712 2006-05-15 Roman Kennke <kennke@aicas.com>
19714 * javax/swing/border/TitledBorder.java
19715 (paintBorderWithTitle): Fixed indentation.
19717 2006-05-15 Roman Kennke <kennke@aicas.com>
19719 * javax/swing/border/TitledBorder.java
19720 (layoutBorderWithTitle): Fetch border using getBorder() instead
19721 of using the border field directly. Allows for the use of
19722 an UI supplied border in the case when a null border was set.
19723 Fixed component orientation.
19724 (paintBorderWithTitle): Fetch border using getBorder() instead
19725 of using the border field directly. Allows for the use of
19726 an UI supplied border in the case when a null border was set.
19728 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19730 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19731 (contains): New method.
19733 2006-05-15 Tom Tromey <tromey@redhat.com>
19735 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19737 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19740 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19742 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19744 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19745 region. (paintDirtyRegions): Rewritten.
19747 2006-05-15 Tom Tromey <tromey@redhat.com>
19749 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19751 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19753 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19754 (run): Use MessageFormat.
19755 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19756 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19757 (writeFile): Use MessageFormat.
19759 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19761 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19762 instead of directly calling the class loader.
19764 2006-05-15 Tom Tromey <tromey@redhat.com>
19766 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19767 Removed old comment.
19768 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19769 Externalized strings.
19770 (getVersionString): Use MessageFormat.
19771 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19772 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19773 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19774 (getArgument): Use a MessageFormat.
19775 (handleLongOption): Likewise.
19778 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19781 * javax/swing/text/FieldView.java:
19782 (paint): Calculate intersection between clip and allocation area and
19783 set that as new clip.
19785 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19787 * javax/swing/text/JTextComponent.java: Marked stub methods.
19789 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19791 * javax/swing/JTable.java: Marked stub methods.
19793 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19795 * tools/gnu/classpath/tools/jarsigner/Main.java:
19796 Increased visibility of fields used by parser anonymous classes.
19797 (KEYTOOL_TOOL): New constant.
19798 (cmdLineParser): Changed type to ToolParser.
19799 (fileAndAlias): new field.
19800 (main): Don't catch OptionException.
19801 (processArgs): Removed validation checks; now handled by ToolParser.
19802 (getParser): Removed.
19803 (ToolParserCallback): New inner class.
19804 (ToolParser): Likewise.
19806 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19808 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19811 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19813 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19814 endResizingFrame): Do not repaint, unless in the outline mode.
19816 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19818 * javax/swing/JTabbedPane.java
19819 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19820 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19821 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19822 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19823 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19824 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19825 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19826 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19827 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19828 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19829 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19830 (Page.getAccessibleName): Implemented.
19832 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19834 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19835 Do not repaint nor revalidate here.
19837 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19839 * javax/swing/RepaintManager.java (addDirtyRegion):
19840 If there is a lightweight parent, recursively add the corresponding
19841 region of the parent instead.
19843 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19845 * java/awt/Graphics2D.java: Added some API doc comments.
19847 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19849 * javax/swing/JTabbedPane.java
19850 (paramString): Reimplemented,
19851 (getAccessibleContext): Added API docs.
19853 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19855 * javax/swing/JFileChooser.java
19856 (paramString): Reimplemented,
19857 (getAccessibleContext): Updated API docs,
19858 (AccessibleJFileChooser): Added API docs.
19860 2006-05-14 Tom Tromey <tromey@redhat.com>
19862 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19864 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19866 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19868 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19869 validation to JarParser.
19870 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19871 (run): Moved validation to JarParser. Don't throw OptionException.
19872 (initializeParser): Create a JarParser.
19873 (main): Don't catch OptionException.
19874 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19876 (validate): New method.
19877 (parse): Call it. Print '-help' in error message when long-only.
19879 2006-05-14 Tom Tromey <tromey@redhat.com>
19881 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19884 2006-05-15 Sven de Marothy <sven@physto.se>
19886 * gnu/java/awt/print/JavaPrinterGraphics.java:
19887 Sweeping changes I can't be bothered to document in detail.
19888 * gnu/java/awt/print/JavaPrinterJob.java
19889 (getPageAttributes): New method.
19890 (setPageable,cancel,isCancelled): Implement.
19892 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19894 * javax/swing/JCheckBoxMenuItem.java
19895 (requestFocus): Fixed typo in API docs,
19896 (paramString): Just call super.paramString(),
19897 (getAccessibleContext): Added API docs,
19898 (AccessibleJCheckBoxMenuItem): Likewise.
19900 2006-05-14 Tom Tromey <tromey@redhat.com>
19902 * tools/gnu/classpath/tools/jar/Indexer.java
19903 (writeCommandLineEntries): Simplify insertion.
19904 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19907 2006-05-14 Tom Tromey <tromey@redhat.com>
19909 PR classpath/27514:
19910 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19912 (JAR_INDEX_VERSION_KEY): Likewise.
19913 (IndexListParser): Updated.
19914 (getVersionInfo): Likewise.
19915 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19916 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19918 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19920 (ModeOption): New constructor.
19921 (parsed): Updated. Use setArchiveFile.
19922 (setArchiveFile): New method.
19923 (run): Handle no-argument case.
19924 (main): Emit --help message on option error.
19925 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19926 (createManifest): New method.
19927 (run): Updated. Throws OptionException. Correctly copy zip entry.
19928 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19930 (writeManifest): Removed.
19931 (outputStream): Now a JarOutputStream.
19932 (writeCommandLineEntries): Changed parameters. Updated callers.
19933 (run): Throws OptionException.
19934 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19935 * java/util/jar/Manifest.java (read): Typo fix.
19937 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19939 * javax/swing/JMenuItem.java
19940 (paramString): Fixed class name in API doc comment.
19942 2006-05-14 Tom Tromey <tromey@redhat.com>
19944 * native/plugin/.cvsignore: Updated.
19946 2006-05-14 Mark Wielaard <mark@klomp.org>
19948 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19951 2006-05-14 Chris Burdess <dog@gnu.org>
19953 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19954 nodes to be preserved during cloneNode.
19956 2006-05-14 Mark Wielaard <mark@klomp.org>
19959 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19960 inherited timeout on socket.
19962 2006-05-14 Lillian Angel <langel@redhat.com>
19964 * java/util/SimpleTimeZone.java: Reverted patch.
19965 (SimpleTimeZone): Throw exception if startMonth ==
19967 (SimpleTimeZone): Likewise.
19968 (checkRule): Rewritten to properly check all values (more
19970 This code is now more stable, at least less buggy than before.
19971 Fixed API documentation.
19972 (setStartRule): Moved checkRule call to end.
19973 (setStartRule): Likewise.
19974 (setEndRule): Likewise.
19975 (setEndRule): Likewise.
19977 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19979 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19982 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19985 * javax/swing/text/AbstractDocument.java:
19986 (insertString): Flipped if-expression and its blocks.
19988 (replace): Flipped if-expression and its blocks, added note, invoke
19989 insertString and remove instead of insertStringImpl and removeImpl.
19991 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19993 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19995 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19997 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19999 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
20000 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
20001 Increased visibility of fields used by parser anonymous classes.
20002 (processArgs): Removed.
20003 (getParser): New method.
20004 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20005 (setup): Mark (Eclipse) strings that need not be externalised.
20007 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20008 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
20009 command line option parsing.
20010 * tools/gnu/classpath/tools/keytool/ListCmd.java:
20011 Increased visibility of fields used by parser anonymous classes.
20012 (processArgs): Removed.
20013 (setup): set 'all' local field.
20014 (getParser): New method.
20015 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
20016 Increased visibility of fields used by parser anonymous classes.
20017 (processArgs): Removed.
20018 (getParser): New method.
20019 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20020 (setNewKeyPassword): Fixed comments.
20021 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
20022 Increased visibility of fields used by parser anonymous classes.
20023 (processArgs): Removed.
20024 (getParser): New method.
20025 (findTrustInCACerts): Mark (Eclipse) strings that need not be
20027 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
20028 Increased visibility of fields used by parser anonymous classes.
20029 (processArgs): Removed.
20030 (setup): Mark (Eclipse) strings that need not be externalised.
20031 (getParser): New method.
20032 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20033 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
20034 Increased visibility of fields used by parser anonymous classes.
20035 (processArgs): Removed.
20036 (getParser): New method.
20037 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20038 (ATTRIBUTES_OPT): New constant.
20039 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
20040 Increased visibility of fields used by parser anonymous classes.
20041 (processArgs): Removed.
20042 (setup): Mark (Eclipse) strings that need not be externalised.
20044 Reduced logging level.
20045 (getParser): New method.
20046 * tools/gnu/classpath/tools/keytool/Command.java
20047 (processArgs): Made it concrete.
20048 (getParser): New abstract method.
20049 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20051 2006-05-13 Casey Marshall <csm@gnu.org>
20053 Patch by Michael Barker <mike@middlesoft.co.uk>.
20054 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20055 * gnu/java/nio/SelectorImpl.java (register): Added condition for
20056 gnu.java.nio.SocketChannelSelectionKeyImpl.
20057 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20058 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20060 * include/gnu_java_nio_VMChannel.h: new file.
20061 * java/nio/FileChannel.java (read,write): changed to call abstract
20063 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20064 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20065 `gnu_java_nio_VMChannel.c.'
20066 * vm/reference/gnu/java/nio/VMChannel.java: new file.
20068 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
20070 * javax/swing/text/AbstractDocument.java:
20071 (insertString): Flipped if-expression and its blocks.
20073 (replace): Flipped if-expression and its blocks, added note, invoke
20074 insertString and remove instead of insertStringImpl and removeImpl.
20076 2006-05-13 Tom Tromey <tromey@redhat.com>
20078 * java/nio/ByteBufferImpl.java (compact): Always set position.
20080 2006-05-13 Sven de Marothy <sven@physto.se>
20082 * gnu/java/awt/print/JavaPrinterGraphics.java
20083 (spoolPostScript): Use a faster writer.
20085 2006-05-13 Sven de Marothy <sven@physto.se>
20087 * gnu/java/awt/print/JavaPrinterGraphics.java
20088 (colorTripleHex): Reimplement better.
20090 2006-05-13 Sven de Marothy <sven@physto.se>
20092 * javax/swing/text/html/HTMLDocument.java
20093 (CharacterAction.start): Translate tag to StyleAttribute.
20094 (pushCharacterStyle): Push copy of attributes onto stack.
20095 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20098 2006-05-13 Sven de Marothy <sven@physto.se>
20100 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20101 * java/awt/print/PrinterJob.java
20102 (getPrinterJob): Return a JavaPrinterJob
20103 (setPrintService,getPrintService): Implement.
20104 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20105 (getPixels): Gtk_threads_enter required.
20106 * gnu/java/awt/print/JavaPrinterGraphics.java
20107 * gnu/java/awt/print/JavaPrinterJob.java
20108 * gnu/java/awt/print/SpooledDocumet.java:
20111 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20113 * javax/swing/text/TextAction.java:
20114 (HorizontalMovementAction): New inner class.
20115 (VerticalMovementAction): New inner class.
20116 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20117 new inner classes to array 'defaultActions'.
20118 (SelectionBeginWordAction): New inner class.
20119 (SelectionEndWordAction): New inner class.
20120 (BeginWordAction): New inner class.
20121 (EndWordAction): New inner class.
20122 (PreviousWordAction.actionPerformed): Rewritten.
20123 (SelectLineAction): New inner class.
20124 (SelectWordAction): New inner class.
20125 (SelectionDownAction): Rewritten.
20126 (SelectionUpAction): Rewritten.
20127 (DownAction): Rewritten.
20128 (UpAction): Rewritten.
20129 (SelectionForwardAction): Rewritten.
20130 (SelectionBackwardAction): Rewritten.
20131 (ForwardAction): Rewritten.
20132 (BackwardAction): Rewritten.
20133 (BeginAction): New inner class.
20134 (EndAction): New inner class.
20135 (DefaultKeyTypedAction.actionPerformed): Use int variant of
20136 Character.isISOControl.
20138 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20140 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20141 (WordFilter.getNextVisualPositionFrom): Added statement to check
20142 for variable pt not being null.
20144 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
20146 * javax/swing/text/Utilities.java:
20147 (getNextWord): Fixed grammar in exception message.
20148 (getPreviousWord): Changed expression in first if-clause, added sub-
20149 expression to if-clause in while-loop.
20150 (getWordStart): Changed expression in if-clause.
20151 getNextVisualPositionFrom): Added package-private helper method.
20153 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20155 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20158 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
20160 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20162 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20163 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20164 * tools/gnu/classpath/tools/jarsigner/Main.java:
20165 Increased visibility of fields used by parser anonymous classes.
20166 (HELP_PATH): Removed.
20167 (cmdLineParser): New field.
20168 (main): Handle JVM exit status.
20169 Handle command line parsing exceptions.
20170 (processArgs): Use getopt command line parser.
20171 (getParser): New method.
20172 (setupCommonParams): Removed checks now handled by processArgs().
20173 (setupSigningParams): Likewise.
20174 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20175 Reuse an existing message-bundle constant.
20177 2006-05-12 Tom Tromey <tromey@redhat.com>
20179 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20180 Explicitly specify class for synchronization.
20182 2006-05-12 Tom Tromey <tromey@redhat.com>
20184 * java/util/logging/Logger.java (resetLogger): Fixed typo.
20186 2006-05-12 Sven de Marothy <sven@physto.se>
20188 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20189 * gnu/java/net/protocol/http/HTTPURLConnection.java
20190 (setConnectTimeout): New method.
20191 (getConnection): Add timeout parameter.
20192 * java/net/URLConnection.java
20193 (getConnectTimeout, setConnectTimeout): Implement.
20194 * native/target/generic/target_generic_network.h:
20195 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20197 2006-05-12 Sven de Marothy <sven@physto.se>
20199 * gnu/javax/print/CupsServer.java
20200 (CupsServer): Make the Cups host configurable.
20201 * java/lang/System.java: Document the system property.
20203 2006-05-12 Roman Kennke <kennke@aicas.com>
20205 * javax/swing/border/TitledBorder.java
20206 (paintBorder): Rewritten for simplicity and correctness.
20207 (layoutBorderWithTitle): New helper method.
20208 (paintBorderWithTitle): New helper method.
20209 (getBorderInsets): Rewritten.
20210 (getMinimumSize): Rewritten.
20211 (getRealJustification): Removed.
20212 (getMeasurements): Removed.
20213 (Measurements): Removed.
20215 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20217 * javax/swing/plaf/basic/BasicPanelUI.java
20218 (sharedUI): New field,
20219 (createUI): Return a shared instance rather than a new instance,
20220 (installUI): Reformatted and added API docs,
20221 (installDefaults): Install border if one is defined,
20222 (uninstallDefaults): Uninstall border.
20224 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
20226 * javax/swing/JProgressBar.java: Updated API docs all over.
20228 2006-05-11 Lillian Angel <langel@redhat.com>
20230 * java/awt/ContainerOrderFocusTraversalPolicy.java
20231 (getComponentAfter): Should not throw exception if
20232 the ancestor is null. Added a check for this.
20233 Also, changed to use new helper function, we should
20234 iterate through all the components at least once.
20235 (getNextAvailableComponent): New helper function.
20236 (getPrevAvailableComponent): New helper function.
20237 (getComponentBefore): Should not throw exception if
20238 the ancestor is null. Added a check for this.
20239 Also, changed to use new helper function, we should
20240 iterate through all the components at least once.
20241 (getFirstComponent): Changed check to manually check
20242 fields. Calling accept() casts the object to a Component,
20243 so different values may be returned.
20244 (getLastComponent): Likewise.
20246 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20248 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20249 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20250 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20251 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20252 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20253 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20254 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20255 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20256 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20257 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20258 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20259 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20260 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20261 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20262 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20263 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20264 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20265 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20267 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20269 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20270 package-private, added field 'active'.
20271 (PropertyChangeHandler.propertyChange): Added variable 'name', added
20272 cases to update field 'active'.
20273 (mouseDragged): Added documentation, added if-clause to update
20274 selection or caret position.
20275 (mouseClicked): Added early return when text component is disabled.
20276 (focusGained): Moved statements into an if-clause.
20277 (focusLost): Added subexpression to if-clause.
20278 (install): Preset value of 'active'.
20279 (paint): Added subexpression to if-clause.
20280 (isVisible): Extended return expression.
20281 * javax/swing/text/JTextComponent.java:
20282 (copy): Copy only if component is enabled.
20283 (cut): Cut only if component is enabled and editable.
20286 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20288 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20289 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20290 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20291 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20292 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20293 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20294 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
20296 2006-05-11 Roman Kennke <kennke@aicas.com>
20298 * gnu/java/awt/font/GNUGlyphVector.java
20299 (GNUGlyphVector): Don't apply the font renderer context's
20302 2006-05-11 Mark Wielaard <mark@klomp.org>
20304 * java/util/logging/Logger.java (global): Initialize inside static
20307 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20309 * javax/swing/JFrame.java
20310 (EXIT_ON_CLOSE): Added note to API docs,
20311 (close_action): Renamed closeAction,
20312 (JFrame()): Change title to "",
20313 (JFrame(String)): Added API docs,
20314 (getAccessibleContext): Likewise,
20315 (getDefaultCloseOperation): Updated for renamed field, added API docs,
20316 (processWindowEvent): Updated for renamed field,
20317 (setDefaultCloseOperation): Likewise, and updated API docs.
20319 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20321 * javax/swing/JFrame.java
20322 (paramString): Reimplemented,
20323 * javax/swing/SwingUtilities.java
20324 (convertWindowConstantToString): New method.
20326 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20328 * javax/swing/WindowConstants.java: Updated API docs.
20330 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20332 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20333 (createUI): Removed 'final' qualifier for parameter,
20334 (paint): Reformatted.
20336 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20338 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20339 (createUI): Removed 'final' qualifier on method argument.
20341 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20343 * javax/swing/plaf/basic/BasicCheckBoxUI.java
20344 (getDefaultIcon): Removed this redundant method.
20346 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
20348 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20349 (paint): Pass component size to paintFocus().
20351 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20353 * java/awt/Component.java:
20354 (dispatchEventImpl): Added comment.
20356 2006-05-11 Mark Wielaard <mark@klomp.org>
20358 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20359 Option constructor null argument to String.
20361 2006-05-11 Mark Wielaard <mark@klomp.org>
20363 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20364 Fully qualify PathIterator constants
20366 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
20368 * java/awt/Component.java:
20369 (dispatchEventImpl): Added subexpression to if-clause.
20371 2006-05-11 Mark Wielaard <mark@klomp.org>
20373 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20376 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20378 * javax/swing/TransferHandler.java: Marked stub methods.
20380 2006-05-10 Roman Kennke <kennke@aicas.com>
20383 * javax/swing/plaf/basic/BasicInternalFrameUI.java
20384 (installDefaults): Set background of content pane to null, if
20385 no custom color has been installed by the application yet.
20387 2006-05-10 Roman Kennke <kennke@aicas.com>
20390 * javax/swing/JRootPane.java
20391 (createContentPane): Don't set background to null.
20393 2006-05-10 Sven de Marothy <sven@physto.se>
20395 * java/awt/print/PrinterJob.java:
20396 (lookupPrintServices): Un-comment-out.
20398 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
20400 * tools/gnu/classpath/tools/getopt/OptionGroup.java
20401 (FILLER): New constant.
20402 (formatText(PrintStream,String,int)): New method.
20403 (formatText(PrintStream,String,int,Locale)): Likewise.
20404 (printHelp): Use formatText method.
20405 * tools/gnu/classpath/tools/getopt/Parser.java
20406 (MAX_LINE_LENGTH): New constant.
20407 (formatText(PrintStream,String)): New method.
20408 (formatText(PrintStream,String,Locale)): Likewise.
20409 (printHelp): New method.
20410 (printHelp(PrintStream)): Increased visibility to protected.
20411 Use formatText method.
20413 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20415 * javax/swing/plaf/metal/MetalRadioButtonUI.java
20416 (installDefaults): Use getPropertyPrefix() to allow subclasses to
20417 modify the lookup key.
20419 2006-05-10 Lillian Angel <langel@redhat.com>
20421 * java/util/SimpleTimeZone.java: Reverted patch.
20422 (SimpleTimeZone): Throw exception if startMonth ==
20424 (SimpleTimeZone): Likewise.
20425 (checkRule): Rewritten to properly check all values (more
20427 This code is now more stable, at least less buggy than before.
20428 Fixed API documentation.
20429 (setStartRule): Moved checkRule call to end.
20430 (setStartRule): Likewise.
20431 (setEndRule): Likewise.
20432 (setEndRule): Likewise.
20434 2006-05-10 Roman Kennke <kennke@aicas.com>
20436 * gnu/java/awt/peer/swing/SwingComponent.java:
20437 Some API comment fixlets.
20438 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20439 (createImage): Create a BufferedImage, not a Toolkit image.
20440 (paint): Removed bogus API comment.
20441 (prepareImage): Added checks to avoid NPE.
20442 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20443 (getInsets): Added check to avoid NPE.
20444 (handleMouseEvent): Added check to avoid NPE.
20445 * gnu/java/awt/peer/swing/SwingFramePeer.java:
20446 Some API comment fixlets.
20447 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20448 Some API comment fixlets.
20449 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20450 Changed start_pos name to startPos.
20451 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20452 Some API comment fixlets.
20454 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
20456 * java/awt/BasicStroke.java
20457 (equals): Fixed typo in HTML tag for API doc comment.
20459 2006-05-10 Gary Benson <gbenson@redhat.com>
20461 * java/lang/ThreadGroup.java (parent): Make package-private.
20462 * java/lang/SecurityManager.java (checkAccess(Thread)):
20463 Reference ThreadGroup.parent directly to avoid extra checks.
20464 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20467 2006-05-10 Roman Kennke <kennke@aicas.com>
20469 Reported by Ingo Proetel (proetel@aicas.com)
20470 * java/awt/EventDispatchThread.java
20471 (DEFAULT_PRIORITY): New constant field.
20472 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20473 system property for adjusting the priority of the event
20476 2006-05-10 Roman Kennke <kennke@aicas.com>
20478 Reported by Ingo Proetel (proetel@aicas.com)
20479 * java/awt/image/ColorModel.java
20480 (S_RGB_MODEL): New constant field.
20481 (getRGBDefault): Return constant SRGBColorModel.
20482 (SRGBColorModel): Specialized color model for sRGB.
20484 2006-05-10 Roman Kennke <kennke@aicas.com>
20486 * java/awt/ColorPaintContext.java
20487 (getRaster): Create Raster with (0,0) as source location.
20489 2006-05-10 Roman Kennke <kennke@aicas.com>
20491 * gnu/java/awt/java2d/AlphaCompositeContext.java
20492 (compose): Don't premultiply alpha to alpha itself.
20494 2006-05-10 Roman Kennke <kennke@aicas.com>
20496 * gnu/java/awt/java2d/AbstractGraphics2D.java
20497 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20498 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20500 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20501 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20502 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20504 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20505 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20507 (scale): Inverse transform by doing 1/scale instead of -scale.
20508 (drawImage(Image,int,int,ImageObserver)): Implemented.
20509 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20510 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20511 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20512 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20514 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20516 (fillScanline): Work on translated destination raster for
20517 correct compositin.
20518 (init): Fetch the clip after the destination raster is initialized.
20519 * gnu/java/awt/java2d/ImagePaint.java: New file.
20520 * gnu/java/awt/java2d/RasterGraphics
20521 (drawImage): Removed.
20523 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20525 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20526 Clarify option descriptions.
20527 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20528 uppercase for metasyntactic variables.
20530 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20533 * javax/swing/text/AbstractDocument.java:
20534 (insertString): Added more documentation, added argument check.
20535 (remove): Added more documentation.
20536 (removeImpl): Added argument check.
20537 (replace): Added more documentation, added argument check.
20539 2006-05-09 Tom Tromey <tromey@redhat.com>
20541 * tools/.cvsignore: Added appletviewer.
20543 2006-05-09 Tom Tromey <tromey@redhat.com>
20545 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20548 2006-05-09 Tom Tromey <tromey@redhat.com>
20550 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20551 Special case for '-J'. Use space instead of '='.
20552 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20555 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20557 * configure.ac: Add --disable-plugin and --with-vm options. Check
20558 for plugin support headers and libraries.
20559 * native/Makefile.am: Recurse into plugin directory.
20560 * native/plugin/.cvsignore: New file.
20561 * native/plugin/Makefile.am: New file.
20562 * native/plugin/gcjwebplugin.cc: New file.
20563 * tools/Makefile.am: Install appletviewer wrapper script.
20564 * tools/appletviewer.in: Replace VM location heuristic with
20565 VM_BINARY configure substitution.
20567 2006-05-09 Tom Tromey <tromey@redhat.com>
20569 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20570 an initial pass to look for short options. Added 'longOnly' option.
20571 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20573 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20574 options into final group. Added -J.
20575 (add): Insert new groups before final group.
20576 (printHelp): Updated.
20578 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20581 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20582 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20583 Expect -classpath option.
20584 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20585 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20587 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20588 (classLoader): New field. (loadClass, setClassPath):
20591 2006-05-09 Roman Kennke <kennke@aicas.com>
20593 * gnu/java/awt/java2d/RasterGraphics.java
20594 (RasterGraphics): Call init() and super().
20595 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20598 2006-05-09 Gary Benson <gbenson@redhat.com>
20600 * java/lang/Thread.java (Thread): Always perform threadgroup
20601 access checks on thread creation.
20603 2006-05-09 Chris Burdess <dog@gnu.org>
20605 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20606 be preserved during cloneNode.
20608 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20611 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20612 Do not demand all thrown exceptions to be an instance of RemoteException.
20614 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20616 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20617 Use hash-style comments.
20618 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20621 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20623 * javax/swing/JLabel.java
20624 (paramString): Added more attribute details,
20625 * javax/swing/SwingUtilities.java
20626 (convertHorizontalAlignmentCodeToString): New method,
20627 (convertVerticalAlignmentCodeToString): New method.
20629 2006-05-08 Tom Tromey <tromey@redhat.com>
20631 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20632 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20633 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20636 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20638 (run): Use ZipInputStream.
20639 (initSet): New method.
20640 (shouldExtract): Likewise.
20641 (run): Use new methods.
20642 * tools/gnu/classpath/tools/jar/Creator.java
20643 (writeCommandLineEntries): New overload.
20644 (writeFile): Use System.err for verbose.
20645 (writeManifest): New method.
20646 (writtenItems): New field.
20647 (writeFile): Update it.
20648 (writeCommandLineEntries): Return void. Call writeManifest.
20649 (addEntries): Don't add extra '/'.
20650 * NEWS: Mention jar.
20652 2006-05-08 Lillian Angel <langel@redhat.com>
20654 * gnu/java/net/IndexListParser.java: New class.
20655 * java/net/URLClassLoader.java
20656 (JarURLLoader): Fixed code to use new class.
20658 2006-05-08 Roman Kennke <kennke@aicas.com>
20660 * javax/swing/JComboBox.java
20661 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20662 (AccessibleJComboBox.getAccessibleChild): Implemented.
20663 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20664 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20665 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20666 (AccessibleJComboBox.getAccessibleAction): Implemented.
20667 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20668 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20669 (AccessibleJComboBox.doAccessibleAction): Implemented.
20670 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20671 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20672 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20673 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20674 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20676 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20678 * configure.ac: Add support for building appletviewer.
20679 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20681 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20683 * tools/appletviewer.c: New file.
20684 * tools/appletviewer.in: New file.
20685 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20687 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20689 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20690 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20692 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20694 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20696 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20698 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20700 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20701 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20703 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20705 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20707 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20709 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20711 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20713 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20716 2006-05-08 Tom Tromey <tromey@redhat.com>
20718 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20719 * tools/gnu/classpath/tools/jar/Action.java: New file.
20720 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20721 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20722 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20723 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20724 * tools/gnu/classpath/tools/jar/Main.java: New file.
20725 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20726 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20727 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20728 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20729 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20730 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20733 2006-05-08 Lillian Angel <langel@redhat.com>
20735 * java/net/URLClassLoader.java
20736 (JarURLLoader): Added check to make sure the INDEX.LIST file
20739 2006-05-08 Roman Kennke <kennke@aicas.com>
20741 * gnu/java/awt/java2d/AbstractGraphics2D.java
20742 (fill): Removed commented out code.
20743 (fillShape): Also determine the outline of the clip and feed
20744 it into the rendering method. Use new helper method for
20745 converting the shapes into lists of segments.
20746 (getUserBounds): Removed obsolete method.
20747 (rawFillShape): Respect the clip when rendering shapes.
20748 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20749 However, the implementation can't clip still.
20750 (getSegments): New helper method for converting a shape into
20751 a list of segments.
20752 (clipShape): Removed obsolete method.
20753 * gnu/java/awt/java2d/PolyEdge.java
20754 (isClip): New field.
20755 (PolyEdge): Added isField argument to constructor.
20757 2006-05-08 Roman Kennke <kennke@aicas.com>
20760 * javax/swing/JRootPane.java
20761 (createContentPane): Set background of the content pane to null,
20762 so that the content pane inherits its background from the
20765 2006-05-08 Roman Kennke <kennke@aicas.com>
20768 * javax/swing/ButtonGroup.java
20769 (add): Check if new button is selected and if so, deselect other
20770 buttons in the group.
20772 2006-05-08 Lillian Angel <langel@redhat.com>
20775 * java/net/URLClassLoader.java
20776 (JarURLLoader): Added code to go through
20777 META-INF/INDEX.LIST file to load all jars listed.
20779 2006-05-08 Roman Kennke <kennke@aicas.com>
20782 * javax/swing/ImageIcon.java
20783 (ImageIcon(URL)): Set description to URL.toString().
20785 2006-05-08 Roman Kennke <kennke@aicas.com>
20788 * javax/swing/JTable.java
20789 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20790 null when cell value is null.
20792 2006-05-08 Roman Kennke <kennke@aicas.com>
20795 * javax/swing/DefaultDesktopManager.java
20796 (closeFrame): Don't perform default close action on the frame
20797 to prevent endless loop.
20799 2006-05-08 Roman Kennke <kennke@aicas.com>
20802 * javax/swing/table/DefaultTableModel.java
20803 (addExtraRows): New helper method.
20804 (checkSize): New helper method.
20805 (setRowCount): Use addExtraRows helper method.
20806 (addColumn): Use addExtraRows helper method.
20807 (getColumnName): Check and adjust size if necessary using
20810 2006-05-08 Roman Kennke <kennke@aicas.com>
20813 * javax/swing/JTable.java
20814 (setValueAt): Allow setting values even when table is editable.
20816 2006-05-08 Tom Tromey <tromey@redhat.com>
20818 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20819 space to error message.
20821 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20823 * javax/swing/AbstractButton.java: Fixed comment typos.
20825 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20827 PR classpath/27435:
20828 * java/util/zip/DeflaterEngine.java:
20829 (deflateFast(boolean,boolean)): Empty buffer when full.
20831 2006-05-07 Sven de Marothy <sven@physto.se>
20834 * java/util/Calendar.java (setTimeZone): Force recalculation.
20836 2006-05-07 Sven de Marothy <sven@physto.se>
20839 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20840 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20842 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20844 PR classpath/27311:
20845 * gnu/java/text/StringFormatBuffer.java:
20846 (toString()): Implemented so we can see the contents.
20847 * java/text/DecimalFormat.java:
20848 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20849 Don't calculate the exponent when the number is 0 or less.
20850 Also, use log10 instead of log now it's available.
20852 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20854 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20855 Use instance's field creationDate not the constructor's argument.
20856 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20857 Removed unused imports.
20860 (decrypt): Added trace/debug/timing statements.
20861 (encrypt): Likewise.
20862 Use PRNG instead of instantiating every time a new SecureRandom.
20863 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20864 Removed unused imports.
20867 (verify): Added trace/debug/timing statements.
20868 (authenticate): Likewise.
20869 Use PRNG instead of instantiating every time a new SecureRandom.
20871 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20873 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20874 (THREAD_FORMAT): Likewise.
20875 (dateFormat): Added field.
20876 (threadFormat): Added field.
20877 (format): Initialize instance fields if null.
20878 Use StringBuilder instead of StringBuffer.
20880 2006-05-07 Roman Kennke <kennke@aicas.com>
20882 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20884 2006-05-07 Roman Kennke <kennke@aicas.com>
20886 * gnu/java/awt/java2d/AbstractGraphics2D.java
20887 (fillShape): Determine user space bounds of shape and feed them
20888 into the actual rendering pipeline.
20889 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20890 (rawSetForeground): Likewise.
20891 (getDestinationColorModel): Removed.
20892 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20893 (rawFillShape): Handle paint context.
20894 (fillScanline): Implement painting and compositing.
20895 (fillShapeAntialias): Handle paint context.
20896 (fillScanlineAA): Implemented preliminary antialiasing based on
20897 composite context. Not working yet.
20898 (fillScanlineAlpha): Removed.
20899 (init): Fetch destination raster.
20900 (getDestinationRaster): New abstract method.
20901 (updateRaster): New backend method.
20903 2006-05-07 Roman Kennke <kennke@aicas.com>
20905 * gnu/java/awt/java2d/AlphaCompositeContext.java
20906 (compose): Fixed loops, conditions and logic to make compositing
20909 2006-05-07 Roman Kennke <kennke@aicas.com>
20911 * java/awt/ColorPaintContext.java
20912 (ColorPaintContext): Fixed filling of the raster.
20914 2006-05-07 Sven de Marothy <sven@physto.se>
20917 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20918 * java/awt/Component.java (processMouseEvent):
20919 Do lightweight cursor handling.
20920 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20921 (endResizing,mouseMoved): Save and reset original cursor, not the
20924 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20927 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20928 getNodeDimensions): Mind the size of the node icon. (getRowX):
20929 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20930 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20931 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20932 (installDefaults): assign totalChildIndent. (installUI): Call
20933 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20934 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20937 2006-05-06 Sven de Marothy <sven@physto.se>
20940 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20941 Check for zero image sizes.
20943 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20946 * java/util/Calendar.java (clear(int)): Forced internal state
20947 completion before performing a field clearing.
20949 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20951 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20952 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20953 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20954 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20955 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20956 UnmodifiableMapEntry as part of their return value.
20958 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20960 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20961 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20962 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20963 Generate jarsigner and keytool scripts.
20964 * tools/keytool.in: New file (renamed from keytool.sh.in).
20965 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20966 * tools/.cvsignore: Replaced *.sh with *
20967 * configure.ac: Replaced tools/*.sh with tools/*.
20969 2006-05-05 Roman Kennke <kennke@aicas.com>
20971 * java/awt/image/ColorModel.java
20972 (getNormalizedComponents): Implemented.
20974 2006-05-05 Roman Kennke <kennke@aicas.com>
20976 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20977 (paint): Query the button model for it's state, not the
20980 2006-05-05 Roman Kennke <kennke@aicas.com>
20982 * javax/swing/JTable.java
20983 (tableChanged): Sync selection model with table model changes.
20985 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20987 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20988 if there are no visible nodes to paint.
20990 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20992 * javax/swing/JOptionPane.java: API doc updates.
20994 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20996 * javax/swing/JToolBar.java
20997 (paramString): Reimplemented.
20999 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
21001 * javax/swing/JScrollBar.java
21002 (paramString): Reimplemented.
21004 2006-05-04 Tom Tromey <tromey@redhat.com>
21006 PR classpath/27375:
21007 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
21008 (readEntries): Updated.
21009 (getEntries): Likewise.
21010 (getEntry): Likewise.
21011 (getInputStream): Likewise.
21013 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
21015 * gnu/javax/imageio/jpeg/DCT.java,
21016 gnu/javax/imageio/jpeg/HuffmanTable.java,
21017 gnu/javax/imageio/jpeg/JPEGComponent.java,
21018 gnu/javax/imageio/jpeg/JPEGDecoder.java,
21019 gnu/javax/imageio/jpeg/JPEGException.java,
21020 gnu/javax/imageio/jpeg/JPEGFrame.java,
21021 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
21022 gnu/javax/imageio/jpeg/JPEGImageReader.java,
21023 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
21024 gnu/javax/imageio/jpeg/JPEGMarker.java,
21025 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
21026 gnu/javax/imageio/jpeg/JPEGScan.java,
21027 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
21028 gnu/javax/imageio/jpeg/ZigZag.java: New files.
21030 2006-05-04 Lillian Angel <langel@redhat.com>
21032 * javax/swing/JLabel.java
21033 (JLabel): Pass in an empty string for the text parameter.
21034 (JLabel): Likewise.
21035 (JLabel): Likewise.
21037 2006-05-04 Roman Kennke <kennke@aicas.com>
21039 * javax/swing/plaf/basic/BasicButtonListener.java
21040 (mouseEntered): Fixed conditions for changing states.
21042 2006-05-04 Roman Kennke <kennke@aicas.com>
21044 * javax/swing/JOptionPane.java
21045 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
21047 2006-05-04 Roman Kennke <kennke@aicas.com>
21049 * javax/swing/JLabel.java
21050 (AccessibleJLabel.getSelectedText): Return null instead of "".
21051 (AccessibleJLabel.getSelectionStart): Added comment why
21052 return -1 is correct here.
21053 (AccessibleJLabel.getSelectionEnd): Added comment why
21054 return -1 is correct here.
21055 (AccessibleJLabel.getCharacterAttribute): Added comment about what
21057 (AccessibleJLabel.getCharCount): Added comment about what
21059 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21060 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21061 (paramString): Return super.paramString() here, this provides
21062 a more meaningful output.
21064 2006-05-04 Roman Kennke <kennke@aicas.com>
21066 * javax/swing/JComponent.java
21067 (paint): Added null check to avoid NPE when clip == null.
21069 2006-05-04 Roman Kennke <kennke@aicas.com>
21071 * javax/swing/AbstractButton.java
21072 (addImpl): New method. Installs an OverlayLayout if no
21073 other layout has been installed before.
21074 (setLayout): New method. Detect if a client app installs a custom
21077 2006-05-04 Roman Kennke <kennke@aicas.com>
21079 * javax/swing/table/DefaultTableCellRenderer.java
21080 (noFocusBorder): Fixed width of empty border to 1.
21081 (getTableCellRendererComponent): Don't change the colors for
21082 focuses cells. Fixed border for focused cells.
21084 2006-05-04 Roman Kennke <kennke@aicas.com>
21086 * javax/swing/JTable.java
21087 (moveToCellBeingEdited): Adjust bounding box of editing component
21088 to exactly cover the grid.
21089 * javax/swing/plaf/basic/BasicTableUI.java
21090 (paint): Paint grid to the bottom and right of the cells instead
21091 of left and top. Adjust bounding box of cells accordingly.
21092 * javax/swing/plaf/metal/MetalLookAndFeel.java
21093 (initComponentDefaults): Fixed color of JTable selection border.
21094 * javax/swing/plaf/metal/OceanTheme.java
21095 (addCustomEntriesToTable): Fixed color of JTable selection border.
21097 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
21099 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21100 Use _alias instead of alias.
21102 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21105 Set version to 0.92-pre.
21107 Add space for 0.92 entries.
21109 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
21111 * include/Makefile.am:
21112 Added rules for gnu.java.net.local.LocalSocketImpl.h
21113 * include/java_lang_VMSystem.h:
21114 Regenerated correctly.
21116 2006-05-03 Sven de Marothy <sven@physto.se>
21119 * java/awt/Image.java:
21120 (getScaledInstance): Default to AreaAveraging for "smooth",
21121 don't thrown an error on illegal flag values.
21122 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21124 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21126 * javax/swing/text/FieldView.java:
21127 (adjustAllocation): Added if-block to return null when shape argument
21129 * javax/swing/text/PlainView.java:
21130 (updateDamage): Added if-block to return early if a is null.
21132 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
21134 * javax/swing/plaf/basic/BasicTextUI.java:
21135 (changeUpdate): Added note.
21136 (removeUpdate): Dito.
21137 (insertUpdate): Dito.
21138 (damageRange): Added if-block to return early.
21139 (modelToView): Added check of getVisibleEditorRect's return value.
21140 (getVisibleEditorRect): Return null instead of empty rectangle.
21141 * javax/swing/text/DefaultCaret.java:
21142 (clearHighlight): Removed if-clause to create a highlight entry if it
21143 did not exist before.
21144 * javax/swing/text/WrappedPlainView.java:
21145 (WrappedLine.modelToView): Throw exception if allocation area is empty,
21146 removed 2nd part of if-expression.
21147 (WrappedLine.updateDamage): Added more documentation, added check
21148 whether allocation area rectangle is null.
21150 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21152 * javax/swing/JSplitPane.java (setDividerLocation(int)):
21153 Reset to preferred sizes if the argument is negative.
21155 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
21157 * javax/swing/JList.java: Added/updated API docs.
21159 2006-05-03 Lillian Angel <langel@redhat.com>
21161 * javax/swing/JComponent.java
21162 (getRoot): New private function. Gets the root appropriate
21163 for painting. If an applet exists as a parent, then it is returned.
21164 (paintDoubleBuffered): Changed to use new function.
21165 * javax/swing/RepaintManager.java
21166 (getRoot): New private function. Gets the root appropriate
21167 for painting. If an applet exists as a parent, then it is returned.
21168 (getOffscreenBuffer): Changed to use new function.
21169 * javax/swing/SwingUtilties.java
21170 (getRoot): Reverted last patch to return Window, even if
21173 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21175 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21176 a pair of one public keyring and one private keyring.
21177 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21178 (containsCertificate): Added logging.
21179 (getCertificate): Likewise.
21180 (putCertificate): Likewsie.
21183 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21184 (containsPrivateKey): Added logging.
21185 (getPrivateKey): Likewise.
21186 (putPrivateKey): Likewise.
21187 (containsPublicKey): Likewise.
21188 (getPublicKey): Likewise.
21189 (putPublicKey): Likewise.
21190 (containsCertPath): Likewise.
21191 (getCertPath): Likewise.
21192 (putCertPath): Likewise.
21196 2006-05-03 Roman Kennke <kennke@aicas.com>
21198 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21199 * java/awt/AlphaComposite.java
21200 (createContext): Implemented.
21202 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21204 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21205 Set the current color again after drawing the raster.
21207 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21209 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21210 Do not check pos < currLineEnd if currLineStart == currLineEnd.
21212 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
21214 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21215 Assign returned value to field handler.
21216 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21219 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21221 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21222 Return without action if there is no view in the viewport.
21223 * javax/swing/text/WrappedPlainView.java
21224 (WrappedLine.getPreferredSpan): If metrics == null, update
21226 * javax/swing/tree/DefaultTreeModel.java (constructors):
21227 Do not call setRoot, assign the root node directly.
21229 2006-05-02 Lillian Angel <langel@redhat.com>
21231 * javax/swing/SwingUtilities.java
21232 (getRoot): Should return the Applet if it exists.
21233 Only return the Window if an Applet has not been
21236 2006-05-02 Lillian Angel <langel@redhat.com>
21238 * gnu/javax/swing/text/html/parser/support/Parser.java
21239 (readAttributes): Reverted Audrius' last patch. There is
21240 a slight difference in code between the NUMTOKEN and SLASH case.
21242 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21244 * javax/swing/text/JTextComponent.java:
21245 (setText): Throw InternalError from catch-block.
21246 * javax/swing/text/GapContent.java:
21247 (removed): Removed if-expression, changed '>' to '>='.
21249 2006-05-02 Roman Kennke <kennke@aicas.com>
21251 * gnu/java/awt/java2d/AbstractGraphics2D.java
21252 (AA_SAMPLING): New constant.
21253 (alpha): New field. Used in the antialiasing renderer.
21254 (edgeTable): New field. Used in the antialiasing renderer.
21255 (AbstractGraphics2D): Initialize rendering hints wrt
21257 (draw): Clip after stroking. Commented out clipping for now,
21258 it seems to be buggy.
21259 (fill): Commented out clipping for now, it seems to be buggy.
21260 (setComposite): Don't create composite context.
21261 (setPaint): Only change paint when parameter is not null.
21262 (translate): Call setClip() so subclasses can update their clip
21264 (clip): Call setClip() so subclasses can update their clip
21266 (drawGlyphVector): Added clipping, but left it commented out
21267 because it's buggy.
21268 (getClipBounds): Returns null when clip is null.
21269 (drawLine): Call rawDrawLine with translation applied.
21270 (filLRect): Call rawFillRect with translation applied.
21271 (fillShape): Added support for anti-aliasing.
21272 (rawSetForeground(int,int,int)): New method.
21273 (rawFillShape): A couple of painting fixes.
21274 (fillScanline): Implemented to call rawDrawLine.
21275 (fillShapeAntialias): New method. Implements an anti-aliasing
21277 (fillScanlineAA): New method. Used for the anti-aliasing
21279 (fillScanlineAlpha): New method. Used for the anti-aliasing
21281 (init): Initialize clip with the device bounds.
21282 (updateOptimization): Fixed the optimization condition.
21284 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
21286 * javax/swing/text/GapContent.java:
21287 (GapContent): Restrict size argument by 2.
21288 (insertString): Changed expression from >= to >.
21289 (remove): Changed right side of expression to 'length - 1', changed
21291 (getChars): Throw exception if where below 0.
21292 (replace): Replaced call to setPositionsInRange() with
21293 resetMarksAtZero(), removed note.
21295 2006-05-02 Roman Kennke <kennke@aicas.com>
21298 * javax/swing/MenuSelectionManager.java
21299 (setSelectedPath): Rewritten.
21301 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21303 * gnu/javax/swing/text/html/parser/support/Parser.java
21304 (readAttributes): Merge case NUMTOKEN: and case SLASH:
21307 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21309 * tools/.cvsignore: Added keytool.sh.
21310 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21312 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21314 * doc/tools.texinfo: New file.
21315 * doc/Makefile.am: Generate tools documentation.
21317 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21319 * tools/keytool.sh.in: New file.
21320 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21321 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21322 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21323 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21324 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21325 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21326 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21327 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21328 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21329 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21330 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21331 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21332 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21333 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21334 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21335 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21336 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21337 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21339 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21341 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21342 resemble more closely man-page style text.
21343 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21344 Mark (Eclipse) strings that need not be externalised.
21345 (writeSF): Likewise.
21346 (writeDSA): Likewise.
21347 Use package-private Messages class to provide i18n-ready strings.
21349 Use package-private Messages class to provide i18n-ready strings.
21350 (updateEntry): Likewise.
21351 Mark (Eclipse) strings that need not be externalised.
21352 (finishSigning): Likewise.
21353 * tools/gnu/classpath/tools/jarsigner/Main.java:
21354 Mark (Eclipse) strings that need not be externalised.
21355 (main): Do not use constant strings as class name.
21356 Use package-private Messages class to provide i18n-ready strings.
21357 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21358 (processArgs): Do not use constant strings as class name.
21359 Mark (Eclipse) strings that need not be externalised.
21360 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21361 (start): Do not use constant strings as class name.
21362 (teardown): Likewise.
21364 (setupCommonParams): Do not use constant strings as class name.
21365 Use package-private Messages class to provide i18n-ready strings.
21366 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21367 (installNewProvider): Do not use constant strings as class name.
21369 (setupSigningParams): Do not use constant strings as class name.
21370 Use package-private Messages class to provide i18n-ready strings.
21371 Mark (Eclipse) strings that need not be externalised.
21372 (getCallbackHandler): Use CallbackUtil.
21373 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21374 Use package-private Messages class to provide i18n-ready strings.
21375 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21376 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21377 (verifySF): Likewise.
21378 (verifySFEntries): Do not use constant strings as class name.
21379 Use Boolean.valueOf instead of new Boolean().
21380 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21381 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21383 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21384 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21386 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
21388 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21389 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21390 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21392 2006-05-01 Tom Tromey <tromey@redhat.com>
21394 * java/nio/ByteBufferImpl.java (compact): Don't reset position
21396 * gnu/java/nio/ChannelReader.java (read): Synchronize.
21397 (close): Synchronize.
21398 * java/nio/ShortBufferImpl.java (compact): Rewrote.
21399 * java/nio/LongBufferImpl.java (compact): Rewrote.
21400 * java/nio/IntBufferImpl.java (compact): Rewrote.
21401 * java/nio/FloatBufferImpl.java (compact): Rewrote.
21402 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21403 * java/nio/CharBufferImpl.java (compact): Rewrote.
21404 * gnu/java/nio/ChannelWriter.java: New file.
21405 * java/nio/channels/Channels.java (newWriter): Implemented.
21407 2006-05-01 Lillian Angel <langel@redhat.com>
21409 * java/util/SimpleTimeZone.java
21410 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21411 (SimpleTimeZone): Likewise.
21412 (checkRule): Rewritten to properly check all values (more efficently).
21413 This code is now more stable, at least less buggy than before. Fixed
21415 (setStartRule): Moved checkRule call to end.
21416 (setStartRule): Likewise.
21417 (setEndRule): Likewise.
21418 (setEndRule): Likewise.
21420 2006-05-01 Tom Tromey <tromey@redhat.com>
21422 * lib/.cvsignore: Added classes.2.
21424 2006-05-01 Tom Tromey <tromey@redhat.com>
21426 * java/util/jar/JarFile.java (provider): Now package-private.
21427 * java/lang/Enum.java (compareTo): Javadoc fix.
21428 * java/lang/Boolean.java (compareTo): Javadoc fix.
21430 2006-05-01 Lillian Angel <langel@redhat.com>
21432 * gnu/javax/swing/text/html/parser/support/Parser.java
21433 (readAttributes): Formatted function. Added handling for
21434 SLASH token. The value of an attribute may start with a slash
21435 (i.e. a path). I added handling similar to to the NUMTOKEN code.
21436 We should not be skipping over these type of attributes.
21438 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
21440 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21441 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21442 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21443 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21444 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21445 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21446 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21447 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21448 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21449 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21450 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21451 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21452 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21453 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21454 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21455 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21456 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21457 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21458 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21459 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21460 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21461 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21462 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21463 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21464 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21465 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21466 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21467 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21468 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21469 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21470 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21471 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21472 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21473 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21474 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21475 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21476 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21477 * include/gnu_java_awt_peer_qt_QMatrix.h,
21478 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21479 * include/gnu_java_awt_peer_qt_QPen.h,
21480 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21481 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21482 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21483 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21484 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21485 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21486 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21487 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21488 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21489 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21490 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21491 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21492 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21493 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21494 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21495 * include/gnu_java_awt_peer_qt_QtImage.h,
21496 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21497 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21498 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21499 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21500 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21501 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21502 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21503 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21504 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21505 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21506 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21507 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21508 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21509 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21510 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21511 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21512 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21513 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21514 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21515 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21516 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21517 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21518 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21519 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21520 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21521 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21522 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21523 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21524 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21525 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21526 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21527 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21528 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21529 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21530 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21531 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21532 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21533 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21534 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21535 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21536 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21537 * include/java_lang_VMProcess.h:
21539 * native/jni/java-lang/java_lang_VMProcess.c:
21540 Redirect when pipe_count is 2 not 3.
21542 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21544 * gnu/java/awt/font/FontDelegate.java,
21545 * gnu/java/awt/font/FontFactory.java,
21546 * gnu/java/awt/font/GNUGlyphVector.java,
21547 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21548 * gnu/java/awt/font/opentype/GlyphNamer.java,
21549 * gnu/java/awt/font/opentype/MacResourceFork.java,
21550 * gnu/java/awt/font/opentype/NameDecoder.java,
21551 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21552 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21553 * gnu/java/awt/font/opentype/Scaler.java,
21554 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21555 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21556 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21557 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21558 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21559 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21560 * gnu/java/awt/font/opentype/truetype/Zone.java,
21561 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21562 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21563 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21564 New files. Imported font framework from:
21565 http://www.brawer.ch/software/fonts/
21567 2006-04-30 Roman Kennke <kennke@aicas.com>
21569 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21570 (lastTabInRun): Fix calculation of the last tab in a run. This
21571 has caused painting problems sometimes, making the
21572 last tab painted incorrectly.
21574 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21577 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21578 Use for and not while to prevent the endless loop.
21580 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21582 * javax/swing/JList.java
21583 (paramString): Changed from public to protected.
21585 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21587 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21588 (printHelpAndExit): Re-factored to use the above method.
21590 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21592 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21593 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21594 * tools/gnu/classpath/tools/jarsigner/Main.java:
21595 Changed license to GPL + Exception.
21596 (handler): New field.
21597 (getCallbackHandler): New method.
21598 (setupSigningParams): Use above method.
21599 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21600 Changed license to GPL + Exception.
21601 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21602 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21603 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21604 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21606 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21608 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21609 (handleConfirmation): Use print instead of println.
21610 (handleConfirmation): When case is YES_NO_OPTION, print default option
21612 (handleLanguage): Use print instead of println.
21614 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21616 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21617 (putComponent): Handle O and OU components.
21618 (getDer): Use correct (it2) iterator.
21619 (readAttributeValue): Read next character and break if end-of-stream.
21621 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21623 * gnu/java/security/provider/Gnu.java (run):
21624 Add "RSA" as an alias to MD5withRSA.
21625 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21626 Always encode a NULL as the value of an algorithm parameters field.
21627 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21628 (encodePrivateKey): Added trace/log statements.
21629 (decodePrivateKey): Likewise.
21630 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21631 (setup): Added trace/log statements.
21632 (generate): Likewise.
21633 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21634 (toString): New method.
21635 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21637 (toString): New method.
21638 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21639 (getEncoded): Use defaultFormat.
21640 (toString): New method.
21641 * gnu/java/security/key/dss/DSSKey.java (toString):
21642 Include defaultFormat in string.
21643 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21644 Break if successfully decoded public key.
21645 (engineGeneratePrivate): Break if successfully decoded private key.
21647 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21649 * java/security/Security.java <clinit>: Add our Callback provider.
21650 * resource/java/security/classpath.security: Likewise
21652 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21655 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21656 Decide about scroll bars from the preferred view size, not
21658 * javax/swing/ViewportLayout.java (layoutContainer):
21659 Do not change returned preferred size. Do not treat JScrollPane
21662 2006-04-28 Sven de Marothy <sven@physto.se>
21664 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21665 * javax/swing/ProgressMonitor.java (actionPerformed):
21666 Avoid divide-by-zero.
21668 2006-04-28 Sven de Marothy <sven@physto.se>
21670 * javax/swing/JSpinner.java: Fix default text justification.
21671 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21673 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21675 * javax/swing/JList.java
21676 (getMinSelectionIndex): Return correct value, added API docs,
21677 (getMaxSelectionIndex): Added API docs.
21679 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21681 * javax/swing/JList.java
21682 (JList(Object[])): Pass new model directly to init(),
21683 (JList(Vector)): Likewise,
21684 (JList(ListModel)): Renamed argument and updated API docs,
21685 (init): Throw IllegalArgumentException for null argument,
21686 (setListData(Object[])): Delegate model creation,
21687 (setListData(Vector)): Likewise,
21688 (createListModel(Object[])): New private method,
21689 (createListModel(Vector)): New private method,
21690 (paramString): Implemented.
21692 2006-04-28 Tom Tromey <tromey@redhat.com>
21694 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21696 (isSynthetic): Likewise.
21697 (isAnnotation): Likewise.
21698 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21699 (isAnnotation): Likewise.
21700 (isEnum): Likewise.
21702 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21704 * javax/swing/text/View.java:
21705 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21708 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21710 * javax/swing/text/View.java:
21711 (getNextVisualPositionFrom): Rewritten.
21712 * javax/swing/text/CompositeView.java:
21713 (getNextEastWestVisualPositionFrom): Partly implemented.
21714 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21716 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21718 * javax/swing/JList.java
21719 (setFixedCellHeight): Use correct property name for event.
21721 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21723 * javax/swing/text/Utilities.java:
21724 (getNextWord): Use codePointAt instead of charAt, added note, changed
21725 if-expression, added throwing of exception.
21726 (getPreviousWord): Use codePointAt instead of charAt.
21728 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21730 * java/lang/StringBuilder.java
21731 (ensureCapacity, getChars, append(StringBuffer),
21732 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21733 insert(int,String), insert(int,char), trimToSize): Replaced
21734 System.arraycopy calls with VMSystem.arraycopy.
21736 2006-04-27 Tom Tromey <tromey@redhat.com>
21738 * java/awt/image/renderable/RenderableImageProducer.java
21739 (requestTopDownLeftRightResend): Implemented.
21741 (startProduction): Add new consumer.
21743 2006-04-27 Sven de Marothy <sven@physto.se>
21745 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21747 2006-04-27 Roman Kennke <kennke@aicas.com>
21749 * java/awt/LightweightDispatcher.java
21750 Dispatch events only to targets that have a mouselistener
21751 attached. Changed to also handle null targets.
21753 2006-04-27 Roman Kennke <kennke@aicas.com>
21755 * NEWS: Added entries about accessibility support and L&F
21756 window decorations.
21758 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21760 * javax/swing/text/Utilities.java:
21761 (getTabbedTextOffset): Introduced width variable, rewritten the check
21762 which ends the loop.
21763 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21766 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21768 * examples/gnu/classpath/examples/swing/TreeDemo.java
21769 (createContent): Added root visibility and selection listener demos.
21770 * javax/swing/JTree.java (setRootVisible): If false, unselect
21771 the root node, if it is selected.
21772 * javax/swing/plaf/basic/BasicTreeUI.java
21773 (TreeTraverseAction.actionPerformed): Do not select the root if it
21775 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21776 removeSelectionPaths): Reset lead to null if the current lead path is
21777 removed from selection.
21778 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21779 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21780 Return the same path regardless is root visible or not. (update):
21781 Reduce the identation if the root is not visible.
21782 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21783 Return the same path regardless is root visible or not. (update):
21784 Reduce the identation if the root is not visible.
21786 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21788 * javax/swing/plaf/basic/BasicTreeUI.java
21789 (TreeAction.actionPerformed):Newly obtain the current lead
21790 path that must stay visible.
21791 (TreeTraverseAction.actionPerformed):Rewritten.
21792 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21793 Do not treat root specially. (setModel): Assume the root node
21794 initially expanded.
21795 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21796 Do not treat root specially. (setModel): Assume the root node
21797 initially expanded.
21799 2006-04-26 Chris Burdess <dog@gnu.org>
21802 * javax/xml/datatype/DatatypeFactory.java: Use complete
21803 implementation resolution mechanism.
21805 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21807 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21809 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21810 Removed NoImplementException form the implemented method.
21812 2006-04-26 Tom Tromey <tromey@redhat.com>
21814 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21817 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21819 * javax/swing/DefaultListSelectionModel.java
21820 (clone): Initialise empty listener list,
21821 (setSelectionMode): Throw IllegalArgumentException for bad input.
21823 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21825 * javax/swing/DefaultListSelectionModel.java
21826 (clearSelection): Clear the Bitset.
21828 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21830 * javax/swing/JTree.java (setLeadSelectionPath):
21831 Repaint the new and old lead pathes.
21832 * javax/swing/plaf/basic/BasicTreeUI.java
21833 (FocusHandler): Repaint the lead row when focus changes.
21834 (PropertyChangeHandler): Use existing constants, not the
21835 string literals for the property names.
21836 (TreeIncrementAction): Shrink the selection when moving
21837 from the selection edge to the selection anchor.
21838 (TreeSelectionHandler.valueChanged): Repaint the
21839 new and old lead pathes.
21840 (paintRow): Treat row as focused only if it is the lead row.
21841 * javax/swing/tree/DefaultTreeCellRenderer.java
21842 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21843 (paint): Rewritten.
21844 * javax/swing/tree/DefaultTreeSelectionModel.java
21845 (addSelectionPath): Event construction fix (old and new lead were
21847 (addSelectionPaths): Likewise.
21848 * javax/swing/JComponent.java (setOpaque): Explained.
21849 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21851 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21854 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21856 * examples/gnu/classpath/examples/swing/TreeDemo.java
21857 (createContent): Call DefaultTreeModel.reload(), not the
21858 tree.repaint(). Expand the parent of the added node.
21859 * javax/swing/JTree.java (constructor): Do not call
21860 UpdateUI (and documented why). (treeDidChange):
21861 Added comment, excluding the misinterpretation of this method.
21862 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21863 focusListener, keyListener, mouseListener, propertyListener,
21864 selectionModelPropertyChangeListener, treeModelListener,
21865 treeSelectionListener): Made package private.
21866 (PropertyChangeHandler): If the model changes, install the
21867 listener on it. (installUI): Assign treeModel.
21868 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21869 comment, excluding misinterpretation.
21870 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21871 (reload(TreeNode)): Implemented.
21873 2006-04-25 Tom Tromey <tromey@redhat.com>
21875 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21876 * javax/swing/tree/VariableHeightLayoutCache.java
21877 (getVisiblePathsFrom): Genericized.
21878 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21881 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21883 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21884 If clicked on the other row, cancel the current editing session.
21886 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21888 * javax/swing/plaf/basic/BasicTreeUI.java
21889 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21890 (paintExpandControl): Always paint in one gap distance from the left
21891 border of the path bounds.
21892 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21893 into consideration.
21894 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21897 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21899 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21901 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21903 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21904 Allow slashes (/) in the unquoted parameter value.
21906 2006-04-25 Roman Kennke <kennke@aicas.com>
21908 * gnu/java/awt/java2d/AbstractGraphics2D.java
21909 (drawString(String,int,int)): Implemented.
21910 (drawString(String,float,float)): Implemented.
21911 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21912 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21913 (getFontRenderContext): Implemented.
21914 (drawGlyphVector): Implemented.
21915 (getFont): Implemented.
21916 (setFont): Don't change font setting when null.
21917 (getFontMetrics): Implemented.
21918 (fillShape): Re-written to fill call rawFillShape() with a list
21919 of the edges instead of double arrays.
21920 (rawFillShape): Implemented using a polygon scanline conversion.
21921 (fillScanline): New helper method.
21922 (init): Initialize foreground black. Set font.
21923 * gnu/java/awt/java2d/PolyEdge.java: New file.
21924 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21926 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21928 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21930 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21932 * javax/swing/JTable.java: Fixed API doc tags,
21933 * javax/swing/text/AsyncBoxView.java: Likewise,
21934 * javax/swing/text/FlowView.java: Likewise.
21936 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21938 * javax/swing/table/DefaultTableColumnModel.java
21939 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21941 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21943 * javax/swing/table/DefaultTableColumnModel.java
21944 (DefaultTableColumnModel): Set selection model field and add 'this' as
21946 (addColumn): Add 'this' as a PropertyChangeListener,
21947 (removeColumn): Remove column before firing event, and remove 'this' as
21948 a PropertyChangeListener,
21949 (setSelectionModel): Remove 'this' as a listener from old model,
21950 (propertyChange): Check for 'width' property rather than
21951 TableColumn.COLUMN_WIDTH_PROPERTY.
21953 2006-04-24 Chris Burdess <dog@gnu.org>
21956 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21957 attributes when no doctype exists.
21959 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21961 * javax/swing/event/ChangeEvent.java: Updated API docs,
21962 * javax/swing/event/ChangeListener.java: Likewise,
21963 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21964 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21965 * javax/swing/table/TableColumnModel.java: Likewise.
21967 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21969 * javax/swing/text/Utilities.java:
21970 (getBreakLocation): Introduced shift variable, added notes.
21971 * javax/swing/text/WrappedPlainView.java:
21972 (calculateBreakPosition): Decrease allocation area bounds by insets,
21973 added early return when allocation area is empty, provide start offset
21975 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21976 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21977 numLines after loop.
21978 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21979 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21980 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21981 decreasing variable end by one, changed break condition in while-loop,
21982 added check for return value.
21983 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21984 allocation area is empty.
21986 2006-04-24 Sven de Marothy <sven@physto.se>
21988 * gnu/java/awt/java2d/Segment.java: New file.
21989 * gnu/java/awt/java2d/CubicSegment.java: New file.
21990 * gnu/java/awt/java2d/QuadSegment.java: New file.
21991 * gnu/java/awt/java2d/LineSegment.java: New file.
21992 * java/awt/BasicStroke.java
21993 (start): New field.
21995 (createStrokedShape): Implemented.
21996 (solidStroke): New method.
21997 (dashedStroke): New method.
21998 (capEnds): New method.
21999 (convertPath): New method.
22000 (addSegments): New method.
22001 (capEnd): New method.
22002 (lineIntersection): New method.
22003 (joinSegments): New method.
22005 2006-04-24 Roman Kennke <kennke@aicas.com>
22007 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
22010 (clip): Changed clip to be in user space not in target space.
22011 (isOptimized): Added flag to allow optimized drawing for
22012 primitive operations (e.g. for Swing).
22013 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
22014 with the paint context etc.
22015 (draw): Clip the shape before drawing it.
22016 (fill): Clip the shape before drawing it.
22017 (setComposite): Update isOptimized flag.
22018 (setPaint): Likewise.
22019 (setStroke): Likewise.
22020 (translate): Update the clip.
22021 (rotate): Likewise.
22024 (transform): Likewise.
22025 (setTransform): Likewise.
22026 (clip): Added optimization for rectangle clips.
22027 (create): Implemented.
22028 (clone): New method.
22029 (setFont): Basic implementation.
22030 (setClip): Update opimization flag.
22031 (drawLine): Added possible optimization.
22032 (fillRect): Added possible optimization.
22033 (fillShape): Implemented shape-filling by filling the flattended
22034 shape using polygon fill.
22035 (drawPixel): Added basic painting.
22036 (rawSetPixel): Changed signature to only take coordinates.
22037 (rawSetForeground): New abstract method.
22038 (getUserBounds): Implemented default for this method.
22039 (rawDrawLine): New method.
22040 (rawFillRect): New method.
22041 (rawFillPolygon): New method.
22042 (init): New method.
22043 (updateOptimization): New method.
22044 (computeIntersection): New method.
22045 (updateClip): New method.
22046 (clipShape): New method.
22048 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22050 * java/lang/Package.java: Added compatibility constructor to ease
22051 VM interface migration.
22053 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22055 * java/lang/Class.java (getEnumConstants): Implemented without
22056 delegating to VMClass.
22057 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22059 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
22061 * java/lang/ClassLoader.java (definePackage): Added argument to
22062 Package constructor.
22063 * java/lang/Package.java (Package): Added ClassLoader argument.
22064 (loader): New field.
22065 (getDeclaredAnnotations): Implemented without help from VMPackage.
22066 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22067 to Package constructor.
22068 * vm/reference/java/lang/VMPackage.java: Removed.
22070 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22072 * examples/gnu/classpath/examples/swing/TreeDemo.java:
22073 (createContent): Added check box to swith between single and
22074 multiple selection.
22075 * javax/swing/JTree.java (leadSelectionPath): Removed.
22076 (addSelectionInterval): Explained. (getLeadSelectionPath):
22077 Request the path from model. (getPathsBetweenRows): Explained.
22078 (setLeadSelectionPath): Set the path in model.
22079 * javax/swing/plaf/basic/BasicTreeUI.java
22080 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
22081 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22082 (MouseHandler.mousePressed): Call selectPathForEvent.
22084 2006-04-23 Roman Kennke <kennke@aicas.com>
22086 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22088 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
22091 Mention changes to VMProcess and VMSystem.
22092 * doc/vmintegration.texinfo:
22093 Change documentation on VMProcess and VMSystem.
22094 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22095 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22096 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22097 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22098 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22099 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22100 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22101 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22102 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22103 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22104 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22105 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22106 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22107 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22108 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22109 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22110 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22111 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22112 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22113 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22114 * include/gnu_java_awt_peer_gtk_GtkImage.h,
22115 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22116 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22117 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22118 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22119 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22120 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22121 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22122 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22123 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22124 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22125 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22126 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22127 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22128 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22129 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22130 * include/gnu_java_awt_peer_qt_MainQtThread.h,
22131 * include/gnu_java_awt_peer_qt_QMatrix.h,
22132 * include/gnu_java_awt_peer_qt_QPainterPath.h,
22133 * include/gnu_java_awt_peer_qt_QPen.h,
22134 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22135 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22136 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22137 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22138 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22139 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22140 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22141 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22142 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22143 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22144 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22145 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22146 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22147 * include/gnu_java_awt_peer_qt_QtGraphics.h,
22148 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22149 * include/gnu_java_awt_peer_qt_QtImage.h,
22150 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22151 * include/gnu_java_awt_peer_qt_QtListPeer.h,
22152 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22153 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22154 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22155 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22156 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22157 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22158 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22159 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22160 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22161 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22162 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22163 * include/gnu_java_awt_peer_qt_QtToolkit.h,
22164 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22165 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22166 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22167 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22168 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22169 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22170 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22171 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22172 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22173 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22174 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22175 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22176 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22177 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22178 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22179 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22180 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22181 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22182 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22183 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22184 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22185 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22186 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22187 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22188 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22189 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22190 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22191 * include/java_lang_VMProcess.h,
22192 * include/java_lang_VMSystem.h:
22193 Regenerated with GCJ 4.1.
22195 2006-04-22 Casey Marshall <csm@gnu.org>
22197 Fixes PR classpath/27228.
22198 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22199 (initialize): also accept `DHParameterSpec.'
22200 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22201 handle a passed-in `DHParameterSpec' properly.
22202 (generate): don't check if the random exponent is less than `q -
22203 1' if no `q' was specified.
22205 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22207 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22208 Only repaint the patches, speficied in the passed event.
22209 (expandPath): Do nothing if the path is already expanded.
22210 (scrollPathToVisible): Only scroll to visible, do nothing else.
22211 * javax/swing/plaf/basic/BasicTreeUI.java
22212 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22213 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22214 (TreeTraverseAction.actionPerformed): Collapse the node on the
22215 action "selectParent". (selectPath): Rewritten.
22216 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22217 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22218 Do not reuse selection array.
22219 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22221 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22224 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22226 * javax/swing/tree/DefaultTreeSelectionModel.java
22227 (addSelectionPath): If the path cannot be added, set it.
22228 (addSelectionPaths): Call insureRowContinuity.
22229 (arePathsContiguous): Implemented.
22230 (canPathBeAdded): New private method.
22231 (canPathsBeAdded): Implemented.
22232 (canPathsBeRemoved): Implemented.
22233 (getPath): New private method.
22234 (insureRowContinuity): Implemented.
22235 (removeSelectionPath): Call insureRowContinuity.
22236 (removeSelectionPaths): Call insureRowContinuity.
22237 (resetRowSelection): Removed stub marking, not used in implementation
22238 (nothing to do there).
22239 (selectOne): New private method.
22240 (setSelectionMode) Call insureRowContinuity.
22241 (setSelectionPaths) Remove the current selection by clearing it.
22243 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
22245 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22246 parameters consistendly, documented some methods.
22247 * java/sql/Blob.java: Likewise.
22248 * java/sql/CallableStatement.java: Likewise.
22249 * java/sql/Clob.java: Likewise.
22250 * java/sql/Connection.java: Likewise.
22251 * java/sql/DatabaseMetaData.java: Likewise.
22252 * java/sql/Date.java: Likewise.
22253 * java/sql/Driver.java: Likewise.
22254 * java/sql/PreparedStatement.java: Likewise.
22255 * java/sql/ResultSet.java: Likewise.
22256 * java/sql/ResultSetMetaData.java: Likewise.
22257 * java/sql/SQLData.java: Likewise.
22258 * java/sql/SQLOutput.java: Likewise.
22259 * java/sql/SQLWarning.java: Likewise.
22260 * java/sql/Statement.java: Likewise.
22261 * java/sql/Time.java: Likewise.
22262 * java/sql/Timestamp.java: Likewise.
22264 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
22266 * java/lang/reflect/AccessibleObject.java:
22267 Implemented AnnotatedElement.
22268 (getAnnotation, getAnnotations, getDeclaredAnnotations,
22269 isAnnotationPresent): New methods.
22271 2006-04-21 Tom Tromey <tromey@redhat.com>
22273 PR classpath/27163:
22274 * gnu/java/net/protocol/ftp/FTPConnection.java
22275 (changeWorkingDirectory): Do nothing if path is empty.
22277 2006-04-21 Tom Tromey <tromey@redhat.com>
22280 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22281 case where no '/' appears in 'location'.
22283 2006-04-21 Tom Tromey <tromey@redhat.com>
22285 * java/security/Security.java (<clinit>): Add all default providers.
22286 * resource/java/security/classpath.security: Added comment.
22288 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22290 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22291 * javax/swing/SpinnerNumberModel.java: Likewise.
22293 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22295 * javax/swing/SpinnerDateModel.java
22296 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22297 checking to call compareTo() on start and end.
22299 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22301 * javax/swing/border/AbstractBorder.java: API doc updates,
22302 * javax/swing/border/BevelBorder.java: Likewise,
22303 * javax/swing/border/CompoundBorder.java: Likewise,
22304 * javax/swing/border/EtchedBorder.java: Likewise,
22305 * javax/swing/border/LineBorder.java: Likewise,
22306 * javax/swing/border/MatteBorder.java: Likewise,
22307 * javax/swing/border/TitledBorder.java: Likewise.
22309 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22311 * gnu/javax/crypto/cipher/Anubis.java:
22312 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22314 * gnu/javax/crypto/cipher/Blowfish.java:
22315 (selfTest): Likewise,
22316 * gnu/javax/crypto/cipher/Cast5.java:
22317 (selfTest): Likewise,
22318 * gnu/javax/crypto/cipher/Khazad.java:
22319 (selfTest): Likewise,
22320 * gnu/javax/crypto/cipher/Rijndael.java:
22321 (selfTest): Likewise,
22322 * gnu/javax/crypto/cipher/Serpent.java:
22323 (selfTest): Likewise,
22324 * gnu/javax/crypto/cipher/Square.java:
22325 (selfTest): Likewise,
22326 * gnu/javax/crypto/cipher/Twofish.java:
22327 (selfTest): Likewise,
22328 * gnu/javax/crypto/mac/UMac32.java:
22329 (selfTest): Likewise,
22330 * gnu/javax/crypto/prng/CSPRNG.java:
22331 (getSystemInstance): Likewise.
22333 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22335 * gnu/java/security/hash/Haval.java:
22336 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
22338 * gnu/java/security/hash/MD2.java:
22339 (selfTest): Likewise,
22340 * gnu/java/security/hash/MD4.java:
22341 (selfTest): Likewise,
22342 * gnu/java/security/hash/MD5.java:
22343 (selfTest): Likewise,
22344 * gnu/java/security/hash/RipeMD128.java:
22345 (selfTest): Likewise,
22346 * gnu/java/security/hash/RipeMD160.java:
22347 (selfTest): Likewise,
22348 * gnu/java/security/hash/Sha160.java:
22349 (selfTest): Likewise,
22350 * gnu/java/security/hash/Sha256.java:
22351 (selfTest): Likewise,
22352 * gnu/java/security/hash/Sha384.java:
22353 (selfTest): Likewise,
22354 * gnu/java/security/hash/Sha512.java:
22355 (selfTest): Likewise,
22356 * gnu/java/security/hash/Tiger.java:
22357 (selfTest): Likewise,
22358 * gnu/java/security/hash/Whirlpool.java:
22359 (selfTest): Likewise.
22361 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22363 * javax/swing/plaf/basic/BasicTreeUI.java
22364 (PropertyChangeHandler.propertyChange): Set the row mapper
22365 for the selection model.
22366 * javax/swing/tree/AbstractLayoutCache.java
22367 (NodeDimensions.getNodeDimensions): Explained.
22368 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22369 Implemented. (setRowHeight): Invalidate sizes.
22370 * javax/swing/tree/DefaultTreeSelectionModel.java
22371 (addSelectionPath, addSelectionPaths): Update lead row.
22372 (removeSelectionPath, removeSelectionPaths): Do nothing if
22373 selection is empty.
22374 (clone): Only clone list selection model if it is not null.
22375 (getRow): New method. (isRowSelected, getLeadSelectionRow,
22376 setSelectionPath, setSelectionPaths, toString): Implemented.
22377 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22378 Pass the empty rectangle. (isFixedRowHeight): New method.
22379 * javax/swing/tree/VariableHeightLayoutCache.java
22380 (NodeRecord.getBounds): Pass the empty rectangle.
22382 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22384 * gnu/java/security/Properties.java
22385 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22387 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
22389 * gnu/classpath/jdwp/util/Value.java
22390 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
22391 creating new Boolean instances.
22393 2006-04-20 Mark Wielaard <mark@klomp.org>
22395 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22396 PrivilegedAction. Access awt.toolkit through SystemProperties.
22398 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22400 * javax/swing/ActionMap.java: Removed unused imports,
22401 * javax/swing/DefaultListSelectionModel.java
22402 (clearSelection): Removed unused label,
22403 * javax/swing/JScrollPane.java: Removed unused imports,
22404 * javax/swing/UIManager.java: Likewise,
22405 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22407 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22409 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22410 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22411 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22412 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22413 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22415 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22417 * java/sql/Array.java: Fixed Eclipse API doc warnings,
22418 * java/sql/Blob.java: Likewise,
22419 * java/sql/CallableStatement.java: Likewise,
22420 * java/sql/Clob.java: Likewise,
22421 * java/sql/Connection.java: Likewise,
22422 * java/sql/DatabaseMetaData.java: Likewise,
22423 * java/sql/Date.java: Likewise,
22424 * java/sql/Driver.java: Likewise,
22425 * java/sql/PreparedStatement.java: Likewise,
22426 * java/sql/ResultSet.java: Likewise,
22427 * java/sql/ResultSetMetaData.java: Likewise,
22428 * java/sql/SQLData.java: Likewise,
22429 * java/sql/SQLOutput.java: Likewise,
22430 * java/sql/SQLWarning.java: Likewise,
22431 * java/sql/Statement.java: Likewise,
22432 * java/sql/Time.java: Likewise,
22433 * java/sql/Timestamp.java: Likewise.
22435 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22437 * java/sql/DriverManager.java
22438 (setLoginTimeout): Use incoming argument,
22439 (setLogStream): Likewise,
22440 (println): Fix API doc comment.
22442 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22444 * javax/swing/JMenuItem.java
22445 (paramString): Updated API docs,
22446 (getAccessibleContext): Added API docs,
22447 (AccessibleJMenuItem.stateChanged): Marked as stub,
22448 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22449 * javax/swing/JSlider.java
22450 (paramString): Fix for API docs,
22451 * javax/swing/JToolTip.java
22452 (getAccessibleContext): Fix for API docs.
22454 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22456 * javax/swing/JRadioButtonMenuItem.java
22457 (paramString): Reimplemented,
22458 (getAccessibleContext): API docs added,
22459 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
22461 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22463 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22465 * javax/swing/plaf/basic/BasicTreeUI.java
22466 (finish): Invalidate path bounds.
22467 (getMaxHeight): Set the row height to the layout cache.
22468 (startEditing): Do not request to recalculated
22469 row height and preferred size.
22470 * javax/swing/tree/DefaultTreeCellEditor.java
22471 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22473 * javax/swing/tree/FixedHeightLayoutCache.java:
22476 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22478 * javax/swing/JDesktopPane.java
22479 (paramString): Reimplemented,
22480 plus API doc updates in AccessibleJDesktopPane.
22482 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22484 * javax/swing/ImageIcon.java:
22485 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22486 (AccessibleImageIcon.getLocale): Declared exception and always return
22488 (getAccessibleContext): Updated API docs,
22489 plus updated API docs all over AccessibleImageIcon.
22491 2006-04-20 Roman Kennke <kennke@aicas.com>
22494 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22495 (paintText): Fetch the ascent only once. Add the ascent to
22496 the text rect also when tabs are disabled.
22498 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22500 * java/util/Locale.java (defaultLocale): Set to en_US per
22501 default and use user.country but prioritize user.region if
22503 (getLocale(String language, String country)): Renamed region to
22505 (getLocale(String language, String region, String variant)):
22507 (getAvailableLocales): Likewise.
22509 2006-04-20 Roman Kennke <kennke@aicas.com>
22512 * javax/swing/JList.java
22513 (JList()): Call init() with DefaultListModel instance.
22514 (JList(Object[])): Call init() with null.
22515 (JList(Vector)): Call init() with null.
22516 (JList(ListModel)): Call init() with model.
22517 (init): Changed to take the model as argument. Don't call
22518 setter methods and initialize stuff directly instead.
22519 (getCellBounds): Check if UI is null.
22521 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22523 * javax/swing/text/WrappedPlainView.java: Initialize
22524 WrappedLine.numLines with -1.
22525 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22526 numLines is -1 and reculcalate the value appropriately.
22527 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22528 allocation area is empty.
22530 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22532 * javax/swing/JTabbedPane.java
22533 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22534 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22535 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22536 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22537 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22538 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22539 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22540 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22541 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22542 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22543 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22544 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22545 (Page.getAccessibleStateSet): Likewise,
22546 (Page.getAccessibleIndexInParent): Likewise.
22548 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22550 * javax/swing/JProgressBar.java
22551 (paramString): Reimplemented.
22553 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22555 * javax/swing/JButton.java: Updated API docs all over.
22557 2006-04-19 Roman Kennke <kennke@aicas.com>
22559 * java/awt/Toolkit.java
22560 (getDefaultToolkit): Use system classloader to load the
22563 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22565 * javax/swing/text/DefaultCaret.java:
22566 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22567 instead of DefaultCaret.setDot.
22569 2006-04-19 Roman Kennke <kennke@aicas.com>
22571 * native/jni/java-net/local.c
22572 (local_read): Handle EINTR correctly.
22573 (local_write): Likewise.
22575 2006-04-19 Riccardo Mottola <multix@gmail.com>
22577 PR classpath/27062, PR classpath/25650:
22578 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22580 2006-04-19 Tom Tromey <tromey@redhat.com>
22582 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22583 value of 'pureMinutes'. PR classpath/27189.
22585 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22587 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22588 boot packages list from the META-INF/INDEX.LIST file if it exists.
22590 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22592 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22593 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22594 (ITERATION_COUNT): Removed modifiers.
22595 (PASSWORD): Likewise.
22597 (PASSWORD_ENCODING): New property.
22598 (DEFAULT_PASSWORD_ENCODING): New constant.
22599 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22600 material (bytes) before a password (chars).
22602 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22604 * javax/swing/JMenu.java
22605 (getAccessibleChildrenCount): Marked as stub,
22606 (getAccessibleChild): Likewise,
22607 (getAccessibleSelection): Likewise,
22608 (getAccessibleSelection(int)): Likewise,
22609 (isAccessibleChildSelected): Likewise,
22610 (getAccessibleSelectionCount): Likewise,
22611 (addAccessibleSelection): Likewise,
22612 (removeAccessibleSelection): Likewise,
22613 (clearAccessibleSelection): Likewise,
22614 (selectAllAccessibleSelection): Likewise.
22616 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22618 * javax/swing/JSplitPane.java
22619 (getAccessibleContext): Added API docs,
22620 (paramString): Reimplemented,
22621 (setOrientation): Updated API docs,
22622 (setResizeWeight): Added argument checking and event notification.
22624 2006-04-18 Casey Marshall <csm@gnu.org>
22626 Fixes PR classpath/25673
22627 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22628 property is set. Update JavaDoc to reflect this.
22630 2006-04-18 Lillian Angel <langel@redhat.com>
22632 * gnu/xml/dom/DomDocument.java
22633 (setCheckingCharacters): New function used to set
22634 checkingCharacters flag.
22635 * gnu/xml/dom/html2/DomHTMLParser.java
22636 (parseDocument): Added call to set checkingCharacters flag
22639 2006-04-18 Lillian Angel <langel@redhat.com>
22641 * gnu/xml/dom/DomDocument.java
22642 (checkNCName): Reverted last patch. Added check for colon at
22643 last position back in.
22645 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22647 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22649 * examples/gnu/classpath/examples/swing/Demo.java:
22650 (mkMenuBar): Added NavigationFilter demo.
22652 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22654 * javax/swing/JSeparator.java: Updated API docs all over, plus
22655 (setOrientation): Fire PropertyChangeEvent,
22656 (paramString): Reimplemented.
22658 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22660 * javax/swing/plaf/basic/BasicTextUI.java:
22661 (getNextVisualPositionFrom): Implemented.
22663 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22665 * javax/swing/JPanel.java: Updated API docs all over, plus
22666 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22667 double-buffer flag.
22669 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22671 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22673 * examples/gnu/classpath/examples/swing/Demo.java:
22674 (mkMenuBar): Added DocumenFilter demo.
22676 2006-04-18 Tom Tromey <tromey@redhat.com>
22678 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22680 2006-04-18 Mark Wielaard <mark@klomp.org>
22682 Reported by John Sullivan (johns@fsf.org)
22683 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22685 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22687 * javax/swing/JInternalFrame.java
22688 (JDesktopIcon.getAccessibleContext): Added API docs,
22689 (getDefaultCloseOperation): Likewise,
22690 (paramString): Added 'title' attribute,
22691 (setDefaultCloseOperation): Added API docs.
22693 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22695 * javax/swing/JSlider.java
22696 (paramString): Reimplemented.
22698 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22700 * javax/swing/JComboBox.java
22701 (paramString): Reimplemented,
22702 (getAccessibleContext): Added API docs,
22703 (AccessibleJComboBox.getAccessibleRole): Likewise.
22705 2006-04-18 Roman Kennke <kennke@aicas.com>
22707 * javax/swing/RepaintManager.java
22708 (dirtyComponentsWork): New field.
22709 (ComponentComparator): Use dirtyComponentsWork instead of
22711 (RepaintManager): Initialize new field.
22712 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22713 and work on the copy.
22715 2006-04-18 Roman Kennke <kennke@aicas.com>
22717 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22718 (setBounds): Call reshape().
22719 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22720 (SwingContainerPeer): Changed argument to be a Component
22721 instead a Container.
22722 (getInsets): Call insets().
22723 (handleMouseEvent): Added null check to avoid NPE.
22724 (handleMouseMotionEvent): Added null check to avoid NPE.
22726 2006-04-18 Roman Kennke <kennke@aicas.com>
22729 * javax/swing/JComponent.java
22730 (paintChildrenWithOverlap): When one child is not opaque, propagate
22731 the dirty rectangles to the next child.
22732 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22733 This actually didn't work right and probably gained nothing.
22735 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22737 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22738 (moveToCellBeingEdited): Do not clone the rectangle here.
22740 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22742 * javax/swing/plaf/basic/BasicSliderUI.java
22743 (getActionMap): Fixed lookup key,
22744 (createActionMap): Modified actions to fetch slider/ui from the event
22747 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22749 * java/lang/Enum.java: Documented.
22751 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22753 * gnu/java/lang/InstrumentationImpl.java:
22754 Moved from java.lang.
22755 * java/lang/InstrumentationImpl.java:
22757 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22758 Moved from java.lang.
22759 * vm/reference/java/lang/VMClassLoader.java:
22760 Corrected reference to InstrumentationImpl.
22761 * vm/reference/java/lang/VMInstrumentationImpl.java:
22764 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22766 * java/lang/annotation/Annotation.java:
22769 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22771 * javax/swing/JToolBar.java
22772 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22773 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22774 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22775 (getAccessibleContext): Likewise.
22777 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22780 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22782 * native/fdlibm/Makefile.am,
22783 native/jni/classpath/Makefile.am:
22784 Don't use -module and -version-info for convenience libraries LDFLAGS.
22785 Fixes libtool warnings.
22787 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22789 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22790 (installKeyboardActions): Marked as stub,
22791 (uninstallKeyboardActions): Likewise,
22792 * javax/swing/plaf/basic/BasicComboPopup.java:
22793 (installKeyboardActions): Marked as stub,
22794 (uninstallKeyboardActions): Likewise,
22795 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22796 (installKeyboardActions): Marked as stub,
22797 (uninstallKeyboardActions): Likewise,
22798 * javax/swing/plaf/basic/BasicLabelUI.java:
22799 (installKeyboardActions): Marked as stub,
22800 (uninstallKeyboardActions): Likewise,
22801 * javax/swing/plaf/basic/BasicListUI.java:
22802 (installKeyboardActions): Marked as stub,
22803 (uninstallKeyboardActions): Likewise,
22804 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22805 (installKeyboardActions): Marked as stub,
22806 (uninstallKeyboardActions): Likewise,
22807 * javax/swing/plaf/basic/BasicMenuUI.java:
22808 (installKeyboardActions): Marked as stub,
22809 (uninstallKeyboardActions): Likewise,
22810 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22811 (installKeyboardActions): Marked as stub,
22812 (uninstallKeyboardActions): Likewise,
22813 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22814 (installKeyboardActions): Marked as stub,
22815 (uninstallKeyboardActions): Likewise,
22816 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22817 (installKeyboardActions): Marked as stub,
22818 (uninstallKeyboardActions): Likewise,
22819 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22820 (installKeyboardActions): Marked as stub,
22821 (uninstallKeyboardActions): Likewise,
22822 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22823 (installKeyboardActions): Marked as stub,
22824 (uninstallKeyboardActions): Likewise,
22825 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22826 (installKeyboardActions): Marked as stub,
22827 (uninstallKeyboardActions): Likewise,
22828 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22829 (installKeyboardActions): Marked as stub,
22830 (uninstallKeyboardActions): Likewise,
22831 * javax/swing/plaf/basic/BasicTableUI.java:
22832 (installKeyboardActions): Marked as stub,
22833 (uninstallKeyboardActions): Likewise,
22834 * javax/swing/plaf/basic/BasicTextUI.java:
22835 (installKeyboardActions): Marked as stub,
22836 (uninstallKeyboardActions): Likewise,
22837 * javax/swing/plaf/basic/BasicToolBarUI.java:
22838 (installKeyboardActions): Marked as stub,
22839 (uninstallKeyboardActions): Likewise.
22841 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22843 * javax/swing/plaf/basic/BasicSliderUI.java
22844 (installKeyboardActions): Implemented,
22845 (uninstallKeyboardActions): Implemented,
22846 (scrollByBlock): Accept any value for direction,
22847 (scrollByUnit): Likewise,
22848 (getInputMap): New method,
22849 (getActionMap): New method,
22850 (createActionMap): New method.
22853 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22855 * doc/vmintegration.texinfo:
22858 2006-04-16 Tom Tromey <tromey@redhat.com>
22860 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22862 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22865 Mention generics additions to the VM interface.
22866 * doc/vmintegration.texinfo:
22867 Added information on VMClass 1.5 additions and
22870 2006-04-16 Casey Marshall <csm@gnu.org>
22872 * NEWS: add an entry mentioning local socket support.
22874 2006-04-16 Casey Marshall <csm@gnu.org>
22876 * configure.ac (--enable-local-sockets): new enable argument.
22877 (ENABLE_LOCAL_SOCKETS): new define.
22878 * native/jni/java-net/Makefile.am (local_sources): new variable.
22879 (lib_javanet_la_SOURCES): append `local_sources.'
22880 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22881 * native/jni/java-net/local.c,
22882 * native/jni/java-net/local.h,
22883 * include/gnu_java_net_local_LocalSocketImpl.h,
22884 * gnu/java/net/local/LocalServerSocket.java,
22885 * gnu/java/net/local/LocalSocket.java,
22886 * gnu/java/net/local/LocalSocketAddress.java,
22887 * gnu/java/net/local/LocalSocketImpl.java: new files.
22889 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22891 * javax/accessibility/AccessibleAction.java:
22892 (DECREMENT): Added field.
22893 (INCREMENT): Likewise.
22894 (TOGGLE_EXPAND): Likewise.
22895 * javax/accessibility/AccessibleRole.java:
22896 (EDITBAR): Added field.
22897 (FOOTER): Likewise.
22898 (HEADER): Likewise.
22899 (PARAGRAPH): Likewise.
22900 (PROGRESS_MONITOR): Likewise.
22902 * javax/accessibility/AccessibleState.java:
22903 (INDETERMINATE): Added field.
22904 (MANAGES_DESCENDANTS): Likewise.
22905 (TRUNCATED): Likewise.
22907 2006-04-14 Tom Tromey <tromey@redhat.com>
22909 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22911 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22914 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22916 * javax/swing/text/DefaultCaret.java:
22917 (getBypass): New method.
22918 (moveDot): Rewritten.
22919 (moveDotImpl): New method.
22920 (setDot): Rewritten.
22921 (setDotImpl): New method.
22922 (DefaultCaret.Bypass): New class.
22924 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22926 * javax/swing/text/AbstractDocument.java:
22927 (getBypass): New method.
22928 (insertString): Rewritten.
22929 (remove): Rewritten.
22930 (replace): Rewritten.
22931 (insertStringImpl): New method.
22932 (removeImpl): New method.
22933 (replaceImpl): New method.
22934 (AbstractDocument.Bypass): New class.
22936 2006-04-14 Casey Marshall <csm@gnu.org>
22938 Fixes PR classpath/24642
22939 * NEWS: add note about SecureRandom changes, and addition of
22941 * java/security/SecureRandom.java (isSeeded): new field.
22942 (setSeed, setSeed): set `isSeeded' to `true.'
22943 (nextBytes): seed this instance if `isSeeded' is false.
22944 (getSeed): call `generateSeed.'
22945 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22946 (generateSeed, generateSeed): new methods.
22947 * vm/reference/java/security/VMSecureRandom.java: new file.
22949 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22951 * javax/swing/text/FieldView.java:
22952 (paint): Apply clipping rectangle of the allocation area
22953 before painting the text.
22954 * javax/swing/text/DefaultHighlighter.java:
22955 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22956 compute union and intersection, calculate intersection with allocation
22957 area before painting, adjust x and width when painting multiple lines
22958 by the range of the allocation area.
22960 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22962 * javax/swing/text/DefaultHighlighter.java:
22963 (paintLayeredHighlights): Marked as stub.
22965 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22967 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22968 (propertyChanged): Added note, change color only if current background
22969 is a ColorUIResource instance.
22971 2006-04-14 Tom Tromey <tromey@redhat.com>
22973 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22977 2006-04-14 Tom Tromey <tromey@redhat.com>
22979 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22981 2006-04-14 Mark Wielaard <mark@klomp.org>
22983 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22984 thread group when exceptionHandler isn't set.
22985 * vm/reference/java/lang/VMThread.java (run): Use result of
22986 thread.getUncaughtExceptionHandler directly.
22988 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22990 * javax/swing/JSplitPane.java
22991 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22992 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22993 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22994 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22995 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22996 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22997 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22999 2006-04-10 Tom Tromey <tromey@redhat.com>
23001 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
23002 Fixed parameter bounds.
23004 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
23006 * gnu/javax/crypto/assembly/Assembly.java,
23007 * gnu/javax/crypto/assembly/Cascade.java,
23008 * gnu/javax/crypto/assembly/CascadeStage.java,
23009 * gnu/javax/crypto/assembly/CascadeTransformer.java,
23010 * gnu/javax/crypto/assembly/Direction.java,
23011 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
23012 * gnu/javax/crypto/assembly/ModeStage.java,
23013 * gnu/javax/crypto/assembly/Operation.java,
23014 * gnu/javax/crypto/assembly/PaddingTransformer.java,
23015 * gnu/javax/crypto/assembly/Stage.java,
23016 * gnu/javax/crypto/assembly/Transformer.java,
23017 * gnu/javax/crypto/cipher/Square.java,
23018 * gnu/javax/crypto/jce/cipher/AESSpi.java,
23019 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
23020 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
23021 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
23022 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
23023 * gnu/javax/crypto/jce/cipher/DESSpi.java,
23024 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
23025 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
23026 * gnu/javax/crypto/jce/cipher/PBES2.java,
23027 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
23028 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
23029 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
23030 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
23031 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
23032 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
23033 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
23034 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
23035 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
23036 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23037 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23038 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23039 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23040 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23041 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23042 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23043 * gnu/javax/crypto/jce/mac/MacAdapter.java,
23044 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23045 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
23046 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
23047 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23048 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23049 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23050 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23051 * gnu/javax/crypto/pad/WrongPaddingException.java,
23052 * gnu/javax/crypto/prng/ICMGenerator.java,
23053 * gnu/javax/crypto/prng/IPBE.java,
23054 * gnu/javax/crypto/prng/PBKDF2.java,
23055 * gnu/javax/crypto/sasl/ConfidentialityException.java,
23056 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23057 * gnu/javax/crypto/sasl/srp/IALG.java,
23058 * gnu/javax/crypto/sasl/srp/SRPServer.java:
23059 Remove CVS revision tags.
23061 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23063 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
23064 Removed debugging code.
23066 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23068 * javax/swing/JTree.java (getPreferredSize): Return the
23070 * javax/swing/ViewportLayout.java (layoutContainer):
23071 Do not manage the view size and location if the view is
23072 in the scroll pane. Also manage size and location for
23073 Scrollable, if it is not in the scroll pane.
23074 * javax/swing/plaf/basic/BasicTreeUI.java,
23075 * javax/swing/tree/FixedHeightLayoutCache.java,
23076 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23077 * gnu/javax/swing/tree/GnuPath.java: New file.
23079 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23081 * javax/swing/JToolBar.java
23082 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23084 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23086 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23087 (createCustomColoredPanel): Set background color as demo intends,
23088 changed custom selection color to red.
23089 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23090 Replaced various single variables with a Compound instance, added
23091 custom highlighter demo.
23092 (TextFieldDemo.DemoHighlightPainter): New class (taken from
23094 (TextFieldDemo.Compound): New class.
23095 (createTextFieldCompound): New method.
23096 (createLeftAlignedPanel): Rewritten.
23097 (createRightAlignedPanel): Rewritten.
23098 (createCenteredPanel): Rewritten.
23099 (createCustomColoredPanel): Removed.
23100 (createCustomColoredPanel1): New method.
23101 (createCustomColoredPanel2): New method.
23102 (createCustomBordersPanel): New method.
23103 (createMiscPanel): Rewritten.
23104 (actionPerformed): Rewritten.
23105 (createContent): Add panels of new compounds to main panel, put
23106 main panel in a JScrollPane.
23107 * examples/gnu/classpath/examples/swing/Demo.java:
23108 (Demo): Put desktop in a scrollpane.
23109 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23110 method via reflection.
23112 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23114 * javax/swing/plaf/metal/MetalDesktopIconUI.java
23115 (createUI): Return new instance rather than shared instance.
23117 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23119 * javax/swing/text/FieldView.java:
23120 (checkContainer): Call updateVisibility() at the end.
23122 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23124 * java/awt/event/MouseEvent.java:
23125 (paramString): Add value of 'consumed' variable in string.
23127 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
23130 * javax/swing/JTextField.java: Removed scrollOffset variable.
23131 (JTextField): Moved up initialization of horizontalVisibility field.
23132 (getScrollOffset): Implemented.
23133 (setScrollOffset): Implemented.
23134 (getHorizonztalVisibility): Removed note.
23135 (scrollRectToVisible): New method.
23136 * javax/swing/text/FieldView.java: Added cachedSpan variable.
23137 (checkContainer): New method.
23138 (updateVisibility): New method.
23139 (calculateHorizontalSpan): New method.
23140 (adjustAllocation): Removed unneeded local variables, added code
23141 to handle scrolling.
23142 (getPreferredSpan): Use new method calculateHorizontalSpan,
23143 avoid calculation by returning cached value cachedSpan.
23144 (paint): Added check whether the hosted component is a JTextField.
23145 (insertUpdate): Invalidate cached span value, update visibility
23147 (removeUpdate): Dito.
23148 (changeUpdate): Dito.
23150 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23152 * javax/swing/JInternalFrame.java
23153 (setTitle): Set old value to 'this.title', not 'title'.
23155 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
23157 * javax/swing/JInternalFrame.java
23158 (AccessibleJInternalFrame.getAccessibleName): Implemented,
23159 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23160 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23161 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23162 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23163 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23164 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23165 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23166 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23167 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
23169 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
23171 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
23173 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
23175 (JInternalFrame()): Use "" for default title,
23176 (getAccessibleContext): Updated API docs,
23177 (getDesktopIcon): Likewise,
23178 (getLayer): Check for layer in client properties, and return
23179 DEFAULT_LAYER if no setting is found,
23180 (getTitle): Updated API docs,
23181 (setDesktopIcon): Fire property change event.
23183 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23185 * javax/swing/ScrollPaneLayout.java (layoutContainer):
23186 Mind that the presence of one scroll bar may cause the
23189 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
23191 * gnu/regexp/REToken.java(unicodeAware): New field,
23192 (toLowerCase, toUpperCase): New methods.
23193 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23194 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23195 Use toLowerCase and toUpperCase defined in REToken instead of
23196 those defined in java.lang.Character.
23197 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23198 (initialize): Sets unicodeAware of the generated REToken to false if
23199 REG_ICASE_USASCII is set.
23200 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23201 to lower case and keep the original value.
23202 (matchOneString): Use the new method charEquals to compare characters.
23203 (charEquals): New method to compare characters.
23204 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23206 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
23208 * javax/swing/event/InternalFrameEvent.java:
23209 (paramString): Implemented,
23210 updated API docs all over.
23212 2006-04-12 Casey Marshall <csm@gnu.org>
23214 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23215 (Generator.setup): call `fillBlock.'
23217 2006-04-12 Casey Marshall <csm@gnu.org>
23219 Fixes PR classpath/24481.
23220 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23221 initialize the adaptee.
23222 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23223 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23224 addRandomBytes): new methods.
23226 2006-04-12 Tom Tromey <tromey@redhat.com>
23228 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23231 2006-04-12 Lillian Angel <langel@redhat.com>
23233 * gnu/xml/dom/DomDocument.java
23234 (checkNCName): Removed unneeded part of check.
23235 * gnu/xml/dom/DomNode.java
23236 (dispatchEvent): Added code to grow ancestors array
23237 if needed. Changed checks to use depth of node instead.
23238 Fixes an infinite loop and segmentation fault.
23239 * gnu/xml/dom/html2/DomHTMLParser.java
23240 (handleEndTag): No need to use/make a copy of the node.
23241 Causes an infinite loop.
23243 2006-04-12 Tom Tromey <tromey@redhat.com>
23245 PR classpath/27131:
23246 * java/util/BitSet.java (get): Early return if to==from.
23248 2006-04-12 Mark Wielaard <mark@klomp.org>
23250 * java/security/SecureRandom.java (algorithm): New private field.
23251 (SecureRandom): Initialize algorithm.
23252 (SecureRandom(SecureRandomSpi,Provider,String)): New private
23254 (getInstance): Call 3 argument constructor.
23255 (getAlgorithm): New method.
23257 2006-04-12 Mark Wielaard <mark@klomp.org>
23259 Port UncaughtExceptionHandler support from generics branch.
23260 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23262 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
23264 * java/lang/Thread.java:
23265 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23266 Added docs and security check.
23267 (getUncaughtExceptionHandler()): Documented.
23268 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23269 Added docs and security check.
23270 (getDefaultUncaughtExceptionHandler()): Documented.
23271 (getId()): Documented.
23273 2006-04-12 Tom Tromey <tromey@redhat.com>
23275 * vm/reference/java/lang/VMThread.java (run): Use thread's
23277 * java/lang/Thread.java (defaultHandler): New field.
23278 (setDefaultUncaughtExceptionHandler,
23279 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23280 getUncaughtExceptionHandler): New methods.
23281 * java/lang/ThreadGroup.java (ThreadGroup): Implements
23282 UncaughtExceptionHandler.
23283 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23285 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
23287 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23288 buffer. Loop only once to determine Utf8 length when possible. Make
23289 the inner loop bounded by buf.length.
23290 (getUTFlength): New private method.
23291 (buf): New private field.
23293 2006-04-11 Lillian Angel <langel@redhat.com>
23295 * gnu/xml/dom/DomNodeIterator.java
23296 (nextNode): Moved line of code to avoid an infinite loop.
23297 * gnu/xml/dom/html2/DomHTMLAppletElement.java
23298 (getCls): New function.
23299 (setCls): Likewise.
23300 (getSrc): Likewise.
23301 (setSrc): Likewise.
23302 * gnu/xml/dom/html2/DomHTMLDocument.java:
23303 Added DomHTMLEmbedElement to map.
23304 (getApplets): Added node name, 'embed'.
23305 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23307 * gnu/xml/dom/html2/DomHTMLObjectElement.java
23308 (getJavaCode): New function.
23309 (setJavaCode): Likewise.
23310 (getObject): Likewise.
23311 (setObject): Likewise.
23312 (getJavaObject): Likewise.
23313 (setJavaObject): Likewise.
23314 (getJavaArchive): Likewise.
23315 (setJavaArchive): Likewise.
23316 (getJavaCodeBase): Likewise.
23317 (setJavaCodeBase): Likewise.
23318 (getJavaType): Likewise.
23319 (setJavaType): Likewise.
23320 (setMayscript): Likewise.
23321 (getMayscript): Likewise.
23322 (setScriptable): Likewise.
23323 (getScriptable): Likewise.
23324 * gnu/xml/dom/html2/DomHTMLParser.java
23325 (parseDocument): Should not check for well formedness
23326 when parsing an html document.
23327 * java/awt/Window.java
23328 (dispatchEvent): Added check to avoid NPE.
23330 2006-04-10 Tom Tromey <tromey@redhat.com>
23332 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23334 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23335 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23337 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
23339 * javax/swing/plaf/basic/BasicTextUI.java:
23340 (getNextVisualPositionFrom): Marked as stub.
23342 2006-04-10 Roman Kennke <kennke@aicas.com>
23344 * javax/swing/plaf/basic/BasicLookAndFeel.java
23345 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23346 and create the defaults as strings constants.
23347 (loadSystemColors): Implemented stubbed method.
23349 2006-04-10 Tom Tromey <tromey@redhat.com>
23351 * .settings/org.eclipse.core.resources.prefs: Set encoding for
23354 2006-04-10 Tom Tromey <tromey@redhat.com>
23356 * java/io/CharArrayWriter.java (append): Javadoc fix.
23357 (append): Likewise.
23359 2006-04-10 Tom Tromey <tromey@redhat.com>
23361 * javax/accessibility/AccessibleTextSequence.java: New file.
23362 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23364 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23365 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23366 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23367 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23368 * javax/accessibility/AccessibleExtendedText.java: New file.
23369 * javax/accessibility/AccessibleContext.java
23370 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23371 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23372 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23373 * javax/accessibility/AccessibleAttributeSequence.java: New file.
23374 * javax/accessibility/AccessibleStreamable.java: New file.
23375 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23378 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23380 * javax/swing/tree/AbstractLayoutCache.java
23381 (getNodeDimensions, getRowsForPath): Implemented.
23382 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23383 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23385 2006-04-10 Roman Kennke <kennke@aicas.com>
23387 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23389 2006-04-10 Roman Kennke <kennke@aicas.com>
23391 * javax/swing/JInternalFrame.java
23392 (AccessibleJInternalFrame): Marked all stubbed methods as such
23393 by adding throws NotImplementedException.
23395 2006-04-10 Roman Kennke <kennke@aicas.com>
23397 * javax/swing/JFileChooser.java
23398 (getAccessibleContext): Don't create a new instance on each
23399 call, instead store the accessible context in the
23400 accessibleContext field.
23402 2006-04-10 Roman Kennke <kennke@aicas.com>
23404 * javax/swing/JComboBox.java
23405 (AccessibleJComboBox): Marked all stubbed methods as such
23406 by adding throws NotImplementedException.
23408 2006-04-10 Roman Kennke <kennke@aicas.com>
23410 * javax/swing/ActionMap.java
23411 (readObject): Removed.
23412 (writeObject): Removed.
23414 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23416 * javax/swing/tree/DefaultTreeSelectionModel.java
23417 (addSelectionPaths, setSelectionPaths): Call
23418 insureUniqueness. (clone, setRowMapper): Implemented.
23419 * TreePath (path): Marked final.
23421 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23423 * javax/swing/tree/DefaultTreeSelectionModel.java:
23424 Documented and autoformatted. (insureUniqueness):
23425 Removed stub marking.
23427 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
23429 * javax/swing/SizeSequence.java
23430 (sizes): Don't initialise here,
23431 (SizeSequence(int, int)): Initialise sizes field,
23432 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23433 (setSize): Do nothing when index is out of bounds,
23434 (getIndex): Implemented,
23435 (setSizes): Reimplemented,
23436 (getSizes): Likewise,
23437 (insertEntries): Likewise,
23438 (removeEntries): Likewise,
23439 plus added API docs all over.
23441 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
23443 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23444 one way message and retry after any IOException.
23446 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23448 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23449 Set the byte order.
23451 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
23453 * org/omg/PortableServer/ServantLocatorPOA.java:
23454 (preinvoke, postinvoke): Remove default implementation.
23455 * org/omg/PortableServer/ServantActivatorPOA.java:
23456 (incarnate, etherealize): Remove default implementation.
23457 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
23458 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23459 (make_object): Moved method from ObjectReferenceFactoryOperations.
23460 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
23461 Removed unspecified interface.
23462 * org/omg/DynamicAny/_DynAnyStub.java:
23463 (_DynAnyStub(Delegate)): Removed constructor.
23464 * org/omg/DynamicAny/_DynArrayStub.java,
23465 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23466 * org/omg/DynamicAny/_DynEnumStub.java,
23467 * org/omg/DynamicAny/_DynFixedStub.java,
23468 * org/omg/DynamicAny/_DynSequenceStub.java,
23469 * org/omg/DynamicAny/_DynStructStub.java,
23470 * org/omg/DynamicAny/_DynUnionStub.java,
23471 * org/omg/DynamicAny/_DynValueStub.java:
23472 Extend from ObjectImpl and not from _DynAnyStub.
23473 (type, next, destroy, copy, rewind, assign, component_count,
23474 current_component, equal, from_any, get_any, get_boolean, get_char,
23475 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23476 get_reference, get_short, get_string, get_typecode, get_ulong,
23477 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23478 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23479 insert_long, insert_longlong, insert_octet, insert_reference,
23480 insert_short, insert_string, insert_typecode, insert_ulong,
23481 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23482 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23483 * org/omg/CosNaming/_BindingIteratorStub.java:
23484 (_BindingIteratorStub(Delegate)): Made package private.
23485 * org/omg/CosNaming/_NamingContextExtStub.java:
23486 (_NamingContextExtStub(Delegate)): Made package private.
23487 * org/omg/CosNaming/_NamingContextStub.java:
23488 (_NamingContextStub(Delegate)): Made package private.
23489 (throw4, throw5): Likewise.
23490 * gnu/CORBA/NamingService/NameParser.java (resolve):
23491 Adapt to package private constructor. Use _set_delegate instead.
23492 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23493 * org/omg/CORBA/ORB.java:
23494 (create_recursive_sequence_tc): Made abstract.
23495 (get_default_context): Likewise.
23496 * gnu/CORBA/OrbRestricted.java:
23497 (create_recursive_sequence_tc): New moved method.
23498 (get_default_context): Likewise.
23499 * org/omg/CORBA/ParameterMode.java:
23500 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23502 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23504 * gnu/CORBA/GIOP/MessageHeader.java (write):
23505 More informative exception.
23506 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23507 * gnu/CORBA/SocketRepository.java (get_socket):
23508 Removed debugging code.
23510 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23512 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23513 one way message, but ignore if EOF was received.
23514 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23515 Minor.EOF if the end of file is received instead of the header.
23517 2006-04-09 Roman Kennke <kennke@aicas.com>
23519 * javax/swing/plaf/metal/MetalRootPaneUI.java
23520 (MetalTitlePane.IconifyAction): New inner class.
23521 (MetalTitlePane.MaximizeAction): New inner class.
23522 (MetalTitlePane.createActions): Create iconifyAction and
23524 (MetalRootLayout.titlePane): New field.
23525 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23527 (MetalRootLayout.preferredLayoutSize): Changed to not make
23528 assumptions about the actual component order.
23529 (MetalRootLayout.layoutContainer): Changed to not make
23530 assumptions about the actual component order.
23531 (installWindowDecorations): Pass the titlePane as parameter to
23532 the MetalRootLayout constructor.
23533 (uninstallWindowDecorations): Changed to not make
23534 assumptions about the actual component order.
23536 2006-04-08 Roman Kennke <kennke@aicas.com>
23538 * javax/swing/plaf/metal/MetalRootPaneUI.java
23539 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23541 (MetalTitlePane.installListeners): Don't register a focus listener
23542 on the window. This is a potential memory leak and must be
23543 implemented on a different way. Install mouse listener here.
23544 (installWindowDecorations): Fixed assertion condition. Always
23545 insert the window decoration at index#1 in the layered
23548 2006-04-08 Roman Kennke <kennke@aicas.com>
23550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23551 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23552 Only resize window if actual width or height value changes.
23553 Avoids nasty flicker when only setLocation() is beeing called
23556 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23558 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23559 exception if the magic sequence does not match.
23561 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23563 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23564 response for the one way messages.
23566 2006-04-08 Roman Kennke <kennke@aicas.com>
23568 * javax/swing/MenuSelectionManager.java
23569 (processKeyEvent): Implemented stub method.
23570 * javax/swing/JMenu.java
23571 (processKeyEvent): Implemented stub method.
23572 * javax/swing/JMenu.java
23573 (processKeyEvent): Implemented stub method.
23574 (processMenuKeyEvent): Implemented stub method.
23576 2006-04-08 Roman Kennke <kennke@aicas.com>
23578 * javax/swing/AbstractAction.java
23579 (readObject): Removed unneeded method.
23580 (writeObject): Removed unneeded method.
23582 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23584 * javax/swing/plaf/synth/SynthPainter.java:
23585 (paintSplitPaneDividerBorder): Removed.
23587 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23589 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23590 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23591 No longer constants.
23592 (static_initializer): Added to initialize above fields.
23593 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23594 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23595 (static_initializer): Added to initialize above fields.
23597 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23599 * java/awt/Dialog.java: Improved documentation all over.
23600 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23601 (Dialog(Dialog)): Likewise.
23603 2006-04-08 Mark Wielaard <mark@klomp.org>
23605 * java/util/jar/JarFile.java (provider): New static field.
23606 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23609 2006-04-08 Mark Wielaard <mark@klomp.org>
23612 * java/lang/StackTraceElement.java (toString): Don't add space
23613 between type and source indicator.
23615 2006-04-07 Casey Marshall <csm@gnu.org>
23617 Fixes PR classpath/24464
23618 * java/util/jar/JarFile.java (verify, verifyHashes,
23619 EntryInputStream.<init>): pass the Gnu provider directly to
23622 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23625 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23626 (DIGEST0): Use version 3 test vector.
23628 (S_box): New field: Version 3 S-box values.
23629 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23630 (transform): Formating.
23631 (padBuffer): Likewise.
23632 (getResult): Likewise.
23633 (selfTest): Likewise.
23635 2006-04-07 Tom Tromey <tromey@redhat.com>
23637 * java/util/InvalidPropertiesFormatException.java
23638 (serialVersionUID): New field.
23639 (readObject, writeObject): New methods.
23640 * java/util/Arrays.java (toString): Javadoc fixes.
23641 * java/net/URLConnection.java: Cleaned up imports.
23642 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23643 * java/lang/reflect/MalformedParameterizedTypeException.java
23644 (serialVersionUID): New field.
23645 * java/lang/reflect/GenericSignatureFormatError.java
23646 (serialVersionUID): New field.
23647 * java/lang/Class.java (Class): Javado fixes.
23648 (getComponentType): Likewise.
23649 (getGenericInterfaces): Likewise.
23650 (getTypeParameters): Likewise.
23651 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23652 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23654 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23656 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23659 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23661 * java/awt/Dialog.java
23662 (AccessibleAWTDialog): Added api docs
23663 (AccessibleAWTDialog.getAccessibleStateSet):
23664 Renamed from getAccessibleState.
23665 * java/awt/Frame.java
23666 (AccessibleAWTFrame): Added api docs
23667 (AccessibleAWTFrame.getAccessibleStateSet):
23668 Renamed from getAccessibleState.
23670 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23672 * java/awt/Dialog.java: Reformatted.
23674 2006-04-07 Lillian Angel <langel@redhat.com>
23676 * java/awt/Component.java
23677 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23678 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23680 2006-04-07 Tom Tromey <tromey@redhat.com>
23682 * java/beans/beancontext/BeanContextMembershipEvent.java
23683 (serialVersionUID): New field.
23684 * java/beans/beancontext/BeanContextServicesSupport.java
23685 (addBeanContextServicesListener): Synchronize.
23686 (addService): Implemented.
23687 (createBCSChild): Implemented.
23688 (BCSSChild): Added arguments.
23689 (fireServiceAdded): Implemented.
23690 (fireServiceRevoked): Implemented.
23691 (getCurrentServiceSelectors): Implemented.
23692 (hasService): Implemented.
23693 (removeBeanContextServicesListener): Implemented.
23694 (serviceAvailable): Implemented.
23695 (serviceRevoked): Implemented.
23696 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23698 (createBCSChild): Implemented.
23699 (BeanContextSupport):
23700 (addBeanContextMembershipListener): Synchronize.
23701 (fireChildrenAdded): Implemented.
23702 (fireChildrenRemoved): Implemented.
23703 (BeanContextSupport): Use default locale.
23704 (isEmpty): Implemented.
23705 (isDesignTime): Implemented.
23706 (size): Implemented.
23707 (toArray): Synchronized.
23708 (toArray): Likewise.
23709 (iterator): Likewise.
23710 (BCSIterator): Implemented.
23711 (bcsChildren): Implemented.
23712 (validatePendingAdd): Implemented.
23713 (validatePendingRemove): Likewise.
23714 (childJustAddedHook): Implemented.
23715 (childJustRemovedHook): Likewise.
23716 (classEquals): Likewise.
23717 (toArray): Mark as stub.
23718 (setDesignTime): Implemented.
23719 (copyChildren): Implemented.
23720 (containsKey): Implemented.
23721 (contains): Likewise.
23722 (containsAll): Likewise.
23723 (getResource): Implemented.
23724 (getResourceAsStream): Likewise.
23725 (removeBeanContextMembershipListener): Likewise.
23726 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23727 (serialVersionUID): New field.
23728 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23729 (serialVersionUID): New field.
23730 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23733 2006-04-06 Roman Kennke <kennke@aicas.com>
23736 * javax/swing/MenuSelectionManager.java
23737 (setSelectedPath): Search one more item in the loop.
23739 2006-04-06 Tom Tromey <tromey@redhat.com>
23741 * java/awt/image/renderable/RenderableImageProducer.java
23742 (image, context, consumers): New fields.
23743 (RenderableImageProducer): Implemented.
23744 (setRenderContext): Likewise.
23745 (addConsumer): Likewise.
23746 (isConsumer): Likewise.
23747 (removeConsumer): Likewise.
23748 (startProduction): Likewise.
23750 2006-04-06 Roman Kennke <kennke@aicas.com>
23752 * java/awt/Component.java
23753 (AccessibleAWTComponent.getBounds): Return the component
23754 bounds regardless of its showing state.
23755 (AccessibleAWTComponent.getLocation): Return the component
23756 location regardless of its showing state.
23757 (AccessibleAWTComponent.getSize): Return the component
23758 size regardless of its showing state.
23760 2006-04-06 Roman Kennke <kennke@aicas.com>
23762 * javax/swing/JRootPane.java
23763 (getAccessibleContext): New method. Provides an accessibleContext
23766 2006-04-06 Roman Kennke <kennke@aicas.com>
23768 * java/awt/Toolkit.java
23769 (initAccessibility): Use the 'gnu.classpath.home.url' property
23770 to determine the system confiuration directory.
23771 * java/awt/Component.java
23772 (dispatchEvent): Trigger Toolkit dispatching here.
23773 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23774 so it can't be overridden by subclasses and is performed in
23777 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23779 * javax/naming/Binding.java: Added API docs.
23780 * javax/naming/NameClassPair.java: Added API docs.
23781 (fullName): New field.
23782 (setNameInNamespace): New 1.5 method.
23783 (getNameInNamespace): Likewise.
23785 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23787 * javax/naming/CompositeName.java:
23788 (readObject): New deserialization method.
23789 (writeObject): New serialization method.
23791 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23793 * javax/security/auth/x500/X500Principal.java
23794 (readAttributeValue) Check for separator after quoted value was
23795 failing in all cases.
23797 2006-04-06 Mark Wielaard <mark@klomp.org>
23799 * java/lang/Class.java (getClassLoader): Don't do security check
23800 when loader is null.
23802 2006-04-06 Roman Kennke <kennke@aicas.com>
23804 * java/awt/Toolkit.java
23805 (getDefaultToolkit): Initialize accessibility after setting
23807 (initAccessibility): New helper method to setup accessibility.
23809 2006-04-06 Roman Kennke <kennke@aicas.com>
23811 * javax/swing/AbstractButton.java
23812 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23813 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23815 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23816 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23817 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23818 (AccessibleAbstractButton.getCharCount): Implemented stub.
23819 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23820 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23821 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23822 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23823 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23824 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23827 2006-04-06 Roman Kennke <kennke@aicas.com>
23829 * java/awt/Component.java
23830 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23831 state here. This is only done in JComponent.
23832 * javax/swing/JComponent.java
23833 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23835 (getNextFocusableComponent): Implemented stub method.
23836 (grabFocus): Implemented stub method.
23837 (unregisterKeyboardAction): Implemented stub method.
23838 (setNextFocusableComponent): Implemented stub method.
23839 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23840 This is a helper class for providing compatibility with the older
23843 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23846 * javax/naming/directory/BasicAttribute.java,
23847 * javax/naming/directory/BasicAttributes.java:
23848 (readObject): New deserialization method.
23849 (writeObject): New serialization method.
23851 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23853 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23854 (getErrorHandler): Made method abstract.
23855 (setErrorHanlder): Likewise.
23856 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23857 (getErrorHandler): Implement abstract method from superclass.
23858 (setErrorHandler): Likewise.
23859 (errorHandler): New field.
23860 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23861 (getErrorHandler): Implement abstract method from superclass.
23862 (setErrorHandler): Likewise.
23863 (errorHandler): New field.
23864 * javax/xml/XMLConstants.java: Corrected since tag.
23865 (XMLConstants): Added private constructor.
23866 * javax/xml/datatype/Duration.java: Corrected since tag.
23867 (multiply): Made method abstract.
23868 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23869 (DatatypeConstants): Added private constructor.
23870 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23871 (XPathConstants): Added private constructor.
23873 2006-04-05 Tom Tromey <tromey@redhat.com>
23875 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23877 2006-04-05 Tom Tromey <tromey@redhat.com>
23880 * lib/Makefile.am (compile-classes): Touch the output file.
23882 2006-04-05 Roman Kennke <kennke@aicas.com>
23884 * javax/swing/AbstractButton.java
23885 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23886 of the focused state. This is already done in AccessibleAWTComponent.
23888 2006-04-05 Roman Kennke <kennke@aicas.com>
23890 * javax/swing/JComponent.java
23891 (accessibleContext): Fixed API doc for this field.
23892 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23893 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23894 Implemented and added API docs.
23895 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23896 Implemented and added API docs.
23897 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23898 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23899 Implemented and added API docs.
23900 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23901 Implemented and added API docs.
23902 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23903 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23904 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23905 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23906 (AccessibleJComponent.getAccessibleStateSet): Simply return
23907 super here. Added comment about this.
23909 2006-04-05 Roman Kennke <kennke@aicas.com>
23911 * javax/swing/JComponent.java
23912 (AccessibleJComponent.addPropertyChangeListener): Install
23913 ContainerHandler and FocusHandler here.
23914 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23915 ContainerHandler and FocusHandler here.
23916 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23917 by super.getAccessibleChildrenCount().
23918 (AccessibleJComponent.getAccessibleChild): Replaced
23919 by super.getAccessibleChild().
23920 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23921 adding OPAQUE to the supported states.
23922 (AccessibleJComponent.getAccessibleName): Added titled border
23923 and label fallbacks.
23924 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23925 and label fallbacks.
23926 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23927 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23928 explaining why return null seems correct here.
23929 * javax/swing/JLabel.java
23930 (LABEL_PROPERTY): New constant.
23931 (setLabelFor): Store label in labeled component's client properties
23932 for the AccessibleJComponent to read.
23934 2006-04-05 Tom Tromey <tromey@redhat.com>
23936 * java/util/zip/ZipFile.java (available): Defer to super if
23937 entry's size is unknown.
23939 2006-04-05 Tom Tromey <tromey@redhat.com>
23941 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23942 property with mime.types name.
23943 * gnu/classpath/SystemProperties.java: Set
23944 gnu.classpath.mime.types.file if not already set.
23945 * java/net/URLConnection.java (defaultFactory): New field.
23946 (guessContentTypeFromStream): Mark as unimplemented.
23947 (getContentHandler): Updated with libgcj's implementation.
23948 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23951 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23955 * java/util/AbstractList.java (hasNext): Don't throw
23956 ConcurrentModificationException. Update Javadoc.
23957 (hasPrevious): Likewise.
23958 (nextIndex): Likewise.
23959 (previousIndex): Likewise.
23960 * java/util/HashMap.java (hasNext): Likewise.
23961 * java/util/Hashtable.java (hasNext): Likewise.
23962 * java/util/IdentityHashMap.java (hasNext): Likewise.
23963 * java/util/LinkedHashMap.java (hasNext): Likewise.
23964 * java/util/LinkedList.java (nextIndex): Likewise.
23965 (previousIndex): Likewise.
23966 (hasNext): Likewise.
23967 (hasPrevious): Likewise.
23968 * java/util/TreeMap.java (hasNext): Likewise.
23969 * java/util/WeakHashMap.java (hasNext): Likewise.
23971 2006-04-05 Roman Kennke <kennke@aicas.com>
23973 * javax/swing/AbstractButton.java
23974 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23975 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23976 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23977 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23978 (AccessibleAbstractButton.getAccessibleActionDescription):
23980 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23981 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23982 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23983 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23984 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23985 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23987 2006-04-05 Roman Kennke <kennke@aicas.com>
23989 * javax/swing/JComboBox.java
23990 (selectWithKeyChar): Implemented stubbed method.
23992 2006-04-05 Roman Kennke <kennke@aicas.com>
23994 * javax/swing/LookAndFeel.java
23995 (installProperty): New method. Allows primitive typed properties
23996 to be handled like UIResources.
23997 * javax/swing/AbstractButton.java
23998 (clientBorderPaintedSet): New field.
23999 (clientRolloverEnabledSet): New field.
24000 (clientIconTextGapSet): New field.
24001 (clientContentAreaFilledSet): New field.
24002 (setRolloverEnabled): Set the client field to true.
24003 (setBorderPainted): Likewise.
24004 (setIconTextGap): Likewise.
24005 (setContentAreaFilled): Likewise.
24006 (setUIProperty): New helper method.
24007 * javax/swing/JComponent.java
24008 (clientOpaqueSet): New field.
24009 (clientAutoscrollsSet): New field.
24010 (setAutoscrolls): Set the client field to true.
24011 (setOpaque): Likewise.
24012 (setUIProperty): New helper method.
24013 * javax/swing/JDesktopPane.java
24014 (clientDragModeSet): New field.
24015 (setDragMode): Set the client field to true.
24016 (setUIProperty): New helper method.
24017 * javax/swing/JSplitPane.java
24018 (clientDividerSizeSet): New field.
24019 (clientOneTouchExpandableSet): New field.
24020 (setDividerSize): Set the client field to true.
24021 (setOneTouchExpandable): Likewise.
24022 (setUIProperty): New helper method.
24023 * javax/swing/JTable.java
24024 (clientRowHeightSet): New field.
24025 (setRowHeight): Set the client field to true.
24026 (setUIProperty): New helper method.
24027 * javax/swing/JTree.java
24028 (clientRowHeightSet): New field.
24029 (clientScrollsOnExpandSet): New field.
24030 (clientShowsRootHandlesSet): New field.
24031 (setRowHeight): Set the client field to true.
24032 (setShowsRootHandles): Likewise.
24033 (setScrollsOnExpand): Likewise.
24034 (setUIProperty): New helper method.
24036 2006-04-05 Roman Kennke <kennke@aicas.com>
24038 * java/awt/Component.java
24039 (getFont): Don't request the font from the peer's graphics. The
24040 graphics should instead get the font from the Component, which might
24042 (getFocusCycleAncestor): Don't special case Window.
24043 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
24044 to here. Correctly determine the focus cycle root.
24045 (transferFocusBackward): Likewise.
24046 (transferFocusUpCycle): Likewise.
24047 * java/awt/Container.java
24048 (transferFocusDownCycle): Moved implementation from
24049 DefaultKeyboardFocusManager to here.
24050 * java/awt/DefaultKeyboardFocusManager.java
24051 (focusPreviousComponent): Moved implementation to
24052 Component.transferFocusBackward().
24053 (focusNextComponent): Moved implementation to
24054 Component.nextFocus().
24055 (upFocusCycle): Moved implementation to
24056 Component.transferFocusUpCycle().
24057 (downFocusCycle): Moved implementation to
24058 Container.transferFocusDownCycle().
24060 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24062 * java/awt/image/ComponentSampleModel.java
24063 (equals): Implemented,
24064 (hashCode): Likewise.
24066 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
24068 * java/lang/Class.java
24069 (cast): New method.
24071 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24073 * java/awt/image/ComponentSampleModel.java
24074 (getBankIndices): Return a copy of the array, not a reference to the
24076 (getBandOffsets): Likewise.
24078 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
24080 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24082 2006-04-04 Tom Tromey <tromey@redhat.com>
24084 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24086 2006-04-04 Tom Tromey <tromey@redhat.com>
24088 * java/net/MimeTypeMapper.java (mime_types): No longer static.
24089 (MimeTypeMapper): Initialize.
24090 (fillFromFile): New method.
24091 (main): New method.
24092 (mime_strings): Updated.
24094 2006-04-04 Tom Tromey <tromey@redhat.com>
24096 * lib/gen-classlist.sh.in: Correct handle generated files.
24098 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
24100 * gnu/regexp/CharIndexed.java(setAnchor): New method.
24101 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24102 * gnu/regexp/CharIndexedCharSequence.java: New file.
24103 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24104 gnu.regexp.CharIndexedCharSequence.
24105 * gnu/regexp/CharIndexedString.java: Likewise.
24106 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24107 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24108 using CharIndexedCharSequence. Use setAnchor when the input
24109 object is already a CharIndexed.
24110 * java/util/regex/Matcher.java(inputCharIndexed): New field
24111 to be used as a parameter of the RE#getMatch.
24113 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24115 * java/awt/image/SampleModel.java: Reformatted.
24117 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24119 * java/awt/image/ComponentSampleModel.java
24120 (ComponentSampleModel(int, int, int, int, int[])): Added API
24122 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
24123 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24124 of the bandOffsets and bankIndices arguments, added API documentation,
24125 * java/awt/image/SampleModel.java
24126 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24127 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24128 less than or equal to zero, added API documentation.
24130 2006-04-04 Lillian Angel <langel@redhat.com>
24132 * java/util/zip/ZipFile.java
24133 (getInputStream): Fixed to return size of ZipEntry
24134 minus the total bytes read. This guarantees that the
24135 right value is returned even if some bytes have already
24138 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
24140 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24141 Remove static modifier.
24143 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
24145 * java/awt/image/ComponentSampleModel.java: Reformatted.
24147 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24149 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24150 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24151 retrieval instructions to javadoc header.
24152 * javax/imageio/ImageWriteParam.java: Fix javadoc for
24153 compressionType field.
24154 * lib/Makefile.am (propertydirs): Add javax directory.
24155 (propertyfiles): Likewise.
24156 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24159 2006-04-03 Tom Tromey <tromey@redhat.com>
24161 PR classpath/26971:
24162 * javax/naming/directory/BasicAttribute.java: Added missing @since.
24163 (BasicAttributeEnumeration.where): Initialize to 0.
24164 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24166 2006-04-03 Lillian Angel <langel@redhat.com>
24168 PR classpath/24596 and PR classpath/26930
24169 * java/util/zip/ZipFile.java
24170 (getInputStream): Override available function for
24171 InflaterInputStream instance.
24173 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
24175 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24177 2006-04-03 Tom Tromey <tromey@redhat.com>
24179 * javax/security/auth/kerberos/ServicePermission.java: New file.
24180 * javax/security/auth/kerberos/DelegationPermission.java: New file.
24181 * javax/security/auth/kerberos/KerberosKey.java: New file.
24182 * javax/security/auth/kerberos/KeyImpl.java: New file.
24183 * javax/security/auth/kerberos/KerberosTicket.java: New file.
24184 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24186 2006-04-03 Sven de Marothy <sven@physto.se>
24188 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24189 non-GtkImage images.
24191 2006-04-03 Mark Wielaard <mark@klomp.org>
24193 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24194 as temporary file name.
24196 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24198 * INSTALL: Documented --with-glibj-zip option.
24200 2006-04-03 Dalibor Topic <robilad@kaffe.org>
24202 Fixed all pscan warnings.
24204 * native/jni/classpath/jcl.c (JCL_ThrowException),
24205 native/jni/classpath/jcl.h (DBG),
24206 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24207 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24208 Use "%s" format in fprintf and snprintf explicitely when printing a single
24209 string to prevent format string exploits.
24211 * native/jni/java-net/javanet.h (DBG): Removed duplicate
24212 definition. Included jcl.h instead.
24214 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
24216 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24217 (provider): Made it protected.
24218 (providerInstalled): New field.
24219 (Main): Made it a 0-arguments constructor.
24220 Removed throws clasue.
24221 (main): Removed throws clause.
24222 Call processArgs(args) after constructing instance.
24223 Call teardown() before existing.
24224 (processArgs): Added javadoc.
24225 Reduced to throws Exception.
24227 (teardown): New method.
24228 (setupCommonParams): Added javadoc.
24229 Install designated provider if not already installed.
24230 (installNewProvider): New method.
24231 (setupSigningParams): Added javadoc.
24232 Instantiate the KeyStore using type only.
24233 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24234 Removed unused imports.
24235 (start): Reduced to throws Exception.
24236 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24237 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24238 Re-organized imports.
24239 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24240 Test ignoring case.
24241 (getNames): Add "dsa" as an algorithm provided by this Factory.
24242 (makeInstance): Construct IllegalArgumentException with 2 arguments.
24244 2006-04-03 Roman Kennke <kennke@aicas.com>
24246 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24247 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24248 Replaced g_free() with pango_item_free() to avoid problems
24249 with the allocator.
24251 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
24254 * java/util/logging/Level.java (parse): Document.
24255 * java/util/logging/LogManager.java (rootLogger): Removed.
24256 (LogManager): Just set loggers to new HashMap.
24257 (getLogManager): Make synchronized. Create and init LogManager if it
24259 (static): Removed block.
24260 (MANAGER_PROPERTY): New private final string.
24261 (makeLogManager): Use new property string, move warning to
24262 createInstance() method.
24263 (CONFIG_PROPERTY): New private final string.
24264 (initLogManager): New method.
24265 (addLogger): Use Logger.root, not rootLogger.
24266 (findAncestor): Likewise.
24267 (readConfiguration): Move warning to createInstance() method.
24268 Add handlers directly to Logger.root. Warn about bad level values.
24269 (getClassProperty): Use new locateClass() method.
24270 (getInstanceProperty): Only catch specific newInstance Errors.
24271 (createInstance): Make private and takes a string to use in warning
24272 messages. Use new locateClass() method and generate appropriate
24274 (warn): New methods.
24275 (locateClass): Locates a class through the context class loader and
24276 system class loader as backup.
24277 * java/util/logging/Logger.java (root): New static final field.
24278 (Logger): Set parent to root.
24279 (setParent): Directly check root field.
24281 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24283 * java/util/Collections.java:
24284 (binarySearch(List, T)): Fixed signature.
24285 (unmodifiableList(List)): Likewise.
24286 (UnmodifiableList(List)): Fixed constructor.
24287 (UnmodifiableRandomAccessList(List)): Likewise.
24288 (unmodifiableMap(Map)): Fixed signature.
24289 (UnmodifiableMap(Map)): Fixed constructor.
24290 (unmodifiableSortedMap(Map)): Fixed signature.
24291 (UnmodifiableSortedMap(Map)): Fixed constructor.
24293 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
24295 * java/io/ObjectOutputStream.java:
24296 (writeObject(Object)): Added enum support.
24297 (writeClassDescriptor(ObjectStreamClass)): Likewise.
24298 * java/io/ObjectStreamClass.java:
24299 (isEnum()): New package-private method.
24300 (setFlags(Class)): Added enum support.
24301 * java/io/ObjectStreamConstants.java:
24304 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24306 * javax/swing/text/Segment.java:
24307 (setPosition): Make exception message more verbose.
24308 * javax/swing/text/WrappedPlainView.java:
24309 (insertUpdate): Removed unneeded repaint call.
24310 (changeUpdate): Dito.
24311 (removeUpdate): Dito.
24312 (WrappedLine.determineNumLines): Do not return numLines, break
24313 from loop if no new break point has been calculated.
24314 (WrappedLine.updateDamage): Rewritten.
24315 (WrappedLine.insertUpdate): Removed unneeded update code.
24316 (WrappedLine.removeUpdate): Removed unneeded update code, added
24319 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24321 * configure.ac (with-glibj-zip): Added new option.
24323 * examples/Makefile.am,
24325 tools/Makefile.am: Adapted build classpath to use glibj.zip,
24326 in addition to classes in lib directory.
24328 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24330 * tools/gnu/classpath/tools/giop/GRMIC.java,
24331 tools/gnu/classpath/tools/giop/IorParser.java,
24332 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24333 tools/gnu/classpath/tools/giop/grmic/Generator.java,
24334 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24335 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24336 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24337 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24338 tools/gnu/classpath/tools/rmi/RMIC.java,
24339 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24340 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24341 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24342 linking exception from the licensing header.
24343 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24344 Added licensing header.
24346 2006-04-02 Mark Wielaard <mark@klomp.org>
24348 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24349 (jarsigner): Removed.
24351 2006-04-02 Dalibor Topic <robilad@kaffe.org>
24353 * configure.ac: don't check for isnan function.
24354 * native/fdlibm/fdlibm.h: Always use the isnan macro.
24356 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24358 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24359 * tools/Makefile.am: Generate jarsigner shell script.
24360 * tools/jarsigner.sh.in: New template.
24361 * tools/.cvsignore: Added jarsigner.sh.
24363 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
24365 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24366 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24367 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24368 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24369 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24370 Re-organised imports.
24372 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
24374 PR classpath/25924:
24375 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24376 Handle case where alpha==0.
24378 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24381 * javax/swing/text/Utilities.java:
24382 (getTabbedTextOffset): Added check to decrement pos not below zero,
24383 changed '>' comparison to '>='.
24384 * javax/swing/text/WrappedPlainView.java:
24385 (lineHeight): New field.
24386 (calculateBreakPosition): Throw InternalError in catch block, removed
24387 unneeded brackets, use specific version of
24388 Utilities.getTabbedTextOffset.
24389 (paint): Set various properties neccessary for drawing.
24390 (WrappedLine.paint): Removed code to set field of outer class.
24391 (WrappedLine.modelToView): Removed unneeded expression from
24393 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24394 -1 from return statement, copy only a subset into the Segment, removed
24395 special handling of mark value - just return it, simplified
24396 incrementation of currLineStart.
24397 (WrappedLine.insertUpdate): Recalculate numLines, report preference
24398 change to parent view.
24399 (WrappedLine.removeUpdate): Dito.
24401 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24403 * javax/swing/text/Segment.java:
24404 (toString): Return empty string when array is null.
24406 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
24408 * javax/swing/plaf/basic/BasicTextUI.java:
24409 (damageRange): Use SwingUtilities.computeUnion to avoid
24410 unneccessary Rectangle instantiation.
24412 2006-04-01 Tom Tromey <tromey@redhat.com>
24414 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24416 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24418 * javax/swing/text/CompositeView.java: Fixed copyright header.
24419 * javax/swing/text/BoxView.java: Fixed copyright header.
24420 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24421 * javax/swing/text/Utilities.java: Fixed copyright header.
24423 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24425 * javax/swing/text/CompositeView.java:
24426 (modelToView): Throw BadLocationException when no child
24427 view can be found, restructed to throw exception as early
24429 (viewToModel): Use mutable allocation as argument for viewToModel
24430 call on child view.
24431 * javax/swing/text/BoxView.java:
24432 (getViewAtPoint): Call setBounds() r before method returns with
24433 suitable child view.
24434 * javax/swing/text/Utilities.java:
24435 (getPositionBelow): Added try-catch-block around modelToView call,
24436 added method return when BadLocationException was thrown.
24437 * javax/swing/text/WrappedPlainView.java:
24438 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24439 added note about meaning of rect.x and rect.width, removed unneeded
24440 checks, added code to not return the last possible document offset.
24442 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
24444 * javax/swing/text/WrappedPlainView.java:
24445 (WrappedLine.viewToModel): Change < to <= in if-statement,
24446 removed addition of currLineStart to return value.
24447 * javax/swing/text/BoxView.java:
24448 (getViewAtPoint): Use copy instead of r for method call
24449 which modifies the second argument.
24451 2006-04-01 Mark Wielaard <mark@klomp.org>
24454 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24456 2006-03-31 Tom Tromey <tromey@redhat.com>
24458 * lib/split-for-gcj.sh: Updated for multi-field format.
24459 * lib/Makefile.am (CLEANFILES): Added classes.2.
24460 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
24461 classes.2 using multiple fields.
24463 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24465 * javax/swing/JTable.java (columnSelectionChanged):
24466 Removed print statement.
24467 * javax/swing/DefaultListSelectionModel.java
24468 (addSelectionInterval, removeSelectionInterval):
24469 Fire the difference between selection. (setLeadSelectionIndex):
24470 Fire the difference and mark current and previous lead
24471 selection indexes for repaint.
24473 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24475 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24476 unnecessary copying.
24477 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24479 2006-03-31 Lillian Angel <langel@redhat.com>
24481 * java/awt/Component.java
24482 (translateEvent): oldKey should be the value of the
24485 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24487 * javax/swing/JTable.java (columnSelectionChanged):
24488 Treat second repaint parameter as width.
24490 2006-03-31 Lillian Angel <langel@redhat.com>
24493 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24494 (realize): New native function.
24495 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24496 Added new function declaration.
24497 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24498 (realize): New function.
24500 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24502 * javax/swing/text/GapContent.java:
24503 (replace): Move all Position instances from gap's end to
24504 it's start before increasing the gap start.
24505 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24506 (propertyChanged): Update the view only instead of
24507 indicating a document change.
24509 2006-03-31 Roman Kennke <kennke@aicas.com>
24511 * javax/swing/JTextField.java
24512 (fireActionPerformed): Put the textfields text in the action
24513 instead of the action name.
24515 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24517 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24518 Check for null jar-file argument.
24519 (setupSigningParams): Check for null alias argument.
24521 2006-03-31 Roman Kennke <kennke@aicas.com>
24523 * javax/swing/JComponent.java
24524 (paintChildren): Split up in two cases, depending on the
24525 optimizedDrawingEnabled flag.
24526 (paintChildrenWithOverlap): New method. Paints children when
24527 not optimizedDrawingEnabled. This implements better painting
24528 algorithm for overlapping components, so that the painted
24529 regions are minimized.
24530 (paintChildrenOptimized): New method. Paints children when
24531 when optimizedDrawingEnabled. This implements a painting
24532 algorithm that is optimized for the case when all children
24533 are guaranteed to be tiled.
24535 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24537 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24538 Attributes.putValue(String,String).
24539 (finishSigning): Likewise.
24540 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24541 (SIGNATURE_VERSION): Likewise.
24542 (readSFManifest): Use local string constant.
24543 (readMainSection): Likewise.
24544 (readVersionInfo): Likewise.
24545 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24546 Redefined using JarUtils constant.
24547 (SIGNATURE_VERSION): Likewise.
24548 (putValue(Name,String)): Made it private.
24550 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24552 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24553 New method. (clearSelection): Rewritten. (setSelectionInterval):
24554 Fire the difference between current and new selection.
24555 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24556 Only repaint the region, where selection has been changed.
24557 * javax/swing/plaf/basic/BasicTableUI.java
24558 (TableAction.actionPerformed): Do not change the column selection
24559 when only row selection change is wanted (and in reverse) and
24560 do not call the repaint() here.
24562 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24565 * javax/swing/DefaultComboBoxModel.java
24566 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24568 (addElement): Call list.addElement() rather than list.add(), and only
24569 update selected item if it is currently null,
24570 (removeElementAt): Update selected item, then remove the element.
24572 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24575 * java/awt/geom/Point2D.java
24576 (distanceSq(double, double)): Fixed order of arguments,
24577 (distanceSq(Point2D)): Likewise,
24578 (distance(double, double)): Likewise,
24579 (distance(Point2D)): Likewise.
24581 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24583 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24584 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24585 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24586 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24587 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24589 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24591 * javax.swing.JTable (constructor): Initialize column
24592 model column margin and table row margin before setting the
24593 table column model. (initialiseLocalVars): Do not call
24594 setIntercellSpacing.
24596 2006-03-30 Chris Burdess <dog@gnu.org>
24598 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24600 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24602 2006-03-30 Mark Wielaard <mark@klomp.org>
24605 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24606 adjust bounds. On resize invalidate and validate container.
24607 Always pass on ComponentEvents to Container super class.
24608 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24609 menuBar and pass to GtkWindowPeer super class.
24610 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24611 bounds and pass to GtkWindowPeer super class.
24612 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24613 New fields for local bounds.
24614 (getX, getY): New methods.
24615 (getWidth): Don't call into awtComponent.
24616 (getHeight): Likewise.
24617 (create): Cache local bounds.
24618 (setLocation): Documented, made protected and just call
24620 (setLocationUnlocked): Removed unused method.
24621 (setBoundsUnlocked): Likewise.
24622 (setBounds): Check whether bounds actually changed and cache local
24624 (setSize): Documented and made protected.
24625 (setResizable): Documented and cache local bounds.
24626 (postConfigureEvent): Update local bounds. Don't call awtComponent
24627 directly but post ComponentEvents.
24628 (show): Cache local bounds.
24629 (getBounds): Override to return cached bounds.
24631 2006-03-30 Lillian Angel <langel@redhat.com>
24633 * gnu/java/awt/peer/gtk/GdkGraphics.java
24634 (drawImage): Added check to prevent NPE.
24635 (drawImage): Likewise.
24636 (drawImage): Likewise.
24637 * java/awt/Choice.java
24638 (dispatchEventImpl): New function. selectedIndex was
24639 not being updated properly otherwise.
24641 2006-03-30 Roman Kennke <kennke@aicas.com>
24643 * javax/swing/JTabbedPane.java
24644 (removeTabAt): Removed debug code.
24646 2006-03-30 Roman Kennke <kennke@aicas.com>
24649 * javax/swing/plaf/basic/BasicTextUI.java
24650 (installKeyboardActions): Simply call getKeymap() and install this.
24651 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24653 2006-03-30 Roman Kennke <kennke@aicas.com>
24655 * javax/swing/JTabbedPane.java
24656 (removeTabAt): Adjust selection correctly when removing a tab
24657 before the selected tab. Also remove the component from the
24658 container, not only the tab object. Repaint and revalidate the
24659 component after the removal.
24660 (removeAll): Set selection to -1 before removing the tabs.
24662 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24664 * java/io/ObjectInputStream.java:
24665 (parseContent(byte)): Added enum support.
24666 * java/io/ObjectStreamConstants.java:
24668 (TC_MAX): Changed to new maximum, TC_ENUM.
24670 2006-03-29 Lillian Angel <langel@redhat.com>
24672 Partial fix for bug #26929
24673 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24674 (updateComponent): Removed. We want to clear the panel
24676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24677 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24678 Should set the background to the saved background color.
24680 2006-03-29 Mark Wielaard <mark@klomp.org>
24682 Partial fix for bug #26848 (pack).
24683 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24684 Always show instances of Window.
24686 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24688 * javax/swing/JSlider.java
24689 (setPaintLabels): Only create standard labels if labelTable is null,
24690 * javax/swing/plaf/basic/BasicSliderUI.java
24691 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24692 "paintTicks" property change,
24693 (calculateThumbSize): Updated API docs,
24694 (calculateContentRect): Likewise,
24695 (calculateTrackBuffer): Take into account the lowest and highest
24696 labels when calculating buffer space,
24697 (calculateTrackRect): Include labels, if visible, in the calculation of
24698 the trackRect position,
24699 (calculateTickRect): Height is zero if ticks are not painted,
24700 (calculateLabelRect): Use max dimensions of actual labels,
24701 (getWidthOfHighValueLabel): Use preferred size,
24702 (getWidthOfLowValueLabel): Likewise,
24703 (getHeightOfHighValueLabel): Likewise,
24704 (getHeightOfLowValueLabel): Likewise,
24705 (drawInverted): Just return slider setting,
24706 (getHighestValueLabel): Updated API docs,
24707 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24708 to xPositionForValue() and yPositionForValue(),
24709 (paintHorizontalLabel): Removed full qualification of class name,
24710 (paintVerticalLabel): Likewise,
24711 (xPositionForValue): Reimplemented,
24712 (yPositionForValue): Reimplemented,
24713 * javax/swing/plaf/metal/MetalSliderUI.java
24714 (paintTrack): Made track one pixel longer.
24716 2006-03-29 Tom Tromey <tromey@redhat.com>
24719 * tools/Makefile.am (JCOMPILER): Added encoding options.
24720 * examples/Makefile.am (JCOMPILER): Added encoding options.
24722 2006-03-29 Gary Benson <gbenson@redhat.com>
24724 Partial fix for PR classpath/24895
24725 * java/io/FilePermission.java (implies): Canonicalize paths.
24727 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24730 * javax/swing/text/GapContent.java:
24731 (replace): Added call to resetMarksAtZero.
24733 2006-03-29 Roman Kennke <kennke@aicas.com>
24736 * javax/swing/plaf/basic/BasicMenuItemUI.java
24737 (cachedRect): New field.
24738 (BasicMenuItemUI): Initialize cachedRect field.
24739 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24740 to determine layout. Store maximum accelerator and text width
24741 in client properties of parent to allow correct alignment
24742 of accelerators among menu items of one menu.
24743 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24744 method. Align accelerators according to the values calculated
24745 in getPreferredMenuItemSize.
24746 (getAcceleratorString) New helper method.
24747 (layoutMenuItem): New helper method.
24749 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24751 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24752 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24753 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24755 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24756 readExternal, writeExternal): New methods.
24757 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24758 two stages, invokeCommon(Remote, ...) and
24759 invokeCommen(UnicastConnection, ...).
24760 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24761 also the ActivatableRef. toString(): Documented.
24762 * gnu/java/rmi/server/ActivatableRef.java,
24763 tools/gnu/classpath/tools/rmi/Persistent.java,
24764 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24765 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24766 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24767 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24768 tools/gnu/classpath/tools/rmi/RMID.java,
24769 tools/gnu/classpath/tools/rmi/RMID.txt,
24770 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24771 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24772 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24773 tools/gnu/classpath/tools/rmi/registry/package.html,
24774 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24775 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24777 * tools/README: Documented.
24778 * NEWS: Added entry about the activation.
24780 2006-03-29 Roman Kennke <kennke@aicas.com>
24783 * javax/swing/plaf/basic/BasicMenuItemUI.java
24784 (viewRect): New field.
24785 (textRect): New field.
24786 (accelRect): New field.
24787 (iconRect): New field.
24788 (arrowIconRect): New field.
24789 (checkIconRect): New field.
24790 (BasicMenuItemUI): Initialize new fields.
24791 (paintMenuItem): Rewritten to correctly layout and paint
24792 the menu item in a more straightforward way. Use cached rectangle
24793 objects for layout.
24794 (paintAccelerator): Pulled inside the paintMenuItem method.
24796 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24798 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24799 Do not use initCause with UnexpectedException.
24800 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24803 2006-03-29 Mark Wielaard <mark@klomp.org>
24805 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24806 (setCursorID): Removed unused static variable.
24808 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24810 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24812 2006-03-29 Mark Wielaard <mark@klomp.org>
24815 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24816 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24818 2006-03-28 Roman Kennke <kennke@aicas.com>
24820 * javax/swing/UIManager.java
24821 (installLookAndFeel): Implemented.
24822 (setInstalledLookAndFeels): Implemented.
24824 2006-03-28 Roman Kennke <kennke@aicas.com>
24826 * javax/swing/plaf/metal/MetalButtonUI.java
24827 (update): Paint gradient only when the background color
24828 is not a UIResource and if the button is neither armed nor
24829 pressed and if the button is contentAreaFilled.
24831 2006-03-28 Roman Kennke <kennke@aicas.com>
24833 * javax/swing/JLayeredPane.java
24834 (addImpl): Repaint added component.
24836 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24838 * java/util/regex/Matcher.java: Reverted.
24840 2006-03-28 Roman Kennke <kennke@aicas.com>
24842 * javax/swing/text/AsyncBoxView.java
24843 (setEstimatedMajorSpan): Made method protected.
24844 (getEstimatedMajorSpan): Made method protected.
24845 * javax/swing/text/BoxView.java
24846 (flipEastAndWestAtEnds): Fixed typo.
24847 * javax/swing/text/InternationalFormatter.java
24848 (getActions): Made method protected.
24849 * javax/swing/text/Position.java
24850 (Bias): Made class final.
24851 * javax/swing/text/html/HTML.java
24852 (MEDIA): Made field package private. Not specified.
24853 (NOBR): Made field package private. Not specified.
24854 * javax/swing/text/html/NullView.java
24855 Made class package private.
24856 * javax/swing/text/html/parser/Entity.java
24857 Made class non-serializable as specified.
24859 2006-03-28 Roman Kennke <kennke@aicas.com>
24861 * javax/swing/plaf/metal/MetalButtonUI.java
24862 (update): Don't paint gradient if the background color is
24863 no UIResource. Removed double getModel() call. Don't check for
24866 2006-03-28 Roman Kennke <kennke@aicas.com>
24868 * javax/swing/plaf/basic/BasicMenuItemUI.java
24869 (paint): Call paintMenuItem with the selectionBackground as
24871 (paintBackground): Fixed the condition and color for the background
24874 2006-03-28 Roman Kennke <kennke@aicas.com>
24876 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24877 (tabsOpaque): New field.
24878 (paintLeftTabBorder): Paint some parts only when the tabs are
24879 opaque. Determine the tab background using the paintLeftTabBorder()
24881 (paintRightTabBorder): Likewise.
24882 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24884 2006-03-27 Tom Tromey <tromey@redhat.com>
24886 PR classpath/25189:
24887 * java/lang/Enum.java (valueOf): Ensure that the named field
24888 is an enum constant.
24889 (compareTo): Check class of enum.
24891 2006-03-27 Tom Tromey <tromey@redhat.com>
24893 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24895 2006-03-27 Tom Tromey <tromey@redhat.com>
24897 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24899 (getModifiersInternal): Renamed from getModifiers.
24900 (getModifiers): New method.
24901 (isBridge): Likewise.
24902 (isSynthetic): Likewise.
24903 (isVarArgs): Likewise.
24904 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24906 (getModifiersInternal): Renamed from getModifiers.
24907 (getModifiers): New method.
24908 (isSynthetic): Likewise.
24909 (isEnumConstant): Likewise.
24910 * vm/reference/java/lang/reflect/Constructor.java
24911 (getModifiersInternal): Renamed from getModifiers.
24912 (getModifiers): New method
24913 (CONSTRUCTOR_MODIFIERS): New constant.
24914 (isSynthetic): New method.
24915 (isVarArgs): Likewise.
24916 * java/lang/reflect/Member.java (isSynthetic): New method.
24918 2006-03-28 Tom Tromey <tromey@redhat.com>
24920 * java/net/Proxy.java (TYPE): Added missing ";".
24922 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24924 * java/math/RoundingMode.java:
24925 Fixed serialization UID.
24926 * java/net/Proxy.java:
24929 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24931 * java/io/CharArrayWriter.java:
24932 (append(char)): Documented.
24933 (append(CharSequence)): Likewise.
24934 (append(CharSequence,int,int)): Likewise.
24936 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24938 * vm/reference/java/lang/reflect/Constructor.java
24939 (getTypeParameters): Check return value of getSignature for null.
24940 * vm/reference/java/lang/reflect/Method.java
24941 (getTypeParameters): Check return value of getSignature for null.
24943 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24945 * java/rmi/activation/ActivationGroup_Stub.java:
24948 2006-03-27 Tom Tromey <tromey@redhat.com>
24950 * java/io/CharArrayWriter.java (append): New overloads.
24952 2006-03-27 Lillian Angel <langel@redhat.com>
24954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24955 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24956 Added check for colormap. Prevents assertion error.
24957 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24959 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24961 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24963 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24965 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24968 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24970 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24971 AC_MSG_ERROR instead of echoing the error message
24972 that no compiler has been found manually.
24974 2006-03-27 Roman Kennke <kennke@aicas.com>
24976 * javax/swing/RepaintManager.java
24977 (commitBuffer): Use simple drawImage() method instead of the
24980 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24982 * javax/swing/text/PlainView.java:
24983 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24984 for painting the selected line.
24986 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24988 * javax/swing/plaf/basic/BasicSliderUI.java
24989 (getThumbSize): Removed TODO and updated API docs.
24991 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24993 * javax/swing/text/DefaultCaret.java:
24994 (mouseClicked): Word selection rewritten.
24995 (paint): Draw line inside the bounding rectangle.
24996 (damage): Retrieve caret height from line height.
24998 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
25000 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
25002 Check for -help option.
25003 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
25005 2006-03-27 Roman Kennke <kennke@aicas.com>
25007 * javax/swing/text/FieldView.java
25008 (getPreferredSpan): Don't include trailing newline in
25010 * javax/swing/text/PlainView.java
25011 (drawLine): Don't include trailing newline.
25012 (determineMaxLineLength): Don't include trailing newline.
25013 (getLineBuffer): Made method final.
25015 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
25017 * javax/swing/JSlider.java
25018 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
25019 (AccessibleJSlider.getAccessibleRole): Removed declaration of
25020 NotImplementedException,
25021 (AccessibleJSlider.getAccessibleValue): Updated API docs.
25023 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
25025 * java/lang/ProcessBuilder.java:
25028 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
25030 * gnu/java/net/protocol/http/Headers.java:
25031 Match layout of file on HEAD.
25032 * gnu/javax/swing/text/html/parser/htmlValidator.java:
25034 * java/awt/datatransfer/DataFlavor.java
25037 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
25039 * gnu/java/security/jce/hash/HavalSpi.java,
25040 * gnu/java/security/jce/hash/MD2Spi.java,
25041 * gnu/java/security/jce/hash/MD4Spi.java,
25042 * gnu/java/security/jce/hash/MD5Spi.java,
25043 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
25044 * gnu/java/security/jce/hash/RipeMD128Spi.java,
25045 * gnu/java/security/jce/hash/RipeMD160Spi.java,
25046 * gnu/java/security/jce/hash/Sha160Spi.java,
25047 * gnu/java/security/jce/hash/Sha256Spi.java,
25048 * gnu/java/security/jce/hash/Sha384Spi.java,
25049 * gnu/java/security/jce/hash/Sha512Spi.java,
25050 * gnu/java/security/jce/hash/TigerSpi.java,
25051 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25052 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25053 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25054 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25055 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25056 * gnu/java/security/jce/sig/SignatureAdapter.java,
25057 * gnu/java/security/key/IKeyPairCodec.java,
25058 * gnu/java/security/key/IKeyPairGenerator.java,
25059 * gnu/java/security/key/KeyPairGeneratorFactory.java,
25060 * gnu/java/security/key/dss/DSSKey.java,
25061 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25062 * gnu/java/security/key/dss/DSSPrivateKey.java,
25063 * gnu/java/security/key/dss/DSSPublicKey.java,
25064 * gnu/java/security/key/dss/FIPS186.java,
25065 * gnu/java/security/key/rsa/GnuRSAKey.java,
25066 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25067 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25068 * gnu/java/security/sig/ISignature.java,
25069 * gnu/java/security/sig/ISignatureCodec.java,
25070 * gnu/java/security/sig/dss/DSSSignature.java,
25071 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25072 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25073 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25074 * gnu/java/security/util/Util.java:
25075 Remove CVS revision tags.
25077 2006-03-26 Tom Tromey <tromey@redhat.com>
25079 * java/io/InputStream.java (InputStream): Implements Closeable.
25081 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
25083 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25085 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25086 getAnchor): New methods.
25087 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25088 getAnchor): New methods.
25089 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25090 getAnchor): New methods.
25091 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25092 getAnchor): New methods.
25093 * gnu/regexp/REMatch.java(start1): New field.
25094 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25095 (match): set the starting position to start1[] instead of start[],
25096 (getMatchImpl): Set the found REMatch to the input,
25097 (makeCharIndexed): Made public.
25098 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25099 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25100 set the value of start[] copying from start1[].
25101 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25103 * java/util/regex/Matcher.java(inputCharIndexed): New field
25104 to be used as a parameter of the RE#getMatch.
25106 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25108 * gnu/java/rmi/activation/DefaultActivationGroup.java:
25109 Documented the default jre spawning strategy (none).
25110 * java/rmi/activation/ActivationGroup.java (currentGroupId,
25111 getSystem): Obtain the acticivation system from the
25112 DefaultActivationSystem.
25114 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25116 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25117 Ask user for keystore password if one was not provided.
25119 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
25121 * tools/README: Added Security tools section.
25122 Documented the jarsigner tool.
25124 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
25126 * javax/swing/JScrollBar.java
25127 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25128 (AccessibleJScrollBar.getAccessibleRole): Likewise,
25129 (AccessibleJScrollBar.getAccessibleValue): Likewise,
25130 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25131 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25132 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25133 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25134 (getAccessibleContext): Updated API docs.
25136 2006-03-25 Tom Tromey <tromey@redhat.com>
25138 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25139 change or if generator script changes.
25141 2006-03-25 Tom Tromey <tromey@redhat.com>
25143 * javax/naming/ldap/StartTlsRequest.java: New file.
25144 * javax/naming/ldap/StartTlsResponse.java: New file.
25146 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
25148 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25149 to validate all components of a resource path.
25150 (FileURLLoader.walkPathComponents): Helper which ensures that we are
25151 allowed to walk through every component of a resource path.
25153 2006-03-25 Michael Koch <konqueror@gmx.de>
25155 * NEWS: Added item for CLDR 1.3 update.
25157 2006-03-25 Michael Koch <konqueror@gmx.de>
25159 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25160 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25161 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25162 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25163 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25164 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25167 2006-03-25 Michael Koch <konqueror@gmx.de>
25169 * resource/gnu/java/locale/LocaleInformation_az.properties,
25170 resource/gnu/java/locale/LocaleInformation_bs.properties,
25171 resource/gnu/java/locale/LocaleInformation_byn.properties,
25172 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25173 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25174 resource/gnu/java/locale/LocaleInformation_gez.properties,
25175 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25176 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25177 resource/gnu/java/locale/LocaleInformation_haw.properties,
25178 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25179 resource/gnu/java/locale/LocaleInformation_kok.properties,
25180 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25181 resource/gnu/java/locale/LocaleInformation_sid.properties,
25182 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25183 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25184 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25185 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25186 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25187 resource/gnu/java/locale/LocaleInformation_syr.properties,
25188 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25189 resource/gnu/java/locale/LocaleInformation_tig.properties,
25190 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25191 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25192 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25193 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25194 resource/gnu/java/locale/LocaleInformation_wal.properties,
25195 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25198 2006-03-25 Michael Koch <konqueror@gmx.de>
25200 * resource/gnu/java/locale/LocaleInformation_fa.properties,
25201 resource/gnu/java/locale/LocaleInformation_kn.properties,
25202 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25203 resource/gnu/java/locale/LocaleInformation_ko.properties,
25204 resource/gnu/java/locale/LocaleInformation_sl.properties,
25205 resource/gnu/java/locale/LocaleInformation_so.properties,
25206 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25207 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25208 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25209 resource/gnu/java/locale/LocaleInformation_sr.properties:
25210 Random fixes I forgot to commit before.
25212 2006-03-25 Michael Koch <konqueror@gmx.de>
25214 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25215 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25216 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25217 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25218 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25219 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25220 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25221 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25222 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25223 resource/gnu/java/locale/LocaleInformation_en.properties,
25224 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25225 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25226 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25227 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25228 resource/gnu/java/locale/LocaleInformation_fa.properties,
25229 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25230 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25231 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25232 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25233 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25234 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25235 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25236 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25237 resource/gnu/java/locale/LocaleInformation_pa.properties,
25238 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25239 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25240 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25241 resource/gnu/java/locale/LocaleInformation_sa.properties,
25242 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25243 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25244 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25245 Updated currency formats.
25247 2006-03-25 Roman Kennke <kennke@aicas.com>
25249 * javax/swing/text/AbstractDocument.java
25250 (getAttributeContext): Made method final.
25251 (getCurrentWriter): Likewise.
25252 (getEndPosition): Likewise.
25253 (getProperty): Likewise.
25254 (getStartPosition): Likewise.
25255 (putProperty): Likewise.
25256 (readLock): Likewise.
25257 (readUnlock): Likewise.
25258 (writeLock): Likewise.
25259 (writeUnlock): Likewise.
25261 2006-03-25 Roman Kennke <kennke@aicas.com>
25263 * javax/swing/InputMap.java
25264 (allKeys): Check if parent keys is null.
25265 * javax/swing/KeyboardManager.java
25266 (registerEntireMap): Also register map's parent keys.
25267 * javax/swing/plaf/metal/MetalRootPaneUI.java
25268 (propertyChange): Also call super.propertyChange().
25270 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25272 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25273 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25274 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25275 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25276 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25277 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25279 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25281 * gnu/java/util/jar/JarUtils.java: New file.
25282 * java/util/jar/Manifest.java (CRLF): Removed.
25283 (read_main_section): Likewise.
25284 (read_version_info): Likewise.
25285 (expect_header(String,BufferedReader)): Likewise.
25286 (expect_header(String,BufferedReader,String)): Likewise.
25287 (read_header_value): Likewise.
25288 (read_attributes): Likewise.
25289 (read_attribute): Likewise.
25290 (read_individual_sections): Likewise.
25291 (read_section_name): Likewise.
25292 (write_main_section): Likewise.
25293 (write_version_info): Likewise.
25294 (write_header): Likewise.
25295 (write_main_attributes): Likewise.
25296 (write_attribute_entry): Likewise.
25297 (write_individual_sections): Likewise.
25298 (write_entry_attributes): Likewise.
25299 (read): use JarUtils.
25302 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
25304 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25307 (SignerInfo(BERReader)): Updated javadoc.
25309 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25311 (encode): New method.
25312 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25313 (PKCS7_DATA): Removed.
25316 (PKCS7SignedData(BERReader)): Updated javadoc.
25318 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25320 (encode): New method.
25321 * gnu/java/security/pkcs/PKCS7Data.java: New file.
25322 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25323 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25324 (decodePrivateKey): Decode x from an OCTET STRING.
25325 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25326 (toString): New method.
25327 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25329 (toString): New method.
25330 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25331 (toString): New method.
25332 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25334 2006-03-25 Roman Kennke <kennke@aicas.com>
25336 * java/util/GregorianCalender.java
25337 (computeTime): Fix comparison to correctly calculate the
25340 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
25343 * java/awt/Window.java:
25344 (setFocusCycleRoot): New overriden method.
25345 (isFocusCycleRoot): Likewise.
25346 (getFocusCycleRootAncestor): Likewise.
25347 * java/awt/Container.java:
25348 (getFocusTraversalPolicy): Check also for anchestor == null.
25350 2006-03-25 Mark Wielaard <mark@klomp.org>
25352 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25353 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25356 2006-03-24 Tom Tromey <tromey@redhat.com>
25358 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25360 (writeChar): Removed useless cast.
25361 (writeChars(String)): Implemented.
25362 (writeDouble): Rewrote.
25363 (writeFloat): Likewise.
25364 (writeUTF): Implemented.
25365 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25368 2006-03-24 Roman Kennke <kennke@aicas.com>
25370 * javax/swing/JButton.java
25371 (def): Replaced field with defaultCapable field.
25372 (is_def): Removed field.
25373 (JButton): Initialize defaultCapable with true.
25374 (isDefaultButton): Documented and implemented method by querying
25375 the button's root pane if present.
25376 (isDefaultCapable): Changed def field to defaultCapable.
25377 Added documentation.
25378 (paramString): Call isDefaultButton() instead of accessing field,
25380 (setDefaultCapable): Changed def field to defaultCapable.
25381 Added documentation.
25382 * javax/swing/JRootPane.java
25383 (setDefaultButton): Only change the default button if the
25384 new button is defaultCapable.
25385 * javax/swing/plaf/basic/BasicRootPaneUI.java
25386 (DefaultPressAction): New class.
25387 (DefaultReleaseAction): New class.
25388 (installKeyboardActions): Implemented.
25389 (uninstallKeyboardActions): Implemented.
25390 (propertyChange): Implemented.
25391 * javax/swing/plaf/metal/MetalBorders.java
25392 (ButtonBorder.paintBorder): 'Outsourced' default theme
25393 painting to paintDefaultButtonBorder().
25394 (ButtonBorder.paintDefaultButtonBorder): New helper method
25395 to paint the border in the default theme. This also fixes
25396 painting of the border for default buttons.
25397 (ButtonBorder.paintOceanButtonBorder): Added support for
25398 default button painting. Fixed border for pressed/default state.
25399 * javax/swing/plaf/metal/MetalButtonUI.java
25400 (update): Only paint gradient when in OceanTheme and when the
25401 button is not armed.
25403 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25405 * gnu/java/rmi/activation/ActivationSystemTransient.java:
25406 Inherit from Activator.
25408 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25410 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25411 Print debug message if debug flag is set.
25412 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25413 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25414 detail, do not call iniCause(). (exportClass): New method.
25415 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25416 Ignore null (bootstrap) class loader.
25417 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25418 buildMethodHash, findStubSkelClass, getHelperClass): Changed
25419 visibility to protected.
25420 * java/rmi/activation/Activatable.java (export, register): Rewritten.
25421 (toStub): New method.
25422 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25423 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
25424 Explained property java.rmi.activation.port.
25426 2006-03-24 Tom Tromey <tromey@redhat.com>
25428 * .externalToolBuilders/CreateLocaleData.launch: Updated.
25429 * gnu/java/locale/.cvsignore: New file.
25430 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25431 * java/util/Locale.java (getAvailableLocales): Clone result.
25432 (getISOCountries): Likewise.
25433 (getISOLanguages): Likewise.
25434 * scripts/generate-locale-list.sh: Make class public. Added new
25436 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25437 (getLocaleCount): Likewise.
25438 * java/text/Collator.java (getInstance): Javadoc typo fix.
25439 (getAvailableLocales): Wrote.
25441 2006-03-24 Roman Kennke <kennke@aicas.com>
25443 * javax/swing/JTabbedPane.java
25444 (getSelectedComponent): Return null when no component is
25447 2006-03-24 Mark Wielaard <mark@klomp.org>
25449 * NEWS: Add cursor and selection improvements.
25451 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25453 * java/awt/Component.java
25454 (getAccessibleName): Just return accessibleName,
25455 * javax/swing/AbstractButton.java
25456 (getAccessibleStateSet): Mark as stub,
25457 (getAccessibleName): Implemented,
25458 (getAcessibleIcon): Mark as stub,
25459 (getAccessibleRelationSet): Likewise,
25460 (getAccessibleAction): Likewise,
25461 (getAccessibleValue): Likewise,
25462 (getAccessibleActionCount): Likewise,
25463 (getAccessibleActionDescription): Likewise,
25464 (doAccessibleAction): Likewise,
25465 (getCurrentAccessibleValue): Likewise,
25466 (setCurrentAccessibleValue): Likewise,
25467 (getMinimumAccessibleValue): Likewise,
25468 (getMaximumAccessibleValue): Likewise,
25469 (getAccessibleText): Likewise,
25470 (getIndexAtPoint): Likewise,
25471 (getCharacterBounds): Likewise,
25472 (getCharCount): Likewise,
25473 (getCaretPosition): Likewise,
25474 (getAtIndex): Likewise,
25475 (getAfterIndex): Likewise,
25476 (getBeforeIndex): Likewise,
25477 (getCharacterAttribute): Likewise,
25478 (getSelectionStart): Likewise,
25479 (getSelectionEnd): Likewise,
25480 (getSelectedText): Likewise,
25481 (getTextRectangle): Likewise,
25482 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25483 (getIconTextGap): Added @since 1.4,
25484 (setContentAreaFilled): Reordered code to make event sequence match
25485 reference implementation,
25486 * javax/swing/JButton.java
25487 (getSelectedObjects): Removed,
25488 *javax/swing/JComponent.java
25489 (getAccessibleName): Call super.
25491 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25493 * javax/swing/JProgressBar.java
25494 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25495 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25496 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25497 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25498 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25499 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25500 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25501 (getAccessibleContext): Added API docs.
25503 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25505 * javax/swing/plaf/basic/BasicTextUI.java:
25506 (FocusListener.focusLost): Put current selection into the system
25509 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25511 * java/awt/Component.java:
25512 (processMouseEvent): Remove call to consume event.
25513 (dispatchEventImpl): Handle specific events first, do focus request
25514 only when mouse event was not yet consumed.
25515 * javax/swing/text/DefaultCaret.java:
25516 (mousePressed): Rewritten.
25517 (setDot): Changed order of operations.
25520 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25522 * javax/swing/JComponent.java
25523 (AccessibleJComponent.changeSupport): Removed field,
25524 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25525 (AccessibleJComponent.addPropertyChangeListener): Call super,
25526 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25527 * javax/swing/JSlider.java
25528 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25529 (AccessibleJSlider.getAccessibleRole): Likewise,
25530 (AccessibleJSlider.getAccessibleValue): Likewise,
25531 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25532 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25533 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25534 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25535 (getAccessibleContext): Added API docs.
25537 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25539 * gnu/java/rmi/activation/ActivationSystemTransient.java
25540 (debug): Made public. (constructor): Made protected.
25541 (activate, getActivationDesc): Throw more informative exceptions.
25542 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25544 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25546 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25548 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25550 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25551 system, passed in the activation descriptor field.
25552 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25553 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25554 to package private final. (equals): Compare uid, not the system.
25555 (hashCode): Forward to uid.hashCode(). toString(): New method.
25556 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25557 Rewritten. (equals): Compare UID only. toString(): New method.
25558 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25559 UID (space). (hashCode, toString): Rewritten.
25560 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25561 New method. (invoke): Treat null as an empty array for parameters.
25562 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25563 Include count, do not include the static machineId.
25565 2006-03-23 Tom Tromey <tromey@redhat.com>
25567 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25569 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25571 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25572 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25573 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25574 (force): New field. (setForce): New method. (compile): Handle -force.
25575 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25576 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25578 2006-03-23 Roman Kennke <kennke@aicas.com>
25580 * javax/swing/JTabbedPane.java
25581 (Page.getBackground): Return the JTabbedPane's background,
25582 rather than the page's component background.
25583 (Page.getForeground): Return the JTabbedPane's foreground,
25584 rather than the page's component foreground.
25585 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25586 (uninstallUI): Don't set colors to null.
25587 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25588 (paintTabBackground): Correctly determine the tab background.
25589 (getUnselectedBackground): New helper method to
25590 handle the UI property 'TabbedPane.unselectedBackground'
25593 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25595 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25596 (BorderListener.showingResizeCursor): New field.
25597 (BorderListener.mouseMoved, BorderListner.mouseExited):
25600 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25602 * javax/swing/JComboBox.java
25603 (selectWithKeyChar): Mark as stub,
25604 * javax/swing/JFileChooser.java
25605 (setDragEnabled): Mark as stub,
25606 (getDragEnabled): Likewise,
25607 * javax/swing/JSlider.java
25608 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25609 (AccessibleJSlider.getAccessibleRole): Likewise,
25610 (AccessibleJSlider.getAccessibleValue): Likewise,
25611 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25612 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25613 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25614 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25615 * javax/swing/UIManager.java
25616 (installLookAndFeel): Mark as stub,
25617 (setInstalledLookAndFeels): Likewise.
25619 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25621 * javax/swing/filechooser/UnixFileSystemView.java
25622 (getSystemDisplayName): Mark as stub,
25623 (getSystemIcon): Likewise,
25624 (getSystemTypeDescription): Likewise.
25626 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25628 * javax/swing/tree/AbstractLayoutCache.java
25629 (getNodeDimensions): Mark as stub,
25630 (getPreferredHeight): Likewise,
25631 (getPreferredWidth): Likewise,
25632 (getRowsForPaths): Likewise,
25633 (isFixedRowHeight): Likewise,
25634 * javax/swing/tree/DefaultTreeModel.java
25635 (reload()): Mark as stub,
25636 (reload(TreeNode)): Likewise,
25637 (nodeStructureChanged): Likewise,
25638 * javax/swing/tree/DefaultTreeSelectionModel.java
25639 (clone): Mark as stub,
25640 (setRowMapper): Likewise,
25641 (setSelectionPaths): Likewise,
25642 (isRowSelected): Likewise,
25643 (resetRowSelection): Likewise,
25644 (insureRowContinuity): Likewise,
25645 (arePathsContiguous): Likewise,
25646 (canPathsBeAdded): Likewise,
25647 (canPathsBeRemoved): Likewise,
25648 (notifyPathChange): Likewise,
25649 (updateLeadIndex): Likewise,
25650 (insureUniqueness): Likewise,
25651 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25653 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25655 2006-03-22 Tom Tromey <tromey@redhat.com>
25657 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25659 (getStaticAttributeKey): Likewise.
25660 (readAttributeSet): Likewise.
25661 (writeAttributeSet): Likewise.
25662 (readAttributes): Likewise.
25663 (writeAttributes): Likewise.
25664 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25666 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25668 (fireChangedUpdate): Likewise.
25671 (handleEndOfLineString): Likewise.
25672 (textAreaContent): Likewise.
25673 (preContent): Likewise.
25674 (addSpecialElement): Likewise.
25675 (setInnerHTML): Likewise.
25676 (setOuterHTML): Likewise.
25677 (insertBeforeStart): Likewise.
25678 (insertBeforeEnd): Likewise.
25679 (insertAfterEnd): Likewise.
25680 (insertAfterStart): Likewise.
25681 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25682 Mark all methods as stub.s
25683 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25685 (paintHorizontalSeparators): Likewise.
25686 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25688 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25690 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25692 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25695 2006-03-22 Mark Wielaard <mark@klomp.org>
25697 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25699 2006-03-22 Mark Wielaard <mark@klomp.org>
25702 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25703 Takes GtkImage, x and y coordinates.
25704 (gtkWidgetSetCursorUnlocked): Likewise.
25705 (GtkComponentPeer): Set cursor when set.
25706 (setCursor): Handle GtkCursor.
25707 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25709 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25710 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25711 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25712 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25714 2006-03-23 Roman Kennke <kennke@aicas.com>
25717 * gnu/java/security/Registry.java
25718 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25719 * gnu/javax/crypto/pad/PadFactory.java
25720 (getInstance): For PKCS#5, also return PKCS#7 pad
25722 (getNames): Added PKCS#5.
25723 * javax/crypto/KeyGenerator.java
25724 (getInstance): Initialize key generator before returning
25727 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25729 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25730 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25731 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25732 if COMMENTS is set.
25734 2006-03-22 Tom Tromey <tromey@redhat.com>
25736 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25737 (getBoolean): Likewise.
25738 (getString): Likewise.
25739 (getIcon): Likewise.
25741 2006-03-22 Mark Wielaard <mark@klomp.org>
25744 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25745 (GLightweightPeer(Component)): Install MouseListener.
25746 (setCursor): Implement.
25747 (mouseEntered): New method.
25749 2006-03-22 Tom Tromey <tromey@redhat.com>
25751 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25753 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25755 (getFontForState): Likewise.
25756 (getInsets): Added 'result' argument.
25757 (getPainter): Renamed.
25759 2006-03-22 Tom Tromey <tromey@redhat.com>
25761 * javax/swing/plaf/synth/SynthPainter.java
25762 (paintScrollBarThumbBackground): Added 'orientation' argument.
25763 (paintScrollBarThumbBorder): Likewise.
25764 (paintSliderThumbBackground): Likewise.
25765 (paintSliderThumbBorder): Likewise.
25766 (paintTabbedPaneTabBackground): Added 'index' argument.
25767 (paintTabbedPaneTabBorder): Likewise.
25769 2006-03-22 Tom Tromey <tromey@redhat.com>
25771 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25772 (toString): New method.
25774 2006-03-22 Tom Tromey <tromey@redhat.com>
25776 * doc/hacking.texinfo (Source Code Style Guide): Mention
25777 NotImplementedException.
25778 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25779 (flushBefore): Mark as stub.
25781 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25783 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25786 (writeBit): Likewise.
25787 (writeChars): Likewise.
25788 (writeUTF): Likewise.
25789 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25792 * java/net/URLConnection.java (getContent): Mark as stub.
25793 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25794 * java/awt/TexturePaint.java (createContext): Mark as stub.
25795 (getTransparency): Mark as stub.
25796 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25797 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25798 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25800 (getImageCapabilities): Likewise.
25801 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25802 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25803 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25805 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25806 (getAdvanceBetween): Likewise.
25807 (getLayout): Likewise.
25808 (insertChar): Likewise.
25809 (getLineBreakIndex): Likewise.
25810 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25811 (getAdvance): Likewise.
25812 (getAscent): Likewise.
25813 (getDescent): Likewise.
25814 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25815 (insertChar): Likewise.
25816 (nextLayout): Likewise.
25817 (nextLayout): Likewise.
25818 (nextOffset): Likewise.
25819 (nextOffset): Likewise.
25820 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25821 (equals): Likewise.
25822 (getAdvance): Likewise.
25823 (getAscent): Likewise.
25824 (getBounds): Likewise.
25825 (getDescent): Likewise.
25826 (hashCode): Likewise.
25827 (ImageGraphicAttribute): Likewise.
25828 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25829 (getJustificationInfo): Likewise.
25830 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25831 (getGlyphCharIndices): Likewise.
25832 (getGlyphOutline): Likewise.
25833 (getGlyphPixelBounds): Likewise.
25834 (getLayoutFlags): Likewise.
25835 (getPixelBounds): Likewise.
25836 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25837 (getRSB): Likewise.
25838 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25839 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25840 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25842 (resetRecognizer): Likewise.
25843 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25845 (getNativesForFlavor): Likewise.
25846 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25847 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25849 (getRegion): Likewise.
25850 (createUI): Likewise.
25851 (initialize): Likewise.
25852 (uninitialize): Likewise.
25853 (getDefaults): Likewise.
25855 (shouldUpdateStyleOnAncestorChanged): Likewise.
25856 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25858 (getPreferredSize): Likewise.
25859 (getMaximumSize): Likewise.
25860 (paintText): Likewise.
25861 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25863 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25865 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25867 * java/io/ObjectStreamConstants.java: Added since tag.
25868 (PROTOCOL_VERSION_1): Added javadoc.
25869 (PROTOCOL_VERSION_2): Likewise.
25870 * java/io/ObjectOutputStream.java:
25871 (setDefaultProtocolVersion): Removed.
25872 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25874 2006-03-21 Lillian Angel <langel@redhat.com>
25876 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25877 (BMPInfoHeader): Removed debug lines.
25878 * gnu/javax/imageio/bmp/EncodeRLE4.java
25879 (encode): Implemented.
25880 (uncompress): New function implemented to
25881 uncompress the image before encoding.
25882 * gnu/javax/imageio/bmp/EncodeRLE8.java
25883 (encode): Implemented.
25884 (uncompress): New function implemented to
25885 uncompress the image before encoding.
25887 2006-03-21 Roman Kennke <kennke@aicas.com>
25889 * javax/swing/text/html/FormView.java
25890 (getImageData): New helper method.
25892 2006-03-21 Tom Tromey <tromey@redhat.com>
25894 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25896 (Unsafe): Now final.
25898 2006-03-21 Roman Kennke <kennke@aicas.com>
25900 * javax/swing/text/html/FormView.java
25901 (MouseEventListener): New inner class.
25903 2006-03-21 Roman Kennke <kennke@aicas.com>
25905 * javax/swing/text/html/ListView.java: New file.
25907 2006-03-21 Tom Tromey <tromey@redhat.com>
25909 * java/text/Bidi.java: Completed.
25911 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25913 * javax/swing/JTable.java:
25914 (columnAtPoint): Removed the null check, this method should throw a NPE
25915 if the argument is null.
25917 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25919 * javax/swing/text/DefaultHighlighter.java:
25920 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25922 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25924 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25925 the textcomponent having a selection.
25926 (clearSelection): Clear 'componentWithSelection' variable.
25927 (handleSelection): Clear selection of current component having a
25928 selection before setting a new selection in another component.
25929 (mouseDragged): Only react on left mouse button.
25930 (mouseClicked): Only react on left mouse button.
25932 2006-03-21 Roman Kennke <kennke@aicas.com>
25934 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25935 (paintContentBorderTopEdge): Implemented.
25936 (paintContentBorderBottomEdge): Implemented.
25937 (paintContentBorderLeftEdge): Implemented.
25938 (paintContentBorderRightEdge): Implemented.
25939 (isLastTabInRun): New helper method.
25941 2006-03-21 Roman Kennke <kennke@aicas.com>
25943 * javax/swing/JTabbedPane.java
25944 (Page.getForeground): Fall back to returning the tabbed pane's
25945 foreground if no foreground has been exclicitly set.
25947 2006-03-21 Roman Kennke <kennke@aicas.com>
25949 * javax/swing/plaf/metal/MetalComboBoxButton.java
25950 (setEnabled): Update colors of button correctly.
25951 * javax/swing/plaf/metal/MetalComboBoxUI.java
25952 (MetalPropertyChangeListener.propertyChange): Update the colors
25953 of the list and the button when any of the color properties
25954 of the ComboBox change.
25956 2006-03-21 Roman Kennke <kennke@aicas.com>
25958 * javax/swing/plaf/basic/BasicButtonUI.java
25959 (uninstallDefaults): Only nullify button colors if they are
25960 not UIResource instances.
25962 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25964 * javax/swing/JComponent.java
25965 (AccessibleJComponent.getAccessibleDescription): Call super,
25966 * javax/swing/JToolTip.java: API doc updates all over, plus
25967 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25968 (AccessibleJToolTip.getAccessibleRole): Implemented,
25969 (getAccessibleContext): Implemented,
25970 (paramString): Reimplemented,
25971 (setComponent): Fire PropertyChangeEvent,
25972 (setTipText): Likewise.
25974 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25976 * java/util/Formatter.java:
25977 Make the class final.
25979 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25981 * java/lang/System.java:
25982 (nanoTime()): Documented.
25983 * java/lang/Thread.java:
25984 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25985 Added docs and security check.
25986 (getUncaughtExceptionHandler()): Documented.
25987 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25988 Added docs and security check.
25989 (getDefaultUncaughtExceptionHandler()): Documented.
25990 (getId()): Documented.
25991 (Thread.State): Documented.
25992 * vm/reference/gnu/classpath/Unsafe.java:
25994 (getUnsafe()): Updated to handle security.
25996 2006-03-20 Tom Tromey <tromey@redhat.com>
25998 * java/lang/System.java:
25999 (nanoTime()): Implemented.
26000 * java/lang/Thread.java:
26001 (getId()): Implemented.
26002 * java/util/AbstractMap.java:
26003 (SimpleImmutableEntry): New 1.6 class.
26004 (BasicMapEntry): Modified to be SimpleEntry.
26005 * java/util/Collections.java:
26006 Modified to use SimpleEntry.
26007 * java/util/EnumMap.java: Likewise.
26008 * java/util/HashMap.java: Likewise.
26009 * java/util/Hashtable.java: Likewise.
26010 * java/util/TreeMap.java: Likewise.
26011 * vm/reference/gnu/classpath/Unsafe.java:
26012 New class to handle low-level facilities for concurrency.
26013 * vm/reference/java/lang/VMSystem.java:
26014 (nanoTime()): Implemented.
26016 2006-03-20 Tom Tromey <tromey@redhat.com>
26018 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
26019 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
26020 (CertStoreSpi): Updated throws clause.
26021 * java/security/cert/CertPathValidatorSpi.java: Added import for
26023 (engineValidate): Updated 'throws' clause.
26024 * java/security/cert/PKIXParameters.java: Javadoc fix.
26025 * java/security/cert/X509CertSelector.java
26026 (setAuthorityKeyIdentifier): Javadoc fix.
26028 2006-03-20 Tom Tromey <tromey@redhat.com>
26030 * .classpath: Build gnu.javax.swing.plaf.
26032 2006-03-20 Lillian Angel <langel@redhat.com>
26034 * gnu/javax/imageio/bmp/BMPDecoder.java:
26035 Removed unneeded import.
26036 * gnu/javax/imageio/bmp/BMPEncoder.java:
26038 * gnu/javax/imageio/bmp/BMPFileHeader.java
26039 (BMPFileHeader): New constructor used to create info header
26040 for an output stream.
26041 (write): Fixed indexes.
26042 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
26043 Initialized writerSpiNames field.
26044 * gnu/javax/imageio/bmp/BMPImageWriter.java:
26046 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26048 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26049 Change visibility for fields.
26050 (BMPInfoHeader): New constructor used to create
26051 file header for an output stream.
26052 (intToDWord): New method. Converts an int to a
26054 (intToWord): New method. Converts an int to a word.
26055 * gnu/javax/imageio/bmp/DecodeBF32.java:
26056 Removed unneeded imports.
26057 * gnu/javax/imageio/bmp/EncodeRGB1.java:
26059 * gnu/javax/imageio/bmp/EncodeRGB16.java:
26061 * gnu/javax/imageio/bmp/EncodeRGB24.java:
26063 * gnu/javax/imageio/bmp/EncodeRGB32.java:
26065 * gnu/javax/imageio/bmp/EncodeRGB4.java:
26067 * gnu/javax/imageio/bmp/EncodeRGB8.java:
26069 * gnu/javax/imageio/bmp/EncodeRLE4.java:
26071 * gnu/javax/imageio/bmp/EncodeRLE8.java:
26073 * javax/imageio/ImageIO.java:
26076 2006-03-20 Roman Kennke <kennke@aicas.com>
26078 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26079 (TabbedPaneLayout.normalizeTabRuns): New method.
26080 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26081 (paintTabBorder): Replaced if-else chain with switch.
26082 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26084 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26086 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26088 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26090 (paintTabBackground): Fetch background color from the TabbedPane.
26091 Fixed painting and improved by not using fillPolygon, and instead
26092 using fillRectangle. Replaced if-else chain with switch.
26093 (calculateMaxTabHeight): Added overridden method with FIXME.
26094 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26096 (paintContentBorderTopEdge): Added stub with FIXME.
26097 (paintContentBorderBottomEdge): Added stub with FIXME.
26098 (paintContentBorderLeftEdge): Added stub with FIXME.
26099 (paintContentBorderRightEdge): Added stub with FIXME.
26101 2006-03-20 Roman Kennke <kennke@aicas.com>
26103 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26104 (tabsOpaque): New field.
26105 (installDefaults): Fetch tabsOpaque property from UIManager.
26106 (paintTab): Fill tab background when tabsOpaque property is true.
26107 * javax/swing/plaf/basic/BasicLookAndFeel.java
26108 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26110 2006-03-20 Roman Kennke <kennke@aicas.com>
26112 * javax/swing/JTabbedPane.java
26113 (Pane.getBackground): When no background was explicitly set, return
26114 the JTabbedPane's background.
26116 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
26118 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26119 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26120 * org/omg/CORBA/BAD_INV_ORDER.java,
26121 * org/omg/CORBA/BAD_CONTEXT.java,
26122 * org/omg/CORBA/BAD_OPERATION.java,
26123 * org/omg/CORBA/BAD_PARAM.java,
26124 * org/omg/CORBA/BAD_QOS.java,
26125 * org/omg/CORBA/BAD_TYPECODE.java,
26126 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26127 * org/omg/CORBA/COMM_FAILURE.java,
26128 * org/omg/CORBA/CurrentHolder.java,
26129 * org/omg/CORBA/DATA_CONVERSION.java,
26130 * org/omg/CORBA/FREE_MEM.java,
26131 * org/omg/CORBA/IMP_LIMIT.java,
26132 * org/omg/CORBA/INITIALIZE.java,
26133 * org/omg/CORBA/INTERNAL.java,
26134 * org/omg/CORBA/INTF_REPOS.java,
26135 * org/omg/CORBA/INVALID_ACTIVITY.java,
26136 * org/omg/CORBA/INVALID_TRANSACTION.java,
26137 * org/omg/CORBA/INV_FLAG.java,
26138 * org/omg/CORBA/INV_IDENT.java,
26139 * org/omg/CORBA/INV_OBJREF.java,
26140 * org/omg/CORBA/INV_POLICY.java,
26141 * org/omg/CORBA/MARSHAL.java,
26142 * org/omg/CORBA/NO_RESOURCES.java,
26143 * org/omg/CORBA/NO_MEMORY.java,
26144 * org/omg/CORBA/NO_IMPLEMENT.java,
26145 * org/omg/CORBA/NO_PERMISSION.java,
26146 * org/omg/CORBA/NO_RESPONSE.java,
26147 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26148 * org/omg/CORBA/OBJ_ADAPTER.java,
26149 * org/omg/CORBA/ParameterModeHolder.java,
26150 * org/omg/CORBA/PolicyError.java,
26151 * org/omg/CORBA/PolicyErrorHolder.java,
26152 * org/omg/CORBA/PolicyHolder.java,
26153 * org/omg/CORBA/PolicyListHolder.java,
26154 * org/omg/CORBA/REBIND.java,
26155 * org/omg/CORBA/TIMEOUT.java,
26156 * org/omg/CORBA/TRANSACTION_MODE.java,
26157 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26158 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26159 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26160 * org/omg/CORBA/TRANSIENT.java,
26161 * org/omg/CORBA/TypeCodeHolder.java,
26162 * org/omg/CORBA/UNKNOWN.java,
26163 * org/omg/CORBA/UnionMember.java,
26164 * org/omg/CORBA/UnknownUserException.java,
26165 * org/omg/CORBA/UnknownUserExceptionHolder.java,
26166 * org/omg/CORBA/WrongTransactionHolder.java,
26167 * org/omg/IOP/IOR.java,
26168 * org/omg/IOP/IORHolder.java,
26169 * org/omg/IOP/MultipleComponentProfileHolder.java,
26170 * org/omg/IOP/ServiceContextHolder.java,
26171 * org/omg/IOP/ServiceContextListHolder.java,
26172 * org/omg/IOP/TaggedComponentHolder.java,
26173 * org/omg/IOP/TaggedProfileHolder.java,
26174 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26175 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26176 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26177 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26178 Made class final, various javadoc fixlets.
26179 * org/omg/CORBA/CompletionStatus.java,
26180 * org/omg/CORBA/PERSIST_STORE.java,
26181 * org/omg/CORBA/ValueMember.java,
26182 * org/omg/PortableInterceptor/ForwardRequest.java,
26183 * org/omg/PortableInterceptor/InvalidSlot.java,
26184 * org/omg/IOP/CodecPackage/TypeMismatch.java,
26185 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26186 * org/omg/IOP/CodecPackage/FormatMismatch.java,
26187 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26188 * org/omg/IOP/Encoding.java,
26189 * org/omg/IOP/TaggedComponent.java,
26190 * org/omg/IOP/TaggedProfile.java: Made class final.
26191 * org/omg/CORBA/SystemException.java: Made class abstract.
26192 * org/omg/CORBA/UserException.java: Made class abstract.
26193 (UserException): Now protected.
26194 (UserException(String)): Likewise.
26195 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26196 (typecode): Removed unused private variable.
26198 2006-03-20 Chris Burdess <dog@gnu.org>
26201 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26203 2006-03-20 Roman Kennke <kennke@aicas.com>
26205 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26206 (paintTabArea): Look up tab run indices in tabRuns array instead
26207 of using the index directly.
26209 2006-03-20 Roman Kennke <kennke@aicas.com>
26211 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26212 (paintTab): Fixed painting.
26213 (paintText): Fixed text painting.
26214 (paintFocusIndicator): Fixed painting of the focus rectangle.
26215 (paintContentBorder): Fixed painting of the content area.
26217 2006-03-20 Mark Wielaard <mark@klomp.org>
26219 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26220 static lock Object field.
26221 (produce): Synchronize on pixbufLock when calling initState(),
26222 pumpBytes() and pumpDone().
26223 (finalize): Likewise when calling finish().
26224 (GdkPixbufWriter.write): Likewise when calling streamImage().
26225 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26226 when calling loadPixbuf. Chain exception.
26227 (GtkImage(byte[])): Likewise when calling loadImageFromData.
26228 (GtkImage(URL)): Likewise.
26229 (GtkImage(int,int)): Likewise when calling createPixmap().
26230 (GtkImage(GtkImage,int,int,int)): Likewise when calling
26231 createScaledPixmap().
26232 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26233 (setImage): Likewise when calling createPixmap() and setPixels().
26234 (getSource): Likewise when calling getPixels().
26235 (flush): Likewise when calling freePixmap().
26236 (finalize): Likewise.
26237 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26238 drawPixelsScaledFlipped().
26239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26240 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26241 gdk_threads_enter/leave().
26242 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26243 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26244 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26245 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26246 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26247 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26248 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26249 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26250 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26251 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26252 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26253 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26254 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26256 2006-03-20 Roman Kennke <kennke@aicas.com>
26258 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26259 (calculateTabHeight): Not need to use SwingUtilities here.
26260 (getTabInsets): Do not rotate insets.
26262 2006-03-20 Roman Kennke <kennke@aicas.com>
26264 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26265 (paint): Make sure the layout is valid before painting.
26266 (paintTabArea): Made tab painting more straightforward and efficient.
26268 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26270 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26271 (getScrollableUnitIncrement): Rewritten.
26272 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26273 (getScrollableUnitIncrement): Rewritten.
26274 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26275 (ROWS_PER_WHEEL_CLICK): New field.
26276 (MouseWheelHandler.mouseWheelMoved): Rewritten.
26278 2006-03-20 Roman Kennke <kennke@aicas.com>
26280 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26281 (paint): Make sure the layout is valid before painting.
26282 (paintTabArea): Made tab painting more straightforward and efficient.
26284 2006-03-20 Roman Kennke <kennke@aicas.com>
26286 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26287 (MouseHandler.mousePressed): Rewritten for clearer and simpler
26289 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26290 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26291 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26292 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26293 bounds here. That is moved into layoutContainer().
26294 (calculateSize): Correctly respect insets. Made code slightly more
26295 clear and efficient.
26296 (calculateTabRects): Rewritten completely. The old code was
26297 not quite right and unstable in some situations.
26298 (layoutContainer): Moved layout of tabbed pane's subcomponents
26300 (tabRunsDirty): New field.
26301 (rolloverTab): New field.
26302 (tabForCoordinate): Rewritten for simplicity and correctness.
26303 (setRolloverTab): New method.
26304 (getRolloverTab): New method.
26306 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26308 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26309 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26310 (getScrollableUnitIncrement
26311 * javax/swing/Scrollable.java: Documented.
26312 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26313 (MouseWheelHandler):Rewritten.
26315 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26317 * doc/vmintegration.texinfo:
26318 Updated with gnu.classpath.Unsafe
26320 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
26323 Updated with VMArray and Unsafe changes.
26325 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26327 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26328 (getScrollableUnitIncrement): Rewritten.
26329 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26330 (getScrollableUnitIncrement): Rewritten.
26331 (getScrollableBlockIncrement): Rewritten.
26332 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26333 (MouseWheelHandler): Implemented. (ViewportContainerListener):
26334 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
26335 New field. (installListeners): Install wheel listeners.
26336 (uninstallListeners): Uninstall wheel listeners.
26337 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26338 of the MouseWheelListener. (installListeners): Do not install wheel
26339 listener. (ROWS_PER_WHEEL_CLICK): Removed.
26341 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26343 * vm/reference/gnu/classpath/Unsafe.java:
26345 (getUnsafe()): Updated to handle security.
26347 2006-03-19 Tom Tromey <tromey@redhat.com>
26349 * vm/reference/gnu/classpath/Unsafe.java:
26350 New class to handle low-level facilities for concurrency.
26352 2006-03-19 Mark Wielaard <mark@klomp.org>
26354 * include/Makefile.am: Rename PlainDatagramSocketImpl to
26355 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26356 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26357 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26359 2006-03-19 Mark Wielaard <mark@klomp.org>
26361 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26363 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26365 2006-03-19 Michael Koch <konqueror@gmx.de>
26367 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26368 resource/gnu/java/locale/LocaleInformation_am.properties,
26369 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26370 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26371 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26372 resource/gnu/java/locale/LocaleInformation_bg.properties,
26373 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26374 resource/gnu/java/locale/LocaleInformation_ca.properties,
26375 resource/gnu/java/locale/LocaleInformation_cs.properties,
26376 resource/gnu/java/locale/LocaleInformation_cy.properties,
26377 resource/gnu/java/locale/LocaleInformation_da.properties,
26378 resource/gnu/java/locale/LocaleInformation_de.properties,
26379 resource/gnu/java/locale/LocaleInformation_dv.properties,
26380 resource/gnu/java/locale/LocaleInformation_el.properties,
26381 resource/gnu/java/locale/LocaleInformation_en.properties,
26382 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26383 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26384 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26385 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26386 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26387 resource/gnu/java/locale/LocaleInformation_es.properties,
26388 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26389 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26390 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26391 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26392 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26393 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26394 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26395 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26396 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26397 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26398 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26399 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26400 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26401 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26402 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26403 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26404 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26405 resource/gnu/java/locale/LocaleInformation_es_US.properties,
26406 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26407 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26408 resource/gnu/java/locale/LocaleInformation_fa.properties,
26409 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26410 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26411 resource/gnu/java/locale/LocaleInformation_fi.properties,
26412 resource/gnu/java/locale/LocaleInformation_fr.properties,
26413 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26414 resource/gnu/java/locale/LocaleInformation_ga.properties,
26415 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26416 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26417 resource/gnu/java/locale/LocaleInformation_hr.properties,
26418 resource/gnu/java/locale/LocaleInformation_hu.properties,
26419 resource/gnu/java/locale/LocaleInformation_id.properties,
26420 resource/gnu/java/locale/LocaleInformation_is.properties,
26421 resource/gnu/java/locale/LocaleInformation_it.properties,
26422 resource/gnu/java/locale/LocaleInformation_ja.properties,
26423 resource/gnu/java/locale/LocaleInformation_kk.properties,
26424 resource/gnu/java/locale/LocaleInformation_kl.properties,
26425 resource/gnu/java/locale/LocaleInformation_km.properties,
26426 resource/gnu/java/locale/LocaleInformation_ky.properties,
26427 resource/gnu/java/locale/LocaleInformation_lo.properties,
26428 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26429 resource/gnu/java/locale/LocaleInformation_lt.properties,
26430 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26431 resource/gnu/java/locale/LocaleInformation_lv.properties,
26432 resource/gnu/java/locale/LocaleInformation_mk.properties,
26433 resource/gnu/java/locale/LocaleInformation_mn.properties,
26434 resource/gnu/java/locale/LocaleInformation_mr.properties,
26435 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26436 resource/gnu/java/locale/LocaleInformation_ms.properties,
26437 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26438 resource/gnu/java/locale/LocaleInformation_mt.properties,
26439 resource/gnu/java/locale/LocaleInformation_nb.properties,
26440 resource/gnu/java/locale/LocaleInformation_nl.properties,
26441 resource/gnu/java/locale/LocaleInformation_nn.properties,
26442 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26443 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26444 resource/gnu/java/locale/LocaleInformation_pa.properties,
26445 resource/gnu/java/locale/LocaleInformation_pl.properties,
26446 resource/gnu/java/locale/LocaleInformation_pt.properties,
26447 resource/gnu/java/locale/LocaleInformation_ru.properties,
26448 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26449 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26450 resource/gnu/java/locale/LocaleInformation_sa.properties,
26451 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26452 resource/gnu/java/locale/LocaleInformation_sk.properties,
26453 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26454 resource/gnu/java/locale/LocaleInformation_sv.properties,
26455 resource/gnu/java/locale/LocaleInformation_sw.properties,
26456 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26457 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26458 resource/gnu/java/locale/LocaleInformation_te.properties,
26459 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26460 resource/gnu/java/locale/LocaleInformation_th.properties,
26461 resource/gnu/java/locale/LocaleInformation_ti.properties,
26462 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26463 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26464 resource/gnu/java/locale/LocaleInformation_tr.properties,
26465 resource/gnu/java/locale/LocaleInformation_tt.properties,
26466 resource/gnu/java/locale/LocaleInformation_uk.properties,
26467 resource/gnu/java/locale/LocaleInformation_ur.properties,
26468 resource/gnu/java/locale/LocaleInformation_uz.properties,
26469 resource/gnu/java/locale/LocaleInformation_zh.properties,
26470 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26471 More updates for CLDR 1.3.
26473 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26475 * doc/vmintegration.texinfo:
26476 Updated to include VMArray.
26477 * include/Makefile.am:
26478 Replace java_lang_reflect_Array.h with
26479 java_lang_reflect_VMArray.h
26480 * include/java_lang_reflect_VMArray.h:
26481 New autogenerated header.
26482 * include/java_lang_reflect_Array.h:
26484 * java/lang/reflect/Array.java:
26485 (newInstance(Class,int)): Calls VMArray.
26486 (createMultiArray(Class,int[],int)): Likewise.
26487 (createObjectArray(Class,int)): Removed.
26488 * native/jni/java-lang/Makefile.am:
26489 Replaced java_lang_reflect_Array.c with
26490 java_lang_reflect_VMArray.c
26491 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26492 Renamed from java_lang_reflect_Array.c.
26493 * vm/reference/java/lang/reflect/VMArray.java:
26494 (createObjectArray(Class,int)): Native method moved
26495 from java.lang.reflect.Array.
26497 2006-03-19 Roman Kennke <kennke@aicas.com>
26499 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26500 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26502 * examples/gnu/classpath/examples/swing/Demo.java
26503 (mkButtonBar): Hook up theme editor.
26504 (mkMenuBar): Hook up theme editor.
26506 2006-03-19 Roman Kennke <kennke@aicas.com>
26508 * javax/swing/plaf/basic/BasicFileChooserUI.java
26509 (ApproveSelectionAction.actionPerformed): Added case for when
26510 nothing has been selected but the user has typed a filename
26511 into the textfield.
26512 (getFileName): Return the value of the text field.
26514 2006-03-19 Roman Kennke <kennke@aicas.com>
26516 * javax/swing/JColorChooser.java
26517 (createDialog): Create JDialog instead of ModalDialog. Make this
26518 dialog modal by calling setModal(true).
26519 (ModalDialog): Removed unnecessary inner class.
26521 2006-03-19 Tom Tromey <tromey@redhat.com>
26523 * java/awt/font/NumericShaper.java: Rewrote.
26525 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26527 * javax/swing/plaf/basic/BasicTableUI.java:
26528 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26529 New field. MouseInputHandler.mouseWheelMoved): New method.
26530 (installListeners): Register MouseInputHandler as
26531 wheel listener also.
26533 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26536 * javax/swing/ViewportLayout.java (layoutContainer):
26537 If Scrollable tracks dimension, set view size to the port size.
26538 If port is larger than the view, move the view to the top/left.
26540 2006-03-19 Roman Kennke <kennke@aicas.com>
26542 * javax/swing/MenuSelectionManager.java
26543 (isComponentPartOfCurrentMenu): Also consider the first element
26544 in a menu selection list. Make a isDescendentFrom check instead
26545 of simple equals to also catch sub components.
26547 2006-03-19 Roman Kennke <kennke@aicas.com>
26549 * javax/swing/JComboBox.java
26550 (actionPerformed): Fetch selected item directly from the editor
26551 instead of trying to get it from the event.
26553 2006-03-19 Roman Kennke <kennke@aicas.com>
26555 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26556 (listener): Removed field.
26557 (BasicComboBoxEditor): Removed initialization of listener field.
26558 (addActionListener): Add listener directly to editor.
26559 (removeActionListener): Remove listener directly from editor.
26560 (ComboBoxEditorListener): Removed class.
26561 * javax/swing/plaf/basic/BasicComboBoxUI.java
26562 (getPreferredSize): Fixed to return the minimumSize.
26563 (getMinimumSize): Improved code for more clearness.
26564 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26565 (rectangleForCurrentValue): Correctly respect insets.
26566 (getDefaultSize): Return preferredSize here. Dont override height
26568 (getDisplaySize): Moved around code for more clearness. Added
26569 handling of prototype renderer.
26570 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26571 arrowButton bounds since the former depends on the latter.
26572 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26573 (MetalComboBoxButton): Make button rollover disabled.
26574 (isFocusTraversable): Return false unconditionally.
26575 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26576 (EditorTextField): New class. Fixes the size properties.
26577 (MetalComboBoxEditor): Create instance of EditorTextField.
26578 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26579 (getMinimumSize): Fixed editable size.
26581 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26583 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26585 2006-03-18 Roman Kennke <kennke@aicas.com>
26587 * javax/swing/plaf/metal/MetalToolBarUI.java
26588 (update): Added overridden method to support OceanTheme.
26590 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26592 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26593 Activate the cell editing on character keystroke.
26595 2006-03-18 Mark Wielaard <mark@klomp.org>
26597 * java/awt/Component.java (eventTypeEnabled): Handle
26598 MouseEvent.MOUSE_WHEEL.
26599 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26600 New callback method.
26601 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26602 (AWT_MOUSE_WHEEL): New constant.
26603 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26604 (postMouseWheelEventID): New static variable.
26605 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26606 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26607 (button_number): Renamed to ...
26608 (button_number_direction): variable to hold button number or scroll
26610 (component_button_press_cb): Use button_number_direction.
26611 (component_scroll_cb): New static callback function.
26613 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26615 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26616 Return without action.
26618 2006-03-18 Mark Wielaard <mark@klomp.org>
26620 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26621 Don't cast graphics object to GdkGraphics.
26622 (updateComponent): Likewise.
26624 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26626 * examples/gnu/classpath/examples/swing/TableDemo.java
26627 (TModel.getColumnClass): Set second column to Icon.
26628 (TModel.isCellEditable): Say icons are not editable.
26629 (createContent): Fill the in second column with some icons from
26632 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26634 * examples/gnu/classpath/examples/swing/Demo.java
26635 (mkButtonBar): Set maximal button bar height to the preferred height.
26637 2006-03-18 Roman Kennke <kennke@aicas.com>
26639 * javax/swing/plaf/basic/BasicComboPopup.java
26640 (show): Substract insets from scroller width.
26641 (getPopupHeightForRowCount): If height==0, return a default of 100
26642 instead for empty ComboBoxes.
26644 2006-03-18 Roman Kennke <kennke@aicas.com>
26646 * javax/swing/plaf/basic/BasicLookAndFeel.java
26647 (PopupHelper.autoClosePopups): Removed field.
26648 (PopupHelper.mousePressed): Removed processing of registered
26650 (registerForAutoClose): Removed unneeded method.
26651 (autoClosePopups): Removed unneeded method.
26652 (registerForAutoClose): Removed unneeded method.
26654 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26656 * javax.swing.JTable.java (TableTextField): Set border.
26657 (moveToCellBeingEdited): Do not adjust the editor boundaries
26659 2006-03-18 Michael Koch <konqueror@gmx.de>
26661 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26662 resource/gnu/java/locale/LocaleInformation_af.properties,
26663 resource/gnu/java/locale/LocaleInformation_am.properties,
26664 resource/gnu/java/locale/LocaleInformation_ar.properties,
26665 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26666 resource/gnu/java/locale/LocaleInformation_be.properties,
26667 resource/gnu/java/locale/LocaleInformation_bg.properties,
26668 resource/gnu/java/locale/LocaleInformation_bn.properties,
26669 resource/gnu/java/locale/LocaleInformation_ca.properties,
26670 resource/gnu/java/locale/LocaleInformation_cs.properties,
26671 resource/gnu/java/locale/LocaleInformation_cy.properties,
26672 resource/gnu/java/locale/LocaleInformation_da.properties,
26673 resource/gnu/java/locale/LocaleInformation_de.properties,
26674 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26675 resource/gnu/java/locale/LocaleInformation_dz.properties,
26676 resource/gnu/java/locale/LocaleInformation_en.properties,
26677 resource/gnu/java/locale/LocaleInformation_eo.properties,
26678 resource/gnu/java/locale/LocaleInformation_es.properties,
26679 resource/gnu/java/locale/LocaleInformation_et.properties,
26680 resource/gnu/java/locale/LocaleInformation_eu.properties,
26681 resource/gnu/java/locale/LocaleInformation_fa.properties,
26682 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26683 resource/gnu/java/locale/LocaleInformation_fi.properties,
26684 resource/gnu/java/locale/LocaleInformation_fo.properties,
26685 resource/gnu/java/locale/LocaleInformation_fr.properties,
26686 resource/gnu/java/locale/LocaleInformation_ga.properties,
26687 resource/gnu/java/locale/LocaleInformation_gl.properties,
26688 resource/gnu/java/locale/LocaleInformation_gu.properties,
26689 resource/gnu/java/locale/LocaleInformation_he.properties,
26690 resource/gnu/java/locale/LocaleInformation_hi.properties,
26691 resource/gnu/java/locale/LocaleInformation_hr.properties,
26692 resource/gnu/java/locale/LocaleInformation_hu.properties,
26693 resource/gnu/java/locale/LocaleInformation_hy.properties,
26694 resource/gnu/java/locale/LocaleInformation_id.properties,
26695 resource/gnu/java/locale/LocaleInformation_is.properties,
26696 resource/gnu/java/locale/LocaleInformation_it.properties,
26697 resource/gnu/java/locale/LocaleInformation_ja.properties,
26698 resource/gnu/java/locale/LocaleInformation_ka.properties,
26699 resource/gnu/java/locale/LocaleInformation_km.properties,
26700 resource/gnu/java/locale/LocaleInformation_ko.properties,
26701 resource/gnu/java/locale/LocaleInformation_lo.properties,
26702 resource/gnu/java/locale/LocaleInformation_lt.properties,
26703 resource/gnu/java/locale/LocaleInformation_lv.properties,
26704 resource/gnu/java/locale/LocaleInformation_mk.properties,
26705 resource/gnu/java/locale/LocaleInformation_mr.properties,
26706 resource/gnu/java/locale/LocaleInformation_ms.properties,
26707 resource/gnu/java/locale/LocaleInformation_mt.properties,
26708 resource/gnu/java/locale/LocaleInformation_nb.properties,
26709 resource/gnu/java/locale/LocaleInformation_nl.properties,
26710 resource/gnu/java/locale/LocaleInformation_nn.properties,
26711 resource/gnu/java/locale/LocaleInformation_om.properties,
26712 resource/gnu/java/locale/LocaleInformation_pl.properties,
26713 resource/gnu/java/locale/LocaleInformation_ps.properties,
26714 resource/gnu/java/locale/LocaleInformation_pt.properties,
26715 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26716 resource/gnu/java/locale/LocaleInformation_ro.properties,
26717 resource/gnu/java/locale/LocaleInformation_ru.properties,
26718 resource/gnu/java/locale/LocaleInformation_sk.properties,
26719 resource/gnu/java/locale/LocaleInformation_sl.properties,
26720 resource/gnu/java/locale/LocaleInformation_so.properties,
26721 resource/gnu/java/locale/LocaleInformation_sq.properties,
26722 resource/gnu/java/locale/LocaleInformation_sr.properties,
26723 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26724 resource/gnu/java/locale/LocaleInformation_sv.properties,
26725 resource/gnu/java/locale/LocaleInformation_sw.properties,
26726 resource/gnu/java/locale/LocaleInformation_ta.properties,
26727 resource/gnu/java/locale/LocaleInformation_te.properties,
26728 resource/gnu/java/locale/LocaleInformation_th.properties,
26729 resource/gnu/java/locale/LocaleInformation_tr.properties,
26730 resource/gnu/java/locale/LocaleInformation_uk.properties,
26731 resource/gnu/java/locale/LocaleInformation_uz.properties,
26732 resource/gnu/java/locale/LocaleInformation_vi.properties,
26733 resource/gnu/java/locale/LocaleInformation_zh.properties,
26734 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26735 Updated to use the new localized strings for currencies, languages,
26736 variants, territories, etc.
26738 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26740 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26741 (start, end): Added comment about the negative values of them,
26742 (finish): Saves the input text in matchedCharIndexed,
26743 (toString): If the start or end index is out of bounds of the
26744 matched text, get the substring from matchedCharIndexed.
26745 Added special handlings in case start/end index < -1,
26746 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26747 Added special handlings in case start/end index < -1,
26748 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26749 found match, but keep the index as the original match.
26750 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26751 found match, but keep the index as the original match.
26752 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26753 in case start/end index < -1.
26755 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26757 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26760 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26762 * javax/swing/text/DefaultCaret.java:
26763 (mouseClicked) Use setDot() and moveDot() instead of
26764 JTextComponent.select().
26766 2006-03-17 Roman Kennke <kennke@aicas.com>
26768 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26769 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26770 border painting for the Ocean theme.
26771 (MetalComboBoxEditor): Create editor directly instead of going
26774 2006-03-17 Roman Kennke <kennke@aicas.com>
26776 * javax/swing/text/JTextComponent.java
26777 (JTextComponent): Make text components opaque.
26779 2006-03-17 Roman Kennke <kennke@aicas.com>
26781 * javax/swing/plaf/metal/MetalComboBoxUI.java
26782 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26784 (MetalPropertyChangeListener.propertyChange): Update focusable
26785 flag according to the enable and editable state.
26786 (editablePropertyChanged): Removed unnecessary code.
26787 (getMinimumSize): Rewritten to correctly compute the
26788 size, respecting the insets of the components and the icon,
26789 the visual properties of the combobox, etc.
26790 (configureEditor): Update listeners correctly.
26791 (unconfigureEditor): Update listeners correctly.
26792 (layoutComboBox): Implemented.
26794 2006-03-17 Roman Kennke <kennke@aicas.com>
26796 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26797 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26798 instead of Flush3DBorder.
26799 (paintBorder): Fixed border painting.
26800 (editorBorderInsets): Fixed border's insets.
26802 2006-03-17 Roman Kennke <kennke@aicas.com>
26804 * javax/swing/plaf/metal/MetalComboBoxButton.java
26805 (rendererPane): Documented.
26806 (MetalComboBoxButton): Set enabled flag from ComboBox.
26807 Set focusable flag from ComboBox's enabled flag.
26808 (isFocusTraversable): Make button focus traversable if
26809 ComboBox is not editable but enable.
26810 (paintComponent): Fixed painting to correctly adjust
26811 the boxes of the renderer and button.
26813 2006-03-17 Roman Kennke <kennke@aicas.com>
26815 * javax/swing/plaf/basic/BasicButtonUI.java
26816 (installDefaults): Only install UI margin if installed margin.
26817 is null or a UIResource.
26818 (uninstallDefaults): Only uninstall margin if it's
26821 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26823 * javax/swing/text/DefaultCaret.java:
26824 (mouseClicked) Use setDot() and moveDot() instead of
26825 JTextComponent.select().
26827 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26829 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26830 inner classes into package-private inner classes, added actions
26831 for caret movement and selection to the next and previous word
26832 and an action which selects the whole text.
26834 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26836 * javax/swing/Spring.java: Uncomment springdebug methods and
26837 rename them toString.
26838 * javax/swing/SpringLayout.java: Likewise.
26840 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26842 * javax/swing/text/FieldView.java:
26843 (viewToModel): Added call to adjust allocation area.
26845 2006-03-17 Roman Kennke <kennke@aicas.com>
26847 * javax/swing/plaf/basic/BasicComboBoxUI.java
26848 (mouseListener): Removed field.
26849 (buttonBackground): Removed field.
26850 (buttonShadow): Removed field.
26851 (buttonDarkShadow): Removed field.
26852 (buttonHighlight): Removed field.
26853 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26854 (installUI): Initialize and configure renderer and editor here.
26855 (uninstallUI): Close popup before uninitializing.
26856 Message popup that we are uninitializing. Clear layout.
26857 (installDefaults): Install UI border. Don't install colors.
26858 (installListeners): Install listeners fetched from the popup.
26859 Remove handling of mouseListener.
26860 (uninstallDefaults): Uninstall border. Don't handle colors.
26861 (uninstallListeners): Don't handle mouseListener. Uninstall
26862 listener from the popup.
26863 (createMouseListener): Removed method.
26864 (createRenderer): Create UIResource.
26865 (installComponents): Cleaned up.
26866 (uninstallComponents): Only remove renderer when it is
26868 (addEditor): Remove editor before adding new one.
26869 Fetch editor from comboBox.
26870 (removeEditor): Only do something when editor != null. Unconfigure
26871 editor before removing.
26872 (configureEditor): Add key listener. Call comboBox.configureEditor.
26873 (unconfigureEditor): Removed key listener.
26874 (configureArrowButton): Only handle when arrowButton != null.
26875 Add mouse listeners to arrow button.
26876 (unconfigureArrowButton): Remove listeners.
26877 (createArrowButton): Don't handle colors here.
26878 (setPopupVisible): Don't handle focus here.
26879 (paint): Only paint when comboBox is not editable. Update
26881 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26882 (getMinimumSize): Respect insets here.
26883 (getMaximumSize): Return preferredSize with width of 32767.
26884 (getInsets): Return ComboBox insets.
26885 (paintCurrentValue): Paint using currentValuePane.
26886 Install correct colors. Don't revalidate.
26887 (paintCurrentValueBackground): Implemented.
26888 (getDefaultSize): Reimplemented using a default renderer.
26889 (getDisplaySize): Reimplemented to use renderer.
26890 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26891 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26892 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26893 (FocusHandler.focusGained): Don't invalidate minimumSize.
26894 (FocusHandler.focusLost): Don't invalidate minimumSize.
26895 Only close popup if focus change is not temporary.
26896 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26897 Reconfigure editor if not null.
26898 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26899 editor if necessary.
26900 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26901 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26902 (MouseHandler): Removed unnecessary class.
26904 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26906 * examples/gnu/classpath/examples/swing/Demo.java:
26907 (Demo): Set default closing operation to shutdown the runtime.
26909 2006-03-17 Roman Kennke <kennke@aicas.com>
26911 * javax/swing/plaf/basic/BasicComboPopup.java
26912 (BasicComboPopup): Create listeners here.
26913 Configure components here.
26914 (show): Correctly calculate bounds using computePopupBounds().
26915 Make scroller fixed-size. Removed special autocloser handling.
26916 (hide): Rewritten to use MenuSelectionHandler.
26917 (createList): Don't set selection mode here.
26918 (configureList): Correctly install colors and fonts and selectionMode.
26919 (createScroller): Set scrollpane policies.
26920 (configureScroller): Make scroller and scrollbar not-focusable.
26921 (configurePopup): Make popup opaque and borderPainted.
26922 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26923 (delegateFocus): Implemented.
26924 (convertMouseEvent): Implemented.
26925 (updateListBoxSelectionForEvent): Implemented to also handle
26927 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26928 Only open popup on left mouse-click.
26929 (InvocationMouseHandler.mouseReleased): Rewritten.
26930 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26931 support autoscrolling.
26932 (ItemHandler.itemStateChanged): Implemented to sync selection with
26934 (ListMouseHandler.mouseReleased): Fetch selected index directly
26936 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26938 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26939 When model changes, then update listeners correctly.
26940 (uninstallListeners): Don't uninstall list listeners.
26941 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26943 (syncSelection): New helper method.
26945 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26947 * javax/swing/text/PlainView.java:
26948 (drawLine): Rewritten.
26949 (drawSelectedText): Corrected last argument for
26950 Utilities.drawTabbedText() call.
26951 (paint): Store start and end of selection in object variables,
26952 store constant values of for-loop in local variables.
26953 * javax/swing/text/Utilities.java:
26954 (drawTabbedText): Add 'pixelWidth' to the return value, store
26955 constant value of for-loop in local variable.
26957 2006-03-17 Roman Kennke <kennke@aicas.com>
26959 * javax/swing/plaf/basic/BasicComboPopup.java
26960 (BasicComboPopup): Create listeners here.
26961 Configure components here.
26962 (show): Correctly calculate bounds using computePopupBounds().
26963 Make scroller fixed-size. Removed special autocloser handling.
26964 (hide): Rewritten to use MenuSelectionHandler.
26965 (createList): Don't set selection mode here.
26966 (configureList): Correctly install colors and fonts and selectionMode.
26967 (createScroller): Set scrollpane policies.
26968 (configureScroller): Make scroller and scrollbar not-focusable.
26969 (configurePopup): Make popup opaque and borderPainted.
26970 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26971 (delegateFocus): Implemented.
26972 (convertMouseEvent): Implemented.
26973 (updateListBoxSelectionForEvent): Implemented to also handle
26975 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26976 Only open popup on left mouse-click.
26977 (InvocationMouseHandler.mouseReleased): Rewritten.
26978 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26979 support autoscrolling.
26980 (ItemHandler.itemStateChanged): Implemented to sync selection with
26982 (ListMouseHandler.mouseReleased): Fetch selected index directly
26984 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26986 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26987 When model changes, then update listeners correctly.
26988 (uninstallListeners): Don't uninstall list listeners.
26989 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26991 (syncSelection): New helper method.
26993 2006-03-17 Roman Kennke <kennke@aicas.com>
26995 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26996 (noFocusBorder): Make border with insets of (1,1,1,1).
26997 (BasicComboBoxRenderer): Make renderer opaque.
26998 No need to explicitly set alignment.
26999 (getListCellRendererComponent): Rewritten to correctly initialize
27002 2006-03-17 Roman Kennke <kennke@aicas.com>
27004 * javax/swing/JPopupMenu.java
27005 (setVisible): Handle JPopupMenu opening and closing via
27006 the MenuSelectionHandler.
27008 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
27010 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
27011 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
27012 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
27014 * org/omg/CORBA/portable/RemarshalException.java: Likewise
27015 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
27016 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
27017 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
27018 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
27019 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
27020 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
27021 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
27022 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
27023 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
27025 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27027 * java/rmi/activation/Activatable.java: Implemented.
27028 java/rmi/activation/ActivationDesc.java: Implemented.
27029 java/rmi/activation/ActivationGroup.java: Implemented.
27030 java/rmi/activation/ActivationGroupDesc.java: Implemented.
27031 java/rmi/activation/ActivationID.java: Implemented.
27032 java/rmi/activation/ActivationSystem.java: Implemented.
27033 * gnu/java/rmi/server/UnicastServerRef.java
27034 (exportObject, incommingMessageCall): Documented.
27035 * java/rmi/activation/package.html: Documented.
27036 * java/rmi/server/ObjID.java (objNum, space): Made package
27038 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
27039 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
27041 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
27042 gnu/java/rmi/activation/BidiTable.java: New file.
27043 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
27044 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
27045 gnu/java/rmi/server/ActivatableServerRef.java: New file.
27047 2006-03-17 Mark Wielaard <mark@klomp.org>
27049 * java/security/BasicPermission.java (BasicPermission): Check
27050 name equals empty string to force NullPointerException.
27052 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27055 Commit patch by Caolan McNamara <caolanm@redhat.com>
27056 * javax/swing/Spring.java: Complete implementation
27057 * javax/swing/SpringLayout.java: Likewise.
27059 2006-03-16 Keith Seitz <keiths@redhat.com>
27061 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27063 (run): Remove catch clause for InterruptedException. It is no
27066 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27069 (getFontMetrics): Handle monospaced fonts specially.
27071 2006-03-16 Keith Seitz <keiths@redhat.com>
27073 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27074 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27075 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27076 Don't suspend the current thread unless it is not part of the JDWP
27079 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
27081 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27083 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27084 font metrics through toolkit.
27085 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27088 (getFontMetrics): To calculate Java logical ascent and descent
27089 values, average Pango ink and logical values.
27091 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
27093 * java/lang/Character.java: Updated header comment.
27095 2006-03-16 Tom Tromey <tromey@redhat.com>
27097 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27099 * javax/sound/sampled/FloatControl.java: Now abstract.
27100 * javax/sound/sampled/EnumControl.java: Now abstract.
27101 * javax/sound/sampled/CompoundControl.java: Now abstract.
27102 * javax/sound/sampled/BooleanControl.java: Now abstract.
27104 2006-03-16 Tom Tromey <tromey@redhat.com>
27106 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27108 2006-03-16 Roman Kennke <kennke@aicas.com>
27110 * java/util/zip/ZipFile.java
27111 (openFile): New helper method.
27112 (ZipFile): Use new openFile method to ensure the proper
27113 exception is thrown. This applies for all overloaded constructors.
27115 2006-03-16 Roman Kennke <kennke@aicas.com>
27117 * java/text/DateFormatSymbols.java
27118 (setAmPmStrings): Added null check and throw NPE.
27119 (setEras): Likewise.
27120 (setLocalPatternChars): Likewise.
27121 (setMonths): Likewise.
27122 (setShortMonths): Likewise.
27123 (setShortWeekdays): Likewise.
27124 (setWeekdays): Likewise.
27125 (setZoneStrings): Likewise.
27127 2006-03-16 Roman Kennke <kennke@aicas.com>
27129 * javax/swing/DefaultDesktopManager.java
27130 (iconifyFrame): Repaint after removing the frame.
27131 (removeIconFor): Repaint after removing the icon.
27133 2006-03-16 Roman Kennke <kennke@aicas.com>
27135 * javax/swing/JInternalFrame.java
27136 (remove): Respect the rootPaneCheckingEnabled flag here.
27138 2006-03-16 Roman Kennke <kennke@aicas.com>
27140 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27141 Moved from examples into gnu.javax.swing.. namespace.
27142 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27143 Moved to gnu.javax.swing.. namespace.
27144 * examples/gnu/classpath/examples/swing/Demo.java:
27145 (themesMenu): New field. Used to disable theme switch in
27147 (mkMenuBar): Added L&F menu.
27148 (ChangeThemeAction.actionPerformed): Only switch theme when
27150 (ChangeLAFAction): New class used for changing themes.
27151 * javax/swing/UIManager.java
27152 (installed): Added GNU L&F as installed L&F.
27154 2006-03-16 Mark Wielaard <mark@klomp.org>
27156 * examples/gnu/classpath/examples/swing/badge.png: Removed.
27157 * examples/gnu/classpath/examples/icons/badge.png: Added.
27158 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27159 from icon directory.
27161 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27163 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27165 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27166 * examples/gnu/classpath/examples/awt/Demo.java: Add
27167 AnimationApplet demo.
27168 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27171 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
27174 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27176 (handleEvent): Likewise.
27177 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27179 (beginNativeRepaint): Remove method.
27180 (endNativeRepaint): Likewise.
27181 (handleEvent): Call paintComponent and updateComponent.
27182 (paintComponent): New method.
27183 (updateComponent): Likewise.
27184 (repaint): Return early if width or height is less than one.
27185 (postExposeEvent): Remove isInRepaint reference.
27186 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27188 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27189 from GtkWindowPeer.
27190 (postMouseEvent): Likewise.
27191 (postExposeEvent): Likewise.
27192 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27193 Override to do nothing.
27194 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27195 from GtkWindowPeer.
27196 (postMouseEvent): Likewise.
27197 (postExposeEvent): Likewise.
27198 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27199 paint and update handling from GtkComponentPeer.
27200 (updateComponent): Override to call paintComponent.
27201 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27202 gdk_flush calls with schedule_flush calls.
27203 (flush): New function.
27204 (schedule_flush): Likewise.
27206 2006-03-15 Tom Tromey <tromey@redhat.com>
27208 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27210 (BCSIterator): Likewise.
27211 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27213 (BCSSProxyServiceProvider): Likewise.
27214 (BCSSServiceProvider): Likewise.
27216 2006-03-15 Tom Tromey <tromey@redhat.com>
27218 * javax/sound/midi/Track.java (Track): New constructor.
27219 (events): Now package-private.
27220 * javax/sound/midi/MidiUnavailableException.java
27221 (MidiUnavailableException): Removed invalid constructors.
27222 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27223 * javax/sound/midi/InvalidMidiDataException.java
27224 (InvalidMidiDataException): Removed invalid constructors.
27225 * javax/sound/midi/Sequencer.java (hashCode): Now final.
27226 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27227 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27228 (SYSTEM_EXCLUSIVE): Removed.
27229 (getDataLength): Updated.
27230 * javax/sound/midi/MidiDevice.java (Info): Now protected.
27231 (equals): Now final
27232 (getName): Now final.
27233 (getVendor): Now final.
27234 (getDescription): Likewise.
27235 (hashCode): Likewise.
27236 (getVersion): Likewise.
27237 (toString): Likewise.
27238 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27239 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27240 (getEarlyReflectionDelay): Likewise.
27241 (getEarlyReflectionIntensity): Likewise.
27242 (getLateReflectionDelay): Likewise.
27243 (getLateReflectionIntensity): Likewise.
27244 (toString): Likewise.
27245 * javax/sound/sampled/Port.java (toString): Now final.
27246 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27247 (getLine): Likewise.
27248 (getType): Likewise.
27249 * javax/sound/sampled/Mixer.java (Info): Now protected.
27250 (getDescription): Now final.
27251 (getName): Likewise.
27252 (getVendor): Likewise.
27253 (getVersion): Likewise.
27254 (toString): Likewise.
27255 * javax/sound/sampled/Control.java: Now abstract.
27256 (Type.toString): Now final.
27258 2006-03-15 Keith Seitz <keiths@redhat.com>
27260 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27261 of this redundant variable.
27262 (LineTable): Assert that the number of line numbers and the number of
27263 code indicies is the same.
27265 2006-03-15 Tom Tromey <tromey@redhat.com>
27267 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27269 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27271 * java/util/zip/ZipFile.java (ENDNRD): New constant.
27272 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27273 * java/util/zip/Inflater.java (end): Not deprecated.
27274 * java/util/zip/Deflater.java (end): Not deprecated.
27275 * java/text/Bidi.java (Bidi): Now final.
27276 * java/nio/MappedByteBuffer.java (finalize): Now protected.
27278 2006-03-15 Keith Seitz <keiths@redhat.com>
27280 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27281 (Location): Index is a long, not an int.
27282 (getMethod): New method.
27283 (getIndex): New method.
27284 (toString): New method.
27286 2006-03-15 Tom Tromey <tromey@redhat.com>
27288 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27289 * java/awt/image/LookupOp.java (filter): Now final.
27290 (getBounds2D): Likewise.
27291 (getPoint2D): Likewise.
27292 (getTable): Likewise.
27293 (getRenderingHints): Likewise.
27294 * java/awt/image/ConvolveOp.java (filter): Now final.
27295 (getBounds2D): Likewise.
27296 (getKernel): Likewise.
27297 (getPoint2D): Likewise.
27298 (getRenderingHints): Likewise.
27299 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27300 (getMatrix): Likewise.
27301 (getBounds2D): Likewise.
27302 (getRenderingHints): Likewise.
27303 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27304 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27306 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27308 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27310 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27312 2006-03-15 Keith Seitz <keiths@redhat.com>
27314 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27316 (matches): Implement.
27318 2006-03-15 Keith Seitz <keiths@redhat.com>
27320 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27322 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27324 2006-03-15 Tom Tromey <tromey@redhat.com>
27326 * java/lang/StrictMath.java (signum): New methods.
27328 2006-03-15 Tom Tromey <tromey@redhat.com>
27330 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27332 2006-03-15 Lillian Angel <langel@redhat.com>
27335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27336 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27337 Added check to avoid segmentation fault.
27339 2006-03-15 Lillian Angel <langel@redhat.com>
27341 * java/awt/Container.java
27342 (getComponentAt): Fixed documentation.
27343 (getComponentAt): Likewise.
27345 2006-03-15 Roman Kennke <kennke@aicas.com>
27347 * javax/swing/JComponent.java
27348 (dragBuffer): New field.
27349 (dragBufferInitialized): New field.
27350 (paint): Added facility for buffered dragging of components.
27351 (initializeDragBuffer): New method.
27352 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27354 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27355 (BorderListener.mouseDragged): Turn on buffered dragging.
27356 (BorderListener.mouseReleased): Turn off buffered dragging.
27358 2006-03-15 Lillian Angel <langel@redhat.com>
27360 * java/awt/Container.java
27361 (getComponentAt): Fixed documentation.
27362 (getComponentAt): Likewise.
27363 (findComponentAt): Likewise.
27364 (findComponentAt): Likewise.
27366 2006-03-15 Roman Kennke <kennke@aicas.com>
27368 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27369 (PropertyChangeHandler.propertyChange): Call enableActions().
27370 Fixed 'iconable' property name.
27372 2006-03-15 Chris Burdess <dog@gnu.org>
27375 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27377 2006-03-15 Roman Kennke <kennke@aicas.com>
27379 * examples/gnu/classpath/examples/swing/Demo.java:
27380 (desktop): New field.
27381 (mkMenuBar): Added new subdemos.
27382 (mkButtonWorld): Removed.
27383 (CheckCellRenderer): Moved to ListDemo.
27384 (LabelCellRenderer): Moved to ListDemo.
27385 (mkTreeWorld): Moved to TreeDemo.
27386 (mkDesktopWorld): Removed.
27387 (mkTabWorld): Moved to TabbedPaneDemo.
27388 (mkTabbedPane): Removed.
27389 (Demo): Replaced 'worlds' tabbed pane with desktop.
27390 (PopupAction): Made class non-static.
27391 (PopupAction.actionPerformed): Bring up subdemos in internal
27393 (mkButtonBar): Added new demos.
27394 (createDesktop): New method.
27395 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27396 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27397 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27398 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27399 * examples/gnu/classpath/examples/swing/badge.png: New image file.
27401 2006-03-15 Lillian Angel <langel@redhat.com>
27403 * java/awt/Container.java
27404 (getComponentAt): Fixed mistake in comments.
27405 (getComponentAt): Likewise.
27406 (locate): Likewise. Also, handled lightweight components.
27407 Heavyweights take precedence over lightweights, so we should
27408 iterate through the heavyweights first.
27410 2006-03-15 Lillian Angel <langel@redhat.com>
27412 * java/awt/Container.java
27413 (getComponentAt): Added API documentation.
27414 (getComponentAt): Likewise.
27415 (locate): Likewise. Also, removed lines to ignore
27416 invisible components.
27417 (findComponentAt): Added API documentation.
27418 (findComponentAt): Added API documentation.
27419 (findComponentForMouseEvent): Removed, never used.
27421 2006-03-15 Roman Kennke <kennke@aicas.com>
27423 * javax/swing/Popup.java
27424 (LightweightPopup.show): Repaint the panel after showing it.
27426 2006-03-15 Lillian Angel <langel@redhat.com>
27428 * java/awt/Component.java
27429 (show): repaint should only be called if the component
27430 isShowing and isLightweight.
27432 2006-03-15 Roman Kennke <kennke@aicas.com>
27434 * javax/swing/JInternalFrame.java
27435 (setClosable): Made this property bound.
27436 (setResizable): Made this property bound.
27437 (setIconifiable): Made this property bound.
27438 (setMaximizable): Made this property bound.
27440 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27442 * javax/swing/table/TableColumn.java
27443 (sizeWidthToFit): Implemented.
27445 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
27447 * javax/swing/table/TableColumn.java: API docs updated all over, plus
27448 (setIdentifier): Fire required PropertyChangeEvent,
27449 (setCellEditor): Likewise.
27451 2006-03-15 Roman Kennke <kennke@aicas.com>
27453 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27454 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27455 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27456 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27457 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27458 * examples/gnu/classpath/examples/swing/SliderDemo.java,
27459 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27460 * examples/gnu/classpath/examples/swing/TableDemo.java,
27461 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27462 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27463 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27464 * examples/gnu/classpath/examples/swing/Demo.java:
27465 Cleaned up. Reworked handling of Sub-demos to load lazily.
27466 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27467 New interface. Used for loading the subdemos lazily.
27469 2006-03-15 Roman Kennke <kennke@aicas.com>
27471 * javax/swing/plaf/basic/BasicToolBarUI.java
27472 (PropertyListener.propertyChange): Added null check to avoid NPE.
27474 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27476 * javax/swing/table/TableColumn.java
27477 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27479 (minWidth): Likewise,
27480 (preferredWidth): Likewise,
27481 (maxWidth): Likewise,
27482 (headerRenderer): Likewise,
27483 (cellRenderer): Likewise,
27484 (cellEditor): Likewise,
27485 (changeSupport): Likewise,
27486 (firePropertyChange(String, Object, Object)): Removed,
27487 (firePropertyChange(String, int. int)): Likewise,
27488 (firePropertyChange(String, boolean, boolean)): Likewise,
27489 (setModelIndex): Fire property change,
27490 (setHeaderValue): Call changeSupport directly to generate event,
27491 (setHeaderRenderer): Likewise,
27492 (setCellRenderer): Likewise,
27493 (setWidth): Likewise,
27494 (setPreferredWidth): Likewise,
27495 (setMinWidth): Likewise,
27496 (setMaxWidth): Likewise,
27497 (createDefaultHeaderRenderer): Added API docs.
27499 2006-03-14 Roman Kennke <kennke@aicas.com>
27501 * examples/gnu/classpath/examples/swing/Demo.java
27502 Removed static initializer.
27503 (mkMenuBar): Made method non-static. Added themes menu.
27504 (ChangeThemeAction): New inner class, used to change themes.
27506 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27508 * javax/swing/table/TableColumn.java
27509 (setMaxWidth): Updated width and preferredWidth if necessary,
27510 (getMaxWidth): Updated API docs.
27512 2006-03-14 Roman Kennke <kennke@aicas.com>
27514 * javax/swing/plaf/basic/BasicSliderUI.java
27515 (TrackListener.mouseDragged): Only process event when slider is
27517 (TrackListener.mouseReleased): Only process event when slider is
27519 (TrackListener.mousePressed): Only process event when slider is
27522 2006-03-14 Roman Kennke <kennke@aicas.com>
27524 * NEWS: Added note about OceanTheme support.
27526 2006-03-14 Roman Kennke <kennke@aicas.com>
27528 * javax/swing/plaf/metal/MetalIconFactory.java
27529 (HorizontalSliderThumbIcon.gradientMask): New field
27530 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27532 (VerticalSliderThumbIcon.gradientMask): New field
27533 (VerticalSliderThumbIcon.paintIcon): Added support for the
27535 * javax/swing/plaf/metal/MetalUtils.java
27536 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27537 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27539 2006-03-14 Mark Wielaard <mark@klomp.org>
27542 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27543 of handleMouseEvent.
27544 (handleMouseEvent): Return boolean to indicate whether we handled the
27545 event by passing it to a lightweight.
27547 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27549 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27550 * org/omg/PortableServer/ServantActivatorPOA.java,
27551 * org/omg/PortableServer/ServantLocatorPOA.java:
27552 Make class abstract and minor api docs fixlets.
27553 * org/omg/PortableServer/ForwardRequest.java,
27554 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27555 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27556 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27557 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27558 * org/omg/PortableServer/POAPackage/NoServant.java,
27559 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27560 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27561 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27562 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27563 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27564 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27565 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27566 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27567 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27568 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27570 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27572 * NEWS: Added entry about printing support.
27574 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27576 * javax/swing/table/TableColumn.java
27577 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27578 (isResizable): Likewise,
27579 (setWidth): Likewise,
27580 (getWidth): Likewise,
27581 (setPreferredWidth): Likewise,
27582 (getPreferredWidth): Likewise,
27583 (setMinWidth): Check for negative argument and update width and
27584 preferredWidth if necessary,
27585 (getMinWidth): Updated API docs.
27587 2006-03-14 Lillian Angel <langel@redhat.com>
27589 * java/awt/Container.java
27590 (addImpl): Removed call to repaint. No need to repaint here.
27592 2006-03-14 Roman Kennke <kennke@aicas.com>
27594 * javax/swing/plaf/metal/MetalSliderUI.java
27595 (paintTrack): Added OceanTheme support.
27597 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27599 * javax/swing/table/TableColumn.java
27600 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27601 (isResizable): Updated API docs.
27603 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27605 * javax/swing/LookAndFeel.java: Updated API docs.
27607 2006-03-14 Roman Kennke <kennke@aicas.com>
27609 * javax/swing/plaf/metal/MetalUtils.java
27610 (paintGradient): Added support for 'masked' gradients.
27611 (paintHorizontalGradient): Likewise.
27612 (paintVerticalGradient): Likewise.
27613 * javax/swing/plaf/metal/MetalIconFactory.java
27614 (RadioButtonIcon.gradientMask): New field.
27615 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27617 2006-03-14 Mark Wielaard <mark@klomp.org>
27620 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27622 (removeActionListener): Add listener to ComboBoxEditorListener.
27623 (removeActionListener): Remove listener from ComboBoxEditorListener.
27624 (ComboBoxEditorListener): New static helper class.
27626 2006-03-14 Roman Kennke <kennke@aicas.com>
27628 * javax/swing/plaf/metal/MetalBorders.java
27629 (getToolBarButtonBorder): Don't create a UIResource border
27631 * javax/swing/plaf/metal/MetalToolBarUI.java
27632 (installUI): New overridden method. Installs the rollover property.
27633 (uninstallUI): New overridden method. Resets the rollover property.
27634 * javax/swing/plaf/metal/MetalUtils.java
27635 (paintGradient): Fetch Float values from the UIManager. Adjusted
27636 method signatures accordingly.
27637 (paintHorizontalGradient): Adjusted signature to accept float
27639 (paintVerticalGradient): Adjusted signature to accept float
27641 * javax/swing/plaf/metal/OceanTheme.java
27642 (addCustomEntriesToTable): Added missing UIDefaults entries,
27643 except of Icons. Fixed gradient entries to use Float instead
27646 2006-03-14 Roman Kennke <kennke@aicas.com>
27648 * javax/swing/JInternalFrame.java
27649 (JInternalFrame): Make JInternalFrame opaque.
27650 * javax/swing/JToolBarFrame.java
27651 (JToolBar): Make JToolBar opaque.
27653 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27655 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27656 * javax/swing/tree/TreePath.java: Likewise.
27658 2006-03-13 Tom Tromey <tromey@redhat.com>
27660 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27662 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27663 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27665 2006-03-13 Keith Seitz <keiths@redhat.com>
27667 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27668 (executeMethods): Output number of methods.
27670 2006-03-13 Roman Kennke <kennke@aicas.com>
27672 * javax/swing/plaf/basic/BasicButtonUI.java
27673 (uninstallDefaults): Only uninstall border if it's a UIResource.
27674 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27675 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27676 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27677 (installUI): Don't touch the opaque flag of the glassPane and
27678 the frame. Don't invalidate.
27679 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27680 (installUI): Don't touch the opaque flag of the glassPane.
27681 * javax/swing/plaf/basic/BasicMenuBarUI.java
27682 (properyChangeListener): Made field private.
27683 (ChangeHandler): Made class private.
27684 (ContainerHandler): Made class private.
27685 (PropertyChangeHandler): Made class private.
27686 * javax/swing/plaf/basic/BasicMenuUI.java
27687 (MenuHandler): Made class private.
27688 (PropertyChangeHandler): Removed unneeded class.
27689 (MenuDragMouseHandler): Made class private.
27690 (MenuKeyHandler): Made class private.
27691 * javax/swing/plaf/basic/BasicPanelUI.java
27692 (installDefaults): Made method protected. Don't set opaque
27694 * javax/swing/plaf/basic/BasicScrollBarUI.java
27695 (TrackListener.shouldScroll): Made method private.
27696 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27697 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27698 Made constructor package private.
27699 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27700 (cellBorder): Made field private.
27701 * javax/swing/plaf/basic/BasicTextUI.java
27702 (installDefaults): Don't make component opaque.
27703 * javax/swing/plaf/basic/BasicToolBarUI.java
27704 (createNonRollOverBorder): Don't create UIResource border.
27705 (createRollOverBorder): Don't create UIResource border.
27706 (installComponents): Moved setRolloverBorders call here.
27707 (installDefaults): Moved setRolloverBorders call from here.
27708 (installUI): Don't make toolbar opaque.
27709 (setBorderToNonRollover): Handle AbstractButton instead of
27711 (uninstallComponents): Don't nullify class fields here.
27713 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27715 * javax/swing/SwingUtilities.java
27716 (calculateInnerArea): handle null component, and replace
27717 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27720 2006-03-13 Roman Kennke <kennke@aicas.com>
27722 * javax/swing/JColorChooser.java
27723 (updateUI): Don't call revalidate().
27724 * javax/swing/JComboBox.java
27725 (updateUI): Don't call invalidate().
27726 * javax/swing/JDesktopPane.java
27727 (updateUI): Don't call invalidate().
27728 * javax/swing/JFileChooser.java
27729 (updateUI): Don't call revalidate().
27730 * javax/swing/JMenu.java
27731 (updateUI): Don't call invalidate().
27732 * javax/swing/JMenuBar.java
27733 (updateUI): Don't call invalidate().
27734 * javax/swing/JMenuItem.java
27735 (updateUI): Don't call invalidate().
27736 * javax/swing/JOptionPane.java
27737 (updateUI): Don't call invalidate().
27738 * javax/swing/JPopupMenu.java
27739 (updateUI): Don't call invalidate().
27740 * javax/swing/JProgressBar.java
27741 (updateUI): Don't call invalidate().
27742 * javax/swing/JScrollBar.java
27743 (updateUI): Don't call invalidate() and repaint().
27744 * javax/swing/JScrollPane.java
27745 (updateUI): Rewritten to be like the other updateUI()
27747 * javax/swing/JSlider.java
27748 (updateUI): Don't call invalidate() and repaint().
27749 * javax/swing/JSplitPane.java
27750 (updateUI): Don't call invalidate() and repaint().
27751 * javax/swing/JTabbedPane.java
27752 (updateUI): Don't call invalidate().
27753 * javax/swing/JTable.java
27754 (updateUI): Don't call revalidate() and repaint().
27755 * javax/swing/JToolBar.java
27756 (updateUI): Don't call revalidate() and repaint().
27757 * javax/swing/JToolTip.java
27758 (updateUI): Don't call revalidate() and repaint().
27760 2006-03-13 Roman Kennke <kennke@aicas.com>
27762 * javax/swing/SwingUtilities.java
27763 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27764 menus and non-Swing components is improved.
27765 (updateComponentTreeUIImpl): New helper method.
27766 (replaceUIActionMap): Added check for uiActionMap==parent to
27768 (replaceUIInputMap): Added check for uiInputMap==parent to
27771 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27773 * gnu/classpath/debug/Component.java:
27774 (IPP) New component for IPP debugging.
27775 (EVERYTHING): Adapted to include IPP.
27776 * javax/print/PrintServiceLookup.java:
27777 (registerServiceProvider): New method.
27778 (registerService): Likewise.
27779 (lookupPrintServices): Likewise.
27780 (lookupMultiDocPrintServices): Likewise.
27781 (lookupDefaultPrintService): Likewise.
27782 (static_initializer): Likewise.
27783 (printServiceLookups): New field for found service providers.
27784 (printServices): New field for application registered providers.
27785 (systemProvider): New field for the system provider.
27786 * javax/print/ServiceUI.java: New file.
27787 * javax/print/package.html: Added more usage content.
27788 * javax/print/event/package.html: Likewise.
27789 * javax/print/attribute/package.html: Likewise.
27790 * javax/print/attribute/standard/package.html: Likewise.
27791 * gnu/javax/print/PrintUriException.java,
27792 gnu/javax/print/PrintFlavorException.java,
27793 gnu/javax/print/PrinterDialog.java,
27794 gnu/javax/print/PrintAttributeException.java,
27795 gnu/javax/print/CupsPrintServiceLookup.java,
27796 gnu/javax/print/CupsServer.java,
27797 gnu/javax/print/CupsPrintService.java,
27798 gnu/javax/print/CupsMediaMapping.java,
27799 gnu/javax/print/CupsIppOperation.java:
27800 New implementation files of the Java Print Service API.
27801 * gnu/javax/print/ipp/IppValueTag.java,
27802 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27803 gnu/javax/print/ipp/IppStatusCode.java,
27804 gnu/javax/print/ipp/IppUtilities.java,
27805 gnu/javax/print/ipp/IppResponse.java,
27806 gnu/javax/print/ipp/IppException.java,
27807 gnu/javax/print/ipp/IppPrintService.java,
27808 gnu/javax/print/ipp/IppRequest.java,
27809 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27810 gnu/javax/print/ipp/IppDelimiterTag.java,
27811 gnu/javax/print/ipp/DocPrintJobImpl.java:
27812 New files of the IPP client implementation.
27813 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27814 gnu/javax/print/ipp/attribute/StatusMessage.java,
27815 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27816 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27817 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27818 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27819 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27820 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27821 New attribute syntax/role files of the printing implementation.
27822 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27823 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27824 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27825 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27826 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27827 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27828 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27829 gnu/javax/print/ipp/attribute/supported/
27830 OrientationRequestedSupported.java,
27831 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27832 gnu/javax/print/ipp/attribute/supported/
27833 MultipleDocumentHandlingSupported.java,
27834 gnu/javax/print/ipp/attribute/supported/
27835 MultipleDocumentJobsSupported.java,
27836 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27837 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27838 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27839 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27840 gnu/javax/print/ipp/attribute/supported/
27841 GeneratedNaturalLanguageSupported.java,
27842 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27843 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27844 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27845 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27846 New supported attribute files.
27847 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27848 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27849 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27850 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27851 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27852 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27853 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27854 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27855 New printer description attribute files.
27856 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27857 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27858 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27859 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27860 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27861 gnu/javax/print/ipp/attribute/job/JobId.java,
27862 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27863 gnu/javax/print/ipp/attribute/job/JobUri.java,
27864 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27865 New job description attribute files.
27866 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27867 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27868 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27869 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27870 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27871 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27872 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27873 gnu/javax/print/ipp/attribute/defaults/
27874 MultipleDocumentHandlingDefault.java,
27875 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27876 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27877 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27878 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27879 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27880 New default printing attribute files.
27881 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27882 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27883 * examples/gnu/classpath/examples/print/Demo.java:
27884 New demo application of the current implemented functionality.
27886 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27888 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27889 java/rmi/activation/ActivationDesc.java.java,
27890 java/rmi/activation/ActivationGroup.java,
27891 java/rmi/activation/ActivationID.java,
27892 java/rmi/activation/ActivationMonitor.java,
27893 java/rmi/activation/ActivationSystem.java,
27894 java/rmi/activation/package.html: Documenting.
27896 2006-03-13 Roman Kennke <kennke@aicas.com>
27898 * javax/swing/JInternalFrame.java
27899 (setSelected): Repaint frame when it is showing and the selection
27902 2006-03-13 Roman Kennke <kennke@aicas.com>
27904 * javax/swing/AbstractButton.java
27905 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27908 2006-03-13 Roman Kennke <kennke@aicas.com>
27910 * javax/accessibility/AccessibleContext.java
27911 (getAccessibleRelationSet): Return empty set instead of null.
27913 2006-03-13 Roman Kennke <kennke@aicas.com>
27915 * javax/swing/ImageIcon.java
27916 (loadImage): Remove completed images from the MediaTracker. This
27917 avoids a potential memory leak.
27919 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27921 * javax/print/MultiDocPrintService.java,
27922 * javax/print/MultiDocPrintJob.java,
27923 * javax/print/MultiDoc.java: Added and enhanced documentation.
27925 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27927 * java/rmi/activation/ActivationID.java (uid): New field.
27928 (writeExternal, readExternal): New methods.
27929 (equals, hashCode): Rewritten.
27930 * java/rmi/activation/ActivationInstantiator.java,
27931 * java/rmi/activation/ActivationSystem.java,
27932 * java/rmi/activation/Activator.java,
27933 * java/rmi/activation/Activatable.java,
27934 * java/rmi/activation/ActivationGroup.java,
27935 * java/rmi/activation/ActivationGroupDesc.java:
27936 Documented and autoformatted.
27937 * java/rmi/activation/package.html: Added content.
27939 2006-03-12 Chris Burdess <dog@gnu.org>
27942 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27943 encoding are specified.
27945 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27947 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27948 (changeEvent): Initialise in fireStateChange(),
27949 (setSelectedIndex): Check if change is made before firing event,
27950 (clearSelection): Delegate to setSelectedIndex(),
27951 (fireStateChanged): Initialise changeEvent if necessary,
27952 * javax/swing/SingleSelectionModel.java: API docs all over.
27954 2006-03-11 Tom Tromey <tromey@redhat.com>
27956 * java/util/zip/InflaterInputStream.java: Reverted previous
27959 2006-03-11 Mark Wielaard <mark@klomp.org>
27961 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27964 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27966 * javax/swing/event/TreeSelectionEvent.java
27967 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27968 not one of the added/removed paths,
27969 (cloneWithSource): Reformatted.
27971 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27973 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27974 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27976 2006-03-10 Casey Marshall <csm@gnu.org>
27979 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27981 (doFinal, update): new methods.
27982 (init, init, init, init): initialize `state' after trying the
27983 implementation, which can throw an exception.
27984 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27987 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27989 * gnu/regexp/BacktrackStack.java: New file.
27990 * gnu/regexp/RE.java(findMatch): New method.
27991 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27992 REMatchList): Removed. (backtrackStack): New field.
27993 * gnu/regexp/REToken.java(match): Changed from an abstract
27994 method to an ordinary method defined with the new method
27995 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27996 findFixedLengthMatches, backtrack, toString): New methods.
27997 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27998 * gnu/regexp/RETokenBackRef.java: Likewise.
27999 * gnu/regexp/RETokenChar.java: Likewise.
28000 * gnu/regexp/RETokenEnd.java: Likewise.
28001 * gnu/regexp/RETokenEndSub.java: Likewise.
28002 * gnu/regexp/RETokenIndependent.java: Likewise.
28003 * gnu/regexp/RETokenLookAhead.java: Likewise.
28004 * gnu/regexp/RETokenLookBehind.java: Likewise.
28005 * gnu/regexp/RETokenNamedProperty.java: Likewise.
28006 * gnu/regexp/RETokenPOSIX.java: Likewise.
28007 * gnu/regexp/RETokenRange.java: Likewise.
28008 * gnu/regexp/RETokenStart.java: Likewise.
28009 * gnu/regexp/RETokenWordBoundary.java: Likewise
28010 * gnu/regexp/RETokenOneOf.java: Rewriten.
28011 * gnu/regexp/RETokenRepeated.java: Rewriten.
28013 2006-03-10 Roman Kennke <kennke@aicas.com>
28015 * javax/swing/plaf/metal/MetalBorders.java
28016 (RolloverButtonBorder.paintBorder): Only call super here.
28017 * javax/swing/plaf/metal/MetalButtonListener.java
28018 (propertyChange): Only call super here.
28019 * javax/swing/plaf/metal/MetalButtonUI.java
28020 (update): Changed condition from isOpaque() to isContentAreaFilled()
28021 for the gradient fill.
28022 * javax/swing/plaf/metal/MetalToggleButtonUI.java
28023 (paintText): API doc fix. Makes paintText not deprecated as specified
28024 but adds comment that this is obsolete.
28025 * javax/swing/plaf/metal/MetalUtils.java
28026 (fillMetalPattern): Fixed condition so that the Java2D is not
28027 used when the noGraphics2D property is set.
28029 2006-03-10 Roman Kennke <kennke@aicas.com>
28031 * javax/swing/plaf/metal/MetalLookAndFeel.java
28032 (createDefaultTheme): Set OceanTheme as default metal theme.
28034 2006-03-10 Roman Kennke <kennke@aicas.com>
28036 * javax/swing/text/WrappedPlainView.java
28037 (metrics): Made field package private to avoid accessor method.
28038 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
28039 The drawLine (righly) interprets the y parameter as the baseline.
28040 * javax/swing/text/Utilities.java
28041 (getBreakLocation): Don't consider the offset. The returned value
28042 for getTabbedTextOffset is already relative to the offset.
28044 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
28046 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28047 (dateFormat): Made private.
28048 (put): Replace only the last occurance and the value.
28049 (putAll): Save one iteration. Clarified documentation.
28051 2006-03-10 Tom Tromey <tromey@redhat.com>
28053 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28055 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28058 2006-03-10 Lillian Angel <langel@redhat.com>
28060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28061 (comboboxgroup_get_widget): New function.
28062 (removed): Fixed to use new function to get the correct widget.
28063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28064 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28067 2006-03-10 Lillian Angel <langel@redhat.com>
28069 * java/awt/GridBagLayout.java
28070 (ArrangeGrid): Added checks to determine if component
28071 is placed last in a row or column. If so, the location
28072 of the last component should be used to get the location
28073 of the current component.
28075 2006-03-10 Lillian Angel <langel@redhat.com>
28077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28078 (nativeSetCheckboxGroup): No need to use new function here.
28079 Should just pass in pointer.
28081 2006-03-10 Lillian Angel <langel@redhat.com>
28083 * java/awt/GridBagLayout.java
28084 (distributeSizeAndWeight): Change else if to else. This
28085 allows for components to be added to a new row when
28086 their gridheight is REMAINDER.
28088 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28090 * java/rmi/activation/ActivationDesc.java,
28091 java/rmi/activation/ActivationGroupID.java,
28092 java/rmi/activation/Activator.java,
28093 java/rmi/server/Operation.java,
28094 java/rmi/server/RemoteServer.java: Documented and formatted.
28096 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28098 * javax/swing/JToggleButton.java: Fixed API doc tags,
28099 * javax/swing/OverlayLayout.java: Likewise.
28101 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28103 * javax/swing/DefaultCellEditor.java
28104 (cancelCellEditing): Removed spurious API doc tag.
28106 2006-03-10 Lillian Angel <langel@redhat.com>
28108 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28109 (create): Put checkbox widget into an event box so it paints properly.
28110 (connectSignals): Fixed to use new function.
28111 (nativeSetCheckboxGroup): Likewise.
28112 (gtkToggleButtonSetActive): Likewise.
28113 (gtkWidgetModifyFont): Likewise.
28114 (gtkButtonSetLabel): Likewise.
28115 (combobox_get_widget): New function.
28117 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
28119 * javax/swing/text/rtf/package.html: New file.
28121 2006-03-10 Roman Kennke <kennke@aicas.com>
28123 * javax/swing/plaf/metal/OceanTheme.java
28124 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28125 * javax/swing/plaf/metal/MetalScrollBarUI.java
28126 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28127 (paintThumbHorizontal): Added handling of OceanTheme.
28128 (paintThumbVertical): Added handling of OceanTheme.
28130 2006-03-10 Roman Kennke <kennke@aicas.com>
28132 Reported by Fridjof Siebert <siebert@aicas.com>
28133 * java/awt/MediaTracker.java
28134 (removeImage): Only set prev to e when the the images of the
28135 entries are not the same. This avoids a potentially corrupt list.
28137 2006-03-10 Chris Burdess <dog@gnu.org>
28140 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28141 checking while reindenting.
28143 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
28145 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28147 2006-03-09 Tom Tromey <tromey@redhat.com>
28149 PR classpath/26585:
28150 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28151 subdir. Added README.
28152 (install-data-local): Removed.
28153 (uninstall-local): Likewise.
28154 (EXTRA_DIST): Removed.
28156 2006-03-09 Tom Tromey <tromey@redhat.com>
28158 PR classpath/26623:
28159 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28161 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28163 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28165 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28167 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28169 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28171 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28173 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28175 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28177 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28179 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28180 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28182 2006-03-09 Keith Seitz <keiths@redhat.com>
28184 * gnu/classpath/jdwp/processor/MethodCommandSet.java
28185 (executeVariableTable): Use VMMethod instead of reflection.
28186 (executeLineTable): Likewise.
28187 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28188 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28189 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28190 (getLineTable): Removed. Now resides in VMMethod.
28191 (getVarTable): Likewise.
28192 (getAllClassMethods): New method.
28194 2006-03-09 Keith Seitz <keiths@redhat.com>
28196 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28197 * gnu/classpath/jdwp/event/ThreadStartEvent.java
28198 (ThreadStartEvent): Likewise.
28199 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28200 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28201 (ConditionalFilter): Likewise.
28202 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28203 (ExceptionOnlyFilter): Likewise.
28204 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28205 (FieldOnlyFilter): Likewise.
28206 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28207 (getSize): Likewise.
28208 (StepFilter): Likewise.
28209 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28210 * gnu/classpath/jdwp/transport/JdwpPacket.java
28211 (JdwpPacket): Likewise.
28212 (fromBytes): Likewise.
28213 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28214 (JdwpReplyPacket): Likewise.
28215 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28216 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28217 (getReferenceType): Likewise.
28218 (newObjectId): Likewise.
28219 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28220 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28221 (getFrames): Fix typo in parameter name and update javadoc.
28222 (getClassMethod): Update javadoc.
28224 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
28226 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28227 * javax/swing/event/TreeSelectionListener.java: Likewise.
28229 2006-03-09 Lillian Angel <langel@redhat.com>
28231 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28232 (getHScrollbarHeight): Fixed property name.
28233 (getVScrollbarHeight): Likewise.
28235 2006-03-09 Lillian Angel <langel@redhat.com>
28237 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28238 (get_widget): New function.
28239 (gtkWidgetSetParent): Changed to use new function.
28240 (gtkWidgetSetCursorUnlocked): Likewise.
28241 (gtkWidgetSetSensitive): Likewise.
28242 (gtkWidgetRequestFocus): Likewise.
28243 (gtkWindowGetLocationOnScreen): Likewise.
28244 (gtkWidgetGetDimensions): Likewise.
28245 (gtkWidgetGetPreferredDimensions): Likewise.
28246 (setNativeBounds): Likewise.
28247 (gtkWidgetGetBackground): Likewise.
28248 (gtkWidgetGetForeground): Likewise.
28249 (gtkWidgetSetBackground): Likewise.
28250 (gtkWidgetSetForeground): Likewise.
28251 (setVisibleNativeUnlocked): Likewise.
28252 (isEnabled): Likewise.
28253 (isRealized): Likewise.
28254 (setNativeEventMask): Likewise.
28256 2006-03-09 Lillian Angel <langel@redhat.com>
28259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28260 (create): Added combobox widget to an event box.
28261 (connectSignals): Added call to choice_get_widget to get the
28262 combobox out of the event box.
28263 (append): Likewise.
28264 (nativeRemoveAll): Likewise.
28265 (nativeRemove): Likwise.
28266 (nativeAdd): Likewise.
28267 (selectNative): Likewise.
28268 (choice_get_widget): New function.
28269 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28270 (create): Added list scroll window widget to an event box.
28271 (connectSignals): Changed call to use new function to get the
28272 correct widget out of the event box.
28273 (getWidgetModifyFont): Likewise.
28274 (getWidgetRequestFocus): Likewise.
28275 (append): Likewise.
28277 (delItems): Likewise.
28278 (select): Likewise.
28279 (deselect): Likewise.
28280 (getSize): Likewise.
28281 (getSelectedIndexes): Likewise.
28282 (makeVisible): Likewise.
28283 (setMultipleMode): Likewise.
28284 (list_get_widget): New function.
28285 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28286 (create): Added scrollpane to an eventbox.
28287 (setScrollPosition): Changed call to use new function to get the
28288 correct widget out of the event box.
28289 (gtkScrolledWindowSetHScrollIncrement): Likewise.
28290 (gtkScrolledWindowSetVScrollIncrement): Likewise.
28291 (getHScrollbarHeight): Likewise.
28292 (getVScrollbarWidth): Likewise.
28293 (setPolicy): Likewise.
28294 (scrollpane_get_widget): New function.
28295 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28296 (connectSignals): Changed call to use new function to get the
28297 correct widget out of the event box.
28298 (create): Added scrollbar to an eventbox.
28299 (setLineIncrement): Changed call to use new function to get the
28300 correct widget out of the event box.
28301 (setPageIncrement): Likewise.
28302 (setBarValues): Likewise.
28303 (scrollbar_get_widget): New function.
28304 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28305 (create): Added text area scroll window widget to an event box.
28306 (connectSignals): Changed call to use new function to get the
28307 correct widget out of the event box.
28308 (insert): Likewise.
28309 (replaceRange): Likewise.
28310 (gtkWidgetModifyFont): Likewise.
28311 (gtkWidgetRequestFocus): Likewise.
28312 (getHScrollbarHeight): Likewise.
28313 (getVScrollbarWidth): Likewise.
28314 (getCaretPosition): Likewise.
28315 (setCaretPosition):Likewise.
28316 (getSelectionStart): Likewise.
28317 (getSelectionEnd): Likewise.
28318 (select): Likewise.
28319 (setEditable): Likewise.
28320 (getText): Likewise.
28321 (setText): Likewise.
28322 (textarea_get_widget): New function.
28324 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28326 * java/rmi/dgc/VMID.java:
28327 (equals, hashCode, static initializer): Rewritten.
28328 * java/rmi/dgc/package.html: Documented.
28330 2006-03-09 Mark Wielaard <mark@klomp.org>
28332 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28334 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28335 (canCache): Likewise.
28336 (GtkClipboard): Take String argument.
28337 (getInstance): Removed.
28338 (getClipboardInstance, getSelectionInstance): New static methods.
28339 (setSystemContents): Make synchronized. Takes boolean argument.
28340 (initNativeState): Add clipboard and selection.
28341 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28342 (announceClipboardChange, announcePrimaryChange): New static field.
28343 (announce): Take GtkClipboard as argument.
28344 (run): Check which clipboard to announce change for.
28345 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28347 (GtkSelection): Take GtkClipboard as argument.
28348 (requestText, requestImage, requestURIs, requestBytes): Add boolean
28349 clipboard argument.
28350 (requestMimeTypes): Likewise.
28351 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28353 * java/awt/Toolkit.java (getSystemSelection): Document.
28354 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28355 (cp_gtk_selection_instance): New var.
28356 (current_selection, owner): Removed.
28357 (clipboard_owner_change_cb): Use clipboard argument.
28358 (initNativeState): Store clipboard and selection instances. Cache
28359 setSystemContentsID, provideContentID, provideTextID, provideImageID,
28361 (clipboard_get_func): Use clipboard argument.
28362 (clipboard_clear_func): Likewise. Always call method.
28363 (advertiseContent): Don't cache method ids here. Check whether to
28364 use clpboard or selection. Don't set owner or current_selection.
28365 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28366 (requestText, requestImage, requestURIs, requestBytes): Use extra
28367 boolean argument to select clipboard.
28368 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28369 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28370 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28371 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28373 2006-03-09 Keith Seitz <keiths@redhat.com>
28375 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28376 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28377 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28378 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28379 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28380 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28381 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28382 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28383 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28385 2006-03-09 Mark Wielaard <mark@klomp.org>
28387 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28388 bounds for index is valid.
28389 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28391 (getCellBounds): Update documentation.
28393 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
28395 * .classpath: added exclude pattern on source folders
28396 (Makefiles, README and .cvsignore)
28398 2006-03-08 Michael Koch <konqueror@gmx.de>
28400 * java/net/Proxy.java (NO_PROXY): Made final.
28401 (equals): Likewise.
28402 (hashCode): Likewise.
28404 2006-03-08 Keith Seitz <keiths@redhat.com>
28406 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28407 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28408 (getClassMethod): New method.
28410 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28412 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28414 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28416 * java/rmi/server/ObjID.java: Documented and autoformatted.
28418 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28421 * tools/Makefile.am (install-data-local,
28422 uninstall-local): Install/uninstall the tools/README only.
28423 * tools/gnu/classpath/tools/giop/README: Updated.
28424 * tools/README: New file.
28426 2006-03-08 Lillian Angel <langel@redhat.com>
28428 * java/awt/GridBagLayout.java
28429 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28430 then the next item should be set to current_y (not 0).
28432 2006-03-08 Lillian Angel <langel@redhat.com>
28434 * java/awt/GridBagLayout.java
28435 (GetLayoutInfo): If gridy is RELATIVE and there is no component
28436 in the bottom-most spot of the column, we need to place that component
28437 at the y-location of the other components in that row. If there are
28438 no other components in that row, then place it at y = 0.
28440 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
28442 * javax/swing/ProgressMonitor.java: Updated API docs,
28443 * javax/swing/ProgressMonitorInputStream.java: Likewise.
28445 2006-03-08 Michael Koch <konqueror@gmx.de>
28447 * java/net/InetSocketAddress.java
28448 (InetSocketAddress(String,int,resolve)): New private contructor.
28449 (InetSocketAddress(String,int)): Use new private constructor.
28450 (createUnresolved): New method.
28452 2006-03-07 Michael Koch <konqueror@gmx.de>
28454 * gnu/java/net/DefaultProxySelector.java,
28455 java/net/Proxy.java, java/net/ProxySelector.java:
28458 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28460 * java/rmi/server/UID.java (constructor): Assign last and time fields
28463 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28465 * java/rmi/server/UID.java: New file (replacing).
28467 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28469 * java/util/jar/Manifest.java: Removed unused imports.
28470 (CRLF): New constant.
28471 (read): Added method documentation.
28472 Use UTF-8 encoding instead of 8859_1.
28473 (write): Added method documentation.
28474 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28475 (write_main_section): Replace PrintWriter arg with OutputStream.
28476 Replace JarException with IOException.
28477 (write_version_info): Likewise.
28478 (write_main_attributes): Likewise.
28479 (write_attribute_entry): Likewise.
28480 (write_individual_sections): Likewise.
28481 (write_entry_attributes): Likewise.
28482 (write_header): Replace PrintWriter arg with OutputStream.
28485 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28487 * javax/swing/tree/DefaultMutableTreeNode.java
28488 (getFirstChild): Updated API docs,
28489 (getLastChild): Likewise,
28490 (getChildAfter): Likewise,
28491 (getChildBefore): Likewise,
28492 (isNodeSibling): Return true if node == this,
28493 (getSiblingCount): Updated API docs,
28494 (getNextSibling): Likewise,
28495 (getPreviousSibling): Likewise,
28496 (isLeaf): Likewise,
28497 (getFirstLeaf): Likewise,
28498 (getLastLeaf): Likewise,
28499 (getNextLeaf): Implemented,
28500 (getPreviousLeaf): Implemented.
28502 2006-03-07 Tom Tromey <tromey@redhat.com>
28504 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28505 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28506 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28507 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28510 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28512 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28513 (clone): Reimplemented,
28514 (add): Throw IllegalArgumentException if child is an ancestor,
28515 (remove(int)): Set child's parent to null,
28516 (remove(MutableTreeNode)): Check arguments and set child's parent to
28518 (insert): Check allowsChildren flag, check for null argument, and
28519 check for a node that is an ancestor,
28520 (getIndex): Throw IllegalArgumentException for null argument,
28521 (setAllowsChildren): If setting to false, remove existing children,
28522 (removeAllChildren): Set parent to null for removed children.
28524 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28526 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28529 2006-03-06 Tom Tromey <tromey@redhat.com>
28531 * java/lang/StrictMath.java (ulp): New methods.
28532 * java/lang/Math.java (ulp): New methods.
28534 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28536 * gnu/java/rmi/server/UnicastRef.java,
28537 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28539 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28541 * gnu/java/rmi/server/CombinedClassLoader.java
28542 (findClass, findLibrary, findResouce, findResources): check
28543 all loaders in array.
28545 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28548 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28549 (RefProtector): new inner class. (dirty): Rewritten.
28550 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28551 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28552 new methods. (readExternal): Create LeaseRenewingTask if non local.
28553 * gnu/java/rmi/server/UnicastServer.java (objects):
28554 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28555 (getExported): New method.
28556 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28558 2006-03-06 Mark Wielaard <mark@klomp.org>
28560 * doc/www.gnu.org/announce/20060306.wml: New file.
28561 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28562 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28564 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28566 * javax/swing/plaf/metal/MetalLookAndFeel.java
28567 (initComponentDefaults): Use Boolean.TRUE for
28568 'CheckBoxMenuItem.borderPainted'.
28570 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28572 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28573 (dateFormat): Made private.
28574 (put): Replace only the last occurance and the value.
28575 (putAll): Reimplemented with the put method.
28577 2006-03-06 Lillian Angel <langel@redhat.com>
28580 * java/awt/List.java
28581 (preferredSize): Return the size of the list if the peer is
28583 * gnu/java/awt/peer/gtk/GtkListPeer.java
28584 (preferredSize): Code was returning the minimum size of the
28585 list. Added adjustment to the width of the list so it is a
28588 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28590 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28591 (getRequestProperty): Remove duplicated null check.
28592 * java/net/URLConnection.java:
28593 (URLConnection): Javadoc fix.
28594 (addRequestProperty): Likewise.
28595 (getDefaultRequestProperty): Likewise.
28596 (getHeaderField): Likewise.
28597 (getHeaderFieldDate): Likewise.
28598 (getHeaderFieldKey): Likewise.
28599 (getHeaderFields): Likewise.
28600 (getRequestProperties): Likewise.
28601 (getRequestProperty): Likewise.
28602 (setDefaultRequestProperty): Likewise.
28603 (setRequestProperty): Likewise.
28605 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28607 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28608 * examples/gnu/classpath/examples/swing/Demo.java:
28609 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28611 (mkMenuBar): Added entry for text area example.
28613 2006-03-06 Tom Tromey <tromey@redhat.com>
28615 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28616 (FORMATTED_TEXT_FIELD): Likewise.
28618 2006-03-06 Tom Tromey <tromey@redhat.com>
28620 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28622 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28624 * examples/gnu/classpath/examples/swing/Demo.java:
28625 (mkMenuBar): Added menu entry that will display the VM's name,
28626 version and distributor.
28628 2006-03-06 Tom Tromey <tromey@redhat.com>
28630 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28632 (getName): Likewise.
28634 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28636 * java/util/jar/Manifest.java: Removed unused imports.
28637 (CRLF): New constant.
28638 (read): Added method documentation.
28639 Use UTF-8 encoding instead of 8859_1.
28640 (write): Added method documentation.
28641 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28642 (write_main_section): Replace PrintWriter arg with OutputStream.
28643 Replace JarException with IOException.
28644 (write_version_info): Likewise.
28645 (write_main_attributes): Likewise.
28646 (write_attribute_entry): Likewise.
28647 (write_individual_sections): Likewise.
28648 (write_entry_attributes): Likewise.
28649 (write_header): Replace PrintWriter arg with OutputStream.
28652 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28655 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28656 API doc tag warnings,
28657 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28659 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28661 * gnu/java/net/protocol/file/Connection.java (unquote):
28662 Update position in buffer after decoding a unicode character
28663 outside of the basic plane.
28665 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28667 * java/net/URI.java
28668 (quote): Pass Unicode characters outside the basic plane through.
28670 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28672 * javax/swing/plaf/basic/BasicTextUI.java:
28673 (damageRange): Rewritten if-expressions to correctly identify the
28676 2006-03-06 Mark Wielaard <mark@klomp.org>
28678 * configure.ac: Set version to 0.90-generics.
28681 2006-03-06 Mark Wielaard <mark@klomp.org>
28683 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28684 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28685 (isnan): Define explicitly isnan if it is not a macro.
28687 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28689 * javax/swing/text/GapContent.java:
28690 (insertString): Throw exception when argument is below
28693 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28695 * javax/swing/text/PlainDocument.java:
28696 (insertUpdate): Extended if-expression, added
28697 code to generate another Element when newly inserted characters
28698 and old ones will be on the same line.
28700 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28702 * javax/swing/text/DefaultCaret.java:
28703 (mouseDragged): Do selection when shift is pressed.
28704 (mouseClicked): Implemented.
28706 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28708 * javax/swing/text/PlainDocument.java: Fix copyright header,
28710 (insertUpdate): Do not copy the whole document any more, added some
28711 more variables to prevent needless method calls.
28713 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28715 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28716 is required on Darwin.
28717 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28718 (AM_CFLAGS): Likewise.
28720 2006-03-06 Mark Wielaard <mark@klomp.org>
28722 * NEWS: Add updates for 0.90 release.
28724 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28726 * javax/swing/text/GapContent.java:
28727 (insertString): Throw exception when argument is below
28730 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28733 * javax/swing/filechooser/FileFilter.java:
28734 (accept): Fixed API doc tag,
28735 (getDescription): Likewise,
28736 * javax/swing/filechooser/FileView.java:
28737 (isTraversable): Fixed API doc tag.
28739 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28741 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28742 added API docs all over.
28744 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28746 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28747 and corrected a bad API doc tag.
28749 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28751 * javax/swing/undo/StateEditable.java
28752 (restoreState): Fixed bad API doc tag,
28753 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28754 AbstractUndoableEdit.java,
28755 * javax/swing/undo/UndoableEditSupport.java
28756 (createCompoundEdit): Fixed bad API doc tag,
28757 * javax/swing/undo/UndoManager.java
28758 (editToBeUndone): Fixed bad API doc tag,
28759 (editToBeRedone): Likewise.
28761 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28763 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28764 * javax/swing/FocusManager.java: Likewise.
28767 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28770 * javax/swing/plaf/metal/MetalComboBoxButton.java
28771 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28772 JList)): Fixed API doc tag,
28773 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28774 (createLayout): Fixed API doc warning.
28776 2006-03-05 Tom Tromey <tromey@redhat.com>
28778 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28779 ClassHelper.getUserName.
28780 * vm/reference/java/lang/reflect/Method.java (toString): Use
28781 ClassHelper.getUserName.
28782 (getUserTypeName): Removed.
28783 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28784 * vm/reference/java/lang/reflect/Field.java (toString): Use
28785 ClassHelper.getUserName.
28787 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28790 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28791 Allows directories as valid resources.
28793 2006-03-05 Mark Wielaard <mark@klomp.org>
28795 * configure.ac (VERSION): Set to 0.90-pre-generics.
28796 * Merge with CVS trunk from classpath-0_90-branch-point.
28798 2006-03-04 Tom Tromey <tromey@redhat.com>
28800 * javax/swing/SpringLayout.java (Constraints): New constructor.
28801 * javax/swing/Spring.java (width): New method.
28802 (height): Likewise.
28805 2006-03-04 Mark Wielaard <mark@klomp.org>
28807 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28808 existing connection from pool before returning.
28810 2006-03-04 Mark Wielaard <mark@klomp.org>
28812 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28813 exceptions thrown by handlers while cleaning up and rethrow original
28816 2006-03-04 Tom Tromey <tromey@redhat.com>
28818 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28820 (findConstructor): Likewise.
28821 (instantiateClass): Likewise.
28823 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28825 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28826 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28827 lease value and not always the default one.
28828 (LeaseRecord): Remember the array of objects, marked as dirty.
28829 java/rmi/dgc/Lease.java: Boilerplate fix.
28831 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28833 * java/util/jar/Attributes.java (putValue): Made it public and updated
28834 method documentation.
28836 2006-03-04 Mark Wielaard <mark@klomp.org>
28838 * java/awt/Container.java (remove(int)): Always call removeNotify()
28839 on removed Component.
28841 2006-03-04 Mark Wielaard <mark@klomp.org>
28843 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28844 * javax/swing/JEditorPane.java (setText): Check for empty String
28845 with equals(), not equality (==).
28847 2006-03-04 Mark Wielaard <mark@klomp.org>
28849 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28850 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28852 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28854 * javax/swing/text/GapContent.java
28855 (getArray): Mark as final.
28857 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28859 * javax/swing/text/StyleConstants.java
28860 (CharacterConstants.Background): Marked final,
28861 (CharacterConstants.BidiLevel): Likewise,
28862 (CharacterConstants.Bold): Likewise,
28863 (CharacterConstants.ComponentAttribute): Likewise,
28864 (CharacterConstants.Family): Likewise,
28865 (CharacterConstants.Size): Likewise,
28866 (CharacterConstants.Foreground): Likewise,
28867 (CharacterConstants.IconAttribute): Likewise,
28868 (CharacterConstants.Italic): Likewise,
28869 (CharacterConstants.StrikeThrough): Likewise,
28870 (CharacterConstants.Subscript): Likewise,
28871 (CharacterConstants.Superscript): Likewise,
28872 (CharacterConstants.Underline): Likewise,
28873 (ColorConstants.Foreground): Likewise,
28874 (ColorConstants.Background): Likewise,
28875 (FontConstants.Bold): Likewise,
28876 (FontConstants.Family): Likewise,
28877 (FontConstants.Italic): Likewise,
28878 (FontConstants.Size): Likewise,
28879 (ParagraphConstants.Alignment): Likewise,
28880 (ParagraphConstants.FirstLineIndent): Likewise,
28881 (ParagraphConstants.LeftIndent): Likewise,
28882 (ParagraphConstants.LineSpacing): Likewise,
28883 (ParagraphConstants.Orientation): Likewise,
28884 (ParagraphConstants.RightIndent): Likewise,
28885 (ParagraphConstants.SpaceAbove): Likewise,
28886 (ParagraphConstants.SpaceBelow): Likewise,
28887 (ParagraphConstants.TabSet): Likewise.
28889 2006-03-03 Tom Tromey <tromey@redhat.com>
28891 * javax/net/ssl/SSLException.java: Added missing @since.
28894 2006-03-03 Tom Tromey <tromey@redhat.com>
28896 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28897 (serialVersionUID): New field.
28899 2006-03-03 Tom Tromey <tromey@redhat.com>
28901 * java/security/spec/InvalidKeySpecException.java
28902 (InvalidKeySpecException): New constructors.
28903 * java/security/cert/CertificateParsingException.java
28904 (CertificateParsingException): New constructors.
28905 * java/security/cert/CertificateEncodingException.java
28906 (CertificateEncodingException): New constructors.
28907 * java/security/cert/CertificateException.java (CertificateException):
28909 * java/security/cert/CRLException.java (CRLException): New
28912 2006-03-03 Tom Tromey <tromey@redhat.com>
28914 * java/security/SignatureException.java (SignatureException): New
28916 * java/security/ProviderException.java (ProviderException): New
28918 * java/security/NoSuchAlgorithmException.java
28919 (NoSuchAlgorithmException): New constructors.
28920 * java/security/KeyStoreException.java (KeyStoreException): New
28922 * java/security/KeyManagementException.java (KeyManagementException):
28924 * java/security/InvalidKeyException.java (InvalidKeyException): New
28926 * java/security/KeyException.java (KeyException): New constructors.
28927 * java/security/InvalidAlgorithmParameterException.java
28928 (InvalidAlgorithmParameterException): New constructors.
28929 * java/security/DigestException.java (DigestException): New
28931 * java/security/GeneralSecurityException.java
28932 (GeneralSecurityException): New constructors.
28934 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28936 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28938 * javax/swing/event/DocumentEvent.java: Likewise,
28939 * javax/swing/event/EventListenerList.java: Likewise,
28940 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28941 * javax/swing/event/MenuKeyEvent.java: Likewise,
28942 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28943 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28944 * javax/swing/event/TreeModelEvent.java: Likewise,
28945 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28946 * javax/swing/event/UndoableEditEvent.java: Likewise.
28948 2006-03-03 Tom Tromey <tromey@redhat.com>
28950 * java/awt/Insets.java (set): New method.
28951 (equals): Added @since.
28953 2006-03-03 David Daney <ddaney@avtrex.com>
28955 * gnu/java/net/protocol/http/HTTPURLConnection.java
28956 (getRequestProperties): Rewrote.
28957 (addRequestProperty): Rewrote.
28958 (getHeaderFields): Rewrote.
28959 (getHeaderField): Rewrote.
28960 (getHeaderFieldKey): Rewrote.
28961 (getHeaderField): Removed useless cast.
28962 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28963 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28965 (notifyHeaderHandlers): Use new Headers interface.
28967 2006-03-03 Tom Tromey <tromey@redhat.com>
28969 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28970 * javax/naming/spi/ResolveResult.java,
28971 javax/naming/event/NamingExceptionEvent.java,
28972 javax/naming/event/NamingEvent.java,
28973 javax/naming/directory/SearchResult.java,
28974 javax/naming/directory/SearchControls.java,
28975 javax/naming/directory/SchemaViolationException.java,
28976 javax/naming/directory/NoSuchAttributeException.java,
28977 javax/naming/directory/ModificationItem.java,
28978 javax/naming/directory/InvalidSearchFilterException.java,
28979 javax/naming/directory/InvalidSearchControlsException.java,
28980 javax/naming/directory/InvalidAttributesException.java,
28981 javax/naming/directory/InvalidAttributeIdentifierException.java,
28982 javax/naming/directory/AttributeModificationException.java,
28983 javax/naming/directory/AttributeInUseException.java,
28984 javax/naming/TimeLimitExceededException.java,
28985 javax/naming/SizeLimitExceededException.java,
28986 javax/naming/PartialResultException.java,
28987 javax/naming/Reference.java,
28988 javax/naming/ServiceUnavailableException.java,
28989 javax/naming/OperationNotSupportedException.java,
28990 javax/naming/NotContextException.java,
28991 javax/naming/NoPermissionException.java,
28992 javax/naming/NoInitialContextException.java,
28993 javax/naming/NameNotFoundException.java,
28994 javax/naming/NameAlreadyBoundException.java,
28995 javax/naming/NameClassPair.java,
28996 javax/naming/MalformedLinkException.java,
28997 javax/naming/LinkLoopException.java,
28998 javax/naming/LinkException.java,
28999 javax/naming/LimitExceededException.java,
29000 javax/naming/InvalidNameException.java,
29001 javax/naming/InterruptedNamingException.java,
29002 javax/naming/InsufficientResourcesException.java,
29003 javax/naming/ContextNotEmptyException.java,
29004 javax/naming/ConfigurationException.java,
29005 javax/naming/CannotProceedException.java,
29006 javax/naming/CommunicationException.java,
29007 javax/naming/Binding.java,
29008 javax/naming/AuthenticationNotSupportedException.java,
29009 javax/naming/AuthenticationException.java: Added serialVersionUID.
29011 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29013 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
29015 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29017 * javax/swing/event/TableModelListener.java: Updated API docs.
29019 2006-03-03 Mark Wielaard <mark@klomp.org>
29021 * java/awt/Component.java (addNotify): Expand documentation.
29023 2006-03-03 Mark Wielaard <mark@klomp.org>
29025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
29026 Always call setParentAndBounds().
29027 (setComponentBounds): Always call setBounds().
29028 (setBounds): Call setVisible().
29029 (setVisible): If no pixels are showing then don't make it visible.
29030 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
29031 to call setParentAndBounds() anymore.
29033 2006-03-03 Roman Kennke <kennke@aicas.com>
29035 * javax/swing/JInternalFrame.java
29036 (JInternalFrame): Set frame invisible.
29037 (show): Reformatted.
29038 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29039 (installDefaults): Do not set invisible here.
29041 2006-03-03 Roman Kennke <kennke@aicas.com>
29043 * java/awt/Toolkit.java
29044 (getScreenInsets): Return (0,0,0,0) here.
29046 2006-03-03 Roman Kennke <kennke@aicas.com>
29048 * javax/swing/text/FlowView.java
29049 (FlowStrategy.layoutRow): Added check for rowCount == 0.
29050 (FlowStrategy.getLogicalView): Made method protected.
29052 2006-03-03 Chris Burdess <dog@gnu.org>
29054 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29055 gnu/xml/validation/relaxng/AttributePattern.java,
29056 gnu/xml/validation/relaxng/ChoiceNameClass.java,
29057 gnu/xml/validation/relaxng/ChoicePattern.java,
29058 gnu/xml/validation/relaxng/DataPattern.java,
29059 gnu/xml/validation/relaxng/Define.java,
29060 gnu/xml/validation/relaxng/ElementPattern.java,
29061 gnu/xml/validation/relaxng/EmptyPattern.java,
29062 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29063 gnu/xml/validation/relaxng/Grammar.java,
29064 gnu/xml/validation/relaxng/GrammarException.java,
29065 gnu/xml/validation/relaxng/GrammarValidator.java,
29066 gnu/xml/validation/relaxng/GroupPattern.java,
29067 gnu/xml/validation/relaxng/InterleavePattern.java,
29068 gnu/xml/validation/relaxng/ListPattern.java,
29069 gnu/xml/validation/relaxng/NSNameNameClass.java,
29070 gnu/xml/validation/relaxng/NameClass.java,
29071 gnu/xml/validation/relaxng/NameNameClass.java,
29072 gnu/xml/validation/relaxng/NotAllowedPattern.java,
29073 gnu/xml/validation/relaxng/OneOrMorePattern.java,
29074 gnu/xml/validation/relaxng/Param.java,
29075 gnu/xml/validation/relaxng/Pattern.java,
29076 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29077 gnu/xml/validation/relaxng/RefPattern.java,
29078 gnu/xml/validation/relaxng/TextPattern.java,
29079 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29080 builder and data model.
29081 * gnu/xml/validation/xmlschema/AnyAttribute.java,
29082 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29083 gnu/xml/validation/xmlschema/AttributeUse.java,
29084 gnu/xml/validation/xmlschema/ComplexType.java,
29085 gnu/xml/validation/xmlschema/ElementDeclaration.java,
29086 gnu/xml/validation/xmlschema/Particle.java,
29087 gnu/xml/validation/xmlschema/ValidationException.java,
29088 gnu/xml/validation/xmlschema/XMLSchema.java,
29089 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29090 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29091 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29092 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29093 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29094 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29095 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29096 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29097 W3C XML Schema builder and schema components.
29098 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29099 XML Schema namespace URIs.
29101 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
29103 * NEWS: Add entry for --enable-collections.
29104 * configure.ac: Add --enable-collections option.
29105 * lib/Makefile.am (collections.jar): New target.
29106 (glibj_DATA): Add $(COLLECTIONS).
29107 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29108 configure substitution.
29109 (classpath): Read from command line.
29110 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
29112 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29114 * javax/swing/SpringLayout.java: Fixed API doc warnings.
29116 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29118 * javax/swing/event/ListSelectionEvent.java
29119 (toString): Implemented,
29120 plus updated API docs all over.
29122 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29124 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29126 * javax/swing/event/ListSelectionListener.java: Updated API docs.
29128 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
29130 * gnu/java/rmi/dgc/DGCImpl.java,
29131 java/rmi/dgc/DGC.java,
29132 java/rmi/dgc/Lease.java: Formatted and commented.
29134 2006-03-03 Roman Kennke <kennke@aicas.com>
29136 * NEWS: Added comment about text highlighting and copy+paste
29139 2006-03-03 Roman Kennke <kennke@aicas.com>
29141 * javax/swing/JTabbedPane.java
29142 (remove(int)): Call super.remove(int) instead of remove(Component).
29143 Avoids a stack overflow.
29145 2006-03-03 Roman Kennke <kennke@aicas.com>
29147 * javax/swing/JTable.java
29148 (distributeSpillResizing): Avoid ArithmeticException by checking
29151 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29153 * javax/swing/text/package.html: Added package description.
29155 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29157 * javax/swing/CellRendererPane.java: Minor API doc fix,
29158 * javax/swing/ComboBoxModel.java: Updated API docs.
29160 2006-03-03 Chris Burdess <dog@gnu.org>
29163 * gnu/xml/stream/EntityReferenceImpl.java,
29164 gnu/xml/stream/FilteredEventReader.java,
29165 gnu/xml/stream/SAXParser.java,
29166 gnu/xml/stream/XIncludeFilter.java,
29167 gnu/xml/stream/XMLEventAllocatorImpl.java,
29168 gnu/xml/stream/XMLEventFactoryImpl.java,
29169 gnu/xml/stream/XMLEventImpl.java,
29170 gnu/xml/stream/XMLEventReaderImpl.java,
29171 gnu/xml/stream/XMLEventWriterImpl.java,
29172 gnu/xml/stream/XMLInputFactoryImpl.java,
29173 gnu/xml/stream/XMLOutputFactoryImpl.java,
29174 gnu/xml/stream/XMLParser.java,
29175 javax/xml/stream/EventFilter.java,
29176 javax/xml/stream/Location.java,
29177 javax/xml/stream/StreamFilter.java,
29178 javax/xml/stream/XMLEventFactory.java,
29179 javax/xml/stream/XMLEventReader.java,
29180 javax/xml/stream/XMLEventWriter.java,
29181 javax/xml/stream/XMLInputFactory.java,
29182 javax/xml/stream/XMLOutputFactory.java,
29183 javax/xml/stream/XMLReporter.java,
29184 javax/xml/stream/XMLResolver.java,
29185 javax/xml/stream/XMLStreamConstants.java,
29186 javax/xml/stream/XMLStreamReader.java,
29187 javax/xml/stream/events/EntityDeclaration.java,
29188 javax/xml/stream/events/EntityReference.java,
29189 javax/xml/stream/events/XMLEvent.java,
29190 javax/xml/stream/util/EventReaderDelegate.java,
29191 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29192 StAX API as specified in JWSDP 2.0.
29193 * gnu/xml/stream/EndEntityImpl.java,
29194 gnu/xml/stream/LocationImpl.java,
29195 gnu/xml/stream/StartEntityImpl.java,
29196 gnu/xml/stream/XMLStreamReaderImpl.java,
29197 javax/xml/stream/XMLFilter.java,
29198 javax/xml/stream/XMLIterator.java,
29199 javax/xml/stream/events/EndEntity.java,
29200 javax/xml/stream/events/StartEntity.java: Removed legacy files.
29202 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29204 * javax/swing/CellEditor.java: API doc updates,
29205 * javax/swing/DefaultCellEditor.java: Likewise.
29207 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29209 * javax/swing/AbstractListModel.java:
29210 (AbstractListModel): Added API docs,
29211 (fireContentsChanged): Minor API doc correction,
29212 (fireIntervalAdded): Likewise,
29213 (fireIntervalRemoved): Likewise.
29215 2006-03-03 Roman Kennke <kennke@aicas.com>
29217 * NEWS: Added paragraph about Swing improvements.
29219 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
29221 * javax/swing/AbstractAction.java: Updated API docs all over,
29222 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29223 (stopCellEditing): Minor API doc correction,
29224 * javax/swing/UnsupportedLookAndFeelException.java
29225 (UnsupportedLookAndFeelException): Changed argument name, updated API
29228 2006-03-03 Roman Kennke <kennke@aicas.com>
29230 * javax/swing/plaf/metal/MetalUtils.java
29231 (fillMetalPattern): Added switch to not use Graphics2D methods,
29232 even if they are available.
29234 2006-03-03 Roman Kennke <kennke@aicas.com>
29236 * javax/swing/plaf/basic/BasicHTML.java
29237 (isHTMLString): Check for string beeing null.
29238 * javax/swing/plaf/basic/BasicInternalFrameUI.java
29239 (BasicInternalFrameListener.internalFrameActivated): Implemented.
29240 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29241 (InternalFrameLayout): Don't touch the glass pane here.
29242 (installUI): Fix handling of glass pane.
29243 * javax/swing/plaf/basic/BasicLabelUI.java
29247 (BasicLabelUI): Initialize new fields.
29248 (getPreferredSize): Avoid creating new Rectangles by using
29249 SwingUtilities method.
29250 (paint): Avoid creating new Rectangles by reusing
29251 new fields. Added some preliminary handling of HTML inside the
29253 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29254 (uninstallComponents): Clear HTML renderer.
29255 (propertyChange): Check for HTML text and install renderer if
29257 * javax/swing/plaf/basic/BasicListUI.java
29258 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29260 * javax/swing/plaf/basic/BasicTextUI.java
29261 (RootView.getStartOffset): Implemented.
29262 (RootView.getEndOffset): Implemented.
29263 (RootView.getDocument): Implemented.
29265 2006-03-03 Roman Kennke <kennke@aicas.com>
29267 * javax/swing/text/DefaultStyledDocument.java
29268 (ElementBuffer.inserUpdate): Added check for zero-length
29270 * javax/swing/text/DefaultStyledDocument.java
29271 (setIndex): Improved exception message.
29272 * javax/swing/text/TableView.java
29273 Made class abstract.
29274 (TableRow.replace): Probably extend columnRequirements
29276 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29277 of super.layoutMajorAxis.
29278 (columnRequirements): Made field package private.
29279 (TableView): Do not load any child views here.
29280 (layoutColumns): Implemented this method.
29281 (updateColumnRequirements): New helper method.
29282 * javax/swing/text/Utilities.java
29283 (getBreakLocation): Also take offset into account when
29284 finding end location.
29285 * javax/swing/text/html/HTMLDocument.java
29286 (HTMLReader.parseStack): New field.
29287 (HTMLReader.blockOpen): Properly handle p-implied tags.
29288 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29289 (HTMLReader.addContent): Insert p-implied when adding content to
29291 * javax/swing/text/html/HTMLEditorKit.java
29292 (HTMLFactory.create): Create HTMLTableView for <table> tags and
29293 ParagraphView for TD tags. Print out warning for tags that don't have
29294 matching view yet and create NullView for them.
29295 (read): Only set document base when document != null.
29296 * javax/swing/text/html/HTMLTableView.java:
29299 2006-03-03 Roman Kennke <kennke@aicas.com>
29301 * javax/swing/plaf/basic/BasicHTML.java
29302 (HTMLRootView): New inner class.
29303 (createHTMLView): Embed view inside a HTMLRootView.
29305 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
29307 * gnu/java/net/protocol/jar/Connection.java:
29308 (connect): Throw FileNotFoundException.
29309 (getInputStream): Remove duplicated code.
29311 2006-03-03 Roman Kennke <kennke@aicas.com>
29313 * javax/swing/RepaintManager.java
29314 (commitBuffer): Added null check for clip.
29316 2006-03-02 Lillian Angel <langel@redhat.com>
29318 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29319 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29320 to use GtkWidget instead of GTKMenu.
29322 2006-03-02 Lillian Angel <langel@redhat.com>
29324 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29325 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
29326 use the submenu to get the list of children. This now works
29327 in the same way as addItem.
29329 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
29331 * java/lang/StringBuilder.java:
29332 (codePointAt): New method.
29333 (codePointBefore): Likewise.
29334 (codePointCount): Likewise.
29335 (trimToSize): Likewise.
29337 2006-03-02 Tom Tromey <tromey@redhat.com>
29339 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29341 2006-03-02 Tom Tromey <tromey@redhat.com>
29343 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29344 (getProviderInstance):
29346 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
29348 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29349 Fix regression caused by move to VM variant.
29350 PR classpath/22926.
29352 2006-03-01 Tom Tromey <tromey@redhat.com>
29354 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29355 * vm/reference/java/net/VMInetAddress.java: Organized imports.
29356 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29357 imports for javadoc.
29358 (getProxyClass): Javadoc fixes.
29359 (getProxyData): Likewise.
29360 (generateProxyClass): Likewise.
29361 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29362 (setOut): Likewise.
29363 (setErr): Likewise.
29364 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29365 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29367 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29369 (getModifiers): Likewise.
29370 (getDeclaredClasses): Javadoc fix.
29371 (getDeclaredFields): Likewise.
29372 (getDeclaredMethods): Likewise.
29373 (getDeclaredConstructors): Likewise.
29374 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29377 2006-03-01 Tom Tromey <tromey@redhat.com>
29379 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29380 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29381 (getVersion): Javadoc fix.
29383 * gnu/java/net/protocol/http/Headers.java: Organized imports.
29384 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29386 2006-03-01 David Daney <ddaney@avtrex.com>
29388 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29389 as relative if it contains a colon but no protocol handler can be
29392 2006-03-01 Roman Kennke <kennke@aicas.com>
29394 * javax/swing/text/AbstractDocument.java
29395 (LeafElement.LeafElement): Handle delta with respect to content
29396 length not document length.
29397 * javax/swing/text/CompositeView.java
29398 (getViewIndex): Handle bias correctly.
29399 * javax/swing/text/DefaultCaret.java
29400 (paint): Align caret position to document bounds to avoid trouble
29401 when removing large portions of content.
29402 * javax/swing/text/DefaultStyledDocument.java
29403 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29404 (ElementBuffer.createFracture): Copy old childs attribute. The
29405 ElementSpec usually doesn't carry attribute information.
29406 Use pos instead of offset.
29407 (ElementBuffer.insertFracture): Use pos instead of offset.
29408 (createDefaultRootElement): Don't use create* and instead directly
29409 instantiate the elements.
29410 (handleInsertAfterNewline): Compare the paragraphs startOffset
29411 rather than previous paragraphs endOffset.
29412 * javax/swing/text/JTextComponent.java
29413 (getScrollableTracksViewportWidth): Remove unnecessary cast to
29415 (getScrollableTracksViewportHeight): Remove unnecessary cast to
29417 * javax/swing/text/PlainView.java
29418 (damageLineRange): Avoid creating new Rectangle by using
29420 * javax/swing/text/View.java
29421 (forwardUpdate): Correct the use of bias.
29422 (modelToView): Avoid new Rectangles by using SwingUtilities.
29423 (dump): Made (temprorarily) protected for use in BasicTextUI.
29424 (dump(int)): Dump out the element of the view.
29426 2006-03-01 Lillian Angel <langel@redhat.com>
29428 * NEWS: javax.imageio.plugins.bmp implementation.
29430 2006-03-01 Lillian Angel <langel@redhat.com>
29432 * javax/imageio/ImageWriteParam.java:
29433 Added documentation for fields.
29434 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29435 New class implemented.
29437 2006-03-01 Tom Tromey <tromey@redhat.com>
29439 * NEWS: Mention java.util.prefs update.
29441 2006-03-01 Tom Tromey <tromey@redhat.com>
29443 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29444 * java/nio/charset/UnmappableCharacterException.java:
29445 (serialVersionUID): New field.
29446 * java/nio/charset/MalformedInputException.java:
29447 (serialVersionUID): New field.
29448 * java/nio/charset/CoderMalfunctionError.java:
29449 (serialVersionUID): New field.
29450 * java/nio/charset/CharacterCodingException.java:
29451 (serialVersionUID): New field.
29452 * java/nio/channels/UnsupportedAddressTypeException.java:
29453 (serialVersionUID): New field.
29454 * java/nio/channels/UnresolvedAddressException.java:
29455 (serialVersionUID): New field.
29456 * java/nio/channels/OverlappingFileLockException.java:
29457 (serialVersionUID): New field.
29458 * java/nio/channels/NotYetConnectedException.java:
29459 (serialVersionUID): New field.
29460 * java/nio/channels/NotYetBoundException.java
29461 (serialVersionUID): New field.
29462 * java/nio/channels/NonWritableChannelException.java
29463 (serialVersionUID): New field.
29464 * java/nio/channels/NonReadableChannelException.java
29465 (serialVersionUID): New field.
29466 * java/nio/channels/NoConnectionPendingException.java
29467 (serialVersionUID): New field.
29468 * java/nio/channels/IllegalSelectorException.java
29469 (serialVersionUID): New field.
29470 * java/nio/channels/IllegalBlockingModeException.java
29471 (serialVersionUID): New field.
29472 * java/nio/channels/FileLockInterruptionException.java
29473 (serialVersionUID): New field.
29474 * java/nio/channels/ConnectionPendingException.java
29475 (serialVersionUID): New field.
29476 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29478 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29480 * java/nio/channels/ClosedByInterruptException.java
29481 (serialVersionUID): New field.
29482 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29484 * java/nio/channels/AsynchronousCloseException.java
29485 (serialVersionUID): New field.
29486 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29488 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29489 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29490 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29492 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29493 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29494 Javadoc fix. Added import.
29495 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29496 (validOps): Likewise.
29497 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29498 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29499 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29500 * java/nio/channels/Channels.java: Added import.
29501 * java/nio/channels/FileChannel.java (lock): Typo fix.
29502 (tryLock): Likewise.
29504 2006-03-01 Tom Tromey <tromey@redhat.com>
29506 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29508 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29509 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29511 (putSpi): Likewise.
29512 (newNode): Likewise.
29514 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29515 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29517 (systemRoot): Use it.
29518 (userPreferences): New field.
29519 (userRoot): Use it.
29521 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29523 * java/util/ResourceBundle.java
29524 (tryBundle): Catch and ignore all Exceptions.
29526 2006-02-28 Roman Kennke <kennke@aicas.com>
29528 * javax/swing/plaf/basic/BasicScrollBarUI.java
29529 (getPreferredSize): Fixed add a fixed space between the buttons
29530 instead of something related to min/max.
29531 (installComponents): Create and install buttons here.
29532 (installDefaults): Don't create buttons here.
29533 * javax/swing/plaf/metal/MetalScrollBarUI.java
29534 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29535 (getPreferredSize): New method.
29537 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29539 * examples/gnu/classpath/examples/swing/Demo.java
29540 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29541 connected 'Spinner' action to SpinnerDemo,
29542 (mkCheckbox): Removed,
29543 (mkRadio): Likewise,
29544 (mkSpinner): Likewise,
29545 (mkToggle): Likewise,
29546 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29547 connected 'Spinner' action to SpinnerDemo.
29549 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29551 * javax/print/ServiceUIFactory.java: Added documentation to class.
29553 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29556 * javax/swing/DefaultListSelectionModel.java:
29557 (addSelectionInterval): Return early if either of the arguments is -1.
29558 (removeSelectionInterval): Likewise.
29559 (setSelectionInterval): Likewise.
29561 2006-02-28 Lillian Angel <langel@redhat.com>
29563 * javax/swing/text/DefaultFormatter.java
29564 (stringToValue): Added NPE check.
29566 2006-02-28 Roman Kennke <kennke@aicas.com>
29569 * javax/swing/JList.java
29570 (getPreferredScrollableViewportSize): Restored specified behaviour.
29571 * javax/swing/plaf/metal/MetalFileChooserUI.java
29572 (createList): Set filelist panel's preferredSize, so that it doesn't
29573 get size into infinity for big lists.
29575 2006-02-28 Lillian Angel <langel@redhat.com>
29577 * javax/swing/ViewportLayout.java
29578 (layoutContainer): Should not extend container to be
29579 minimum size. Mauve test shows that the preferred size
29580 and the size of the viewport can be set smaller than
29583 2006-02-28 Lillian Angel <langel@redhat.com>
29586 * javax/swing/JList.java
29587 (getPreferredScrollableViewportSize): Added a check to determine
29588 if orientation is VERTICAL_WRAP. If it is, we should only
29591 2006-02-28 Lillian Angel <langel@redhat.com>
29594 * javax/swing/ViewportLayout.java:
29595 Patch submitted by Audrius Meskauskas
29596 (addLayoutComponent): Added documentation.
29597 (removeLayoutComponent): Likewise.
29598 (preferredLayoutSize): Likewise.
29599 (minimumLayoutSize): Likewise.
29600 (layoutContainer): Fixed code, so view is set
29601 to the right position when inside a scrollpane.
29603 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29605 * java/math/BigInteger.java:
29606 Committed patch by Rafael:
29607 developer.classpath.org/pipermail/classpath-patches/
29608 2006-February/000473.html
29609 (signum): Return early 0 if words == null and ival == 0.
29610 (readObject): Handle special case of magnitude.length or signum being
29612 (writeObject): If signum is zero return a zero-sized byte[].
29614 2006-02-28 Lillian Angel <langel@redhat.com>
29616 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29617 (create): Initially set the directory to the current working directory.
29618 (setDirectory): Removed else-if. No need for this check.
29620 2006-02-28 Tom Tromey <tromey@redhat.com>
29622 * .project: Run java builder before header generation.
29624 2006-02-28 Tom Tromey <tromey@redhat.com>
29626 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29628 * gnu/java/util/prefs/EventDispatcher.java: New file.
29629 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29630 (NodeWriter): Specify UTF-8.
29631 (writeHeader): Emit DOCTYPE.
29632 * java/util/prefs/Preferences.java (getFactory): Add cause to
29634 (exportNode): Documented.
29635 (exportSubtree): Likewise.
29636 (importPreferences): Likewise.
29637 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29638 (writeObject): Likewise.
29639 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29640 (writeObject): Likewise.
29641 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29642 (nodeListeners): New field.
29643 (preferenceListeners): Likewise.
29644 (addNodeChangeListener): Implemented.
29645 (addPreferenceChangeListener): Likewise.
29646 (removeNodeChangeListener): Likewise.
29647 (removePreferenceChangeListener): Likewise.
29648 (fire): New methods.
29650 (remove): Likewise.
29651 (purge): Likewise. Fixed synchronization.
29652 (removeNode): Fixed synchronization.
29653 (getNode): Fire event.
29654 (flushNode): Fixed synchronization.
29656 2006-02-28 Roman Kennke <kennke@aicas.com>
29658 * javax/swing/text/BranchElement.java
29659 (startOffset): New field.
29660 (endOffset): New field.
29661 (BranchElement): Initialize new fields.
29662 (getEndOffset): Rewritten to possibly return cached values
29663 if element has no children.
29664 (getStartOffset): Rewritten to possibly return cached values
29665 if element has no children.
29666 * javax/swing/text/LeafElement.java
29667 (startDelta): New field.
29668 (endDelta): New field.
29669 (LeafElement): Handle possible delta of start/endOffset when
29670 these parameters lie outside the document range.
29671 (getStartOffset): Handle possible startDelta.
29672 (getEndOffset): Handle possible startDelta.
29674 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29676 * NEWS: Added line about Unicode 4.0.0 support.
29678 2006-02-28 Roman Kennke <kennke@aicas.com>
29680 * javax/swing/SwingUtilities.java
29681 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29683 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29685 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29687 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29689 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29690 Amended class documentation.
29691 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29693 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29694 a BIT STRING construct.
29695 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29697 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29699 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29700 a BIT STRING construct.
29701 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29702 (engineVerify): Added logging.
29704 2006-02-28 Roman Kennke <kennke@aicas.com>
29706 * java/awt/Component.java
29707 (dispatchEventImpl): Let the Toolkit dispatch global events.
29708 * java/awt/Container.java
29709 (dispatchEventImpl): Let the LightweightDispatcher handle events
29711 * java/awt/EventQueue.java
29712 (dispatchEvent): Don't do the global event dispatching here. This
29713 is moved to the Component.
29714 (globalDispatchEvent): Moved this method to Toolkit.
29715 * java/awt/LightweightDispatcher.java
29716 (instances): New field.
29717 (getInstance): New method. Delivers an instance of
29718 LightweightDispatcher.
29719 (LightweightDispatcher): Made default constructor private.
29720 (dispatchEvent): New method. Replaces the eventDispatched method.
29721 This now returns true when the event was actually dispatched.
29722 (eventDispatched): Replaced by dispatchEvent.
29723 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29724 received the last MOUSE_RELEASED.
29725 * java/awt/Toolkit.java
29726 (Toolkit): Don't register LightweightDispatcher as global event
29728 (globalDispatchEvent): Moved here from EventQueue.
29730 2006-02-27 David Daney <ddaney@avtrex.com>
29733 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29735 (getRequestProperties): Rewrote.
29737 2006-02-27 David Daney <ddaney@avtrex.com>
29740 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29742 (ChunkedInputStream): Extend InputStream.
29744 (headers): Moved to top of class.
29745 (constructor): Save referenct to in.
29746 (read(byte[])): Removed method.
29747 (read(byte[], int, int)): Made synchronized and throw IOException
29748 on error parsing chunk header.
29749 (available): New method.
29750 (close): New method.
29752 2006-02-27 David Daney <ddaney@avtrex.com>
29754 * gnu/java/net/protocol/http/HTTPURLConnection.java
29755 (imports): Cleaned up.
29756 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29757 (constructor): ... Here, using SystemProperties instead of System.
29759 2006-02-27 Lillian Angel <langel@redhat.com>
29761 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29762 (setDirectory): GtkFileChooser requires an absolute directory
29763 name. Added a check to make the directory passed to nativeSetDirectory
29766 2006-02-27 Roman Kennke <kennke@aicas.com>
29768 * javax/swing/SwingUtilities.java
29769 (computeIntersection): Changed to store result in rect, instead of
29770 creating new Rectangle instances. Fixed API docs accordingly.
29771 (computeUnion): Changed to store result in rect, instead of
29772 creating new Rectangle instances. Fixed API docs accordingly.
29774 2006-02-27 Roman Kennke <kennke@aicas.com>
29776 * javax/swing/JViewport.java
29777 (static_init): Changed default scrollmode to BLIT.
29778 (paintSimple): Added some clipping to avoid painting problems.
29779 (paintBlit): Added some clipping to avoid painting problems.
29781 2006-02-27 Roman Kennke <kennke@aicas.com>
29783 * javax/swing/JComponent.java
29784 (rectCache): Made field static to save memory.
29785 (getVisibleRect): Don't use rectCache and create new Rectangle
29787 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29788 (repaint(long,int,int,int,int)): Directly call
29789 RepaintManager.addDirtyRegion(). The visibleRect check is now
29790 performed in the RepaintManager.
29792 2006-02-27 Roman Kennke <kennke@aicas.com>
29794 * javax/swing/RepaintManager.java
29795 (currentRepaintManagers): Made field private.
29796 (rectCache): New field.
29797 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29798 component. Changed Rectangle handling to avoid unnecessary new
29799 Rectangle instances.
29800 (getOffscreenBuffer): Create buffer with size of the root window.
29801 Respect the maximum buffer size here.
29802 (commitBuffer): Align the regions so that they are inside the buffer
29803 image and inside the clip. This avoids problems with a bug in GTKImage.
29804 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29806 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29808 * native/fdlibm/e_acos.c,
29809 * native/fdlibm/e_asin.c,
29810 * native/fdlibm/e_atan2.c,
29811 * native/fdlibm/e_cosh.c,
29812 * native/fdlibm/e_exp.c,
29813 * native/fdlibm/e_fmod.c,
29814 * native/fdlibm/e_hypot.c,
29815 * native/fdlibm/e_log.c,
29816 * native/fdlibm/e_log10.c,
29817 * native/fdlibm/e_rem_pio2.c,
29818 * native/fdlibm/e_remainder.c,
29819 * native/fdlibm/e_sinh.c,
29820 * native/fdlibm/e_sqrt.c,
29821 * native/fdlibm/k_cos.c,
29822 * native/fdlibm/k_sin.c,
29823 * native/fdlibm/k_tan.c,
29824 * native/fdlibm/s_atan.c,
29825 * native/fdlibm/s_cbrt.c,
29826 * native/fdlibm/s_ceil.c,
29827 * native/fdlibm/s_copysign.c,
29828 * native/fdlibm/s_cos.c,
29829 * native/fdlibm/s_expm1.c,
29830 * native/fdlibm/s_fabs.c,
29831 * native/fdlibm/s_finite.c,
29832 * native/fdlibm/s_floor.c,
29833 * native/fdlibm/s_log1p.c,
29834 * native/fdlibm/s_rint.c,
29835 * native/fdlibm/s_scalbn.c,
29836 * native/fdlibm/s_sin.c,
29837 * native/fdlibm/s_tan.c,
29838 * native/fdlibm/s_tanh.c:
29839 Fixed to call our macros rather than __HI and __LO.
29840 * native/fdlibm/fdlibm.h:
29841 Reintroduced previous extraction code.
29842 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29843 (GET_HIGH_WORD(i,d)): Readded.
29844 (GET_LOW_WORD(i,d)): Readded.
29845 (INSERT_WORDS(d,ix0,ix1)): Readded.
29846 (SET_HIGH_WORD(d,i)): Readded.
29847 (SET_LOW_WORD(d,i)): Readded.
29848 * native/jni/gtk-peer/gthread-jni.c:
29849 Use Glib macros to convert integers/pointers portably.
29851 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29853 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29854 as the fallback SPI.
29855 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29856 ones referencing GNU-CRYPTO classes.
29857 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29858 (engineValidate): Use GNU-CRYPTO class.
29859 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29860 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29861 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29862 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29863 * gnu/java/security/provider/DSAParameters: Likewise.
29864 * gnu/java/security/provider/DSASignature: Likewise.
29865 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29866 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29867 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29868 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29869 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29870 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29871 * gnu/java/security/provider/MD2withRSA: Likewise.
29872 * gnu/java/security/provider/MD4withRSA: Likewise.
29873 * gnu/java/security/provider/MD5: Likewise.
29874 * gnu/java/security/provider/MD5withRSA: Likewise.
29875 * gnu/java/security/provider/RSA: Likewise.
29876 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29877 * gnu/java/security/provider/SHA: Likewise.
29878 * gnu/java/security/provider/SHA1PRNG: Likewise.
29879 * gnu/java/security/provider/SHA1withRSA: Likewise.
29880 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29882 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29884 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29885 (engineGeneratePublic): Added logging.
29886 (engineGeneratePrivate): Likewise.
29887 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29888 (encodePublicKey): Added logging.
29889 Clarified in method documentation that params is optional, but is
29890 always NULL if present.
29891 (decodePublicKey): Added logging.
29892 Handle optional NULL element.
29894 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29896 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29898 2006-03-03 Tom Tromey <tromey@redhat.com>
29900 * java/awt/MenuBar.java (shortcuts): Genericized.
29902 2006-03-03 Tom Tromey <tromey@redhat.com>
29904 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29906 (getListenerType): Likewise.
29907 * java/beans/Introspector.java (getBeanInfo): Genericized.
29908 * java/beans/DefaultPersistenceDelegate.java (initialize):
29911 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29913 * java/math/BigDecimal.java:
29914 (precision): Fixed overflow problem with large numbers.
29915 (longValueExact): New method.
29916 (intValueExact): Likewise.
29917 (byteValueExact): Likewise.
29918 (shortValueExact): Likewise.
29920 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29922 * java/math/BigDecimal.java:
29923 (remainder(BigDecimal)): New method.
29924 (divideAndRemainder(BigDecimal)): Likewise.
29925 (divideToIntegralValue(BigDecimal)): Likewise.
29926 (floor): New implementation method.
29928 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29930 * java/math/BigDecimal.java:
29931 (divide(BigDecimal, int, RoundingMode)): New method.
29932 (divide(BigDecimal, RoundingMode)): Likewise.
29933 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29934 when the new scale is < 0.
29935 (setScale(int, RoundingMode)): New method.
29938 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29940 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29941 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29942 (add(BigDecimal, MathContext)): New method.
29943 (subtract(BigDecimal, MathContext)): Likewise.
29944 (precision): Fixed to correctly handle BigIntegers with more than 19
29946 (pow(int, MathContext)): New method.
29948 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29950 * java/math/BigDecimal.java: Added @throws clause to constructors.
29951 (mathContext): Removed this unneeded field.
29952 (BigDecimal(int, MathContext)): New constructor.
29953 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29954 (multiply(BigDecimal, MathContext)): New method.
29955 (negate(MathContext)): Likewise.
29956 (plus(MathContext)): Likewise.
29957 (numDigitsInLong): Fixed to properly handle negatives.
29959 2006-02-25 Chris Burdess <dog@gnu.org>
29961 * gnu/java/net/CRLFInputStream.java,
29962 gnu/java/net/LineInputStream.java: Streams that use mark
29963 capabilities on the underlying stream do not expose mark
29964 functionality themselves.
29965 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29968 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29970 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29971 option flags passed to match methods.
29972 (MF_FIND_ALL): New flag.
29973 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29974 do not try other possibilties once a match is found.
29975 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29976 so that all possibilities can be found.
29977 (match): Rewritten using new methods matchMinimum and _match.
29978 (_match): New method which performs a depth-first recursive search.
29979 (matchMinimum): New method.
29980 (initVisited), (visitedContains), (addVisited): New methods for
29981 manipulating an array of icharacter positions which _match has
29984 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29986 * java/math/BigDecimal.java:
29987 (BigDecimal(long, MathContext)): New constructor.
29988 (BigDecimal(BigInteger, MathContext)): Likewise.
29989 (BigDecimal(String, MathContext)): Likewise.
29990 (BigDecimal(double, MathContext)): Likewise.
29991 (round): Fixed a typo where the precision field was used instead of a
29992 call to the precision method, and also store the new precision in the
29993 returned BigDecimal.
29994 (abs(MathContext)): New method.
29996 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29998 * java/math/BigDecimal.java
29999 (toBigInteger): Fixed problem where this method couldn't handle
30000 negative values for scale.
30001 (toBigIntegerExact): New method.
30002 (stripTrailingZeros): Likewise.
30004 2006-02-24 David Daney <ddaney@avtrex.com>
30007 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
30009 (Pool): New inner class.
30010 (timeLastUsed): New field.
30011 (setPool): Changed parameter type to Pool.
30012 (release): Moved pool management logic to new class Pool.
30013 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
30015 (maxConnections) : Removed.
30016 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
30017 (getConnection): Moved pool management logic to HTTPConnection.Pool.
30019 2006-02-24 Lillian Angel <langel@redhat.com>
30021 * java/awt/Container.java:
30022 Added new field. True if Container has been cleared and
30023 heavyweights need to be repainted.
30024 (paint): Fixed comment. Fixed to use backCleared and
30026 (update): Set backCleared to true after the background
30027 of the container has been cleared.
30029 2006-02-24 Lillian Angel <langel@redhat.com>
30031 * java/awt/TextField.java
30032 (addNotify): Added call to super.
30034 2006-02-24 Lillian Angel <langel@redhat.com>
30036 * java/awt/Component.java
30037 (reshape): Reverted last patch. Should have check here.
30038 (addNotify): Added check. If parent is lightweight, then
30039 initialize listener on the parent.
30040 (HeavyweightInLightweightListener): New class.
30042 2006-02-24 Roman Kennke <kennke@aicas.com>
30044 * javax/swing/plaf/basic/BasicComboPopup.java
30045 (show): Register the popup with the autocloser after it has been
30046 opened completely, by putting the registration on the eventqueue.
30048 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30050 * gnu/java/security/prng/BasePRNG.java:
30051 (clone()): Added cast of buffer to byte[].
30052 * gnu/javax/crypto/mac/TMMH16.java:
30053 (clone()): Fixed casting of cloned arrays.
30054 * native/fdlibm/fdlibm.h:
30055 Added missing defines from old fdlibm.h needed by Darwin.
30056 (GET_FLOAT_WORD(i,d)): Re-added.
30057 (SET_FLOAT_WORD(d,i)): Re-added.
30059 2006-02-24 Roman Kennke <kennke@aicas.com>
30061 * java/awt/Container.java:
30062 (dispatcher): Removed field.
30063 (dispatchEventImpl): Removed lightweight dispatching.
30064 (addNotifyContainerChildren): Removed LightweightDispatcher
30066 (LightweightDispatcher): Removed class.
30067 * java/awt/LightweightDispatcher.java: New class.
30068 * java/awt/Toolkit.java
30069 (Toolkit): Install LightweightDispatcher in global listener
30072 2006-02-24 Chris Burdess <dog@gnu.org>
30075 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30078 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
30080 * NEWS: Mentions the VMMath runtime changes.
30081 * doc/vmintegration.texinfo: Updated to include
30084 2006-02-24 Roman Kennke <kennke@aicas.com>
30086 * javax/swing/plaf/basic/BasicLookAndFeel.java
30087 (PopupHelper.autoClosePopups): New field.
30088 (PopupHelper.mousePressed): Also autoclose any registered popups.
30089 (PopupHelper.registerForAutoClose): New method.
30090 (PopupHelper.autoClosePopups): New method.
30091 (popupHelper): Changed type of field to PopupHelper.
30092 (registerForAutoClose): New method.
30093 * javax/swing/plaf/basic/BasicComboPopup.java
30094 (show): Register this popup for autoclosing.
30096 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
30098 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30099 * gnu/java/security/prng/MDGenerator.java (clone): New method.
30100 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30102 2006-02-24 Roman Kennke <kennke@aicas.com>
30104 Reported by Ingo Proetel <proetel@aicas.com>
30105 * java/util/logging/LogManager.java
30106 (addLogger): Search the parent loggers for log level
30107 configuration and inherit that.
30108 (readConfiguration): Provide minimal default configuration
30109 if no configuration can be found otherwise.
30111 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30113 * java/math/BigDecimal.java:
30114 (toString): Fixed a problem where the negative sign was being displayed
30115 twice in the exponent.
30116 (toEngineeringString): New method.
30117 (toPlainString): Likewise.
30120 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
30122 * java/math/BigDecimal.java:
30123 (toString): Rewrote this method to behave as specified. Added API
30124 comments to explain behaviour.
30125 (scaleByPowerOfTen): New method.
30127 2006-02-23 Roman Kennke <kennke@aicas.com>
30129 * javax/swing/JRootPane.java
30130 (isOptimizedDrawingEnabled): Implemented to return true
30131 when the glassPane is not visible.
30133 2006-02-23 Roman Kennke <kennke@aicas.com>
30135 * javax/swing/plaf/basic/BasicLookAndFeel.java
30136 (PopupHelper): New inner class.
30137 (popupHelper): New field.
30138 (initialize): New method.
30139 (uninitialize): New method.
30140 * javax/swing/plaf/basic/BasicPopupMenuUI.java
30141 (mouseInputListener): Removed field.
30142 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30143 handling of GlassPane.
30144 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30145 handling of GlassPane.
30146 (MouseInputHandler): Removed class.
30148 2006-02-23 Roman Kennke <kennke@aicas.com>
30150 * java/awt/AWTEvent.java
30151 (eventIdToMask): New utility method.
30152 * java/awt/EventQueue.java
30153 (dispatchEvent): Also globally dispatch events via the toolkit.
30154 (globalDispatchEvent): New method.
30155 * java/awt/Toolkit.java
30156 (awtEventListeners): New field.
30157 (Toolkit()): Initialize new field.
30158 (createComponent): Create GLightweightPeer here.
30159 (addAWTEventListener): Implemented and documented.
30160 (removeAWTEventListener): Implemented and documented.
30161 (getAWTEventListeners): Implemented and documented both method
30163 * java/awt/event/AWTEventListenerProxy.java
30164 (eventDispatched): Don't filter events here.
30166 2006-02-23 Chris Burdess <dog@gnu.org>
30169 * gnu/xml/dom/DomDocumentBuilderFactory.java,
30170 gnu/xml/dom/JAXPFactory.java,
30171 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30172 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30173 implement DocumentBuilderFactory.get/setFeature methods.
30175 2006-02-23 Lillian Angel <langel@redhat.com>
30177 * gnu/java/awt/peer/GLightweightPeer.java
30178 (repaint): Scott's proposed fix. Send repaint to the
30179 component's parent.
30180 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30181 (setBounds): Removed next_parent, not needed. Removed
30182 lightweightChild, we always need to compensate for the
30184 * java/awt/Component.java
30185 (setBounds): Removed check. Caused lots of problems, because some
30186 components were not being invalidated. Components should be
30187 invalidated when they are resized or moved, and in some cases,
30188 when a parent is resized/moved, the components do not know
30189 about it and do not adjust.
30190 * java/awt/Graphics.java
30191 (hitClip): Scott's proposed fix. Added check to handle a
30194 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30196 * javax/print/attribute/standard/MediaSize.java:
30197 (media): Field renamed to mediaName for serialization.
30198 (MediaSize): Adapted to new fieldname.
30199 (getMediaSizeName): Likewise.
30200 * javax/print/attribute/HashAttributeSet.java:
30201 (interfaceName): Field renamed to myInterface for serialization.
30202 (HashAttributeSet): Adapted to the new fieldname.
30204 (addAll): Likewise.
30205 (addInternal): Likewise.
30206 (attributeMap): Made transient.
30207 (readObject): New serialization method.
30208 (writeObject): Likewise.
30209 * javax/print/attribute/AttributeSetUtilities.java:
30210 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30211 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30212 (SynchronizedAttributeSet.addAll): Likewise.
30213 (SynchronizedAttributeSet.clear): Likewise.
30214 (SynchronizedAttributeSet.containsKey): Likewise.
30215 (SynchronizedAttributeSet.containsValue): Likewise.
30216 (SynchronizedAttributeSet.equals): Likewise.
30217 (SynchronizedAttributeSet.get): Likewise.
30218 (SynchronizedAttributeSet.hashCode): Likewise.
30219 (SynchronizedAttributeSet.isEmpty): Likewise.
30220 (SynchronizedAttributeSet.remove): Likewise.
30221 (SynchronizedAttributeSet.size): Likewise.
30222 (SynchronizedAttributeSet.toArray): Likewise.
30223 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30224 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30225 (UnmodifiableAttributeSet.addAll): Likewise.
30226 (UnmodifiableAttributeSet.clear): Likewise.
30227 (UnmodifiableAttributeSet.containsKey): Likewise.
30228 (UnmodifiableAttributeSet.containsValue): Likewise.
30229 (UnmodifiableAttributeSet.equals): Likewise.
30230 (UnmodifiableAttributeSet.get): Likewise.
30231 (UnmodifiableAttributeSet.hashCode): Likewise.
30232 (UnmodifiableAttributeSet.isEmpty): Likewise.
30233 (UnmodifiableAttributeSet.remove): Likewise.
30234 (UnmodifiableAttributeSet.size): Likewise.
30235 (UnmodifiableAttributeSet.toArray): Likewise.
30236 * javax/print/attribute/standard/MediaPrintableArea.java:
30237 (width): Field renamed to w for serialization.
30238 (height): Field renamed to h for serialization.
30239 (MediaPrintableArea): Adapted to the new fieldnames.
30240 (MediaPrintableArea): Likewise.
30241 (equals): Likewise.
30242 (hashCode): Likewise.
30243 (getHeight): Likewise.
30244 (getWidth): Likewise.
30246 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
30248 * include/java_lang_VMMath.h:
30249 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30250 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30251 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30252 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30253 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30254 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30255 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30256 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30257 * java/lang/Math.java:
30258 (cbrt(double)): Implemented.
30259 (cosh(double)): Implemented.
30260 (expm1(double)): Implemented.
30261 (hypot(double,double)): Implemented.
30262 (log10(double)): Implemented.
30263 (log1p(double)): Implemented.
30264 (signum(double)): Implemented.
30265 (signum(float)): Implemented.
30266 (sinh(double)): Implemented.
30267 (tanh(double)): Implemented.
30268 * native/fdlibm/Makefile.am:
30269 Added new files from fdlibm 5.3.
30270 * native/fdlibm/e_acos.c,
30271 * native/fdlibm/e_asin.c,
30272 * native/fdlibm/e_atan2.c,
30273 * native/fdlibm/e_exp.c,
30274 * native/fdlibm/e_fmod.c,
30275 * native/fdlibm/e_log.c,
30276 * native/fdlibm/e_rem_pio2.c,
30277 * native/fdlibm/e_remainder.c,
30278 * native/fdlibm/e_scalb.c,
30279 * native/fdlibm/e_sqrt.c,
30280 * native/fdlibm/k_cos.c,
30281 * native/fdlibm/k_rem_pio2.c,
30282 * native/fdlibm/k_sin.c,
30283 * native/fdlibm/k_tan.c,
30284 * native/fdlibm/s_atan.c,
30285 * native/fdlibm/s_ceil.c,
30286 * native/fdlibm/s_copysign.c,
30287 * native/fdlibm/s_cos.c,
30288 * native/fdlibm/s_fabs.c,
30289 * native/fdlibm/s_finite.c,
30290 * native/fdlibm/s_floor.c,
30291 * native/fdlibm/s_rint.c,
30292 * native/fdlibm/s_scalbn.c,
30293 * native/fdlibm/s_sin.c,
30294 * native/fdlibm/s_tan.c,
30295 * native/fdlibm/w_acos.c,
30296 * native/fdlibm/w_asin.c,
30297 * native/fdlibm/w_atan2.c,
30298 * native/fdlibm/w_acos.c,
30299 * native/fdlibm/w_exp.c,
30300 * native/fdlibm/w_fmod.c,
30301 * native/fdlibm/w_log.c,
30302 * native/fdlibm/w_pow.c,
30303 * native/fdlibm/w_remainder.c,
30304 * native/fdlibm/w_sqrt.c:
30305 Updated to fdlibm 5.3.
30306 * native/fdlibm/e_cosh.c,
30307 * native/fdlibm/e_hypot.c,
30308 * native/fdlibm/e_log10.c,
30309 * native/fdlibm/e_sinh.c,
30310 * native/fdlibm/s_cbrt.c,
30311 * native/fdlibm/s_expm1.c,
30312 * native/fdlibm/s_log1p.c,
30313 * native/fdlibm/s_tanh.c,
30314 * native/fdlibm/w_cosh.c,
30315 * native/fdlibm/w_hypot.c,
30316 * native/fdlibm/w_log10.c,
30317 * native/fdlibm/w_sinh.c:
30318 Imported from fdlibm 5.3.
30319 * native/fdlibm/fdlibm.h:
30320 Imported from fdlibm 5.3 with Classpath additions.
30321 * native/fdlibm/namespace.h:
30322 Updated from new math_symbols file.
30323 * native/jni/java-lang/java_lang_VMMath.c:
30324 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30325 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30326 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30327 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30329 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30330 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30331 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30332 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30333 * scripts/math_symbols:
30334 Added tanh, expm1, log10 and log1p.
30335 * vm/reference/java/lang/VMMath.java:
30336 (cbrt(double)): Implemented.
30337 (cosh(double)): Implemented.
30338 (expm1(double)): Implemented.
30339 (hypot(double,double)): Implemented.
30340 (log10(double)): Implemented.
30341 (log1p(double)): Implemented.
30342 (sinh(double)): Implemented.
30343 (tanh(double)): Implemented.
30345 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
30347 * javax/print/DocFlavor.java: Added documentation all over.
30348 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30349 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30350 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30351 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30352 (URL.TEXT_HTML_HOST): Likewise.
30353 (URL.TEXT_PLAIN_HOST): Likewise.
30354 (hostEncoding): Initialize with host default charset encoding.
30355 (mediaSubtype): Made transient.
30356 (mediaType): Likewise.
30357 (params): Made transient. Changed type to TreeMap.
30358 (className): Removed, changed to myClassName.
30359 (myClassName): New field as defined in serialized form.
30360 (DocFlavor): Adapted to new variable types, names.
30361 (parseMimeType): Reimplemented.
30362 (getParameter): Search with lowercase name.
30363 (getRepresentationClassName): Adapted to changed variable name.
30364 (hashCode): Likewise.
30365 (toString): Reimplemented.
30366 (readObject): New method for serialization.
30367 (writeObject): Likewise.
30369 2006-02-23 Roman Kennke <kennke@aicas.com>
30371 * javax/swing/RepaintManager.java
30372 (commitBuffer): Clip the repaint area with the current clip.
30374 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
30376 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30377 (DEFAULT_PRIME_SIZE): Made public.
30378 (DEFAULT_EXPONENT_SIZE): Likewise.
30379 (setup): Handle DHParameterSpec as well.
30380 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30381 defaultFormat instead of Raw.
30382 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30383 (checkIsConstructed): Removed.
30384 (checkIsBigInteger): Likewise.
30385 (decodePublicKey): Use DerUtil.
30386 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30387 (checkIsConstructed): Removed.
30388 (checkIsBigInteger): Likewise.
30389 (decodePrivateKey): Use DerUtil.
30390 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30392 Added mappings for AlgorithmParameters.DH and
30393 AlgorithmParameterGenerator.DH.
30394 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30395 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30396 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30397 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30399 (engineGeneratePublic): Likewise.
30400 * gnu/java/security/util/DerUtil.java: New file.
30401 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30402 Include only valid RSA PKCS1 (v1.5) signature names.
30403 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30404 (RSAPKCS1V1_5SignatureX509Codec): Removed.
30405 (checkIsConstructed): Likewise.
30406 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30407 (checkIsConstructed): Removed.
30408 (checkIsBigInteger): Likewise.
30409 (decodeSignature): Use DerUtil.
30410 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30411 (checkIsConstructed): Removed.
30412 (checkIsBigInteger): Likewise.
30413 (decodePublicKey): Use DerUtil.
30414 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30415 (checkIsConstructed): Removed.
30416 (checkIsBigInteger): Likewise.
30417 (decodePrivateKey): Use DerUtil.
30418 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30419 (checkIsConstructed): Removed.
30420 (checkIsBigInteger): Likewise.
30421 (decodePublicKey): Use DerUtil.
30422 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30423 (checkIsConstructed): Removed.
30424 (checkIsBigInteger): Likewise.
30425 (decodePrivateKey): Use DerUtil.
30426 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30427 (DEFAULT_MODULUS_LENGTH): Made it public.
30428 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30429 defaultFormat instead of Raw.
30430 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30431 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30432 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30434 (engineGeneratePublic): Likewise.
30435 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30437 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
30439 * java/math/BigDecimal.java:
30440 (BigDecimal(char[], int, int, MathContext)): New constructor.
30441 (BigDecimal(char[], MathContext)): Likewise.
30442 (BigDecimal(char[])): Likewise.
30443 (BigDecimal(char[], int, int)): Likewise.
30444 (BigDecimal(String)): Fixed handling of exponent and scale.
30446 2006-02-22 Mark Wielaard <mark@klomp.org>
30448 * java/awt/Checkbox.java (setState): Check that state actually changed
30449 before calling peer.
30450 (dispatchEventImpl): Set new state if ItemEvent.
30451 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30452 (create): Set currentState.
30453 (setState): Make synchronized, check and set currentState before
30454 calling gtkToggleButtonSetActive.
30455 (postItemEvent): Make synchronized, check and set currentState before
30457 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30458 (postItemEventID): Method now takes boolean.
30459 (item_toggled_cb): Likewise.
30461 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30463 * javax/swing/text/DefaultHighlighter.java:
30464 (changeHighlight): Added code to minimize the damaged area.
30466 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30468 * javax/swing/text/PlainView.java:
30469 (getPreferredSpan): Added missing 'break'.
30470 statement which corrects an unwanted fall through.
30471 (updateDamage): Update maxLineLength correctly when text is
30472 removed, call preferenceChanged accordingly.
30473 (viewToModel): Restrict line number to be within 0 and the
30474 number of elements-1.
30476 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30478 * javax/swing/text/Utilities.java:
30479 (getPositionAbove): Prefer first value by changing comparison
30481 (getPositionBelow): Dito.
30483 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30485 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30486 behavior when magic caret position is null.
30488 2006-02-22 Roman Kennke <kennke@aicas.com>
30490 * javax/swing/JTextField.java
30491 (isValidateRoot): New method.
30493 2006-02-22 Roman Kennke <kennke@aicas.com>
30495 * javax/swing/JEditorPane.java
30496 (getPreferredSize): Rewritten to behave like the reference impl.
30497 (getScrollableTracksViewportWidth): Likewise.
30498 (getScrollableTracksViewportHeight): Likewise.
30500 2006-02-22 Roman Kennke <kennke@aicas.com>
30502 * javax/swing/RepaintManager.java
30503 (addInvalidComponent): Also consider the component itself.
30505 2006-02-22 Mark Wielaard <mark@klomp.org>
30507 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30508 qualify AbstractDocument.AttributeContext.
30509 (blockOpen): Likewise.
30511 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30513 * java/math/BigDecimal.java:
30514 (mathContext): New field.
30515 (precision): Likewise.
30516 (BigDecimal(int)): New constructor.
30517 (BigDecimal(long)): Likewise.
30518 (BigDecimal(BigInteger)): Added API docs.
30519 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30520 and added API docs.
30521 (plus): New method.
30523 (precision): Likewise.
30524 (valueOf): Likewise.
30525 (numDigitsInLong): New implementation method.
30527 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30529 * java/math/MathContext.java: New class.
30530 * java/math/RoundingMode: New Enum.
30532 2006-02-21 Mark Wielaard <mark@klomp.org>
30534 * java/awt/Component.java (translateEvent): Translate
30535 AdjustmentEvents to 1.0 Events.
30536 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30537 Call setValue() before processing event.
30538 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30539 whether we are currently changing and being called back from the
30540 Scrollbar component.
30541 (setBarValues): New native method.
30542 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30543 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30544 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30545 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30546 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30548 2006-02-21 Roman Kennke <kennke@aicas.com>
30550 * javax/swing/text/View.java
30551 (setParent): Set child parent to null when disconnecting
30552 the view from the View hierarchy.
30554 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30556 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30558 2006-02-21 Roman Kennke <kennke@aicas.com>
30560 * javax/swing/text/WrappedPlainView.java
30561 (calculateBreakPosition): Changed to use the view's allocation instead
30562 of the container's preferredSize.
30564 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30566 * java/awt/CardLayout.java:
30567 (first): Updated api documentation.
30570 (previous): Likewise.
30571 (show): Clarified api docs. Return if name is null. Throw
30572 IllegalArgumentException if layout of container is not this.
30573 (gotoComponent): Updated api documentation. Throw
30574 IllegalArgumentException if layout of container is not this.
30576 2006-02-21 Roman Kennke <kennke@aicas.com>
30578 * javax/swing/text/NavigationFilter.java
30579 (getNextVisualPositionFrom): New method.
30581 2006-02-21 Roman Kennke <kennke@aicas.com>
30583 * javax/swing/plaf/basic/BasicTextUI.java
30584 (RootView.setView): Call setParent() on the view with this as
30585 argument instead of null.
30586 (setView): Don't set root view's parent here.
30588 2006-02-21 Roman Kennke <kennke@aicas.com>
30590 * javax/swing/text/AbstractDocument.java
30591 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30592 the resolving parent.
30593 (AbstractElement.getResolveParent): Fixed to handle possible null
30595 * javax/swing/text/BoxView.java
30596 (childReqs): New field.
30597 (paint): Added debugging code (commented out).
30598 (getPreferredSpan): Rewritten to use new update* methods.
30599 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30600 for the minor axis and preferredSpan for the major axis.
30601 (getMinimumSpan): Rewritten to use new update* methods.
30602 (baselineRequirements): Rewritten to avoid creation of
30603 unnecessary SizeRequirements objects.
30604 (baselineLayout): Rewritten to use new update* methods.
30605 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30606 unnecessary SizeRequirements objects.
30607 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30608 unnecessary SizeRequirements objects.
30609 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30611 (layoutMajorAxis): Rewritten to use new update* methods.
30612 (layoutMinorAxis): Rewritten to use new update* methods.
30613 (getChildRequirements): Replaced by the update* methods.
30614 (getAlignment): Use update* methods.
30615 (updateChildRequirements): New methods. Updates the child requirements
30617 (updateRequirements): New methods. Updates the BoxView requirements
30619 * javax/swing/text/DefaultStyledDocument.java
30620 (ElementBuffer.insert): Added warning for illegal replacement operation.
30621 * javax/swing/text/FlowView.java
30622 (layoutRow): When offset doesn't change, return -1.
30623 (LogicalView): Now subclasses BoxView.
30624 (loadChildren): Let the CompositeView.setParent() load the children
30625 of the logicalView.
30626 (calculateMinorRequirements): New overridden method.
30627 * javax/swing/text/GlyphView.java
30628 (DefaultGlyphPainter.paint): Fixed typo.
30629 (startOffset): Made field private.
30630 (endOffset): Made field private.
30631 (paint): Call getStartOffset() and getEndOffset() instead of the
30633 (isStrikeThrough): Fixed typo.
30634 (breakView): Use Utilities.getBreakLocation() to determine best
30636 (changedUpdate): Call preferencedChange on this instead of parent.
30637 (removeUpdate): Call preferencedChange on this instead of parent.
30638 * javax/swing/text/ParagraphView.java
30639 (Row.getAlignment): For Y_AXIS, call super.
30640 (getAlignment): Likewise.
30641 * javax/swing/text/Utilities.java
30642 (getBreakLocation): Set Segment object directly on the BreakIterator.
30643 * javax/swing/text/html/HTML.java
30644 (Attribute): Made class non-serializable and final as specified.
30645 (Attribute(String)): Made constructor private.
30646 (Attribute.compareTo): Removed.
30647 (Attribute.equals): Removed.
30648 (Attribute.hashCode): Removed.
30649 (Tag): Made class non-comparable and non-serializable as specified.
30650 (Tag.compareTo): Removed.
30651 (Tag.equals): Removed.
30652 (Tag.hashCode): Removed.
30653 * javax/swing/text/html/HTMLDocument.java
30654 (HTMLReader.blockOpen): Add tag as name attribute to element.
30655 * javax/swing/text/html/HTMLEditorKit.java
30656 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30658 * javax/swing/text/html/InlineView.java
30659 (setPropertiesFromAttributes): Call super.
30660 * javax/swing/text/html/NullView.java: New class.
30662 2006-02-21 Roman Kennke <kennke@aicas.com>
30665 * javax/swing/text/GapContent.java
30666 (GapContentPosition): Made class private.
30667 (InsertUndo): Made class private.
30668 (UndoRemove): Made class private.
30669 (WeakPositionComparator): New inner class.
30670 (positions): Made field private.
30671 (createPosition): Clear up GC'ed positions before creating
30672 a new one. Store position as WeakReference.
30673 (getPositionsInRange): Changed to handle WeakReference
30675 (setPositionsInRange): Changed to handle WeakReference
30677 (adjustPositionsInRange): Changed to handle WeakReference
30679 (dumpPositions): Handle WeakReference positions.
30680 (clearPositionReferences): New method.
30682 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30684 * javax/swing/plaf/basic/BasicTextUI.java:
30685 (paint): Remove unneccessary part of the if-expression.
30686 (damageRange): Added case where the range spans multiple lines.
30687 * javax/swing/text/DefaultCaret.java:
30688 (clearHighlight): New method.
30689 (handleHighlight): Removed unneccessary part of the if-expression.
30690 (setDot): Use clearHighlight method.
30691 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30693 (paint): Prevented calling size() on every loop iteration, fixed
30694 calculation of allocation area bounds.
30695 (getHighlights): Implemented.
30696 (removeHighlight): Mark damaged area in textcomponent.
30697 (addHighlight): Mark damaged area in textcomponent.
30698 (changeHighlight): Mark damaged area in textcomponent.
30699 (DefaultHighlighter.HighlightEntry): Made it a real
30700 Highlighter.Highlight implementation.
30701 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30704 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30706 * java/util/zip/ZipConstants.java
30707 (LOCSIG): Change type to long.
30708 (EXTSIG): Likewise.
30709 (CENSIG): Likewise.
30710 (ENDSIG): Likewise.
30711 * java/util/zip/ZipOutputStream.java
30712 (writeLeInt(long)): New method.
30714 2006-02-21 Michael Koch <konqueror@gmx.de>
30716 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30718 2006-02-20 Mark Wielaard <mark@klomp.org>
30720 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30721 (begin_drawing_operation): Output stacktrace and return on bad cairo
30723 (end_drawing_operation): Likewise. And reset cairo_t.
30725 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30727 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30728 in backward selection action.
30730 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30732 * java/lang/reflect/Proxy.java:
30733 (ProxyData.getProxyData): Skipped overriding of core methods.
30734 (ProxyData.isCoreObjectMethod): New method.
30736 2006-02-20 Mark Wielaard <mark@klomp.org>
30738 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30740 2006-02-20 Roman Kennke <kennke@aicas.com>
30742 * javax/swing/text/html/Option.java: New class.
30744 2006-02-20 Lillian Angel <langel@redhat.com>
30746 * java/swt/Window.java
30747 (show): Calling show() on the owned windows caused problems.
30748 Changed back to get the peer and call setVisible.
30750 2006-02-20 Roman Kennke <kennke@aicas.com>
30752 * javax/swing/plaf/basic/BasicTextUI.java
30753 (damageRange): Implemented this method.
30755 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30757 * javax/swing/text/GapContent.java:
30758 (shiftGapEndUp): Corrected new mark value.
30759 * javax/swing/text/AbstractDocument.java:
30760 (remove): Changed order of operations.
30762 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30764 * javax/swing/text/GapContent.java:
30765 (shiftGapEndUp): Reverted.
30766 * javax/swing/text/AbstractDocument.java:
30767 (remove): Reverted.
30769 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30771 * javax/swing/text/GapContent.java:
30772 (shiftGapEndUp): Corrected new mark value.
30773 * javax/swing/text/AbstractDocument.java:
30774 (remove): Changed order of operations.
30776 2006-02-20 Mark Wielaard <mark@klomp.org>
30778 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30780 (insert): Likewise.
30781 (addNotify): Add the item after addNotifying it.
30782 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30783 there is a peer. Use getParent() and setParent() to manipulate parent
30785 (add(Menu)): Use getParent() and setParent() to manipulate parent
30786 field. Call addNotify() and addMenu() when there is a peer.
30787 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30788 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30789 when there is a peer.
30790 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30791 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30792 (setFont): Call setFont(Font).
30793 (setFont(Font)): Document. Only set font when not null.
30794 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30796 (connectSignals): Likewise.
30797 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30799 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30801 (postMenuActionEvent): Document.
30802 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30804 (addItem): Document. Made private.
30805 (addTearOff): Made private.
30806 (connectSignals): New protected overridden method.
30807 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30808 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30809 (create): Document.
30810 (addMenu): Made private, take GtkMenuPeer as argument and document.
30811 (GtkMenuBarPeer): Document.
30812 (nativeSetHelpMenu): Removed.
30813 (addHelpMenu): Implement.
30814 (delMenu): Document.
30815 (addMenu): Implement.
30816 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30817 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30818 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30819 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30822 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30824 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30825 Expect that proxy interfaces may have different class loaders.
30826 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30827 * java/rmi/registry/Registry.java,
30828 * java/rmi/server/UnicastRemoteObject.java:
30829 Documented about proxy stubs.
30830 * gnu/java/rmi/server/CombinedClassLoader.java,
30831 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30832 * NEWS: Added entry.
30834 2006-02-19 Mark Wielaard <mark@klomp.org>
30836 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30837 Parent and Bounds of our children if either or parent is showing, or
30838 we are a Window and are showing ourselves now.
30840 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30842 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30844 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30845 Another stub name fix.
30847 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30849 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30850 Call convertStubName. (convertStubName): New method.
30851 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30852 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30853 (convertStubName): New method.
30854 (getMethodHashCode):
30855 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30856 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30858 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30860 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30862 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30864 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30866 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30868 * javax/swing/JViewport.java (paintBackingStore): If the component has
30869 not been scrolled, only repaint the buffer part, indicated by
30870 the parameter graphics clip.
30872 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30874 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30876 (writePrivateKey): Likewise.
30877 (writeKey): New method.
30878 (getKeyType): Likewise.
30879 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30881 (readPrivateKey): Likewise.
30882 (getKeyPairCodec): New method.
30883 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30884 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30885 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30886 (RSA_PSS_ENCODING): Likewise..
30887 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30888 (RSA_PSS_SIG): Redefined using other constants.
30889 (RSA_PKCS1_V1_5_SIG): Likewise.
30890 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30891 * gnu/java/security/util/FormatUtil.java: New file.
30892 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30893 (getInstance): Let RSASignatureFactory handle RSA signature names.
30894 (getNames): Handle new RSA signature (with format) names.
30895 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30896 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30898 (name): Include hash algorithm name.
30899 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30900 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30901 (RSAPSSSignature): Call constructor with IMessageDigest.
30902 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30903 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30905 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30907 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30908 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30909 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30910 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30911 hash algorithm name to exception.
30912 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30913 * gnu/java/security/key/KeyPairCodecFactory.java
30914 (names): New class field.
30915 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30916 (getInstance(String,String)): New method.
30917 (getInstance(String,int)): New method.
30918 (getInstance(byte[])): Removed.
30919 (getInstance(Key)): Handle new formats.
30920 (getNames): Likewise.
30921 (getEncodingName(int)): Moved to FormatUtil.
30922 (getEncodingShortName(int)): Likewise.
30923 (getRawCodec(String)): New method.
30924 (getX509Codec(String)): Likewise.
30925 (getPKCS8Codec(String)): Likewise.
30926 (getRawCodec(Key)): Likewise.
30927 (getX509Codec(Key)): Likewise.
30928 (getPKCS8Codec(Key)): Likewise.
30929 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30930 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30931 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30932 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30933 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30934 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30935 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30936 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30937 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30939 2006-02-18 Mark Wielaard <mark@klomp.org>
30941 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30943 (NoDragGestureRecognizer): New static class.
30944 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30945 Toolkit doesn't support drag and drop.
30947 2006-02-18 Mark Wielaard <mark@klomp.org>
30949 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30950 (AbstractAction(String)): Just call putValue() for NAME.
30951 (putValue): Nothing to do is old and new value are both null.
30953 2006-02-18 Mark Wielaard <mark@klomp.org>
30955 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30956 through getContentPane().
30957 (preferredLayoutSize): Likewise.
30959 2006-02-18 Mark Wielaard <mark@klomp.org>
30961 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30962 actually set before painting.
30964 2006-02-18 Mark Wielaard <mark@klomp.org>
30966 * javax/swing/text/html/HTMLDocument.java (addContent):
30967 Fully qualify AbstractDocument.AttributeContext and
30968 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30970 2006-02-18 Mark Wielaard <mark@klomp.org>
30972 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30973 (getRepresentationClassFromMime): Add exception cause to
30974 IllegalArgumentException.
30976 2006-02-17 Lillian Angel <langel@redhat.com>
30978 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30979 Removed unneeded import.
30980 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30981 Removed unneeded imports.
30982 * java/awt/BorderLayout.java:
30983 Fixed comment, this is not yet handled in the JDK 1.5.
30984 * java/awt/Container.java:
30985 Removed unneeded import.
30987 2006-02-17 Lillian Angel <langel@redhat.com>
30989 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30990 (setBounds): Removed check. Coordinates should always be changed
30991 to incorporate the parent's coordinates.
30992 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30993 (setMenuBar): Added checks. Don't validate component if it has
30994 not been validated yet, it will be validated later. Only validate
30995 if it has already been validated, in that case it needs to be
30997 * java/awt/Window.java
30998 (show): Added check. If the window is visible, then bring it to the
30999 front. Otherwise, iterate through all its children windows and show them.
31000 No need to do both.
31002 2006-02-17 Roman Kennke <kennke@aicas.com>
31004 * javax/swing/text/html/ParagraphView.java: New file.
31006 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31008 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
31009 is included. (moveToCellBeingEdited): Adjusted to start editing at the
31010 same location where was the initial text.
31011 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
31013 2006-02-17 Chris Burdess <dog@gnu.org>
31015 Fixes PRs 26319, 26320, 26321, 26322, 26325
31016 * gnu/xml/stream/SAXParser.java: On error, reset parser before
31017 rethrowing exception.
31018 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
31019 1.1-style prefix unbinding in 1.0 document" error for xmlns
31020 prefixes, not xmlns attributes. Fix a problem with empty namespace
31021 stack at the end of a document. Permit parameter entity references
31022 in element and attribute-list definition name area. Corrected
31023 normalisation of whitespace character entity references in CDATA
31024 attribute values. Fixed number of characters read following a
31025 reset when detecting end of character data with characters after a
31026 Unicode surrogate pair.
31028 2006-02-17 Roman Kennke <kennke@aicas.com>
31030 * javax/swing/text/html/HTMLEditorKit.java
31031 (HTMLFactory.create): Create InlineView for content tags.
31032 * javax/swing/text/html/HTMLDocument.java
31033 (HTMLReader.flush): Call create() on first flush and insert
31034 on subsequent flushes.
31036 2006-02-17 Roman Kennke <kennke@aicas.com>
31038 * javax/swing/text/AbstractDocument.java
31039 (BranchElement.getStartOffset): Implemented workaround for wrong
31041 (BranchElement.getEndOffset): Implemented workaround for wrong
31043 (ElementBuffer.split): Use createBranchElement() instead of
31044 new BranchElement().
31045 (ElementBuffer.insertFracture): Use createBranchElement() instead of
31046 new BranchElement().
31047 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31048 instead of new BranchElement().
31049 (createDefaultRoot): Use createBranchElement() and createLeafElement
31050 instead of the constructors.
31051 (create): Rewritten.
31053 2006-02-17 Keith Seitz <keiths@redhat.com>
31055 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31056 (SIZE): New constant.
31057 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31058 (executeIDsizes): Use SIZE constant.
31059 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31060 (SIZE): New constant.
31062 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31064 * javax/swing/JTable.java (IconCellRenderer): Set the component
31065 text to empty string. (createDefaultRenderers): Register
31066 IconCellRenderer also for ImageIcon.
31067 (getCellEditor(int, int), getCellRenderer(int, int)):
31068 Use model index for data model and column index for column model.
31069 (getColumnClass): Convert to model index before requesting class
31072 2006-02-17 Roman Kennke <kennke@aicas.com>
31074 * javax/swing/text/html/HTMLDocument.java
31075 (createDefaultRoot): Implemented.
31076 (createLeafElement): Implemented.
31077 (createBranchElement): Implemented.
31078 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31079 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31080 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31081 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31082 (HTMLReader.blockOpen): Add name attribute with the current tag.
31083 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31085 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31087 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31089 * javax/swing/table/JTableHeader.java: Documenting related methods.
31091 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31094 * gnu/java/net/protocol/ftp/FTPURLConnection.java
31095 (connect): Changed to use SystemProperties.
31096 (getInputStream): Try changeWorkingDirectory to figure out if
31097 url is a directory, if not use retrieve.
31098 (getOutputStream): Don't worry about directories, simply always
31101 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
31103 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31104 (ActiveModeDTP): Mark accept thread as daemon.
31106 2006-02-17 Michael Koch <konqueror@gmx.de>
31108 * tools/.cvsignore: Ignore tools.zip.
31110 2006-02-16 Keith Seitz <keiths@redhat.com>
31112 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31113 Set the ID's reference.
31114 (<clinit>): Remove comments for field, method, and frame ID types,
31115 which will not be handled by VMIdManager.
31117 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31119 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31120 Use model index, not the column number.
31121 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31122 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
31123 movement by painting draggingHeaderRect.
31124 * NEWS: Added entry about JTable columns.
31126 2006-02-16 Keith Seitz <keiths@redhat.com>
31128 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31129 default size of eight bytes.
31130 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31131 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31132 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31133 (executeIDsizes): Use new static methods.
31134 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31137 2006-02-16 David Daney <ddaney@avtrex.com>
31140 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31141 return value with 0xff.
31143 2006-02-16 Keith Seitz <keiths@redhat.com>
31145 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31146 (matches): Use Iterator instead of ListIterator.
31148 2006-02-16 Keith Seitz <keiths@redhat.com>
31150 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31151 processor thread for easier debugging.
31152 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31155 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31157 * javax/swing/JTable.java
31158 (TableColumnPropertyChangeHandler.propertyChange): Return without
31159 action if table header resizing column in not null. (doLayout):
31160 Only repaint the header if it is not null.
31161 * javax/swing/plaf/basic/BasicTableHeaderUI.java
31162 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31163 Rewritten. (MouseInputHandler.endResizing): New method.
31165 2006-02-16 Roman Kennke <kennke@aicas.com>
31167 * javax/swing/text/html/InlineView.java: New file.
31169 2006-02-16 Roman Kennke <kennke@aicas.com>
31171 * javax/swing/JTabbedPane.java
31172 (AccessibleJTable.getAccessibleChild): Implemented to return
31173 the Page instance for the specified index.
31174 (Page): Changed to implement Accessible and extend
31176 (Page.getAccessibleContext): New method.
31177 (Page.getAccessibleRole): New method.
31178 (Page.getAccessibleStateSet): New method.
31179 (Page.getAccessibleIndexInParent): New method.
31180 (Page.getAccessibleChildrenCount): New method.
31181 (Page.getAccessibleChild): New methdod.
31182 (Page.getLocale): New method.
31184 2006-02-16 Roman Kennke <kennke@aicas.com>
31186 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31187 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31188 tabCount gets greater than tabRuns.length.
31189 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31190 when tabCount gets greater than tabRuns.length.
31191 (paintTabArea): Don't set tabCount == runCount.
31193 2006-02-16 Roman Kennke <kennke@aicas.com>
31195 * javax/swing/plaf/basic/BasicTextUI.java
31196 (installUI): Moved installation of PropertyChangeListener
31197 to installListeners(). Call modelChanged() after everything is
31199 (installListeners): Install PropertyChangeListener here.
31200 (uninstallUI): Moved uninstallation of PropertyChangeListener
31201 to uninstallListeners.
31202 (uninstallListeners): Uninstall PropertyChangeListener here.
31204 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31206 * javax/swing/JTable.java (doLayout):
31207 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31209 javax/swing/plaf/basic/BasicTableHeaderUI.java
31210 (MouseInputHandler.mouseDragged): Do not repaint the header.
31212 2006-02-16 Roman Kennke <kennke@aicas.com>
31214 * javax/swing/JViewport.java
31215 (static_initializer): Set default scrollMode to backingstore.
31217 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31219 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31220 returned by getCellRect. To not translate the component.
31222 2006-02-16 Roman Kennke <kennke@aicas.com>
31224 * javax/swing/JComponent.java
31225 (rectCache): Made field non-static to avoid nasty interferences.
31226 (computeVisibleRect): Avoid creation of new Rectangles and double
31227 calculations on ints by using Swing.computeIntersection() instead
31228 of Rectangle2D.intersect().
31229 (repaint): Interect the dirty region with the visible rectangle
31230 of this component to avoid unnecessary painting.
31232 2006-02-16 Gary Benson <gbenson@redhat.com>
31234 * java/lang/Thread.java (stop): Add a missing access check.
31236 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
31238 * javax/swing/text/JTextComponent.java:
31239 (replaceSelection): Added code to update the magic caret position.
31240 * javax/swing/text/DefaultEditorKit.java: Added code to update
31241 the magic caret position of the text component in all relevant
31242 movement actions, make use of the magic caret position in up
31243 and down movements and selections, simplified some actions
31246 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
31248 * gnu/java/lang/CharData.java: Regenerated from
31249 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31250 and scripts/unicode-muncher.pl.
31251 * java/lang/Character.java:
31252 (PrivateUseCharacters): New private static class.
31253 (UnassignedCharacters): Likewise.
31254 (blocks): Changed from char[] to char[][] to reflect the changes in
31255 gnu/java/lang/CharData. There is now one char[] per Unicode code
31258 (numValue): Likewise.
31261 (direction): Likewise.
31262 (readChar): Replaced this method with new method readCodePoint.
31263 (readCodePoint): New method.
31264 (isLowerCase(char)): Redirected to new isLowerCase(int).
31265 (isLowerCase(int)): New method.
31266 (isUpperCase(char)): Redirected to new isUpperCase(int).
31267 (isUpperCase(int)): New method.
31268 (isTitleCase(char)): Redirected to new isTitleCase(int).
31269 (isTitleCase(int)): New method.
31270 (isDigit(char)): Redirected to new isDigit(int).
31271 (isDigit(int)): New method.
31272 (isDefined(char)): Redirected to new isDefined(int).
31273 (isDefined(int)): New method.
31274 (isLetter(char)): Redirected to new isLetter(int).
31275 (isLetter(int)): New method.
31276 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31277 (isLetterOrDigit(int)): New method.
31278 (isJavaIdentifierStart(char)): Redirected to new
31279 isJavaIdentifierStart(int).
31280 (isJavaIdentifierStart(int)): New method.
31281 (isJavaIdentifierPart(char)): Redirected to new
31282 isJavaIdentifierPart(int).
31283 (isJavaIdentifierPart(int)): New method.
31284 (isUnicodeIdentifierStart(char)): Redirected to new
31285 isUnicodeIdentifierStart(int).
31286 (isUnicodeIdentifierStart(int)): New method.
31287 (isUnicodeIdentifierPart(char)): Redirected to new
31288 isUnicodeIdentifierPart(int).
31289 (isUnicodeIdentifierPart(int)): New method.
31290 (isIdentifierIgnorable(char)): Redirected to new
31291 isIdentifierIgnorable(int).
31292 (isIdentifierIgnorable(int)): New method.
31293 (toLowerCase(char)): Changed access to lower to correspond with new
31294 char[][] type of lower.
31295 (toLowerCase(int)) New method.
31296 (toUpperCase(char)): Changed access to upper to correspond with new
31297 char[][] type of upper.
31298 (toUpperCase(int)): New method.
31299 (toTitleCase(int)): New method.
31300 (digit(char, int)): Replaced call to readChar with call to
31301 readCodePoint and changed access to numValue to reflect new char[][]
31303 (digit(int, int)): New method.
31304 (getNumericValue(char)): Changed access to numValue to reflect new
31305 char[][] type of numValue.
31306 (getNumericValue(int)): New method.
31307 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31308 (isSpaceChar(int)): New method.
31309 (isWhitespace(char)): Redirected to new isWhitespace(int).
31310 (isWhitespace(int)): New method.
31311 (isISOControl(char)): Redirected to new isISOControl(int).
31312 (isISOControl(int)): New method.
31313 (getType(char)): Redirected to new getType(int).
31314 (getType(int)): New method.
31315 (getDirectionality(char)): Redirected to new getDirectionality(int).
31316 (getDirectionality(int)): New method.
31317 (isMirrored(char)): Changed call to readChar to readCodePoint.
31318 (isMirrored(int)): New method.
31319 * java/lang/String.java:
31320 (upperCaseExpansion): Changed access to Character.direction to reflect
31321 new char[][] type of direction.
31322 (offsetByCodePoints): New method.
31323 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
31324 4.0.0 which introduced supplementary character assignments.
31326 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31328 * javax/swing/JTable.java,
31329 javax/swing/plaf/basic/BasicTableHeaderUI.java,
31330 javax/swing/table/DefaultTableModel.java: Documented.
31332 2006-02-15 Lillian Angel <langel@redhat.com>
31334 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31335 Removed duplicate methods.
31337 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31339 * javax/swing/JTable.java (distributeSpillResizing): New method.
31340 (doLayout): Use distributeSpillResizing when resizing.
31341 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31342 Rewritten. (installListeners): Add mouse motion listener.
31343 (uninstallListeners): Remove mouse motion listener.
31345 2006-02-15 Lillian Angel <langel@redhat.com>
31347 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31348 (setVisible): Removed method.
31349 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31350 (setLocation): New method.
31351 (setLocationUnlocked): New method.
31352 (show): Changed to use setLocation instead of setBounds.
31353 * java/awt/Component.java
31354 (show): Should call peer.show(), not peer.setVisible(), so the
31355 location of the component is correctly set.
31356 (preferredSize): Added curly braces so else statements are
31357 properly associated with if's.
31358 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31359 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
31361 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31362 LocationUnlocked): New function.
31363 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31364 Added declarations for Java_gnu_java_awt_peer_gtk_
31365 GtkWindowPeer_nativeSetLocation and
31366 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31367 _nativeSetLocationUnlocked.
31369 2006-02-15 Mark Wielaard <mark@klomp.org>
31371 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31372 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31373 Downcast gtk_plug_new result when used.
31375 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
31377 * java/io/ObjectOutputStream.java (writeClassDescriptor):
31378 Call assignNewHandle() after writing Proxy class.
31380 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
31383 * java/io/ObjectInputStream.java (readClassDescriptor):
31384 Class doesn't have to be abstract for first_nonserial.
31386 2006-02-15 Roman Kennke <kennke@aicas.com>
31388 * javax/swing/JInternalFrame.java
31389 (setClosed): Call dispose to actually make the frame invisible
31392 2006-02-15 Roman Kennke <kennke@aicas.com>
31394 * javax/swing/JInternalFrame.java
31395 (dispose): Call setVisible(false) instead of hide.
31396 (doDefaultCloseOperation): Likewise.
31398 2006-02-15 Roman Kennke <kennke@aicas.com>
31400 * javax/swing/JComponent.java
31401 (paintChildren): Also check for the visibility of a child component
31402 to avoid artifacts.
31403 (repaint): Simply add this component to the RepaintManager rather than
31404 trying to do useless optimization here.
31406 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31408 * javax/swing/JSpinner.java
31409 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
31410 PropertyChangeListener,
31411 (DefaultEditor.getSpinner): Updated API docs,
31412 (DefaultEditor.dismiss): Likewise,
31413 (DefaultEditor.getTextField): Likewise,
31414 (DefaultEditor.layoutContainer): Likewise,
31415 (DefaultEditor.minimumLayoutSize): Likewise,
31416 (DefaultEditor.preferredLayoutSize): Likewise,
31417 (DefaultEditor.propertyChange): Implemented,
31418 (DefaultEditor.stateChanged): Implemented,
31419 (DefaultEditor.removeLayoutComponent): Updated API docs,
31420 (DefaultEditor.addLayoutComponent): Likewise,
31421 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31422 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31423 (NumberEditor.getFormat): Implemented,
31424 (NumberEditor.getModel): Updated API docs,
31425 (NumberEditorFormatter): New static inner class,
31426 (ListEditor.getModel): Updated API docs,
31427 (DateEditor.dateFormat): Removed,
31428 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31429 (DateEditor.DateEditor(JSpinner, String)): Likewise,
31430 (DateEditor.init): Removed,
31431 (DateEditor.getFormat): Reimplemented,
31432 (DateEditorFormatter): New static inner class,
31433 (ModelListener): New inner class,
31434 (model): Updated API docs,
31435 (editor): Likewise,
31436 (listener): Removed,
31437 (JSpinner()): Updated API docs,
31438 (JSpinner(SpinnerModel)): Set up ModelListener,
31439 (setEditor): Fire property change,
31440 (getModel): Updated API docs,
31441 (setModel): Removed check for null editor,
31442 (setValue): Updated API docs,
31443 (getUIClassID): Updated API docs,
31444 (createEditor): Handle SpinnerListModel case,
31445 * javax/swing/plaf/basic/BasicSpinnerUI.java
31446 (createUI): Updated API docs,
31447 (createPropertyChangeListener): Added FIXME,
31448 (installDefaults): Set text field border to null,
31449 (DefaultLayoutManager): Updated API docs,
31450 (DefaultLayoutManager.layoutContainer): Modified layout,
31451 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31452 (DefaultLayoutManager.preferredLayoutSize): Likewise,
31453 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31454 (DefaultLayoutManager.addLayoutComponent): Likewise,
31455 (DefaultLayoutManager.minSize): Renamed prefSize,
31456 (DefaultLayoutManager.setBounds): Reformatted,
31457 (DefaultLayoutManager.editor): Added API docs,
31458 (DefaultLayoutManager.next): Likewise,
31459 (DefaultLayoutManager.previous): Likewise,
31460 * javax/swing/plaf/metal/MetalLookAndFeel.java
31461 (initComponentDefaults): Added entry for 'Spinner.border',
31462 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31464 2006-02-15 Chris Burdess <dog@gnu.org>
31466 * gnu/xml/validation/datatype/BooleanType.java,
31467 gnu/xml/validation/datatype/ByteType.java,
31468 gnu/xml/validation/datatype/DateTimeType.java,
31469 gnu/xml/validation/datatype/DateType.java,
31470 gnu/xml/validation/datatype/DecimalType.java,
31471 gnu/xml/validation/datatype/DoubleType.java,
31472 gnu/xml/validation/datatype/DurationType.java,
31473 gnu/xml/validation/datatype/FloatType.java,
31474 gnu/xml/validation/datatype/GDayType.java,
31475 gnu/xml/validation/datatype/GMonthDayType.java,
31476 gnu/xml/validation/datatype/GMonthType.java,
31477 gnu/xml/validation/datatype/GYearMonthType.java,
31478 gnu/xml/validation/datatype/GYearType.java,
31479 gnu/xml/validation/datatype/IntType.java,
31480 gnu/xml/validation/datatype/IntegerType.java,
31481 gnu/xml/validation/datatype/LongType.java,
31482 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31483 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31484 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31485 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31486 gnu/xml/validation/datatype/NegativeIntegerType.java,
31487 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31488 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31489 gnu/xml/validation/datatype/PositiveIntegerType.java,
31490 gnu/xml/validation/datatype/ShortType.java,
31491 gnu/xml/validation/datatype/SimpleType.java,
31492 gnu/xml/validation/datatype/TimeType.java,
31493 gnu/xml/validation/datatype/TypeBuilder.java,
31494 gnu/xml/validation/datatype/UnsignedByteType.java,
31495 gnu/xml/validation/datatype/UnsignedIntType.java,
31496 gnu/xml/validation/datatype/UnsignedLongType.java,
31497 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31498 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31499 minInclusive facets use the value space of the base type, and
31502 2006-02-15 Mark Wielaard <mark@klomp.org>
31504 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31505 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31506 gtk_plug_new() returns a GtkWindow.
31508 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31510 * javax/swing/SpinnerNumberModel.java
31511 (getNextValue): Check for null maximum,
31512 (getPreviousValue): Check for null minimum.
31514 2006-02-15 Roman Kennke <kennke@aicas.com>
31516 * javax/swing/plaf/basic/BasicTableUI.java
31517 (paint): Paint vertical and horizontal lines one pixel shifted
31520 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31522 * java/util/zip/ZipFile.java
31523 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31524 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31525 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31526 (readEntries): Rewritten to use PartialInputStream.
31527 (locBuf, checkLocalHeader): Removed.
31528 (getInputStream): Rewritten to use new PartialInputStream.
31529 (PartialInputStream): Rewritten to do buffering.
31531 2006-02-15 Michael Koch <konqueror@gmx.de>
31533 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31534 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31535 Make sure the embedded window gets no decorations.
31536 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31537 (window_get_frame_extents): Return early of the window has no
31540 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31542 * examples/gnu/classpath/examples/swing/TableDemo.java
31543 (TModel, createContent): Explain which value appears in the header.
31544 * javax/swing/JTable.java (setColumnModel): Only set the
31545 column header value if the getHeaderValue() returns null.
31547 2006-02-14 Mark Wielaard <mark@klomp.org>
31550 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31551 (getErrorImage): New static method.
31552 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31553 (bufferedImageOrError): Renamed to ...
31554 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31555 Returns GtkImage.getErrorImage() when argument null.
31556 (createImage(String)): Always use imageOrError.
31557 (createImage(URL)): Likewise.
31558 (createImage(ImageProducer)): Likewise.
31559 (createImage(byte[],int,int)): Likewise.
31561 2006-02-14 Roman Kennke <kennke@aicas.com>
31563 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31565 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31566 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31567 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31568 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31569 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31571 2006-02-14 Roman Kennke <kennke@aicas.com>
31573 * javax/swing/text/AsyncBoxView.java
31574 (ChildState.locator): Removed wrong field.
31575 (ChildState): Removed initialization of removed field.
31576 (locator): Changed access modifier to be protected as specified.
31578 2006-02-14 Roman Kennke <kennke@aicas.com>
31580 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31581 * javax/swing/Timer.java: Some small reindention.
31582 (task): Made package private to avoid synthetic accessor method.
31584 2006-02-14 Roman Kennke <kennke@aicas.com>
31586 * javax/swing/SwingUtilities.java
31587 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31590 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31592 * examples/gnu/classpath/examples/swing/TableDemo.java:
31593 Making the columns variable width.
31594 * javax/swing/JTable.java (distributeSpill, doLayout):
31595 Call getPreferredSize and not getSize().
31597 2006-02-14 Roman Kennke <kennke@aicas.com>
31599 * javax/swing/DefaultCellEditor.java
31600 (DefaultCellEditor): API doc fixlet.
31602 2006-02-14 Roman Kennke <kennke@aicas.com>
31604 * javax/swing/JViewport.java
31605 (isPaintRoot): New field.
31606 (repaint): Only call super here. Also added a comment regarding
31607 the diversion from the JDK.
31608 (paintBlit): Implemented real blitting.
31609 (paintImmediately2): New method. Overrides the same package private
31610 method in JComponent.
31612 2006-02-14 Roman Kennke <kennke@aicas.com>
31614 * javax/swing/plaf/basic/BasicTableUI.java
31615 (paint): Check for boundary cases when determining the painting
31618 2006-02-14 Mark Wielaard <mark@klomp.org>
31620 * java/awt/Menu.java (add): Always set parent of item to this. Call
31621 addNotify() on item when we have a MenuPeer already.
31622 (insert): Always adjust parent for item. Call addNotify() on item if
31623 we already have a peer.
31624 (remove(int)): Always clear item parent. Call removeNotify() on item
31627 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31629 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31630 row == getRowCount().
31632 2006-02-14 Lillian Angel <langel@redhat.com>
31634 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31635 (setVisible): New method to override super. Need to set the
31636 native bounds of the component, so it appears at the
31639 2006-02-14 Mark Wielaard <mark@klomp.org>
31641 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31642 (remove): If menu component is the current MenuBar remove it,
31643 otherwise call super.remove().
31644 * java/awt/MenuBar.java (frame): Remove field.
31645 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31647 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31649 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31650 to NameServicePersistent.
31651 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31652 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31654 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31656 * NEWS: Updated tool status.
31657 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31658 (constructor, bind, rebind): Rewritten.
31659 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31660 * tools/gnu/classpath/tools/giop/README: Updated.
31661 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31662 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31663 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31664 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31665 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31668 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31670 * javax/swing/JComponent.java
31671 (getListeners): Check for PropertyChangeListener.class and delegate to
31672 getPropertyChangeListeners() for that case.
31674 2006-02-13 Roman Kennke <kennke@aicas.com>
31676 * javax/swing/plaf/basic/BasicTableUI.java
31677 (paint): Determine the cells that need painting based on the
31678 current clip. Use getCellRect() for calculating the cell
31681 2006-02-13 Roman Kennke <kennke@aicas.com>
31683 * javax/swing/JTable.java
31684 (rectCache): New field.
31685 (getCellRect): Returns cached Rectangle instance.
31687 2006-02-13 Roman Kennke <kennke@aicas.com>
31689 * javax/swing/JLayeredPane.java
31690 (removeAll): New method. Avoid potential memory leak.
31691 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31694 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31696 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31697 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31699 2006-02-13 Tom Tromey <tromey@redhat.com>
31701 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31702 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31704 2006-02-13 Roman Kennke <kennke@aicas.com>
31706 * javax/swing/RepaintManager.java
31707 (offscreenBuffers): New field.
31708 (doubleBuffer): Removed field.
31709 (repaintUnderway): New field.
31710 (commitRequests): New field.
31711 (RepaintManager): Initialize new fields.
31712 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31714 (getOffscreenBuffer): Returns the offscreen buffer for the
31715 corresponding root component.
31716 (commitBuffer): New method.
31717 (commitRemainingBuffers): New method.
31718 * javax/swing/JComponent.java
31719 (paint): Call paintDoubleBuffered with the current clip.
31720 (paintImmediately2): Don't paint on screen here.
31721 (paintDoubleBuffered): Rewritten for real double buffering.
31722 (paintSimple): Draw to screen in this method.
31724 2006-02-13 Roman Kennke <kennke@aicas.com>
31726 * javax/swing/JRootPane.java
31727 (JRootPane): Set opaque property to true.
31729 2006-02-13 Tom Tromey <tromey@redhat.com>
31731 * .classpath: Updated for external/relaxngDatatype.
31733 2006-02-13 Chris Burdess <dog@gnu.org>
31735 * gnu/xml/stream/UnicodeReader.java,
31736 gnu/xml/validation/datatype/Annotation.java,
31737 gnu/xml/validation/datatype/AnySimpleType.java,
31738 gnu/xml/validation/datatype/AnyType.java,
31739 gnu/xml/validation/datatype/AnyURIType.java,
31740 gnu/xml/validation/datatype/AtomicSimpleType.java,
31741 gnu/xml/validation/datatype/Base64BinaryType.java,
31742 gnu/xml/validation/datatype/BooleanType.java,
31743 gnu/xml/validation/datatype/ByteType.java,
31744 gnu/xml/validation/datatype/DateTimeType.java,
31745 gnu/xml/validation/datatype/DateType.java,
31746 gnu/xml/validation/datatype/DecimalType.java,
31747 gnu/xml/validation/datatype/DoubleType.java,
31748 gnu/xml/validation/datatype/DurationType.java,
31749 gnu/xml/validation/datatype/EntitiesType.java,
31750 gnu/xml/validation/datatype/EntityType.java,
31751 gnu/xml/validation/datatype/EnumerationFacet.java,
31752 gnu/xml/validation/datatype/Facet.java,
31753 gnu/xml/validation/datatype/FloatType.java,
31754 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31755 gnu/xml/validation/datatype/GDayType.java,
31756 gnu/xml/validation/datatype/GMonthDayType.java,
31757 gnu/xml/validation/datatype/GMonthType.java,
31758 gnu/xml/validation/datatype/GYearMonthType.java,
31759 gnu/xml/validation/datatype/GYearType.java,
31760 gnu/xml/validation/datatype/HexBinaryType.java,
31761 gnu/xml/validation/datatype/IDRefType.java,
31762 gnu/xml/validation/datatype/IDRefsType.java,
31763 gnu/xml/validation/datatype/IDType.java,
31764 gnu/xml/validation/datatype/IntType.java,
31765 gnu/xml/validation/datatype/IntegerType.java,
31766 gnu/xml/validation/datatype/LanguageType.java,
31767 gnu/xml/validation/datatype/LengthFacet.java,
31768 gnu/xml/validation/datatype/ListSimpleType.java,
31769 gnu/xml/validation/datatype/LongType.java,
31770 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31771 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31772 gnu/xml/validation/datatype/MaxLengthFacet.java,
31773 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31774 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31775 gnu/xml/validation/datatype/MinLengthFacet.java,
31776 gnu/xml/validation/datatype/NCNameType.java,
31777 gnu/xml/validation/datatype/NMTokenType.java,
31778 gnu/xml/validation/datatype/NMTokensType.java,
31779 gnu/xml/validation/datatype/NameType.java,
31780 gnu/xml/validation/datatype/NegativeIntegerType.java,
31781 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31782 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31783 gnu/xml/validation/datatype/NormalizedStringType.java,
31784 gnu/xml/validation/datatype/NotationType.java,
31785 gnu/xml/validation/datatype/PatternFacet.java,
31786 gnu/xml/validation/datatype/PositiveIntegerType.java,
31787 gnu/xml/validation/datatype/QNameType.java,
31788 gnu/xml/validation/datatype/ShortType.java,
31789 gnu/xml/validation/datatype/SimpleType.java,
31790 gnu/xml/validation/datatype/StringType.java,
31791 gnu/xml/validation/datatype/TimeType.java,
31792 gnu/xml/validation/datatype/TokenType.java,
31793 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31794 gnu/xml/validation/datatype/Type.java,
31795 gnu/xml/validation/datatype/TypeBuilder.java,
31796 gnu/xml/validation/datatype/TypeLibrary.java,
31797 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31798 gnu/xml/validation/datatype/UnionSimpleType.java,
31799 gnu/xml/validation/datatype/UnsignedByteType.java,
31800 gnu/xml/validation/datatype/UnsignedIntType.java,
31801 gnu/xml/validation/datatype/UnsignedLongType.java,
31802 gnu/xml/validation/datatype/UnsignedShortType.java,
31803 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31804 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31805 RELAX NG datatype library implementation for XML Schema Datatypes.
31807 2006-02-13 Chris Burdess <dog@gnu.org>
31813 external/Makefile.am,
31814 external/relaxngDatatype/.cvsignore,
31815 external/relaxngDatatype/Makefile.am,
31816 external/relaxngDatatype/README.txt,
31817 external/relaxngDatatype/copying.txt,
31818 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31819 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31820 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31821 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31822 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31823 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31824 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31825 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31826 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31827 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31829 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31830 datatypes library API.
31832 2006-02-13 Mark Wielaard <mark@klomp.org>
31834 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31836 (gtkWidgetModifyFont(Font)): New protected helper method.
31837 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31838 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31839 protected and document.
31840 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31842 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31844 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31846 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31847 (setFont): Removed method. Done in GtkMenuComponent.
31848 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31849 abstract and protected.
31850 (setFont): Made private, add implementation.
31851 (setFont(Font)): Implemented.
31852 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31853 Made protected and document.
31854 (create): Made protected.
31855 (setFont): Removed method. Done in GtkMenuComponent.
31856 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31857 (gtkWidgetModifyFont): Made protected and document.
31858 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31859 Removed, similar to GtkGenericPeer super class implementation.
31860 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31861 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31862 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31865 2006-02-13 Mark Wielaard <mark@klomp.org>
31867 * java/lang/Math.java (static): Explicitly call
31868 System.loadLibrary("javalang").
31870 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31872 * javax/print/StreamPrintServiceFactory.java: New file.
31874 2006-02-13 Tom Tromey <tromey@redhat.com>
31876 * tools/.cvsignore: Added Makefile.
31878 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31880 * java/awt/print/PrinterGraphics.java: Reformatted.
31881 * java/awt/print/Paper.java: Likewise.
31882 * java/awt/print/PageFormat.java: Likewise.
31883 * java/awt/print/Pageable.java: Likewise.
31885 2006-02-13 Lillian Angel <langel@redhat.com>
31887 * java/awt/BorderLayout.java
31888 (layoutContainer): Rewrote part of this function to
31889 properly set the bounds of the components.
31890 (setBounds): Removed method, not needed.
31892 2006-02-13 Roman Kennke <kennke@aicas.com>
31894 * javax/swing/text/DefaultStyledDocument.java
31895 (ElementBuffer.clone): Fixed replace call.
31896 (clone): Removed method.
31898 2006-02-13 Roman Kennke <kennke@aicas.com>
31900 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31902 2006-02-13 Roman Kennke <kennke@aicas.com>
31904 * java/rmi/server/UnicastRemoteObject.java
31905 (exportObject(Remote)): Forward method call to export(Remote,int).
31907 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31909 * include/Makefile.am:
31910 Swapped Math.h for VMMath.h
31911 * include/java_lang_Math.h:
31913 * include/java_lang_VMMath.h:
31914 New autogenerated header for the new class.
31915 * java/lang/Math.java:
31916 (sin(double)): Changed to link to VMMath.
31917 (cos(double)): Changed to link to VMMath.
31918 (tan(double)): Changed to link to VMMath.
31919 (asin(double)): Changed to link to VMMath.
31920 (acos(double)): Changed to link to VMMath.
31921 (atan(double)): Changed to link to VMMath.
31922 (atan2(double)): Changed to link to VMMath.
31923 (exp(double)): Changed to link to VMMath.
31924 (log(double)): Changed to link to VMMath.
31925 (sqrt(double)): Changed to link to VMMath.
31926 (pow(double,double)): Changed to link to VMMath.
31927 (IEEEremainder(double,double)): Changed to link to VMMath.
31928 (ceil(double)): Changed to link to VMMath.
31929 (floor(double)): Changed to link to VMMath.
31930 (rint(double)): Changed to link to VMMath.
31931 * native/jni/java-lang/Makefile.am:
31932 Replaced java_lang_Math.c with java_lang_VMMath.c
31933 * native/jni/java-lang/java_lang_Math.c:
31935 * native/jni/java-lang/java_lang_VMMath.c:
31936 Renamed from java_lang_Math.c.
31937 * vm/reference/java/lang/VMMath.java:
31939 (sin(double)): New native method.
31940 (cos(double)): New native method.
31941 (tan(double)): New native method.
31942 (asin(double)): New native method.
31943 (acos(double)): New native method.
31944 (atan(double)): New native method.
31945 (atan2(double)): New native method.
31946 (exp(double)): New native method.
31947 (log(double)): New native method.
31948 (sqrt(double)): New native method.
31949 (pow(double,double)): New native method.
31950 (IEEEremainder(double,double)): New native method.
31951 (ceil(double)): New native method.
31952 (floor(double)): New native method.
31953 (rint(double)): New native method.
31955 2006-02-13 Lillian Angel <langel@redhat.com>
31957 * java/awt/Component.java
31958 (repaint): No need to call isShowing, it is done in the other repaint call.
31959 (repaint): Likewise.
31960 (repaint): Likewise.
31962 2006-02-13 Lillian Angel <langel@redhat.com>
31964 * java/awt/Component.java
31965 (repaint): Reverted last change.
31966 (repaint): Likewise.
31967 (repaint): Likewise.
31969 2006-02-13 Lillian Angel <langel@redhat.com>
31971 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31972 (handleEvent): Made more efficent by handling paint event and
31973 setting the clip for the graphics.
31974 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31975 (handleEvent): Likewise.
31976 * java/awt/Component.java
31977 (repaint): No need to call isShowing, it is done in the other repaint call.
31978 (repaint): Likewise.
31979 (repaint): Likewise.
31981 2006-02-13 Roman Kennke <kennke@aicas.com>
31983 * javax/swing/text/AbstractDocument.java
31984 (setParent): Added API docs. Call setParent(null) on children before
31985 disconnecting this view from the View hierarchy.
31987 2006-02-13 Roman Kennke <kennke@aicas.com>
31989 * javax/swing/text/AbstractDocument.java
31990 (readUnlock): Don't attempt to unlock when the current threads also
31991 holds a write lock.
31993 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31995 * javax/swing/plaf/metal/MetalBorders.java
31996 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31997 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31999 (Flush3DBorder.borderInsets): New field,
32000 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
32001 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
32002 null insets argument, and populate result from borderInsets,
32003 (PaletteBorder.borderInsets): New field,
32004 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
32005 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
32006 null insets argument, and populate result from borderInsets,
32007 (InternalFrameBorder.borderInsets): New field,
32008 (InternalFrameBorder.getBorderInsets(Component)): Return insets
32010 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
32011 for null insets argument, and populate result from borderInsets,
32012 (MenuItemBorder.borderInsets): Initialise to correct value.
32014 2006-02-13 Roman Kennke <kennke@aicas.com>
32016 * javax/swing/text/AsyncBoxView.java: New file.
32018 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
32021 * gnu/regexp/RE.java(initialize): Parsing of character class expression
32022 was moved to a new method parseCharClass.
32023 (parseCharClass): New method originally in initialize. Added parsing
32024 of nested character classes.
32025 (ParseCharClassResult): New inner class used as a return value of
32027 (getCharExpression),(getNamedProperty): Made static.
32028 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
32029 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
32030 nested character classes.
32031 (RETokenOneOf): New constructor accepting the Vector addition.
32032 (getMinimumLength), (getMaximumLength): Returns 1 if the token
32033 stands for only one character.
32034 (match): Added the processing of the Vector addition.
32035 (matchN), (matchP): Do not check next token if addition is used.
32037 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
32039 * AUTHORS: add self.
32041 2006-02-12 Tom Tromey <tromey@redhat.com>
32043 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
32044 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
32045 (securityContext): Likewise.
32048 2006-02-12 Dalibor Topic <robilad@kaffe.org>
32052 * gnu/java/net/protocol/file/Connection.java (unquote):
32053 Convert Unicode characters outside basic plane to UTF-8,
32054 rather than throwing an exception.
32056 2006-02-12 Tom Tromey <tromey@redhat.com>
32058 * javax/sound/sampled/LineEvent.java (readObject): New method.
32059 (writeObject): Likewise.
32060 (serialVersionUID): New field.
32062 2006-02-12 Mark Wielaard <mark@klomp.org>
32064 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32065 Silently ignores null listener.
32066 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32067 (getPropertyChangeListeners): Returns empty PropertyChangeListener
32068 array for null propertyName.
32070 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32072 * java/rmi/MarshalledObject.java: Added api docs to the class.
32073 * java/rmi/Remote.java: Added interface api docs.
32074 * java/rmi/package.html: Added package description.
32075 * java/rmi/AccessException.java: Minor api doc fixes.
32076 * java/rmi/NoSuchObjectException.java: Likewise.
32077 * java/rmi/AlreadyBoundException.java: Likewise.
32078 * java/rmi/RemoteException.java: Likewise.
32079 * java/rmi/NotBoundException.java: Likewise.
32080 * java/rmi/RMISecurityException.java: Likewise.
32081 * java/rmi/StubNotFoundException.java: Likewise.
32083 2006-02-12 Mark Wielaard <mark@klomp.org>
32085 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32086 q() to get EventQueue.
32087 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32088 (enableQueue): Remove static method.
32089 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32090 Don't call GtkGenericPeer.enableQueue().
32092 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
32094 * java/rmi/MarshalledObject.java: Reformatted.
32095 * java/rmi/Naming.java: Likewise.
32097 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32099 * java/io/InputStream.java
32100 (read(byte[],int,int)): Changed argument validation to prevent
32101 integer overflow. Remove redundant check.
32103 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
32106 * java/io/InputStreamReader.java
32107 (InputStreamReader(InputStream)): Use SystemProperties.
32108 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32109 Throw NullPointerException if in is null.
32110 Added maxBytesPerChar initialisation.
32111 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32112 Throw NullPointerException if in is null.
32114 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
32116 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32117 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32118 (GnuDHPublicKey): New constructor.
32119 (getEncoded): Removed.
32120 (valueOf): Added support for ASN.1 encoding.
32121 (getEncoded(int)): Likewise.
32122 (equals): New method.
32123 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32124 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32125 (GnuDHPrivateKey(5)): New constructor.
32126 (getEncoded): Removed.
32127 (valueOf): Added support for ASN.1 encoding.
32128 (getEncoded(int)): Likewise.
32129 (equals): New method.
32130 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32131 (PREFERRED_ENCODING_FORMAT): New constant.
32132 (DEFAULT_ENCODING_FORMAT): Likewise.
32133 (preferredFormat): New field.
32134 (setup): Handle preferred encoding format identifier.
32135 (generate): Call constructors with format identifier.
32136 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32137 (GnuDHKey): Added an int argument.
32138 (getEncoded): New method.
32139 (getFormat): New implementation.
32140 (getEncoded(int)): New abstract method.
32141 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32142 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32143 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32144 key-pair generator and key-factory.
32145 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32146 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32147 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32148 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32149 (invokeConstructor): New method.
32150 (getConcreteClass): Likewise.
32151 (getConcreteCtor): Likewise.
32152 (invokeValueOf): Likewise.
32153 (getValueOfMethod): Likewise.
32154 (engineGeneratePublic): Add support for DH keys.
32155 (engineGeneratePrivate): Likewise.
32156 (decodeDHPublicKey(DHPublicKeySpec)): New method.
32157 (decodeDHPublicKey(byte[])): Likewise.
32158 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32159 (decodeDHPrivateKey(byte[])): Likewise.
32161 2006-02-11 Mark Wielaard <mark@klomp.org>
32163 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32165 (repaint): Immediately post to queue when tm <= 0, otherwise call
32166 RepaintTimerTask.schedule().
32167 (RepaintTimerTask): Make static.
32168 (RepaintTimerTask.repaintTimer): New static final field.
32169 (RepaintTimerTask.awtComponent): New field.
32170 (schedule): New static method.
32172 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32174 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32175 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32176 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32177 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32178 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32180 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32182 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
32184 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32185 (engineGeneratePublic): Added support for raw key-specifications.
32186 (engineGeneratePrivate): Likewise.
32187 (decodeDSSPublicKey): New method.
32188 (decodeRSAPublicKey): Likewise.
32189 (decodeDSSPrivateKey): Likewise.
32190 (decodeRSAPrivateKey): Likewise.
32191 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32192 (encodePrivateKey): Throw InvalidParameterException.
32193 (decodePublicKey): Likewise.
32194 (decodePrivateKey): Likewise.
32195 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32196 (encodePublicKey): Likewise.
32197 (encodePrivateKey): Likewise.
32198 (decodePublicKey): Likewise.
32199 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32200 (encodePrivateKey): Likewise.
32201 (decodePublicKey): Likewise.
32202 (decodePrivateKey): Likewise.
32203 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32204 (encodePublicKey): Likewise.
32205 (encodePrivateKey): Likewise.
32206 (decodePublicKey): Likewise.
32208 2006-02-10 Roman Kennke <kennke@aicas.com>
32210 * javax/swing/text/StyleContext.java
32211 (registerStaticAttributeKey): New static method.
32213 2006-02-10 Roman Kennke <kennke@aicas.com>
32215 * javax/swing/text/DefaultStyledDocument.java
32216 (ElementBuffer.clone): New method.
32218 2006-02-10 Roman Kennke <kennke@aicas.com>
32220 * javax/swing/text/ParagraphView.java
32221 (findOffsetToCharactersInString): New method.
32222 (getClosestPositionTo): New method.
32223 (getPartialSize): New method.
32224 (getTabBase): New method.
32225 (adjustRow): New method.
32226 (breakView): New method.
32227 (getBreakWeight): New method.
32229 2006-02-10 Roman Kennke <kennke@aicas.com>
32231 * javax/swing/text/GapContent.java
32232 (updateUndoPositions): New method.
32233 * javax/swing/text/StringContent.java
32234 (updateUndoPositions): New method.
32236 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
32238 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32240 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32241 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32242 Added support for encoded key specifications.
32243 (engineGeneratePrivate): Likewise.
32244 (engineGetKeySpec): Likewise.
32245 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32247 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
32249 * javax/swing/text/Utilities.java:
32250 (getTabbedTextOffset): Fixed usage of variable p0.
32251 (getPositionAbove): Rewritten.
32252 (getPositionBelow): Rewritten.
32254 2006-02-09 Roman Kennke <kennke@aicas.com>
32256 * javax/swing/text/BoxView.java
32257 (getAxis): Added @since tag.
32258 (setAxis): Added @since tag.
32259 (layoutChanged): Added @since tag.
32260 (isLayoutValid): Added @since tag.
32261 (paint): Don't call setSize here. This is done in RootView already.
32262 (getMaximumSpan): Reimplemented to return the requirements'
32263 maximum size. Added API docs.
32264 (getMinimumSpan): New method.
32265 (layout): Fixed layout order.
32266 (modelToView): Call layout instead of setSize here.
32267 (getResizeWeight): New method.
32268 (getChildAllocation): New method.
32269 (forwardUpdate): New method.
32270 (viewToModel): New method.
32271 (flipEastEndWestEnds): New method.
32272 * javax/swing/text/CompositeView.java
32273 (modelToView): Made this method more robust by returning a default
32274 location if it's not possible to calculate one via the children.
32275 This default location returns the left or right edge of this
32277 (createDefaultLocation): New helper method.
32278 * javax/swing/text/IconView.java
32279 (modelToView): Don't throw BadLocationException. This should
32280 really only be thrown if the position is outside the document
32281 model, not if it's outside the view's boundary.
32283 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32285 * tools/Makefile.am: Handle rmi and giop folders separately.
32287 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32289 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32290 * javax/swing/SpinnerNumberModel.java: Likewise.
32292 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
32294 * javax/swing/SpinnerDateModel.java: Removed tabs,
32295 * javax/swing/SpinnerNumberModel.java: Likewise.
32297 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
32299 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32300 * doc/unicode/UnicodeData-4.0.0.txt: New file.
32302 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32305 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32306 (isRedirect): Removed, moved to Response.java.
32307 (connect): If error condition redirect responseSink to errorSink.
32308 (getInputStream): If error condition throw IOException, for the error
32309 codes 404 and 410 throw a FileNotFoundException.
32310 * gnu/java/net/protocol/http/Response.java (isError): New method.
32311 (isRedirect): New method, moved from HTTPURLConnection.java.
32313 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32315 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32316 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32317 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
32319 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32321 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32322 AbstractMethodGenerator.
32323 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32324 tools/gnu/classpath/tools/rmi/RMIC.java,
32325 tools/gnu/classpath/tools/rmi/RMIC.txt,
32326 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32327 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32328 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32329 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32330 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32331 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
32333 * NEWS: Corrected entry about the tools.
32335 2006-02-09 Lillian Angel <langel@redhat.com>
32337 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32338 (handleEvent): Added more to check to prevent assertion errors.
32339 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32340 (handleEvent): Likewise.
32341 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32342 (handleEvent): Likewise.
32344 2006-02-09 Mark Wielaard <mark@klomp.org>
32346 * javax/swing/JTable.java (tableChanged): Interpret null event as
32347 "everything changed".
32349 2006-02-09 Roman Kennke <kennke@aicas.com>
32351 * javax/swing/text/DefaultCaret.java
32352 (DocumentHandler.removeUpdate): When update policy is
32353 'on eventqueue', and the update doesn't come from the
32354 event queue, check if the current dot location is still
32356 (moveDot): Make sure the new dot location is valid.
32357 (setDot): Set the mark the same as the dot.
32359 2006-02-09 Roman Kennke <kennke@aicas.com>
32361 * javax/swing/text/AbstractDocument.java
32362 (remove): Perform all operations within a write lock and in the
32365 2006-02-09 Mark Wielaard <mark@klomp.org>
32367 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32368 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32369 creater than min, adjusting page_size if necessary.
32370 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32372 2006-02-09 Lillian Angel <langel@redhat.com>
32374 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32375 (handleEvent): Added code to handle PaintEvent.UPDATE.
32376 Sun does not call update(Graphics g) on Panels.
32377 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32378 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32379 Sun does not call update(Graphics g) on Panels.
32381 2006-02-09 Roman Kennke <kennke@aicas.com>
32383 * javax/swing/text/BoxView.java
32384 (myAxis): Made field private.
32385 (xLayoutValid): Replaced by layoutValid array.
32386 (yLayoutValid): Replaced by layoutValid array.
32387 (layoutValid): New field.
32388 (spansX): Replaced by spans array.
32389 (spansY): Replaced by spans array.
32390 (spans): New field.
32391 (offsetsX): Replaced by offsets array.
32392 (offsetsY): Replaced by offsets array.
32393 (offsets): New field.
32394 (requirements): New field.
32395 (BoxView): Initialize new fields.
32396 (layoutChanged): Rewritten to use the layoutValid array.
32397 (isLayoutValid): Rewritten to use the layoutValid array.
32398 (replace): Use the new arrays.
32399 (getPreferredSpan): Rewritten to call calculateXXXRequirements
32400 instead of baselineRequirements.
32401 (baselineRequirements): Rewritten to calculate baseline requirements.
32402 (baselineLayout): Rewritten to calculate baseline layout.
32403 (childAllocation): Use new arrays.
32404 (layout): Rewritten. Only update the layout if necessary.
32405 (layoutMajorAxis): Directly set layoutValid.
32406 (layoutMinorAxis): Directly set layoutValid. Use cached size
32408 (getWidth): Use new span array.
32409 (getHeight): Likewise.
32410 (setSize): Rewritten to simply call layout().
32411 (validateLayout): Removed unneeded method.
32412 (getSpan): Use new arrays.
32413 (getOffset): Use new arrays.
32414 (getAlignment): Use cached requirements if possible.
32415 (preferenceChanged): Use new arrays.
32416 * javax/swing/text/FlowView.java
32417 (FlowStrategy.insertUpdate): Do nothing here.
32418 (FlowStrategy.removeUpdate): Do nothing here.
32419 (FlowStrategy.changedUpdate): Do nothing here.
32420 (FlowStrategy.layoutRow): Rewritten.
32421 (FlowStrategy.createView): Rewritten.
32422 (FlowStrategy.adjustRow): New method.
32423 (LogicalView.getViewIndex): Fixed condition for finding child
32425 (layoutDirty): New field indicating the state of the layout.
32426 (FlowView): Initialize new field.
32427 (loadChildren): Set parent on logical view so that preferenceChanges
32428 get propagated upwards.
32429 (layout): Rewritten to match the specs.
32430 (insertUpdate): Set layout to dirty.
32431 (removeUpdate): Set layout to dirty.
32432 (changedUpdate): Set layout to dirty.
32433 * javax/swing/text/GlyphView.java
32434 (getBreakWeight): Rewritten to use the Utilities class. Commented
32435 out though because that is broken.
32436 (insertUpdate): Call preferenceChanged on this object instead of
32438 * javax/swing/text/ParagraphView.java
32439 (Row.loadChildren): Overridden to be a noop to prevent initial
32440 creation of child views. This is carried out by the flow layout.
32441 * javax/swing/text/View.java
32442 (getPreferredSpan): Added API docs.
32443 (getResizeWeight): Added API docs.
32444 (getMaximumSpan): Added API docs. Rewritten to only have one exit
32446 (getMinimumSpan): Added API docs. Rewritten to return 0 when
32447 resizable instead of Integer.MAX_VALUE.
32448 (getAlignment): Added API docs.
32449 (replace): Added API docs.
32450 (forwardUpdate): Rewritten to only notify child views that need to
32453 2006-02-09 Roman Kennke <kennke@aicas.com>
32455 * javax/swing/plaf/basic/BasicTextUI.java
32456 (RootView.paint): Call setSize() before painting the view.
32458 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
32461 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32462 flag which enables backslash escape in a replacement.
32463 (getReplacement): New public static method.
32464 (substituteImpl),(substituteAllImpl): Use getReplacement.
32465 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32466 * java/util/regex/Matcher.java(appendReplacement)
32467 Use RE#getReplacement.
32468 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32470 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32472 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32473 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32474 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32475 (PREFERRED_ENCODING_FORMAT): New constant.
32476 (DEFAULT_ENCODING_FORMAT): Likewise.
32477 (preferredFormat): New field.
32478 (setup): Add support for preferred encoding format.
32479 (generate): Call key constructors with explicit format identifier.
32480 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32481 Call constructor with 3 arguments..
32482 (GnuRSAPublicKey(3)): New constructor.
32483 (valueOf): Added support for ASN.1 format.
32484 (getEncoded): Likewise.
32485 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32486 Call constructor with 5 arguments.
32487 (GnuRSAPrivateKey(5)): New constructor.
32488 (GnuRSAPrivateKey(9)): New constructor.
32489 (valueOf): Added support for ASN.1 format.
32490 (getEncoded): Likewise.
32491 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32492 (GnuRSAKey): Modified constructor.
32493 (getFormat): Return preferred format identifier.
32494 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32495 (decodePrivateKey): Fixed documentation.
32496 Check Version field.
32497 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32498 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32500 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32501 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32502 (engineGeneratePublic): Added support for RSA.
32503 (engineGeneratePrivate): Likewise.
32505 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32507 * java/net/URLConnection.java:
32508 (setAllowUserInteraction): Throw IllegalStateException if connected.
32509 (getRequestProperty): Document return value if key is null.
32510 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32511 (getRequestProperty): Return null if key is null.
32512 (getRequestProperties): Throw IllegalStateException if connected.
32513 (setRequestProperty): Call super method for exception tests.
32514 (addRequestProperty): Likewise.
32516 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32518 * gnu/java/net/protocol/http/Request.java:
32519 (Request): Remove initialization of removed field.
32520 (requestBodyNegotiationThreshold): Removed now unused field.
32521 (setRequestBodyNegotiationThreshold): Remove now unused method.
32522 (dispatch): Do not use 'Expect 100-continue' header if content-length
32523 is over a treshold. If user specified 'Expect 100-continue' still
32524 initialize the expectingContinue variable.
32526 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32528 * javax/swing/SpinnerNumberModel.java
32529 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32530 maximum and minimum to take null values,
32531 (setValue): Only fire ChangeEvent if new value is different to old
32533 (setMinimum): Fixed test for updating value,
32534 (setMaximum): Likewise,
32535 (setStepSize): Likewise.
32537 2006-02-08 Tom Tromey <tromey@redhat.com>
32539 * tools/.cvsignore: Added Makefile.in.
32541 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32543 * java/rmi/server/RemoteRef.java,
32544 java/rmi/server/RemoteStub.java: Commented.
32546 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32548 * javax/swing/SpinnerDateModel.java
32549 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32551 (getPreviousValue): Check result against start, not end,
32552 (setValue): Check that value actually changes before firing
32555 2006-02-08 Lillian Angel <langel@redhat.com>
32557 * java/awt/Choice.java
32558 (select): Fixed up code, added some checks to prevent errors.
32559 (dispatchEventImpl): Removed. This function is not needed. It
32560 causes several assertion errors.
32562 2006-02-08 Roman Kennke <kennke@aicas.com>
32564 * javax/swing/text/PlainView.java
32565 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32566 drawing unnecessary characters.
32568 2006-02-08 Lillian Angel <langel@redhat.com>
32570 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32571 (handleEvent): Fixed check to determine if height or
32572 width is less than 1.
32574 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32576 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32578 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32580 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32581 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32582 Documenting the code generator.
32583 * gnu/CORBA/IOR.java (toStringFormatted,
32584 CodeSet_component.toStringFormatted): New methods.
32585 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32586 * tools/gnu/classpath/tools/giop/README: Rewritten.
32587 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32588 (printHelpAndExit): Removed.
32589 *tools/gnu/classpath/tools/giop/IorParser.java,
32590 tools/gnu/classpath/tools/giop/IorParser.txt,
32591 tools/gnu/classpath/tools/giop/NameService.java,
32592 tools/gnu/classpath/tools/giop/NamingService.txt,
32593 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32594 NEWS: Added note about GIOP tools.
32596 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32598 * .classpath: New source patch (tools).
32599 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32600 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32601 * tools/gnu/classpath/tools/Makefile.am,
32602 tools/gnu/classpath/tools/giop/GRMIC.java
32603 tools/gnu/classpath/tools/giop/GRMIC.txt,
32604 tools/gnu/classpath/tools/giop/README,
32605 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32606 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32607 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32608 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32609 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32610 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32611 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32612 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32613 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32614 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32615 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32616 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32618 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32620 * java/awt/BasicStroke.java: Updated API docs all over,
32621 * java/awt/doc-files/capjoin.png: New file.
32623 2006-02-07 Lillian Angel <langel@redhat.com>
32625 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32626 (handleEvent): Added check. Should not paint or update the
32627 component if it's width and height are both 0.
32629 2006-02-07 Roman Kennke <kennke@aicas.com>
32631 * javax/swing/text/AbstractDocument.java
32632 (insertString): Enclose locking/unlocking in try-finally block
32633 and also keep locked while notifying the listeners.
32635 2006-02-07 Roman Kennke <kennke@aicas.com>
32637 * javax/swing/text/GlyphView.java
32638 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32640 (getStartOffset): Return element boundary if startOffset < 0.
32641 (getEndOffset): Return element boundary if endOffset < 0.
32642 (createFragment): Set startOffset and endOffset fields of fragment
32643 if one of p0 or p1 is not at the element boundary.
32645 2006-02-07 Roman Kennke <kennke@aicas.com>
32647 * javax/swing/CellRendererPane.java
32648 (paintComponent): Enclosed painting in try finally to properly
32649 clean up even when throwing an exception.
32651 2006-02-07 Roman Kennke <kennke@aicas.com>
32653 * javax/swing/UIManager.java
32654 (listeners): Made this an instance of
32655 java.beans.PropertyChangeSupport instead of the obsoleted
32656 SwingPropertyChangeSupport.
32658 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32660 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32661 of actions "delete-next" and "delete-previous", added new TextAction
32662 implementations for "selection-begin", "selection-begin-line",
32663 "selection-end" and "selection-end-line".
32665 2006-02-07 Roman Kennke <kennke@aicas.com>
32667 * javax/swing/plaf/basic/BasicTextUI.java
32668 (paint): Acquire read lock on the document before calling
32670 (paintSafely): Added comment about what this method does.
32671 (paintBackground): Implemented to actually paint the background.
32672 (update): Overridden to _not_ paint the background. This is done
32673 in paintBackground in this UI.
32675 2006-02-07 Roman Kennke <kennke@aicas.com>
32677 * javax/swing/text/View.java
32678 (forwardUpdate): Don't notify newly added child views as specified.
32680 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32682 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32684 2006-02-07 Roman Kennke <kennke@aicas.com>
32686 * javax/swing/text/DefaultStyledDocument.java
32687 (ElementBuffer.insert): Only register change when the element
32690 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32692 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32694 (getEncodingShortName): Likewise.
32695 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32696 (PKCS8_FORMAT): Likewise.
32697 (ASN1_FORMAT): Likewise.
32698 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32699 constructor with 5 arguments.
32700 (DSSPublicKey(5)): New constructor.
32701 (valueOf): Handle ASN.1 encoding.
32702 (getEncoded): Likewise.
32703 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32704 constructor with 5 arguments.
32705 (DSSPrivateKey(5)): New constructor.
32706 (valueOf): Handle ASN.1 encoding.
32707 (getEncoded): Likewise.
32708 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32709 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32710 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32711 (PREFERRED_ENCODING_FORMAT): New constant.
32712 (DEFAULT_ENCODING_FORMAT): Likewise.
32713 (preferredFormat): New field.
32714 (setup): Handle preferred format ID.
32715 (generate): Use new ctors with 5 arguments.
32716 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32717 ID as an additional argument.
32718 (defaultFormat): new field.
32719 (getFormat): Returns the preferred format as a short string.
32720 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32721 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32723 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32724 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32726 (initialize(int,boolean,SecureRandom)): Likewise.
32727 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32728 writeLength() instead of write().
32729 return buf.length + 1 instead of buf.length.
32731 2006-02-07 Roman Kennke <kennke@aicas.com>
32733 * javax/swing/plaf/basic/BasicTextUI.java
32734 (RootView.preferenceChange): Changed view parameter to view so
32735 that it doesn't hide a field of that class.
32736 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32737 (RootView.modelToView): Removed unnecessary cast from View to View.
32738 (PropertyChangeHandler): Made inner class private.
32739 (updateHandler): Made field private.
32740 (getVisibleEditorRect): Removed unneeded local variable that
32741 shadowed a field with the same name and purpose.
32743 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32745 * javax/swing/text/JTextComponent.java:
32746 (getSelectedText): Calculate offset and use that as
32749 2006-02-07 Roman Kennke <kennke@aicas.com>
32751 * javax/swing/JTextPane.java
32752 (setCharacterAttributes): Replace input attributes when
32755 2006-02-07 Roman Kennke <kennke@aicas.com>
32757 * java/awt/Component.java
32758 (firePropertyChange(String,byte,byte)): Made method public.
32759 (firePropertyChange(String,char,char)): Made method public.
32760 (firePropertyChange(String,short,short)): Made method public.
32761 (firePropertyChange(String,long,long)): Made method public.
32762 (firePropertyChange(String,float,float)): Made method public.
32763 (firePropertyChange(String,double,double)): Made method public.
32765 2006-02-06 Tom Tromey <tromey@redhat.com>
32767 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32769 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32771 2006-02-06 Anthony Green <green@redhat.com>
32773 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32775 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32777 * .settings/org.eclipse.jdt.core.prefs:
32778 Force a line split on extends and implements.
32779 Force a white-space after unary operators.
32780 Don't force a new-line after @params.
32781 Add new-line at end-of-file.
32782 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32784 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32786 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32788 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32790 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32792 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32794 * gnu/java/security/provider/EncodedKeyFactory.java
32795 (ID_DSA): Redefined in terms of Registry constant.
32796 (ID_DSA): Redefined in terms of Registry constant.
32797 (ID_DH): Redefined in terms of Registry constant.
32798 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32799 (PKCS8_ENCODING): Likewise.
32800 (ASN1_ENCODING): Likewise.
32801 (RAW_ENCODING_SHORT_NAME): Likewise.
32802 (X509_ENCODING_SORT_NAME): Likewise.
32803 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32804 (ASN1_ENCODING_SHORT_NAME): Likewise.
32805 (X509_ENCODING_ID): Likewise.
32806 (PKCS8_ENCODING_ID): Likewise.
32807 (ASN1_ENCODING_ID): Likewise.
32808 (DSA_OID_STRING): Likewise.
32809 (RSA_OID_STRING): Likewise.
32810 (DH_OID_STRING): Likewise.
32812 2006-02-06 Roman Kennke <kennke@aicas.com>
32814 * javax/swing/text/GlyphView.java:
32815 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32816 Only fill background if there is a background set on the view.
32817 Call Utilities.drawTabbedText with the baseline height, rather than
32818 the upper left corner of the view rectangle.
32819 (getBackground): Return null if no background is set.
32820 * javax/swing/text/GlyphView.java:
32821 (setPropertiesFromAttributes): Use null for background when no
32822 background is set. StyleConstants.getBackground() doesn't work
32823 for this, because it returns Color.BLACK in that case.
32825 2006-02-06 Roman Kennke <kennke@aicas.com>
32827 * java/awt/Container.java
32828 (changeSupport): Removed duplicate (from Component) field.
32829 (addPropertyChangeListener): Call super.
32831 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32833 * java/util/regex/Matcher.java(matches):
32834 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32836 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32839 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32840 * gnu/regexp/CharIndexedCharArray.java
32841 (lookBehind),(length): Implemented.
32842 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32843 * gnu/regexp/CharIndexedString.java: Likewise.
32844 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32845 * gnu/regexp/REToken.java(getMaximumLength): New method.
32846 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32848 (initialize): Parse (?<=X), (?<!X), (?>X).
32849 (getMaximumLength): Implemented.
32850 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32851 * gnu/regexp/RETokenChar.java: Likewise.
32852 * gnu/regexp/RETokenEnd.java: Likewise.
32853 * gnu/regexp/RETokenEndSub.java: Likewise.
32854 * gnu/regexp/RETokenLookAhead.java: Likewise.
32855 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32856 * gnu/regexp/RETokenOneOf.java: Likewise.
32857 * gnu/regexp/RETokenPOSIX.java: Likewise.
32858 * gnu/regexp/RETokenRange.java: Likewise.
32859 * gnu/regexp/RETokenRepeated.java: Likewise.
32860 * gnu/regexp/RETokenStart.java: Likewise.
32861 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32862 * gnu/regexp/RETokenIndependent.java: New file.
32863 * gnu/regexp/RETokenLookBehind.java: New file.
32865 2006-02-06 Roman Kennke <kennke@aicas.com>
32867 * java/awt/Component.java
32868 (firePropertyChange(String,byte,byte)): New method.
32869 (firePropertyChange(String,char,char)): New method.
32870 (firePropertyChange(String,short,short)): New method.
32871 (firePropertyChange(String,long,long)): New method.
32872 (firePropertyChange(String,float,float)): New method.
32873 (firePropertyChange(String,double,double)): New method.
32875 2006-02-06 Roman Kennke <kennke@aicas.com>
32877 * javax/swing/JComponent.java
32878 (AccessibleJComponent.changeSupport): Changed to be a
32879 java.beans.PropertyChangeSupport rather than
32880 SwingPropertyChangeSupport.
32881 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32883 (changeSupport): Removed unneeded field.
32884 (removePropertyChangeListener): Removed unneeded methods.
32885 (addPropertyChangeListener): Removed unneeded methods.
32886 (getPropertyChangeListeners): Removed unneeded methods.
32887 (firePropertyChange(String,boolean,boolean)): Changed to simply
32888 call super. Added specnote.
32889 (firePropertyChange(String,char,char)): Changed to simply
32890 call super. Added specnote.
32891 (firePropertyChange(String,int,int)): Changed to simply
32892 call super. Added specnote.
32893 (firePropertyChange(String,byte,byte)): Removed.
32894 (firePropertyChange(String,Object,Object)): Removed.
32895 (firePropertyChange(String,double,double)): Removed.
32896 (firePropertyChange(String,float,float)): Removed.
32897 (firePropertyChange(String,long,long)): Removed.
32898 (firePropertyChange(String,short,short)): Removed.
32900 2006-02-06 Roman Kennke <kennke@aicas.com>
32902 * javax/swing/event/SwingPropertyChangeSupport.java
32903 (listeners): Removed field.
32904 (propertyListeners): Removed field.
32905 (source): Removed field.
32906 (SwingPropertyChangeSupport()): Removed initialization of removed
32908 (addPropertyChangeListener): Removed methods.
32909 (removePropertyChangeListener): Removed methods.
32910 (getPropertyChangeListeners): Removed methods.
32911 (firePropertyChange): Removed methods.
32912 (hasListeners): Removed methods.
32914 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32917 * java/net/InetAddress.java
32918 (readResolve): Implemented.
32920 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32923 * java/io/ObjectInputStream.java
32924 (readNextBlock()): Handle TC_RESET.
32926 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32928 * javax/print/attribute/standard/Compression.java,
32929 * javax/print/attribute/standard/Finishings.java,
32930 * javax/print/attribute/standard/JobMediaSheets.java,
32931 * javax/print/attribute/standard/JobSheets.java,
32932 * javax/print/attribute/standard/JobState.java,
32933 * javax/print/attribute/standard/JobStateReason.java,
32934 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32935 * javax/print/attribute/standard/PrintQuality.java,
32936 * javax/print/attribute/standard/Media.java,
32937 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32938 * javax/print/attribute/standard/PrinterStateReason.java,
32939 * javax/print/attribute/standard/PDLOverrideSupported.java:
32940 (getName): Make method final.
32941 (getCategory): Likewise.
32942 * javax/print/attribute/standard/MediaSize.java:
32943 (getName): Make method final.
32944 (getCategory): Likewise.
32945 (ISO): Added private default constructor.
32949 (Engineering): Likewise.
32951 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32953 * native/jni/java-net/javanet.c (_javanet_connect):
32954 Throw ConnectException instead of IOException if connection failed.
32955 * native/jni/java-net/javanet.h:
32956 Add a define for java.net.ConnectException
32958 2006-02-05 Mark Wielaard <mark@klomp.org>
32961 reported by Egon Willighagen <egon.willighagen@gmail.com>
32962 * javax/swing/DefaultListCellRenderer.java
32963 (getListCellRendererComponent): Turn null value into empty string.
32965 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32967 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32968 a Unicode block if the name starts with "In".
32969 (UnicodeBlockHandler): New inner class.
32971 2006-02-04 Roman Kennke <kennke@aicas.com>
32973 * java/awt/Container.java
32974 (getComponentZOrder): New method.
32975 (setComponentZOrder): New method.
32976 * javax/swing/JLayeredPane.java
32977 (setPosition): Reimplemented to use setComponentZOrder().
32978 (getIndexOf): Reimplemented to use getComponentZOrder().
32979 (addImpl): Pass layerContraint to super call. Important for possibly
32980 installed layout managers.
32981 (swapComponents): Remove unneeded method.
32983 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32985 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32986 DSAKeyPairGenerator.
32987 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32988 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32990 Surround call to adaptee in a try/catch.
32991 (initialize((DSAParams,SecureRandom)): New method.
32992 (initialize(int,boolean,SecureRandom)): New method.
32993 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32994 KeyPairGenerator rather than KeyPairGeneratorSpi.
32995 (KeyPairGeneratorAdapter): Call super with algorithm name.
32997 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32999 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
33000 (getDefaultPRNG): New method.
33001 (parseO): Use method above.
33002 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
33003 (getDefaultPRNG): New method.
33004 (createO): Use method above.
33005 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
33006 (nextByte): Use above field.
33007 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
33008 * gnu/java/security/sig/rsa/RSA.java: New class field.
33009 (newR): Use above field
33010 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
33011 (encode): Use field.above.
33012 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
33013 (getDefaultPRNG): new method.
33014 (nextRandomBytes): Use above method.
33015 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
33016 * gnu/java/security/sig/BaseSignature.java: Likewise.
33017 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
33018 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
33019 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
33020 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
33021 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
33022 (getDefaultPRNG): new method.
33023 (nextRandomBytes): Use above method.
33024 (STRICT_DEFAULTS): new class field.
33025 (USE_DEFAULTS): more documentation to clarify behavior.
33026 (setup): amended to handle new attribute.
33027 * gnu/java/security/util/PRNG.java: New file.
33029 2006-02-03 Lillian Angel <langel@redhat.com>
33031 * javax/swing/plaf/basic/BasicColorChooserUI.java:
33032 chooser field should be protected, not package-private.
33034 2006-02-03 Lillian Angel <langel@redhat.com>
33036 * javax/swing/text/DefaultStyledDocument.java
33037 (changeUpdate): Cleaned up code.
33039 (insertUpdate): Set offset to be equal to pos after
33040 insertContentTag call.
33041 (insertContentTag): If paragraph has no children, should use
33042 replace instead of Edit.
33043 (insertFracture): Moved around code to prevent any exception. Also,
33044 left side of tree should not be recreated if it has already been
33045 edited. In that case, we should only be creating a new right branch
33047 (getEditForParagraphAndIndex): No need to check index. We should
33048 use the same edit for each paragraph.
33050 2006-02-03 Mark Wielaard <mark@klomp.org>
33052 * javax/swing/event/SwingPropertyChangeSupport.java
33053 (propertyListeners): Change type to HashMap.
33054 (SwingPropertyChangeSupport): Allocate HashMap.
33056 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
33058 * java/security/KeyPairGenerator.java (getInstance): Test for
33059 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33061 2006-02-02 Roman Kennke <kennke@aicas.com>
33063 * javax/swing/RepaintManager.java
33064 Made fields private.
33065 (RepaintWorker.run): Enclosed work stuff in try finally block in
33066 order to clean up correctly if invalidation or painting fails,
33067 otherwise we would get no more RepaintWorkers onto the EventQueue.
33068 Also, now the RepaintWorker is marked 'dead' only after it has
33069 finished its work, avoid more than one RepaintWorker on the queue.
33070 (ComponentComparator.compareTo): Compare dirty rectangle sizes
33071 instead of hierarchy depths.
33072 (workDirtyComponents): Removed unused field.
33073 (repaintOrder): Removed unused field.
33074 (workRepaintOrder): Removed unused field.
33075 (workInvalidComponents): Removed unused field.
33076 (RepaintManager()): Removed initialization of removed fields.
33077 (addInvalidComponent): Fine tuned synchronization.
33078 (removeInvalidComponent): Fine tune synchronization.
33079 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33080 synchronization. Don't manager repaintOrder here.
33081 (insertRepaintOrder): Removed method.
33082 (markCompletelyClean): Fine tuned synchronization.
33083 (validateInvalidComponents): Dont use a working copy of the
33084 invalidComponents list, instead fine tuned synchronization on this
33085 list. Also, don't search validateRoot, this is already done in
33086 addInvalidComponent().
33087 (paintDirtyRegions): Compute repaint order here, based on size of
33088 damaged regions. Fine tuned synchronization. Avoid use of working
33089 copies of dirtyComponent.
33091 2006-02-02 Lillian Angel <langel@redhat.com>
33093 * javax/swing/text/DefaultStyledDocument.java
33094 (insertUpdate): JoinNextDirection should push the
33095 'next' paragraph on the stack.
33097 2006-02-02 Lillian Angel <langel@redhat.com>
33099 * javax/swing/text/DefaultStyledDocument.java
33100 (insertUpdate): Rewrote code for Originate. This prevents
33101 leaves being created multiple times. If it is on the last
33102 ElementSpec, the leaves need to be created right then;
33103 otherwise, only a branch is created.
33104 (insertContentTag): Rewrote to add new leaf directly if
33105 this is a branch with no children. Otherwise, it
33106 recreates the remainder of the tree as before.
33108 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
33110 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33111 for making a list of REMatch instances.
33112 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33113 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33114 (match): Rewritten using REMatchList.
33115 (matchRest): Rewritten using REMatchList.
33117 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33119 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
33120 (friendsMove): Call repaint() only after endOfGame is assigned.
33122 2006-02-02 Mark Wielaard <mark@klomp.org>
33124 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33125 * java/util/AbstractCollection.java (toString): Only use Iterator,
33126 check whether collection contains itself.
33128 2006-02-01 Casey Marshall <csm@gnu.org>
33130 Partial fix for PR classpath/25143.
33131 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33132 (<init>): fill in `algName,' derive `algOid' from `algName.'
33133 (getOid): new method.
33134 (encode): embed NULL value for parameters if `params' is `null.'
33136 2006-02-01 Casey Marshall <csm@gnu.org>
33138 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33139 <monoman@gmail.com>.
33140 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33141 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33143 2006-02-01 Casey Marshall <csm@gnu.org>
33145 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33146 * gnu/java/security/der/DERValue.java
33147 (getLength, getEncoded, getEncodedLength): throw an exception,
33148 don't initialize `encoded' to a bogus value.
33149 (toString): return a more helpful string.
33151 Partial fix for PR classpath/25144.
33152 * gnu/java/security/der/DERWriter.java (write): if the value is
33153 the pseudo-value used for CONSTRUCTED, write the encoded value
33156 2006-02-01 Tom Tromey <tromey@redhat.com>
33158 * java/security/Security.java (loadProviders): Use system class
33161 2006-02-01 Mark Wielaard <mark@klomp.org>
33163 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33164 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33165 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33166 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33167 (UnicodeCategoriesHandler): New private static class.
33169 2006-02-01 Lillian Angel <langel@redhat.com>
33171 * javax/swing/text/DefaultStyledDocument.java:
33172 Removed unneeded fields.
33173 (insertUpdate): Removed field initialization.
33174 (insertContentTag): Rewrote part of function. Still
33177 2006-02-01 Lillian Angel <langel@redhat.com>
33179 * javax/swing/text/DefaultStyledDocument.java
33180 (insertParagraph): Cleaned up code.
33181 (insertFirstContentTag): Fixed call to recreateLeaves.
33182 (insertContentTag): Added check to code to determine where
33183 content should be inserted with respect to next element.
33184 (createFracture): Removed check, recreateLeaves is called in
33185 other places when needed.
33186 (recreateLeaves): Added new parameter for paragraph instead
33187 of checking the stack. Removed editing for newBranch, replaced
33188 with a replace call.
33190 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
33192 * doc/unicode/Blocks-4.0.0.txt: New file.
33193 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
33194 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33195 * scripts/unicode-blocks.pl: Copied this over from the generics branch
33196 but replaced some 1.5-only features (such as enum).
33198 2006-01-31 Roman Kennke <kennke@aicas.com>
33200 * javax/swing/text/PasswordView.java
33201 (drawSelectedText): Use drawEchoCharacter() method to draw echo
33203 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33206 2006-01-31 Roman Kennke <kennke@aicas.com>
33208 * javax/swing/JTextField.java
33209 (getPreferredSize): Also include textfield's insets in width
33212 2006-01-31 Roman Kennke <kennke@aicas.com>
33214 * javax/swing/plaf/basic/BasicTextUI.java
33215 (getPreferredSize): Include the textcomponent's insets in
33218 2006-01-31 Roman Kennke <kennke@aicas.com>
33220 * javax/swing/table/DefaultTableCellRenderer.java
33221 (getTableCellRendererComponent): Moved setting of the value into
33222 setValue(). Removed (bogus) special handling of JTextField values.
33223 (setValue): Made ?: statement more clear by rewriting it
33226 2006-01-31 Roman Kennke <kennke@aicas.com>
33228 * javax/swing/JLayeredPane.java
33229 (insertIndexForLayer): Fixed algorithm to correctly determine
33230 inser index for positions >= 0.
33231 (addImpl): Fixed API docs for the index parameter.
33233 2006-01-31 Mark Wielaard <mark@klomp.org>
33235 * java/net/URI.java (getURIGroup): Check for null to see whether
33236 group actually exists.
33238 2006-01-31 Lillian Angel <langel@redhat.com>
33240 * javax/swing/text/DefaultStyledDocument.java
33241 (changeUpdate): Fixed calls to split to incorporate
33243 (insertParagraph): Likewise. Uses 0 as editIndex
33244 because inserting into a new paragraph.
33245 (insertContentTag): Fixed check to use
33246 recreateLeaves. Added a FIXME comment.
33247 (split): Added a new parameter for edits.
33249 2006-01-31 Roman Kennke <kennke@aicas.com>
33251 * javax/swing/plaf/basic/BasicRootPaneUI.java
33252 (installDefaults): Don't install a background color here.
33254 2006-01-31 Lillian Angel <langel@redhat.com>
33256 * javax/swing/text/DefaultStyledDocument.java
33257 (insert): Removed comment.
33258 (insertUpdate): Added comment.
33259 (recreateLeaves): Removed call to push newBranch onto the
33260 stack. This does not need to be done here.
33262 2006-01-31 Chris Burdess <dog@gnu.org>
33264 * gnu/xml/stream/SAXParser.java,
33265 gnu/xml/stream/UnicodeReader.java,
33266 gnu/xml/stream/XIncludeFilter.java,
33267 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33268 only resolved the system ID not the stream. Make some utility methods
33269 public and static for use by other private XML APIs.
33270 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33271 called without throwing IllegalStateException.
33272 * java/util/logging/SimpleFormatter.java: Write thrown exception if
33275 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33278 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33279 for an invalid index and return null for a skipped group.
33281 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
33284 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33285 (NamedProperty): New inner class.
33286 (getNamedProperty): New method.
33287 (getRETokenNamedProperty): New Method.
33288 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33289 * gnu/regexp/RETokenNamedProperty.java: New file.
33291 2006-01-31 Roman Kennke <kennke@aicas.com>
33293 * javax/swing/plaf/PlainView.java
33294 (paint): Call drawLine with baseline coordinates.
33295 (drawLine): Documented and indented this method.
33296 (drawUnselecetedText): Documented and indented this method.
33297 * javax/swing/plaf/text/Utilites.java
33298 (drawTabbedText): The coordinates denote the baseline of the text
33299 not the upper left corner.
33301 2006-01-31 Roman Kennke <kennke@aicas.com>
33303 * javax/swing/plaf/basic/BasicTextUI.java
33304 (createKeymap): Don't store KeyBindings[] as focusInputMap in
33305 UIManager. Added FIXME regarding the implementation of this method.
33307 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33309 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33310 (ButtonDemo): Move content initialisation to new method,
33311 (initFrameContent): New method,
33312 (main): Call initFrameContent(),
33313 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33314 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33315 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33316 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33317 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33319 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
33321 * examples/gnu/classpath/examples/swing/Demo.java
33322 (Demo): Set frame size,
33323 (mkButtonBar): Removed stacked sub-panels.
33325 2006-01-30 Lillian Angel <langel@redhat.com>
33327 * javax/swing/text/DefaultStyledDocument.java:
33329 (insert): Initialized fields. Removed call to addEdit,
33330 and created ElementEdit instead.
33331 (insertUpdate): Added check for fracturing. If the
33332 fracturing was not successful, we should push the
33333 last element back on the stack.
33334 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33335 Also, changed replace calls to use Edit.
33336 (insertFirstContentTag): Removed unneeded check and fixed call
33338 (insertContent): Fixed check to use new fields. Added code in
33339 to check if leaves overlap.
33340 (createFracture): Fixed call to recreateLeaves.
33341 (recreateLeaves): Fixed code and cleaned it up a bit.
33342 (insertFracture): Set fracNotCreated field.
33343 (addEdit): Removed, this method is not needed.
33345 2006-01-30 Roman Kennke <kennke@aicas.com>
33347 * javax/swing/JRootPane.java
33348 (RootLayout.prefSize): Removed caching for preferredSize.
33349 (RootLayout.invalidateLayout): Likewise.
33350 (RootLayout.preferredLayoutSize): Likewise.
33352 2006-01-30 Roman Kennke <kennke@aicas.com>
33355 * javax/swing/JFrame.java
33356 (frameInit): Handle the defaultLookAndFeelDecorated flag.
33357 * javax/swing/plaf/metal/MetalRootPaneUI.java
33358 (MetalFrameBorder): New inner class, provides the border for
33359 top level containers with L&F decorations.
33360 (MetalTitlePane): New inner class, provides the title pane for
33361 top level containers with L&F decorations.
33362 (MetalRootLayout): New inner class. Used to layout the root pane
33363 when L&F window decorations are enabled.
33364 (installUI): New method. Handles window decorations.
33365 (uninstallUI): New method. Handles window decorations.
33366 (propertyChange): Handles window decorations.
33367 (installWindowDecorations): New method. Handles window
33369 (uninstallWindowDecorations): New method. Handles window
33371 * javax/swing/plaf/metal/MetalLookAndFeel.java
33372 (getSupportsWindowDecorations): Overridden to return true.
33374 2006-01-30 Mark Wielaard <mark@klomp.org>
33376 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33377 IllegalArgumentException when orientation is illegal.
33378 (JProgressBar(int, int, int)): Likewise and throw exception.
33379 (setOrientation): Likewise.
33381 2006-01-30 Roman Kennke <kennke@aicas.com>
33383 * javax/swing/ViewportLayout.java
33384 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33386 2006-01-30 Mark Wielaard <mark@klomp.org>
33388 * javax/swing/JProgressBar.java (orientation): Always set by
33390 (JProgressBar(int)): Document default on 'illegal' value.
33391 (JProgressBar(int, int, int)): Likewise and set orientation to
33392 HORIZONTAL when 'illegal'.
33393 (setOrientation): Likewise.
33395 2006-01-30 Roman Kennke <kennke@aicas.com>
33397 * javax/swing/plaf/basic/BasicListUI.java
33398 (ListDataHandler.contentsChanged): Update the
33399 updateLayoutStateNeeded flag.
33400 (ListDataHandler.intervalAdded): Update the
33401 updateLayoutStateNeeded flag.
33402 (ListDataHandler.intervalRemoved): Update the
33403 updateLayoutStateNeeded flag.
33404 (PropertyChangeHandler.propertyChange): Correctly update the
33405 listeners on new list model.
33406 (maybeUpdateLayoutState): Don't consider the validation state
33409 2006-01-30 Mark Wielaard <mark@klomp.org>
33411 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33414 2006-01-30 Roman Kennke <kennke@aicas.com>
33416 * javax/swing/JLayeredPane.java
33417 (insertIndexForLayer): Fixed algorithm to correctly insert
33418 components within different layers and -1 position.
33420 2006-01-30 Mark Wielaard <mark@klomp.org>
33422 * doc/api/Makefile.am (create_html): Add -validhtml.
33424 2006-01-30 Roman Kennke <kennke@aicas.com>
33426 * javax/swing/JLayeredPane.java
33427 (insertIndexForLayer): Fixed algorithm to correctly insert
33428 components within same layer and -1 position.
33430 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
33433 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33434 New execution flag.
33435 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33436 implicit RETokenEnd at the end of the regexp chain.
33437 Do not select the longest match, but select the first match.
33438 (match): Do not take care of REMatch.empty.
33439 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33440 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33441 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33442 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33443 Do not take care of REMatch.empty. Set and check REMatch.empty
33444 when trying to match the single token.
33446 2006-01-30 Mark Wielaard <mark@klomp.org>
33448 * java/awt/Cursor.java (toString): Include name and type.
33450 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
33452 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33454 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33456 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33459 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
33460 Consider the validation state of the list.
33462 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33464 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33466 * java/beans/XMLDecoder.java:
33467 (setExceptionListener): Use shared DefaultExceptionListener
33469 * java/beans/Encoder.java:
33470 (setExceptionListener): Use shared DefaultExceptionListener
33473 2006-01-29 Roman Kennke <kennke@aicas.com>
33475 * javax/swing/ScrollPaneLayout.java
33476 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33478 2006-01-29 Mark Wielaard <mark@klomp.org>
33480 * java/net/SocketPermission.java (setActions): Trim and lower case
33483 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33485 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33486 incorrectly failing primality test for some known primes. Fixed.
33487 (passFermatLittleTheorem): Removed.
33488 (passMillerRabin): Removed.
33489 (isProbablePrime): Cache primes that pass the primality tests.
33490 Use BigInteger.isProbablePrime(int) for primality tests.
33491 (debugBI): New static debugging method.
33493 2006-01-28 Roman Kennke <kennke@aicas.com>
33495 * javax/swing/plaf/basic/BasicListUI.java
33496 (updateLayoutState): Removed unneeded special case for VERTICAL.
33498 2006-01-28 Roman Kennke <kennke@aicas.com>
33500 * javax/swing/plaf/basic/BasicListUI.java
33501 (getCellBounds): Determine correct list width when having a
33502 layoutOrientation of VERTICAL.
33503 (maybeUpdateLayoutState): Don't consider the validation state of
33506 2006-01-28 Mark Wielaard <mark@klomp.org>
33508 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33509 * java/awt/print/NoPrinterJob.java: New (fake) class.
33510 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33512 2006-01-28 Mark Wielaard <mark@klomp.org>
33514 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33516 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33518 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33519 (addChildren): New method.
33521 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33523 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33524 constructor for cloning purposes.
33525 (clone): New implementation that ensures cloning.
33526 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33527 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33530 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33532 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33533 Call updateCurrentVisiblePath.
33535 2006-01-27 Roman Kennke <kennke@aicas.com>
33537 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33539 2006-01-27 Roman Kennke <kennke@aicas.com>
33541 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33542 (createContent): Only create new content if we don't have one
33544 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33545 (createContent): Only create new content if we don't have one
33547 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33548 (createContent): Only create new content if we don't have one
33550 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33551 (createContent): Only create new content if we don't have one
33553 * examples/gnu/classpath/examples/swing/SliderDemo.java
33554 (createContent): Only create new content if we don't have one
33556 * examples/gnu/classpath/examples/swing/TableDemo.java
33557 (createContent): Only create new content if we don't have one
33559 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33560 (createContent): Only create new content if we don't have one
33563 2006-01-27 Lillian Angel <langel@redhat.com>
33565 * javax/swing/text/DefaultStyledDocument.java
33566 (insertFirstContentTag): Removed check, not needed. This
33567 still needs to be fixed for some cases. Added call to
33569 (createFracture): Added call to recreateLeaves.
33570 (recreateLeaves): New method used to recreate all the
33571 leaves after the initial insertion. This still needs
33573 (handleInsertAfterNewline): Removed else, not needed.
33575 2006-01-27 Roman Kennke <kennke@aicas.com>
33577 * javax/swing/JLayeredPane.java
33578 (inserIndexForLayer): Fixed direction of search.
33580 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33582 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33583 node into nodeStates.
33585 2006-01-27 Roman Kennke <kennke@aicas.com>
33587 * javax/swing/JLayeredPane.java
33588 (FRAME_CONTENT_LAYER): Made field final.
33589 (componentToLayer): Made field private.
33590 (rectCache): Removed field.
33591 (layers): Removed field.
33592 (JLayeredPane()): Removed initialization of removed fields.
33593 (getLayer): Rewritten to make use of client properties in
33594 JComponents and to be more straighforward.
33595 (static getLayer): Rewritten to make use of client properties in
33597 (layerToRange): Removed method.
33598 (incrLayer): Removed method.
33599 (decrLayer): Removed method.
33600 (highestLayer): Rewritten to be more straightforward.
33601 (lowestLayer): Rewritten to be more straightforward.
33602 (getPosition): Rewritten to be more straightforward.
33603 (getComponentsInLayer): Rewritten to be more straightforward.
33604 (getComponentCountInLayer): Rewritten to be more straightforward.
33605 (getIndexOf): Rewritten to be more straightforward.
33606 (inserIndexForLayer): Rewritten to be more straightforward.
33607 (remove): Rewritten to be more straightforward.
33608 (setLayer): Rewritten to be more straightforward.
33609 (addImpl): Rewritten to be more straightforward.
33610 (putLayer): Rewritten to be more straightforward.
33612 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33614 * java/lang/Character.java:
33615 (offsetByCodePoints(CharSequence, int, int)): New API method.
33616 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33617 (toChars): Throw the Exception that the docs say we throw.
33618 (codePointAt): Fixed an off-by-one error in the bounds of the if
33620 * java/lang/String.java:
33621 (String(int[], int, int)): New API constructor.
33623 2006-01-27 Lillian Angel <langel@redhat.com>
33625 * javax/swing/text/DefaultStyledDocument.java
33626 (insert): Moved this loop to insertUpdate.
33627 (insertUpdate): Likewise. Fixed variable
33628 names. Incremented pos if new paragraph
33630 (split): Changed edits to use replace instead. Prevents
33632 (insertFirstContentTag): Removed else.
33633 (insertContentTag): Implemented else for JoinNextDirection.
33634 (createFracture): Fixed up code, still not fully complete.
33635 (insertFracture): Fixed to use return value from
33636 recreateAfterFracture.
33637 (recreateAfterFracture): Changed to return an array of the
33638 elements to be added. This prevents an assertion error.
33639 (contains): New function checks if an element is already in
33640 the Vector. Vector's contain function was not enough to use.
33641 (addAddedElement): Changed to use new contains function.
33642 (addAddedElements): Likewise.
33643 (addRemovedElement): Likewise.
33644 (addRemovedElements): Likewise.
33646 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33649 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33650 If no user class loaders found on the stack, return the thread
33651 context class loader. (currentClassLoader): Explained.
33653 2006-01-27 Roman Kennke <kennke@aicas.com>
33655 * java/awt/Container.java
33656 (swapComponents): Removed unspecified method.
33657 * javax/swing/JLayeredPane.java
33658 (setPosition): Reimplemented correctly.
33659 (swapComponents): New helper method.
33661 2006-01-27 Mark Wielaard <mark@klomp.org>
33663 * configure.ac: Set version to 0.21-pre.
33665 2006-01-27 Roman Kennke <kennke@aicas.com>
33668 * javax/swing/JComponent.java
33669 (findOverlapFreeParent): Improved the algorithm to make better use
33670 of the optimizedDrawingEnabled flag.
33671 * javax/swing/JLayeredPane.java
33672 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33673 * javax/swing/JViewport.java
33674 (computeBlit): Fixed check to decide if blitting is possible or not,
33675 so that it doesn't blit if nothing was scrolled (in order to
33676 update the buffer when the view updates itself).
33678 2006-01-27 Roman Kennke <kennke@aicas.com>
33680 * javax/swing/plaf/metal/MetalFileChooserUI.java
33681 (createList): Don't set scrollbar policy.
33683 2006-01-27 Roman Kennke <kennke@aicas.com>
33685 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33686 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33687 Fixed to also handle non-Swing toplevel containers.
33688 (PopupMenuHandler.popupMenuWillBecomeVisible):
33689 Fixed to also handle non-Swing toplevel containers.
33690 * javax/swing/Popup.java
33691 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33694 2006-01-27 Roman Kennke <kennke@aicas.com>
33696 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33697 (InternalFramePropertyChangeListener): Don't implement
33698 VetoableChangeListener.
33699 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33700 (internalFrameVetoableChangeListener): Removed unneeded field.
33701 (installListeners): Don't install vetoableChangeListener.
33702 * javax/swing/event/DocumentEvent.java
33703 (EventType): Made class final.
33705 2006-01-27 Roman Kennke <kennke@aicas.com>
33707 * javax/swing/SwingUtilities.java
33708 (calculateInsetArea): Removed unneeded method. The method
33709 calculateInnerArea has the same purpose and is actually specified.
33710 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33711 * javax/swing/plaf/basic/BasicMenuItemUI.java
33712 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33713 of SwingUtilities.calculateInsetArea().
33715 2006-01-27 Roman Kennke <kennke@aicas.com>
33717 * javax/swing/plaf/basic/BasicTreeUI.java
33718 (installDefaults): Removed requestFocusInWindow() call.
33719 * javax/swing/JComponent.java
33720 (requestFocusInWindow(boolean)): Made method protected.
33721 (printComponent): Made method protected.
33722 (printChildren): Made method protected.
33723 (printComponent): Made method protected.
33724 (printBorder): Made method protected.
33726 2006-01-27 Roman Kennke <kennke@aicas.com>
33728 * javax/swing/AbstractButton.java
33729 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33731 * javax/swing/ImageIcon.java
33732 (component): Made field final.
33733 (tracker): Made field final.
33734 * javax/swing/JApplet.java
33735 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33736 * javax/swing/JCheckBox.java
33737 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33739 * javax/swing/JDialog.java
33740 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33741 * javax/swing/JFrame.java
33742 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33743 * javax/swing/JLayeredPane.java
33744 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33746 (DEFAULT_LAYER): Made field final.
33747 (PALETTE_LAYER): Made field final.
33748 (MODAL_LAYER): Made field final.
33749 (POPUP_LAYER): Made field final.
33750 (DRAG_LAYER): Made field final.
33751 * javax/swing/JMenu.java
33752 (ActionChangeListener): Made class private.
33753 * javax/swing/JOptionPane.java
33754 (UNITITIALIZED_VALUE): Made field final.
33755 * javax/swing/JPanel.java
33756 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33757 * javax/swing/JPopupMenu.java
33758 (ActionChangeListener): Made class private.
33759 * javax/swing/JTree.java
33760 (paramString): Made method protected.
33761 * javax/swing/JViewport.java
33762 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33763 * javax/swing/JWindow.java
33764 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33765 * javax/swing/RepaintManager.java
33766 (RepaintWorker): Made class private.
33768 2006-01-27 Roman Kennke <kennke@aicas.com>
33770 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33771 (handleEvent): Removed debug statement.
33773 2006-01-27 Roman Kennke <kennke@aicas.com>
33775 * java/awt/Component.java
33776 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33777 more than it helps.
33779 2006-01-26 Lillian Angel <langel@redhat.com>
33781 * javax/swing/text/DefaultStyledDocument.java
33782 (createFracture): Commented out a known problem,
33785 2006-01-26 Lillian Angel <langel@redhat.com>
33787 * javax/swing/text/DefaultStyledDocument.java
33788 (ElementBuffer): Added fields.
33789 (remove): Initialized pos.
33790 (change): Likewise.
33791 (insert): Likewise.
33792 (insertUpdate): Incremented pos. Fixed check, createFracture should
33793 be called on first tag if it is not ContentType.
33794 (insertFirstContentTag): Reworked to use proper offsets and
33795 set offset accordingly. This might need more work in the future.
33796 (insertContentTag): Likewise. Fixed to use pos, instead of
33798 (createFracture): Fixed to recreate other leaves. Still needs
33800 (insertFracture): Reimplemented.
33801 (recreateAfterFracture): New method.
33802 (getParagraphElement): Reimplemented, more efficent.
33804 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33806 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33807 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33808 ordering for little-endian arms without VFP.
33810 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33813 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33815 2006-01-26 Mark Wielaard <mark@klomp.org>
33817 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33818 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33819 Add trailing zeros to the fraction of the decimal with the smallest
33822 2006-01-26 Roman Kennke <kennke@aicas.com>
33824 * javax/swing/text/html/ObjectView.java: New file.
33826 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33828 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33829 Call startEditing when appropriate.
33830 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33831 (startEditing): Always edit if directly ordered from
33832 MouseHandler.mousePressed.
33833 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33834 New field. (createTreeCellEditor): Set click count to start.
33835 (getTreeCellEditorComponent): Assing realEditor directly.
33837 2006-01-25 Casey Marshall <csm@gnu.org>
33839 Merging GNU Crypto and Jessie.
33841 * NEWS: mention the merge in the 0.21 notes.
33842 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33843 (SSL_RECORD_LAYER): new constants.
33844 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33846 * resource/java/security/classpath.security: add new providers.
33847 * gnu/javax/crypto/assembly/Assembly.java,
33848 gnu/javax/crypto/assembly/Cascade.java,
33849 gnu/javax/crypto/assembly/CascadeStage.java,
33850 gnu/javax/crypto/assembly/CascadeTransformer.java,
33851 gnu/javax/crypto/assembly/DeflateTransformer.java,
33852 gnu/javax/crypto/assembly/Direction.java,
33853 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33854 gnu/javax/crypto/assembly/ModeStage.java,
33855 gnu/javax/crypto/assembly/Operation.java,
33856 gnu/javax/crypto/assembly/PaddingTransformer.java,
33857 gnu/javax/crypto/assembly/Stage.java,
33858 gnu/javax/crypto/assembly/Transformer.java,
33859 gnu/javax/crypto/assembly/TransformerException.java,
33860 gnu/javax/crypto/cipher/Anubis.java,
33861 gnu/javax/crypto/cipher/BaseCipher.java,
33862 gnu/javax/crypto/cipher/Blowfish.java,
33863 gnu/javax/crypto/cipher/Cast5.java,
33864 gnu/javax/crypto/cipher/CipherFactory.java,
33865 gnu/javax/crypto/cipher/DES.java,
33866 gnu/javax/crypto/cipher/IBlockCipher.java,
33867 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33868 gnu/javax/crypto/cipher/Khazad.java,
33869 gnu/javax/crypto/cipher/NullCipher.java,
33870 gnu/javax/crypto/cipher/Rijndael.java,
33871 gnu/javax/crypto/cipher/Serpent.java,
33872 gnu/javax/crypto/cipher/Square.java,
33873 gnu/javax/crypto/cipher/TripleDES.java,
33874 gnu/javax/crypto/cipher/Twofish.java,
33875 gnu/javax/crypto/cipher/WeakKeyException.java,
33876 gnu/javax/crypto/jce/GnuCrypto.java,
33877 gnu/javax/crypto/jce/GnuSasl.java,
33878 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33879 gnu/javax/crypto/jce/cipher/AESSpi.java,
33880 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33881 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33882 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33883 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33884 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33885 gnu/javax/crypto/jce/cipher/DESSpi.java,
33886 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33887 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33888 gnu/javax/crypto/jce/cipher/PBES2.java,
33889 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33890 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33891 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33892 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33893 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33894 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33895 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33896 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33897 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33898 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33899 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33900 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33901 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33902 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33903 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33904 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33905 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33906 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33907 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33908 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33909 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33910 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33911 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33912 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33913 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33914 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33915 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33916 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33917 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33918 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33919 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33920 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33921 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33922 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33923 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33924 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33925 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33926 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33927 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33928 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33929 gnu/javax/crypto/jce/mac/MacAdapter.java,
33930 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33931 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33932 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33933 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33934 gnu/javax/crypto/jce/mac/OMacImpl.java,
33935 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33936 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33937 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33938 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33939 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33940 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33941 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33942 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33943 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33944 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33945 gnu/javax/crypto/jce/params/DEREncodingException.java,
33946 gnu/javax/crypto/jce/params/DERReader.java,
33947 gnu/javax/crypto/jce/params/DERWriter.java,
33948 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33949 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33950 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33951 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33952 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33953 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33954 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33955 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33956 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33957 gnu/javax/crypto/key/GnuSecretKey.java,
33958 gnu/javax/crypto/key/IKeyAgreementParty.java,
33959 gnu/javax/crypto/key/IncomingMessage.java,
33960 gnu/javax/crypto/key/KeyAgreementException.java,
33961 gnu/javax/crypto/key/KeyAgreementFactory.java,
33962 gnu/javax/crypto/key/OutgoingMessage.java,
33963 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33964 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33965 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33966 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33967 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33968 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33969 gnu/javax/crypto/key/dh/ElGamalSender.java,
33970 gnu/javax/crypto/key/dh/GnuDHKey.java,
33971 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33972 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33973 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33974 gnu/javax/crypto/key/dh/RFC2631.java,
33975 gnu/javax/crypto/key/srp6/SRP6Host.java,
33976 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33977 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33978 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33979 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33980 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33981 gnu/javax/crypto/key/srp6/SRP6User.java,
33982 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33983 gnu/javax/crypto/key/srp6/SRPKey.java,
33984 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33985 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33986 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33987 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33988 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33989 gnu/javax/crypto/keyring/BaseKeyring.java,
33990 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33991 gnu/javax/crypto/keyring/CertPathEntry.java,
33992 gnu/javax/crypto/keyring/CertificateEntry.java,
33993 gnu/javax/crypto/keyring/CompressedEntry.java,
33994 gnu/javax/crypto/keyring/EncryptedEntry.java,
33995 gnu/javax/crypto/keyring/Entry.java,
33996 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33997 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33998 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33999 gnu/javax/crypto/keyring/IKeyring.java,
34000 gnu/javax/crypto/keyring/IPrivateKeyring.java,
34001 gnu/javax/crypto/keyring/IPublicKeyring.java,
34002 gnu/javax/crypto/keyring/MalformedKeyringException.java,
34003 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
34004 gnu/javax/crypto/keyring/MeteredInputStream.java,
34005 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
34006 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
34007 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
34008 gnu/javax/crypto/keyring/PrimitiveEntry.java,
34009 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
34010 gnu/javax/crypto/keyring/Properties.java,
34011 gnu/javax/crypto/keyring/PublicKeyEntry.java,
34012 gnu/javax/crypto/mac/BaseMac.java,
34013 gnu/javax/crypto/mac/HMac.java,
34014 gnu/javax/crypto/mac/HMacFactory.java,
34015 gnu/javax/crypto/mac/IMac.java,
34016 gnu/javax/crypto/mac/MacFactory.java,
34017 gnu/javax/crypto/mac/MacInputStream.java,
34018 gnu/javax/crypto/mac/MacOutputStream.java,
34019 gnu/javax/crypto/mac/OMAC.java,
34020 gnu/javax/crypto/mac/TMMH16.java,
34021 gnu/javax/crypto/mac/UHash32.java,
34022 gnu/javax/crypto/mac/UMac32.java,
34023 gnu/javax/crypto/mode/BaseMode.java,
34024 gnu/javax/crypto/mode/CBC.java,
34025 gnu/javax/crypto/mode/CFB.java,
34026 gnu/javax/crypto/mode/CTR.java,
34027 gnu/javax/crypto/mode/EAX.java,
34028 gnu/javax/crypto/mode/ECB.java,
34029 gnu/javax/crypto/mode/IAuthenticatedMode.java,
34030 gnu/javax/crypto/mode/ICM.java,
34031 gnu/javax/crypto/mode/IMode.java,
34032 gnu/javax/crypto/mode/ModeFactory.java,
34033 gnu/javax/crypto/mode/OFB.java,
34034 gnu/javax/crypto/pad/BasePad.java,
34035 gnu/javax/crypto/pad/IPad.java,
34036 gnu/javax/crypto/pad/PKCS1_V1_5.java,
34037 gnu/javax/crypto/pad/PKCS7.java,
34038 gnu/javax/crypto/pad/PadFactory.java,
34039 gnu/javax/crypto/pad/SSL3.java,
34040 gnu/javax/crypto/pad/TBC.java,
34041 gnu/javax/crypto/pad/TLS1.java,
34042 gnu/javax/crypto/pad/WrongPaddingException.java,
34043 gnu/javax/crypto/prng/ARCFour.java,
34044 gnu/javax/crypto/prng/CSPRNG.java,
34045 gnu/javax/crypto/prng/Fortuna.java,
34046 gnu/javax/crypto/prng/ICMGenerator.java,
34047 gnu/javax/crypto/prng/IPBE.java,
34048 gnu/javax/crypto/prng/PBKDF2.java,
34049 gnu/javax/crypto/prng/PRNGFactory.java,
34050 gnu/javax/crypto/prng/UMacGenerator.java,
34051 gnu/javax/crypto/sasl/AuthInfo.java,
34052 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34053 gnu/javax/crypto/sasl/ClientFactory.java,
34054 gnu/javax/crypto/sasl/ClientMechanism.java,
34055 gnu/javax/crypto/sasl/ConfidentialityException.java,
34056 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34057 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34058 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34059 gnu/javax/crypto/sasl/InputBuffer.java,
34060 gnu/javax/crypto/sasl/IntegrityException.java,
34061 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34062 gnu/javax/crypto/sasl/NoSuchUserException.java,
34063 gnu/javax/crypto/sasl/OutputBuffer.java,
34064 gnu/javax/crypto/sasl/SaslEncodingException.java,
34065 gnu/javax/crypto/sasl/SaslInputStream.java,
34066 gnu/javax/crypto/sasl/SaslOutputStream.java,
34067 gnu/javax/crypto/sasl/SaslUtil.java,
34068 gnu/javax/crypto/sasl/ServerFactory.java,
34069 gnu/javax/crypto/sasl/ServerMechanism.java,
34070 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34071 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34072 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34073 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34074 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34075 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34076 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34077 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34078 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34079 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34080 gnu/javax/crypto/sasl/plain/PasswordFile.java,
34081 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34082 gnu/javax/crypto/sasl/plain/PlainClient.java,
34083 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34084 gnu/javax/crypto/sasl/plain/PlainServer.java,
34085 gnu/javax/crypto/sasl/srp/CALG.java,
34086 gnu/javax/crypto/sasl/srp/ClientStore.java,
34087 gnu/javax/crypto/sasl/srp/IALG.java,
34088 gnu/javax/crypto/sasl/srp/KDF.java,
34089 gnu/javax/crypto/sasl/srp/PasswordFile.java,
34090 gnu/javax/crypto/sasl/srp/SRP.java,
34091 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34092 gnu/javax/crypto/sasl/srp/SRPClient.java,
34093 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34094 gnu/javax/crypto/sasl/srp/SRPServer.java,
34095 gnu/javax/crypto/sasl/srp/SecurityContext.java,
34096 gnu/javax/crypto/sasl/srp/ServerStore.java,
34097 gnu/javax/crypto/sasl/srp/StoreEntry.java,
34098 gnu/javax/net/ssl/Base64.java,
34099 gnu/javax/net/ssl/EntropySource.java,
34100 gnu/javax/net/ssl/NullManagerParameters.java,
34101 gnu/javax/net/ssl/PrivateCredentials.java,
34102 gnu/javax/net/ssl/SRPManagerParameters.java,
34103 gnu/javax/net/ssl/SRPTrustManager.java,
34104 gnu/javax/net/ssl/StaticTrustAnchors.java,
34105 gnu/javax/net/ssl/provider/Alert.java,
34106 gnu/javax/net/ssl/provider/AlertException.java,
34107 gnu/javax/net/ssl/provider/Certificate.java,
34108 gnu/javax/net/ssl/provider/CertificateRequest.java,
34109 gnu/javax/net/ssl/provider/CertificateType.java,
34110 gnu/javax/net/ssl/provider/CertificateVerify.java,
34111 gnu/javax/net/ssl/provider/CipherSuite.java,
34112 gnu/javax/net/ssl/provider/ClientHello.java,
34113 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34114 gnu/javax/net/ssl/provider/CompressionMethod.java,
34115 gnu/javax/net/ssl/provider/Constructed.java,
34116 gnu/javax/net/ssl/provider/ContentType.java,
34117 gnu/javax/net/ssl/provider/Context.java,
34118 gnu/javax/net/ssl/provider/DiffieHellman.java,
34119 gnu/javax/net/ssl/provider/DigestInputStream.java,
34120 gnu/javax/net/ssl/provider/DigestOutputStream.java,
34121 gnu/javax/net/ssl/provider/Enumerated.java,
34122 gnu/javax/net/ssl/provider/Extension.java,
34123 gnu/javax/net/ssl/provider/Extensions.java,
34124 gnu/javax/net/ssl/provider/Finished.java,
34125 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34126 gnu/javax/net/ssl/provider/Handshake.java,
34127 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34128 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34129 gnu/javax/net/ssl/provider/Jessie.java,
34130 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34131 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34132 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34133 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34134 gnu/javax/net/ssl/provider/KeyPool.java,
34135 gnu/javax/net/ssl/provider/MacException.java,
34136 gnu/javax/net/ssl/provider/OverflowException.java,
34137 gnu/javax/net/ssl/provider/PRNG.java,
34138 gnu/javax/net/ssl/provider/ProtocolVersion.java,
34139 gnu/javax/net/ssl/provider/Random.java,
34140 gnu/javax/net/ssl/provider/RecordInput.java,
34141 gnu/javax/net/ssl/provider/RecordInputStream.java,
34142 gnu/javax/net/ssl/provider/RecordOutputStream.java,
34143 gnu/javax/net/ssl/provider/RecordingInputStream.java,
34144 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34145 gnu/javax/net/ssl/provider/SSLHMac.java,
34146 gnu/javax/net/ssl/provider/SSLRSASignature.java,
34147 gnu/javax/net/ssl/provider/SSLRandom.java,
34148 gnu/javax/net/ssl/provider/SSLServerSocket.java,
34149 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34150 gnu/javax/net/ssl/provider/SSLSocket.java,
34151 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34152 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34153 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34154 gnu/javax/net/ssl/provider/SecurityParameters.java,
34155 gnu/javax/net/ssl/provider/ServerHello.java,
34156 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34157 gnu/javax/net/ssl/provider/Session.java,
34158 gnu/javax/net/ssl/provider/SessionContext.java,
34159 gnu/javax/net/ssl/provider/Signature.java,
34160 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34161 gnu/javax/net/ssl/provider/TLSHMac.java,
34162 gnu/javax/net/ssl/provider/TLSRandom.java,
34163 gnu/javax/net/ssl/provider/Util.java,
34164 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34165 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34166 gnu/javax/net/ssl/provider/XMLSessionContext.java,
34167 gnu/javax/security/auth/Password.java,
34168 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34169 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34170 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34171 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34172 gnu/javax/security/auth/callback/GnuCallbacks.java,
34173 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34174 gnu/java/security/Registry.java,
34175 gnu/java/security/Properties.java,
34176 gnu/java/security/hash/BaseHash.java,
34177 gnu/java/security/hash/HashFactory.java,
34178 gnu/java/security/hash/Haval.java,
34179 gnu/java/security/hash/IMessageDigest.java,
34180 gnu/java/security/hash/MD2.java,
34181 gnu/java/security/hash/MD4.java,
34182 gnu/java/security/hash/MD5.java,
34183 gnu/java/security/hash/RipeMD128.java,
34184 gnu/java/security/hash/RipeMD160.java,
34185 gnu/java/security/hash/Sha160.java,
34186 gnu/java/security/hash/Sha256.java,
34187 gnu/java/security/hash/Sha384.java,
34188 gnu/java/security/hash/Sha512.java,
34189 gnu/java/security/hash/Tiger.java,
34190 gnu/java/security/hash/Whirlpool.java,
34191 gnu/java/security/jce/hash/HavalSpi.java,
34192 gnu/java/security/jce/hash/MD2Spi.java,
34193 gnu/java/security/jce/hash/MD4Spi.java,
34194 gnu/java/security/jce/hash/MD5Spi.java,
34195 gnu/java/security/jce/hash/MessageDigestAdapter.java,
34196 gnu/java/security/jce/hash/RipeMD128Spi.java,
34197 gnu/java/security/jce/hash/RipeMD160Spi.java,
34198 gnu/java/security/jce/hash/Sha160Spi.java,
34199 gnu/java/security/jce/hash/Sha256Spi.java,
34200 gnu/java/security/jce/hash/Sha384Spi.java,
34201 gnu/java/security/jce/hash/Sha512Spi.java,
34202 gnu/java/security/jce/hash/TigerSpi.java,
34203 gnu/java/security/jce/hash/WhirlpoolSpi.java,
34204 gnu/java/security/jce/prng/HavalRandomSpi.java,
34205 gnu/java/security/jce/prng/MD2RandomSpi.java,
34206 gnu/java/security/jce/prng/MD4RandomSpi.java,
34207 gnu/java/security/jce/prng/MD5RandomSpi.java,
34208 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34209 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34210 gnu/java/security/jce/prng/SecureRandomAdapter.java,
34211 gnu/java/security/jce/prng/Sha160RandomSpi.java,
34212 gnu/java/security/jce/prng/Sha256RandomSpi.java,
34213 gnu/java/security/jce/prng/Sha384RandomSpi.java,
34214 gnu/java/security/jce/prng/Sha512RandomSpi.java,
34215 gnu/java/security/jce/prng/TigerRandomSpi.java,
34216 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34217 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34218 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34219 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34220 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34221 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34222 gnu/java/security/jce/sig/SignatureAdapter.java,
34223 gnu/java/security/key/IKeyPairCodec.java,
34224 gnu/java/security/key/IKeyPairGenerator.java,
34225 gnu/java/security/key/KeyPairCodecFactory.java,
34226 gnu/java/security/key/KeyPairGeneratorFactory.java,
34227 gnu/java/security/key/dss/DSSKey.java,
34228 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34229 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34230 gnu/java/security/key/dss/DSSPrivateKey.java,
34231 gnu/java/security/key/dss/DSSPublicKey.java,
34232 gnu/java/security/key/dss/FIPS186.java,
34233 gnu/java/security/key/rsa/GnuRSAKey.java,
34234 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34235 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34236 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34237 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34238 gnu/java/security/prng/BasePRNG.java,
34239 gnu/java/security/prng/EntropySource.java,
34240 gnu/java/security/prng/IRandom.java,
34241 gnu/java/security/prng/LimitReachedException.java,
34242 gnu/java/security/prng/MDGenerator.java,
34243 gnu/java/security/prng/PRNGFactory.java,
34244 gnu/java/security/prng/RandomEvent.java,
34245 gnu/java/security/prng/RandomEventListener.java,
34246 gnu/java/security/sig/BaseSignature.java,
34247 gnu/java/security/sig/ISignature.java,
34248 gnu/java/security/sig/ISignatureCodec.java,
34249 gnu/java/security/sig/SignatureFactory.java,
34250 gnu/java/security/sig/dss/DSSSignature.java,
34251 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34252 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34253 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34254 gnu/java/security/sig/rsa/EMSA_PSS.java,
34255 gnu/java/security/sig/rsa/RSA.java,
34256 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34257 gnu/java/security/sig/rsa/RSAPSSSignature.java,
34258 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34259 gnu/java/security/util/Base64.java,
34260 gnu/java/security/util/ExpirableObject.java,
34261 gnu/java/security/util/Prime2.java,
34262 gnu/java/security/util/Sequence.java,
34263 gnu/java/security/util/SimpleList.java,
34264 gnu/java/security/util/Util.java,
34265 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34266 new files imported from GNU Crypto and Jessie.
34268 2006-01-25 Tom Tromey <tromey@redhat.com>
34270 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34271 Fixed calculation of number of bytes to read.
34272 (size, count, meta, eof): Document.
34274 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
34276 * java/lang/Character.java:
34277 (codePointCount(char[], int, int)): New API method.
34278 (codePointCount(CharSequence, int, int)): Likewise.
34280 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34283 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
34285 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
34286 action if not editing.
34287 * javax/swing/plaf/basic/BasicTreeUI.java
34288 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34289 (CellEditorHandler.editingStopped): Delegate to stopEditing.
34290 (EditorUpdateTimer): Removed.
34291 (TreeAction.actionPerformed): Stop and not cancel the current editing
34292 when starting editing another node.
34293 (editorTimer, newVal): Removed.
34294 (cancelEditing): Do not send the cancel message.
34295 (completeEditing): Obtain the edited value from the editor.
34296 (finish): New method.
34297 (paintRow): Do not paint the editing component here.
34298 (startEditing, stopEditing): Rewritten.
34299 * javax/swing/tree/DefaultTreeCellEditor.java
34300 (DefaultTextField): Added SVUID.
34301 (EditorContainer): Rewritten.
34302 (RealEditorListener): New inner class.
34303 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34304 (constructor): Add cell editor listener. Do not instantiate timer.
34305 (actionPerformed): Return without action.
34306 (cancelCellEditing): Rewritten.
34307 (createTreeCellEditor): Add cell editor listener to the editor.
34308 (getCellEditorValue): Request the value from the realEditor.
34309 (isCellEditable): Removed timer management.
34310 (prepareForEditing): Remove all components befor adding the
34312 (startEditingTimer): Start only if it is not null.
34313 (stopCellEditing): Rewritten.
34314 (stopEditingTimer): New method.
34315 (valueChanged): Do not configure editing component here.
34317 2006-01-25 Roman Kennke <kennke@aicas.com>
34319 * javax/swing/text/html/FormView.java: New file.
34321 2006-01-25 Roman Kennke <kennke@aicas.com>
34323 * javax/swing/JSplitPane.java
34324 (addImpl): Call resetToPreferredSizes() when no dividerLocation
34325 has been set in order to set an initial layout.
34326 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34327 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34328 layout of the right component.
34329 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34330 dividerLocation to the size of the left component.
34331 (createDefaultNonContinuousLayoutDivider): Fetch the color from
34333 (setDividerLocation): Don't validate the location here. Sometimes
34334 the divider needs to be set to an invalid location.
34335 (startDragging): Don't revalidate and repaint here.
34336 (finishDraggingTo): Don't repaint here. Also, don't call
34337 dragDividerTo() here.
34338 * javax/swing/plaf/basic/BasicLookAndFeel.java
34339 (initComponentDefaults): Added SplitPaneDivider.draggingColor
34342 2006-01-25 Roman Kennke <kennke@aicas.com>
34344 * javax/swing/JSplitPane.java
34345 (addImpl): Removed invalidate() and layout() call.
34346 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34347 (PropertyHandler.propertyChange): Remove layoutContainer() and
34350 2006-01-25 Roman Kennke <kennke@aicas.com>
34353 * native/Makefile.am
34354 * native/jni/classpath/Makefile.am
34355 * native/jni/classpath/jcl.c
34356 * native/jni/classpath/jcl.h
34357 * native/jni/classpath/native_state.c
34358 * native/jni/gtk-peer/Makefile.am
34359 * native/jni/java-io/Makefile.am
34360 * native/jni/java-io/java_io_VMFile.c
34361 * native/jni/java-io/java_io_VMObjectStreamClass.c
34362 * native/jni/java-lang/Makefile.am
34363 * native/jni/java-net/Makefile.am
34364 * native/jni/java-net/java_net_VMInetAddress.c
34365 * native/jni/java-net/javanet.c
34366 * native/jni/java-net/javanet.h
34367 * native/jni/java-nio/Makefile.am
34368 * native/jni/java-nio/gnu_java_nio_VMPipe.c
34369 * native/jni/java-nio/gnu_java_nio_VMSelector.c
34370 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34371 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34372 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34373 * native/jni/java-util/Makefile.am
34374 * native/jni/java-util/java_util_VMTimeZone.c
34375 * native/jni/midi-dssi/Makefile.am
34376 * native/jni/xmlj/Makefile.am
34377 * native/target/Makefile.am
34378 * native/target/Linux/target_native_math.h
34379 * native/target/Linux/target_native_memory.h
34380 * native/target/Linux/Makefile.am
34381 * native/target/Linux/target_native_io.h
34382 * native/target/Linux/target_native_math_float.h
34383 * native/target/Linux/target_native_math_int.h
34384 * native/target/generic/target_generic.c
34385 * native/target/generic/target_generic_io.c
34386 * native/target/generic/target_generic_math.h
34387 * native/target/generic/target_generic_memory.h
34388 * native/target/generic/target_generic_misc.c
34389 * native/target/generic/target_generic_network.c
34390 * native/target/generic/Makefile.am
34391 * native/target/generic/target_generic.h
34392 * native/target/generic/target_generic_file.h
34393 * native/target/generic/target_generic_io.h
34394 * native/target/generic/target_generic_math_float.h
34395 * native/target/generic/target_generic_math_int.h
34396 * native/target/generic/target_generic_misc.h
34397 * native/target/generic/target_generic_network.h:
34398 Reverted target native related changes back to the state of the
34400 * native/target/MinGW/.cvsignore
34401 * native/target/MinGW/Makefile.am
34402 * native/target/MinGW/target_native.h
34403 * native/target/MinGW/target_native_file.h
34404 * native/target/MinGW/target_native_io.h
34405 * native/target/MinGW/target_native_math.h
34406 * native/target/MinGW/target_native_memory.h
34407 * native/target/MinGW/target_native_misc.h
34408 * native/target/MinGW/target_native_network.h
34409 * native/target/RTEMS/.cvsignore
34410 * native/target/RTEMS/Makefile.am
34411 * native/target/RTEMS/target_native.h
34412 * native/target/RTEMS/target_native_file.h
34413 * native/target/RTEMS/target_native_io.h
34414 * native/target/RTEMS/target_native_math.h
34415 * native/target/RTEMS/target_native_memory.h
34416 * native/target/RTEMS/target_native_misc.h
34417 * native/target/RTEMS/target_native_network.h
34418 * native/target/SunOS/.cvsignore
34419 * native/target/SunOS/Makefile.am
34420 * native/target/SunOS/target_native.h
34421 * native/target/SunOS/target_native_file.h
34422 * native/target/SunOS/target_native_io.h
34423 * native/target/SunOS/target_native_math.h
34424 * native/target/SunOS/target_native_memory.h
34425 * native/target/SunOS/target_native_misc.h
34426 * native/target/SunOS/target_native_network.h
34427 * native/target/embOS/.cvsignore
34428 * native/target/embOS/Makefile.am
34429 * native/target/embOS/target_native.h
34430 * native/target/embOS/target_native_file.h
34431 * native/target/embOS/target_native_io.c
34432 * native/target/embOS/target_native_io.h
34433 * native/target/embOS/target_native_math.h
34434 * native/target/embOS/target_native_memory.h
34435 * native/target/embOS/target_native_misc.h
34436 * native/target/embOS/target_native_network.h
34437 * native/target/posix/.cvsignore
34438 * native/target/posix/Makefile.am
34439 * native/target/posix/target_posix.c
34440 * native/target/posix/target_posix.h
34441 * native/target/posix/target_posix_file.c
34442 * native/target/posix/target_posix_file.h
34443 * native/target/posix/target_posix_io.c
34444 * native/target/posix/target_posix_io.h
34445 * native/target/posix/target_posix_math.c
34446 * native/target/posix/target_posix_math.h
34447 * native/target/posix/target_posix_memory.c
34448 * native/target/posix/target_posix_memory.h
34449 * native/target/posix/target_posix_misc.c
34450 * native/target/posix/target_posix_misc.h
34451 * native/target/posix/target_posix_network.c
34452 * native/target/posix/target_posix_network.h:
34455 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34457 * javax/print/PrintService.java,
34458 * javax/print/DocPrintJob.java,
34459 * javax/print/CancelablePrintJob.java:
34460 Added and enhanced api documentation for class and methods.
34462 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34464 * javax/print/SimpleDoc.java: Make class final.
34465 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34466 * javax/print/attribute/DateTimeSyntax.java:
34467 (toString): New overridden method.
34468 * javax/print/attribute/standard/JobStateReasons.java:
34469 (add): Use the super.add method to avoid recursion.
34470 * javax/print/attribute/standard/PrinterStateReasons.java:
34471 (put): Use the super.put method to avoid recursion.
34473 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34475 * java/beans/XMLEncoder.java:
34476 (writeExpression): Added early return (fixes PR #25941).
34477 (setExceptionListener, anonymous Class): Removed printStackTrace
34479 * java/beans/Encoder: Removed unused imports.
34480 (setupDefaultPersistenceDelegates): Removed unneccessary
34481 PersistenceDelegates for subclasses.
34482 * java/beans/PersistenceDelegate:
34483 (initialize): Use local variable as first argument as it was
34485 * java/beans/DefaultPersistenceDelegate:
34486 (initialize): Added call to superclass' implementation, added
34489 2006-01-24 Tom Tromey <tromey@redhat.com>
34491 * java/util/regex/PatternSyntaxException.java: Added @since.
34492 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34493 * java/util/regex/MatchResult.java: New file.
34495 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34497 * javax/swing/text/StringContent.java: Added API docs all over, plus
34498 minor reformatting.
34500 2006-01-24 Gary Benson <gbenson@redhat.com>
34502 * java/net/SocketPermission.java: Implemented serialization.
34504 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34506 * javax/swing/text/StringContent.java
34507 (remove): Modified argument check to prevent removal of last character,
34508 (getChars): Removed null argument check to allow NullPointerException,
34510 (checkLocation): Added API docs and white space.
34512 2006-01-23 Lillian Angel <langel@redhat.com>
34514 * javax/swing/text/DefaultStyledDocument.java
34515 (insertUpdate): Should only call createFracture with
34516 StartTagType. Added check.
34517 (insertContentTag): Should use the tags length for splitting.
34518 Also, added a check to determine if current's start and end offset are
34519 equal to the offset and endOffset. If so, only one leaf element
34521 (createFracture): Removed FIXME. This function is complete.
34522 (split): Added calls to replace. Changed so the child is
34523 added immediately to the paragraph. Prevents NPEs.
34525 2006-01-23 Mark Wielaard <mark@klomp.org>
34527 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34529 2006-01-23 Tom Tromey <tromey@redhat.com>
34531 * gnu/java/security/x509/X509Certificate.java (parse):
34532 Unconditionally read value; for version==1 case when reading
34535 2006-01-23 Roman Kennke <kennke@aicas.com>
34537 * javax/swing/plaf/synth/ColorType.java,
34538 * javax/swing/plaf/synth/Region.java,
34539 * javax/swing/plaf/synth/SynthConstants.java,
34540 * javax/swing/plaf/synth/SynthContext.java
34541 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34542 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34543 * javax/swing/plaf/synth/SynthPainter.java,
34544 * javax/swing/plaf/synth/SynthStyle.java,
34545 * javax/swing/plaf/synth/SynthStyleFactory.java,
34546 * javax/swing/plaf/synth/package.html:
34547 New files. Added the public API and framework classes for the
34548 Synth look and feel.
34550 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34552 * javax/swing/text/Segment.java: API docs all over.
34554 2006-01-23 Lillian Angel <langel@redhat.com>
34556 * javax/swing/text/DefaultStyledDocument.java
34557 (split): Should not use createLeafElement and createBranchElement here.
34558 We should just instaniate the LeafElements and BranchElements instead
34559 to avoid the case where create*Element is overridden.
34561 2006-01-23 Lillian Angel <langel@redhat.com>
34563 * javax/swing/text/DefaultStyledDocument.java
34564 (insertFirstContentTag): Moved check outside of if-statement.
34565 This should be checked before creating the new leaf element.
34566 (insertFracture): Fixed check to prevent an NPE. The previous
34567 leaf should only be recreated if it has been created by
34568 insertFirstContentTag. Also, fixed up code: if the endOffset is
34569 greater than the offset, then we need to create a temp leaf
34570 as a place holder. Otherwise, the leaf elements should be
34573 2006-01-23 Gary Benson <gbenson@redhat.com>
34575 * java/net/SocketPermission.java: Almost completely rewritten.
34577 2006-01-23 Lillian Angel <langel@redhat.com>
34579 * javax/swing/text/DefaultStyledDocument.java
34580 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34582 2006-01-23 Lillian Angel <langel@redhat.com>
34584 * javax/swing/text/DefaultStyledDocument.java:
34585 Formatted ElementBuffer and added new fields.
34586 (remove): Added check to determine if length is 0.
34587 (insertFirstContentTag): Initialized firstCreated to the element that is created
34588 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34589 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34590 that have been recreated.
34591 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34592 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34593 FIXME tags to the lines that need to be rewritten.
34595 2006-01-23 Mark Wielaard <mark@klomp.org>
34597 * examples/Makefile.am: Add support for fastjar.
34599 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34601 * gnu/regexp/REToken.java(empty): Made Cloneable.
34602 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34603 Use separate methods matchN and matchP depending on the
34605 (matchN): New method used when negative. Done as before.
34606 (matchP): New method used when not negative. Each token is
34607 tried not by itself but by a clone of it.
34609 2006-01-23 Chris Burdess <dog@gnu.org>
34612 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34613 class to avoid getLength method contention.
34614 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34616 2006-01-23 Chris Burdess <dog@gnu.org>
34618 * native/jni/java-util/Makefile.am: Include library required
34619 explicitly by BSD systems.
34620 * native/target/generic/target_generic_misc.h: Remove old commented
34622 * native/target/generic/target_generic_network.h: Fallbacks (to
34623 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34625 2006-01-22 Tom Tromey <tromey@redhat.com>
34627 * native/target/posix/.cvsignore: Added .deps.
34629 2006-01-22 Mark Wielaard <mark@klomp.org>
34632 reported by James Damour <James.Damour@corp.request.com>
34633 * java/awt/Container.java (addImpl): Use empty string as name when
34634 null constraints for LayoutManager.addLayoutComponent().
34636 2006-01-22 Chris Burdess <dog@gnu.org>
34639 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34640 representing current directory as base for relative URLs.
34642 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34645 * gnu/regexp/REMatch.java(empty): New boolean indicating
34646 an empty string matched.
34647 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34649 (initialize): Support back reference \10, \11, and so on.
34650 (parseInt): renamed from getEscapedChar and returns int.
34651 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34652 when an empty string matched. Fixed a bug of the case where
34653 an empty string matched. Added special handling of {0}.
34654 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34655 when an empty string matched. Fixed the case insensitive matching.
34657 2006-01-21 Roman Kennke <kennke@aicas.com>
34659 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34660 (paint): Added painting of border if one is installed.
34662 2006-01-21 Roman Kennke <kennke@aicas.com>
34664 PR classpath/25843:
34665 * javax/swing/plaf/basic/BasicBorders.java
34666 (getSplitPaneDividerBorder): Use new border constructor
34668 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34669 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34670 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34671 colors are fetched dynamically in the paintBorder method.
34672 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34674 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34676 * javax/swing/plaf/basic/BasicLookAndFeel.java
34677 (initComponentDefaults): Added default for SplitPaneDivider.border.
34678 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34679 (tmpBorder): Removed unneeded inner class.
34680 (BasicSplitPaneDivider): Removed setting of border.
34681 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34683 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34684 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34685 to get behaviour right.
34686 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34687 implementation. This must be rewritten since the layout now works
34688 slightly different (basically, it shouldn't modify the sizes[]
34689 here but instead the dividerLocation.
34690 (dividerLocation): New field.
34691 (installDefaults): Initialize border on divider.
34692 (uninstallDefaults): Only remove background color and border from
34693 splitPane if they are instances of UIDefaults (== not set by
34695 (setDividerLocation): Set the dividerLocation field instead of
34696 doing stunt acts here.
34697 (getDividerLocation): Return dividerLocation field.
34698 (getMinimumDividerLocation): Fixed calculation of minimum location.
34700 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34703 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34705 * lib/Makefile.am: Likewise.
34707 2006-01-21 Roman Kennke <kennke@aicas.com>
34709 * javax/swing/PopupFactory.java
34710 (getPopup): If there is no Swing root found in any way, use a
34711 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34712 for the Swing AWT peers.
34714 2006-01-20 Tom Tromey <tromey@redhat.com>
34716 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34717 Read response body for redirect.
34719 2006-01-20 Chris Burdess <dog@gnu.org>
34721 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34724 2006-01-20 Lillian Angel <langel@redhat.com>
34726 * javax/swing/text/DefaultStyledDocument.java
34727 (pad): Removed, not needed.
34728 (printElements): Likewise.
34729 (printEdit): Likewise.
34731 2006-01-20 Roman Kennke <kennke@aicas.com>
34733 * javax/swing/text/DefaultFormatter.java
34734 (DefaultFormatter): Don't set a value class.
34736 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34738 * javax/swing/DefaultCellEditor.java: Commented.
34740 2006-01-19 Roman Kennke <kennke@aicas.com>
34742 * javax/swing/JOptionPane.java
34743 Added cast to Frame for JDialog constructor.
34745 2006-01-19 Roman Kennke <kennke@aicas.com>
34747 * javax/swing/JWindow.java
34748 (JWindow(Window)): Fixed to accept null owner argument.
34749 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34751 * javax/swing/SwingUtilities.java
34752 (getOwnerFrame): Owner parameter and return value are fixed to
34753 be of type Window for compatibity with the above JWindow
34755 * javax/swing/JDialog.java
34756 (JDialog): Added cast to Frame to make sure the correct constructor
34758 * javax/swing/JFileChooser.java
34759 (createDialog): Added cast to Frame for JDialog constructor.
34761 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34763 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34765 2006-01-19 Roman Kennke <kennke@aicas.com>
34767 * javax/swing/JWindow.java: Added API docs to the constructors.
34769 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34771 * javax/swing/JTable.java: Commenting method headers.
34772 (EditorUpdateTimer): Removed.
34774 2006-01-19 Roman Kennke <kennke@aicas.com>
34776 * javax/swing/JDialog.java
34777 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34778 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34779 SwingUtilities.getOwnerFrame() with the owner argument.
34780 * javax/swing/JFileChooser.java
34781 (showOpenDialog(Component)): Call pack() on the dialog instead of
34782 setting a fixed height.
34783 (showSaveDialog()): Likewise.
34784 (showDialog()): Likewise.
34785 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34786 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34788 * javax/swing/JWindow.java
34789 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34790 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34792 * javax/swing/SwingUtilities.java
34793 (getOwnerFrame): Changed to take a owner parameter that is returned
34794 as owner frame when not null.
34796 2006-01-19 Roman Kennke <kennke@aicas.com>
34798 * gnu/java/awt/peer/swing/SwingFramePeer.java
34799 (handleMouseEvent): Fixed handling of mouse events.
34800 (handleMouseMotionEvent): Fixed handling of mouse events.
34802 2006-01-19 Roman Kennke <kennke@aicas.com>
34804 * native/target/generic/target_generic_misc.c:
34805 (targetGenericMisc_formatString): Added missing method.
34807 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34809 * m4/acinclude.m4: Test also for ecj found before exiting configure
34810 with no javac found error message.
34812 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34815 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34816 \0123, \x1B, \u1234.
34817 (getEscapedChar): New method.
34818 (CharExpression): New inner class.
34819 (getCharExpression): New Method.
34820 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34821 RE_UNICODE_CHAR): New syntax bits.
34823 2006-01-19 Roman Kennke <kennke@aicas.com>
34825 * native/target/Makefile.am: Fixed so that posix stuff is really
34826 only built when requested.
34828 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34830 * javax/swing/JTable.java (editingStopped, editingCancelled):
34831 Repaint the edited cell.
34832 (setValueAt): Do not add the value object to this container.
34833 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34834 (editingStopped): Use editingRow, editingColumn and not
34835 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34836 (doLayout): Move the editor component, if present, into the new
34837 location and call repaint(). (moveToCellBeingEdited): new method.
34838 (TableTextField): new inner class.
34839 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34840 (setValueAt): Repaint the changed segment.
34841 (createDefaultEditors): Implemented.
34842 (BooleanCellRenderer): Center the checkbox and use the default foreground
34843 and background colors.
34844 * javax/swing/plaf/basic/BasicTableUI.java
34845 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34846 (paint): No need to allocate rectangle for each cell.
34847 * javax/swing/DefaultCellEditor.java: Rewritten.
34848 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34849 Use TableDemo.java table example.
34850 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34852 2006-01-19 Roman Kennke <kennke@aicas.com>
34854 * configure.ac: Added/fixed --enable-posix-layer option to enable
34855 build of posix layer.
34856 * native/target/Makefile.am: Added build for posix layer.
34858 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34860 * configure.ac: Set TARGET to Linux per default.
34861 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34863 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34864 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34867 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34869 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34870 what looked like proprietary documentation with original or new one.
34871 * java/security/spec/PSSParameterSpec.java: Likewise.
34872 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34873 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34874 * java/security/AlgorithmParameterGenerator.java: Likewise.
34875 * java/security/AlgorithmParameters.java: Likewise.
34876 * java/security/Identity.java: Likewise.
34877 * java/security/IdentityScope.java: Likewise.
34878 * java/security/KeyFactory.java: Likewise.
34879 * java/security/KeyPairGenerator.java: Likewise.
34880 * java/security/MessageDigest.java: Likewise.
34881 * java/security/Policy.java: Likewise.
34882 * java/security/ProtectionDomain.java: Likewise.
34883 * java/security/Security.java: Likewise.
34884 * java/security/Signature.java: Likewise.
34885 * java/security/SignatureSpi.java: Likewise.
34886 * java/security/SignedObject.java: Likewise.
34887 * java/security/Signer.java: Likewise.
34889 2006-01-18 Roman Kennke <kennke@aicas.com>
34891 * configure.ac: Added --enable-posix-layer option to enable
34892 build of the posix target layer.
34894 2006-01-18 Roman Kennke <kennke@aicas.com>
34896 * native/jni/java-net/java_net_VMInetAddress.c
34897 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34900 2006-01-18 Roman Kennke <kennke@aicas.com>
34902 * native/jni/java-util/java_util_VMTimeZone.c:
34903 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34904 to use target native layer.
34905 (jint_to_charbuf): Removed unneeded helper function.
34907 2006-01-18 Roman Kennke <kennke@aicas.com>
34909 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34910 Removed unnecessary include.
34911 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34912 Reorganized includes to only include sys/* headers when available.
34913 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34914 (get_pagesize): Return 0 when nothing else works.
34915 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34916 Replaced munmap() and strerror() with corresponding target macros.
34917 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34918 Replaced strerror() with corresponding target macro.
34919 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34920 Replaced strerror() with corresponding target macro.
34921 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34922 (Java_java_nio_VMDirectByteBuffer_allocate):
34923 Replaced malloc() with the corresponding target macro.
34924 (Java_java_nio_VMDirectByteBuffer_free):
34925 Replaced free() with the corresponding target macro.
34926 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34927 Add index to pointer when assigning the value.
34928 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34929 Replaced memcpy with corresponding target macro. Add index when
34930 doing the memcpy, not when fetching the pointer.
34931 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34932 Replaced memcpy with corresponding target macro.
34933 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34934 Replaced memmove with the corresponding target macro.
34936 2006-01-17 Tom Tromey <tromey@redhat.com>
34938 PR classpath/20198:
34939 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34940 (JarURLLoader): Likewise.
34941 (addURLImpl): Canonicalize file URLs.
34943 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34945 * configure.ac: Set TARGET.
34946 * native/Makefile.am, native/jni/classpath/Makefile.am,
34947 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34948 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34949 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34950 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34951 native/target/Linux/Makefile.am,
34952 native/target/generic/Makefile.am,
34953 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34954 and target stuff linked in and link it against lib*.so libraries.
34956 2006-01-17 Roman Kennke <kennke@aicas.com>
34958 * native/jni/java-net/javanet.c:
34959 (_javanet_connect): Changed type of some local variables to jint.
34960 Fixed error handling to throw a SocketTimeoutException if the
34961 connection attempt times out.
34962 (_javanet_bind): Changed type of some local variables to jint.
34963 (_javanet_accept): Likewise.
34964 (_javanet_recvfrom): Likewise.
34965 (_javanet_sendto): Fixed error handling to throw a
34966 PortUnreachableException when connection is refused.
34967 (_javanet_get_option): Changed type of some local variables to jint.
34968 Implemented SOCKOPT_SO_BROADCAST.
34969 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34970 target native macro.
34971 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34972 target native macro.
34973 * native/jni/java-net/javanet.h:
34974 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34975 SOCKOPT_SO_BROADCAST.
34977 2006-01-17 Lillian Angel <langel@redhat.com>
34979 * javax/swing/text/DefaultStyledDocument.java
34980 (insert): Cleaned up loop. No need to make so many calls
34981 to getAddedElements and getRemovedElements.
34982 (insertFracture): Removed unneeded array.
34984 2006-01-17 Lillian Angel <langel@redhat.com>
34986 * javax/swing/text/JTextComponent.java
34987 (AccessibleJTextComponent): Implemented.
34988 (getCaretPosition): Implemented.
34989 (getSelectedText): Implemented.
34990 (getSelectionStart): Implemented.
34991 (getSelectionEnd): Implemented.
34992 (getSelectionEnd): Implemented.
34993 (getCharCount): Implemented.
34994 (insertTextAtIndex): Implemented.
34995 (getTextRange): Implemented.
34996 (delete): Implemented.
34997 (cut): Implemented.
34998 (paste): Implemented.
34999 (replaceText): Implemented.
35000 (selectText): Implemented.
35002 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
35004 * javax/swing/text/DefaultStyledDocument.java:
35005 (pad): New debugging method.
35006 (printElements): Likewise.
35007 (printPendingEdits): Likewise.
35008 (printElement): Likewise.
35009 (Edit): Improved docs, moved this class to be an inner class of
35010 ElementBuffer since it only applies within that scope. Changed added
35011 and removed to be Vectors instead of arrays because we need to be able
35012 to add to them after construction.
35013 (ElementBuffer): Updated docs with link to article that helped in this
35014 classes implementation.
35015 (ElementBuffer.Edit.getRemovedElements): New method.
35016 (ElementBuffer.Edit.getAddedElements): Likewise.
35017 (ElementBuffer.Edit.addRemovedElement): Likewise.
35018 (ElementBuffer.Edit.addRemovedElements): Likewise.
35019 (ElementBuffer.Edit.addAddedElement): Likewise.
35020 (ElementBuffer.Edit.addAddedElements): Likewise.
35021 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
35023 (ElementBuffer.getEditForParagraphAndIndex): New method.
35024 (ElementBuffer.removeUpdate): Changed type of paragraph to
35025 BranchElement. Corrected style of adding the edit to use the new Edit
35027 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
35028 the new Edit facilities.
35029 (ElementBuffer.split): Likewise.
35030 (ElementBuffer.insertParagraph): Likewise.
35031 (ElementBuffer.insertContentTag): Likewise.
35032 (ElementBuffer.insert): Push all BranchElements until the deepest one,
35033 not just the root and the first one. Apply the structural changes to
35034 the tree at the same time as updating the DocumentEvent.
35035 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
35036 handling of EndTags as the first ElementSpec. Instead have to handle
35037 ContentTags as a special case if they are the first ElementSpec and if
35038 not have to fracture the tree.
35039 (ElementBuffer.createFracture): New method. May not be complete yet.
35040 Added FIXME indicating what may remain to be done.
35041 (ElementBuffer.insertFirstContentTag): New method.
35042 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
35043 be done. Changed the adding of edits to use the new Edit facilities.
35044 Removed the adding of edits for Elements that weren't in the tree prior
35046 (insertUpdate): Removed incorrect condition for setting a StartTag's
35047 direction to JoinNextDirection.
35048 * javax/swing/text/StyleContent.java:
35049 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
35050 that was causing an ArrayOutOfBoundsException.
35052 2006-01-17 Roman Kennke <kennke@aicas.com>
35054 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35055 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35056 exception messages a little.
35057 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35058 alternative implementation for systems without filesystems.
35059 Replaced snprintf with the corresponding target native macro.
35060 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35061 Only do something when we have a filesystem.
35062 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35063 alternative implementation for systems without filesystems.
35064 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35065 alternative implementation for systems without filesystems.
35066 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35067 alternative implementation for systems without filesystems.
35068 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35069 Only do something when we have a filesystem.
35070 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35071 Only do something when we have a filesystem.
35072 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35073 alternative implementation for systems without filesystems.
35074 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35075 Replaced ssize_t variables with jint. Provided
35076 alternative implementation for systems without filesystems.
35077 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35078 Replaced ssize_t variables with jint. Provided
35079 alternative implementation for systems without filesystems.
35080 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35081 Replaced ssize_t variables with jint. Provided
35082 alternative implementation for systems without filesystems.
35083 (Java_gnu_java_nio_channels_FileChannelImpl_force):
35084 Only do something when we have a filesystem.
35085 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35086 Replaced ssize_t variables with jint. Provided
35087 alternative implementation for systems without filesystems.
35088 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35089 to use the corresponding target native macro.
35090 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35091 to use the corresponding target native macro.
35093 2006-01-17 Lillian Angel <langel@redhat.com>
35095 * javax/swing/text/DefaultTextUI.java:
35096 Added deprecated tag.
35097 * javax/swing/text/JTextComponent.java
35098 (AccessibleJTextComponent): Fixed API doc and
35099 partiall9 implemented.
35100 (getCaretPosition): Fixed API doc and implemented.
35101 (getSelectedText): Fixed API doc.
35102 (getSelectionStart): Likewise.
35103 (getSelectionEnd): Likewise.
35104 (caretUpdate): Fixed API doc and
35105 partially implemented.
35106 (getAccessibleStateSet): Likewise.
35107 (getAccessibleRole): Fixed API doc and implemented.
35108 (getAccessibleEditableText): Implemented.
35109 (getAccessibleText): Fixed API doc and implemented.
35110 (insertUpdate): Fixed API doc.
35111 (changedUpdate): Likewise.
35112 (getIndexAtPoint): Likewise.
35113 (getRootEditorRect): Removed.
35114 (getCharacterBounds): Fixed API doc.
35115 (getCharCount): Likewise.
35116 (getCharacterAttribute): Likewise.
35117 (getAtIndex): Likewise.
35118 (getAfterIndex): Likewise.
35119 (getBeforeIndex): Likewise.
35120 (getAccessibleActionCount): Added function stub.
35121 (getAccessibleActionDescription): Added function,
35122 partially implemented.
35123 (doAccessibleAction): Added function stub.
35124 (setTextContents): Likewise.
35125 (insertTextAtIndex): Likewise.
35126 (delete): Likewise.
35129 (replaceText): Likewise.
35130 (selectText): Likewise.
35131 (setAttributes): Likewise.
35132 (getAccessibleContext): Implemented.
35134 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35137 * gnu/regexp/RETokenRange.java(constructor):
35138 Keep lo and hi as they are.
35139 (match): Changed the case insensitive comparison.
35141 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
35143 * gnu/regexp/RETokenChar.java(chain):
35144 Do not concatenate tokens whose insens flags are diffent.
35146 2006-01-17 Roman Kennke <kennke@aicas.com>
35148 * native/target/generic/target_generic_network.c:
35149 (targetGenericNetwork_receive): Fixed signature to match the
35150 corresponding .h file.
35151 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35152 to match the corresponding .h file.
35154 2006-01-17 Roman Kennke <kennke@aicas.com>
35156 * native/jni/classpath/jcl.c:
35157 (JCL_malloc): Replaced calls to malloc with the corresponding
35158 target layer macro.
35159 (JCL_free): Replaced calls to free with the corresponding
35160 target layer macro.
35161 * native/jni/classpath/native_state.c:
35162 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35163 calloc with the corresponding target layer macro.
35164 (remove_node): Replaced calls to free with the corresponding
35165 target layer macro.
35166 (add_node): Replaced calls to malloc with the corresponding
35167 target layer macro.
35169 2006-01-17 Roman Kennke <kennke@aicas.com>
35171 * native/jni/java-io/java_io_VMObjectStreamClass.c:
35172 (getFieldReference): Use MALLOC/FREE macros for portability instead
35173 of direct call to malloc() and free().
35175 2006-01-17 Roman Kennke <kennke@aicas.com>
35177 * native/jni/classpath/jcl.c: Added missing imports.
35178 (JCL_realloc): Fixed signature to include oldsize. This is needed
35179 for some targets. Make this function use the MEMORY_REALLOC macro
35181 * native/jni/classpath/jcl.h
35182 (JCL_realloc): Adjusted signature.
35183 * native/jni/java-io/java_io_VMFile.c:
35184 (Java_java_io_VMFile_create): Use target layer macro for handling
35185 errno, for portability.
35186 (Java_java_io_VMFile_length): Release filename string in error cases
35188 (Java_java_io_VMFile_list): Initialize filename variable. Use new
35189 version of JCL_realloc.
35190 * native/jni/java-net/java_net_VMInetAddress.c:
35191 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35192 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35193 * native/jni/java-net/javanet.c:
35194 (_javanet_bind): Make errorstr variable const to avoid compiler
35196 (_javanet_set_option): Fixed typo.
35197 (_javanet_get_option): Fixed typo.
35198 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35199 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35200 error_string variable const to avoid compiler warning.
35201 * native/target/generic/target_generic_file.h:
35202 Replaced // comments with /* */ comments to avoid compiler warnings.
35203 Added some spaces to make code better readable.
35204 * native/target/generic/target_generic_memory.h:
35205 Replaced // comments with /* */ comments to avoid compiler warnings.
35206 * native/target/generic/target_generic_misc.c:
35207 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35208 compiler warnings due to use of varargs.
35209 * native/target/generic/target_generic_misc.h:
35210 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35211 compiler warnings due to use of varargs.
35212 * native/target/generic/target_generic_network.h:
35213 Replaced // comments with /* */ comments to avoid compiler warnings.
35214 (targetGenericNetwork_receive): Fixed signature to use signed chars
35215 for buffer parameter to avoid warning when passing a jbyte to the
35218 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
35220 * javax/swing/text/StyleConstants.java
35221 (getAlignment): Removed isDefined() check, so that resolving parent is
35223 (getBackground): Likewise, plus changed default value to Color.BLACK,
35224 (getBidiLevel): Removed isDefined() check,
35225 (getComponent): Likewise,
35226 (getFirstLineIndent): Likewise,
35227 (getFontFamily): Likewise,
35228 (getFontSize): Likewise,
35229 (getForeground): Likewise,
35230 (getIcon): Likewise,
35231 (getLeftIndent): Likewise,
35232 (getLineSpacing): Likewise,
35233 (getRightIndent): Likewise,
35234 (getSpaceAbove): Likewise,
35235 (getSpaceBelow): Likewise,
35236 (getTabSet): Likewise,
35237 (isBold): Likewise,
35238 (isItalic): Likewise,
35239 (isStrikeThrough): Likewise,
35240 (isSubscript): Likewise,
35241 (isSuperscript): Likewise,
35242 (isUnderline): Likewise.
35244 2006-01-17 Gary Benson <gbenson@redhat.com>
35246 * java/lang/System.java (setSecurityManager): Catch
35247 ClassNotFoundException not Throwable.
35249 2006-01-16 Anthony Green <green@redhat.com>
35252 * gnu/java/net/protocol/http/Request.java
35253 (createResponseBodyStream): Remove Content-Encoding for
35254 compressed streams.
35256 2006-01-16 Chris Burdess <dog@gnu.org>
35258 * gnu/xml/stream/XMLParser.java,
35259 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35260 XMLStreamWriter arguments for conformance to the XML specifications.
35261 * gnu/xml/transform/Stylesheet.java,
35262 gnu/xml/transform/Template.java,
35263 gnu/xml/transform/TransformerImpl.java,
35264 gnu/xml/xpath/LangFunction.java,
35265 gnu/xml/xpath/Selector.java: better handling of template priorities;
35266 fix indents when pretty-printing; recursive tests for xml:lang.
35267 * gnu/xml/util/XHTMLWriter.java,
35268 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35270 2006-01-16 Roman Kennke <kennke@aicas.com>
35272 * native/target/MinGW/.cvsignore: New file.
35273 * native/target/RTEMS/.cvsignore: New file.
35274 * native/target/SunOS/.cvsignore: New file.
35275 * native/target/embOS/.cvsignore: New file.
35276 * native/target/posix/.cvsignore: New file.
35278 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35280 * javax/swing/text/StyleConstants.java: Updated API docs all over.
35282 2006-01-16 Roman Kennke <kennke@aicas.com>
35284 * configure.ac: Include new target native directories in build.
35286 2006-01-16 Roman Kennke <kennke@aicas.com>
35288 * native/target/generic/target_generic_file.h: Added missing
35290 * native/target/generic/target_generic_network.c: Fixed several
35291 typos and includes.
35292 * native/target/generic/target_generic_network.h: Likewise.
35294 2006-01-16 Roman Kennke <kennke@aicas.com>
35296 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35297 to include the new targets.
35298 * native/target/posix/Makefile.am: Fixed filenames.
35300 2006-01-16 Roman Kennke <kennke@aicas.com>
35302 * native/target/Makefile.am: Include new targets.
35303 * native/target/Linux/Makefile.am: Include new memory layer.
35304 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35305 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35306 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35307 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35308 * native/target/generic/Makefile.am: Include new memory and math
35310 * native/target/posix/Makefile.am: New file. Includes posix in dist.
35312 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
35315 * gnu/regexp/RE.java(initialize): Parse embedded flags.
35316 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35318 2006-01-16 Roman Kennke <kennke@aicas.com>
35320 * native/target/generic/target_generic_network.c: Fixed typo.
35321 * native/target/generic/target_generic_network.h: Fixed typo.
35323 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
35325 * doc/vmintegration.texinfo: Updated subsection of the
35326 java.lang.InstrumentationImpl documentation.
35328 2006-01-16 Roman Kennke <kennke@aicas.com>
35330 * native/target/RTEMS/target_native.h,
35331 * native/target/RTEMS/target_native_file.h,
35332 * native/target/RTEMS/target_native_io.h,
35333 * native/target/RTEMS/target_native_math.h,
35334 * native/target/RTEMS/target_native_memory.h,
35335 * native/target/RTEMS/target_native_misc.h,
35336 * native/target/RTEMS/target_native_network.h:
35337 New files. Implement the target native layer for the RTEMS platform.
35339 2006-01-16 Roman Kennke <kennke@aicas.com>
35341 * native/target/SunOS/target_native.h,
35342 * native/target/SunOS/target_native_file.h,
35343 * native/target/SunOS/target_native_io.h,
35344 * native/target/SunOS/target_native_math.h,
35345 * native/target/SunOS/target_native_memory.h,
35346 * native/target/SunOS/target_native_misc.h,
35347 * native/target/SunOS/target_native_network.h:
35348 New files. Implement the target native layer for the SunOS platform.
35350 2006-01-16 Roman Kennke <kennke@aicas.com>
35352 * native/target/MinGW/target_native.h,
35353 * native/target/MinGW/target_native_file.h,
35354 * native/target/MinGW/target_native_io.h,
35355 * native/target/MinGW/target_native_math.h,
35356 * native/target/MinGW/target_native_memory.h,
35357 * native/target/MinGW/target_native_misc.h,
35358 * native/target/MinGW/target_native_network.h:
35359 New files. Implement the target native layer for the MinGW
35362 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35365 * javax/swing/DefaultCellEditor.java
35366 (delegate): Assign new instance immediately.
35367 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35368 (getTableCellEditorComponent): Rewritten.
35369 (prepareAsJTextField):New method (add listener only once).
35370 * javax/swing/JTable.java
35371 (editingCanceled): Rewritten.
35372 (editingStopped ): Rewritten.
35373 (rowAtPoint): Mind row margin.
35374 (getCellRect): Mind row margin.
35375 (getDefaultEditor): Removing JTextComponent border.
35376 (editCellAt): Rewritten.
35377 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35378 Activate editing mode by the mouse clicks.
35379 (getMaximumSize): Mind row margin.
35380 (getPreferredSize): Mind row margin.
35381 (TableAction): Added 'stop editing' command.
35383 2006-01-16 Roman Kennke <kennke@aicas.com>
35385 * jni/java-io/java_io_VMFile.c
35386 (Java_java_io_VMFile_list): Use new 4 argument version of
35387 TARGET_NATIVE_FILE_READ_DIR macro.
35388 * target/Linux/target_native_io.h: Fixed comment at #endif.
35389 * target/Linux/target_native_memory.h: New file. Contains
35390 portability macros for memory operations.
35391 * target/generic/target_generic.c: New file. Contains some functions
35393 * target/generic/target_generic.h: Use posix target and shorter macro
35394 names if CP_NEW is set.
35395 * target/generic/target_generic_file.h: Use posix target and shorter
35396 macro names if CP_NEW is set.
35397 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35398 * target/generic/target_generic_io.c: New file. Contains some
35399 functions for IO portability.
35400 * target/generic/target_generic_io.h: Use posix target and shorter
35401 macro names if CP_NEW is set.
35402 * target/generic/target_generic_misc.c: New file. Contains some
35403 functions for miscallaneaous portability issues.
35404 * target/generic/target_generic_misc.h: Use posix target and shorter
35405 macro names if CP_NEW is set.
35406 * target/generic/target_generic_network.c: New file. Contains some
35407 functions for networking portability.
35408 * target/generic/target_generic_network.h: Use posix target and
35409 shorter macro names if CP_NEW is set.
35410 * target/posix/Makefile.am,
35411 * target/posix/target_posix.c,
35412 * target/posix/target_posix.h,
35413 * target/posix/target_posix_file.c,
35414 * target/posix/target_posix_file.h,
35415 * target/posix/target_posix_io.c,
35416 * target/posix/target_posix_io.h,
35417 * target/posix/target_posix_math.c,
35418 * target/posix/target_posix_math.h,
35419 * target/posix/target_posix_memory.c,
35420 * target/posix/target_posix_memory.h,
35421 * target/posix/target_posix_misc.c,
35422 * target/posix/target_posix_misc.h,
35423 * target/posix/target_posix_network.c,
35424 * target/posix/target_posix_network.h:
35425 New files. This implements the target native layer macros for
35426 Posix-like systems.
35428 2006-01-16 Gary Benson <gbenson@redhat.com>
35430 * java/net/SocketPermission.java (implies): Fix action checks.
35432 2006-01-16 Roman Kennke <kennke@aicas.com>
35434 * native/target/generic/target_generic_math_float.h: Removed. This
35435 file has been replaced by target_generic_math.h.
35436 * native/target/generic/target_generic_math_int.h: Removed. This
35437 file has been replaced by target_generic_math.h.
35438 * native/target/generic/target_generic_math.h: New file. Replaces
35439 the old _int and _float versions.
35440 * native/target/Linux/target_native_math_float.h: Removed. This
35441 file has been replaced by target_native_math.h.
35442 * native/target/Linux/target_native_math_int.h: Removed. This
35443 file has been replaced by target_native_math.h.
35444 * native/target/Linux/target_native_math.h: New file. Replaces
35445 the old _int and _float versions.
35446 * native/target/Linux/Makefile.am: Adjusted for the changed
35448 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35449 instead of target_native_math_int.h.
35450 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35452 * native/target/generic/target_generic_file.h: Likewise.
35454 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35456 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35458 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35460 * javax/swing/text/SimpleAttributeSet.java
35461 (SimpleAttributeSet()): Initialise storage directly,
35462 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35463 NullPointerException,
35464 (containsAttribute): If key is found locally, don't check resolving
35465 parent if the value doesn't match,
35466 (getAttribute): Removed redundant instanceof and cast.
35468 2006-01-16 Gary Benson <gbenson@redhat.com>
35470 * java/lang/System.java (setSecurityManager): Ensure policy
35471 files are loaded before a security manager is put in place.
35473 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35475 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35477 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35479 * javax/print/attribute/standard/MediaSize.java:
35480 (static_initializer): Added comment.
35481 (MediaSize): Added javadoc to mention cache registration.
35482 (MediaSize): Likewise.
35483 (MediaSize): Likewise.
35484 (MediaSize): Likewise.
35486 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35489 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35490 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35491 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35492 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35494 (toString): Added method implementation.
35495 (LoginModuleControlFlag.toString): Removed class name from result.
35496 * javax/security/auth/login/Configuration.java: Updated copyright year.
35497 (getConfig(): replaced calls to NullConfiguration with
35500 2006-01-15 Tom Tromey <tromey@redhat.com>
35502 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35503 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35504 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35505 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35506 (setPersistenceDelegate): Likewise.
35508 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35510 * javax/print/attribute/standard/PrinterStateReasons.java:
35511 (printerStateReasonSet): Genericize the return type.
35513 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35515 * javax/swing/table/DefaultTableCellRenderer.java
35516 (getTableCellRendererComponent): Render null as the empty cell.
35518 2006-01-14 Anthony Green <green@redhat.com>
35520 * java/net/ServerSocket.java (accept): Remove bogus
35522 (implAccept): Add FIXME comment.
35524 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35527 * javax/print/Doc.java: Added and enhanced documentation.
35528 * javax/print/SimpleDoc.java: New file.
35530 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35532 * javax/print/attribute/standard/MediaSize.java:
35533 (Other.TABLOID): New MediaSize added in 1.5
35535 2006-01-14 Chris Burdess <dog@gnu.org>
35537 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35538 correctly when I/O and runtime exceptions occur during parsing.
35540 2006-01-13 Roman Kennke <kennke@aicas.com>
35542 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35543 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35544 * gnu/java/awt/peer/swing/SwingComponent.java,
35545 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35546 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35547 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35548 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35549 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35550 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35551 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35552 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35553 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35554 * gnu/java/awt/peer/swing/SwingToolkit.java,
35555 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35556 * gnu/java/awt/peer/swing/package.html:
35557 New files. Implemented some basic AWT peers based on Swing.
35559 2006-01-13 Roman Kennke <kennke@aicas.com>
35561 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35563 2006-01-13 Roman Kennke <kennke@aicas.com>
35565 * java/awt/MenuComponent.java: Reformatted to better match our
35568 2006-01-13 Roman Kennke <kennke@aicas.com>
35570 * java/awt/Frame.java: Reformatted to better match our
35573 2006-01-13 Roman Kennke <kennke@aicas.com>
35575 * java/awt/MenuBar.java
35576 (accessibleContext): Removed unnecessary field. This is already
35577 defined in MenuComponent.
35578 (setHelpMenu): Renamed the peer variable to myPeer because it was
35579 hiding a field of MenuComponent.
35580 (addNotify): Removed unnecessary cast.
35582 2006-01-13 Roman Kennke <kennke@aicas.com>
35584 * java/awt/MenuBar.java: Reformatted to better match our
35587 2006-01-13 Roman Kennke <kennke@aicas.com>
35589 * java/awt/MenuBar.java
35590 (frame): New field.
35591 (removeNotify): Clear frame field when beeing removed from the
35593 * java/awt/Frame.java
35594 (setMenuBar): Store a reference of the frame in the MenuBar.
35595 * java/awt/MenuComponent.java
35596 (postEvent): Implemented to forward the call to the parent until
35597 a parent can handle the event.
35598 (dispatchEvent): Moved handling of old style events from
35599 dispatchEventImpl() to here.
35600 (dispatchEventImpl): Moved handling of old style events to
35603 2006-01-13 Roman Kennke <kennke@aicas.com>
35605 * java/awt/Component.java
35606 (dispatchEvent): Moved handling of old style events from
35607 dispatchEventImpl() to this method.
35608 (translateEvent): Removed unnecessary cast.
35609 (dispatchEventImpl): Moved handling of old style events to
35612 2006-01-13 Lillian Angel <langel@redhat.com>
35614 * javax/swing/text/DefaultStyledDocument.java
35615 (createDefaultRoot): Removed FIXME.
35616 (setLogicalStyle): Added fireUndoableEditUpdate call and
35619 2006-01-13 Lillian Angel <langel@redhat.com>
35621 * javax/swing/text/DefaultStyledDocument.java
35622 (Edit): New inner class.
35623 (changeUpdate): Changed addEdit call to add a new
35624 instance of Edit to the edits Vector, so addEdits can
35627 (insertParagraph): Likewise.
35628 (insertFracture): Likewise.
35629 (insertContentTag): Likewise.
35630 (insert): Added loop to go through edits Vector and perform
35631 addEdit on each object.
35633 2006-01-13 Chris Burdess <dog@gnu.org>
35635 * gnu/xml/transform/AbstractNumberNode.java,
35636 gnu/xml/transform/ApplyImportsNode.java,
35637 gnu/xml/transform/ApplyTemplatesNode.java,
35638 gnu/xml/transform/AttributeNode.java,
35639 gnu/xml/transform/CallTemplateNode.java,
35640 gnu/xml/transform/ChooseNode.java,
35641 gnu/xml/transform/CommentNode.java,
35642 gnu/xml/transform/CopyNode.java,
35643 gnu/xml/transform/CopyOfNode.java,
35644 gnu/xml/transform/DocumentFunction.java,
35645 gnu/xml/transform/ElementNode.java,
35646 gnu/xml/transform/ForEachNode.java,
35647 gnu/xml/transform/IfNode.java,
35648 gnu/xml/transform/LiteralNode.java,
35649 gnu/xml/transform/MessageNode.java,
35650 gnu/xml/transform/OtherwiseNode.java,
35651 gnu/xml/transform/ParameterNode.java,
35652 gnu/xml/transform/ProcessingInstructionNode.java,
35653 gnu/xml/transform/Stylesheet.java,
35654 gnu/xml/transform/Template.java,
35655 gnu/xml/transform/TemplateNode.java,
35656 gnu/xml/transform/TextNode.java,
35657 gnu/xml/transform/TransformerImpl.java,
35658 gnu/xml/transform/ValueOfNode.java,
35659 gnu/xml/transform/WhenNode.java,
35660 gnu/xml/xpath/NodeTypeTest.java,
35661 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35662 with-param parameters when template does not define parameters; apply
35663 conflict resolution for templates; strip whitespace on documents
35664 retrieved via document() function; allow node() to match document
35667 2006-01-13 Mark Wielaard <mark@klomp.org>
35669 * doc/www.gnu.org/announce/20060113.wml: New file.
35670 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35671 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35673 2006-01-13 Lillian Angel <langel@redhat.com>
35675 * javax/swing/text/DefaultStyledDocument.java:
35676 Removed unused fields.
35677 (insert): Removed unused fields.
35678 (endEdit): Removed, not needed.
35679 (insertUpdate): Removed call to endEdit.
35680 (prepareContentInsertion): Removed, not needed.
35681 (insertContentTag): Removed call to prepareContentInsertion.
35682 (printElements): Removed, not needed.
35683 (attributeSetsAreSame): Removed, not needed.
35685 2005-01-13 Mark Wielaard <mark@klomp.org>
35687 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35688 Duplicate of toString(int, StringBuilder).
35690 2005-01-13 Mark Wielaard <mark@klomp.org>
35692 * configure.ac: Set version to 0.20.
35693 * NEWS: Add entries for all the new work done.
35695 2005-01-13 Mark Wielaard <mark@klomp.org>
35697 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35699 2005-01-13 Mark Wielaard <mark@klomp.org>
35701 * java/util/regex/Pattern.java (Pattern): Chain REException.
35703 2006-01-13 Chris Burdess <dog@gnu.org>
35705 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35707 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35709 * java/security/Security.java
35710 (getProperty): Added hack to skip security check when trusted
35711 code is direct caller.
35713 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35715 * java/io/PrintStream.java
35716 (line_separator, PrintStream(OutputStream,boolean)): Use
35719 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35721 * gnu/java/nio/charset/Provider.java: Added comment about its
35722 special relation with CharsetProvider.
35724 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35725 its special relation with CharsetProvider.
35727 * java/nio/charset/spi/CharsetProvider.java
35728 (CharsetProvider): Add special case to skip security check for
35729 built in providers.
35731 2005-01-13 Mark Wielaard <mark@klomp.org>
35733 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35734 name, accel, mnemonic and command are defined before setting.
35736 2005-01-12 Mark Wielaard <mark@klomp.org>
35738 * javax/swing/plaf/metal/MetalFileChooserUI.java
35739 (FileRenderer.getListCellRendererComponent): Set empty name and null
35740 icon when File is null.
35742 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35744 * gnu/java/rmi/server/UnicastRef.java (newCall):
35745 Throw ConnectException after catching IOException.
35747 2006-01-12 Lillian Angel <langel@redhat.com>
35749 * javax/swing/text/DefaultStyledDocument.java
35750 (insertUpdate): Removed unneeded check.
35752 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35754 * javax/swing/text/DefaultStyledDocument.java:
35755 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35756 and we haven't come immediately after a fracture, adjust the Element
35757 offsets. Added comment explaining the situation.
35758 (insert): Return early if no ElementSpecs passed in. Removed redundant
35759 call to insertUpdate. Fired the UndoableEditUpdate.
35761 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35764 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35765 character classes within a subexpression.
35767 2006-12-12 Lillian Angel <langel@redhat.com>
35769 * javax/swing/text/DefaultStyledDocument.java
35770 (insertUpdate): Added check to check if attribute set is
35772 (insertUpdate): Added check to determine if last character
35773 is a newline. If it is, we should not be fracturing.
35774 (insert): Added check to determine if attribute set is empty.
35775 If it is, insertUpdate should not be called.
35777 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35779 * configure.ac: Check for isnan.
35781 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35784 2006-01-12 Chris Burdess <dog@gnu.org>
35786 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35787 1.1 character ranges.
35789 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35791 * javax/swing/TransferHandler.java:
35792 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35793 gnu/testlet/javax/swing/JTextField/CopyPaste.
35795 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35797 * resource/Makefile.am: Install
35798 logging.properties into $(prefix)/lib.
35799 * resource/Makefile.am (securitydir): Changed to
35800 $(prefix)/lib/security.
35802 2006-01-12 Roman Kennke <kennke@aicas.com>
35804 * javax/swing/JTextField.java
35805 (createDefaultModel): Moved installation of the filterNewlines
35806 property to setDocument().
35807 (setDocument): New method. Installs the filterNewlines property
35810 2006-01-12 Chris Burdess <dog@gnu.org>
35812 * gnu/xml/dom/DomNode.java,
35813 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35815 * gnu/xml/xpath/NameTest.java,
35816 gnu/xml/xpath/NamespaceTest.java,
35817 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35819 * gnu/xml/transform/MessageNode.java: Use standard logging system
35820 for outputting messages.
35822 2006-01-12 Tom Tromey <tromey@redhat.com>
35824 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35825 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35826 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35827 (static initializer): Removed cache code.
35828 (checkCacheFor, addToCache): Removed.
35829 (getAllByName): Removed cache code.
35830 (lookup_time): Removed.
35831 (InetAddress): Updated.
35833 2006-01-12 Chris Burdess <dog@gnu.org>
35835 * gnu/xml/dom/DomDocument.java,
35836 gnu/xml/dom/DomElement.java,
35837 gnu/xml/dom/DomNode.java,
35838 gnu/xml/stream/XMLParser.java,
35839 gnu/xml/transform/Bindings.java,
35840 gnu/xml/transform/ElementAvailableFunction.java,
35841 gnu/xml/transform/ElementNode.java,
35842 gnu/xml/transform/FunctionAvailableFunction.java,
35843 gnu/xml/transform/NamespaceProxy.java,
35844 gnu/xml/transform/StreamSerializer.java,
35845 gnu/xml/transform/Stylesheet.java,
35846 gnu/xml/transform/TransformerImpl.java,
35847 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35848 document and element nodes; correct coalescing semantics when parsing;
35849 attribute-sets can only refer to top-level variables and parameters;
35850 fix namespace retrieval during element-available and
35851 function-available functions; implement xsl:fallback for extension
35852 elements; tokenize whitespace correctly during whitespace stripping;
35853 correct following and previous node axes selectors.
35855 2006-01-12 Roman Kennke <kennke@aicas.com>
35857 * java/util/Hashtable.java
35858 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35859 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35861 2006-01-12 Lillian Angel <langel@redhat.com>
35863 * javax/swing/text/GapContent.java
35864 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35866 2006-01-12 Mark Wielaard <mark@klomp.org>
35868 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35869 Throw UnknowHostException when name could not be resolved.
35871 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35873 * java/net/URL.java
35874 (static, getURLStreamHandler): Use SystemProperties.
35876 2006-01-12 Mark Wielaard <mark@klomp.org>
35878 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35879 Use packet.getLength().
35880 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35881 (nativeReceive): Check whether the receiver wants zero bytes.
35883 2006-01-12 Mark Wielaard <mark@klomp.org>
35885 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35886 other side orderly closed connection.
35887 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35888 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35889 when end of stream reached.
35891 2006-01-12 Mark Wielaard <mark@klomp.org>
35893 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35895 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35896 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35897 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35898 * native/jni/java-net/javanet.c: Likewise.
35900 2006-01-12 Mark Wielaard <mark@klomp.org>
35902 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35903 PR classpath/23863.
35905 2006-01-11 Chris Burdess <dog@gnu.org>
35907 * gnu/xml/transform/AttributeNode.java,
35908 gnu/xml/transform/ElementNode.java,
35909 gnu/xml/transform/LiteralNode.java,
35910 gnu/xml/transform/StreamSerializer.java,
35911 gnu/xml/transform/StrippingInstruction.java,
35912 gnu/xml/transform/Stylesheet.java,
35913 gnu/xml/transform/TransformerImpl.java,
35914 gnu/xml/transform/ValueOfNode.java,
35915 gnu/xml/xpath/Expr.java,
35916 gnu/xml/xpath/LocalNameFunction.java,
35917 gnu/xml/xpath/NameFunction.java,
35918 gnu/xml/xpath/NameTest.java,
35919 gnu/xml/xpath/NamespaceUriFunction.java,
35920 gnu/xml/xpath/NodeTypeTest.java,
35921 gnu/xml/xpath/SubstringFunction.java,
35922 javax/xml/namespace/QName.java: don't determine element namespace
35923 from namespace aliases when specified; better namespace handling
35924 when serializing elements; don't create HTML meta element unless
35925 head element exists; correct encoding of CDATA sections containing
35926 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35927 default encoding for HTML output; rewrite of XSLT
35928 strip-space/preserve-space handling; correct doctype-public and
35929 doctype-system output attributes; insert generated doctype before
35930 document element; fixed result tree whitespace stripping
35931 algorithm; fixed semantics of XPath name, local-name, and
35932 namespace-uri functions; name tests handle XML/XMLNS namespaces
35933 correctly; fixed semantics of processing-instruction node test.
35934 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35937 2006-01-11 Lillian Angel <langel@redhat.com>
35939 * javax/swing/text/DefaultStyledDocument.java
35940 (insertFracture): Added calls to addEdit for each time a structure
35941 is changed. addEdit is called on the newBranch, previous, and parent
35944 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35946 * javax/swing/text/DefaultStyledDocument.java:
35947 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35948 This will have been taken care of in insertFracture. Added a comment
35949 explaining that we need to add edits to the DocumentEvent and that
35950 this may be the place to do it.
35952 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35954 * javax/swing/text/DefaultStyledDocument.java:
35955 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35956 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35957 elementStack when there is a start tag with JoinNextDirection.
35959 2006-01-11 Roman Kennke <kennke@aicas.com>
35961 Reported by: Fridjof Siebert <siebert@aicas.com>
35962 * java/util/Hashtable.java
35963 (KEYS): Removed unneeded field.
35964 (VALUES): Removed unneeded field.
35965 (ENTRIES): Removed unneeded field.
35966 (keys): Return a KeyEnumerator instance.
35967 (elements): Returns a ValueEnumerator instance.
35968 (toString): Use an EntryIterator instance.
35969 (keySet): Return a KeyIterator instance.
35970 (values): Return a ValueIterator instance.
35971 (entrySet): Return an EntryIterator instance.
35972 (hashCode): Use EntryIterator instance.
35973 (rehash): Changed this loop to avoid redundant reads and make
35974 it obvious that null checking is not needed.
35975 (writeObject): Use EntryIterator instance.
35976 (HashIterator): Removed class.
35977 (Enumerator): Removed class.
35978 (EntryIterator): New class.
35979 (KeyIterator): New class.
35980 (ValueIterator): New class.
35981 (EntryEnumerator): New class.
35982 (KeyEnumerator): New class.
35983 (ValueEnumerator): New class.
35985 2006-01-11 Lillian Angel <langel@redhat.com>
35987 * javax/swing/text/DefaultStyledDocument.java
35988 (toString): Shouldn't append the '>' character here.
35989 (createDefaultRoot): Should not set the resolve parent. This
35990 causes problems when comparing attribute sets.
35992 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35994 * javax/swing/text/DefaultStyledDocument.java:
35995 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35997 (ElementBuffer.insertFracture): New method.
35998 (ElementBuffer.insertContentTag): Removed unnecessary case for
35999 JoinFractureDirection - this only applies to start tags, not content
36001 (insertUpdate): Corrected conditions for setting direction to
36004 2006-01-10 Roman Kennke <kennke@aicas.com>
36006 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
36007 * ChangeLog-2005: New File.
36009 2006-01-10 Roman Kennke <kennke@aicas.com>
36011 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
36012 (get): Release the array with the correct pointer.
36013 (put): Release the array with the correct pointer. Copy the array
36014 around _before_ releasing it.
36016 2006-01-10 Roman Kennke <kennke@aicas.com>
36018 * javax/swing/ViewportLayout.java
36019 (layoutContainer): Fixed condition, to avoid ClasscastException.
36021 2006-01-10 Roman Kennke <kennke@aicas.com>
36023 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
36024 (MouseHandler.mousePressed): Fixed indendation.
36025 (MouseHandler.mouseDragged): Fixed indendation.
36027 2006-01-10 Roman Kennke <kennke@aicas.com>
36029 * javax/swing/plaf/basic/BasicLookAndFeel.java
36030 (playSound): Added @since 1.4 to the API docs.
36032 2006-01-10 Roman Kennke <kennke@aicas.com>
36034 * javax/swing/plaf/basic/BasicListUI.java
36035 (maybeUpdateLayoutState): Also update the layout state, if the
36036 list has been invalidated since the last update.
36038 2006-01-10 Roman Kennke <kennke@aicas.com>
36040 * javax/swing/plaf/ComponentUI.java
36041 (update): Fixed indendation.
36043 2006-01-10 Roman Kennke <kennke@aicas.com>
36045 * javax/swing/ViewportLayout.java
36046 (layoutContainer): Fixed condition, so that Scrollable components
36047 are always forced to have to Viewport size, when they
36048 return true for getScrollableTracksViewportHeight() and ..Width().
36050 2006-01-10 Roman Kennke <kennke@aicas.com>
36052 * javax/swing/RepaintManager.java
36053 (validateInvalidComponents): Fixed condition to avoid NPE.
36055 2006-01-10 Roman Kennke <kennke@aicas.com>
36057 * javax/swing/JViewport.java:
36058 (static_initializer): Removed unused variable myScrollMode.
36060 2006-01-10 Roman Kennke <kennke@aicas.com>
36062 * javax/swing/JTabbedPane.java:
36063 Cleared API docs a little.
36065 2006-01-10 Roman Kennke <kennke@aicas.com>
36067 * java/util/StringTokenizer.java
36068 (StringTokenizer(String, String, boolean)):
36069 Don't trigger NPE here for conformance with the spec.
36071 2006-01-10 Roman Kennke <kennke@aicas.com>
36073 * java/util/ArrayList.java
36074 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36076 2006-01-10 Roman Kennke <kennke@aicas.com>
36078 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36079 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36080 field to avoid NPE.
36082 2006-01-10 Roman Kennke <kennke@aicas.com>
36084 * native/jni/java-net/javanet.c
36085 (_javanet_shutdownOutput): Replaced strerror() with
36086 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36087 (_javanet_shutdownInput): Replaced strerror() with
36088 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36090 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36092 * java/beans/EventSetDescriptor.java: Reformatted and
36095 2006-01-10 Roman Kennke <kennke@aicas.com>
36097 * java/lang/SecurityManager.java
36098 Fully qualified AWT class references in API docs.
36100 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
36102 * java/beans/EventSetDescriptor.java:
36103 (getGetListenerMethod): New method.
36105 2006-01-10 Mark Wielaard <mark@klomp.org>
36107 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36109 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36112 * java/util/Hashtable.java
36113 (contains): Call equals on existing value.
36114 (containsKey, get, put, remove): Call equals on existing key.
36115 (getEntry): Call equals on existing entry.
36117 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
36120 * java/util/AbstractMap.java
36121 (equals(Object,Object)): Test for identity first.
36122 * java/util/WeakHashMap.java
36123 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36124 (WeakBucket.WeakEntry.toString): Fixed string representation of
36126 (internalGet): Use helper method to determine equality.
36128 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36130 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36133 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36135 * javax/swing/text/PlainDocument.java:
36136 (insertUpdate): Handle special case of an insertion immediately
36137 following a newline character.
36139 2006-01-09 Roman Kennke <kennke@aicas.com>
36141 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36142 (connect): Added stream parameter to _connect() call.
36143 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36144 (connect): Added stream parameter to _connect() call.
36145 * native/jni/java-net/javanet.c
36146 (_javanet_create_localfd): Added stream parameter. Look up
36147 fd field based on the stream parameter either in SocketImpl or
36148 in DatagramSocketImpl.
36149 (_javanet_connect): Added stream parameter. Call create_localfd
36150 using this stream parameter. Set localPort field either in
36151 SocketImpl or in DatagramSocketImpl, depending on the stream
36153 * native/jni/java-net/javanet.c
36154 (_javanet_connect): Added stream parameter.
36156 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36158 * javax.management.Attribute.java: Grammar and
36161 2006-01-09 Mark Wielaard <mark@klomp.org>
36163 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36164 exception when channel is not readable or writable.
36165 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36166 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36167 there is enough space to mmap().
36169 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36171 * java/beans/Introspector.java:
36172 (getBeanInfo(Class, int)): New method.
36173 (getBeanInfo(Class, Class): Moved common code in a new method.
36174 (merge): New method.
36176 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
36178 * java/beans/XMLEncoder.java: Fix spelling mistakes.
36180 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
36182 * javax/swing/text/DefaultStyledDocument.java:
36183 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36184 inlined this method because it needs to change the value of the
36185 finalStartTag and finalStartDirection variables.
36186 (checkForInsertAfterNewline): Removed this method.
36187 (handleInsertAfterNewline): Added case for making the start tag's
36188 direction JoinNextDirection.
36190 2006-01-09 Lillian Angel <langel@redhat.com>
36192 * javax/swing/plaf/basic/BasicTreeUI.java:
36194 (setRowHeight): Row height is set to the max height of
36195 all the nodes, or 20 as a default value.
36196 (getPathBounds): Cleaned up code.
36197 (getMaxHeight): New helper function that gets the max
36198 height of all the rows.
36199 (getClosestPathForLocation): Fixed to use getMaxHeight.
36200 (updateCachedPreferredSize): Likewise.
36201 (installUI): Shouldn't expand tree on startup.
36202 (getNodeDimensions): Fixed to use getMaxHeight.
36204 2006-01-09 Mark Wielaard <mark@klomp.org>
36206 * javax/swing/JList.java (setSelectedIndex): Clear selection when
36207 argument is negative.
36209 2006-01-08 Mark Wielaard <mark@klomp.org>
36211 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36213 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36215 * javax.management.Attribute.java: New file.
36217 2006-01-09 Roman Kennke <kennke@aicas.com>
36219 * java/net/DatagramSocketImpl.java
36220 (localPort): Renamed to localport for correct access from native
36223 2006-01-09 Roman Kennke <kennke@aicas.com>
36225 * javax/swing/Popup.java
36226 (LightweightPopup.hide): Repaint the layered pane when popup is
36229 2006-01-09 Roman Kennke <kennke@aicas.com>
36231 * java/awt/Container.java
36232 (remove): Don't repaint the container here.
36234 2006-01-08 Tom Tromey <tromey@redhat.com>
36236 * java/lang/InheritableThreadLocal.java: Organized imports.
36238 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
36241 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36242 when an empty string matched an empty token.
36244 2006-01-08 Chris Burdess <dog@gnu.org>
36246 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36247 content models from external entities.
36248 * gnu/xml/stream/UnicodeReader.java: Report error instead of
36249 attempting to continue with unpaired surrogates.
36250 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36251 resolving entities with character entity references; better
36252 checking of valid character ranges; don't report an error for URI
36253 fragments in notation declarations; check unbound namespace
36254 prefixes for elements and attributes, including XML 1.1 unbinding
36255 syntax; namespace-aware checking of attribute duplicates.
36257 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
36259 * java/beans/Statement.java: Doc fixes.
36260 (doExecute): Workaround for Class.forName call.
36261 (toString): Made output look more like on the JDK.
36262 * java/beans/Expression.java: Doc fixes.
36263 (toString): Made output look more like on the JDK.
36264 * java/beans/PersistenceDelegate.java,
36265 java/beans/DefaultPersistenceDelegate.java,
36266 java/beans/Encoder.java,
36267 java/beans/XMLEncoder.java: New file.
36268 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36269 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36270 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36271 gnu/java/beans/encoder/Context.java,
36272 gnu/java/beans/encoder/GenericScannerState.java,
36273 gnu/java/beans/encoder/IgnoringScannerState.java,
36274 gnu/java/beans/encoder/MapPersistenceDelegate.java,
36275 gnu/java/beans/encoder/ObjectId.java,
36276 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36277 gnu/java/beans/encoder/ReportingScannerState.java,
36278 gnu/java/beans/encoder/Root.java,
36279 gnu/java/beans/encoder/ScanEngine.java,
36280 gnu/java/beans/encoder/ScannerState.java,
36281 gnu/java/beans/encoder/StAXWriter.java,
36282 gnu/java/beans/encoder/Writer.java: New file.
36283 * gnu/java/beans/encoder/elements/Array_Get.java,
36284 gnu/java/beans/encoder/elements/Element.java,
36285 gnu/java/beans/encoder/elements/List_Set.java,
36286 gnu/java/beans/encoder/elements/Array_Set.java,
36287 gnu/java/beans/encoder/elements/NullObject.java,
36288 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36289 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36290 gnu/java/beans/encoder/elements/StringReference.java,
36291 gnu/java/beans/encoder/elements/ClassResolution.java,
36292 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36293 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36294 gnu/java/beans/encoder/elements/ObjectReference.java,
36295 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36296 gnu/java/beans/encoder/elements/List_Get.java,
36297 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36299 2006-01-08 Chris Burdess <dog@gnu.org>
36301 * java/lang/Character.java (toChars,toCodePoint): Correct these
36302 methods to use algorithms from Unicode specification.
36304 2006-01-08 Mark Wielaard <mark@klomp.org>
36306 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36308 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
36311 * examples/Makefile.am: Corrected DESTDIR install paths.
36313 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36315 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
36316 ASCII character (line 46).
36318 2006-01-07 Roman Kennke <kennke@aicas.com>
36320 * javax/swing/text/TableView.java: New file.
36322 2006-01-07 Chris Burdess <dog@gnu.org>
36324 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36325 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36326 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36327 available; correct handling of unparsed entity references;
36328 absolutize all base URIs; remove commented out code.
36330 2006-01-07 Chris Burdess <dog@gnu.org>
36332 * gnu/xml/stream/SAXParser.java,
36333 gnu/xml/stream/XMLParser.java: Add SAX property to return base
36334 URI of the current event.
36336 2006-01-07 Chris Burdess <dog@gnu.org>
36338 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36341 2006-01-07 Chris Burdess <dog@gnu.org>
36343 * gnu/xml/stream/SAXParser.java,
36344 gnu/xml/stream/XIncludeFilter.java,
36345 gnu/xml/stream/XMLParser.java: Updated documentation.
36347 2006-01-07 Chris Burdess <dog@gnu.org>
36349 * AUTHORS: add self.
36351 2006-01-06 Casey Marshall <csm@gnu.org>
36353 * AUTHORS: add myself.
36355 2006-01-06 Casey Marshall <csm@gnu.org>
36358 * javax/crypto/CipherInputStream.java (logger): new constant.
36359 (cipher): make final.
36360 (outLength, inBuffer, inLength): removed.
36361 (isStream): make final.
36362 (VIRGIN, LIVING, DYING, DEAD, state): removed.
36364 (<init>): call `super,' not `this;' remove `inBuffer' and
36365 `outBuffer' initialization; init `eof;' add debug logging.
36366 (<init>): call `this' with a new null cipher.
36367 (available): fix javadoc to reflect the real semantics; if we
36368 don't have a buffer, call `nextBlock.'
36369 (close): synchronize.
36370 (read): synchronize; fix testing for buffered data.
36371 (read): synchronize; add `skip' semantics if first argument is
36372 `null;' decrypt stream cipher data only if there is any; fix tests
36374 (skip): stop using `available' to see how many data are buffered.
36375 (nextBlock): simplify to use cipher-allocated output buffers
36376 instead of internally allocated ones.
36378 2006-01-06 Tom Tromey <tromey@redhat.com>
36380 * java/lang/String.java (codePointCount): Fixed javadoc.
36382 2006-01-06 Tom Tromey <tromey@redhat.com>
36384 * java/lang/String.java (contains): Added @since.
36386 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
36389 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36390 * gnu/regexp/RETokenRepeated.java(match): Break the loop
36391 when an empty string matched an empty token.
36393 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
36396 * gnu/java/util/WeakIdentityHashMap.java: New file.
36397 * java/lang/InheritableThreadLocal.java
36398 (newChildThread): Modified to remove key indirection.
36399 * java/lang/Thread.java
36400 (locals): Changed type to WeakIdentityHashMap.
36401 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36403 * java/lang/ThreadLocal.java
36404 (key, Key): Removed.
36405 (get, set): Changed to use "this" instead of "key".
36407 2006-01-06 Dalibor Topic <robilad@kaffe.org>
36409 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36411 * native/fdlibm/java-assert.h: Removed file.
36413 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36414 Replaced use of JvAssert by assert.
36416 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36418 * javax/swing/text/DefaultCaret.java:
36419 (setDot): Fixed paramater to Math.max to be this.dot and not the
36422 2006-01-05 Roman Kennke <kennke@aicas.com>
36424 * javax/swing/plaf/basic/BasicListUI.java
36425 (getCellHeight): New helper method.
36426 (getCellBounds): Use new helper method for determining the cell
36428 (paint): Don't call list.indexToLocation() but instead call
36429 directly into the same UI method.
36430 (locationToIndex): Fixed calculation of # visible rows and handling
36432 (indexToLocation): Fixed calculation of # visible rows and handling
36435 2006-01-05 Roman Kennke <kennke@aicas.com>
36437 * javax/swing/plaf/metal/MetalFileChooserUI.java
36438 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36439 in the file chooser.
36441 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
36443 * javax/swing/JTextPane.java:
36444 (replaceSelection): If the document is an AbstractDocument, use replace
36445 rather than remove and insert.
36446 * javax/swing/event/EventListenerList.java:
36447 (getListeners): Reversed the order of the listeners to match the
36448 reference implementation.
36449 * javax/swing/text/AbstractDocument.java:
36450 (insertString): Add the UndoableEdit from the content.insertString call
36451 to the DocumentEvent.
36452 (DefaultDocumentEvent.toString): Implemented.
36453 * javax/swing/text/DefaultCaret.java:
36454 (setDot): Make sure dot is > 0 and less than the length of the
36456 * javax/swing/text/DefaultStyledDocument.java:
36457 (ElementBuffer.insertUpdate): Set the modified tag of the document
36458 event when we get start and end tags. This ensures that we create the
36459 proper BranchElements in endEdit().
36460 (ElementBuffer.insertUpdate): Added FIXME to handle
36461 JoinFractureDirection case.
36462 (insertUpdate): Added code to check if we're inserting immediately
36463 after a newline and to handle this case (create start and end tags).
36464 Only change the direction of the first and last tags if they are of
36466 (checkForInsertAfterNewline): New helper method.
36467 (handleInsertAfterNewline): Likewise.
36468 * javax/swing/text/View.java:
36469 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36472 2006-01-05 Mark Wielaard <mark@klomp.org>
36474 * newsitems.txt: Add fosdem meeting.
36475 * events/events.wml: Likewise.
36476 * events/fosdem06.wml: New file.
36478 2006-01-05 Lillian Angel <langel@redhat.com>
36480 * javax/swing/text/GapContent.java
36481 (createPosition): No positions should be created inside the
36482 gap. Fixed check to ensure this does not happen.
36484 2006-01-05 Roman Kennke <kennke@aicas.com>
36486 * javax/swing/RepaintManager.java
36487 (validateInvalidComponents): Search for the validate root
36488 and start validating there.
36490 2006-01-05 Roman Kennke <kennke@aicas.com>
36492 * javax/swing/plaf/basic/BasicListUI.java
36493 (ComponentHandler): Removed unneeded class.
36494 (ListDataHandler.contentsChanged): Revalidate instead of calling
36496 (ListDataHandler.intervalAdded): Revalidate instead of calling
36498 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36500 (PropertyChangeHandler.propertyChange): Or flags together instead
36501 of adding them. Don't call damageLayout().
36502 (componentListener): Removed unnecessary field.
36503 (damageLayout): Removed unnecessary method.
36504 (installListeners): Don't install unnecessary listeners.
36505 (uninstallListeners): Dito.
36506 (getPreferredSize): Don't ask for the real list height and
36507 calculate with the previously calculated list height.
36508 (locationToIndex): Renamed list parameter to l so that it doesn't
36509 shadow the field with the same name.
36510 (indexToLocation): Renamed list parameter to l so that it doesn't
36511 shadow the field with the same name.
36513 2006-01-04 Tom Tromey <tromey@redhat.com>
36515 * include/.cvsignore: Ignore config-int.h.
36517 2006-01-04 Roman Kennke <kennke@aicas.com>
36519 * javax/swing/plaf/basic/BasicListUI.java
36520 (getPreferredSize): Rewritten to match the specs.
36522 2006-01-04 Roman Kennke <kennke@aicas.com>
36524 * javax/swing/JFileChooser.java
36525 (showOpenDialog): Set fixed width on the dialog.
36526 (showSaveDialog): Set fixed width on the dialog.
36527 (showDialog): Set fixed width on the dialog.
36529 2006-01-04 Roman Kennke <kennke@aicas.com>
36531 * javax/swing/plaf/basic/BasicListUI.java
36532 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36533 Adjusted iteration to not use visibleRowCount and instead iterate
36534 over the real number of elements in cellHeights.
36535 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36536 Adjusted iteration to not use visibleRowCount and instead iterate
36537 over the real number of elements in cellHeights.
36539 2006-01-04 Roman Kennke <kennke@aicas.com>
36541 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36542 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36543 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36545 2006-01-04 Roman Kennke <kennke@aicas.com>
36547 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36548 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36550 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36551 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36553 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36555 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36556 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36557 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36558 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36559 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36560 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36561 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36562 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36564 2006-01-04 Lillian Angel <langel@redhat.com>
36566 * javax/swing/plaf/metal/MetalFileChooserUI.java
36567 (propertyChange): Fixed to change the combo box label
36568 appropriately. Also, fixed to set the textfield's text
36570 (editFile): Fixed size of editing field.
36571 (installComponents): Correctly aligned all panels.
36572 (installStrings): Fixed to set the label's text
36573 appropriately depending on the dialog type.
36575 2006-01-04 Lillian Angel <langel@redhat.com>
36579 * javax/swing/JTree.java
36580 (JTree): Because some L&F defaults have been updated,
36581 the selectionMode for the tree needed to be set to SINGLE.
36582 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36583 Initialized accessoryPanel.
36584 * javax/swing/plaf/metal/MetalFileChooserUI.java
36585 (installComponents): Added accessoryPanel to the filechooser.
36587 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36589 * configure.ac: Added AX_CREATE_STDINT_H
36591 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36593 * m4/ax_create_stdint_h.m4: New file.
36595 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36596 typedefs. Removed stdint.h and inttypes.h includes.
36598 2006-01-03 Mark Wielaard <mark@klomp.org>
36600 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36601 register keyboard action when accelerator is not null.
36602 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36603 re-register accelerator if not null.
36604 (installKeyboardActions): Only put accelerator in map when not null.
36606 2006-01-04 Lillian Angel <langel@redhat.com>
36608 * javax/swing/plaf/basic/BasicLookAndFeel.java
36609 (initComponentDefaults): Removed unneeded default.
36610 * javax/swing/plaf/metal/MetalLookAndFeel.java
36611 (initComponentDefaults): Added and fixed several defaults.
36613 2006-01-04 Roman Kennke <kennke@aicas.com>
36615 * javax/swing/plaf/basic/BasicHTML.java: New class.
36617 2006-01-03 Tom Tromey <tromey@redhat.com>
36619 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36620 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36622 2006-01-03 Mark Wielaard <mark@klomp.org>
36624 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36626 2006-01-03 Mark Wielaard <mark@klomp.org>
36628 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36629 Always call createDefaultTheme().
36630 (createDefaultTheme): Check whether theme is still null.
36632 2006-01-03 Mark Wielaard <mark@klomp.org>
36634 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36635 Color.WHITE if null.
36637 2006-01-03 Lillian Angel <langel@redhat.com>
36639 * javax/swing/plaf/metal/MetalLookAndFeel.java
36640 (getDescription): Fixed to return the correct string.
36642 (getName): Likewise.
36643 (getDefaults): Added check to avoid NPE.
36644 (getAcceleratorForeground): Likewise.
36645 (getAcceleratorSelectedForeground): Likewise.
36646 (getBlack): Likewise.
36647 (getControl): Likewise.
36648 (getControlDarkShadow): Likewise.
36649 (getControlDisabled): Likewise.
36650 (getControlHighlight): Likewise.
36651 (getControlInfo): Likewise.
36652 (getControlShadow): Likewise.
36653 (getControlTextColor): Likewise.
36654 (getControlTextFont): Likewise.
36655 (getDesktopColor): Likewise.
36656 (getFocusColor): Likewise.
36657 (getHighlightedTextColor): Likewise.
36658 (getInactiveControlTextColor): Likewise.
36659 (getInactiveSystemTextColor): Likewise.
36660 (getMenuBackground): Likewise.
36661 (getMenuDisabledForeground): Likewise.
36662 (getMenuForeground): Likewise.
36663 (getMenuSelectedBackground): Likewise.
36664 (getMenuSelectedForeground): Likewise.
36665 (getMenuTextFont): Likewise.
36666 (getPrimaryControl): Likewise.
36667 (getPrimaryControlDarkShadow): Likewise.
36668 (getPrimaryControlHighlight): Likewise.
36669 (getPrimaryControlInfo): Likewise.
36670 (getPrimaryControlShadow): Likewise.
36671 (getSeparatorBackground): Likewise.
36672 (getSeparatorForeground): Likewise.
36673 (getSubTextFont): Likewise.
36674 (getSystemTextColor): Likewise.
36675 (getSystemTextFont): Likewise.
36676 (getTextHighlightColor): Likewise.
36677 (getUserTextColor): Likewise.
36678 (getUserTextFont): Likewise.
36679 (getWhite): Likewise.
36680 (getWindowBackground): Likewise.
36681 (getWindowTitleBackground): Likewise.
36682 (getWindowTitleFont): Likewise.
36683 (getWindowTitleForeground): Likewise.
36684 (getWindowTitleInactiveBackground): Likewise.
36685 (getWindowTitleInactiveForeground): Likewise.
36687 2006-01-03 Mark Wielaard <mark@klomp.org>
36689 * javax/swing/JTextArea.java
36690 (JTextArea(Document,text,int,int)): Only call setText() when text is
36693 2006-01-03 Lillian Angel <langel@redhat.com>
36695 * javax/swing/plaf/basic/BasicFileChooserUI.java
36696 (installStrings): Fixed installation of defaults that
36697 were changed in BasicLookAndFeel.
36698 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36699 (installDefaults): Fixed installation of defaults that
36700 were changed in BasicLookAndFeel.
36702 2006-01-03 Lillian Angel <langel@redhat.com>
36704 * javax/swing/plaf/basic/BasicLookAndFeel.java
36705 (initComponentDefaults): Fixed several defaults that differed
36708 2006-01-03 Lillian Angel <langel@redhat.com>
36710 * javax/swing/tree/DefaultTreeSelectionModel.java
36711 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36713 2006-01-03 Lillian Angel <langel@redhat.com>
36715 * javax/swing/AbstractAction.java
36716 (AbstractAction): Fixed to pass in null. Should not be
36717 an empty string. Removed TODO comment.
36718 (AbstractAction): Removed TODO comment.
36719 * javax/swing/JList.java
36720 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36721 * javax/swing/JMenuItem.java
36722 (JMenuItem): Set all defaults if the action passed in is not null.
36723 * javax/swing/JProgressBar.java
36724 (JProgressBar): Added check to prevent NPE.
36726 2006-01-03 Lillian Angel <langel@redhat.com>
36728 * javax/swing/plaf/basic/BasicListUI.java
36729 (getPreferredSize): The JDK adds some extra space to
36730 the list, so we should as well.
36731 * javax/swing/plaf/metal/MetalFileChooserUI.java
36732 (getPreferredSize): Should only take the fileListPanel's
36733 width into account when getting the size. Also, the buttonPanel's
36734 size should not be checked, since it is in the bottomPanel already.
36735 (getMinimumSize): Likewise.
36737 2006-01-03 Lillian Angel <langel@redhat.com>
36739 * javax/swing/JList.java
36740 (init): visibleRowCount should be 7, like the JDK.
36741 * javax/swing/plaf/metal/MetalFileChooserUI.java
36742 (installComponents): No need to add the fileFilterCombo
36743 to a panel. It can be added to the row directly.
36745 2006-01-03 Lillian Angel <langel@redhat.com>
36747 PR classpath/25480 PR classpath/25478
36748 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36749 (updateViewport): Made changes suggested by
36751 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36752 Removed unneeded import.
36753 (createList): Removed comment, JList wrapping
36755 (getPreferredSize): Made changes suggested by
36756 Chris Lansdown. Uses fileListPanel, instead
36758 (getMinimumSize): Uses fileListPanel, instead
36760 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36761 (paintFocus): Fixed height.
36763 2006-01-03 Roman Kennke <kennke@aicas.com>
36765 * javax/swing/plaf/basic/BasicListUI.java
36766 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36768 2006-01-03 Roman Kennke <kennke@aicas.com>
36770 * javax/swing/plaf/basic/BasicListUI.java
36771 (locationToIndex): Special case for when variable cell heights
36772 are possible. (cellHeights is used instead of cellHeight).
36773 (indexToLocation): Special case for when variable cell heights
36774 are possible. (cellHeights is used instead of cellHeight).
36776 2006-01-03 Roman Kennke <kennke@aicas.com>
36778 * javax/swing/text/DefaultStyledDocument.java
36779 (ElementBuffer.remove): New method.
36780 (ElementBuffer.removeUpdate): New method.
36781 (removeUpdate): New method.
36783 2006-01-03 Roman Kennke <kennke@aicas.com>
36786 (dist-hook): Preserve attributes of Java sources when copying to
36789 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36791 * AUTHORS: Added self.
36792 * java/security/Security.java (getProvider): Ensures provider's name is
36793 not null, not an empty string, and is trimmed before usage.
36795 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36797 * gnu/CORBA/Poa/AOM.java (add):
36798 Changed parameter Object into gnuServantObject.
36799 (Obj.object): Changed type to gnuServantObject.
36800 (findObject): Rewritten.
36802 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36804 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36805 buffering. Ability has gone in Qt-4.1.x.
36807 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36808 to have the right include flags.
36810 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36812 * java/security/MessageDigest.java (getInstance(String,String)):
36813 Use trimmed copy of provider name.
36814 * gnu/java/security/Engine.java
36815 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36816 service and algorithm names.
36818 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36820 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36821 localhost is null or is an empty string. Trim hostname before