1 2007-03-16 Tom Tromey <tromey@redhat.com>
3 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
6 2007-03-16 Tom Tromey <tromey@redhat.com>
8 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
9 (printClass): Added filename argument.
10 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
11 (printClass): Added filename argument.
12 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
13 (printClass): Use user's file name.
14 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
15 (printClass): Use user's file name.
16 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
18 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
20 (writeHeaders): Use a HashMap.
21 (run): Put class name into HashMap for writeHeaders.
23 2007-03-02 Mario Torre <neugens@limasoftware.net>
26 committed for Petteri Räty <betelgeuse@gentoo.org>
27 * configure.ac: fix broken build for gcj browser plugin
29 2007-02-20 Jakub Jelinek <jakub@redhat.com>
31 * java/util/Date.java (parse): Properly parse 09:01:02 as
32 hours/minutes/seconds, not as hours/minutes/year.
33 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
34 {start,end}TimeMode constructor by calling shorter constructor,
35 set {start,end}TimeMode fields after it returns.
36 (setStartRule): Don't adjust startTime into WALL_TIME. Set
37 startTimeMode to WALL_TIME.
38 (endStartRule): Similarly.
39 (getOffset): Handle properly millis + dstOffset overflowing into the
40 next day. Adjust startTime resp. endTime based on startTimeMode
42 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
44 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
45 If non-null, set up aliases0 and don't put anything into
47 (defaultZone): Call getTimeZone instead of timezones().get.
48 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
49 getTimeZoneInternal instead of timezones().get.
50 (parseTime): Parse correctly hour:minute.
51 (getTimeZoneInternal): New private method.
52 (getTimeZone): Do the custom ID checking first, canonicalize
53 ID for custom IDs as required by documentation. Call
54 getTimeZoneInternal to handle the rest.
55 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
56 (getAvailableIDs(File,String,ArrayList)): New private method.
57 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
58 * gnu/java/util/ZoneInfo.java: New file.
60 2007-02-20 Matthias Klose <doko@ubuntu.com>
62 * doc/Makefile.am: Add rules to build and install man pages
64 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
65 Rename, prefix files with "cp-".
66 * doc/cp-tools.texinfo: Add markup for man page generation,
67 add documentation for command line options for gjar, gjavah,
68 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
69 doc/texi2pod.pl: New, taken from the GCC sources.
71 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
74 * javax/management/MBeanInfo.java (MBeanInfo):
75 Use clone to duplicate the arrays in order to
76 preserve the array type.
78 2007-02-16 Andrew Haley <aph@redhat.com>
80 * gnu/java/lang/management/MemoryMXBeanImpl.java,
81 javax/management/MBeanServerDelegate.java: Use
82 gnu.javax.management.ListenerData rather than
83 gnu.classpath.ListenerData.
84 * gnu/javax/management/ListenerData.java: Move here from
85 gnu/classpath/ListenerData.java.
87 2007-02-14 Jakub Jelinek <jakub@redhat.com>
88 Andrew Haley <aph@redhat.com>
90 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
92 2007-02-09 Tom Tromey <tromey@redhat.com>
96 * configure.ac: Also check for jack/jack.h.
98 2007-02-09 Jakub Jelinek <jakub@redhat.com>
100 * java/util/TimeZone.java: Handle default (one hour) daylight
103 2007-02-09 Jakub Jelinek <jakub@redhat.com>
106 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
107 just Rule lines, in the other everything else. Pass 0 instead of
108 $savings as second argument to parseRule when parsing the start
110 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
112 2007-02-07 Chris Burdess <dog@gnu.org>
115 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
116 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
117 SAXSources without a backing URL or stream.
120 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
121 LSParser if implementation does not support asynchronous.
122 * gnu/xml/stream/XMLParser.java,
123 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
124 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
125 protocol handler problems.
127 2007-02-06 Tom Tromey <tromey@redhat.com>
130 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
131 (printClass): Always print a header.
133 2007-02-05 Andrew Haley <aph@redhat.com>
136 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
137 (printClass): Replace '/' in filenames with '_'.
138 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
139 (printClass): Likewise.
141 2007-02-05 Tom Tromey <tromey@redhat.com>
143 * java/net/Proxy.java (equals): Handle case where address==null.
144 (hashCode): Likewise.
145 (toString): Likewise.
147 2007-01-31 Tom Tromey <tromey@redhat.com>
149 * resource/gnu/classpath/tools/jar/messages.properties
150 (Main.Stdin): New message.
151 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
153 (readNames): New method.
156 2007-01-26 Andrew Haley <aph@redhat.com>
158 * java/lang/SecurityManager.java: Load and initialize
159 java.security.Security.
161 2007-01-26 Tom Tromey <tromey@redhat.com>
163 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
164 'volatile' after field type.
166 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
168 * java/util/Arrays.java (binarySearch): Change comparison order.
170 2007-01-17 Tom Tromey <tromey@redhat.com>
172 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
173 (PathOptionGroup): Set default boot class path.
175 2006-12-14 Andrew Haley <aph@redhat.com>
177 * tools/gnu/classpath/tools/jar/Creator.java: Close the
180 2006-10-12 Andrew Haley <aph@redhat.com>
182 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
183 * java/lang/ThreadLocal.java: Likewise.
185 2006-09-13 Andrew Haley <aph@redhat.com>
187 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
188 Revert previous gcj-specific disabling of checks.
189 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
191 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
194 2006-09-13 Andrew Haley <aph@redhat.com>
196 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
198 (Iterator.remove()): Decrement index after removing element.
200 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
202 * javax/net/ssl/SSLSocketFactory.java (getDefault):
203 Chain exception cause.
205 2006-12-11 Roman Kennke <kennke@aicas.com>
207 * .classpath: Include ASM in Eclipse classpath.
209 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
211 * gnu/java/lang/management/BeanImpl.java:
212 (translate(String)): Trim strings of whitespace.
213 * javax/management/MBeanAttributeInfo.java:
214 (MBeanAttributeInfo(String,String,Method,Method)):
215 Use Class.getName() for normal (non-parameterized) cases.
216 * javax/management/MBeanConstructorInfo.java:
217 (MBeanConstructorInfo(String, Constructor)):
219 * javax/management/MBeanOperationInfo.java:
220 (MBeanOperationInfo(String, Method)):
223 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
225 * java/lang/Class.java:
226 (getClasses()): Return Class<?>[].
227 (internalGetClasses()): Likewise.
228 (getConstructor(Class<?>...)): Add type parameter
230 (getDeclaredConstructor(Class<?>...)): Likewise.
231 (getDeclaredClasses()): Return Class<?>[].
232 (getDeclaredClasses(boolean)): Likewise.
233 (getDeclaredConstructors()): Return Constructor<?>[].
234 (getDeclaredConstructors(boolean)): Likewise.
235 (getDeclaredMethod(String,Class<?>...)): Add type
236 parameter to parameters.
237 (getInterfaces()): Return Class<?>[].
238 (getMethods(String,Class<?>...)): Add type
239 parameter to parameters.
240 * java/text/CollationKey.java:
242 * java/text/DecimalFormatSymbols.java:
245 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
247 * gnu/java/lang/management/BeanImpl.java:
248 (translate(String)): Handle Map and List as
249 Strings of the form "java.util.Map<K,V>" and
251 * javax/management/MBeanAttributeInfo.java:
252 (MBeanAttributeInfo(String,String,Method,Method)):
253 Use generic parameter and return types.
254 * javax/management/MBeanConstructorInfo.java:
255 (MBeanConstructorInfo(String, Constructor)):
256 Use generic parameter types.
257 * javax/management/MBeanOperationInfo.java:
258 (MBeanOperationInfo(String, Method)):
259 Use generic parameter and return types.
261 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
263 * gnu/java/lang/management/BeanImpl.java:
264 (translate(String)): Comment out code for using type
265 variables for Map and List.
266 * java/lang/Thread.java:
267 (Thread(ThreadGroup,Runnable,String,long)): Fix
268 incrementation of totalThreadsCreated to be prior to use.
270 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
272 * javax/management/MBeanServerFactory.java:
273 (createMBeanServer(String)): Added security check.
274 (findMBeanServer(String)): Likewise.
275 (newMBeanServer(String)): Likewise.
276 (releaseMBeanServer(String)): Likewise.
277 * javax/management/MBeanServerPermission.java:
280 2006-12-08 David Daney <ddaney@avtrex.com>
282 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
285 2006-12-08 David Daney <ddaney@avtrex.com>
287 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
289 2006-12-08 David Daney <ddaney@avtrex.com>
291 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
293 (HTTPConnection): Handle NumberFormatException in properties parsing.
294 (Pool.get): Set timeout on reused sockets.
295 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
297 (HTTPURLConnection): Cleanup properties handling.
298 (getConnection): Use both connection and read timeouts.
299 (setConnectTimeout): Removed.
300 (setReadTimeout): New method.
301 * java/net/URLConnection.java (timeout): Renamed to...
302 (connectTimeout): ... connectTimeout throughout.
303 (readTimeout): New field.
304 (getReadTimeout): New method.
305 (setReadTimeout): New method.
307 2006-12-08 Tania Bento <tbento@redhat.com>
309 * java/awt/ScrollPane.java
310 (doLayout): Change the location of the scrollpane's child
313 2006-12-08 David Daney <ddaney@avtrex.com>
315 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
317 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
318 SocketTimeoutException if a blocking socket timesout.
319 (Java_gnu_java_nio_VMChannel_readScattering): Same.
320 (Java_gnu_java_nio_VMChannel_read__I): Same.
321 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
322 (Java_gnu_java_nio_VMChannel_connect6): Same.
324 2006-12-08 Mark Wielaard <mark@klomp.org>
326 * configure.ac (VERSION): Set to 0.93-generics.
327 * NEWS: Add release date.
329 2006-12-08 Tania Bento <tbento@redhat.com>
331 * java/awt/ScrollPane.java
332 (getScrollPosition): Throw NullPointerException if scrollpane
334 (setScrollPosition(int, int)): Throw NullPointerException if
335 scrollpane does have a child. Check that both ints are within
336 the allowed bounds; If they are not, scroll to the closest allowed
339 2006-12-07 Roman Kennke <kennke@aicas.com>
341 * javax/swing/JEditorPane.java
342 (EditorKitMapping): New inner helper class.
343 (editorKits): New static field for caching editor kit instances.
344 (static_initiazer): Initialize static mappings here.
345 (createEditorKitForContentType): Try to use cached instance.
346 Use correct classloader for loading.
347 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
349 (getEditorKitForContentType): Store the fetched editor kit.
350 Fallback to createDefaultEditorKit().
351 (init): Don't clean the static registry here.
352 (registerEditorKitForContentType(String,String,ClassLoader)):
354 (registerEditorKitForContentType(String,String)): Delegate to
355 the other version of this method with the thread's context
358 2006-12-07 Mark Wielaard <mark@klomp.org>
360 * examples/gnu/classpath/examples/swing/HtmlDemo.java
361 (setPage): Don't convert URL to String for setPage().
363 2006-12-07 Mark Wielaard <mark@klomp.org>
365 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
367 2006-12-07 Mark Wielaard <mark@klomp.org>
369 * tools/Makefile.am: Explicitly define and use bootclasspath as
372 2006-12-07 Mark Wielaard <mark@klomp.org>
374 * javax/swing/JEditorPane.java (createEditorKitForContentType):
375 Always load from system class loader.
377 2006-12-07 Mark Wielaard <mark@klomp.org>
379 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
381 (URL(URL,String,URLStreamHandler)): Call new constructor.
382 (URL(URL,String)): Likewise.
383 (URL(String)): Likewise.
385 2006-12-07 Tom Tromey <tromey@redhat.com>
388 * INSTALL: Don't mention --with-asm.
389 * tools/external/README: New file.
390 * tools/toolwrapper.c (main): Don't use ASM_JAR.
391 * tools/gjavah.in: Don't use PATH_TO_ASM.
392 * tools/grmic.in: Likewise.
393 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
395 (javah, rmic): Removed variables.
396 (bin_PROGRAMS): Updated.
397 (gappletviewer_CFLAGS): Don't define ASM_JAR.
398 (gjarsigner_CFLAGS): Likewise.
399 (gkeytool_CFLAGS): Likewise.
400 (gjar_CFLAGS): Likewise.
401 (gnative2ascii_CFLAGS): Likewise.
402 (gserialver_CFLAGS): Likewise.
403 (grmiregistry_CFLAGS): Likewise.
404 (gtnameserv_CFLAGS): Likewise.
405 (gorbd_CFLAGS): Likewise.
406 (grmid_CFLAGS): Likewise.
407 (gjavah_CFLAGS): Likewise.
408 (grmic_CFLAGS): Likewise.
409 (bin_SCRIPTS): Updated.
410 (TOOLS_JAVA_FILES): Updated.
411 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
412 * configure.ac: Removed --with-asm. Always build gjavah.
414 2006-12-06 Roman Kennke <kennke@aicas.com>
416 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
418 * examples/gnu/classpath/examples/swing/HtmlDemo.java
419 (LoadActionListener): Call setPage() helper method.
420 (createContent): Register tweaked editor kit. For FormSubmitEvents
421 call submitForm(), otherwise setPage().
422 (postData): Helper method for posting form data.
423 (setPage): Helper method for navigating to a new URL.
424 (submitForm): Helper method for submitting a form.
425 * examples/gnu/classpath/examples/swing/forms.html:
426 Added text/password fields and select boxes.
427 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
429 2006-12-06 Roman Kennke <kennke@aicas.com>
431 * javax/swing/text/html/FormView.java
432 (SubmitThread.postData): Implemented.
433 (SubmitThread.run): Pass data to postData().
434 (actionPerformed): Reset form when reset button is activated.
435 (createComponent): Add support for select lists and comboboxes.
436 Don't set value of text and password fields here, this is done
437 now in HTMLDocument for consistency.
438 (getElementFormData): Add support for fetching form data from
439 select lists and comboboxes as well as textareas.
440 (getSelectData): New helper method. Fetches form data from
442 (getTextAreaData): New helper method. Fetches form data from
444 (resetForm): New helper method. Resets the entire form.
445 * javax/swing/text/html/HTMLDocument.java
446 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
447 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
448 (HTMLReader.FormAction.setModel): Initialize text and password
449 values here. Also, use the resetable special models.
450 Group radio buttons into ButtonGroup for exclusive selection.
451 (HTMLReader.FormTagAction): New class. Handles FORM tags.
452 (HTMLReader.buttonGroups): New field.
453 (HTMLReader.numOptions): New field.
454 (HTMLReader.option): New field.
455 (HTMLReader.selectModel): New field.
456 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
457 (HTMLReader.handleText): Handle OPTION text.
458 (HTMLReader.initTags): Map FORM tags to FormTagAction.
459 (HTMLReader.textAreaContent): Set initial content.
460 * javax/swing/text/html/Option.java
461 (Option): Make copy of attribute set. Initialize selected state.
462 (getValue): Fetch value from attribute set.
463 * javax/swing/text/html/ResetableModel.java: New interface.
464 * javax/swing/text/html/ResetablePlainDocument.java: New class.
465 Supports resetting the state.
466 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
467 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
468 * javax/swing/text/html/SelectListModel.java: Likewise.
470 2006-12-06 Roman Kennke <kennke@aicas.com>
472 * javax/swing/text/DefaultCaret.java
473 (appear): Adjust visibility here.
474 (setDotImpl): Don't adjust visibility here.
475 (moveDotImpl): Don't adjust visibility here.
477 2006-12-06 Roman Kennke <kennke@aicas.com>
479 * gnu/java/awt/peer/gtk/AsyncImage.java
480 (Loader.run): Synchronize on the AsyncImage to avoid threading
482 (addObservers): Check for obs==null outside and synchronize on
483 this inside to avoid locking issues.
484 (checkImage): New helper method.
485 (notifyObservers): Check that the correct lock is held and
486 remove actual locking.
487 * gnu/java/awt/peer/gtk/GtkToolkit.java
488 (checkImage): Added special handling for AsyncImages.
490 2006-12-06 Roman Kennke <kennke@aicas.com>
492 * examples/gnu/classpath/examples/swing/Demo.java
493 (getIcon): Made package private.
494 * examples/gnu/classpath/examples/swing/HtmlDemo.java
495 (hyperlinkUpdate): Convert URL to string.
497 2006-12-06 Mark Wielaard <mark@klomp.org>
499 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
502 2006-12-06 Roman Kennke <kennke@aicas.com>
504 * examples/gnu/classpath/examples/icons/back.png,
505 * examples/gnu/classpath/examples/icons/reload.png:
506 New icons for the HTML browser.
507 * examples/gnu/classpath/examples/swing/HtmlDemo.java
508 (history): New field. Manages the browsing history.
509 (HtmlDemo): Initialize history.
510 (createContent): Set location and add history. Add toolbar.
511 (createToolBar): New helper method.
512 (main): Make default size bigger.
513 * examples/gnu/classpath/examples/swing/frame1.html,
514 * examples/gnu/classpath/examples/swing/frame2.html,
515 * examples/gnu/classpath/examples/swing/frame3.html,
516 * examples/gnu/classpath/examples/swing/frame4.html,
517 * examples/gnu/classpath/examples/swing/frames.html,
518 * examples/gnu/classpath/examples/swing/tables.html:
520 * examples/gnu/classpath/examples/swing/welcome.html
521 Add a couple of links and new test pages.
523 2006-12-06 Roman Kennke <kennke@aicas.com>
525 * javax/swing/JEditorPane.java
526 (getStream): Buffer the stream for efficiency.
527 (setPage): Don't scroll the view at this point.
528 * javax/swing/plaf/basic/BasicTextUI.java
529 (RootView.paint): Call RootView's setSize to get synchronization.
530 (RootView.setSize): Synchronize to prevent race in layout code.
531 * javax/swing/text/AbstractDocument.java
532 (notifyListeners): New field.
533 (fireChangedUpdate): Track notifyListener field.
534 (fireRemoveUpdate): Track notifyListener field.
535 (fireIndertUpdate): Track notifyListener field.
536 (writeLock): Check notifyListener and throw IllegalStateException.
537 * javax/swing/text/View.java
538 (preferenceChanged): Create local var for better thread safety and
541 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
543 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
544 lightweight component, not just for non-Panel components.
545 (addImpl): Do not call doLayout.
546 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
547 (setNativeBounds): Ensure widget parent is a GtkFixed before
548 calling gtk_fixed_move.
549 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
550 (setNativeBounds): Likewise.
551 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
552 (setNativeBounds): Likewise.
554 2006-12-06 Roman Kennke <kennke@aicas.com>
556 * javax/swing/text/html/TableView.java
557 (RowView.layoutMajorAxis): Check column index for invalid value.
558 (updateGrid): Check column index for invalid value.
560 2006-12-06 Roman Kennke <kennke@aicas.com>
562 * javax/swing/text/html/BlockView.java
563 (getAlignment): Align blocks horizontally by the superclass.
564 * javax/swing/text/html/HTMLEditorKit.java
565 (HTMLFactory.create): Replace equals comparison by == for efficiency.
566 Add mapping for misplaced tr, td and th tags. Include object mapping.
567 * javax/swing/text/html/TableView.java
568 (RowView.replace): Invalidate grid early.
569 (gridValid): Initialize with false.
570 (create): Only create RowView and CellView for correctly placed
571 tags. Avoid unnecessary casts.
572 (getAlignment): Removed.
573 (replace): Invalidate grid early.
575 2006-12-06 Francis Kung <fkung@redhat.com>
577 * java/awt/geom/RectangularShape.java
578 (getBounds): Remove empty rectangle check.
580 2006-12-06 Ben Konrath <bkonrath@redhat.com>
583 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
584 newValue are the same.
585 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
587 2006-12-06 Tania Bento <tbento@redhat.com>
589 * javax/swing/border/CompoundBorder.java:
590 (isBorderOpaque): If inside border is null, return true if outside
591 border is opaque, false otherwise; if outside border is null, return
592 true if inside border is opaque, false otherwise; if inside or
593 outside border are both not null, then return true only if both the
594 inside and outside border are opaque, false otherwise.
596 2006-12-06 Tania Bento <tbento@redhat.com>
598 * javax/swing/border/CompoundBorder.java:
599 (isBorderOpaque): If inside and outside border both have a null
602 2006-12-06 Chris Burdess <dog@gnu.org>
605 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
606 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
608 2006-12-06 Chris Burdess <dog@gnu.org>
611 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
614 2006-12-06 Chris Burdess <dog@gnu.org>
617 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
618 discover schema factory implementation class.
620 2006-12-05 Francis Kung <fkung@redhat.com>
622 * java/awt/BasicStroke.java
623 (capEnd): Prevent division by zero.
624 * java/awt/geom/Arc2D.java
625 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
626 (ArcIterator.currentSegment): Handle a negative extent.
628 2006-12-05 Francis Kung <fkung@redhat.com>
630 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
631 (constructor): Handle translated subimages properly, ie, if the image's
632 0,0 position is not the data buffer's first element.
634 2006-12-05 Roman Kennke <kennke@aicas.com>
636 * gnu/java/awt/peer/gtk/AsyncImage.java
637 (Loader.run): Nullify observers after loading.
638 (observers): Made package private.
639 (addObserver): Check for null observers field. Create local
640 variable for thread safety.
641 (getHeight): Use addObserver() for checking state of field
642 and notifying observer when necessary.
643 (getWidth): Use addObserver() for checking state of field
644 and notifying observer when necessary.
645 (getProperty): Use addObserver() for checking state of field
646 and notifying observer when necessary.
647 (notifyObservers): Check for null observers field. Create local
648 variable for thread safety.
650 2006-12-05 Roman Kennke <kennke@aicas.com>
652 * javax/swing/text/html/HTMLEditorKit.java
653 (HTMLFactory.create): Removed debug output.
654 * javax/swing/text/html/InlineView.java
655 (getBreakWeight): Likewise.
656 * javax/swing/text/html/StyleSheet.java
658 (ListPainter.paint): Removed debug output.
660 2006-12-05 Roman Kennke <kennke@aicas.com>
662 * javax/swing/text/html/BlockView.java
663 (painter): Made package visible.
664 * javax/swing/text/html/StyleSheet.java
665 (translateBorder): New helper method.
666 (translateHTMLToCSS): Add mappings for border attributes.
667 * javax/swing/text/html/TableView.java
668 Made class subclass of BlockView to get CSS goodness.
669 (CellView.rowSpan): New field.
670 (CellView.setPropertiesFromAttributes): Fetch rowspan.
671 (RowView.overlap): New field.
672 (RowView.rowIndex): New field.
673 (RowView.layoutMajorAxis): Skip overlapping cells.
674 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
675 (numColumns): New field.
676 (tmpRect): New field.
677 (TableView): Initialize tmpRect.
678 (calculateColumnRequirements): Adjusted and fixed for multirows.
679 (getAlignment): Overridden to center tables.
680 (paint): Overridden to fix clipping.
681 (getStyleSheet): Made protected.
682 (layoutMajorAxis): Invalidate rows.
683 (setPropertiesFromAttributes): Made protected and call super.
684 (updateGrid): Update the overlapping information for multirows.
686 2006-12-05 Roman Kennke <kennke@aicas.com>
688 * gnu/java/awt/peer/gtk/AsyncImage.java
689 (addObserver): Check for null and ignore null observers.
690 (getWidth): Check for null and ignore null observers.
691 (getHeight): Check for null and ignore null observers.
692 (getProperty): Check for null and ignore null observers.
694 2006-12-05 Francis Kung <fkung@redhat.com>
696 * java/awt/BasicStroke.java
697 (capEnd): Prevent division by zero.
698 * java/awt/geom/Arc2D.java
699 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
700 (ArcIterator.currentSegment): Handle a negative extent.
702 2006-12-05 Francis Kung <fkung@redhat.com>
704 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
705 (constructor): Handle translated subimages properly, ie, if the image's
706 0,0 position is not the data buffer's first element.
708 2006-12-05 Roman Kennke <kennke@aicas.com>
710 * javax/swing/text/html/ImageView.java
711 (imageUpdate): Use spans field to determine if the CSS width/height
712 are set. Call safePreferenceChanged to protect view structure
713 from threading issues.
714 (spans): Made package private.
715 (ImageView): Initialize loadOnDemand with false.
716 (loadImage): Call Toolkit.prepareImage() to make sure we have
717 our Observer registered.
718 (safePreferenceChanged): New helper method. Calls preferenceChanged
719 in a thread safe environment.
721 2006-12-05 Roman Kennke <kennke@aicas.com>
723 * NEWS: Add entry about improved HTML support.
725 2006-12-05 Roman Kennke <kennke@aicas.com>
727 * javax/swing/text/html/ImageView.java
728 (ImageView): Initialize spans array here.
729 (setPropertiesFromAttributes): Moved init of spans array to
732 2006-12-05 Roman Kennke <kennke@aicas.com>
734 * javax/swing/text/html/BlockView.java
735 (painter): Made package visible.
736 * javax/swing/text/html/StyleSheet.java
737 (translateBorder): New helper method.
738 (translateHTMLToCSS): Add mappings for border attributes.
739 * javax/swing/text/html/TableView.java
740 Made class subclass of BlockView to get CSS goodness.
741 (CellView.rowSpan): New field.
742 (CellView.setPropertiesFromAttributes): Fetch rowspan.
743 (RowView.overlap): New field.
744 (RowView.rowIndex): New field.
745 (RowView.layoutMajorAxis): Skip overlapping cells.
746 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
747 (numColumns): New field.
748 (tmpRect): New field.
749 (TableView): Initialize tmpRect.
750 (calculateColumnRequirements): Adjusted and fixed for multirows.
751 (getAlignment): Overridden to center tables.
752 (paint): Overridden to fix clipping.
753 (getStyleSheet): Made protected.
754 (layoutMajorAxis): Invalidate rows.
755 (setPropertiesFromAttributes): Made protected and call super.
756 (updateGrid): Update the overlapping information for multirows.
758 2006-12-05 Roman Kennke <kennke@aicas.com>
760 * javax/swing/text/html/HTMLEditorKit.java
761 (HTMLFactory.create): Removed debug output.
762 * javax/swing/text/html/InlineView.java
763 (getBreakWeight): Likewise.
764 * javax/swing/text/html/StyleSheet.java
766 (ListPainter.paint): Removed debug output.
768 2006-12-06 Roman Kennke <kennke@aicas.com>
770 * javax/swing/text/html/BlockView.java
771 (getAlignment): Align blocks horizontally by the superclass.
772 * javax/swing/text/html/HTMLEditorKit.java
773 (HTMLFactory.create): Replace equals comparison by == for efficiency.
774 Add mapping for misplaced tr, td and th tags. Include object mapping.
775 * javax/swing/text/html/TableView.java
776 (RowView.replace): Invalidate grid early.
777 (gridValid): Initialize with false.
778 (create): Only create RowView and CellView for correctly placed
779 tags. Avoid unnecessary casts.
780 (getAlignment): Removed.
781 (replace): Invalidate grid early.
784 2006-12-06 Roman Kennke <kennke@aicas.com>
786 * javax/swing/text/html/TableView.java
787 (RowView.layoutMajorAxis): Check column index for invalid value.
788 (updateGrid): Check column index for invalid value.
790 2006-12-06 Roman Kennke <kennke@aicas.com>
792 * javax/swing/JEditorPane.java
793 (getStream): Buffer the stream for efficiency.
794 (setPage): Don't scroll the view at this point.
795 * javax/swing/plaf/basic/BasicTextUI.java
796 (RootView.paint): Call RootView's setSize to get synchronization.
797 (RootView.setSize): Synchronize to prevent race in layout code.
798 * javax/swing/text/AbstractDocument.java
799 (notifyListeners): New field.
800 (fireChangedUpdate): Track notifyListener field.
801 (fireRemoveUpdate): Track notifyListener field.
802 (fireIndertUpdate): Track notifyListener field.
803 (writeLock): Check notifyListener and throw IllegalStateException.
804 * javax/swing/text/View.java
805 (preferenceChanged): Create local var for better thread safety and
808 2006-12-06 Roman Kennke <kennke@aicas.com>
810 * examples/gnu/classpath/examples/icons/back.png,
811 * examples/gnu/classpath/examples/icons/reload.png:
812 New icons for the HTML browser.
813 * examples/gnu/classpath/examples/swing/HtmlDemo.java
814 (history): New field. Manages the browsing history.
815 (HtmlDemo): Initialize history.
816 (createContent): Set location and add history. Add toolbar.
817 (createToolBar): New helper method.
818 (main): Make default size bigger.
819 * examples/gnu/classpath/examples/swing/frame1.html,
820 * examples/gnu/classpath/examples/swing/frame2.html,
821 * examples/gnu/classpath/examples/swing/frame3.html,
822 * examples/gnu/classpath/examples/swing/frame4.html,
823 * examples/gnu/classpath/examples/swing/frames.html,
824 * examples/gnu/classpath/examples/swing/tables.html:
826 * examples/gnu/classpath/examples/swing/welcome.html
827 Add a couple of links and new test pages.
829 2006-12-06 Roman Kennke <kennke@aicas.com>
831 * examples/gnu/classpath/examples/swing/Demo.java
832 (getIcon): Made package private.
833 * examples/gnu/classpath/examples/swing/HtmlDemo.java
834 (hyperlinkUpdate): Convert URL to string.
836 2006-12-06 Roman Kennke <kennke@aicas.com>
838 * javax/swing/text/DefaultCaret.java
839 (appear): Adjust visibility here.
840 (setDotImpl): Don't adjust visibility here.
841 (moveDotImpl): Don't adjust visibility here.
843 2006-12-06 Roman Kennke <kennke@aicas.com>
845 * javax/swing/text/html/FormView.java
846 (SubmitThread.postData): Implemented.
847 (SubmitThread.run): Pass data to postData().
848 (actionPerformed): Reset form when reset button is activated.
849 (createComponent): Add support for select lists and comboboxes.
850 Don't set value of text and password fields here, this is done
851 now in HTMLDocument for consistency.
852 (getElementFormData): Add support for fetching form data from
853 select lists and comboboxes as well as textareas.
854 (getSelectData): New helper method. Fetches form data from
856 (getTextAreaData): New helper method. Fetches form data from
858 (resetForm): New helper method. Resets the entire form.
859 * javax/swing/text/html/HTMLDocument.java
860 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
861 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
862 (HTMLReader.FormAction.setModel): Initialize text and password
863 values here. Also, use the resetable special models.
864 Group radio buttons into ButtonGroup for exclusive selection.
865 (HTMLReader.FormTagAction): New class. Handles FORM tags.
866 (HTMLReader.buttonGroups): New field.
867 (HTMLReader.numOptions): New field.
868 (HTMLReader.option): New field.
869 (HTMLReader.selectModel): New field.
870 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
871 (HTMLReader.handleText): Handle OPTION text.
872 (HTMLReader.initTags): Map FORM tags to FormTagAction.
873 (HTMLReader.textAreaContent): Set initial content.
874 * javax/swing/text/html/Option.java
875 (Option): Make copy of attribute set. Initialize selected state.
876 (getValue): Fetch value from attribute set.
877 * javax/swing/text/html/ResetableModel.java: New interface.
878 * javax/swing/text/html/ResetablePlainDocument.java: New class.
879 Supports resetting the state.
880 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
881 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
882 * javax/swing/text/html/SelectListModel.java: Likewise.
884 2006-12-06 Roman Kennke <kennke@aicas.com>
886 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
888 * examples/gnu/classpath/examples/swing/HtmlDemo.java
889 (LoadActionListener): Call setPage() helper method.
890 (createContent): Register tweaked editor kit. For FormSubmitEvents
891 call submitForm(), otherwise setPage().
892 (postData): Helper method for posting form data.
893 (setPage): Helper method for navigating to a new URL.
894 (submitForm): Helper method for submitting a form.
895 * examples/gnu/classpath/examples/swing/forms.html:
896 Added text/password fields and select boxes.
897 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
899 2006-12-07 Mark Wielaard <mark@klomp.org>
901 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
903 (URL(URL,String,URLStreamHandler)): Call new constructor.
904 (URL(URL,String)): Likewise.
905 (URL(String)): Likewise.
907 2006-12-07 Mark Wielaard <mark@klomp.org>
909 * javax/swing/JEditorPane.java (createEditorKitForContentType):
910 Always load from system class loader.
912 2006-12-06 Ben Konrath <bkonrath@redhat.com>
915 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
916 newValue are the same.
917 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
919 2006-12-06 Chris Burdess <dog@gnu.org>
922 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
923 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
925 2006-12-06 Chris Burdess <dog@gnu.org>
928 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
931 2006-12-056 Chris Burdess <dog@gnu.org>
934 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
935 discover schema factory implementation class.
937 2006-12-05 Roman Kennke <kennke@aicas.com>
939 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
940 asynchronous loading of images.
941 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
942 (drawImage): Fetch real image from possibly AsyncImage.
943 * gnu/java/awt/peer/gtk/ComponentGraphics.java
944 (drawImage): Fetch real image from possibly AsyncImage.
945 * gnu/java/awt/peer/gtk/GtkToolkit.java
946 (createImage(URL)): Create async image.
947 (imageOrError): Made method static for easy access from AsyncImage.
948 (prepareImage): For async images, register the observer to the
951 2006-12-05 Roman Kennke <kennke@aicas.com>
953 (paintComponent): Include paint area from event.
954 (updateComponent): Include paint area from event.
956 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
958 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
959 lightweight component, not just for non-Panel components.
960 (addImpl): Do not call doLayout.
961 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
962 (setNativeBounds): Ensure widget parent is a GtkFixed before
963 calling gtk_fixed_move.
964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
965 (setNativeBounds): Likewise.
966 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
967 (setNativeBounds): Likewise.
969 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
971 * java/awt/Component.java (getFontImpl): Return a default font if
972 topmost parent's font is null.
974 2006-12-04 Mark Wielaard <mark@klomp.org>
976 * javax/swing/text/html/CSS.java (parseMarginShorthand):
979 2006-12-04 Roman Kennke <kennke@aicas.com>
981 * java/awt/font/TextLayout.java
982 (hitTestChar): Fixed conditions for inclusion of range.
983 Use layout information in the run for more efficiency.
985 2006-12-04 Roman Kennke <kennke@aicas.com>
987 * javax/swing/text/GlyphView.java
988 (J2DGlyphPainter): New inner class.
989 (checkPainter): For Java2D capable environments create
992 2006-12-04 Roman Kennke <kennke@aicas.com>
994 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
995 (FreeTypeGlyphVector): Don't filter control chars here.
996 (getGlyphs): Filter control chars and replace them by
999 2006-12-04 Roman Kennke <kennke@aicas.com>
1001 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1002 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1004 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1006 * gnu/java/lang/management/BeanImpl.java:
1007 (translate(String)): Don't assume the list uses "E",
1008 just use the first and only type variable.
1009 * java/lang/management/ManagementFactory.java:
1010 (getPlatformMBeanServer()): Register logging bean.
1011 * javax/management/openmbean/OpenType.java:
1012 (OpenType(String,String,String)): Actually use
1013 the string created to handle arrays.
1015 2006-12-04 Mark Wielaard <mark@klomp.org>
1017 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1018 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1020 2006-12-04 Mark Wielaard <mark@klomp.org>
1022 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1024 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1025 (JCL_thread_interrupted): Only take JNIEnv.
1026 (vm_channel_class): New static variable.
1027 (initID): Set vm_channel_class.
1028 Wrap all reads() and writes() in do-while blocks that check
1031 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1033 * gnu/javax/management/Server.java:
1034 Make map final and initialise it.
1035 (unregisterMBean(ObjectName)): Match against
1036 delegate's object name and not the instance.
1037 * java/lang/management/ManagementFactory.java:
1038 Added constant fields.
1039 (getPlatformMBeanServer()): Implemented.
1040 * javax/management/MBeanServerFactory.java: New file.
1042 2006-12-04 Roman Kennke <kennke@aicas.com>
1044 * javax/swing/text/BoxView.java
1045 (paint): Replaced painting algorithm with more simple and more
1046 reliable painting of the box.
1047 * javax/swing/text/html/BlockView.java
1048 (PositionInfo): New inner class. Stores additional CSS
1049 positioning information.
1050 (positionInfo): New field.
1051 (BlockView): Initialize positionInfo field.
1052 (fetchLayoutInfo): New helper method. Fetches additional
1053 CSS positioning information.
1054 (layoutMajorAxis): Perform additional CSS layout.
1055 (layoutMinorAxis): Perform additional CSS layout.
1056 (positionView): New helper method.
1057 (replace): Overridden to fetch additional layout information.
1058 * javax/swing/text/html/CSS.java
1059 (Attribute.POSITION): New field.
1060 (Attribute.LEFT): New field.
1061 (Attribute.RIGHT): New field.
1062 (Attribute.TOP): New field.
1063 (Attribute.BOTTOM): New field.
1064 (getValue): Create Length for left, right, top and bottom
1067 2006-12-04 Roman Kennke <kennke@aicas.com>
1069 * gnu/javax/swing/text/html/parser/support/Parser.java
1070 (Sgml): Consume any whitespace that immediately follows
1072 (parseDocument): Consume any initial whitespace.
1074 2006-12-03 Mark Wielaard <mark@klomp.org>
1076 * gnu/javax/management/Server.java (beans): Initialize.
1077 (registerMBean): Don't initialize beans.
1079 2006-12-03 Mark Wielaard <mark@klomp.org>
1081 * java/util/logging/LogManager.java (getLevelProperty): Check
1082 whether value is null before passing to Level.parse().
1084 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1086 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1087 whether given a null lock and lockOwner.
1089 2006-12-03 Mark Wielaard <mark@klomp.org>
1091 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1092 (PageLoader.page): Made package local.
1093 (PageLoader.run): Don't reset loader.
1094 (PageLoader.cancel): New method.
1095 (loading): Renamed to loader.
1096 (getPage): Return loader.page.
1097 (setPage): Always set loader. Never reset to null.
1099 2006-12-03 Mark Wielaard <mark@klomp.org>
1101 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1103 (isLastChild): Return false when path is null.
1105 2006-12-03 Mark Wielaard <mark@klomp.org>
1107 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1108 to currentPaintArea.
1109 (paintComponent): Work with local reference to currentPaintArea.
1110 (updateComponent): Likewise.
1111 (coalescePaintEvent): Set currentPaintArea.
1113 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1115 * javax/management/MBeanServerBuilder.java: New file.
1117 2006-12-01 Mark Wielaard <mark@klomp.org>
1119 * java/text/DecimalFormat.java (parse): Always increment parsing
1120 index and adjust pos result.
1122 2006-12-01 Roman Kennke <kennke@aicas.com>
1124 * javax/swing/text/html/HTML.java
1125 (Attribute.DYNAMIC_CLASS): New field.
1126 (Attribute.PSEUDO_CLASS): New field.
1127 * javax/swing/text/html/HTMLDocument.java
1128 (HTMLReader.CharacterAction.start): Initialize anchor with link
1130 (updateSpecialClass): New helper method. Updates the dynamic
1131 or pseudo class for anchor tags.
1132 * javax/swing/text/html/HTMLEditorKit.java
1133 (LinkController.lastAnchorElement): New field. For tracking
1134 enter/exit of anchors.
1135 (LinkController.activateLink): Set pseudo class to 'visited'.
1136 (LinkController.mouseMoved): Added support for tracking
1137 the 'hover' dynamic class.
1138 * javax/swing/text/html/InlineView.java
1139 (changedUpdate): Fetch new properties.
1140 * javax/swing/text/html/StyleSheet.java
1141 (attributeSetToMap): New helper method.
1142 (getRule): Also append dynamic and pseudo class to key.
1143 (resolveStyle): Resolve style based generally on all attributes.
1144 * javax/swing/text/html/TableView.java
1145 (RowView.layoutMajorAxis): Make sure the grid is valid.
1146 (updateGrid): Made package private.
1147 * gnu/javax/swing/text/html/css/Selector.java
1148 (calculateSpecificity): Added support for dynamic and pseudo classes.
1149 (matches): Changed to operate on general attributes.
1150 Added support for dynamic and pseudo classes.
1152 2006-12-01 Mario Torre <neugens@limasoftware.net>
1154 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1155 fractional portion in a separate method.
1156 Also fixes the handling of decimal separator and its associated field.
1157 (handleFractionalPart): new method, needed to relax a bit
1160 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1162 * java/beans/beancontext/BeanContextServicesSupport.java:
1163 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1164 Class)): Implemented.
1165 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1166 Class, Object)): Implemented.
1167 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1168 Object, Object)): Implemented.
1169 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1171 (initialiseBeanContextResources()): Implemented.
1172 (releaseBeanContextResoures()): Implemented.
1174 2006-12-01 Mark Wielaard <mark@klomp.org>
1176 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1178 2006-12-01 Roman Kennke <kennke@aicas.com>
1180 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1181 handling border styles.
1182 * gnu/javax/swing/text/html/css/BorderWidth.java
1183 (isValid): New method.
1184 * gnu/javax/swing/text/html/css/Length.java
1185 (isValid): New method.
1186 * javax/swing/text/html/CSS.java
1187 (addInternal): Added shorthand parsing for border, padding and
1189 (parseBackgroundShorthand): Added API docs.
1190 (parsePaddingShorthand): New method. Handles padding shorthand
1192 (parseMarginShorthand): New method. Handles margin shorthand
1194 (parseBorderShorthand): New method. Handles border shorthand
1196 * javax/swing/text/html/StyleSheet.java
1197 (translateHTMLToCSS): Set specific padding attributes.
1198 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1199 These shorthands are now handled in CSS.
1200 (BoxPainter.paint): Exclude the outer margin.
1202 2006-12-01 Roman Kennke <kennke@aicas.com>
1204 * gnu/javax/swing/text/html/css/Length.java
1205 (emBase): New field.
1206 (exBase): New field.
1207 (isFontEMRelative): New field.
1208 (isFontEXRelative): New field.
1209 (Length): Recognize and setup EM and EX relative values.
1210 (getValue): Handle EM and EX relative values.
1211 (isEMRelative): New method.
1212 (isEXRelative): New method.
1213 (setEMBase): New method.
1214 (setEXBase): New method.
1215 (setFontBases): New method.
1216 * gnu/javax/swing/text/html/parser/support/Parser.java
1217 (_handleEmptyTag): Use new isBlock() helper method.
1218 (_handleEndTag_remaining): Use new isBlock() helper method.
1219 (_handleStartTag): Consume whitespace after block start tag.
1220 (Comment): Consume whitespace after a comment.
1221 (isBlock): New helper method.
1222 (readAttributes): Consider all characters in unquoted attribute
1224 * javax/swing/text/html/BlockView.java
1225 (layoutMinorAxis): Use cached span value.
1226 (paint): Added debug code (commented out).
1227 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1228 * javax/swing/text/html/CSSBorder.java
1229 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1231 (getBorderWidth): Set the EM and EX base on the length values.
1232 * javax/swing/text/html/HTMLDocument.java
1233 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1234 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1235 (HTMLReader.inImpliedParagraph): Removed.
1236 (HTMLReader.inParagraph): Removed.
1237 (HTMLReader.parseStack): New field.
1238 (HTMLReader.addContent): Use new paragraph handling.
1239 (HTMLReader.addSpecialElement): Use new paragraph handling.
1240 (HTMLReader.blockClose): Use new paragraph handling.
1241 (HTMLReader.blockOpen): Use new paragraph handling.
1242 (HTMLReader.inImpliedParagraph): New helper method.
1243 (HTMLReader.inParagraph): New helper method.
1244 * javax/swing/text/html/ImageView.java
1245 (attributes): New field. Caches view attributes.
1246 (spans): New field. Caches CSS spans.
1247 (getAttributes): Correctly setup CSS view attributes.
1248 (getPreferredSpan): Use caches spans.
1249 (getStyleSheet): Use the view's getDocument() method.
1250 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1251 (updateSize): Use cached spans.
1252 * javax/swing/text/html/ParagraphView.java
1253 (setPropertiesFromAttributes): Setup EM and EX.
1254 * javax/swing/text/html/StyleSheet.java
1255 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1256 (getEMBase): New helper method.
1257 (getEXBase): New helper method.
1258 * javax/swing/text/html/TableView.java
1259 (width): New field. Caches the table width.
1260 (calculateMinorAxisRequirements): Use caches span.
1261 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1262 (updateGrid): Correctly setup EM/EX.
1264 2006-11-30 Roman Kennke <kennke@aicas.com>
1266 * javax/swing/text/html/FormSubmitEvent.java: New class.
1267 * javax/swing/text/html/FormView.java
1268 (SubmitThread): New class for submitting data in a separate thread.
1269 (actionPerformed): Fetch the actual for data.
1270 (addData): New helper method.
1271 (getElementFormData): New helper method.
1272 (getFormData): New helper method.
1273 (getInputFormData): New helper method.
1274 (submitData): Implemented.
1275 * javax/swing/text/html/FrameView.java
1276 (createComponent): Add this as hyperlink listener.
1277 Set the target document as frame document.
1278 (getTopEditorPane): New helper method.
1279 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1280 (handleHyperlinkEvent): New helper method.
1281 (handleFormSubmitEvent): New helper method.
1282 * javax/swing/text/html/HTMLDocument.java
1283 (HTMLReader.BaseAction.start): Track the base target.
1284 (HTMLReader.BaseAction.end): Removed.
1285 (baseTarget): New field.
1286 (frameDocument): New field.
1287 (getBaseTarget): New property accessor.
1288 (isFrameDocument): New property accessor.
1289 (processHTMLFrameHyperlinkEvent): Implemented.
1290 (setFrameDocument): New property accessor.
1291 (updateFrame): New helper method.
1292 (updateFrameSet): New helper method.
1293 * javax/swing/text/html/HTMLEditorKit.java
1294 (LinkController.createHyperlinkEvent): Handle frame documents.
1295 (autoFormSubmission): New field.
1296 (HTMLEditorKit): Set autoFormSubmission to true.
1297 (isAutoFormSubmission): New property accessor.
1298 (setAutoFormSubmission): New property accessor.
1300 2006-11-30 Roman Kennke <kennke@aicas.com>
1302 * javax/swing/text/ElementIterator.java
1303 (ElementRef): New inner class.
1304 (currentDepth): Removed.
1305 (currentElement): Removed.
1306 (previousItem): Removed.
1307 (stack): New field. Holds the iteration stack.
1309 (ElementIterator(Document)): Removed init of removed fields.
1310 (ElementIterator(Element)): Removed init of removed fields.
1311 (current): Changed to stack based algorithm.
1312 (deepestLeaf): New helper method.
1313 (depth): Changed to stack based algorithm.
1314 (first): Changed to stack based algorithm.
1315 (next): Changed to stack based algorithm.
1316 (previous): Changed to stack based algorithm.
1318 2006-11-30 Francis Kung <fkung@redhat.com>
1320 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1321 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1323 2006-11-30 Francis Kung <fkung@redhat.com>
1325 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1326 (draw): Set transform in buffered composite.
1327 (drawComposite): Do not transform bounds; round bounds.
1328 (drawGlyphVector): Set transform in buffered composite.
1329 (drawRenderedImage): Set transform in buffered composite.
1330 (fill): Set transform in buffered composite.
1331 (updateBufferedImage): Fix scanline & height calculations.
1332 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1333 (createPath): Simplify width & height calculation.
1334 (drawImage): Also transform width & height.
1336 2006-11-30 Roman Kennke <kennke@aicas.com>
1338 * javax/swing/text/html/FrameSetView.java: New class. Implements
1340 * javax/swing/text/html/FrameView.java: New class. Implements
1342 * javax/swing/text/html/HTMLDocument.java:
1343 (HTMLReader.addSpecialElement): Only add one artificial space.
1344 * javax/swing/text/html/HTMLEditorKit.java
1345 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1346 * gnu/javax/swing/text/html/parser/support/Parser.java
1347 (_handleEmptyTag): Also consume whitespace after frame tags.
1349 2006-11-30 Gary Benson <gbenson@redhat.com>
1351 * java/lang/Thread.java: Javadoc fixes.
1353 2006-11-29 Tom Tromey <tromey@redhat.com>
1356 * java/lang/Class.java (getAnnotations): Rewrote.
1358 2006-11-29 Tania Bento <tbento@redhat.com>
1360 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1361 (parseParams): Unescape 'val' before putting it into the Map.
1362 (unescapeString): New private method.
1364 2006-11-29 Tom Tromey <tromey@redhat.com>
1366 * tools/gnu/classpath/tools/getopt/package.html: New file.
1368 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1370 * javax/swing/plaf/metal/MetalIconFactory.java
1371 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1372 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1374 2006-11-29 Mario Torre <neugens@limasoftware.net>
1376 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1377 with the default international currency sign \u00A4.
1378 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1379 table for string formatting.
1380 (formatInternal): likewise.
1381 (scanNegativePattern): likewise.
1382 (applyPattern): likewise.
1383 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1384 Locale is immutable and does not need clone.
1386 2006-11-29 Francis Kung <fkung@redhat.com>
1388 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1389 (drawLine): Remove hard-coded pixel shifting.
1391 2006-11-29 Roman Kennke <kennke@aicas.com>
1393 * java/awt/Component.java
1394 (isShowing): Simplified condition code and avoid unnecessary
1396 (coalesceEvents): Always coalesce paint events and let the peer
1397 figure out the expanding of the repaint area.
1398 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1399 (currentPaintEvents): Removed. Replaced by paintArea.
1400 (paintArea): New field. Tracks the dirty area.
1401 (SwingComponentPeer): Removed init of currentPaintEvents.
1402 (coalescePaintEvent): Simplified to only union the dirty regions.
1403 (handleEvent): Paint dirty region that was tracked in paintArea.
1404 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1405 (paintArea): New field. Tracks the dirty region.
1406 (coalescePaintEvent): Implemented to track the dirty region.
1407 (paintComponent): Use the dirty region in paintArea. Protect
1408 state by putting the paint and dispose code in a try-finally.
1409 (updateComponent): Use the dirty region in paintArea. Protect
1410 state by putting the paint and dispose code in a try-finally.
1412 2006-11-29 Roman Kennke <kennke@aicas.com>
1414 * java/awt/font/TextLayout.java
1415 (getVisualHighlightShape): Removed debug output.
1417 2006-11-28 Andrew Haley <aph@redhat.com>
1419 * vm/reference/sun/reflect/misc/ReflectUtil.java
1420 (checkPackageAccess): Implement.
1422 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1424 * native/jni/java-lang/java_lang_VMDouble.c:
1425 (parseDoubleFromChars) New function. Factored out from ...
1426 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1427 (dtoa_toString): New function. Factored out from ...
1428 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1429 Changed conversion mode to 2, as modes 0 and 1 don't round
1430 as the API spec demands. Invoke conversion function as often
1431 as necessary with growing precision until a reversible
1432 representation of the double in form of a string is reached.
1434 2006-11-28 Roman Kennke <kennke@aicas.com>
1436 * javax/swing/JComponent.java
1437 (putClientProperty): Do not fire event when both old and new
1440 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1442 * java/lang/Enum.java:
1443 Make name and ordinal final.
1445 2006-11-27 Casey Marshall <csm@gnu.org>
1447 * java/util/jar/JarEntry.java (certs): removed.
1448 (jarfile): new field.
1449 (getCertificates): read the certificates from the containing JarFile.
1450 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1451 fill in 'certs,' fill in 'jarfile' for the entry.
1452 (getEntry): likewise.
1454 2006-11-27 Francis Kung <fkung@redhat.com>
1456 * java/awt/image/WritableRaster.java
1457 (createChild): Implemented.
1459 2006-11-27 Roman Kennke <kennke@aicas.com>
1461 * java/awt/font/TextLayout.java
1462 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1463 (getVisualHighlightShape): Implemented.
1464 (layoutRuns): Fixed boundary so that the last run is also laid out.
1465 (left): New helper method.
1466 (right): New helper method.
1468 2006-11-27 Roman Kennke <kennke@aicas.com>
1470 * java/awt/font/TextLayout.java
1471 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1472 (getCaretShape(TextHitInfo)): Use natural bounds.
1473 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1474 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1475 above with DEFAULT_CARET_POLICY.
1476 (getCaretShapes(int)): Use natural bounds.
1478 2006-11-27 Roman Kennke <kennke@aicas.com>
1480 * java/awt/font/TextLayout.java
1481 (Run.font): New field.
1482 (Run.location): New field.
1483 (Run.Run): Initialize font.
1484 (font): Removed field. This is moved into Run as the actual font
1485 is something run-specific.
1486 (TextLayout(String,Font,FontRenderContext)): Set font on the
1487 single runs. Layout the runs here.
1488 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1489 (findRunAtIndex): New helper method.
1490 (getCaretInfo): Implemented.
1491 (layoutRuns): New helper method.
1492 (toString): Don't put font in output string.
1494 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1496 * AUTHORS: Added Jeroen Fritjers.
1498 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1500 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1501 for FieldPosition to be null.
1502 Check if the factional part is just 0 and can be omitted from the
1504 (scanNegativePattern): Fixed index out of bound exception when searching
1505 for international currency symbol in negative pattern.
1507 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1509 * java/beans/beancontext/BeanContextSupport.java:
1510 (readObject(ObjectInputStream)): Implemented.
1511 (writeObject(ObjectOutputStream)): Likewise.
1512 (BCSChild.getTargetChild()): Added.
1513 (bcsPreDeserializationHook()): Implemented.
1514 (bcsPreSerializationHook()): Likewise.
1515 (childDeserializedHook(Object,BCSChild)): Likewise.
1516 (isSerializing()): Likewise.
1517 (readChildren(ObjectInputStream)): Likewise.
1518 (writeChildren(ObjectOutputStream)): Likewise.
1520 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1521 Ian Lance Taylor <ian <at> airs.com>
1522 Paolo Bonzini <bonzini <at> gnu.org>
1526 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1527 increased portability. Likewise, use -f instead of -e.
1529 2006-11-26 Mark Wielaard <mark@klomp.org>
1531 * lib/Makefile.am (propertydirs): Removed.
1532 (resources): Explicitly create all dirs.
1534 2006-11-26 Mark Wielaard <mark@klomp.org>
1536 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1538 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1540 * native/target/.cvsignore,
1541 native/target/generic/.cvsignore,
1542 native/target/Linux/.cvsignore:
1543 Removed no longer used files.
1545 * native/target: Removed no longer used directory.
1547 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1551 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1552 (Java_gnu_java_nio_VMSelector_select):
1553 Use strerror if strerror_r is not available.
1555 Reported by: Michael Franz <mvfranz@gmail.com>,
1556 Riccardo Mottola <zuse@libero.it>
1558 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1562 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1563 STRICT_WARNING_CFLAGS since it caused the build to fail
1566 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1568 * doc/vmintegration.texinfo: Update VM Threading Model section.
1570 2006-11-26 Tom Tromey <tromey@redhat.com>
1572 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1574 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1576 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1577 Conditionally include ifaddrs.h.
1578 (getif_address): Updated conditional.
1579 (getif_index): Likewise.
1580 * configure.ac: Check for ifaddrs.h.
1582 2006-11-25 Mark Wielaard <mark@klomp.org>
1584 * java/io/File.java (list): Return empty list for unreadable dirs.
1586 2006-11-25 Mark Wielaard <mark@klomp.org>
1588 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1589 Synchronize on font peer.
1590 (setFont): Likewise.
1591 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1593 (getTextMetrics): Likewise.
1595 2006-11-25 Roman Kennke <kennke@aicas.com>
1597 * javax/swing/text/GapContent.java
1598 (getPositionsInRange): Rewritten to use the more efficient
1599 binary search searchFirst() and avoid an NPE that was caused
1602 2006-11-25 Mark Wielaard <mark@klomp.org>
1604 * javax/swing/text/CompositeView.java (modelToView): Never return
1607 2006-11-25 Mark Wielaard <mark@klomp.org>
1609 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1610 Check whether rowView instanceof RowView.
1611 (updateGrid): Likewise.
1613 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1616 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1617 * java/text/NumberFormat.java (format): all format methods, fixed
1618 FieldPosition argument should never be null.
1619 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1620 method is not final.
1621 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1623 * AUTHORS: added my name to the file.
1625 2006-11-25 Mark Wielaard <mark@klomp.org>
1627 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1628 getChildAllocation() returning null.
1630 2006-11-25 Mark Wielaard <mark@klomp.org>
1632 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1633 Use clazzIndex for id substring.
1635 2006-11-25 Mark Wielaard <mark@klomp.org>
1637 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1638 it is still running.
1640 2006-11-25 Mark Wielaard <mark@klomp.org>
1643 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1646 2006-11-24 Tania Bento <tbento@redhat.com>
1648 * java/awt/font/TextHitInfo.java
1649 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1650 (beforeOffset): Decreased first parameter by 1.
1652 2006-11-24 Francis Kung <fkung@redhat.com>
1654 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1655 (constructor): Check sample model when setting fastCM flag.
1656 (updateBufferedImage): Check scanline and sample model offsets before
1657 copying data directly into the image data buffer.
1659 2006-11-24 Francis Kung <fkung@redhat.com>
1661 * gnu/java/awt/java2d/QuadSegment.java
1662 (offsetSubdivided): Handle special straight-line cases.
1664 2006-11-24 Roman Kennke <kennke@aicas.com>
1666 * java/awt/dnd/DropTarget.java
1667 (DropTargetAutoScroller.HYSTERESIS): New constant.
1668 (DropTargetAutoScroller.DELAY): New constant.
1669 (DropTargetAutoScroller.inner): New field. A cached
1671 (DropTargetAutoScroller.outer): New field. A cached
1673 (DropTargetAutoScroller.timer): New field. The actual timer.
1674 (DropTargetAutoScroller.DropTargetAutoScroller):
1676 (DropTargetAutoScroller.actionPerformed): Implemented.
1677 (DropTargetAutoScroller.stop): Implemented.
1678 (DropTargetAutoScroller.updateLocation): Implemented.
1679 (clearAutoscroll): Stop the autoscroller before nullifying it.
1680 (createDropTargetAutoScroller): Don't set the field here,
1681 only return a new instance.
1682 (dragEnter): Only do something when active. Initialize
1684 (dragExit): Only do something when active. Stop auto scrolling.
1685 (dragOver): Only do something when active. Update auto scrolling.
1686 (drop): Only do something when active. Update auto scrolling.
1687 (dropActionChanged): Only do something when active. Update
1689 (initializeAutoScrolling): Check if component is an instance
1690 of Autoscroll, otherwise do nothing.
1691 (setActive): Disable autoscrolling when deactivating.
1692 (setComponent): When component is set to null, disable autoscrolling.
1694 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1696 * java/beans/beancontext/BeanContextServicesSupport.java
1697 (getChildBeanContextServicesListener): Implemented.
1699 2006-11-23 Roman Kennke <kennke@aicas.com>
1701 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1702 (createGraphics): Use constructor to create new instance of
1703 BufferedImageGraphics.
1704 * java/awt/Toolkit.java
1705 (getDefaultToolkit): Really try to get a real toolkit. Only
1706 use HeadlessToolkit if no other is available.
1707 * gnu/java/awt/peer/gtk/GtkToolkit.java
1708 (checkHeadless): New helper method. Checks for headless environment
1709 and throws HeadlessException if appropriate.
1710 (createButton): Check for headless.
1711 (createCanvas): Check for headless.
1712 (createCheckbox): Check for headless.
1713 (createCheckboxMenuItem): Check for headless.
1714 (createChoice): Check for headless.
1715 (createDialog): Check for headless.
1716 (createDragGestureRecognizer): Check for headless.
1717 (createDragSourceContextPeer): Check for headless.
1718 (createEmbeddedWindow): Check for headless.
1719 (createFileDialog): Check for headless.
1720 (createFrame): Check for headless.
1721 (createCheckbox): Check for headless.
1722 (createLabel): Check for headless.
1723 (createList): Check for headless.
1724 (createMenu): Check for headless.
1725 (createMenuBar): Check for headless.
1726 (createMenuItem): Check for headless.
1727 (createPanel): Check for headless.
1728 (createPopupMenu): Check for headless.
1729 (createScrollbar): Check for headless.
1730 (createScrollPane): Check for headless.
1731 (createTextArea): Check for headless.
1732 (createTextField): Check for headless.
1733 (createWindow): Check for headless.
1735 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1737 * java/beans/beancontext/BeanContextSupport.java
1738 (deserialize): Implemented,
1739 (serialize): Implemented.
1741 2006-11-23 Roman Kennke <kennke@aicas.com>
1743 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1744 (createGraphics): Try to use Cairo graphics if available.
1746 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1748 * java/beans/beancontext/BeanContextSupport.java
1749 (toArray): Added API docs,
1750 (toArray(Object[])): Added API docs, removed NotImplementedException.
1752 2006-11-22 Tania Bento <tbento@redhat.com>
1754 * javax/swing/JRootPane.java
1755 (setLayeredPane): Added documentation; throw
1756 IllegalComponentStateException if layered pane parameter is null.
1758 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1760 * java/beans/beancontext/BeanContextSupport.java
1761 (avoidingGui): Removed NotImplementedException.
1763 2006-11-22 Francis Kung <fkung@redhat.com>
1765 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1766 (drawGlyphVector): Clip updated area to glyph bounds.
1767 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1768 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1769 x-coordinate and y-coordinate pixel shifting.
1770 (shifted): Removed method.
1771 (shiftX): New method, recognising scaling transforms.
1772 (shiftY): New method, recognising scaling transforms.
1773 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1775 2006-11-22 Roman Kennke <kennke@aicas.com>
1777 * java/awt/font/TextLayout.java
1778 (hash): New field. Caches the hash code.
1779 (hashCode): Implemented.
1781 2006-11-22 Roman Kennke <kennke@aicas.com>
1783 * java/awt/image/ImageFilter.java
1784 Reformat whole class.
1785 (getFilterInstance): Don't touch the consumer field. Don't check
1787 (imageComplete): Don't check consumer.
1788 (setColorModel): Don't check consumer.
1789 (setDimensions): Don't check consumer.
1790 (setHints): Don't check consumer.
1791 (setPixels): Don't check consumer.
1792 (setProperties): Pass the original property too.
1793 * java/awt/image/IndexColorModel.java
1794 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1795 transparent pixel by calling the new helper method.
1796 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1797 transparent pixel by calling the new helper method.
1798 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1799 transparent pixel by calling the new helper method.
1800 (coerceData): Removed. This is not needed.
1801 (getAlpha): Simply return value from color map. The transparent
1802 pixel has to be there.
1803 (setTransparentPixel): New helper method. Inserts the transparent
1805 * java/awt/image/RGBImageFilter.java
1806 Reformat whole class.
1807 (convertColorModelToDefault): Removed. No longer needed.
1808 (filterIndexColorModel): Don't handle transparent pixels
1810 (filterRGBPixels): Set pixels on consumer already.
1811 (makeColor): Removed. No longer needed.
1812 * java/awt/image/ReplicateScaleFilter.java
1813 (replicatePixels): Removed.
1814 (setDimension): Correctly compute destination size, avoid double
1816 (setPixels): Avoid double calculations. Fixed some boundary cases.
1817 (setupSources): New helper method.
1818 * java/awt/image/SampleModel.java
1819 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1821 * java/awt/image/SinglePixelPackedSampleModel.java
1822 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1823 This is not needed as the superclass already copies line
1825 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1826 removed some checks that the RI also doesn't perform. Call
1827 DataBuffer.setElem().
1829 2006-11-22 Roman Kennke <kennke@aicas.com>
1831 * java/awt/text/TextLayout.java
1832 (getLogicalRangesForVisualSelection): Implemented.
1834 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1836 * sun/reflect/annotation/AnnotationParser.java,
1837 * sun/reflect/annotation/AnnotationType.java,
1838 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1839 * sun/reflect/annotation/ExceptionProxy.java:
1841 * sun/misc/ServiceConfigurationError.java,
1842 * sun/misc/Service.java:
1845 2006-11-21 Roman Kennke <kennke@aicas.com>
1847 * java/awt/text/TextLayout.java
1848 (Run.isLeftToRight): New helper method.
1849 (logicalToVisual): New field. Maps logical indices to visual
1851 (visualToLogical): New field. Maps visual indices to logical
1853 (TextLayout): Setup mappings.
1854 (setupMappings): New method for setting up the mappings.
1855 (getCharacterLevel): Reorganized code.
1856 (getNextLeftHit(int)): Implemented.
1857 (getNextLeftHit(int,CaretPolicy)): New method.
1858 (getNextLeftHit(TextHitInfo)): Implemented.
1859 (getNextRightHit(int)): Implemented.
1860 (getNextRightHit(int,CaretPolicy)): New method.
1861 (getNextRightHit(TextHitInfo)): New method.
1862 (getVisualOtherHit): Implemented.
1863 (checkHitInfo): New helper methods for checking parameters.
1864 (hitToCaret): New helper method. Maps hit infos to caret locations.
1865 (caretToHit): New helper method. Maps caret locations to hit infos.
1866 (isCharacterLTR): New helper method.
1867 (CaretPolicy.getStrongCaret): Implemented.
1869 2006-11-21 Francis Kung <fkung@redhat.com>
1871 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1872 (draw): Include stroke width when calculating bounds.
1873 (updateBufferedImage): Round bounds more generously, handle negative
1874 height/width values, and clip more intelligently.
1875 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1876 (createPath): Add shortcut optimization for lines.
1877 (draw): Include stroke width when calculating bounds.
1878 (drawLine): Delegate to main draw() method.
1879 (drawRect): Likewise.
1880 (fillRect): Delegate to main fill() method.
1881 (findStrokedBounds): New method.
1882 (setCustomPaint): Round bounds more generously.
1883 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1884 (drawLine): Removed.
1885 (drawRect): Removed.
1886 (fillRect): Removed.
1888 2006-11-21 Francis Kung <fkung@redhat.com>
1890 * gnu/java/awt/java2d/TexturePaintContext.java
1891 (getRaster): Handle negative coordinate values.
1892 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1893 (setPaint): Moved custom paint processing to a new method.
1894 (setPaintPixels): Added x, y parameters.
1895 (getRealBounds): Added documentation.
1896 (copy): Copy clipping information.
1897 (drawLine): Process custom paints.
1898 (setCustomPaint): New method.
1899 (fill): Process custom paints.
1900 (drawGlyphVector): Process custom paints.
1901 (drawRect): Process custom paints.
1902 (draw): Process custom paints.
1903 * gnu/java/awt/peer/gtk/CairoSurface.java
1904 (cairoCM_opaque): New constant.
1905 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1906 (argb32): Removed constant.
1907 (rgb32): Removed constant.
1908 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1909 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1910 (updateBufferedImage): Transform to device-space before updating.
1911 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1912 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1914 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1915 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1916 source at designated x, y origin.
1918 2006-11-21 Roman Kennke <kennke@aicas.com>
1920 * java/awt/text/TextLayout.java
1921 (Run): New inner helper class.
1922 (length): New field.
1923 (naturalBounds): New field.
1924 (offset): New field.
1925 (runIndices): Removed. This is now encapsulate in a Run object.
1926 (runs): Changed to Run[].
1927 (string): Changed to char[].
1928 (totalAdvance): New field. Caches advance value.
1929 (TextLayout(String,Font,FontRenderContext)): Change to store
1930 string as char[] and run layout as Run[]. Clean out empty
1932 (TextLayout(TextLayout,int,int)): Change to store
1933 string as char[] and run layout as Run[].
1934 (clone): Call private constructor for maximum efficiency.
1935 (determineWhitespace): Adapted to use char[] data.
1936 (draw): Adapted to use Run objects.
1937 (getAdvance): Cache computed total advance.
1938 (getBlackBoxBounds): Adapted to use Run objects.
1939 (getCaretInfo): Use natural layout bounds.
1940 (getCharacterCount): Return length field.
1941 (getLogicalHighlightShape): Adapted to use Run objects.
1942 (getNaturalBounds): New helper method. Calculates and returns the
1943 natural bounds of this text layout.
1944 (getOutline): Adapted to use Run objects.
1945 (getStringProperties): Adapted to use char[] data.
1946 (getVisibleAdvance): Adapted to use char[] and Run data.
1947 (handleJustify): Adapted to use char[] and Run data.
1948 (hitTestChar(float,float,Rectangle2D)): Implemented.
1949 (hitTestChar(float,float)): Use natural bounds.
1950 (setCharIndices): Adapted to use char[] and Run data.
1951 (toString): Adapted to use char[] and Run data.
1952 * java/text/Bidi.java
1953 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1955 2006-11-21 Roman Kennke <kennke@aicas.com>
1957 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1958 Removed. This is now an inner class in GdkFontPeer.
1959 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1960 (drawString(float,float)): Use text layout cache from
1962 (getFontMetrics): Delegate to GdkFontPeer.
1963 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1964 (getGlyphCodes): Also check array size.
1965 (getGlyphPositions): Also check array size.
1966 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1967 (GdkFontLineMetrics.fm): Removed.
1968 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1969 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1970 (GdkFontLineMetrics.underlineOffset): Removed.
1971 (GdkFontLineMetrics.underlineThickness): Removed.
1972 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1973 FontMetrics argument. Don't init removed fields.
1974 (GdkFontLineMetrics.getAscent): Return font peer's field.
1975 (GdkFontLineMetrics.getDescent): Return font peer's field.
1976 (GdkFontLineMetrics.getHeight): Return font peer's field.
1977 (GdkFontLineMetrics.getLeading): Return font peer's field.
1978 (GdkFontLineMetrics.getNumChars): Reformat.
1979 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1980 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1981 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1982 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1983 (GdkFontMetrics): Moved class in here as inner class.
1984 Make it use the font peer's fields and for the char(s) width
1985 and string width method, use TextLayout to measure the actual widths.
1986 (ascent): New field.
1988 (DEFAULT_CTX): New constant field.
1989 (descent): New field.
1990 (FONT_METRICS_ASCENT): New constant.
1991 (FONT_METRICS_DESCENT): New constant.
1992 (FONT_METRICS_HEIGHT): New constant.
1993 (FONT_METRICS_MAX_ADVANCE): New constant.
1994 (FONT_METRICS_MAX_ASCENT): New constant.
1995 (FONT_METRICS_MAX_DESCENT): New constant.
1996 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1997 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1998 (height): New field.
1999 (maxAdvance): New field.
2000 (maxAscent): New field.
2001 (maxDescent): New field.
2002 (metrics): New field. Stores a FontMetrics for this font.
2003 (textLayoutCache): New field. Caches TextLayout instances.
2004 (underlineOffset): New field.
2005 (underlineThickness): New field.
2006 (cinit): Don't initialize resource bundle.
2007 (GdkFontPeer): Setup the metrics.
2008 (getFontMetrics): Return stored metrics if possible.
2009 (getLineMetrics): Adapt to new constructor.
2010 (initFont): New helper method.
2011 (setupMetrics): New helper method.
2012 * gnu/java/awt/peer/gtk/GtkToolkit.java
2013 (LRUCache): Made class a static class.
2014 (getFontMetrics): Delegate to GdkFontPeer.
2015 * native/jni/gtk-peer/gdkfont.h
2016 Added new constant defines.
2017 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2018 (getFontMetrics): Rewritten to fetch the font metrics from
2021 2006-11-20 Tania Bento <tbento@redhat.com>
2023 * javax/swing/ButtonGroup.java:
2024 (setSelected): Select the ButtonModel if all conditions
2027 2006-11-20 Tania Bento <tbento@redhat.com>
2029 * javax/swing/JSlider.java:
2030 (updateLabelUIs): Removed casting.
2032 2006-11-20 Mark Wielaard <mark@klomp.org>
2034 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2035 (bundle): New static final String field.
2036 (getLocalizedMessage): Initialize messages when still null.
2037 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2038 (set): Use RE.getLocalizedMessage().
2040 (setLineSeparator): Likewise.
2042 2006-11-20 Roman Kennke <kennke@aicas.com>
2044 * javax/swing/text/html/StyleSheet.java
2045 (linked): New field.
2046 (styleSheet): Replaced by linked.
2047 (addStyleSheet): Use an arraylist for simplicity.
2048 (getRule): Removed useless instantiation.
2049 (getStyleSheets): Convert array list to array.
2050 (removeStyleSheet): Use an arraylist for simplicity.
2051 (resolveStyle): Include styles from linked lists.
2053 2006-11-20 Roman Kennke <kennke@aicas.com>
2055 * javax/swing/text/BoxView.java
2056 (BoxView): Initialize with invalid req's.
2057 (forwardUpdate): Trigger repaint when children changed the
2059 (getResizeWeight): Return resizable when the pref differs from
2060 the min or the pref differs from the max size.
2061 (layoutMajorAxis): Actually sum up the preferred sizes.
2062 (paint): Made binary search more robust.
2063 (replace): Let arrays shrink when needed.
2064 (replaceLayoutArray): Let arrays shrink when needed.
2065 (setAxis): Trigger preferenceChanged.
2066 * javax/swing/text/CompositeView.java
2067 (getInsideAllocation): Call insets method to take account
2068 of overriding subclasses.
2069 * javax/swing/text/DefaultStyledDocument.java
2070 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2071 (ElementBuffer.insertUpdate): Only remove the found element, not
2073 * javax/swing/text/GlyphView.java
2074 (insertUpdate): Pass null in preferenceChanged.
2075 (removeUpdate): Pass null in preferenceChanged.
2076 (changedUpdate): Pass null in preferenceChanged.
2077 * javax/swing/text/Utilities.java
2078 (drawTabbedText): Avoid single calls to charWidth() and instead
2079 call charsWidth() on whole chunks.
2080 * javax/swing/text/html/HTMLDocument.java
2081 (BlockElement.getName): Fall back to super when necessary.
2082 (RunElement.getName): Fall back to super when necessary.
2083 (HTMLReader.MAX_THRESHOLD): New constant field.
2084 (HTMLReader.GROW_THRESHOLD): New constant field.
2085 (HTMLReader.theshold): New field.
2086 (HTMLReader.HTMLReader): Fetch threshold from document.
2087 (HTMLReader.addContent): Sucessivly grow the threshold.
2088 (createLeafElement): Don't create two elemens and don't set
2090 * javax/swing/text/html/TableView.java
2091 (RowView.replace): Invalidate grid.
2092 (gridValid): Made package private.
2093 (layoutMinorAxis): Mark all rows as invalid.
2094 (replace): Invalidate grid.
2096 2006-11-20 Roman Kennke <kennke@aicas.com>
2098 * javax/swing/text/AbstractDocument.java
2099 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2100 (DefaultDocumentEvent.modified): Made private.
2101 (DefaultDocumentEvent.THRESHOLD): New constant field.
2102 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2104 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2105 exceeding threshold.
2106 (DefaultDocumentEvent.getChange): Use iterative approach
2107 when we have no hashmap yet.
2108 (documentCV): Removed.
2109 (numWriters): Renamed from numWritersWaiting.
2110 (createPosition): Reformat.
2111 (getCurrentWriter): Synchronized.
2112 (readLock): Implement more straightforward.
2113 (readUnlock): Implement more straightforward.
2114 (writeLock): Implement more straightforward.
2115 (writeUnlock): Implement more straightforward.
2116 (remove): Write-lock here.
2117 (removeImpl): Don't write-lock here.
2119 2006-11-20 Roman Kennke <kennke@aicas.com>
2121 * javax/swing/JEditorPane.java
2122 (setPage): Set priority on loading thread.
2124 2006-11-20 Roman Kennke <kennke@aicas.com>
2126 * javax/swing/plaf/basic/BasicTextUI.java
2127 (RootView.paint): Avoid allocation.
2128 (cachedInsets): New field. Caches an Insets instance.
2129 (getNextVisualPositionFrom): Read-lock the document to avoid
2130 thread nastiness. Push allocation.
2131 (getPreferredSize): Push fake allocation when not yet laid out.
2132 (getVisibleEditorRect): Use cached insets.
2133 (viewToModel): Read-lock the document to avoid
2134 thread nastiness. Push allocation.
2136 2006-11-20 Roman Kennke <kennke@aicas.com>
2138 * javax/swing/text/StyleContext.java
2139 (attributeSetPool): Synchronize this map.
2140 (addAttribute): Synchronize this method.
2141 (addAttributes: Synchronize this method.
2142 (readObject): Install synchronized map on target object.
2143 (removeAttribute): Synchronize this method.
2144 (removeAttributes): Synchronize this method.
2145 (removeAttributes): Synchronize this method.
2147 2006-11-20 Roman Kennke <kennke@aicas.com>
2149 * javax/swing/text/GapContent.java
2150 (GapContentPosition.GapContentPosition): Removed constructor.
2151 (Mark): Made subclass of WeakReference to refer directly to
2152 the associated position.
2153 (Mark.refCount): Removed.
2154 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2155 New constructor. Used to reference a position and register the
2157 (Mark.Mark(index)): Call super and don't adjust mark offset.
2158 (Mark.compareTo): Removed.
2159 (Mark.equals): Removed.
2160 (Mark.getOffset): Return at least null. Removed assert.
2161 (Mark.getPosition): New helper method.
2162 (garbageMarks): New field.
2163 (positions): Removed.
2164 (searchMark): New field.
2165 (GapContent): Removed init of positions map.
2166 (addImpl): New helper method.
2167 (adjustPositionsInRange): Removed.
2168 (compare): New helper method.
2169 (createPosition): Rewritten for new datastructures. This now
2170 performs a much more efficient binary search for finding
2171 a position at the requested offste.
2172 (garbageCollect): Rewritten to collect unused marks.
2173 (getPositionsInRange): Adjusted for new data structures.
2174 (removeImpl): New helper method.
2175 (replace): Use new addImpl() and removeImpl() helper method for
2176 correctly adjusting the positions and gap.
2177 (search): Rewritten. Implements a more suitable binary search.
2178 (searchFirst): New helper method.
2179 (setPositionsInRange): Removed.
2180 (shiftEnd): Update the marks here.
2181 (shiftGap): Update the marks here.
2182 (shiftGapEndUp): Update the marks here.
2183 (shiftGapStartDown): Update the marks here.
2185 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2187 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2188 digest algorithm implementations.
2189 (readSignatures): Parse the manifest once and reuse that data.
2190 Add support for line breaks.
2191 (verifyHashes): Use the parsed manifest entry.
2192 (readManifestEntry): Removed.
2194 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2196 * java/beans/beancontext/BeanContextServicesSupport.java:
2197 Added more documentation.
2198 (addService(Class,BeanContextServiceProvider,boolean)):
2199 Synchronized over global hierarchy lock.
2200 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2201 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2202 (childJustRemovedHook(Object,BCSChild)): Implemented.
2203 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2205 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2206 Added revocation-only listeners.
2207 (getBeanContextServicesPeer()): Implemented.
2208 (getCurrentServiceClasses(Class)): Synchronized over global
2210 (getCurrentServiceSelectors(Class)): Synchronized over global
2211 hierarchy lock, and fixed FIXME.
2212 (getService(BeanContextChild,Object,Class,Object,
2213 BeanContextServiceRevokedListener)): Implemented.
2214 (hasService(Class)): Synchronized over global hierarchy lock.
2215 (releaseService(BeanContextChild,Object,Object)): Implemented.
2216 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2217 * java/beans/beancontext/BeanContextSupport.java:
2218 (remove(Object, boolean)): Documentation correction.
2220 2006-11-19 Roman Kennke <kennke@aicas.com>
2222 * javax/swing/JEditorPane.java
2223 (PageStream): New inner class.
2224 (PageLoader): New inner class.
2225 (loading): New field.
2226 (setPage): Implemented asynchronous loading.
2227 * javax/swing/text/DefaultStyledDocument.java
2228 (ElementBuffer.create): New helper method.
2229 (create): Use new ElementBuffer method instead of hack.
2230 * javax/swing/text/html/HTMLDocument.java
2231 (HTMLReader.flushImpl): New helper method.
2232 (HTMLReader.addContent): Use flushImpl().
2233 (HTMLReader.blockClose): Added null check.
2234 (HTMLReader.flush): Use flushImpl().
2235 * javax/swing/text/html/HTMLEditorKit.java
2236 (createDefaultDocument): Set load priority to 4 and token threshold
2238 * javax/swing/text/html/TableView.java
2239 (insertUpdate): Overridden to provide correct view factory.
2240 (removeUpdate): Overridden to provide correct view factory.
2241 (changedUpdate): Overridden to provide correct view factory.
2243 2006-11-19 Roman Kennke <kennke@aicas.com>
2245 * javax/swing/text/BoxView.java
2246 (clipRect): New field.
2247 (tmpRect): New field.
2248 (layout): Reorganized code. Now uses layoutAxis() helper method.
2249 (layoutAxis): New helper method.
2250 (paint): Optimized by using cached Rectangle objects and
2251 a binary search for child views inside the clip.
2252 * javax/swing/text/CompositeView.java
2253 (insideAllocation): Made private and initialized in constructor.
2254 (getInsideAllocation): Removed initialization block for
2255 insideAllocation field. Avoid unnecessary allocations.
2256 * javax/swing/text/GlyphView.java
2257 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2258 The remaining stuff (background, underline and striking) is
2259 done in the GlpyhView itself. Avoid unnecessary allocations.
2260 (cached): A cached Segment instance.
2261 (getText): Return cached segment.
2262 (paint): Paint underline, strike and background here. Avoid
2265 2006-11-19 Roman Kennke <kennke@aicas.com>
2267 * javax/swing/text/html/StyleSheet.java
2268 (getFontSize): Removed debug output.
2269 (ListPainter.tmpRect): New field.
2270 (ListPainter.paint): Align bullet vertically centered to
2271 the first line of the paragraph.
2273 2006-11-17 Roman Kennke <kennke@aicas.com>
2275 * gnu/javax/swing/text/html/css/CSSParser.java
2276 (parseDeclaration): Trim string before reporting.
2277 * gnu/javax/swing/text/html/css/FontSize.java
2279 (isRelative): New field.
2280 (sizeIndex): New field.
2281 (FontSize): Initialize new fields.
2282 (getValue): Changed to call getValue(int).
2283 (getValue(int)): New method. Implements relative font sizes.
2284 (isRelative): New method.
2285 (mapAbsolute): Store index.
2286 (mapEM): New helper method.
2287 (mapLarger): New helper method.
2288 (mapPercent): New helper method.
2289 (mapRelative): New helper method.
2290 (mapSmaller): New helper method.
2291 (mapValue): New helper method.
2292 * javax/swing/text/html/CSS.java
2293 (parseBackgroundShorthand): Create CSSColor directly.
2294 * javax/swing/text/html/StyleSheet.java
2295 (addRule): Invalidate resolved styles.
2296 (getFont): Call new getFontSize() method to resolve relative
2298 (getFontSize): New helper method. Resolves relative font sizes.
2299 (translateHTMLToCSS): Create CSS objects directly.
2301 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2303 * gnu/java/util/regex/RETokenNamedProperty.java:
2304 (getHandler(String)): Add support for 'all'.
2306 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2308 * gnu/javax/management/Server.java:
2309 Initial implementation of a GNU management server.
2310 * javax/management/MBeanPermission.java,
2311 * javax/management/MBeanRegistration.java,
2312 * javax/management/MBeanTrustPermission.java:
2315 2006-11-17 Mark Wielaard <mark@klomp.org>
2317 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2319 2006-11-17 Gary Benson <gbenson@redhat.com>
2321 * java/net/DatagramSocket.java (getLocalAddress, connect,
2322 receive): Perform security check on address not hostname.
2324 2006-11-16 Roman Kennke <kennke@aicas.com>
2326 * gnu/javax/swing/text/html/parser/support/Parser.java
2327 (_handleText): Fixed condition for consuming whitespace.
2328 Removed validator check, this is superfluous now.
2330 2006-11-16 Roman Kennke <kennke@aicas.com>
2332 * gnu/javax/swing/text/html/css/CSSParser.java
2333 (parseRuleset): Support 'combined' selectors.
2334 (main): Adapt callback for combined selectors support.
2335 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2336 (startStatement): Take selector array as argument, to
2337 support combined selectors.
2338 * javax/swing/text/html/BlockView.java
2339 (calculateMinorAxisRequirements): Fetch and apply alignment.
2340 * javax/swing/text/html/StyleSheet.java
2341 (CSSStyle): Inverted the constants for correct precedence.
2342 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2344 (CSSStyleSheetParserCallback.style): Removed.
2345 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2346 (CSSStyleSheetParserCallback.end): Push multiple styles.
2347 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2349 2006-11-16 Roman Kennke <kennke@aicas.com>
2351 * javax/swing/text/FlowView.java
2352 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2353 * javax/swing/text/GlyphView.java
2354 (tabExpander): New field.
2356 (breakView): Set tabX on broken view.
2357 (getPartialSpan): Let the painter fetch the span.
2358 (getTabbedSpan): Update the tab expander field. Maybe trigger
2360 (getTabExpander): Simply return the stored expander.
2361 * javax/swing/text/Utilities.java
2362 (getTabbedTextOffset): Made algoritm a little smarter and more
2364 (getTabbedTextWidth): Don't add single char widths, instead add
2365 chunks of characters.
2366 * javax/swing/text/html/ParagraphView.java
2367 (calculateMinorAxisRequirements): Adjust margin only when the
2368 CSS span is not fixed.
2370 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2372 * java/beans/beancontext/BeanContextSupport.java
2373 (getChildBeanContextMembershipListener): Implemented,
2374 (getChildPropertyChangeListener): Implemented,
2375 (getChildSerializable): Implemented,
2376 (getChildVetoableChangeListener): Implemented,
2377 (getChildVisibility): Implemented,
2378 (setDesignTime): Use same property name as Sun's implementation.
2380 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2382 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2383 * java/beans/Statement.java
2384 (toString): Updated to match reference implementation.
2386 2006-11-15 Roman Kennke <kennke@aicas.com>
2388 * javax/swing/text/html/HTMLEditorKit.java
2389 (InsertHTMLTextAction.actionPerformed): Also try inserting
2390 the alternate tag. Adjust the selection accordingly.
2391 (InsertHTMLTextAction.adjustSelection): New helper method.
2392 Adjusts the selection after an insertion.
2393 (insertAtBoundary): Delegate to deprecated method.
2394 (insertAtBoundry): Implemented missing method.
2395 (tryInsert): New helper method.
2396 (defaultActions): Implemented to fill the array with
2397 a couple of InsertHTMLTextActions.
2399 2006-11-15 Roman Kennke <kennke@aicas.com>
2401 * javax/swing/text/html/ImageView.java
2402 (Observer): New class. Observes image loading.
2403 (haveHeight): New field.
2404 (haveWidth): New field.
2405 (height): New field.
2408 (imageIcon): New field.
2409 (loading): New field.
2410 (observer): New field.
2411 (reloadImage): New field.
2412 (reloadProperties): New field.
2413 (ImageView): Initialize observer and some flags.
2414 (getImage): Update the image state and return the image.
2415 (loadImage): New helper method. Actually starts loading.
2416 (paint): Rewritten to paint the image directly, not via Icon.
2417 (reloadImage): Rewritten. Loads the image and its properties.
2418 (renderIcon): Removed. No more necessary.
2419 (setPropertiesFromAttributes): Don't nullify image here.
2420 Added comment about missing impl.
2421 (setSize): Added comment about missing impl.
2422 (updateSize): New helper method. Updates the size attributes.
2423 (updateState): New helper method. Makes sure the image
2424 and its properties are valid.
2426 2006-11-15 Roman Kennke <kennke@aicas.com>
2428 * gnu/javax/swing/text/html/parser/support/Parser.java
2429 (_handleEndTag_remaining): Consume whitespace after a closing
2432 2006-11-15 Roman Kennke <kennke@aicas.com>
2434 * javax/swing/text/html/HTMLDocument.java
2435 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2437 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2439 (HTMLReader.parseStack): Removed.
2440 (HTMLReader.blockClose): Simply call addContent() with ' '
2441 instead of doing more complicated stuff. Removed parseStack
2443 (HTMLReader.blockOpen): Removed parseStack handling.
2444 (getInsertingReader): Removed parseStack init.
2445 * gnu/javax/swing/text/html/parser/htmlValidator.java
2446 (closeTag): Return true only when the tag actually should be
2448 * gnu/javax/swing/text/html/parser/support/Parser.java
2449 (_handleEndTag): Only actually close the tag when the validator
2452 2006-11-15 Roman Kennke <kennke@aicas.com>
2454 * javax/swing/text/html/CSS.java
2455 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2457 * javax/swing/text/html/StyleSheet.java
2458 (BoxPainter.bottomPadding): New field.
2459 (BoxPainter.leftPadding): New field.
2460 (BoxPainter.rightPadding): New field.
2461 (BoxPainter.topPadding): New field.
2462 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2464 (BoxPainter.getInset): Recognize and include the padding.
2465 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2466 javax/swing/text/html/TableView.java
2467 (RowView.calculateMajorAxisRequirements): Adjust req's for
2469 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2470 (cellSpacing): New field.
2471 (columnRequirements): Made package private to avoid accessor method.
2472 (calculateMinorAxisRequirements): Include cellSpacing.
2473 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2474 (layoutMajorAxis): Likewise.
2475 (layoutColumns): Respect cellSpacing.
2476 (setParent): Overridden to fetch the CSS attributes when view gets
2478 (setPropertiesFromAttributes): New method. Fetches the cell
2479 spacing from the CSS attributes.
2481 2006-11-15 Roman Kennke <kennke@aicas.com>
2483 * gnu/javax/swing/text/html/parser/support/Parser.java
2484 (_handleText): Consume whitespace directly before a closing tag.
2485 (restOfTag): Consume whitespace directly after opening.
2486 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2487 (preprocess): Don't perform array boundary checking by
2488 catch AIOOBE, instead check the boundary in loop condition.
2489 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2490 (TAG_CLOSE): New constants. Describes the token pattern for
2493 2006-11-14 Roman Kennke <kennke@aicas.com>
2495 * javax/swing/text/html/ImageView.java
2496 (getPreferredSpan): Use CSS length values.
2497 * javax/swing/text/html/TableView.java
2498 (CellView.calculateMajorAxisRequirements): Overridden to
2499 set the maximum reqs to maximum.
2500 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2502 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2503 the total column reqs.
2504 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2505 the total column reqs.
2506 * gnu/javax/swing/text/html/css/CSSColor.java
2507 (convertValue): Catch NumberFormatExceptions for more robustness.
2508 * gnu/javax/swing/text/html/css/FontSize.java
2509 (mapPixels): Actually map px values. Catch NFE for more robustness.
2511 2006-11-14 Roman Kennke <kennke@aicas.com>
2513 * gnu/java/awt/font/autofit/AxisHints.java,
2514 * gnu/java/awt/font/autofit/Constants.java,
2515 * gnu/java/awt/font/autofit/GlyphHints.java,
2516 * nu/java/awt/font/autofit/Latin.java,
2517 * nu/java/awt/font/autofit/LatinAxis.java,
2518 * gnu/java/awt/font/autofit/LatinMetrics.java,
2519 * gnu/java/awt/font/autofit/Scaler.java,
2520 * gnu/java/awt/font/autofit/Script.java,
2521 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2522 * gnu/java/awt/font/autofit/Segment.java,
2523 * gnu/java/awt/font/autofit/Width.java:
2524 New classes. This is some skeleton stuff for the FreeType-alike
2526 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2527 * gnu/java/awt/font/opentype/OpenTypeFont.java
2528 (unitsPerEm): Made field public.
2529 (getRawGlyphOutline): New method. Fetches the raw outline.
2530 * gnu/java/awt/font/opentype/Scaler.java
2531 (getRawGlyphOutline): New method. Fetches the raw outline.
2532 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2533 (loadGlyph): New method. This is used to load raw outlines.
2534 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2535 (getRawOutline): New method. Fetches the raw outline.
2536 * gnu/java/awt/font/opentype/truetype/Zone.java:
2539 2006-11-14 Roman Kennke <kennke@aicas.com>
2541 * javax/swing/RepaintManager.java
2542 (RepaintManager): Fetch the default state for the double buffering
2543 from a system property gnu.swing.doublebuffering.
2545 2006-11-14 Roman Kennke <kennke@aicas.com>
2547 * javax/swing/plaf/basic/BasicLabelUI.java
2548 (cachedInsets): New field.
2549 (getFontMetrics): New helper method. Fetches the font metrics
2550 from the component or the toolkit.
2551 (getPreferredSize): Use getFontMetrics() helper method for
2552 fetching the font metrics.
2553 (paint): Use getFontMetrics() helper method for
2554 fetching the font metrics. Only paint if icon or text
2555 are != null. Use cached insets.
2556 (paintDisabledText): Don't store/restore color object. The
2557 JComponent painting mechanism takes care of this by calling
2559 (paintEnabledText): Don't store/restore color object. The
2560 JComponent painting mechanism takes care of this by calling
2563 2006-11-14 Roman Kennke <kennke@aicas.com>
2565 * gnu/java/awt/peer/GLightweightPeer.java
2566 (handleEvent): Try to do something reasonable and trigger painting
2567 for the lightweight component.
2568 (getFontMetrics): Fetch and return a font metrics object from
2571 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2573 * gnu/java/util/regex/RETokenNamedProperty.java:
2574 (getHandler(String)): Add support for 'all'.
2576 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2578 * AUTHORS: Add myself.
2580 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2582 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2583 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2584 Roman Kennke's entry.
2586 2006-11-13 Roman Kennke <kennke@aicas.com>
2588 * java/awt/image/IndexColorModel.java
2589 (createCompatibleSampleModel): Implemented missing method.
2591 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2593 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2594 from big endian systems correctly.
2596 2006-11-11 Roman Kennke <kennke@aicas.com>
2598 * gnu/javax/swing/text/html/css/CSSColor.java
2599 (isValidColor): New helper method. Checks strings if they
2600 form a valid color value.
2601 * gnu/javax/swing/text/html/css/Length.java
2602 (Length): Catch number format exceptions.
2603 * javax/swing/text/html/CSS.java
2604 (addInternal): New method. Checks for shorthand CSS attributes
2606 (parseBackgroundShorthand): New method. Parses the background
2607 shorthand attribute.
2608 * javax/swing/text/html/HTMLDocument.java
2609 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2610 (HTMLReader.LinkAction.start): Implemented to load the linked
2612 (HTMLReader.LinkAction.end): Removed. This is not needed.
2613 * javax/swing/text/html/StyleSheet.java
2614 (CSSStyleSheetParserCallback.declaration): Push declaration
2615 through CSS.addInternal() to parse shorthand attributes.
2616 (addCSSAttribute): Push declaration through CSS.addInternal()
2617 to parse shorthand attributes.
2618 (importStyleSheet): Implemented. This adds a stylesheet from
2620 * javax/swing/text/html/TableView.java
2621 (calculateColumnRequirements): Increase column index for
2622 non CellView children to avoid endless loop.
2623 * javax/swing/text/CompositeView.java
2624 (setParent): Comparen with numChildren not with real arraylength.
2626 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2628 * java/beans/beancontext/BeanContextSupport.java
2629 (getChildBeanContextChild): Implemented.
2631 2006-11-10 Roman Kennke <kennke@aicas.com>
2633 * javax/swing/text/View.java
2634 (updateLayout): Only repaint when needed.
2636 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2638 * java/util/Collections.java
2639 (sort(List)): Minor API doc addition,
2640 (sort(List, Comparator)): Likewise.
2642 2006-11-10 David Fu <fchoong@netbeans.jp>
2644 * javax/swing/text/html/HTMLWriter.java
2645 (traverse): Removed Classpath specific handling of implied
2647 (traverseHtmlFragment): Removed Classpath specific handling of
2650 2006-11-10 Roman Kennke <kennke@aicas.com>
2652 * javax/swing/text/ParagraphView.java
2653 (Row.getMaximumSize): Removed. This method is not necessary.
2654 * javax/swing/text/html/TableView.java
2655 (CellView): Moved attribute init to setPropertiesFromAttributes().
2656 (setPropertiesFromAttributes): Fetch attributes here.
2657 (RowView.RowView): Documented.
2658 (RowView.getMaximumSpan): Overridden to restrict the max span
2660 (RowView.layoutMajorAxis): Correctly layout the spans.
2661 (columnWidths): New field. Stores the width attributes of
2663 (calculateColumnRequirements): Added support for relative
2664 (== percent) width attributes.
2665 (calculateMajorAxisRequirements): Removed.
2666 (calculateMinorAxisRequirements): Removed unnecessary code.
2667 (getMaximumSpan): Overridden to restrict the table's width.
2668 (layoutColumns): Documented. Implement more clever table layout,
2669 i.e. for relative columns etc.
2670 (layoutMinorAxis): Don't mark rows invalid.
2671 (updateGrid): Added docs. Initialize column widths.
2673 2006-11-09 Roman Kennke <kennke@aicas.com>
2675 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2676 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2677 Implement basic headless toolkit.
2678 * java/awt/Toolkit.java
2679 (getDefaultToolkit): Check headless property and create
2680 headless toolkit when true.
2682 2006-11-09 Ingo Proetel <proetel@aicas.com>
2683 2006-11-09 Roman Kennke <kennke@aicas.com>
2685 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2686 (SwingButton.button): New field.
2687 (SwingButton.SwingButton): Added constructor.
2688 (SwingButton.isShowing): Access button field instead of
2689 the surrounding class.
2690 (SwingButton.getParent): Access button field instead of
2691 the surrounding class.
2692 (SwingButtonPeer): Call new SwingButton constructor.
2693 * gnu/java/awt/peer/swing/SwingComponent.java:
2694 Several documentation updates.
2695 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2696 (currentPaintEvents): New field.
2697 (peerFont): New field.
2698 (SwingComponentPeer): Initialize currentPaintEvents fields.
2699 (coalescePaintEvents): Implemented.
2700 (dispose): Unregister peer from heavyweight list of its container.
2701 (getGraphics): Fetch graphics from parent component.
2702 (handleEvent): Discard paint event if its coalesced.
2703 (init): Register component with its container for proper painting.
2704 (paint): Call peerPaint().
2705 (peerPaint): Added argument that indicates if we should update.
2706 Call paint or update on the actual AWT component.
2707 (peerPaintComponent): New method. Paints the peer (Swing) component.
2708 (setFont): Set peerFont field.
2709 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2710 (backbuffer): New field.
2711 (focusOwner): New field.
2712 (heavyweightDescendents): New field.
2713 (SwingContainerPeer): Take Container as argument. Don't call init
2715 (addHeavyweightDescendent): New method.
2716 (getFocusOwner): New helper method.
2717 (getInsets): Delegate to insets().
2718 (handleKeyEvent): Dispatch event to focus owner.
2719 (handleMouseEvent): Dispatch to child component.
2720 (isDoubleBuffering): New helper method.
2721 (peerPaint): Overridden to implement container painting with
2723 (peerPaintChildren): New method. Paints the descendents of this
2725 (removeHeavyweightDescendent): New helper method.
2726 * gnu/java/awt/peer/swing/SwingFramePeer.java
2727 (peerPaint): Removed.
2728 (peerPaintComponent): Overridden to paint the menu bar.
2729 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2730 (SwingLabel.label): New field.
2731 (SwingLabel.SwingLabel): Added constructor with Label argument.
2732 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2733 the actual AWT component.
2734 (SwingLabel.getParent): Implemented to fetch the parent from
2736 (SwingLabel.isShowing): Access the label field.
2737 (SwingLabelPeer): Set alignment from label.
2738 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2739 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2741 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2742 Don't be a lighweight peer.
2743 (SwingPanelPeer): Call init.
2744 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2745 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2746 (SwingTextField.textField): New field.
2747 (SwingTextField.SwingTextField): New constructor.
2748 (SwingTextField.isShowing): Access field not enclosing class.
2749 (SwingTextField.getGraphics): New method.
2750 (SwingTextField.getParent): New method.
2751 (SwingTextFieldPeer): Call new constructor.
2752 (select): Renamed arguments.
2753 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2754 (SwingWindowPeer): Call init.
2756 2006-11-09 Tania Bento <tbento@redhat.com>
2758 * javax/swing/JLabel.java
2759 (JLabel(Icon)): Changed documentation; Changed text to null.
2760 (JLabel(Icon,int)): Likewise.
2761 (JLabel(text)): Changed documenation.
2762 (JLabel(text,int)): Likewise.
2763 (JLabel(text,Icon,int)): Changed documentation; Throw
2764 IllegalArgumentException if int is not one of LEFT, RIGHT,
2765 CENTER, LEADING or TRAILING.
2767 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2769 * java/beans/beancontext/BeanContextSupport.java
2770 (BeanContextSupport): Use correct dtime default,
2771 (BeanContextSupport(BeanContext)): Likewise,
2772 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2774 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2775 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2777 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2779 * java/beans/beancontext/BeanContextSupport.java
2780 (getBeanContextPeer): Implemented.
2782 2006-11-09 Roman Kennke <kennke@aicas.com>
2784 * javax/swing/text/html/BlockView.java
2785 (cssHeight): Removed.
2786 (cssWidth): Removed.
2787 (cssSpans): New field. Replaces the two fields above.
2788 (BlockView): Allocate cssSpans array.
2789 (layoutMinorAxis): Fetch and use child span, not this view's span.
2790 (setCSSSpan): Adjusted to use cssSpans array.
2791 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2793 2006-11-09 Roman Kennke <kennke@aicas.com>
2795 * javax/swing/text/html/InlineView.java
2796 (nowrap): New field.
2797 (getBreakWeight): Add support for nowrap.
2798 (setPropertiesFromAttributes): Fetch the nowrap setting.
2800 2006-11-09 Roman Kennke <kennke@aicas.com>
2802 * gnu/javax/swing/text/html/css/CSSParser.java
2803 (parseRuleset): Use new Selector class.
2804 (parseValue): Parse multiple anys, not only one.
2805 (main): Allow stylesheet be specified on the command line.
2806 Use new Selector class.
2807 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2808 (startStatement): Use Selector class.
2809 * gnu/javax/swing/text/html/css/CSSScanner.java
2810 (readName): Actually read a character in the loop to avoid
2812 * gnu/javax/swing/text/html/css/Length.java
2813 (getValue): Only multiply when we have a percentage value.
2814 * gnu/javax/swing/text/html/css/Selector.java:
2815 New class. Provides handling of CSS selectors.
2816 * javax/swing/text/html/StyleSheet.java
2817 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2818 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2819 (CSSStyle.PREC_NORM): New constant field.
2820 (CSSStyle.PREC_UA): New constant field.
2821 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2822 (CSSStyle.precedence): New field.
2823 (CSSStyle.priority): Removed.
2824 (CSSStyle.selector): New field.
2825 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2827 (CSSStyle.compareTo): Adjusted to use the precedence and
2828 specificity of the selector.
2829 (CSSStyleSheetParserCallback.precedence): New field.
2830 (CSSStyleSheetParserCallback.selector): Removed.
2831 (CSSStyleSheetParserCallback.style): New field.
2832 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2833 Initialize with precedence.
2834 (CSSStyleSheetParserCallback.declaration): Don't look up
2835 existing rule, simply create new one.
2836 (CSSStyleSheetParserCallback.endStatement): Append style
2838 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2840 (css): Changed to be ArrayList.
2841 (addRule): Create parser with author-normal precendence.
2842 (getRule): Fixed implementation.
2843 (loadRules): Create parser with UA precendence.
2844 (resolveStyle): Use Selector class for resolving and matching
2846 (translateHTMLToCSS): Added mappings for a couple of HTML
2849 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2852 * java/beans/SimpleBeanInfo.java
2853 (loadImage): Check for nulls.
2855 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2857 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2858 (getpeername): Added 16 byte offset to memcpy operation.
2860 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2862 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2863 (getsockname): Added 16 byte offset to memcpy operation.
2865 2006-11-08 Mark Wielaard <mark@klomp.org>
2868 * java/io/OutputStreamWriter.java
2869 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2870 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2872 2006-11-08 Roman Kennke <kennke@aicas.com>
2874 * javax/swing/text/html/HTMLEditorKit.java
2875 (getParser): Use plain HTML_401F DTD.
2876 * javax/swing/text/html/HTMLDocument.java
2877 (HTMLReader.print): Removed method and all calls to it.
2878 (HTMLReader.printBuffer): Removed method and all calls to it.
2879 (HTMLReader.inImpliedParagraph): New field.
2880 (HTMLReader.inParagraph): New field.
2881 (HTMLReader.addContent): Create implied p-tag if necessary.
2882 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2883 (HTMLReader.blockClose): Close implied p-tag if necessary.
2884 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2885 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2887 2006-11-08 Roman Kennke <kennke@aicas.com>
2889 * javax/swing/text/html/HTMLEditorKit.java
2890 (HTMLFactory.create): Removed mapping for TD tag. This
2891 is done in TableView.
2892 * javax/swing/text/html/TableView.java:
2893 Implemented from scratch.
2895 2006-11-07 Roman Kennke <kennke@aicas.com>
2897 * gnu/javax/swing/text/html/parser/support/Parser.java
2898 (_handleText): Check if text content is actually allowed before
2899 passing empty text fragments on to the parser callbacks.
2901 2006-11-07 Mark Wielaard <mark@klomp.org>
2903 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2907 2006-11-07 Tania Bento <tbento@redhat.com>
2909 * java/awt/FlowLayout.java
2910 (getSize): If parent does not have a component, then a
2911 different formula is used to calcuate the width.
2913 2006-11-07 Roman Kennke <kennke@aicas.com>
2915 * javax/swing/text/html/HTMLEditorKit.java
2916 (HTMLFactory.create): Include ListView.
2917 * javax/swing/text/html/ListView.java
2918 (paint): Removed comment.
2919 * javax/swing/text/html/StyleSheet.java
2920 (CSSStyle.priority): New field.
2921 (CSSStyle.CSSStyle(int)): New constructor with priority.
2922 (CSSStyle.compareTo): New method. Used for sorting the styles.
2923 (CSSStyleSheetParserCallback.declaration): Store the style
2924 with the complete selector.
2925 (ListPainter.attributes): Renamed as field.
2926 (ListPainter.styleSheet): New field.
2927 (ListPainter.type): New field.
2928 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2929 (ListPainter.paint): Provide simplistic implementation.
2930 (getListPainter): Pass StyleSheet to constructor.
2931 (resolveStyle): Fixed CSS style resolving.
2933 2006-11-07 Roman Kennke <kennke@aicas.com>
2935 * gnu/javax/swing/text/html/css/BorderWidth.java:
2936 New class. Handles CSS border width values.
2937 * gnu/javax/swing/text/html/css/Length.java
2938 (floatValue): Made protected so that BorderWidth can access it.
2939 * javax/swing/text/html/CSS.java
2940 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2941 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2942 (Attribute.BORDER_LEFT_COLOR): New static field.
2943 (Attribute.BORDER_LEFT_STYLE): New static field.
2944 (Attribute.BORDER_RIGHT_COLOR): New static field.
2945 (Attribute.BORDER_RIGHT_STYLE): New static field.
2946 (Attribute.BORDER_TOP_COLOR): New static field.
2947 (Attribute.BORDER_TOP_STYLE): New static field.
2948 (getValue): Added some mappings for the border color and
2949 border width values.
2950 * javax/swing/text/html/CSSBorder.java: New class. Implements
2952 * javax/swing/text/html/StyleSheet.java
2953 (BoxPainter.background): New field.
2954 (BoxPainter.border): New field.
2955 (BoxPainter.bottomInset): Documented.
2956 (BoxPainter.leftInset): Documented.
2957 (BoxPainter.rightInset): Documented.
2958 (BoxPainter.topInset): Documented.
2959 (BoxPainter.BoxPainter): Added support for borders and background.
2960 (BoxPainter.getInset): Add border insets.
2961 (BoxPainter.paint): Implemented. Paints the background and the
2963 (addRule): Be less picky about parse and IO exceptions.
2964 (getBoxPainter): Adjust to new BoxPainter constructor.
2966 2006-11-07 Andreas <a.tobler@schweiz.org>
2968 * examples/Makefile.am: Add rule to install the *.html files we use
2971 2006-11-06 Francis Kung <fkung@redhat.com>
2973 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2974 (fillRect): Handle custom composites.
2975 (drawRenderedImage): Handle custom composites.
2976 (drawImage): Handle custom composites.
2977 (createBuffer): New method.
2978 (drawLine): Handle custom composites.
2979 (drawComposite): New method.
2980 (fill): Handle custom composites.
2981 (getNativeCM): New method.
2982 (drawGlyphVector): Handle custom composites.
2983 (drawRect): Handle custom composites.
2984 (draw): Handle custom composites.
2985 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2986 (drawComposite): Unset composite during draw call, to prevent parent
2987 from handling composite again.
2988 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2989 (getBufferCM): Added comments.
2990 (getNativeCM): Made abstract.
2991 (setComposite): Removed comments.
2993 2006-11-06 Roman Kennke <kennke@aicas.com>
2995 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2996 Fixed initial window size and start document.
2998 2006-11-06 Roman Kennke <kennke@aicas.com>
3000 * javax/swing/text/html/HTMLDocument.java
3001 (HTMLReader.addSpecialElement): Removed comment about
3003 (HTMLReader.handleComment): Create SimpleAttributeSet instead
3004 of htmlAttributeSet.
3005 * javax/swing/text/html/parser/DocumentParser.java
3006 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3007 of htmlAttributeSet.
3008 * javax/swing/text/html/parser/ParserDelegator.java
3009 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3010 of htmlAttributeSet.
3011 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3012 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3013 of htmlAttributeSet.
3014 * gnu/javax/swing/text/html/parser/support/Parser.java
3015 (getAttributes): Return a SimpleAttributeSet.
3016 (restOfTag): Don't set resolving parent here.
3018 2006-11-06 Tania Bento <tbento@redhat.com>
3020 * java/awt/TextComponent.java
3021 (setSelectionStart): Added check.
3023 2006-11-06 Tania Bento <tbento@redhat.com>
3025 * java/awt/TextField.java
3026 (minimumSize(int)): Check if minimum size has been previously
3027 set and changed values of Dimension returned if peer == null.
3028 (preferredSize(int)): Check if preferred size has been previously
3029 set and changed values of Dimension returned if peer == null.
3031 2006-11-06 Roman Kennke <kennke@aicas.com>
3033 * javax/swing/JTree.java
3034 (TreeModelHandler.treeNodesRemoved): Implemented.
3035 (TreeModelHandler.treeStructureChanged): Implemented.
3036 (nodeStates): Made package private.
3038 2006-11-06 Francis Kung <fkung@redhat.com>
3041 * javax/swing/JTree.java
3042 (clearSelectionPathStates): New private method to clean up nodeStates.
3043 (removeSelectionPath): Call clearSelectionPathStates().
3044 (removeSelectionPaths): Call clearSelectionPathStates().
3045 (removeSelectionRow): Call clearSelectionPathStates().
3046 (setSelectionPath): Call clearSelectionPathStates().
3047 (setSelectionPaths): Call clearSelectionPathStates().
3048 (setSelectionRow): Call clearSelectionPathStates().
3050 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3053 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3055 2006-11-06 Roman Kennke <kennke@aicas.com>
3057 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3058 Changed to implement a minimalistic browser.
3059 * examples/gnu/classpath/examples/swing/forms.html,
3060 * examples/gnu/classpath/examples/swing/textstyles.html,
3061 * examples/gnu/classpath/examples/swing/welcome.html:
3062 Some example content.
3064 2006-11-06 Roman Kennke <kennke@aicas.com>
3066 * javax/swing/text/ComponentView.java
3067 (setParent): Lock the document and repaint the hosting
3069 * javax/swing/text/FlowView.java
3070 (FlowStrategy.createView): Removed comment.
3071 (FlowView): Initialize span with Short.MAX_VALUE.
3072 (getFlowStart): Return 0 unconditionally.
3073 (layout): Moved code around to make it more readable.
3074 (loadChildren): Always set the parent.
3075 * javax/swing/text/GlyphView.java
3076 (DefaultGlyphPainter.fontMetrics): New field.
3077 (DefaultGlyphPainter.getAscent): Use new helper method to
3078 synchronize the font metrics.
3079 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3080 to synchronize the font metrics.
3081 (DefaultGlyphPainter.getDescent): Use new helper method to
3082 synchronize the font metrics.
3083 (DefaultGlyphPainter.getHeight): Use new helper method to
3084 synchronize the font metrics.
3085 (DefaultGlyphPainter.getSpan): Use new helper method to
3086 synchronize the font metrics.
3087 (DefaultGlyphPainter.modelToView): Use new helper method to
3088 synchronize the font metrics.
3089 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3090 font metrics caching.
3091 (DefaultGlyphPainter.viewToModel): Use new helper method to
3092 synchronize the font metrics. Fixed view to model mapping.
3093 * javax/swing/text/View.java
3094 (removeAll): Pass null to replace().
3095 (setParent): Only reparent children that have this view as parent.
3097 2006-11-05 Mark Wielaard <mark@klomp.org>
3099 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3100 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3101 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3103 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3105 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3106 Remove gnu_java_nio_channels_FileChannelImpl.c.
3108 2006-11-03 Roman Kennke <kennke@aicas.com>
3110 * javax/swing/text/html/BlockView.java
3111 (attributes): New field.
3112 (cssHeight): New field.
3113 (cssWidth): New field.
3114 (painter): New field.
3115 (calculateMajorAxisRequirements): Overridden to account for
3117 (calculateMinorAxisRequirements): Overridden to account for
3119 (layoutMinorAxis): Overridden to account for CSS settings.
3120 (changedUpdate): Formatting fixlet.
3121 (constrainSize): New helper method.
3122 (getAlignment): Fix alignment.
3123 (getAttributes): Cache attributes for better performance.
3124 (getStyleSheet): Fetch stylesheet from document rather than creating
3126 (paint): Remove comment.
3127 (setCSSSpan): New helper method.
3128 (setPropertiesFromAttributes): Implemented to fetch the
3129 recognized properties.
3130 * javax/swing/text/html/CSS.java
3131 (getValue): Added mapping for width and height attributes.
3132 * javax/swing/text/html/InlineView.java
3133 (longestWord): New field.
3134 (getLongestWord): New helper method.
3135 (calculateLongestWord): New helper method.
3136 (getMinimumSpan): Overridden to constrain the minimum span by the
3138 * javax/swing/text/html/ParagraphView.java
3139 (cssHeight): New field.
3140 (cssWidth): New field.
3141 (calculateMinorAxisRequirements): Overridden to account for
3143 (setCSSSpan): New helper method.
3144 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3146 * gnu/javax/swing/text/html/css/Length.java
3147 (percentage): New field.
3148 (Length): Determine percentage values.
3149 (getValue(float)): New method for handling percentage values.
3150 (isPercentage): New method.
3152 2006-11-03 Tania Bento <tbento@redhat.com>
3154 * java/awt/TextArea.java
3155 (getMinimumSize): Changed documentation.
3156 (getPreferredSize): Changed documentation.
3157 (getMinimumSize(int,int)): Changed documenation.
3158 (getPreferredSize(int,int)): Changed documenation.
3159 (minimumSize): Changed documentation.
3160 (preferredSize): Changed documenation.
3161 (minimumSize(int,int)): Changed documentation. Checked if
3162 minimum size had been previously set and changed values of
3163 Dimension returned if peer == null.
3164 (preferredSize(int, int)): Checked if preferred size had been
3165 previously set and changed values of Dimension returned if
3168 2006-11-03 Tania Bento <tbento@redhat.com>
3170 * java/awt/event/ComponentEvent.java
3171 (paramString): Changed format of string representation returned.
3173 2006-11-03 Roman Kennke <kennke@aicas.com>
3175 * javax/swing/text/html/HTMLDocument.java
3176 (HTMLReader.FormAction.start): Added support for textarea.
3177 (HTMLReader.FormAction.end): Added support for textarea.
3178 (HTMLReader.HeadAction.end): Call super to actually close the
3180 (HTMLReader.inTextArea): New field.
3181 (HTMLReader.textAreaDocument): New field.
3182 (HTMLReader.handleText): Call textAreaContent when inside
3184 (HTMLReader.textAreaContent): Implemented to initialize
3185 the text area's model.
3186 * javax/swing/text/html/FormView.java
3187 (createComponent): Added support for textarea tag.
3189 2006-11-03 Roman Kennke <kennke@aicas.com>
3191 * javax/swing/text/html/HTMLDocument.java
3192 (HTMLReader.IsindexAction.start): Implemented.
3194 2006-11-03 Roman Kennke <kennke@aicas.com>
3196 * javax/swing/text/html/StyleSheet.java
3197 (addRule): Implemented.
3198 * javax/swing/text/html/HTMLDocument.java
3199 (HTMLReader.inStyleTag): New field.
3200 (HTMLReader.styles): New field.
3201 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3203 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3204 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3205 (HTMLReader.handleText): When inside a style tag, add
3206 content to the styles array.
3208 2006-11-02 Roman Kennke <kennke@aicas.com>
3210 * javax/swing/text/html/FormView.java
3211 (maxIsPreferred): New field.
3212 (createComponent): Initialize components correctly.
3213 (getMaximumSpan): Return the preferred span for components
3214 that need this. The maxIsPreferred flag is set accordingly
3216 * javax/swing/text/html/HTMLDocument.java
3217 (HTMLReader.FormAction.start): Implemented to set the
3218 correct model as attribute.
3219 (HTMLReader.FormAction.setModel): New helper method.
3220 (HTMLReader.FormAction.end): Call super to finish the element.
3221 Added TODO about things left to do.
3222 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3223 than htmlAttributeSet.
3224 * javax/swing/text/html/HTMLEditorKit.java
3225 (HTMLFactory.create): Create BlockView for FORM tags.
3226 Create FormView for INPUT, TEXTAREA and SELECT tags.
3228 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3230 * java/awt/geom/GeneralPath.java: API doc fixes.
3232 2006-11-02 Roman Kennke <kennke@aicas.com>
3234 * javax/swing/text/html/ImageView.java
3235 (getImageURL): Fetch attribute from element. Consider the
3236 base URL for relative image locations.
3238 2006-11-02 Roman Kennke <kennke@aicas.com>
3240 * javax/swing/JEditorPane.java
3241 (setContentType): Strip off attributes.
3242 * javax/swing/text/html/HTMLEditorKit.java
3243 (LinkController.activateLink(int,JEditorPane,int,int): New
3244 method. Implements activation of a hyperlink.
3245 (LinkController.activateLinke(int,JEditorPane)): Delegate
3246 to the other activateLink() method.
3247 (LinkController.createHyperlinkEvent): New helper method.
3248 (LinkController.mouseClicked): Implemented to activate the link.
3249 (LinkController.mouseDragged): Added comment that this
3250 method does nothing.
3251 (LinkController.mouseMoved): Update cursor for hyperlinks.
3252 (mouseHandler): Renamed field to linkController.
3253 (HTMLEditorKit): Create a link controller.
3254 (clone): Give the clone a new link controller.
3255 (deinstall): De-install link controller as mouseMotionListener too.
3256 (install): Install link controller as mouseMotionListener too.
3258 2006-11-02 Roman Kennke <kennke@aicas.com>
3261 * javax/swing/text/FlowView.java
3262 (FlowStrategy.changedUpdate): Reversed condition. This caused
3263 wrong layout and bad performance.
3264 (FlowStrategy.insertUpdate): Reversed condition. This caused
3265 wrong layout and bad performance.
3266 (FlowStrategy.removeUpdate): Reversed condition. This caused
3267 wrong layout and bad performance.
3268 (LogicalView): Changed to be a subclass of CompositeView.
3269 (LogicalView()): Only take one Element argument.
3270 (LogicalView.childAllocation): New method for implementing
3271 the abstract CompositeView method.
3272 (LogicalView.forwardUpdateToView): Overridden for correct
3274 (getMinimumSpan): Overridden to handle line breaking correctly.
3275 (getPreferredSpan): Implemented to handle line breaking correctly.
3276 (getViewAtPoint): New method for implementing
3277 the abstract CompositeView method.
3278 (getViewIndexAtPosition): Overridden to handle leaf elements
3280 (isAfter): New method for implementing
3281 the abstract CompositeView method.
3282 (isBefore): New method for implementing
3283 the abstract CompositeView method.
3284 (loadChildren): Overridden to handle leaf elements
3286 (paint): New method for implementing
3287 the abstract CompositeView method.
3288 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3289 (loadChildren): Initialize flow layout by sending a synthetic
3290 insertUpdate() to the layout strategy.
3291 * javax/swing/text/GlyphView.java
3292 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3293 font metrics if component is not available. Add initial offset
3295 (breakView): Be more clever when breaking the view.
3296 (getBreakLocation): New helper method to determine a good
3298 (getBreakWeight): Be more clever when breaking the view.
3299 (getTabbedSpan): Make sure we have a painter. Use view's
3300 start and end offset rather than the element's.
3301 * javax/swing/text/Utilities.java
3302 (drawTabbedText): Avoid useless add and sub with the y offset.
3304 2006-11-02 Roman Kennke <kennke@aicas.com>
3307 * gnu/java/awt/peer/ClasspathFontPeer.java
3308 (getStringBounds): Removed abstract method. This is replaced
3309 in java.awt.Font to use a TextLayout.
3310 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3311 (GtkWindowPeer): Set a font on the window object.
3312 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3313 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3314 Changed to take char,int,int instead of String. Filter
3316 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3317 Create char array out of string.
3318 (getLogicalBounds): Don't translate bounds. They already are
3320 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3321 (stringWidth): Filter out control characters.
3322 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3323 (getStringBounds): Removed unneeded method.
3324 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3326 * gnu/java/awt/peer/qt/QtFontPeer.java
3327 (getStringBounds): Removed unneeded method.
3328 * gnu/java/awt/peer/x/XFontPeer.java
3329 (getStringBounds): Removed unneeded method.
3330 * gnu/java/awt/peer/x/XFontPeer2.java
3331 (getStringBounds): Removed unneeded method.
3332 * java/awt/Font.java
3333 (getStringBounds(char[],int,int,FontRenderContext)):
3334 Use TextLayout to determine the bounds.
3335 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3336 Delegate to the char[] version of this method.
3337 (getStringBounds(String,FontRenderContext)):
3338 Delegate to the char[] version of this method.
3339 (getStringBounds(String,int,int,FontRenderContext)):
3340 Delegate to the String version of this method.
3342 2006-11-01 Tania Bento <tbento@redhat.com>
3344 * java/awt/ScrollPaneAdjustable.java
3345 (paramString): Changed format of string representation returned.
3346 (paramStringHelper): New private method.
3348 2006-11-01 Tania Bento <tbento@redhat.com>
3350 * java/awt/GridBagLayout.java
3351 (toString): Implemented method.
3353 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3355 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3356 initialization to NP_Initialize.
3357 (NP_Initialize): Initialize GLib threading.
3359 2006-10-31 Tania Bento <tbento@redhat.com>
3361 * javax/swing/JTextField.java
3362 (fireActionPerformed): When creating the new event, if
3363 actionCommand == null, then getText() is used.
3365 2006-10-31 Francis Kung <fkung@redhat.com>
3367 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3368 (fillArc): Corrected arc type to Arc2D.PIE.
3370 2006-10-31 Roman Kennke <kennke@aicas.com>
3372 * javax/swing/text/html/HTMLDocument.java
3373 (HTMLReader.PreAction.end): Implemented.
3374 (HTMLReader.PreAction.start): Implemented.
3375 (HTMLReader.inPreTag): New field.
3376 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3377 (HTMLReader.preContent): Implemented.
3379 2006-10-31 Tania Bento <tbento@redhat.com>
3381 * javax/swing/JTextField.java
3382 (fireActionPerformed): When creating the new event,
3383 actionCommand should be used as the command, not
3386 2006-10-31 Roman Kennke <kennke@aicas.com>
3388 * javax/swing/text/html/HTMLEditorKit.java
3389 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3390 HTML or Styled documents.
3392 2006-10-31 David Fu <fchoong@netbeans.jp>
3394 * javax/swing/text/html/HTMLWriter.java: New class.
3396 2006-10-30 Roman Kennke <kennke@aicas.com>
3398 * java/awt/dnd/DragSourceContext.java
3399 (dragExit): Use constant fields instead of 0.
3400 (updateCurrentCursor): Completed implementation.
3402 2006-10-30 Roman Kennke <kennke@aicas.com>
3404 * java/awt/dnd/DragGestureRecognizer.java
3405 (resetRecognizer): Added API docs. Do not replace the events object
3406 but rather clear() it. Removed not implemented tag.
3408 2006-10-30 Roman Kennke <kennke@aicas.com>
3410 * java/awt/datatransfer/DataFlavor.java
3411 (writeExternal): Remove not implemented tag.
3413 2006-10-30 Roman Kennke <kennke@aicas.com>
3415 * java/awt/datatransfer/DataFlavor.java
3416 (javaFileListFlavor): Don't explicitly specify class.
3417 (plainTextFlavor): Don't explicitly specify class.
3418 (mimeType): Changed to type MimeType. Remove final.
3419 (representationClass): Remove final.
3420 (DataFlavor): Don't do anything here.
3421 (DataFlavor(Class,String,String)): Removed.
3422 (DataFlavor(Class,String)): Initialize here.
3423 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3424 (DataFlavor(String,String)): Initialize in init().
3425 (DataFlavor(String)): Initialize in init().
3426 (init): New initialization method.
3427 (getMimeType): Delegate to MimeType.toString().
3428 (getParameter(String,String)): Removed. Is now done in MimeType.
3429 (getParameter(String)): Delegate to MimeType.
3430 (getPrimaryType): Delegate to MimeType.
3431 (getRepresentationClassFromMime): Removed.
3432 (getRepresentationClassFromMimeThrows): Removed.
3433 (getSubType): Delegate to MimeType.
3434 (hashCode): Take MimeType.toString() for the hashCode.
3435 (isFlavorRemoveObjectType): Return true only when representation
3436 class is remove and serializable and the mime type is remote.
3437 (isFlavorSerializedObjectType): Return true only when representation
3438 class is serializable and the mime type is serialized.
3439 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3440 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3441 (readExternal): Implemented stub method.
3442 (writeExternal): Implemented stub method.
3443 * java/awt/datatransfer/MimeType.java: New helper class.
3445 2006-10-28 Roman Kennke <kennke@aicas.com>
3447 * javax/swing/TransferHandler.java
3448 (importData): Implemented stub method. Added API docs.
3450 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3452 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3454 * native/jni/classpath/classpath_jawt.h: Likewise.
3455 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3456 initializer for surface_info_x11->depth.
3458 2006-10-26 Tania Bento <tbento@redhat.com>
3460 * java/awt/FileDialog.java:
3461 (setFile): Changed if-clause condition.
3463 2006-10-25 Francis Kung <fkung@redhat.com>
3465 * include/gnu_java_nio_VMChannel.h,
3466 * include/java_net_VMNetworkInterface.h,
3467 * include/gnu_java_nio_EpollSelectorImpl.h,
3468 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3469 * include/gnu_java_nio_FileChannelImpl.h,
3470 * include/gnu_java_nio_KqueueSelectorImpl.h,
3471 * include/gnu_java_nio_VMPipe.h,
3472 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3474 2006-10-25 Tania Bento <tbento@redhat.com>
3476 * java/awt/Dialog.java: Created new private variable
3478 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3479 Set cursor to default cursor.
3480 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3482 (generateName): New method.
3483 (getUniqueLong): New private method.
3484 * java/awt/FileDialog.java: Created new private variable
3485 next_file_dialog_number.
3486 (setFile): If file == "", set it to null.
3487 (generateName): New method.
3488 (getUniqueLong): New private method.
3490 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3492 * java/net/MulticastSocket.java:
3493 (setNetworkInterface): Rewritten.
3495 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3497 * native/jni/java-net/javanet.h: Added declaration for
3498 _javanet_create_inetaddress.
3499 * native/jni/java-net/javanet.c:
3500 (_javanet_create_inetaddress): Removed static keyword.
3502 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3504 * gnu/java/net/PlainDatagramSocketImpl.java:
3505 (connect): Use VMChannel instance for connect call.
3506 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3507 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3508 (setOption): Handle multicast options.
3509 (getOption): Handle multicast options.
3510 * gnu/java/net/PlainSocketImpl.java:
3511 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3512 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3513 (setOption): Filter unappropriate options.
3514 (getOption): Filter unappropriate options.
3515 (connect): Use given SocketAddress.
3516 (close): Reset address and port.
3518 * include/Makefile.am: Removed all occurences of
3519 gnu_java_net_VMPlainDatagramSocketImpl.h.
3520 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3521 * native/jni/java-net/Makefile.am: Removed
3522 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3523 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3525 as SocketException, declare to throw SocketException.
3526 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3527 for SocketException and ConnectException.
3528 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3530 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3532 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3533 (JCL_thread_interrupted): New function.
3534 (initIDs): Added initialisation for isThreadInterrupted method id.
3535 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3536 CPNET_IP_TTL to java_sockopt enum.
3537 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3538 case, handle SO_LINGER case properly.
3539 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3540 case, handle SO_LINGER case properly.
3541 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3543 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3545 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3547 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3549 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3550 * vm/reference/gnu/java/nio/VMChannel.java:
3551 (connect(int, byte[], int, int)): Declare to throw SocketException.
3552 (connect6): Declare to throw SocketException.
3553 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3554 (isThreadInterrupted): New method.
3555 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3557 (setTimeToLive): New method.
3558 (getTimeToLive): New method.
3559 (setMulticastInterface(int, InetAddress)): New method.
3560 (setMulticastInterface(int, int, Inet4Address): New method.
3561 (setMulticastInterface6(int, int, Inet6Address): New method.
3562 (setOptions): Handle SO_LINGER case.
3563 (getOptions): Add missing SO_REUSEADDR case.
3564 * java/net/Socket.java:
3565 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3566 when exception was thrown out of connect().
3567 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3568 Boolean.FALSE with Integer.valueOf(-1).
3569 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3570 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3571 * NEWS: Documented VM interface changes.
3573 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3575 * java/net/Inet6Address.java:
3576 (isMulticastAddress): Fixed check.
3578 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3581 * java/net/MulticastSocket.java:
3582 (getNetworkInterface): Return a special NetworkInterface instance
3583 if the socket's multicast interface is set to any.
3585 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3588 * java/net/NetworkInterface.java:
3589 (createAnyInterface): New method.
3590 (equals): Added if-statement to handle case where netif.name is null.
3591 * vm/reference/java/net/VMNetworkInterface.java:
3592 (hashCode): Rewritten.
3593 (VMNetworkInterface): New constructor.
3595 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3597 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3598 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3599 Add ASM_JAR to bootclasspath.
3601 2006-10-24 Tania Bento <tbento@redhat.com>
3603 * java/awt/Scrollbar.java:
3604 (setLineIncrement): Removed unnecessary if-clause and if
3605 lineIncrement == 0, then it should be set to 1, not 0.
3606 (setPageIncrement): Removed unnecessary if-clause and if
3607 pageIncrement == 0, then it should be set to 1, not 0.
3608 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3609 If maximum <= minimum, maximum should be set to mininum + 1. The
3610 actual value of maximum is maximum - visibleAmount, so I made
3611 this change to the appropriate if-check. Remove the two unneccessary
3614 2006-10-23 Francis Kung <fkung@redhat.com>
3616 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3617 (cairoSetFont): New method.
3618 (copy): Set font using setFont method.
3619 (setFont): Call cairoSetFont.
3620 (setup): Set font using setFont method.
3621 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3623 (install_font_peer): Removed.
3624 (cairoDrawGlyphVector): Removed call to install_font_peer.
3625 (cairoSetFont): New method.
3627 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3629 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3630 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3631 NativeEventLoopRunningEvent after GTK main loop start and stop.
3632 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3633 (getNextEvent): Set dispatchThread to null.
3634 (postEventImpl): Set nativeLoopRunning.
3635 (pop): Interrupt event dispatch thread.
3636 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3638 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3640 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3642 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3645 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3647 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3648 * javax/crypto/CipherOutputStream.java: Re-implemented.
3649 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3650 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3651 decryption mode and check if it is a complete block.
3652 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3653 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3654 partially processed data into account.
3656 2006-10-21 Tom Tromey <tromey@redhat.com>
3659 * java/util/AbstractCollection.java (toArray): Removed cast.
3661 2006-10-20 Tom Tromey <tromey@redhat.com>
3663 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3664 Don't use mangled class name for .h file.
3665 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3666 Don't use mangled class name for .c file.
3667 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3668 Handle classes from the default package.
3670 2006-10-20 Francis Kung <fkung@redhat.com>
3672 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3674 2006-10-19 Francis Kung <fkung@redhat.com>
3677 * java/awt/image/BufferedImage.java
3678 (constructor): Updated some properties of default image types.
3679 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3680 (argb32): Updated field to match default in BufferedImage.
3682 2006-10-18 Roman Kennke <kennke@aicas.com>
3685 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3686 (copyArea): Changed size comparison to return when size == 0
3688 * javax/swing/JViewport.java
3689 (paintBackingStore): Check width and height of blitted area
3690 and only do blit if its > 0.
3691 (paintBlit): Check width and height of blitted area
3692 and only do blit if its > 0.
3694 2006-10-18 Roman Kennke <kennke@aicas.com>
3697 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3698 (maximize): New native method.
3699 (unmaximize): New native method.
3700 (iconify): New native method.
3701 (deiconify): New native method.
3702 (getState): Implemented.
3703 (setState): Implemented.
3704 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3705 (oldState): Rename to windowState and made protected, so that
3706 the FramePeer can access it.
3707 (postWindowEvent): Handle state change events more gently and
3709 * java/awt/Frame.java
3710 (getState): Fetch state from getExtendedState().
3711 (setExtendedState): Update the peer. Check if the state change
3712 is actually supported.
3713 (getExtendedState): Update the state from the peer.
3714 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3715 (maximize): New method.
3716 (unmaximize): New method.
3717 (iconify): New method.
3718 (deiconify): New method.
3719 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3720 (AWT_FRAME_NORMAL): New macro.
3721 (AWT_FRAME_ICONIFIED): New macro.
3722 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3723 (window_window_state_cb): Rewritten to handle window state changes
3724 more gently (mostly on the java side of the world).
3725 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3727 2006-10-18 Tania Bento <tbento@redhat.com>
3729 * java/awt/CardLayout.java:
3730 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3731 its height and width if Container passed as argument is null.
3732 (gotoComponent): Consider the case where the component is not visible.
3734 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3736 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3738 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3740 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3742 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3744 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3746 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3747 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3748 Retrieve user-visible strings through Messages.getString.
3749 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3750 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3752 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3754 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3756 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3758 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3760 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3763 2006-10-18 Roman Kennke <kennke@aicas.com>
3765 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3766 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3767 (window_show_cb): Removed unnecessary function.
3768 (connect_signals): Don't connect signal for show. *
3769 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3770 (hasBeenShown): Removed. This is handled in java.awt.Window.
3771 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3772 in java.awt.Window. * java/awt/Window.java
3773 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3775 2006-10-18 Francis Kung <fkung@redhat.com>
3777 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3778 (drawRenderedImage): New method.
3779 (drawImage): New method.
3780 (CairoSurfaceGraphics): Set clip.
3781 (createBuffer): New method.
3782 (getBufferCM): New method.
3783 (drawComposite): New method.
3785 (getNativeCM): New method.
3786 (drawGlyphVector): New method.
3788 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3789 (getNativeCM): Reflect renamed field.
3790 * gnu/java/awt/peer/gtk/CairoSurface.java
3791 (cairoCM_pre): Renamed from cairoColorModel.
3792 (cairoColorModel): Set premultiplication to false.
3794 2006-10-18 Roman Kennke <kennke@aicas.com>
3797 * javax/swing/JScrollPane.java
3798 (viewportBorder): Made field private.
3799 (wheelScrollingEnabled): Made field private.
3800 (JScrollPane): Enabled wheel scrolling by default.
3801 * javax/swing/JTree.java
3802 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3804 (getScrollableUnitIncrement): Fixed thinko.
3805 * javax/swing/plaf/basic/BasicScrollBarUI.java
3806 (static scrollByBlock): New static method to avoid code duplication
3807 for the BasicScrollPane wheel scrolling.
3808 (static scrollByUnits): New static method to avoid code duplication
3809 for the BasicScrollPane wheel scrolling.
3810 (scrollByBlock): Delegate to static helper method.
3811 (scrollByUnit): Delegate to static helper method.
3812 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3813 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3814 static helper methods to avoid code duplication.
3815 (MouseWheelHandler.bounds): Removed.
3816 (MouseWheelHandler.getValue): Removed.
3817 (MouseWheelHandler.scroll): Removed.
3819 2006-10-18 Roman Kennke <kennke@aicas.com>
3822 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3823 (updateComponent): Don't override this here.
3824 * java/awt/Window.java
3825 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3826 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3828 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3831 2006-10-18 Roman Kennke <kennke@aicas.com>
3833 * javax/swing/JEditorPane.java
3834 (getStream): Try to detect and set the content type of the
3837 2006-10-18 Roman Kennke <kennke@aicas.com>
3839 * javax/swing/RepaintManager.java
3840 (RepaintWorkerEvent): Pass full set of params to super.
3841 (RepaintWorker.dispatch): Overridden to allow apps to call this
3843 (addDirtyRegion): Synchronize a little more to protect the
3844 dirtyComponents field and avoid NPEs.
3845 (invokeLater): Pass full set of params to RepaintWorkerEvent
3848 2006-10-18 Roman Kennke <kennke@aicas.com>
3850 * javax/swing/JEditorPane.java
3851 (page): Removed field. The page is now stored in the correct
3853 (getPage): Fetch page URL from document property.
3854 (read): Set the document for this JEditorPane. Use a Reader
3855 for reading in the document.
3856 (setPage): Call getStream() to get the stream from which we read.
3857 Fire property change. Store page in document property.
3859 2006-10-18 Roman Kennke <kennke@aicas.com>
3861 * java/awt/datatransfer/DataFlavor.java
3862 (DataFlavor(String)): Removed check for space in mime string.
3864 2006-10-18 Roman Kennke <kennke@aicas.com>
3866 * java/awt/Container.java
3867 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3868 begin|endValidate().
3869 (validate): Call ContainerPeer.begin|endValidate() here.
3870 Added some local vars to avoid NPEs.
3872 2006-10-18 Roman Kennke <kennke@aicas.com>
3874 * native/target/.cvsignore
3875 * native/target/Linux/.cvsignore
3876 * native/target/generic/.cvsignore:
3877 Added to let CVS ignore the generated Makefile and Makefile.in
3880 2006-10-18 Roman Kennke <kennke@aicas.com>
3883 * java/awt/Window.java
3884 (eventTypeEnabled): Overridden to handle WindowEvents.
3885 (processEvent): Switch between processWindowEvent(),
3886 processWindowFocusEvent() and processWindowStateEvent() here,
3887 rather than simply calling processWindowEvent().
3888 (processWindowEvent): Only dispatch event to listener, do not
3889 switch to processWindowFocusEvent() or processWindowStateEvent()
3891 * javax/swing/JFrame.java
3892 (frameInit): Explicitly enable window and key events here.
3893 (processWindowEvent): Throw out some unnecessary code.
3894 * javax/swing/JWindow.java
3895 (windowInit): Explicitly enable key events here.
3896 * javax/swing/JDialog.java
3897 (close_action): Renamed to closeAction.
3898 (dialogInit): Explicitly enable window events here.
3899 (getDefaultCloseOperation): Renamed close_action to closeAction.
3900 (processWindowEvent): Throw out some unnecessary code.
3901 Renamed close_action to closeAction.
3902 (setDefaultCloseOperation): Renamed close_action to closeAction.
3904 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3906 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3907 to track native GTK event loop status.
3908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3909 clear running flag when native GTK event loop starts and stops.
3911 2006-10-17 Roman Kennke <kennke@aicas.com>
3913 * javax/swing/TransferHandler.java
3914 (exportToClipboard): Implemented.
3916 2006-10-17 Francis Kung <fkung@redhat.com>
3918 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3919 region to account for pixel-shifting.
3920 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3923 2006-10-17 Francis Kung <fkung@redhat.com>
3926 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3927 (getLogicalBounds): Translate individual glyphs before appending bounds.
3928 (getOutline): Translate individual glyphs before appending outline.
3930 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3933 * java/awt/font/TextLayout.java
3935 (constructor): Store bidi in field.
3936 (getCharacterLevel): Implemented.
3938 2006-10-17 Roman Kennke <kennke@aicas.com>
3940 * javax/swing/TransferHandler.java
3941 (PropertyTransferable): New inner class. Handles transfers
3942 from component properties.
3943 (createTransferable): Implemented.
3945 2006-10-17 Francis Kung <fkung@redhat.com>
3947 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3948 (drawComposite): Ensure composite does not extend beyond buffer
3950 * java/awt/image/Raster.java
3951 (createChild): Ensure child does not extend beyond parent's
3953 * java/awt/image/WritableRaster.java
3954 (createWritableChild): Ensure child does not extend beyond
3957 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3959 * native/jni/classpath/jcl.c
3960 (JNI_OnLoad): Corrected calling convention.
3962 2006-10-16 Roman Kennke <kennke@aicas.com>
3964 * javax/swing/TransferHandler.java
3965 (propertyName): New field.
3966 (TransferHandler(String)): Store property name in field.
3967 (canImport): Implemented stub method.
3968 (exportDone): This is a no-op. Removed not-implemented mark.
3969 (getPropertyDataFlavor): New helper method.
3970 (getPropertyDescriptor): New helper method.
3972 2006-10-16 Roman Kennke <kennke@aicas.com>
3974 * javax/swing/AbstractButton.java
3975 (AccessibleJButton.getAfterIndex): Implemented.
3976 (AccessibleJButton.getAtIndex): Implemented.
3977 (AccessibleJButton.getBeforeIndex): Implemented.
3978 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3979 method implementation.
3981 2006-10-16 Roman Kennke <kennke@aicas.com>
3983 * javax/swing/JLabel.java
3984 (AccessibleJLabel.getIndexAtPoint): Implemented.
3985 (AccessibleJLabel.getCharacterBounds): Implemented.
3986 (AccessibleJLabel.getTextRectangle): New helper method.
3988 2006-10-16 Roman Kennke <kennke@aicas.com>
3990 * javax/swing/filechooser/FileSystemView.java
3991 (getFileSystemView): Mark as implemented.
3993 2006-10-14 Roman Kennke <kennke@aicas.com>
3996 * javax/swing/JComponent.java
3997 (toolTipText): Removed field.
3998 (createToolTip): Don't set tooltip text here. This is done
3999 in the ToolTipManager.
4000 (setToolTipText): Set tooltip text as client property.
4001 (getToolTipText): Get tooltip text from client property.
4002 * javax/swing/ToolTipManager.java
4003 (currentComponent): Made field non-static and of type JComponent.
4004 (currentPoint): Made field non-static.
4005 (currentTip): Made field non-static.
4006 (popup): Made field non-static.
4007 (toolTipText): New field. Stores the current tooltip text.
4008 (checkTipUpdate): New helper method. Checks for updates of
4009 the tooltip text and triggers the appropriate actions.
4010 (getContentPaneDeepestComponent): Removed unneeded casts.
4011 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4012 text from component.
4013 (mouseMoved): Check for tooltip text updates.
4014 (showTip): Set tooltip text from current setting.
4016 2006-10-14 Roman Kennke <kennke@aicas.com>
4019 * javax/swing/JSlider.java
4020 (setPaintLabels): Call setLabelTable() instead of setting
4021 the field directly. This also updates the label's size.
4023 2006-10-13 Tom Tromey <tromey@redhat.com>
4025 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4028 2006-10-13 Tania Bento <tbento@redhat.com>
4030 * java/awt/ScrollPane.java
4031 (setLayout): Should throw AWTError whenever called.
4033 2006-10-13 Roman Kennke <kennke@aicas.com>
4036 * java/awt/Component.java
4037 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4038 update the AWT's knowledge about a component's size.
4039 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4040 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4041 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4042 to update the AWT's knowledge about the component bounds.
4044 2006-10-13 Tania Bento <tbento@redhat.com>
4046 * java/awt/ScrollPaneAdjustable.java
4047 (setMaximum): Should throw AWTError whenever called.
4049 (setVisibleAmount): Same.
4051 2006-10-13 Tania Bento <tbento@redhat.com>
4053 * java/awt/ScrollPane.java
4054 (addImpl): When calling super, index should be value passed,
4056 (getIsValidString): New helper method for paramString().
4057 (getScrollbarDisplayString): New helper method for paramString().
4058 (paramString): Changed format of outputted string.
4060 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4062 * javax/swing/tree/DefaultTreeSelectionModel.java
4063 (clone): Added cast to TreePath[].
4065 2006-10-13 Roman Kennke <kennke@aicas.com>
4068 * javax/swing/JMenuItem.java
4069 (isDragging): New field. Indicates if we are inside a mouse
4071 (createMenuDragMouseEvent): Removed unneeded method.
4072 (processMenuDragMouseEvent): Track if we are dragging.
4073 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4074 * javax/swing/plaf/basic/BasicMenuItemUI.java
4075 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4076 MenuSelectionManager from event.
4077 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4078 MenuSelectionManager from event.
4079 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4080 MenuSelectionManager from event.
4081 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4082 release inside menu item, otherwise clear selection.
4083 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4084 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4085 (doClick): Perform an immediate click.
4087 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4089 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4090 return if object is not in the list.
4092 2006-10-12 Andrew Haley <aph@redhat.com>
4094 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4095 * java/lang/ThreadLocal.java: Likewise.
4097 2006-10-12 Roman Kennke <kennke@aicas.com>
4100 * javax/swing/JSlider.java
4101 (LabelUIResource): New inner class. A JLabel as UIResource.
4102 (createStandardLabels): Don't set label bounds here.
4103 Create LabelUIResource instances.
4104 (setInverted): Repaint.
4105 (setLabelTable): Update the label UIs. Revalidate and repaint.
4106 (setMajorTickSpacing): Update the label table. Repaint if
4108 (setMinorTickSpacing): Repaint if necessary.
4109 (setOrientation): Revalidate.
4110 (setPaintLabels): Revalidate and repaint.
4111 (setPaintTicks): Revalidate and repaint.
4112 (setPaintTrack): Repaint.
4113 (updateLabelUIs): Set the label sizes here.
4114 (updateUI): Also update the label UIs.
4115 * javax/swing/plaf/basic/BasicSliderUI.java
4116 (ComponentHandler.componentResized): Don't revalidate.
4117 (FocusHandler.focusGained): Don't set field.
4118 (FocusHandler.focusLost): Don't set field.
4119 (PropertyChangeHandler.propertyChange): Calculate geometry
4120 and repaint for a couple more properties.
4121 (TrackListener.mouseReleased): Repaint.
4122 (hasFocus): Removed unneeded field.
4123 (calculateContentRect): No need to check for content size < 0.
4124 (calculateFocusRect): Use insets from insetCache.
4125 (calculateLabelRect): Fixed calculation of label rectangle.
4126 It is relative to the tick rectangle, rather than the content
4128 (calculateTickRect): Small restructuring to avoid unnecessary
4130 (calculateTrackRect): Fixed calculation of track rectangle.
4131 (getMaximumSize): Fixed. Fetch preferred size and set
4132 the height of width to Short.MAX_VALUE.
4133 (getMinimumHorizontalSize): Fixed to return UIManager value.
4134 (getMinimumVerticalSize): Fixed to return UIManager value.
4135 (getPreferredHorizontalSize): Fixed to return UIManager value.
4136 (getPreferredVerticalSize): Fixed to return UIManager value.
4137 (getMinimumSize): Fixed to return the UIManager value plus
4139 (getPreferredSize): Fixed to return the UIManager value plus
4141 (getWidthOfWidestLabel): Restructured for more cleanness and
4143 (hitClip): New helper method.
4144 (paintHorizontalLabel): Replaced by more efficient and clean
4146 (paintVerticalLabel): Replaced by more efficient and clean
4148 (paintLabels): Replaced by more efficient and clean
4150 (paint): Check if rectangles intersect with clip for maximum
4152 (recalculateIfInsetsChanged): Fixed. This method should
4153 recalculate only when the insets changed.
4154 (setThumbLocation): Repaint with a reasonable clip.
4155 (xPositionForValue): Made more clean and efficient.
4156 (yPositionForValue): Made more clean and efficient.
4157 * javax/swing/plaf/basic/BasicLookAndFeel.java
4158 (initComponenDefaults): Added Slider.horizontalSize,
4159 Slider.verticalSize, Slider.minimumHorizontalSize and
4160 Slider.minimumVerticalSize properties.
4161 * javax/swing/plaf/metal/MetalSliderUI.java
4162 (getTickLength): Add 1 for horizontal sliders and 3 for
4164 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4165 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4166 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4167 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4169 2006-10-12 Roman Kennke <kennke@aicas.com>
4172 * javax/swing/text/FlowView.java
4173 (FlowStrategy.layout): Preserve logical views from getting lost.
4174 (FlowStrategy.layoutRow): Fix line breaking.
4175 (FlowStrategy.adjustRow): Fix line breaking.
4176 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4177 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4178 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4179 (createView): Don't check index.
4180 (contains): New helper method.
4181 (reparent): New helper method.
4182 (layoutDirty): Removed unneeded field.
4183 (FlowView): Removed layoutDirty field init.
4184 (changedUpdate): Removed layoutDirty handling.
4185 (insertUpdate): Removed layoutDirty handling.
4186 (removeUpdate): Removed layoutDirty handling.
4187 (layout): Use isLayoutValid() rather than the layoutDirty field.
4188 * javax/swing/text/GlyphView.java
4189 (startOffset): Removed.
4190 (endOffset): Removed.
4191 (offset): New field.
4192 (length): New field.
4193 (GlyphView): Initialize new fields. Removed old fields.
4194 (createFragment): Create fragment with new relative offsets.
4195 (getEndOffset): Work with new relative offsets.
4196 (getStartOffset): Work with new relative offsets.
4197 * javax/swing/text/ParagraphView.java
4198 (Row.getStartOffset): Overidden to determine the minimum start
4199 offset from the children.
4200 (Row.getEndOffset): Overidden to determine the maximum end
4201 offset from the children.
4202 * javax/swing/text/html/BRView.java
4203 Make subclass of InlineView.
4204 (getBreakWeight): Fall back to super for Y_AXIS.
4206 2006-10-12 Roman Kennke <kennke@aicas.com>
4209 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4210 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4211 one that avoids faulty state that could cause division by zero
4214 2006-10-12 Roman Kennke <kennke@aicas.com>
4217 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4218 (paint): Determine correct icon. Added support for HTML label.
4219 Added small optimizations.
4220 (getPreferredSize): Only consider the buttons iconTextGap, and
4221 only when the text is not null.
4222 * javax/swing/plaf/basic/BasicLookAndFeel.java
4223 (initComponentDefaults): Fetch border for RadioButton from
4224 BasicButtons.getRadioButtonBorder().
4225 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4226 (paintFocus): Paint focus rectangle one pixel smaller.
4228 2006-10-12 Roman Kennke <kennke@aicas.com>
4231 * javax/swing/tree/AbstractLayoutCache.java
4232 (getNodeDimensions): Don't throw InternalError, but instead
4234 (getRowsForPaths): Check for null here.
4235 (isFixedRowHeight): Returns true when rowHeight > 0.
4236 (setSelectionModel): Set this as the row mapper for the selection
4238 * javax/swing/tree/VariableHeightLayoutCache.java
4239 (NodeRecord.NodeRecord): Initialize bounds field.
4240 (getBounds): Simply return the bounds field.
4241 (row2Node): Changed to be an ArrayList.
4242 (RECT_CACHE): New field. Caches a Rectangle instance.
4243 (countRows): Added y parameter and return value. The method
4244 now takes the current y position as parameter, and returns
4245 the updated y position.
4246 (getBounds): Fixed to return the correct bounds.
4247 (getPathForRow): Replaced by fixed implementation.
4248 (getPreferredHeight): Replaced by more efficient implementation.
4249 This simply fetches the last node record and returns its lower
4251 (getPreferredWidth): Added null check.
4252 (getVisibleChildCount): Added null check.
4253 (getVisiblePathsFrom): Added null check.
4254 (setExpandedState): Also expand the ancestors of the node
4256 (setModel): Set dirty flag rather than updating for real.
4257 (setNodeDimensions): Overridden to set the dirty flag.
4258 (setRowHeight): Overridden to set the dirty flag.
4259 (update): Don't special case the root here, this is done now
4262 2006-10-12 Roman Kennke <kennke@aicas.com>
4264 * javax/swing/JComponent.java
4265 (paintImmediately2): Added support for components which need
4266 to force themselves as paint root.
4267 (isPaintRoot): New method. This should be overridden by components
4268 which need to force themselves as paint root.
4269 * javax/swing/JViewport.java
4270 (isPaintRoot): Overridden to force the viewport as paint root
4271 when running in backingstore mode.
4273 2006-10-12 Roman Kennke <kennke@aicas.com>
4275 * javax/swing/tree/DefaultTreeSelectionModel.java
4276 (PathPlaceHolder): New inner class. Wraps a path and its status
4278 (selectedPaths): New field. A supporting datastructure.
4279 (tmpPaths): New field. A supporting datastructure.
4280 (DefaultTreeSelectionModel): Initialize the list selection model,
4281 the leadIndex and the supporting datastructures.
4282 (addPropertyChangeListener): Create changeSupport object lazily.
4283 (addSelectionPaths): Mostly rewritten to handle the different
4284 selection modes correctly.
4285 (addSelectionPath): Delegate to addSelectionPaths().
4286 (arePathsContiguous): Replaced with more efficient implementation
4288 (canPathBeAdded): Removed unneeded method.
4289 (canPathsBeAdded): Replaced with more efficient implementation.
4290 (clearSelection): Create correct event. Clear the fields correctly,
4291 including the supporting datastructures.
4292 (clone): Also clone the supporting datastructures and nullify
4293 changeSupport field.
4294 (getMaxSelectionRow): Delegate to list selection model.
4295 (getMinSelectionRow): Delegate to list selection model.
4296 (getPath): Removed unneeded method.
4297 (getPropertyChangeListeners): Handle null changeSupport field
4299 (getRow): Handle null rowMapper field correctly.
4300 (getSelectionRows): Handle invisible rows correctly.
4301 (insureRowContinuity): Replaced by more efficient and correct
4303 (isRowSelected): Delegate to list selection model.
4304 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4306 (removePropertyChangeListener): Handle null changeSupport field.
4307 (removeSelectionPaths): Mostly rewritten to handle the different
4308 selection modes correctly.
4309 (removeSelectionPath): Delegate to removeSelectionPaths().
4310 (resetRowSelection): Handle list selection model.
4311 (selectOne): Removed unneeded field.
4312 (setRowMapper): Reset the row selection.
4313 (setSelectionMode): Check for invalid mode and set to
4314 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4315 (setSelectionPaths): Mostly rewritten to handle the different
4316 selection modes correctly.
4317 (setSelectionPath): Delegate to setSelectionPaths().
4318 (updateLeadIndex): Made more efficient.
4320 2006-10-11 Francis Kung <fkung@redhat.com>
4322 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4323 (buffer, locked): New fields.
4324 (constructors): Initialize new variables.
4325 (createBuffer): New method.
4326 (draw): Implement custom composites.
4327 (drawComposite): New method.
4328 (drawGlyphVector): Implement custom composites.
4329 (drawImage): Implement custom composites.
4330 (drawRenderedImage): Implement custom composites.
4331 (fill): Implement custom composites.
4332 (getBufferCM): New method.
4333 (getNativeCM): New method.
4334 (updateBufferedImage): Fix premultiplication.
4335 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4336 (copy): Copy composite.
4337 (drawImage): Set background properly.
4338 (getBufferCM): New method.
4339 (setComposite): Reset alpha composite when using custom composite.
4340 * gnu/java/awt/peer/gtk/CairoSurface.java
4341 (cairoColorModel): New field.
4342 (nativeColorModel): Renamed.
4343 (constructor): Use renamed createCairoSampleModel method.
4344 (createCairoSampleModel): New method.
4345 (createNativeSampleModel): Renamed.
4346 (getBufferedImage): Use renamed cairoColorModel field.
4347 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4348 (gdkColorModel): New field.
4349 (createGdkSampleModel): New method.
4350 (getPixels): Added comments.
4351 (getSnapshot): Use GDK colour and sample models.
4352 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4353 (createBuffer): Use GDK colour and sample models.
4354 (getNativeCM): Added comments.
4355 * java/awt/image/BufferedImage.java
4356 (constructor): Set premultiplied flag properly.
4358 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4360 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4361 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4363 2006-10-10 Francis Kung <fkung@redhat.com>
4366 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4367 (createPath): Added isDraw parameter.
4368 (draw): Updated createPath call.
4369 (fill): Updated createPath call.
4371 2006-10-10 Tom Tromey <tromey@redhat.com>
4374 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4375 there is a stylesheet.
4377 2006-10-10 Roman Kennke <kennke@aicas.com>
4379 * java/awt/Toolkit.java
4380 (getDefaultTookit): Make method synchronized to avoid
4381 accidentally creating more than one toolkits from different
4384 2006-10-10 Roman Kennke <kennke@aicas.com>
4386 * java/awt/LightweightDispatcher.java
4387 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4388 (redispatch): Transfer the button to the redispatched event.
4390 2006-10-10 Francis Kung <fkung@redhat.com>
4392 * java/awt/image/ColorModel.java (coerceData): Implemented.
4394 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4396 * vm/reference/java/lang/VMClassLoader.java:
4397 (defineClassWithTransformers): Use proper class name format.
4399 2006-10-09 Gary Benson <gbenson@redhat.com>
4401 * java/net/ServerSocket.java
4402 (implAccept): Add security check.
4403 (accept): Close socket if security check fails.
4404 (setSocketFactory): Add security check and already-set check.
4406 2006-10-09 Roman Kennke <kennke@aicas.com>
4409 * javax/swing/JSplitPane.java
4410 (dividerLocation): New field. Stores the divider location.
4411 (JSplitPane): Initialize dividerLocation with -1.
4412 (addImpl): Removed unneeded local variables.
4413 (getDividerLocation): Manage dividerLocation in the JSplitPane
4414 class, not in the UI.
4415 (setDividerLocation): Manage dividerLocation in the JSplitPane
4416 class, not in the UI. Only call the UI method for notification.
4417 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4418 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4419 location from the JSplitPane. Honour the minimumSize, but only
4420 if the divider location hasn't been set explicitly.
4421 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4423 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4425 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4426 the divider location.
4427 (dividerLocationSet): New field.
4428 (dividerLocation): Removed field.
4429 (createActionMap): Fetch and set divider location on the JSplitPane.
4430 (getDividerLocation): Return the actual real divider location.
4431 (getMaximumSize): Removed unneeded cast.
4432 (getPreferredSize): Removed unneeded cast.
4433 (getMinimumSize): Removed unneeded cast.
4434 (installUI): Initialize dividerLocationSet with false.
4435 (uninstallUI): Initialize dividerLocationSet with false.
4436 (setDividerLocation): Set dividerLocationSet to true.
4438 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4440 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4441 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4442 convert jstring into char *.
4443 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4444 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4445 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4446 (getif_address): Added const modifier to second argument.
4447 (getif_index): Dito.
4449 2006-10-09 Roman Kennke <kennke@aicas.com>
4451 * javax/swing/JTree.java
4452 (isSelected): Added API docs.
4454 2006-10-09 Roman Kennke <kennke@aicas.com>
4456 * javax/swing/JTree.java
4457 (isSelected): Delegate to the selection model directly.
4459 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4461 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4462 sizeof_struct_kevent to _sizeof_struct_kevent.
4464 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4466 * tools/gnu/classpath/tools/rmic/RMICException.java:
4467 javadoc corrections, reformatted.
4469 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4471 * gnu/java/lang/InstrumentationImpl.java:
4472 Made constructor package visible.
4474 2006-10-05 Gary Benson <gbenson@redhat.com>
4476 * java/net/Socket.java
4477 (Socket): Perform security check on address not hostname.
4479 2006-10-04 Roman Kennke <kennke@aicas.com>
4481 * javax/swing/tree/VariableHeightLayoutCache.java
4482 (getBounds): When rect is null, create a new Rectangle.
4484 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4486 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4487 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4488 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4489 (cpnio_select): Use CPNIO_EXPORT.
4490 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4491 inline instead of extern inline, as newer GCCs changed their
4494 2006-10-04 Gary Benson <gbenson@redhat.com>
4496 * java/net/InetAddress.java: Updated javadoc.
4497 (<clinit>, getByLiteral): Throw InternalError on failures.
4499 2006-10-03 Francis Kung <fkung@redhat.com>
4501 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4502 (compCtx): New field for composite context.
4503 (copy): Copy composite.
4504 (dispose): Dispose of composite context.
4505 (getNativeCM): New method.
4506 (setComposite): Discard old composite context and set up new context.
4507 (setRenderingHints): Update composite context.
4508 * gnu/java/awt/peer/gtk/CairoSurface.java
4509 (nativeColorModel): New field, renamed from nativeModel.
4510 (nativeModel): Renamed field to nativeColorModel.
4511 (CairoSurface(int, int)): Call new method to create sample model.
4512 (createNativeSampleModel): New method.
4513 (getBufferedImage): Updated variable name.
4514 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4515 (buffer): New field.
4516 (createBuffer): New method.
4518 (drawComposite): New method.
4519 (drawGlyphVector): New method.
4520 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4521 (drawImage(Image, int, int, ImageObserver)): Check composite.
4522 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4524 (getNativeCM): New method.
4525 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4526 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4527 intermediary pixbuf to grab on-screen pixels.
4529 2006-10-03 Tom Tromey <tromey@redhat.com>
4532 * java/util/IdentityHashMap.java (tombstone): Removed.
4533 (emptyslot): Removed.
4534 (nullslot): New field.
4535 (IdentityHashMap): Don't fill array.
4536 (clear): Fill with null.
4537 (hash): Now final. Use linear probing.
4538 (xform): New method.
4539 (unxform): Likewise.
4540 (removeAtIndex): Likewise.
4541 (clone, containsKey, containsValue, entrySet, get, hashCode,
4542 keySet, put, remove, values): Updated.
4543 (IdentityIterator, IdentityEntry): Likewise.
4544 (writeObject): Likewise.
4546 2006-10-03 Tom Tromey <tromey@redhat.com>
4548 * java/util/Locale.java (hashcode): Updated javadoc.
4549 (hashcodeCache): Removed.
4551 (hashCode): Updated.
4552 (writeObject): New method.
4553 (readObject): Updated.
4555 2006-10-02 Francis Kung <fkung@redhat.com>
4557 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4558 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4559 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4560 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4561 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4562 pre-multiply data before drawing.
4563 (fillRect): Draw using regular fill() method.
4564 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4565 * gnu/java/awt/peer/gtk/CairoSurface.java
4566 (nativeModel): Use correct value for alpha premultiplication (true).
4567 * java/awt/image/BufferedImage.java
4568 (coerceData): Update isPremultiplied field.
4570 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4572 * gnu/classpath/ListenerData.java:
4573 New class for holding listener data.
4574 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4575 ListenerData class moved to its own file.
4576 * javax/management/MBeanServerDelegate.java,
4577 * javax/management/MBeanServerDelegateMBean.java,
4578 * javax/management/MBeanServerNotification.java:
4581 2006-10-02 Tania Bento <tbento@redhat.com>
4583 * java/ast/Rectangle.java:
4584 (Rectangle(Rectangle)): Do not throw NPE.
4585 (Rectangle(Point, Dimension)): Same.
4586 (Rectangle(Point)): Same.
4587 (Rectangle(Dimension)): Same.
4589 2006-09-29 Casey Marshall <csm@gnu.org>
4592 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4593 `AbstractSelectionKey.'
4594 (cancel, isValid): removed.
4595 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4596 (events): new field.
4597 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4599 (<clinit>): initialize those constants.
4600 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4601 (doSelect): deregister cancelled keys; remove keys attached to
4602 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4603 `events' buffer; reallocate `events' buffer if needed.
4604 (register): reallocate `events' buffer if needed.
4605 (reallocateBuffer): new method.
4608 2006-09-29 Roman Kennke <kennke@aicas.com>
4611 * javax/swing/JViewport.java
4612 (cinit): Renamed system property to gnu.swing.scrollmode
4613 to avoid bloat. Default to BACKINGSTORE, this is much
4615 (repaint): Forward repaint() to parent as is specified.
4617 2006-09-29 Tania Bento <tbento@redhat.com>
4619 * javax/swing/plaf/basic/BasicTableUI.java
4620 (getPreferredSize): The number of iterations for the for-loop should be
4621 the number of columns in the table's column model, not the number of
4622 columns of the table.
4623 * javax/swing/JTable.java
4624 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4625 lines that are not needed.
4626 (initializeLocalVars): dragEnabled should be set to false, not true.
4627 (getCellRenderer): Added a check to prevent an
4628 ArrayIndexOutOfBoundsException.
4629 (doLayout): The number of iterations for the for-loops should be the
4630 number of columns in the table's column model, not the number of columns
4633 2006-09-29 Roman Kennke <kennke@aicas.com>
4635 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4637 (isOptimized): Initialize with true.
4638 (paintRaster): Removed unneeded field.
4639 (shapeCache): New static field. Caches certain shapes for reuse.
4640 (computeIntersection): Removed unneeded casts.
4641 (drawArc): Use shape cache.
4642 (drawImage): Removed unneeded statement.
4643 (drawLine): Use shape cache. Pass untranslated coordinates
4645 (drawOval): Use shape cache.
4646 (drawPolygon): Use shape cache.
4647 (drawRect): Overridden to provide accelerated rectangle drawing
4648 if possible and to use the shape cache.
4649 (drawRoundRect): Use shape cache.
4650 (fillArc): Use shape cache.
4651 (fillOval): Use shape cache.
4652 (fillPolygon): Use shape cache.
4653 (fillRect): Pass untranslated coordinates to rawFillRect().
4655 (fillRoundRect): Use shape cache.
4656 (fillScanlineAA): Removed unneeded statement.
4657 (fillScanline): Updated API docs.
4658 (fillShapeAntialias): Removed unnecessary cast.
4659 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4660 (fillShape): Updated API docs.
4661 (getShapeCache): New helper method.
4662 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4663 certain shapes for reuse in AbstractGraphics2D.
4665 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4667 * javax/management/BadBinaryOpValueExpException.java:
4668 (getExp()): Implemented.
4669 * javax/management/MBeanConnection.java:
4670 Renamed to MBeanServerConnection.
4671 * javax/management/MBeanServer.java:
4672 (setAttribute(Attribute)): Fixed...
4673 (setAttribute(ObjectName,Attribute)): to this.
4674 * javax/management/MBeanServerConnection.java:
4675 Renamed from MBeanConnection.
4676 * javax/management/QueryExp.java:
4677 Extend Serializable.
4678 * javax/management/ValueExp.java:
4680 * javax/management/loading/ClassLoaderRepository.java:
4681 (loadClass(String)): Throw ClassNotFoundException.
4682 (loadClassBefore(ClassLoader,String)): Likewise.
4683 (loadClassWithout(String, ClassLoader): Fixed...
4684 (loadClassWithout(ClassLoader,String)): to this.
4686 2006-09-28 Roman Kennke <kennke@aicas.com>
4688 * javax/swing/tree/DefaultTreeCellRenderer.java
4689 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4690 property from UIManager.
4691 (paint): Rewritten to use super's implementation and only paint
4692 background and focus indicator before.
4693 (paintFocus): New helper method.
4694 (getXOffset): New helper method.
4696 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4698 * javax/management/BadBinaryOpValueExpException.java,
4699 * javax/management/MBeanConnection.java,
4700 * javax/management/MBeanServer.java,
4701 * javax/management/ObjectInstance.java:
4703 * javax/management/ObjectName.java:
4704 (setMBeanServer(MBeanServer)): Implemented.
4705 * javax/management/QueryExp.java,
4706 * javax/management/ValueExp.java,
4707 * javax/management/loading/ClassLoaderRepository.java:
4710 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4712 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4714 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4716 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4717 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4718 * gnu/java/nio/EpollSelectorImpl.java:
4719 (doSelect): Use Integer.valueOf() instead of constructor call.
4720 (register): Use Integer.valueOf() instead of constructor call.
4722 2006-09-27 Roman Kennke <kennke@aicas.com>
4724 * java/awt/Container.java
4725 (addContainerListener): Activate newEventsOnly for the component.
4726 Ignore null listeners.
4728 2006-09-27 Roman Kennke <kennke@aicas.com>
4730 * java/awt/EventQueue.java
4731 (Queue): New inner class. Implements the actual queue.
4732 (LOW_PRIORITY): New constant field.
4733 (NORM_PRIORITY): New constant field.
4734 (queueHead): Removed. Moved into Queue.
4735 (queueTail): Removed. Moved into Queue.
4736 (queues): New field.
4737 (EventQueue): Initialize two internal queues, one for
4738 normal events, one for low priority events.
4739 (getNextEventImpl): New helper method, fetches the next event.
4740 (getNextEvent): Use getNextEventImpl() for fetching the event.
4741 (peekEvent): Use getNextEventImpl() for fetching the event.
4742 (peekEvent(int)): Search for event in all queues.
4743 (postEventImpl(AWTEvent)): Moved actual posting into
4744 postEventImpl(AWTEvent,int). Prioritize events here.
4745 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4746 event into correct queue. Re-enable event coalescing.
4747 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4748 * javax/swing/RepaintManager.java
4749 (RepaintWorkerEvent): New internal class. This is a low priority
4750 event for the repaint worker.
4751 (addDirtyRegion): Use new internal invokeLater() for sending
4752 a low priority event.
4753 (addInvalidComponent): Use new internal invokeLater() for sending
4754 a low priority event.
4755 (commitBuffer): Added some null checks.
4756 (invokeLater): New helper method. Sends a low priority
4757 repaint worker event on the event queue.
4759 2006-09-27 Roman Kennke <kennke@aicas.com>
4763 * javax/swing/plaf/basic/BasicButtonUI.java
4764 (cachedInsets): New field.
4765 (installListeners): Fire synthetic property change to initialize
4766 TEXT_LAYOUT_CACHE for the button because the font has been
4768 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4769 (paint): Use cached insets.
4770 (paintText): Let new method forward to old one, not vice versa.
4771 * javax/swing/plaf/basic/BasicMenuItemUI.java
4772 (defaultAcceleratorLabelGap): Removed unused field.
4773 (MenuGap): Removed unused field.
4774 (propertyChangeListener): Made private.
4775 (getAcceleratorRect): Removed unused method.
4776 (getAcceleratorText): Removed unused method.
4777 (getPath): Removed unnecessary cast.
4778 (installListeners): Fire synthetic property change to initialize
4779 TEXT_LAYOUT_CACHE for the button because the font has been
4781 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4782 (layoutMenuItem): Removed unused statements.
4784 2006-09-27 Roman Kennke <kennke@aicas.com>
4787 * javax/swing/tree/DefaultTreeModel.java
4788 (isLeaf): Check if the node allows children when
4789 asksAllowsChildren is true, otherwise fall back
4790 to return the node's leaf property.
4792 2006-09-27 Mario Torre <neugens@limasoftware.net>
4794 * scripts/check_jni_methods.sh: removed methods from the
4796 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4797 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4798 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4799 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4800 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4801 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4802 to better follow the GNU style.
4803 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4804 regenerated header file for GConfNativePeer.
4806 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4808 * INSTALL: Added information about grmic being built when ASM
4809 is available, added information about gconf dependency, indented
4810 Qt4 dependency section.
4811 * configure.ac: Added information about grmic being built when ASM
4814 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4816 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4817 DeleteGlobalRef on a local ref.
4819 2006-09-24 Mario Torre <neugens@limasoftware.net>
4821 * scripts/check_jni_methods.sh: added two new methods in the
4823 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4825 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4826 * native/jni/gconf-peer/GConfNativePeer.c:
4827 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4828 refacored method name, renamed from
4829 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4830 Added code to unescape escaped GConf key names.
4831 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4832 refacored method name, renamed from
4833 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4834 Added code to unescape escaped GConf key names.
4835 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4837 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4839 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4840 version javadoc tag.
4841 (escapeString): new method.
4842 (unescapeString): likewise.
4843 (gconf_escape_key): new native method.
4844 (gconf_unescape_key): likewise.
4845 (gconf_client_suggest_sync): update native method signature, now
4846 explicity throws BackingStoreException.
4847 (gconf_client_all_nodes): update native method signature, now
4848 explicity throws BackingStoreException. Refactored method name,
4849 renamed from gconf_client_gconf_client_all_nodes.
4850 (gconf_client_all_keys): update native method signature, now
4851 explicity throws BackingStoreException. Refactored method name,
4852 renamed from gconf_client_gconf_client_all_keys.
4853 (getKeys): refactored to use the new method name
4854 gconf_client_all_keys.
4855 (getChildrenNodes): refactored to use the new method name
4856 gconf_client_all_nodes.
4857 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4858 version javadoc tag.
4859 (GConfBasedPreferences): Added code to escape node names from
4860 invalid characters so that GConf now accept invalid node names.
4861 (GConfBasedPreferences): Moved code to register the current
4862 node to the list of nodes watched by GConf outside the constructor.
4863 (childSpi): Added code to register the current node to the
4864 list of nodes watched by GConf.
4865 (getGConfKey): Added code to escape key names from
4866 invalid characters so that GConf now accept invalid key names.
4868 2006-09-26 Tom Tromey <tromey@redhat.com>
4870 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4871 call mkdirs in output-directory case.
4872 (getPrintStream): Create output directory.
4873 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4876 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4878 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4879 Accept three additional arguments.
4880 (writePreambleImpl): New method.
4881 (getPrintStreamImpl): Likewise.
4882 (printClass): Adapted to use new methods in Printer superclass.
4883 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4884 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4885 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4886 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4888 (getParser): Add support for -o option.
4889 Check that only one of -d or -o is defined.
4890 Add support for -jni option.
4891 Add support for -force option.
4892 (makeOutputFile): New method.
4893 (writeHeaders): Removed File argument from signature.
4894 (run): Take into account newly added fields.
4895 Invoke concrete PrintStream implementations with augmented constructors.
4896 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4897 (isDirectory): Likewise.
4899 (wrotePreamble): Likewise.
4900 (Printer): Changed ctor to accept three additional arguments.
4901 (printClass): Changed signature to accept one ClassWrapper argument.
4902 (writePreambleImpl): New abstract method.
4903 (getPrintStreamImpl): Likewise.
4904 (getPrintStream): New method.
4905 (writePreamble): Likewise.
4907 2006-09-26 Tania Bento <tbento@redhat.com>
4909 * java/awt/GridLayout.java
4910 (toString): There is no common before hgap.
4911 * java/awt/Rectangle.java
4912 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4913 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4915 (Rectangle(Point)): Throw NPE if Point is null.
4916 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4918 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4920 * javax/swing/plaf/metal/MetalIconFactory.java
4921 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4922 returned by getShift(),
4923 (FileIcon16.getShift): Updated API docs,
4924 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4925 returned by getShift(),
4926 (FolderIcon16.getShift): Updated API docs,
4927 (TreeFolderIcon.getShift): Likewise,
4928 (TreeLeafIcon.getShift): Likewise.
4930 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4932 * javax/swing/plaf/metal/MetalIconFactory.java
4933 (FileIcon16.paintIcon): Fetch colors from look and feel,
4934 (FolderIcon16.paintIcon): Likewise.
4936 2006-09-25 Casey Marshall <csm@gnu.org>
4938 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4940 (write): revert back to using `writeGathering.'
4941 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4942 the first buffer that has data remaining, and start at that one.
4944 2006-09-25 Tom Tromey <tromey@redhat.com>
4946 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4949 2006-09-25 Tom Tromey <tromey@redhat.com>
4951 * tools/.cvsignore: Updated.
4953 2006-09-25 Tom Tromey <tromey@redhat.com>
4956 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4957 (Encoder.canEncode): Likewise.
4958 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4959 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4961 (Encoder.canEncode): Likewise.
4962 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4964 (Encoder.canEncode): Likewise.
4966 2006-09-25 Tom Tromey <tromey@redhat.com>
4968 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4971 2006-09-25 Francis Kung <fkung@redhat.com>
4973 * java/awt/image/ColorModel.java
4974 (coerceData): Made abstract.
4975 (coerceDataWorker): New protected method.
4976 * java/awt/image/ComponentColorModel.java
4977 (coerceData): Return new instance of proper ColorModel.
4978 * java/awt/image/DirectColorModel.java
4979 (coerceData): Return new instance of proper ColorModel.
4980 * java/awt/image/IndexColorModel.java
4981 (coerceData): New method.
4983 2006-09-24 Casey Marshall <csm@gnu.org>
4985 * gnu/java/nio/FileChannelImpl.java
4986 (read): call `read' in a loop, don't use `readScattering.'
4987 (write): call `write' in a loop, don't use `writeGathering.'
4989 2006-09-24 Mark Wielaard <mark@klomp.org>
4991 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4993 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4995 * java/nio/channels/spi/AbstractSelectableChannel.java
4996 (register): Set interestOps and attachment when the key already
4999 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5001 * java/net/ServerSocket.java
5002 (bind(SocketAddress,int)): Added support for null address.
5003 Throw proper exception if already bound.
5004 Handle unresolved addresses correctly. Ignore exceptions that
5005 happen during close in error path (to prevent losing the original
5008 2006-09-24 Mark Wielaard <mark@klomp.org>
5010 Suggested by Aaron M. Ucko <ucko@debian.org>
5012 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5014 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
5016 * java/nio/channels/spi/AbstractSelectableChannel.java
5017 (implCloseChannel): Cancel all keys after closing the channel.
5019 2006-09-22 Casey Marshall <csm@gnu.org>
5021 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5022 after we delete them.
5023 (selectedKeys): return an empty set if nothing's been selected.
5024 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5025 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5026 throw an exception on EBADF.
5027 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5028 throw exception on EINTR, just return 0.
5030 2006-09-22 Casey Marshall <csm@gnu.org>
5032 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5033 remove `const' from `filename.'
5034 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5036 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5038 2006-09-22 Casey Marshall <csm@gnu.org>
5040 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5041 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5042 allocate `filename,' and handle changes to `cpio_readDir.'
5043 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5044 available; copy the filename into the destination buffer; return
5045 an error code if readdir returns NULL, but errno is 0.
5046 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5047 parameter to `const char *.'
5049 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5051 * javax/management/ObjectName.java:
5054 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5056 * resource/gnu/classpath/tools/orbd: New directory.
5057 * resource/gnu/classpath/tools/rmic: Likewise.
5058 * resource/gnu/classpath/tools/rmid: Likewise.
5059 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5060 * resource/gnu/classpath/tools/tnameserv: Likewise.
5061 * tools/gnu/classpath/tools/giop: Move contents to...
5062 * tools/gnu/classpath/tools/orbd,
5063 tools/gnu/classpath/tools/tnameserv: New directories.
5064 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5065 * tools/gnu/classpath/tools/rmic: New directory.
5066 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5067 * tools/gnu/classpath/tools/rmid: New directory.
5068 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5069 * tools/gnu/classpath/tools/rmiregistry: New directory.
5070 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5071 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5072 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5073 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5075 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5077 * tools/gnu/classpath/tools/orbd/Main.java,
5078 tools/gnu/classpath/tools/orbd/Messages.java,
5079 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5080 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5081 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5082 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5083 tools/gnu/classpath/tools/rmic/CompilationError.java,
5084 tools/gnu/classpath/tools/rmic/Generator.java,
5085 tools/gnu/classpath/tools/rmic/GiopIo.java,
5086 tools/gnu/classpath/tools/rmic/HashFinder.java,
5087 tools/gnu/classpath/tools/rmic/Main.java,
5088 tools/gnu/classpath/tools/rmic/Messages.java,
5089 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5090 tools/gnu/classpath/tools/rmic/RMICException.java,
5091 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5092 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5093 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5094 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5095 tools/gnu/classpath/tools/rmic/Variables.java,
5096 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5097 tools/gnu/classpath/tools/rmic/templates,
5098 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5099 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5100 tools/gnu/classpath/tools/rmid/Main.java,
5101 tools/gnu/classpath/tools/rmid/Messages.java,
5102 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5103 tools/gnu/classpath/tools/rmiregistry/Main.java,
5104 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5105 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5106 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5107 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5108 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5109 tools/gnu/classpath/tools/tnameserv/Main.java,
5110 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5111 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5112 RMIC.java from cp-tools.
5113 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5114 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5115 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5117 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5118 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5120 (start): New method.
5121 * tools/Makefile.am: Add build support for new tool wrappers.
5122 * tools/gorbd.in: New file.
5123 * tools/grmic.in: Likewise.
5124 * tools/grmid.in: Likewise.
5125 * tools/grmiregistry.in: Likewise.
5126 * tools/gtnameserv.in: Likewise.
5127 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5128 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5130 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5131 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5132 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5134 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5137 * gnu/java/util/regex/RETokenRepeated.java
5138 (findMatch): Rewriten without using recursive calls,
5139 (FindMatchControlStack): New class,
5140 (FindMatchControl): New class,
5141 (TryAnotherResult): New class,
5142 (tryAnother): New method.
5144 2006-09-22 Gary Benson <gbenson@redhat.com>
5146 * java/net/SocketPermission.java
5147 (processHostport): Cope with IPv6 addresses with a
5148 one-digit first component.
5150 2006-09-22 Roman Kennke <kennke@aicas.com>
5152 * java/awt/Component.java
5153 (enableEvents): Set newEventsOnly flag.
5154 * java/awt/Container.java
5155 (dispatchEventImpl): Consume event if lightweight dispatcher
5156 dispatched the event. Don't call processEvent() here, this
5157 is already done in Component.dispatchEventImpl(). For
5158 heavyweights or when the lightweight dispatcher could
5159 not dispatch, fall back to calling super.
5160 (dispatchNoLightweight): New helper method to avoid
5161 recursivly calling the lightweight dispatcher.
5162 * java/awt/LightweightDispatcher.java
5163 (dragButton): Removed field.
5164 (dragTarget): Removed field.
5165 (mouseEventTarget): New field.
5166 (convertPointToChild): Removed method.
5167 (dispatchEvent): Don't depend on component beeing
5169 (findTarget): Improved algorithm for finding a target.
5170 Before we went down to the deepest component and went
5171 up again to find a suitable target. Now we go
5172 down only once, without going up.
5173 (handleMouseEvent): Broke method down into some smaller
5175 (isDragging): New helper method.
5176 (isMouseListening): New helper method.
5177 (redispatch): New helper method.
5178 (trackEnterExit): New helper method.
5180 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5182 * javax/swing/SizeSequence.java
5183 (getSize): Return 0 if index is out of bounds.
5185 2006-09-21 Tom Tromey <tromey@redhat.com>
5187 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5188 (PathOptionGroup): Make -I a joined option.
5189 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5190 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5191 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5192 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5193 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5194 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5195 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5196 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5197 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5198 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5199 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5200 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5201 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5202 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5203 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5204 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5205 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5206 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5207 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5208 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5209 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5211 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5212 * tools/gnu/classpath/tools/common/Messages.java: New file.
5213 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5214 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5216 (ClasspathToolParser): Add -J option here.
5217 (ClasspathToolParser): Call other constructor in this class.
5218 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5219 Handle joined options.
5220 (handleShortOptions): Likewise.
5221 (handleShortOption): Removed.
5222 (finalGroup): New field.
5223 (Parser): Initialize new field. Don't add -J option.
5224 (addFinal): New method.
5225 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5227 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5228 (Option): Check short option for validity.
5229 (Option): New constructors.
5230 (joined): New field.
5232 2006-09-21 csm <csm@pollux.local>
5234 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5235 `InterruptedIOException;' try again if it gets thrown.
5236 (receive): likewise, but re-throw `SocketTimeoutException.'
5237 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5238 if we have nothing to select.
5240 2006-09-21 Francis Kung <fkung@redhat.com>
5242 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5243 (getLogicalBounds): Respect glyph transformations.
5244 (getGlyphOutline): Added null pointer check.
5245 (getGlyphTransform): Do not generate identity transform (API permits null).
5246 (setGlyphPosition): Do not invalidate transform.
5247 (setGlyphTransform): Do not modify glyph position.
5249 2006-09-21 Francis Kung <fkung@redhat.com>
5251 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5253 2006-09-21 Francis Kung <fkung@redhat.com>
5255 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5256 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5257 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5259 2006-09-21 Tania Bento <tbento@redhat.com>
5261 * javax/swing/JTabbedPane.java:
5262 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5263 (setModel): A ChangeListener should be created only if there does not
5264 currently exist one.
5266 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5268 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5269 (MaximizeAction.actionPerformed): Change icon on maxButton.
5271 2006-09-21 Roman Kennke <kennke@aicas.com>
5273 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5274 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5275 Use more efficient getViewPosition() and getViewSize() methods
5276 to avoid creating a rectangle.
5277 (HSBChangeListener.stateChanged): Update the view position
5278 unconditionally. Let the Viewport figure out if something
5280 (VSBChangeListener.stateChanged): Update the view position
5281 unconditionally. Let the Viewport figure out if something
5283 * javax/swing/JViewport.java
5284 (ViewListener.componentResized): Fire state change, because
5285 the extentSize changes.
5286 (extentSize): Removed unneeded field.
5287 (viewSize): Removed unneeded field.
5288 (getExtentSize): Return the viewport's size here.
5289 (getViewRect): Reformatted.
5290 (getViewSize): Reordered for only one return statement.
5291 (paintImmediately2): Fixed up javadoc.
5292 (paint): Removed unneeded statement.
5293 (setExtentSize): Set viewport size and check for actual change
5295 (setViewPosition): Simplified condition. Set scrollUnderway
5296 true and don't set isViewSizeSet. Avoid creating one Point
5298 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5300 * javax/swing/JScrollBar.java
5301 (ScrollBarListener): New class. Forwards change events from
5302 the model as adjustment events.
5303 (sbChangeListener): New field.
5304 (JScrollBar): Install listener on new model.
5305 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5307 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5308 method to allow custom isAdjusting value.
5309 (setMaximum): Only forward to model.
5310 (setMinimum): Only forward to model.
5311 (setValue): Only forward to model.
5312 (setVisibleAmount): Only forward to model.
5313 (setValues): Only forward to model.
5314 (setModel): Update the change listener.
5316 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5318 * java/util/Formatter.java (basicIntegralConversion): Removed
5319 check for ZERO && !LEFT_JUSTIFY.
5321 2006-09-20 Roman Kennke <kennke@aicas.com>
5324 * javax/swing/plaf/metal/DefaultMetalTheme.java
5325 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5326 (BOLD_CONTROL_TEXT_FONT): New constant field.
5327 (PLAIN_MENU_TEXT_FONT): New constant field.
5328 (BOLD_MENU_TEXT_FONT): New constant field.
5329 (controlTextFont): Removed.
5330 (menuTextFont): Removed.
5331 (CONTROL_TEXT_FONT): New constant field.
5332 (MENU_TEXT_FONT): New constant field.
5333 (getControlTextFont): Use getFont() helper method for fetching
5335 (getMenuTextFont): Use getFont() helper method for fetching
5337 (getFont): New helper method.
5338 (isBoldMetal): New helper method.
5340 2006-09-20 Casey Marshall <csm@gnu.org>
5342 * NEWS: mention epoll selector along with the kqueue one.
5344 2006-09-20 Casey Marshall <csm@gnu.org>
5346 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5347 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5349 2006-09-20 Francis Kung <fkung@redhat.com>
5352 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5353 (getGlyphTransform): Use translation instead of scale.
5354 (performDefaultLayout): Increment position values instead of resetting, and
5355 pre-increment instead of post-increment.
5356 (setGlyphTransform): Handle null case with identity transform.
5358 2006-09-20 Casey Marshall <csm@gnu.org>
5360 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5361 (AC_CHECK_FUNCS): check for `epoll_create.'
5362 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5363 * gnu/java/nio/EpollSelectorImpl.java: new file.
5364 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5366 (openSelector): return epoll selector if requested and available.
5367 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5368 (gnu_java_nio_EpollSelectorImpl.h): new target.
5369 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5370 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5371 gnu_java_nio_EpollSelectorImpl.c.
5372 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5374 2006-09-20 Casey Marshall <csm@gnu.org>
5376 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5378 (isConnected): return false if `connectionPending' is true.
5380 2006-09-20 Francis Kung <fkung@redhat.com>
5383 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5384 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5385 (getGlyphOutline): Call getGylphTransform to generate transform.
5386 (getGylphPosition): Read position directly out of array.
5387 (getGlyphPositions): Read positions directly out of array.
5388 (getGlyphTransform): Generate transform based on gylphPositions array.
5389 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5390 (setGlyphPosition): Set position directly into array.
5391 (setGlyphTransform): Update positions array as well.
5393 2006-09-20 David Daney <ddaney@avtrex.com>
5396 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5397 default content-type for POST method.
5399 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5401 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5402 (BasicRadioButtonUI): Don't fetch icon here,
5403 (installDefaults): Initialise icon here,
5404 (getDefaultIcon): Just return icon.
5406 2006-09-20 Mark Wielaard <mark@klomp.org>
5408 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5409 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5410 (EXTRA_DIST): Include javanio.c.
5412 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5414 * java/awt/geom/RoundRectangle2D.java:
5415 (getPathIterator): Reimplemented,
5416 and updated various API doc comments.
5418 2006-09-20 Roman Kennke <kennke@aicas.com>
5420 * java/awt/Container.java
5421 (addImpl): Set the new component's parent after it has been
5422 added to the array. Call addNotify() and invalidate()
5423 after the component has been added, so that the peer
5424 gets to know about the component structure when it is created.
5425 * java/awt/Window.java
5426 (dispatchEventImpl): Only revalidate when window is resized,
5427 let the other stuff be processed by the superclass.
5428 (dispose): Post WINDOW_CLOSED event only when some listener
5429 is registered or event is explicitly enabled.
5430 (show): Post WINDOW_OPENED event when appropriate.
5432 2006-09-20 Roman Kennke <kennke@aicas.com>
5434 * java/awt/Component.java
5435 (addNotify): Invalidate here. Fetch peer font.
5436 (getFont): Delegate to helper method, to protect from
5437 overriding client code. Lock the tree while fetching the font.
5438 (getFontImpl): New helper method. Moved code from getFont() in
5440 (removeNotify): Nullify peerFont too.
5441 (setFont): Synchronize on tree and component to avoid threading
5442 issues. Update the peerFont correctly.
5443 (validate): Update the peer font if necessary, before validating.
5444 (getGraphics): Revert to recursive graphics fetching.
5445 Set component font on the Graphics object.
5446 (translateEvent): Removed unnecessary cast.
5447 * java/awt/Container.java
5448 (invalidateTree): Made final and private. Made implementation
5449 slightly more efficient.
5450 (setFont): Get old and new font via getFont() to account for
5451 the real font, and only invalidate the tree when they are not
5452 the same and not equal.
5453 (visitChild): Set the font of the child on the component graphics.
5454 * java/awt/Frame.java
5455 (setMenuBar): Create local reference of peer for thread safety.
5456 Only call simple invalidate, not invalidateTree().
5458 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5461 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5462 (constructor): Copy image field.
5464 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5466 * javax/swing/JMenuBar.java
5467 (getHelpMenu): Implemented to throw an Error, and added API docs,
5468 (getMargin): Added API docs,
5469 (setMargin): Likewise.
5471 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5473 * javax/swing/AbstractButton.java
5474 (AbstractButton): Don't call updateUI(),
5475 * javax/swing/JButton.java
5476 (JButton(String, Icon)): Call setModel() before init(),
5477 * javax/swing/JMenuItem.java
5478 (JMenuItem()): Delegate to another constructor,
5479 (JMenuItem(Icon)): Likewise,
5480 (JMenuItem(Action)): Set model,
5481 (JMenuItem(String, Icon)): Likewise,
5482 * javax/swing/JToggleButton.java
5483 (init): Call setModel() before init().
5485 2006-09-19 Mark Wielaard <mark@klomp.org>
5488 * java/util/logging/LogManager.java (addLogger): Always check for
5489 existing children of a new Logger.
5491 2006-09-19 Roman Kennke <kennke@aicas.com>
5493 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5494 (HSBChangeListener.stateChanged): Moved handling of header to
5495 syncScrollPaneWithViewport().
5496 (VSBChangeListener.stateChanged): Moved handling of header to
5497 syncScrollPaneWithViewport().
5498 (ViewportChangedHandler.stateChanged): Removed unused statements.
5499 (syncScrollPaneWithViewport): Added null checks. Use setValues
5500 rather then the single setter methods to avoid multiple
5501 adjustments and side effects. Also snyc the headers here.
5502 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5503 (uninstallUI): Removed unnecessary cast and this qualifier as well
5504 as the call to super.
5506 2006-09-19 Gary Benson <gbenson@redhat.com>
5508 * java/net/ResolverCache.java: New class (a DNS cache).
5509 * java/net/InetAddress.java
5510 (internalGetCanonicalHostName, getAllByName): Use the above.
5512 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5514 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5515 * java/net/ServerSocket.java
5517 (bind): Set port field.
5518 (close): Set impl to null.
5519 (isClosed): Check impl and channel instead of using VMChannel.
5520 (toString): Use port field and getLocalPort() method.
5521 * java/net/Socket.java
5522 (isClosed): Check impl and channel instead of using VMChannel.
5524 2006-09-18 Tom Tromey <tromey@redhat.com>
5526 * java/util/concurrent/CopyOnWriteArrayList.java
5527 (CopyOnWriteArrayList): New constructor.
5529 2006-09-18 Casey Marshall <csm@gnu.org>
5531 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5532 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5534 2006-09-18 Tom Tromey <tromey@redhat.com>
5536 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5537 isConnected): Removed old comment.
5538 (getRemoteSocketAddress): Uncommented.
5539 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5540 setTrafficClass, getTrafficClass, setReuseAddress,
5541 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5542 isOutputShutdown): Uncommented.
5544 2006-09-18 David Pirkle <dpirkle@symyx.com>
5547 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5548 input stream during resolution.
5550 2006-09-18 Roman Kennke <kennke@aicas.com>
5552 * java/awt/LightweightDispatcher.java
5553 (findTarget): Correctly translate child coordinates.
5554 Use Component.eventTypeEnabled() for checking if a component
5555 has a certain event enabled.
5556 (handleMouseEvent): Find the correct mouse event target.
5557 Use Component.eventTypeEnabled() for checking if a component
5558 has a certain event enabled.
5560 2006-09-18 Roman Kennke <kennke@aicas.com>
5562 * java/awt/Component.java
5563 (show): Test for the peer beeing lightweight directly.
5564 (paintAll): Validate before painting. Don't paint when not
5565 showing. Call peer.paint() when the component is heavyweight.
5566 (repaint): Delegate to the parent when lightweight, rather
5567 than skipping to the nearest heavyweight.
5568 (createImage): Added null check to prevent NPE.
5569 (dispatchEvent): Moved old event dispatching and toolkit
5570 event dispatching to dispatchEventImpl.
5571 (addComponentListener): Don't enable event. Only add listener
5572 when not null. Switch to new event dispatching only.
5573 (addFocusListener): Likewise.
5574 (addHierarchyListener): Likewise.
5575 (addHierarchyBoundsListener): Likewise.
5576 (addKeyListener): Likewise.
5577 (addMouseListener): Likewise.
5578 (addMouseMotionListener): Likewise.
5579 (addMouseWheelListener): Likewise.
5580 (addInputMethodListener): Likewise.
5581 (coalesceEvents): For mouse events coalesce them only when
5582 their modifiers are equal. For paint events coalesce the events
5583 when one contains the other, without going through complicated
5585 (dispatchEventImpl): Moved old event dispatching and toolkit
5586 event dispatching to dispatchEventImpl.
5587 (coalescePaintEvents): Removed.
5588 (HeavyweightInLightweightListener.componentHidden):
5590 * java/awt/Container.java
5591 (addImpl): Don't enable events on lightweights.
5592 (remove): Reordered operations. Don't remove any listeners.
5593 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5594 Only removeNotify() when peer is != null. Only invalidate if
5595 not already invalid. Only fire ContainerEvent if there is
5596 an interested listener or the event is enabled. Dispatch this
5597 event directly without the event queue.
5598 (removeAll): Likewise.
5599 (paintComponents): Only paint when showing. Also paint heavyweights.
5600 Don't paint the container itself.
5601 (removeNotify): Create local variables for improved thread safety.
5602 (addNotifyContainerChildren): Don't enable events for lightweights.
5604 2006-09-18 Roman Kennke <kennke@aicas.com>
5606 * java/awt/EventQueue.java
5607 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5608 (next_in): Removed obsolete field.
5609 (next_out): Removed obsolete field.
5610 (queueHead): New field. Markes the head of the queue.
5611 (queueTail): New field. Markes the tail of the queue.
5612 (queue): Removed obsolete field.
5613 (EventQueue): Documented empty block.
5614 (getNextEvent): Changed array based implementation to single-linked
5615 list based implementation.
5616 (invokeAndWait): Use an Object as synchronization object rather
5617 than the current thread.
5618 (peekEvent(int)): Changed array based implementation to single-linked
5619 list based implementation.
5620 (peekEvent()): Changed array based implementation to single-linked
5621 list based implementation.
5622 (pop()): Changed array based implementation to single-linked
5623 list based implementation.
5624 (postEvent): Foward to postEventImpl.
5625 (postEventImpl): Changed array based implementation to single-linked
5626 list based implementation.
5627 (push): Changed array based implementation to single-linked
5628 list based implementation.
5629 * java/awt/AWTEvent.java
5630 (queueNext): New field. Implements a single-linked list for
5633 2006-09-17 Mark Wielaard <mark@klomp.org>
5635 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5636 resource from HTMLEditorKit.class.
5638 2006-09-17 Mark Wielaard <mark@klomp.org>
5640 * javax/swing/plaf/basic/BasicToolBarUI.java
5641 (setBorderToNonRollover): Check whether border is null.
5642 (setBorderToRollover): Likewise.
5644 2006-09-17 Mark Wielaard <mark@klomp.org>
5646 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5648 2006-09-17 Mark Wielaard <mark@klomp.org>
5650 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5651 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5652 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5653 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5654 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5656 2006-09-17 Casey Marshall <csm@gnu.org>
5658 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5661 2006-09-17 Chris Burdess <dog@gnu.org>
5663 Fixes PR 27610 27687.
5664 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5665 * gnu/xml/transform/SAXTemplatesHandler.java,
5666 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5667 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5668 SAXTransformerFactory.
5670 2006-09-16 Casey Marshall <csm@gnu.org>
5673 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5674 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5676 (HAVE_INET6): define if IPv6 is supported.
5677 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5678 (native_fd): removed.
5680 (<init>): throw IOException; initialize fields.
5681 (finalize): removed.
5682 (getNativeFD): removed.
5683 (bind): use `PlainSocketImpl.bind.'
5684 (create): use `PlainSocketImpl.initSocket.'
5685 (disconnect): use `PlainSocketImpl.disconnect.'
5686 (getLocalPort): new method.
5687 (send): use `VMChannel.send.'
5688 (receive): use `VMChannel.receive.'
5689 (setOption): use `PlainSocketImpl.setOption.'
5690 (getOption): use `PlainSocketImpl.getOption.'
5691 (close): use `VMChannel.State.close.'
5692 (join): use `PlainSocketImpl.join.'
5693 (leave): use `PlainSocketImpl.leave.'
5694 (joinGroup, leaveGroup): implemented.
5695 * gnu/java/net/PlainSocketImpl.java: make non-final.
5696 (native_fd): removed.
5698 (channel): new field.
5699 (<init>): initialize `impl.'
5700 (finalize, getNativeFD): removed.
5701 (setOption): use `PlainSocketImpl.setOption.'
5702 (getOption): use `PlainSocketImpl.getOption.'
5703 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5704 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5705 (create): create `channel,' initialize `impl's native state.
5706 (connect): use `connect(SocketAddress, int).'
5707 (connect): use `SocketChannelImpl.connect;' initialize `address'
5709 (bind): use `VMPlainSocketImpl.bind.'
5710 (listen): use `VMPlainSocketImpl.listen.'
5711 (accept): use `SocketChannelImpl.accept.'
5712 (available): use `VMChannel.available.'
5713 (close): use `PlainSocketImpl.close.'
5714 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5715 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5716 getPort): new methods.
5717 (SocketInputStream.read): use `VMChannel.read.'
5718 (SocketInputStream.read): use `SocketChannel.read.'
5719 (SocketOutputStream.write): use `VMChannel.write.'
5720 (SocketOutputStream.write): use `SocketChannel.write.'
5721 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5722 (channel): new field.
5723 (<init>): initialize `channel.'
5724 (implCloseSelectableChannel): use `VMChannel.close.'
5725 (implConfigureBlocking): use `VMChannel.setBlocking.'
5726 (connect): use `VMChannel.connect.'
5727 (disconnect): use `VMChannel.disconnect.'
5728 (isConnected): use `VMChannel.getPeerAddress.'
5729 (write): use `VMChannel.write.'
5730 (write): use `VMChannel.writeGathering.'
5731 (read): use `VMChannel.read.'
5732 (read): use `VMChannel.readScattering.'
5733 (receive): use `VMChannel.receive.'
5734 (send): use `VMChannel.send.'
5735 (getVMChannel): new method.
5736 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5737 access native FD through VMChannel.State.
5738 * gnu/java/nio/FileChannelImpl.java: moved from
5739 gnu/java/nio/channels/FileChannelImpl.java.
5740 * gnu/java/nio/FileLockImpl.java: fix imports.
5741 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5742 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5743 * gnu/java/nio/NIOSocket.java (impl): removed.
5744 (channel): new field.
5745 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5746 (getPlainSocketImpl, setChannel): removed.
5747 (isConnected): new method.
5748 * gnu/java/nio/NIOSocketImpl.java: new file.
5749 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5751 (SourceChannelImpl.native_fd): removed.
5752 (SourceChannelImpl.<init>): init with a `VMChannel.'
5753 (SourceChannelImpl.getNativeFD): removed.
5754 (SourceChannelImpl.getVMChannel): new method.
5755 (SourceChannelImpl.implCloseSelectableChannel): implement.
5756 (SinkChannelImpl): implement `VMChannelOwner.'
5757 (SinkChannelImpl.native_fd): removed.
5758 (SinkChannelImpl.<init>): init with a `VMChannel.'
5759 (SinkChannelImpl.implCloseSelectableChannel): implement.
5760 (SinkChannelImpl.getNativeFD): removed.
5761 (SinkChannelImpl.getVMChannel): new method.
5762 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5764 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5765 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5766 (openSelector): return kqueue selector if available.
5767 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5769 (channel): new field.
5770 (<init>): init `channel.'
5771 (finalizer): check if the `VMChannel.State' is valid.
5772 (implCloseSelectableChannel): use `VMChannel.close.'
5773 (implConfigureBlocking): use `VMChannel.setBlocking.'
5774 (accept): use `VMChannel.accept.'
5775 (getVMChannel): new method.
5776 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5777 access native FD through `VMChannel.State.'
5778 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5780 (channel, connected, connectAddress): new field.
5781 (<init>): new constructors.
5782 (getPlainSocketImpl): removed.
5783 (implCloseSelectableChannel): use `VMChannel.close.'
5784 (implConfigureBlocking): use `VMChannel.setBlocking.'
5785 (connect): use `connect(SocketAddress,int).'
5786 (connect): use `VMChannel.connect.'
5787 (finishConnect): don't use a selector.
5788 (isConnected): use `VMChannel.getPeerAddress.'
5789 (read): use `VMChannel.read.'
5790 (read): use `VMChannel.readScattering.'
5791 (write): use `VMChannel.write.'
5792 (write): use `VMChannel.writeGathering.'
5793 (getVMChannel): new method.
5794 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5795 native FD from `VMChannel.State.'
5796 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5797 get native FD from `VMChannel.State.'
5798 * gnu/java/nio/VMChannelOwner.java: new file.
5799 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5800 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5801 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5802 `gnu_java_nio_channels_FileChannelImpl.h.'
5803 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5804 * include/gnu_java_nio_FileChannelImpl.h: new file.
5805 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5806 * include/gnu_java_nio_VMChannel.h: regenerated.
5807 * include/gnu_java_nio_VMPipe.h: regenerated.
5808 * include/java_net_VMNetworkInterface.h: regenerated.
5809 * java/io/FileDescriptor.java: fix imports.
5810 * java/io/FileInputStream.java (<init>): handle exceptions.
5811 (read): wrap the destination arary.
5812 * java/io/FileOutputStream.java (<init>): handle exceptions.
5813 (write): wrap the source array.
5814 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5815 * java/net/DatagramSocket.java (<init>): handle exceptions.
5816 (receive): handle length/port setting.
5817 (connect): bind to any address/port if the argument is null.
5818 * java/net/NetworkInterface.java (name, inetAddress): removed.
5820 (<init>): make private.
5821 (getName): return `netif.name.'
5822 (getInetAddresses): access `netif.addresses.'
5823 (getDisplayName): return `netif.name.'
5824 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5825 (condense): removed.
5826 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5827 (equals): compare `netif' fields.
5828 (hashCode): get hash codes from `netif.'
5829 (toString): use a StringBuffer.
5830 * java/net/ServerSocket.java (close): don't set `impl' to null.
5831 (isClosed): use `VMChannel.State.isClosed.'
5832 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5833 the `SocketImpl' is a `PlainSocketImpl.'
5834 (close): just close the `impl.'
5835 (toString): use `super.toString' in the value we return.
5836 (isConnected): just access `impl,' not `getImpl.'
5837 (isBound): use `PlainSocketImpl' methods if we can.
5838 (isClosed): look at `VMChannel.State.'
5839 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5840 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5841 an exception if they were not.
5842 (JCL_GetRawData): throw an exception if cached fields weren't
5844 * native/jni/java-lang/java_lang_VMProcess.c: handle
5845 FileChannelImpl move.
5846 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5847 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5848 THROW_NO_NETWORK): new macros.
5849 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5850 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5851 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5852 (java_sockopt): new enum.
5853 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5854 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5855 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5857 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5859 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5861 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5862 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5863 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5864 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5865 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5866 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5867 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5868 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5869 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5870 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5871 (getif_address): new function.
5872 (getif_index): new function.
5873 * native/jni/java-net/java_net_VMNetworkInterface.c
5874 (java_net_VMNetworkInterface_init,
5875 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5876 (Java_java_net_VMNetworkInterface_initIds): new function.
5877 (struct netif_entry): new struct.
5878 (free_netif_list): new function.
5879 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5880 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5881 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5882 gnu_java_nio_channels_FileChannelImpl.c, add
5883 gnu_java_nio_KqueueSelectorImpl.c.
5884 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5885 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5886 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5887 ALIGN_DOWN): new macros.
5888 (JCL_init_buffer): get the address through GetDirectBufferAddress
5890 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5891 Java_gnu_java_nio_VMChannel_stdout_1fd,
5892 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5893 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5895 (Java_gnu_java_nio_VMChannel_read): renamed...
5896 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5897 this; handle interrupted IO; add HAVE_READ check.
5898 (Java_gnu_java_nio_VMChannel_write): renamed...
5899 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5900 this; handle zero-length write; add HAVE_WRITE check.
5901 (Java_gnu_java_nio_VMChannel_receive): new function.
5902 (Java_gnu_java_nio_VMChannel_send): new function.
5903 (Java_gnu_java_nio_VMChannel_send6): new function.
5904 (Java_gnu_java_nio_VMChannel_read__I): new function.
5905 (Java_gnu_java_nio_VMChannel_write__II): new function.
5906 (Java_gnu_java_nio_VMChannel_socket): new function.
5907 (Java_gnu_java_nio_VMChannel_connect): new function.
5908 (Java_gnu_java_nio_VMChannel_connect6): new function.
5909 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5910 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5911 (Java_gnu_java_nio_VMChannel_accept): new function.
5912 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5913 (Java_gnu_java_nio_VMChannel_close): new function.
5914 (Java_gnu_java_nio_VMChannel_available): new function.
5915 (FileChannel_mode): new enum.
5916 (Java_gnu_java_nio_VMChannel_open): new function.
5917 (Java_gnu_java_nio_VMChannel_position): new function.
5918 (Java_gnu_java_nio_VMChannel_seek): new function.
5919 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5920 (Java_gnu_java_nio_VMChannel_lock): new function.
5921 (Java_gnu_java_nio_VMChannel_unlock): new function.
5922 (Java_gnu_java_nio_VMChannel_size): new function.
5923 (Java_gnu_java_nio_VMChannel_map): new function.
5924 (Java_gnu_java_nio_VMChannel_flush): new function.
5925 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5926 (Java_gnu_java_nio_VMPipe_init): removed.
5927 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5928 * native/jni/java-nio/javanio.c: new file.
5929 * native/jni/java-nio/javanio.h: new file.
5930 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5931 systems without `gethostbyname_r.'
5932 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5934 (<init>, <init>): new constructors.
5935 (setOption, getOption): make instance methods; defer to native
5938 (bind): make an instance method; defer to native methods.
5940 (available): removed.
5941 (listen): make an instance method; defer to native method.
5943 (join, leave): new methods.
5945 (joinGroup, leaveGroup): new methods.
5946 (shutdownInput, shutdownOutput): make instance methods.
5947 (sendUrgentData): removed.
5949 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5952 (<init>): new, public constructors.
5953 (getVMChannel): methods removed.
5954 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5955 stderr_fd): new methods.
5956 (setBlocking): make an instance method.
5957 (available): new method.
5958 (read): get native fd from `nfd.'
5959 (read): new single-byte read method.
5960 (readScattering): get native fd from `nfd.'
5961 (receive): new method.
5962 (write, writeGathering): get native fd from `nfd.'
5964 (write): new single-byte write method.
5965 (initSocket): new method.
5966 (connect): new method.
5967 (disconnect): new method.
5968 (getLocalAddress): new method.
5969 (getPeerAddress): new method.
5970 (accept): new method.
5971 (openFile): new method.
5972 (position): new method.
5974 (truncate): new method.
5976 (unlock): new method.
5979 (flush): new method.
5980 (close): new method.
5983 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5984 (pipe, pipe0): new method.
5985 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5987 (<clinit>): call `initIds.'
5988 (initIds): new method.
5989 (getInterfaces): removed.
5990 (getVMInterfaces): new method.
5991 (addAddress): new method.
5992 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5994 2006-09-16 Chris Burdess <dog@gnu.org>
5997 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5998 when in text output mode.
6000 2006-09-16 Chris Burdess <dog@gnu.org>
6003 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6005 2006-09-14 Michael Koch <konqueror@gmx.de>
6007 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6009 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
6011 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6012 Added !cl.isArray() to serialVersionUID mismatch check.
6014 2006-09-14 Francis Kung <fkung@redhat.com>
6016 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6017 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6018 be compatibe with Cairo 1.2.x.
6020 2006-09-14 Francis Kung <fkung@redhat.com>
6022 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6023 (cairoSurfaceSetFilter): Removed method.
6024 (drawImage): Pass interpolation type as argument to drawing methods.
6025 (drawPixels): Added interpolation parameter.
6026 (drawRaster): Pass interpolation type as argument to drawing method.
6027 (getInterpolation): New method.
6028 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6029 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6030 * gnu/java/awt/peer/gtk/CairoSurface.java
6031 (drawSurface): Added interpolation parameter.
6032 (nativeDrawSurface): Added interpolation parameter.
6033 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6034 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6036 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6037 * native/jni/gtk-peer/cairographics2d.h
6038 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6040 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6042 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6043 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6044 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6045 interpolation parameter.
6047 2006-09-14 Gary Benson <gbenson@redhat.com>
6049 * java/net/InetAddress.java
6050 (internalGetCanonicalHostName): New method.
6051 (getCanonicalHostName): Use internalGetCanonicalHostName.
6052 (getByLiteral): New method.
6053 (getAllByName): Use getByLiteral.
6054 * java/net/SocketPermission.java
6055 (host): Replaced with...
6056 (hostname, address): New fields.
6057 (equals, hashcode): Reflect the above.
6058 (setHostPort): Parse host into hostname or address.
6059 (implies): Rewrite host checks.
6061 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6064 * java/awt/Menu.java
6065 (insert(MenuItem, int)): Fixed loop range,
6066 (insert(String, int)): Updated API docs.
6068 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6071 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6072 architectures (like Arm).
6073 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6074 Reverted SWAP_DOUBLE patch.
6075 (doubleToRawLongBits): Likewise.
6076 (longBitsToDouble): Likewise.
6078 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6080 * java/awt/Menu.java: Reformatted source file.
6082 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6084 * gnu/java/rmi/server/ActivatableRef.java
6085 (readExternal, writeExternal): Partial fix for serialization format.
6087 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6090 * java/io/InputStreamReader.java
6091 (read(char[],int,int)): Fixed bug.
6093 2006-09-13 Francis Kung <fkung@redhat.com>
6095 * java/awt/image/BandCombineOp.java: Updated documentation.
6096 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6098 2006-09-13 Tom Tromey <tromey@redhat.com>
6101 * java/io/PipedReader.java (read): Return early if len==0.
6102 * java/io/PipedInputStream.java (read): Return early if len==0.
6104 2006-09-13 Francis Kung <fkung@redhat.com>
6106 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6107 Removed hard-coded max sample value.
6108 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6109 Fixed finding of max sample value.
6111 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6113 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6114 (setPaint): Check null argument ('p').
6116 2006-09-12 Francis Kung <fkung@redhat.com>
6119 * gnu/java/awt/java2d/TexturePaintContext.java
6120 (constructor): Fixed typo, getMinY instead of getMaxX.
6121 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6122 (setPaint): Implemented support for custom Paint classes.
6123 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6124 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6125 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6126 to setPaintPixels, and added repeat parameter.
6127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6128 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6130 2006-09-12 Gary Benson <gbenson@redhat.com>
6132 * java/net/NetworkInterface.java (getInetAddresses):
6133 Fix port used in security check.
6135 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6137 * javax/swing/plaf/metal/DefaultMetalTheme.java
6138 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6139 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6140 (getControlTextFont): Check 'swing.boldMetal' setting before
6142 (getMenuTextFont): Likewise.
6144 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6146 * javax/swing/plaf/metal/OceanTheme.java
6147 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6149 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6151 * javax/swing/plaf/metal/MetalIconFactory.java
6152 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6154 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6156 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6158 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6160 * javax/swing/AbstractButton.java
6161 (AbstractButton): Initialise textIconGap field.
6163 2006-09-11 Tom Tromey <tromey@redhat.com>
6165 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6166 "volatile" when needed.
6168 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6170 * java/text/AttributedCharacterIterator.java
6171 (LANGUAGE): Initialise with lower case string,
6172 (INPUT_METHOD_SEGMENT): Likewise,
6173 (READING): Likewise,
6174 * java/text/AttributedStringIterator.java
6175 (getRunLimit): Check all attributes for changes.
6177 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6179 * java/text/AttributedCharacterIterator.java: Added @since tag,
6180 renamed some variables (no underscores) and removed some spaces to
6181 match the common style,
6182 * java/text/AttributedString.java: Likewise,
6183 * java/text/AttributedStringIterator.java: Likewise.
6185 2006-09-11 Gary Benson <gbenson@redhat.com>
6187 * java/net/Inet4Address.java
6188 (FAMILY): Renamed back to AF_INET.
6189 (<init>, writeReplace): Reflect the above.
6190 * java/net/Inet6Address.java
6191 (FAMILY): Renamed back to AF_INET6.
6192 (<init>): Reflect the above.
6194 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6197 * java/text/AttributedString.java
6198 (AttributedString(AttributedCharacterIterator, int, int,
6199 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6202 2006-09-11 Gary Benson <gbenson@redhat.com>
6204 * java/net/Inet4Address.java
6205 (AF_INET): Renamed to FAMILY.
6206 (<init>, writeReplace): Reflect the above.
6207 * java/net/Inet6Address.java
6208 (AF_INET6): Renamed to FAMILY.
6209 (<init>): Reflect the above.
6211 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6214 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6215 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6216 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6217 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6218 (bind): Call getImpl().create(true).
6220 2006-09-09 Chris Burdess <dog@gnu.org>
6222 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6223 an instance of org.w3c.dom.NodeList.
6225 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6227 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6228 missing security manager when run in standalone mode.
6230 2006-09-08 Francis Kung <fkung@redhat.com>
6232 * java/awt/image/AffineTransformOp.java: Updated documentation.
6233 (createCompatibleDestRaster): Updated formatting.
6234 (filter(BufferedImage, BufferedImage)): Updated formatting.
6235 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6236 if colour model is compatible.
6237 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6238 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6240 2006-09-08 Gary Benson <gbenson@redhat.com>
6242 * java/net/InetAddress.java
6243 (family): Updated javadoc and made private.
6244 (<init>): Add an address family argument.
6245 (readObject): Don't overwrite family.
6246 * java/net/Inet4Address.java
6247 (AF_INET): New constant.
6248 (<init>): Use AF_INET as the family.
6249 (writeReplace): Likewise.
6250 * java/net/Inet6Address.java
6251 (AF_INET6): New constant.
6252 (<init>): Use AF_INET6 as the family.
6254 2006-09-08 Gary Benson <gbenson@redhat.com>
6256 * java/net/InetAddress.java
6257 (getHostName): Move lookup into getCanonicalHostName.
6258 (getCanonicalHostName): Move lookup from getHostName,
6259 Perform security check on canonical name (ie after lookup).
6261 2006-09-08 Gary Benson <gbenson@redhat.com>
6263 * java/net/Inet4Address.java (isMulticastAddress,
6264 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6265 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6266 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6267 implementations from InetAddress.
6268 * java/net/InetAddress.java (isMulticastAddress,
6269 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6270 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6271 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6272 implementations with UnsupportedOperationExceptions.
6274 2006-09-08 Gary Benson <gbenson@redhat.com>
6276 * java/net/InetAddress.java
6277 (inaddr_any): Removed.
6278 (ANY_IF, LOCALHOST): Create using getByAddress.
6279 (<init>): Updated javadoc.
6280 (getHostName): Cache hostname even if the lookup failed.
6281 (getByAddress): Create Inet4Address objects when passed
6282 IPv4-mapped IPv6 addresses.
6284 (getAllByName): Create address objects using getByAddress.
6285 Do not perform security checks unless actually required.
6286 Do not strip whitespace from the hostname.
6287 (getInaddrAny): Removed.
6288 (getLocalHost): Return the loopback address if getByName
6289 throws a SecurityException.
6290 (readResolve): Updated javadoc.
6291 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6292 * include/java_net_VMInetAddress.h
6293 (Java_java_net_VMInetAddress_aton): Likewise.
6294 * native/jni/java-net/java_net_VMInetAddress.c
6295 (Java_java_net_VMInetAddress_aton): New method.
6296 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6297 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6298 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6299 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6300 * NEWS: Added note about updated VM interface.
6302 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6304 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6305 (setNorthPane): Assign component to titlePane.
6307 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6309 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6310 Remove unused variable alt_addr.
6311 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6312 Remove unused variables.
6314 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6316 * javax/swing/plaf/metal/MetalScrollBarUI.java
6317 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6318 (createDecreaseButton): Don't fetch scrollBarWidth here,
6319 (createIncreaseButton): Likewise.
6321 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6323 * java/awt/image/MemoryImageSource.java: Added API docs.
6325 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6327 * javax/swing/plaf/basic/BasicScrollBarUI.java
6328 (installDefaults): Call configureScrollBarColors().
6330 2006-09-06 Francis Kung <fkung@redhat.com>
6332 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6333 (constructor): Make copy of arrays.
6334 (createCompatibleDestImage): Changed treatment of null ColorModel.
6335 (filter(BufferedImage, BufferedImage)): Re-implemented.
6336 (filter(Raster, WritableRaster, boolean[])): New method.
6337 (filter(Raster, WritableRaster)): Re-implemented.
6338 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6339 (getPoint2D): Cleaned up formatting.
6340 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6342 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6344 * javax/swing/UIManager.java
6345 (getBoolean(Object)): Reimplemented,
6346 (getBoolean(Object, Locale)): Likewise,
6347 (getBorder(Object)): Likewise,
6348 (getBorder(Object, Locale)): Likewise,
6349 (getColor(Object)): Likewise,
6350 (getColor(Object, Locale)): Likewise,
6351 (getDimension(Object)): Likewise,
6352 (getDimension(Object, Locale)): Likewise,
6353 (getFont(Object)): Likewise,
6354 (getFont(Object, Locale)): Likewise,
6355 (getIcon(Object)): Likewise,
6356 (getIcon(Object, Locale)): Likewise,
6357 (getInsets(Object)): Updated API docs,
6358 (getInsets(Object, Locale)): Likewise,
6359 (getInt(Object)): Reimplemented,
6360 (getInt(Object, Locale)): Likewise,
6361 (getString(Object)): Likewise,
6362 (getString(Object, Locale)): Likewise.
6364 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6366 * javax/swing/UIManager.java
6367 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6368 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6370 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6372 * javax/swing/plaf/metal/MetalLookAndFeel.java
6373 (initComponentDefaults): Corrected various font defaults.
6375 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6377 * java/awt/List.java: Added @since to various methods.
6379 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6381 * native/jni/native-lib/cpprocess.c:
6382 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6383 Add redirection of stdout to stderr.
6384 * native/jni/native-lib/cpprocess.h:
6385 Added redirect argument.
6386 * native/jni/java-lang/java_lang_VMProcess.c
6387 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6388 * vm/reference/java/lang/VMProcess.java: Likewise.
6389 * include/java_lang_VMProcess.h: Regenerated.
6391 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6393 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6394 __attribute to __attribute__.
6396 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6399 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6401 * java/awt/List.java: Source code reformatted.
6403 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6405 * gnu/CORBA/CollocatedOrbs.java,
6406 gnu/CORBA/SafeForDirectCalls.java: New files.
6407 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6408 Implement gnu.CORBA.SafeForDirectCalls.
6409 * gnu/CORBA/NamingService/Ext.java: Likewise.
6410 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6411 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6412 of the local host. (ior_to_object): Return the local object
6413 where possible. (run): Register/unregister this ORB.
6414 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6415 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6416 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6417 (constructors): Initialize noRetain. (_invoke): Drop servant
6418 if noRetain is true. (getHandler): Always seach for the new servant
6419 if noRetain is true.
6420 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6421 * NEWS: Added note about the new feature.
6423 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6425 * java/awt/Choice.java
6426 (addItem): Fixed API doc glitch.
6428 2006-09-05 Francis Kung <fkung@redhat.com>
6430 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6431 (createCompatibleDestImage): Re-implemented.
6432 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6433 compatibility, and use ColorConvertOp for color conversion if needed.
6434 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6436 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6438 gnu/CORBA/CDR/Vio.java,
6439 org/omg/CORBA_2_3/ORB.java,
6440 org/omg/CORBA_2_3/portable/InputStream.java,
6441 org/omg/CORBA_2_3/portable/OutputStream.java,
6442 org/omg/CosNaming/BindingIteratorHelper.java,
6443 org/omg/CosNaming/BindingTypeHelper.java,
6444 org/omg/CosNaming/NameComponentHelper.java,
6445 org/omg/CosNaming/NameHelper.java,
6446 org/omg/CosNaming/NamingContextExtHelper.java,
6447 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6448 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6449 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6450 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6451 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6452 org/omg/CosNaming/NamingContextHelper.java,
6453 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6454 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6455 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6456 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6457 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6458 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6459 org/omg/DynamicAny/AnySeqHelper.java,
6460 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6461 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6462 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6463 org/omg/DynamicAny/DynAnyHelper.java,
6464 org/omg/DynamicAny/DynAnyOperations.java,
6465 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6466 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6467 org/omg/DynamicAny/DynAnySeqHelper.java,
6468 org/omg/DynamicAny/DynArrayHelper.java,
6469 org/omg/DynamicAny/DynEnumHelper.java,
6470 org/omg/DynamicAny/DynFixedHelper.java,
6471 org/omg/DynamicAny/DynSequenceHelper.java,
6472 org/omg/DynamicAny/DynStructHelper.java,
6473 org/omg/DynamicAny/DynStructOperations.java,
6474 org/omg/DynamicAny/DynUnionHelper.java,
6475 org/omg/DynamicAny/DynValueHelper.java,
6476 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6477 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6478 org/omg/IOP/CodecFactoryHelper.java,
6479 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6480 org/omg/IOP/CodecOperations.java,
6481 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6482 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6483 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6484 org/omg/IOP/ComponentIdHelper.java,
6485 org/omg/IOP/ExceptionDetailMessage.java,
6486 org/omg/IOP/MultipleComponentProfileHelper.java,
6487 org/omg/IOP/ProfileIdHelper.java,
6488 org/omg/IOP/ServiceContextListHelper.java,
6489 org/omg/IOP/ServiceIdHelper.java,
6490 org/omg/IOP/TAG_CODE_SETS.java,
6491 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6492 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6493 org/omg/PortableInterceptor/CurrentHelper.java,
6494 org/omg/PortableInterceptor/IORInfo.java,
6495 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6496 org/omg/PortableInterceptor/ORBIdHelper.java,
6497 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6498 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6499 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6500 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6501 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6502 org/omg/PortableInterceptor/RequestInfoOperations.java,
6503 org/omg/PortableInterceptor/ServerIdHelper.java,
6504 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6505 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6506 org/omg/PortableServer/AdapterActivatorOperations.java,
6507 org/omg/PortableServer/CurrentHelper.java,
6508 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6509 org/omg/PortableServer/ForwardRequestHelper.java,
6510 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6511 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6512 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6513 org/omg/PortableServer/LifespanPolicyValue.java,
6514 org/omg/PortableServer/POA.java,
6515 org/omg/PortableServer/POAHelper.java,
6516 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6517 org/omg/PortableServer/POAManagerPackage/State.java,
6518 org/omg/PortableServer/POAOperations.java,
6519 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6520 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6521 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6522 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6523 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6524 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6525 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6526 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6527 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6528 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6529 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6530 org/omg/PortableServer/ServantActivatorHelper.java,
6531 org/omg/PortableServer/ServantLocatorHelper.java,
6532 org/omg/PortableServer/ServantLocatorOperations.java,
6533 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6534 org/omg/PortableServer/ThreadPolicyValue.java,
6535 org/omg/PortableServer/_ServantActivatorStub.java,
6536 org/omg/PortableServer/_ServantLocatorStub.java,
6537 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6539 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6541 * javax/rmi/CORBA/Tie.java,
6542 org/omg/CORBA/AnyHolder.java,
6543 org/omg/CORBA/AnySeqHelper.java,
6544 org/omg/CORBA/AnySeqHolder.java,
6545 org/omg/CORBA/BooleanHolder.java,
6546 org/omg/CORBA/BooleanSeqHelper.java,
6547 org/omg/CORBA/BooleanSeqHolder.java,
6548 org/omg/CORBA/ByteHolder.java,
6549 org/omg/CORBA/CharHolder.java,
6550 org/omg/CORBA/CharSeqHelper.java,
6551 org/omg/CORBA/CharSeqHolder.java,
6552 org/omg/CORBA/Context.java,
6553 org/omg/CORBA/CurrentHelper.java,
6554 org/omg/CORBA/CustomValue.java,
6555 org/omg/CORBA/DataOutputStream.java,
6556 org/omg/CORBA/DefinitionKindHelper.java,
6557 org/omg/CORBA/DomainManagerOperations.java,
6558 org/omg/CORBA/DoubleHolder.java,
6559 org/omg/CORBA/DoubleSeqHelper.java,
6560 org/omg/CORBA/DoubleSeqHolder.java,
6561 org/omg/CORBA/DynAny.java,
6562 org/omg/CORBA/DynSequence.java,
6563 org/omg/CORBA/DynValue.java,
6564 org/omg/CORBA/DynamicImplementation.java,
6565 org/omg/CORBA/FieldNameHelper.java,
6566 org/omg/CORBA/FixedHolder.java,
6567 org/omg/CORBA/FloatHolder.java,
6568 org/omg/CORBA/FloatSeqHelper.java,
6569 org/omg/CORBA/FloatSeqHolder.java,
6570 org/omg/CORBA/IdentifierHelper.java,
6571 org/omg/CORBA/IntHolder.java,
6572 org/omg/CORBA/LocalObject.java,
6573 org/omg/CORBA/LongHolder.java,
6574 org/omg/CORBA/LongLongSeqHelper.java,
6575 org/omg/CORBA/LongLongSeqHolder.java,
6576 org/omg/CORBA/LongSeqHelper.java,
6577 org/omg/CORBA/LongSeqHolder.java,
6578 org/omg/CORBA/ORB.java,
6579 org/omg/CORBA/ObjectHelper.java,
6580 org/omg/CORBA/ObjectHolder.java,
6581 org/omg/CORBA/OctetSeqHelper.java,
6582 org/omg/CORBA/OctetSeqHolder.java,
6583 org/omg/CORBA/PolicyErrorCodeHelper.java,
6584 org/omg/CORBA/PolicyErrorHelper.java,
6585 org/omg/CORBA/PolicyHelper.java,
6586 org/omg/CORBA/PolicyListHelper.java,
6587 org/omg/CORBA/PolicyTypeHelper.java,
6588 org/omg/CORBA/PrincipalHolder.java,
6589 org/omg/CORBA/RepositoryIdHelper.java,
6590 org/omg/CORBA/Request.java,
6591 org/omg/CORBA/ShortHolder.java,
6592 org/omg/CORBA/ShortSeqHelper.java,
6593 org/omg/CORBA/ShortSeqHolder.java,
6594 org/omg/CORBA/StringSeqHelper.java,
6595 org/omg/CORBA/StringSeqHolder.java,
6596 org/omg/CORBA/ULongLongSeqHelper.java,
6597 org/omg/CORBA/ULongLongSeqHolder.java,
6598 org/omg/CORBA/ULongSeqHelper.java,
6599 org/omg/CORBA/ULongSeqHolder.java,
6600 org/omg/CORBA/UShortSeqHelper.java,
6601 org/omg/CORBA/UShortSeqHolder.java,
6602 org/omg/CORBA/ValueBaseHelper.java,
6603 org/omg/CORBA/ValueBaseHolder.java,
6604 org/omg/CORBA/VersionSpecHelper.java,
6605 org/omg/CORBA/WCharSeqHelper.java,
6606 org/omg/CORBA/WCharSeqHolder.java,
6607 org/omg/CORBA/WStringSeqHelper.java,
6608 org/omg/CORBA/WStringSeqHolder.java,
6609 org/omg/CORBA/WrongTransactionHelper.java,
6610 org/omg/CORBA/_IDLTypeStub.java,
6611 org/omg/CORBA/_PolicyStub.java,
6612 org/omg/CORBA/portable/BoxedValueHelper.java,
6613 org/omg/CORBA/portable/Delegate.java,
6614 org/omg/CORBA/portable/ObjectImpl.java,
6615 org/omg/CORBA/portable/ServantObject.java,
6616 org/omg/CORBA/portable/StreamableValue.java,
6617 org/omg/CosNaming/BindingType.java,
6618 org/omg/CosNaming/IstringHelper.java,
6619 org/omg/DynamicAny/FieldNameHelper.java,
6620 org/omg/PortableServer/Servant.java: Documentation fixes.
6622 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6624 * java/awt/Rectangle.java
6625 (setRect(double, double, double, double)): Modified rounding of input
6628 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6630 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6631 Disallow H1 - H6 in the paragraphs.
6632 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6633 (preprocess): Leave at most one leading and/or trailing space.
6634 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6635 Do not add any text after closing the HTML tag.
6637 2006-09-02 Roman Kennke <kennke@aicas.com>
6640 * javax/swing/plaf/basic/BasicTextUI.java
6641 (RootView.getPreferredSpan): Default to 10 when there is no
6643 (RootView.getMinimumSpan): Forward to view and default to 10
6644 when there is no real view.
6645 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6646 (getMaximumSize): Check for overflow.
6647 * javax/swing/text/FieldView.java
6648 (getResizeWeight): Removed unneeded assignment.
6650 2006-09-01 Francis Kung <fkung@redhat.com>
6651 * java/awt/image/ColorConvertOp.java
6652 (copyImage): Updated javadoc and comments.
6653 (copyRaster): Add javadoc.
6654 (createCompatibleColorModel): Add javadocs and comments.
6655 (createCompatibleDestImage): Use correct transfer type.
6656 (createCompatibleDestRaster): Add new parameter for transfer type.
6657 (filter): Use correct transfer type.
6658 * java/awt/image/ConvolveOp.java: Updated javadocs.
6659 (createCompatibleDestImage): Set new image properties correctly.
6660 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6661 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6663 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6665 * javax/swing/table/DefaultTableModel.java:
6666 (checkSize): Added null check for dataVector.
6668 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6670 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6671 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6672 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6674 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6676 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6677 (paintIcon): Removed unused import statements, lowered cast requirement
6678 from JCheckBox to AbstractButton.
6680 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6682 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6683 (initComponentDefaults): Added, changed and removed some
6684 tabbed pane properties.
6686 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6688 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6689 (createContent): Changed menu item name and tab naming.
6691 2006-09-01 Roman Kennke <kennke@aicas.com>
6694 * javax/swing/plaf/basic/BasicHTML.java
6695 (HTMLRootView.getAttributes): Overridden to return null.
6696 (HTMLRootView.getElement): Overridden to return the view's
6699 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6701 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6702 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6703 of accessing variable directly.
6704 (calculateTabAreaWidth): Dito.
6706 2006-08-31 Keith Seitz <keiths@redhat.com>
6708 * include/jvmti.h: Include jvmti_md.h.
6710 2006-08-31 Keith Seitz <keiths@redhat.com>
6712 From Martin Platter <motse@complang.tuwien.ac.at>:
6713 * Makefile.am (include_HEADERS): Include jvmti.h.
6714 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6715 (jvmtiError): Remove superfluous comma after last entry.
6716 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6717 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6718 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6719 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6721 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6722 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6723 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6726 2006-08-31 Roman Kennke <kennke@aicas.com>
6728 * javax/swing/text/BoxView.java
6729 (getWidth): Return the width with insets added, not with one
6730 added and one removed.
6731 (getHeight): Return the height with insets added, not with one
6732 added and one removed.
6733 * javax/swing/text/GlyphView.java
6734 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6735 * javax/swing/text/ParagraphView.java
6736 (Row.getAlignment): Adjust alignment with respect to
6737 the justification attribute.
6738 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6740 * javax/swing/text/html/CSS.java
6741 (getValue): Convert length values.
6742 * javax/swing/text/html/Paragraph.java
6743 (painter): New field.
6744 (paint): Implemented to delegate painting to the BoxPainter too.
6745 (setPropertiesFromAttributes): Implemented to load attributes
6747 * javax/swing/text/html/StyleSheet.java
6748 (BoxPainter.as): Removed field.
6749 (BoxPainter.leftInset): New field.
6750 (BoxPainter.bottomInset): New field.
6751 (BoxPainter.rightInset): New field.
6752 (BoxPainter.topInset): New field.
6753 (BoxPainter.BoxPainter): Implemented to load the insets from
6755 (BoxPainter.getInset): Implemented.
6756 * gnu/javax/swing/text/html/Length.java: New class.
6757 Converts CSS length units to usable values.
6759 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6761 * configure.ac: Add check for gethostbyname_r.
6762 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6763 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6764 SOCKET_NOSIGNAL according to the configure check.
6765 (cpnet_send): Use SOCKET_NOSIGNAL.
6766 (cpnet_sendTo): Likewise.
6767 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6769 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6772 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6774 2006-08-31 Roman Kennke <kennke@aicas.com>
6776 * javax/swing/JEditorPane.java
6777 (getPreferredSize): Replace preferred size with minimum
6778 UI size only if the scrollable does _not_ track the viewport
6779 size and only if the viewport's size is smaller than the
6781 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6783 * javax/swing/plaf/basic/BasicTextUI.java
6784 (getPreferredSize): Read-lock the document to avoid
6785 concurrency problems.
6786 (getMaximumSize): Return maximum size of the view.
6787 Read-lock the document to avoid concurrency problems.
6788 (getMinimumSize): Return minimum size of the view.
6789 Read-lock the document to avoid concurrency problems.
6791 2006-08-31 Gary Benson <gbenson@redhat.com>
6793 * java/net/SocketPermission.java
6794 (maybeBracketIPv6Address): Renamed to processHostport.
6795 (processHostport): Also translate "" to "localhost".
6796 (setHostPort): Remove special cases for empty hostport and for
6797 extra colons in hostport (processHostport handles these now).
6799 2006-08-31 Mark Wielaard <mark@klomp.org>
6801 * javax/swing/text/ZoneView.java (Zone): Make static class.
6802 Constructor takes axis parameter.
6803 (createZone): Create Zone with getAxis() as major axis.
6805 2006-08-30 Roman Kennke <kennke@aicas.com>
6807 * javax/swing/text/ZoneView.java
6808 (loadChildren): Implemented.
6809 (getViewIndexAtPosition): Implemented.
6810 (checkZoneAt): New helper method.
6811 (splitZone): New helper method.
6812 (getPreferredZoneEnd): New helper method.
6814 2006-08-30 Roman Kennke <kennke@aicas.com>
6816 * javax/swing/text/ZoneView.java: New class.
6818 2006-08-30 Roman Kennke <kennke@aicas.com>
6820 * javax/swing/JMenu.java
6821 (getMenu): Removed unneeded cast.
6822 (getPopupMenuOrigin): Made positioning algorithm better respect
6824 (setMenuLocation): Also set the location on the popup if it's
6826 (setModel): Use menuChangeListener so that we don't override
6827 the changeListener field from AbstractButton.
6828 (setPopupMenuVisible): Use custom location if set, otherwise
6829 fallback to getPopupMenuOrigin().
6831 2006-08-29 Roman Kennke <kennke@aicas.com>
6833 * javax/swing/text/InternationalFormatter.java
6834 (stringToValue): Fixed bounds check.
6835 * javax/swing/text/MaskFormatter.java
6836 (MaskFormatter): Don't explicitly set allosInvalid property.
6837 (convertStringToValue): New helper method.
6838 (convertValueToString): New helper method.
6839 (convertValue): Removed. Replaced by the 2 convert* methods
6841 (getPadCharAt): Removed.
6842 (isCharValid): Removed.
6844 (stringToValue): Fixed stringToValue conversion.
6845 (stripLiterals): Removed.
6846 (valueToString): Fixed valueToString conversion.
6847 * javax/swing/text/DefaultFormatter.java
6848 (DefaultFormatter): Default to commitsOnValidEdit = false.
6850 2006-08-29 Roman Kennke <kennke@aicas.com>
6852 * javax/swing/text/TextAction.java
6853 (getTextComponent): Check event for null and return null in
6855 (augmentList): Augment Actions based on their names.
6856 * javax/swing/text/DefaultEditorKit.java
6857 (BeginAction.actionPerformed): Check target for null.
6858 (BeginLineAction.actionPerformed): Check target for null.
6859 (CopyAction.actionPerformed): Check target for null.
6860 (CutAction.actionPerformed): Check target for null.
6861 (EndAction.actionPerformed): Check target for null.
6862 (EndLineAction.actionPerformed): Check target for null.
6863 (InsertBreakAction.actionPerformed): Check target for null.
6864 (InsertTabAction.actionPerformed): Check target for null.
6865 (PasteAction.actionPerformed): Check target for null.
6866 (SelectAllAction.actionPerformed): Check target for null.
6867 (SelectionBeginAction.actionPerformed): Check target for null.
6868 (SelectionBeginLineAction.actionPerformed): Check target for null.
6869 (SelectionEndAction.actionPerformed): Check target for null.
6870 (SelectionEndLineAction.actionPerformed): Check target for null.
6871 (SelectLineAction.actionPerformed): Check target for null.
6872 (SelectWordAction.actionPerformed): Check target for null.
6874 2006-08-29 Roman Kennke <kennke@aicas.com>
6876 * javax/swing/plaf/basic/BasicTextUI.java
6877 (FocusHandler): New class. This is moved from the anonymous
6878 inner focus listener class to a static member class, and
6879 is now shared between components.
6880 (DocumentHandler): This class is combined with the PropertyHandler
6881 into the Handler class.
6882 (PropertyChangeHandler): This class is combined with the
6883 DocumentHandler into the Handler class.
6884 (Handler): New class. This combines the Property and Document
6885 handler into one class.
6886 (RootView.changedUpdate): Only forward if real view != null.
6887 (RootView.insertUpdate): Only forward if real view != null.
6888 (RootView.removeUpdate): Only forward if real view != null.
6889 (documentHandler): Removed field and replaced by handler.
6890 (focuslistener): Made field static and renamed to focusListener.
6891 (handler): New field.
6892 (kit): Lazily initialize field.
6893 (rootView): Lazily initialize field.
6894 (updateHandler): Removed and replaced by handler.
6895 (getEditorKit): Lazily instantiate field.
6896 (installDefaults): Don't set margin twice. Install correct
6897 property for disabledTextColor. Moved caret and highlighter
6898 initialization to installFixedDefaults.
6899 (installFixedDefaults): New method. Installs defaults that
6900 can't be overridden by subclasses.
6901 (installListeners): Only install focus handler when new
6902 system property gnu.swing.text.no-xlike-clipboard is not set.
6903 Lazily initialize focus handler.
6904 (installUI): Lazily initialize rootView. Install handler
6905 both for property and document changes.
6906 (uninstallDefaults): Uninstall the UI defaults.
6907 (uninstallFixedDefaults): New method. Uninstalls the fixed
6909 (installListeners): Only uninstall focus handler when not null.
6910 (uninstallUI): Uninstall property and document listener here.
6912 2006-08-29 Gary Benson <gbenson@redhat.com>
6914 * java/net/SocketPermission.java
6915 (maybeBracketIPv6Address): New method.
6916 (<init>): Pass the hostport argument through the above.
6918 * java/net/NetworkInterface.java (getInetAddresses):
6919 Don't bracket IPv6 addresses.
6921 2006-08-28 Roman Kennke <kennke@aicas.com>
6923 * javax/swing/text/BoxView.java
6924 (calculateMinorAxisRequirements): Initialize max size
6925 with Integer.MAX_VALUE.
6926 * javax/swing/text/Utilities.java
6927 (getBreakLocation): For simple chars, scan the text directly.
6928 * javax/swing/text/WrappedPlainView.java
6929 (tabBase): New field.
6930 (tabSize): New field.
6931 (calculateBreakPosition): Use Utilities. Fixed for correct
6933 (changedUpdate): Update children directly.
6934 (insertUpdate): Update children directly. Notify children.
6935 (removeUpdate): Update children directly. Notify children.
6936 (updateChildren): New helper method.
6937 (nextTabStop): Fixed to return correct results.
6938 (paint): Update tabBase.
6939 (updateMetrics): Update tab size.
6941 2006-08-28 Roman Kennke <kennke@aicas.com>
6943 * javax/swing/text/Position.java
6944 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6945 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6947 2006-08-28 Roman Kennke <kennke@aicas.com>
6949 * javax/swing/text/View.java
6950 (height): Removed unneeded field.
6951 (width): Removed unneeded field.
6952 (getBreakWeight): Return GoodBreakWeight when pos is after
6954 (getToolTipText): Check view index more carefully. Avoid
6956 (insertUpdate): Only execute method body if view count > 0.
6957 When updateChildren returns false, clear the ec variable.
6958 (updateChildren): Added null checks.
6959 (viewToModel): Initialize bias array correctly.
6960 * javax/swing/text/CompositeView.java
6961 (children): Made private.
6962 (numChildren): New field.
6963 (loadChildren): Check factory for null. Don't load children
6964 when factory is null.
6965 (replace): Removed null check. Nullify removed children. Made
6966 growing the array more efficient.
6967 (getViewCount): Return numChildren rather then the real array
6969 * javax/swing/text/BoxView.java
6970 (getViewAtPoint): Fixed algorithm for finding the view.
6971 (replace): Made array growing more efficient.
6972 (replaceLayoutArray): New helper method for growing/patching
6974 (viewToModel): Make sure we have a valid layout.
6976 2006-08-28 Tania Bento <tbento@redhat.com>
6978 * java/awt/MenuShortcut.java
6979 (MenuShortcut (int, boolean)): Set keyName.
6980 (toString): Modified string output.
6981 (setKeyName): New private method.
6983 2006-08-28 Roman Kennke <kennke@aicas.com>
6985 * javax/swing/text/GapContent.java
6986 (Mark.getOffset): Made assert less strict, include boundary.
6987 (search): Made package private to avoid accessor method.
6989 2006-08-28 Roman Kennke <kennke@aicas.com>
6991 * javax/swing/text/StringContent.java
6992 (InsertUndo.positions): New field.
6993 (InsertUndo.redo): Update the undo positions.
6994 (InsertUndo.undo): Fetch the undo positions.
6995 (Mark): New class. Layer of indirection to allow Positions
6996 to be GC'ed while we still hold references to the Mark.
6997 (RemoveUndo.len): New field.
6998 (RemoveUndo.positions): New field.
6999 (RemoveUndo.RemoveUndo): Fetch undo positions.
7000 (RemoveUndo.redo): Re-fetch positions and string.
7001 (RemoveUndo.undo): Update undo positions.
7002 (StickyPosition.mark): New field.
7003 (StickyPosition.offset): Removed field.
7004 (StickyPosition.StickyPosition): Create new Mark. Register
7005 Position in queueOfDeath. Update reference count on mark.
7006 (StickyPosition.getOffset): Return offset stored in mark.
7007 (StickyPosition.setOffset): Removed unneeded method.
7008 (UndoPosRef): New class. Handles undo/redo on positions/marks.
7010 (marks): New field. Stores the marks.
7011 (positions): Removed field.
7012 (queueOfDeath): New field. Used for GCing the positions.
7013 (StringContent): Initialize queueOfDeath.
7014 (createPosition): Lazily create marks vector.
7015 (garbageCollect): New helper method. Collects positions
7016 to be GCed and updates their marks.
7017 (getChars): Fixed bounds check.
7018 (getPositionsInRange): When v == null, create new Vector,
7019 otherwise use v. Store UndoPosRefs in vector.
7020 (getString): Added comment about bug in RI.
7021 (insertString): Use new helper method for replacing the array.
7022 Correctly update positions.
7023 (length): Removed this qualifier.
7024 (remove): Use new helper method for replacing the array.
7025 Correctly update positions.
7026 (replace): New helper method for growing or patching the array.
7027 (updateUndoPositions): Implemented. Updates the positions
7028 for undo/redo operations.
7030 2006-08-27 Roman Kennke <kennke@aicas.com>
7032 * javax/swing/text/StyleContext.java
7033 (NamedStyle.attributes): Made field transient.
7034 (NamedStyle.changeEvent): Made field transient.
7035 (NamedStyle.name): Removed field. The name is stored as
7037 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7038 storing the name and check for null name and resolveParent.
7039 Don't initialize changeEvent.
7040 (NamedStyle.copyAttributes): Return a new NamedStyle,
7041 rather than a plain copy of the attributes field.
7042 (NamedStyle.fireStateChange): Lazily create changeEvent
7044 (NamedStyle.getName): Fetch name from attributes.
7045 (NamedStyle.setName): Store name from attributes.
7046 (NamedStyle.readObject): Implemented for correct
7048 (NamedStyle.writeObject): Implemented for correct
7050 (NamedStyle.setResolveParent): When new parent is null,
7051 remove resolveParent attribute. Use addAttribute() method
7052 rather than StyleContext addAttribute().
7053 (NamedStyle.toString): Fixed to produce output equal to the
7055 (SmallAttributeSet.resolveParent): New field.
7056 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7057 the resolveParent field correctly.
7058 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7059 array but store it directly. Update
7060 the resolveParent field correctly.
7061 (SmallAttributeSet.clone): Return this as the object is
7063 (SmallAttributeSet.containsAttributes): Make sure that keys
7064 and values are the same.
7065 (SmallAttributeSet.containsAttribute): Make sure that keys
7066 and values are the same.
7067 (SmallAttributeSet.copyAttributes): Return this as the object is
7069 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7070 are equal if they have the same number of attributes and
7071 one contains the other.
7072 (SmallAttributeSet.getAttribute): Improved lookup of
7074 (SmallAttributeSet.getResolveParent): Improved lookup of
7076 (SmallAttributeSet.isEqual): When comparing object is a
7077 SmallAttributeSet, consider them equal only if they are the
7079 (SmallAttributeSet.toString): Fixed to produce output equal to the
7081 (attributeSetPool): New field.
7082 (defaultStyleContext): Initialize lazily.
7083 (defaultStyle): Removed field. This is stored in the style context
7085 (listenerList): Removed field. The NamedStyle stores the
7087 (readAttributeKeys): New static field. Used for looking up
7088 the serialization mappings when reading.
7089 (search): New field. Used as search key.
7090 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7091 (styles): New field. Stores the styles and listeners.
7092 (styleTable): Removed field. Replaced by styles field.
7093 (writeAttributeKeys): New static field. Used for looking up
7094 the serialization mappings when writing.
7095 (static_initializer): Register mappings for all keys in
7097 (StyleContext): Initialize styles correctly.
7098 (addAttributes): Fixed caching of immutable attributes.
7099 (addAttribute): Fixed caching of immutable attributes.
7100 (removeAttributes): Fixed caching of immutable attributes.
7101 (removeAttribute): Fixed caching of immutable attributes.
7102 (addChangeListener): Add listener to styles field.
7103 (removeChangeListener): Remove listener from styles field.
7104 (getChangeListeners): Fetch listeners from styles field.
7105 (addStyle): Add style to styles field.
7106 (cleanupPool): New method.
7107 (getDefaultStyleContext): Lazily create context.
7108 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7109 (getMutableAttributeSet): New helper method. Used for
7111 (getStaticAttribute): Fetch key from readAttributeKeys.
7112 (getStyleNames): Return names from styles field.
7113 (getStyle): Lookup style in styles field.
7114 (removeStyle): Remove style from styles field.
7115 (readAttributeSet): Fixed deserialization.
7116 (writeAttributeSet): Fixed serialization.
7117 (readObject): Fixed deserialization.
7118 (writeObject): Fixed serialization.
7119 (reclaim): Simply cleanup the pool.
7120 (registerStaticAttributeKey): Store mapping in both ways.
7121 (searchImmutableSet): New helper method for caching.
7122 (toString): Fixed for output like the RI.
7123 * javax/swing/text/StyleConstants.java
7124 (keys): New field. Stores all known keys.
7125 (StyleConstants): Store created key in keys list.
7126 * javax/swing/event/EventListenerList.java
7127 (readObject): Fixed deserialization.
7128 (writeObject): Fixed serialization.
7130 2006-08-25 Roman Kennke <kennke@aicas.com>
7132 * javax/swing/text/CompositeView.java
7133 (insets): Removed. Replaced by single short fields.
7134 (top): New field. Replaces insets.
7135 (bottom): New field. Replaces insets.
7136 (left): New field. Replaces insets.
7137 (right): New field. Replaces insets.
7138 (CompositeView): Initialize insets fields.
7139 (createDefaultLocation): Removed unneeded method.
7140 (getBottomInset): Return field directly.
7141 (getTopInset): Return field directly.
7142 (getLeftInset): Return field directly.
7143 (getRightInset): Return field directly.
7144 (getInsideAllocation): Adjusted to work on new insets fields.
7145 (getViewIndex): Fixed check.
7146 (loadChildren): Don't replace the old children.
7147 (replace): Make sure that there is an array to operate on.
7148 Only set parent to null, when it is this View.
7149 (setInsets): Adjusted to work with new insets fields.
7150 (setParagraphInsets): Fixed to pull insets directly from
7153 2006-08-25 Roman Kennke <kennke@aicas.com>
7155 * javax/swing/text/ComponentView.java
7156 (Interceptor): New inner helper class. Used to propagate
7157 invalidate requests and cache component layout sizes.
7158 (interceptor): New field.
7159 (getAlignment): Fetch alignment from interceptor container.
7160 (getComponent): Don't create component here. This is done
7162 (getMaximumSpan): Fetch layout info from interceptor. Check
7164 (getMinimumSpan): Fetch layout info from interceptor. Check
7166 (getPreferredSpan): Fetch layout info from interceptor. Check
7168 (modelToView): Fixed model to view mapping.
7169 (viewToModel): Fixed view to model mapping.
7170 (paint): Check for null. Set bounds on interceptor rather
7172 (setParentImpl): Install interceptor between component
7173 and hosting container.
7174 (setParent): Call super.setParent() immediately.
7176 2006-08-25 Roman Kennke <kennke@aicas.com>
7178 * javax/swing/text/LabelView.java
7179 (setPropertiesFromAttributes): Only set background when
7180 the corresponding attribute is actually defined, otherwise
7181 set to null, as the StyleConstants would return black.
7182 * javax/swing/text/DefaultStyledDocument.java
7183 (ElementBuffer.documentEvent): Removed obsolete field.
7184 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7185 to correctly update the element structure.
7186 (ElementBuffer.insertContentTag): Removed unused statement.
7187 (ElementBuffer.recreateAfterFracture): Removed
7188 unused obsolete method.
7189 (setCharacterAttributes): Removed unused statement.
7191 2006-08-25 Roman Kennke <kennke@aicas.com>
7193 * examples/gnu/classpath/examples/swing/Demo.java
7194 (LaterMain.run): Removed unused local variable.
7195 (Demo): Don't put desktop in scrollpane.
7196 (addChildren): Removed unused method.
7197 (mkButtonBar): Added HTML demo.
7198 (mkMenuBar): Added HTML demo.
7199 (mkPanel): Removed unused method.
7200 (mkScrollPane): Removed unused method.
7201 (mkTree): Removed unused method.
7202 (valign2str): Removed unused method.
7203 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7204 Initialize text field with some HTML that already works.
7205 (DEBUG): New field. Set to true for debugging output.
7206 (createContent): Dump element tree after parsing.
7208 2006-08-25 Roman Kennke <kennke@aicas.com>
7210 * javax/swing/text/html/CSS.java
7211 (getValue): Added color value conversion.
7212 * javax/swing/text/html/HTMLDocument.java
7213 (HTMLReader.ConvertAction): New class, converts HTML style tags
7215 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7216 * javax/swing/text/html/InlineView.java
7217 (setPropertiesFromAttributes): Implemented to fetch
7218 CSS character attributes.
7219 * javax/swing/text/html/StyleSheet.java
7220 (addCSSAttribute): Convert value.
7221 (getBackground): Implemented to fetch CSS background color
7223 (getForeground): Implemented to fetch CSS color
7225 (getFont): Adjust font size for superscript and subscript.
7226 (translateHTMLToCSS): Rudimentary implementation that
7227 copies the original attributes, so that any CSS attributes in
7228 there are preserved.
7229 (stringToColor): Use CSSColor for conversion.
7230 * gnu/javax/swing/text/html/css/CSSColor.java:
7231 New class. Converts CSS color values to RGB color values.
7232 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7233 Removed. This is more or less replaced by CSSColor and the
7234 ConvertAction in HTMLReader.
7236 2006-08-25 Roman Kennke <kennke@aicas.com>
7238 * javax/swing/text/BoxView.java
7239 (childReqs): Removed obsolete field.
7240 (baselineLayout): Reimplemented for correct baseline layout.
7241 (baselineRequirements): Reimplemented for correct baseline
7243 (updateChildRequirements): Removed obsolete method.
7244 * javax/swing/text/GlyphView.java
7245 (DefaultGlyphPainter.getSpan): Removed unused statement.
7246 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7247 specially. The subscript/superscript layout is performed
7248 via the alignment, the font is supplied by the StyleContext.
7249 (breakView): Removed unused statements.
7250 (getAlignment): Adjust alignment according to the
7251 superscript/subscript setting.
7252 (getFont): Reimplemented to fetch the font from the style
7253 context, or from the document if the stylecontext is not
7255 (getPreferredSpan): Adjust span for superscript. Use switch
7257 * javax/swing/text/LabelView.java
7258 (setPropertiesFromAttributes): Fetch background and foreground
7259 from document / style context.
7260 (isSubscript): Resync properties if needed.
7261 * javax/swing/text/ParagraphView.java
7262 (Row.calculateMinorAxisRequirements): Overridden to perform
7264 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7266 2006-08-24 Roman Kennke <kennke@aicas.com>
7268 * javax/swing/text/Utilities.java
7269 (BUF_LENGTH): Removed unused field.
7270 (drawTabbedText): Removed unneeded cast.
7271 (getBreakLocation): Removed unneeded cast.
7272 Fixed offset to account for Segments not starting at 0.
7274 2006-08-24 Roman Kennke <kennke@aicas.com>
7276 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7277 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7278 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7279 (ScrollingPane.updateUI): Likewise.
7280 (calculateTabWidth): Rewritten to correctly and efficiently
7281 layout the tab width.
7282 (layoutLabel): Call SwingUtilities method with the tabPane
7284 (paintContentBorderLeftEdge): Removed unused statement.
7285 (paintContentBorderRightEdge): Removed unused statement.
7286 (paintContentBorder): Removed unused statement.
7288 2006-08-24 Roman Kennke <kennke@aicas.com>
7290 * javax/swing/plaf/basic/BasicTextUI.java
7291 (RootView.getAttributes): Overridden to return null,
7292 as the RootView has no parent.
7294 2006-08-24 Roman Kennke <kennke@aicas.com>
7296 * javax/swing/text/html/CSSParser.java: Removed.
7297 * javax/swing/text/html/CSS.java
7298 (getValue): New helper method. Returns special converter
7299 instances for certain kinds of property values.
7300 * javax/swing/text/html/HTMLDocument.java
7301 (HTMLReader.CharacterAction.start): Don't translate tags
7302 here. Instead, store the attributes directly with the tag
7304 (content): Removed field. The Content object is handled
7305 by AbstractDocument.
7306 (styleSheet): Removed field. The styleSheet is the styleContext
7307 of this document and handled by the DefaultStyledDocument already.
7308 (HTMLDocument(Content,StyleSheet): Simply call super here.
7309 The super classes already handle the content and styleContext.
7310 (HTMLDocument()): Call this() with a default GapContent and
7312 (getStyleSheet): Return the styleContext here.
7313 (insertUpdate): New method. Overridden to add the
7314 CONTENT dummy tag to the element's attributes.
7315 (setBase): Set the base on the styleContext.
7316 * javax/swing/text/html/HTMLEditorKit.java
7317 (styleContext): Removed unneeded field.
7318 (styleSheet): Made field private.
7319 (HTMLEditorKit): Do nothing here. The StyleSheet is
7320 created lazily in getStyleSheet(). A styleContext is not
7322 (getStyleSheet): Create StyleSheet correctly.
7323 (insertHTML): Removed unneeded cast.
7324 * javax/swing/text/html/InlineView.java
7325 (attributes): New field.
7326 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7327 (getAttributes): Implemented to fetch the attributes from
7329 * javax/swing/text/html/MultiAttributeSet.java: New class.
7330 Multiplexes between several AttributeSets.
7331 * javax/swing/text/html/MultiStyle.java: New class.
7332 Multiplexes between several Styles.
7333 * javax/swing/text/html/ParagraphView.java
7334 (attributes): New field.
7335 (getAttributes): Implemented to fetch the attributes from
7337 * javax/swing/text/html/StyleSheet.java
7338 (CssParser): Removed inner class.
7339 (CSSStyle): New inner class. Represents a style defined
7341 (CSSStyleSheetParserCallback): New class, for parsing
7343 (css): New field. Stores the CSS rules.
7344 (resolvedStyles): New field. Stores resolved styles.
7345 (StyleSheet): Initialize resolvedStyles map.
7346 (addRule): Removed bogus impl.
7347 (getFont): Implemented to fetch font, based on CSS rules.
7348 (getResolvedStyle): New helper method. Looks up resolved
7349 styles, and resolves a style if necessary.
7350 (resolveStyle): New pair of helper methods. Resolves
7352 (getRule(String)): Provide rudimentary implementation.
7353 (getRule(Tag,Element)): Implemented.
7354 (getViewAttributes): Implemented.
7355 (loadRules): Implemented.
7356 (translateHTMLToCSS): Tagged as not implemented.
7357 * javax/swing/text/html/ViewAttributeSet.java: New class.
7359 2006-08-24 Roman Kennke <kennke@aicas.com>
7361 * javax/swing/text/FlowView.java:
7362 (LogicalView.getAttributes): New method. Overrides super
7363 impl to return the attributes of the FlowView instance.
7364 * javax/swing/text/LabelView.java:
7365 (setPropertiesFromAttributes): Fetch attributes from
7366 View, rather then from the Element. (In the HTML
7367 package the getAttributes() method is overridden to
7368 return different attributes). Fetch font from the StyledDocument.
7370 2006-08-24 Roman Kennke <kennke@aicas.com>
7372 * javax/swing/text/DefaultEditorKit.java:
7373 (DefaultKeyTypedAction.actionPerform): Also filter
7374 ALT and CTRL modifiers.
7376 2006-08-24 Roman Kennke <kennke@aicas.com>
7378 * gnu/javax/swing/text/html/css/FontSize.java,
7379 * gnu/javax/swing/text/html/css/FontStyle.java,
7380 * gnu/javax/swing/text/html/css/FontWeight.java:
7381 New classes. Used to convert CSS font attributes to AWT/Swing
7384 2006-08-24 Francis Kung <fkung@redhat.com>
7385 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7386 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7387 (srccs, dstcs, rasterValid): Variables removed.
7388 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7389 (copyRaster): Check for null rendering hints
7390 (createCompatibleColorModel): New private method.
7391 (createCompatibleDestImage): Re-implemented.
7392 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7393 (createCompatibleDestRaster(Raster)): Re-implemented.
7394 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7395 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7396 (getPoint2D): Clean up formatting.
7397 * java/awt/image/ComponentColorModel.java
7398 (constructor): use findBits method instead of passing null.
7399 (findBits): New method.
7401 2006-08-24 Gary Benson <gbenson@redhat.com>
7403 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7406 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7408 * java/lang/ref/Reference.java
7409 (queue, nextOnQueue): Made volatile.
7410 (enqueue): Made thread safe.
7411 * java/lang/ref/ReferenceQueue.java
7413 (poll): Removed synchronized.
7414 (enqueue): Changed to synchronize on lock object, to update Reference
7415 state and return success status.
7416 (dequeue, remove): Synchronize on lock object.
7418 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7420 * java/security/SecureClassLoader.java
7421 (protectionDomainCache): Changed to HashMap.
7422 (SecureClassLoader): Removed redundant security check.
7423 (defineClass(String,byte[],int,int,CodeSource): Moved
7424 protection domain lookup/construction to new method.
7425 (defineClass(String,ByteBuffer,CodeSource): New method.
7426 (getProtectionDomain): New method.
7428 2006-08-23 Roman Kennke <kennke@aicas.com>
7430 * javax/swing/JComponent.java
7431 (isRepainting): Made package private.
7432 (paintChild): New field.
7433 (findOpaqueParent): Removed method. This is now in
7435 (findOverlapFreeParent): Removed method. This is now
7436 in paintImmediately2().
7437 (findPaintRoot): Removed method. This is now
7438 in paintImmediately2().
7439 (isCompletelyObscured): Changed to take rectangle as single
7441 (isPaintingDoubleBuffered): Removed method. This is now
7442 in paintImmediately2().
7443 (isPartiallyObscured): New helper method.
7444 (onTop): New helper method for optimization.
7445 (paintChildren): Paint only to specific child when
7446 requested like this from paintImmediately2().
7447 (paintDoubleBuffered): Changed to take rectangle as single int
7449 (paintImmediately2): Changed to take rectangle as single int
7450 arguments. Optimized determination of paint root.
7451 (paintImmediately(Rectangle)): Change to delegate to
7452 paintImmediately(int,int,int,int).
7453 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7454 and start painting there.
7455 (paint): Call paintDoubleBuffered() with int arguments. Only
7456 paint component, when not completely occupied by opaque child.
7457 (processKeyBinding): Removed unnecessary cast.
7458 (isOccupiedByChild): New helper method.
7459 * javax/swing/RepaintManager.java
7460 (repaintUnderway): Removed obsolete field.
7461 (commitRequests): Removed obsolete field.
7462 (RepaintManager): Removed initialization of obsolete fields.
7463 (addDirtyRegion): Removed unused statement.
7464 (commitBuffer): Changed to take plain ints as argument.
7465 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7466 Compute offsets in place, rather than using SwingUtilities.
7467 (paintDirtyRegions): Removed unused field.
7468 * javax/swing/JMenuItem.java
7469 (onTop): Return true when not descendant of JInternalFrame.
7470 * javax/swing/JPopupMenu.java
7471 (onTop): Return true.
7472 * javax/swing/JToolTip.java
7473 (onTop): Return true.
7474 * javax/swing/JViewport.java
7475 (paintImmediately2): Change signature to match the
7476 corresponding JComponent method.
7478 2006-08-23 Tania Bento <tbento@redhat.com>
7480 * java/awt/Color.java
7481 (brighter): Modified algorithm to correctly determine the
7482 new brighter colour.
7484 2006-08-23 Roman Kennke <kennke@aicas.com>
7486 * java/awt/Container.java
7487 (maxSize): Removed field. This is already declared in Component.
7488 (validateTree): Check for ContainerPeer. Don't addNotify here.
7489 Only validate Component instances if they are invalid.
7491 2006-08-22 Roman Kennke <kennke@aicas.com>
7493 * javax/swing/JComponent.java
7494 (preferredSize): Removed field.
7495 (maximumSize): Removed field.
7496 (minimumSize): Removed field.
7497 (getMaximumSize): Adjusted to delegate to Component, rather
7498 then managing the size in JComponent.
7499 (getMinimumSize): Adjusted to delegate to Component, rather
7500 then managing the size in JComponent.
7501 (getPreferredSize): Adjusted to delegate to Component, rather
7502 then managing the size in JComponent.
7503 (isMaximumSizeSet): Removed.
7504 (isMinimumSizeSet): Removed.
7505 (isPreferredSizeSet): Removed.
7506 (setMaximumSize): Removed.
7507 (setMinimumSize): Removed
7508 (setPreferredSize): Removed.
7510 2006-08-22 Roman Kennke <kennke@aicas.com>
7512 * javax/swing/AbstractButton.java
7513 (ButtonChangeListener.stateChanged): Delegate to combined
7515 (EventHandler): New inner class. Handles all three types
7516 of events on the model.
7517 (eventHandler): New field. Stores the combined event
7519 (AbstractButton): Moved listener initialization to
7521 (createActionListener): Return combined handler.
7522 (createChangeListener): Return combined handler.
7523 (createItemListener): Return combined handler.
7524 (getEventHandler): New helper method for creating the combined
7526 (setModel): Initialize listeners here.
7527 * javax/swing/plaf/basic/BasicButtonListener.java
7528 (ButtonAction): New class. Implements the keyboard action
7530 (checkOpacity): Implemented.
7531 (createDefaultActionMap): New helper method.
7532 (installKeyboardActions): Rewritten to install InputMap
7533 and ActionMap according to 'new' keyboard input method.
7534 (mouseClicked): Commented as no-op.
7535 (mouseDragged): Commented as no-op.
7536 (mouseMoved): Commented as no-op.
7537 (propertyChange): Check for contentAreaFilled change and
7538 update opacity. Pull handling of HTLM in font and text handler.
7539 (stateChanged): Repaint button.
7540 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7541 * javax/swing/plaf/basic/BasicButtonUI.java
7542 (listener): Removed.
7543 (sharedListener): New static field. Stores the shared listener.
7544 (sharedUI): New static field. Stores the shared UI.
7545 (createButtonListener): Return shared instance here.
7546 (createUI): Return shared instance here.
7547 (getButtonListener): New helper method. Looks for the
7548 BasicButtonListener installed on a button and returns it.
7549 (installDefaults): Correctly install rollover property here.
7550 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7551 (installKeyboardActions): Fetch listener with new helper method.
7552 (installListeners): Don't use removed field. Check for null.
7553 (installUI): Added comment about order of method invocations.
7554 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7555 (uninstallKeyboardActions): Fetch listener with new helper method.
7556 (uninstallListeners): Fetch listener with new helper method.
7557 (paintIcon): Paint icon offset when pressed and armed.
7558 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7559 * javax/swing/plaf/metal/MetalButtonUI.java
7560 (sharedUI): New field. Stores the shared UI.
7561 (MetalButtonUI): Don't initialize fields here.
7562 (createButtonListener): Removed method. Use super impl.
7563 (createUI): Return shared instance.
7564 (getDisabledTextColor): Update field here.
7565 (getFocusColor): Update field here.
7566 (getSelectColor): Update field here.
7567 (installDefaults): Don't handle rollover property here.
7568 (uninstallDefaults): Don't handle rollover property here.
7569 (paintButtonPressed): Use accessor method to update the
7572 2006-08-21 Mark Wielaard <mark@klomp.org>
7574 Merge NATIVE_LAYER branch.
7576 2006-08-20 Mark Wielaard <mark@klomp.org>
7578 * doc/tools.texinfo: Add file from trunk.
7579 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7580 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7582 * native/jni/java-lang/java_lang_VMProcess.c
7583 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7584 * native/jni/java-net/java_net_VMInetAddress.c
7585 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7586 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7588 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7590 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7592 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7594 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7596 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7598 * include/java_lang_VMProcess.h: Regenerated.
7600 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7602 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7603 (nativeReceive): Fixed the type of the arrays (use java types).
7604 (nativeSendTo): Force throwing an exception if port is 0.
7606 * native/jni/java-net/javanet.c:
7607 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7609 (_javanet_recvfrom): Likewise.
7610 (_javanet_sendto): Throw a NullPointerException if the socket is
7611 not connected and no address is given.
7613 * native/jni/java-net/javanet.h
7614 (NULL_EXCEPTION): Defined.
7616 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7618 * native/jni/java-net/java_net_VMInetAddress.c
7619 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7622 * native/jni/java-net/javanet.c
7623 (_javanet_accept): Fixed bogus call to TARGET.
7624 (_javanet_create_inetaddress): Fixed address generation. Fixed
7626 (_javanet_bind): set "Reuse address" flag.
7628 * native/jni/native-lib/cpio.c
7629 (cpio_getModificationTime): Fixed type.
7630 (cpio_removeFile): Use rmdir too.
7632 * native/jni/native-lib/cpnet.c
7633 (cpnet_getHostByName): Fixed error detection.
7635 * native/jni/native-lib/cpnet.h
7636 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7638 (cpnet_IPV4AddressToBytes): Fixed types.
7640 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7642 * native/jni/native-lib/cpio.c
7643 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7645 * native/jni/native-lib/cpnet.h:
7646 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7647 messed by signs in jbyte.
7649 * native/jni/native-lib/cpproc.h
7650 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7652 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7654 * native/jni/native-lib/cpnet.c
7655 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7656 (waitForWritable, waitForReadable): New functions.
7657 (socketTimeouts): New static global table to hold timeouts for all
7659 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7660 Added waitForXXXX safeguards to handle socket timeouts.
7662 * native/jni/java-net/javanet.c
7663 (_javanet_accept): Check for the right error value when a timeout
7666 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7668 * native/jni/java-io/Makefile.am,
7669 native/jni/java-lang/Makefile.am,
7670 native/jni/java-net/Makefile.am,
7671 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7673 * native/jni/native-lib/Makefile.am: Added cpproc.c
7675 * native/jni/native-lib/cpio.c: Implemented missing functions for
7678 * native/jni/native-lib/cpnet.c
7679 (cpnet_getHostByName): Fixed address array initialization.
7681 * native/jni/native-lib/cpproc.c: Implemented.
7683 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7685 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7687 * m4/gcc_attribute.m4: New file from ac_archive.
7689 * native/jni/java-net/javanet.c: Adapted to cpnet API
7692 * native/jni/native-lib/cpnet.c: Implemented.
7694 * native/jni/native-lib/cpnet.h
7695 (cpnet_openSocketDatagram,
7696 cpnet_openSocketStream): These calls need an address family now.
7697 (cpnet_IPV4AddressToBytes,
7698 cpnet_bytesToIPV4Address): Convert the address to network order.
7700 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7702 * native/jni/java-io/java_io_VMFile.c,
7703 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7704 native/jni/midi-dssi/dssi_data.h,
7705 native/jni/native-lib/cpio.c,
7706 native/jni/native-lib/cpmath.h: Removed cpmath
7707 dependency. Fixed coding style.
7709 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7711 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7712 dependency. Simplified the JNI code by moving some part into the
7715 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7717 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7719 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7720 errors. Removed any remaining TARGET invocations.
7722 * native/jni/java-net/javanet.c
7723 (_javanet_create_inetaddress): Removed spurious arr and
7724 octets. Fixed compilation errors.
7726 * native/jni/native-lib/cpnet.h
7727 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7728 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7729 cpnet_isIPV4Address): New functions.
7730 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7733 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7735 * native/jni/java-io/java_io_VMFile.c,
7736 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7737 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7738 native/jni/java-net/javanet.c,
7739 native/jni/java-net/javanet.h: Adapted the VM layer code
7740 to the new native layer.
7742 * native/jni/native-lib/cpnet.h
7743 (cpnet_addMembership,
7744 cpnet_dropMembership,
7745 cpnet_getAvailableBytes): Added the declarations of
7747 (cpnet_newIPV6Address,
7748 cpnet_IPV6AddressToBytes,
7749 cpnet_bytesToIPV6Address): Implemented.
7750 (cpnet_newIPV4Address): Initialize the sin_family field.
7752 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7754 * native/target: Removed.
7756 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7757 Makefile generation.
7759 * native/jni/native-lib/Makefile.am,
7760 native/jni/native-lib/cpnet.h,
7761 native/jni/native-lib/cpnet.c
7762 native/jni/native-lib/cpio.h,
7763 native/jni/native-lib/cpio.c,
7764 native/jni/native-lib/cpmath.h: Imported new native compatibility
7767 2006-08-21 Roman Kennke <kennke@aicas.com>
7769 * gnu/javax/swing/text/html/css/CSSParser.java:
7771 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7773 * gnu/javax/swing/text/html/css/CSSParserException.java:
7775 * gnu/javax/swing/text/html/css/CSSScanner.java:
7776 Adjusted API comments. Made all constants package private.
7777 (EOF): New constant field.
7778 (parseBuffer): Made package private.
7779 (tokenEnd): Made package private.
7780 (CSSScanner): Initialize lookahead buffer with -1.
7781 (main): Print out to System.out rather then System.err.
7782 (nextToken): Push back character after IDENT.
7784 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7786 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7788 2006-08-21 Roman Kennke <kennke@aicas.com>
7790 * gnu/javax/swing/text/html/css/CSSScanner.java
7791 (main): Use buffered input stream.
7792 (nextToken): Removed 65536 workaround. Use int value directly
7793 without cast to char.
7794 (readComment): Use int value directly without cast to char.
7795 Cast to char only when putting the character into the buffer.
7796 (readEscape): Likewise.
7797 (readIdent): Likewise.
7798 (readName): Likewise.
7799 (readNum): Likewise.
7800 (readString): Likewise.
7801 (readWhitespace): Likewise.
7803 2006-08-21 Ingo Proetel <proetel@aicas.com>
7805 * java/io/InputStreamReader.java
7806 (bytesCache): New field.
7807 (cacheLock): New field.
7808 (read(byte[],int,int): Avoid allocations of new byte
7809 array on every call and reuse cached byte array if possible.
7811 2006-08-21 Roman Kennke <kennke@aicas.com>
7813 * gnu/java/net/local/LocalSocketImpl.java
7814 Only load native lib if this is supported by runtime.
7815 * native/jni/java-net/local.c
7816 Include config.h unconditionally.
7817 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7818 Include config.h unconditionally.
7820 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7822 * java/io/ObjectInputStream.java
7823 (objectLookupTable): Changed to be a Vector.
7824 (ObjectInputStream): Initialize objectLookupTable as Vector.
7825 (assignNewHandle): Store Object using handle index rather than
7826 Hashtable, using the new rememberHandle() method.
7827 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7828 with a caching in ObjectStreamClass.
7829 (inputGetObjectStreamClass): Replaced by hierarchy().
7830 (lookupHandle): New method. Looks up an object by it's handle
7832 (parseContent): Avoid creating of Integer objects. Use
7833 hierarchy() method for looking up the class hierarchy.
7834 (processResolution): Use rememberHandle() to store
7835 handle per index, rather than Hashtabling the object.
7837 (rememberHandle): New method.
7838 * java/io/ObjectOutputStream.java
7839 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7840 Hashtable for improved lookup performance.
7841 (ObjectOutputStream): Initialize OIDLookupTable as
7842 ObjectIdentityMap2Int.
7843 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7844 (findHandle): Change to use ObjectIdentityMap2Int.
7845 (getBooleanField): Removed.
7846 (getByteField): Removed.
7847 (getCharField): Removed.
7848 (getDoubleField): Removed.
7849 (getField): Removed.
7850 (getFloatField): Removed.
7851 (getIntField): Removed.
7852 (getLongField): Removed.
7853 (getObjectField): Removed.
7854 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7855 (writeFields(Object,ObjectStreamField)): New helper method.
7856 Use switch rather then if-else cascade.
7857 (writeObject): Use int handle, rather then Integer.
7858 * java/io/ObjectStreamClass.java
7859 (hierarchy): New field. Caches the class hierarchy.
7860 (methodCache): New field. Caches methods.
7861 (readObjectSignature): New field. Stores the read signature.
7862 (uidCache): New field. Caches UIDs.
7863 (writeObjectSignature): New field. Stores the write signature.
7864 (cacheMethods): Cache methods in methodCache.
7865 (calculateClassID): Outsourced from getClassUID()
7866 for computing the UIDs.
7867 (getClassUIDFromField): Outsourced from getClassUID() for
7868 fetching the UID from the class field.
7869 (getClassUID): Use cached uid if possible. Use new helper
7870 methods for fetching the UID from the field or computing
7872 (getObjectStreamClasses): Removed. Replaced by more
7873 efficient hierarchy() method, that also caches the result.
7874 (hierarchy): Replaces getObjectStreamClasses() for caching
7876 (loadedByBootOrApplicationClassLoader): New helper method.
7877 (setClass): Invalidate hierarchy cache.
7878 (setSuperclass): Invalidate hierarchy cache.
7879 * java/io/ObjectStreamField.java
7880 (field): Made field package private for access from other
7882 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7883 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7884 hashtable for mapping objects to ints.
7886 2006-08-21 Roman Kennke <kennke@aicas.com>
7889 (getAbsolutePath): Fetch absolute path from
7890 VMFile.getAbsolutePath(). Moved actual impl to there.
7891 (isAbsolute): Let VMFile determine the absoluteness.
7892 (toURL): Let VMFile convert the filename.
7893 * vm/reference/java/io/VMFile.java
7894 (getAbsolutePath): New method.
7895 (isAbsolute): New method.
7896 (toURL): New method.
7898 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7900 * NEWS: Added note about updated VM interface.
7902 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7904 * java/lang/management/ManagementFactory.java:
7905 Updated documentation.
7907 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7910 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7912 * gnu/java/util/regex/CharIndexedCharSequence.java,
7913 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7915 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7916 (match): call the new method setHitEnd of the input,
7917 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7918 Some optimization commented out, Use CharIndexed#move1 instead of move.
7919 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7920 * gnu/java/util/regex/REToken.java(match): The method body has been
7921 moved to an internal private method, (matchFake): New method,
7922 (setHitEnd): New method.
7923 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7924 if the match is not complete, (matchOneString): Count the number of
7925 characters which matched the pattern.
7926 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7927 (setFake): New method, (match): Call super.match or super.matchFake.
7928 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7929 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7930 setHitEnd of the input,
7931 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7932 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7933 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7935 2006-08-18 Tom Tromey <tromey@redhat.com>
7937 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7938 the 'int', not the cast char.
7940 2006-08-18 Roger Sayle <roger@eyesopen.com>
7942 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7943 which isn't available in all shells.
7945 2006-08-18 Roger Sayle <roger@eyesopen.com>
7947 * lib/Makefile.am (resources): Fix some shell portability issues.
7949 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7951 * configure.ac (tool-wrappers): Check for ltdl support when tool
7952 wrapper binaries are enabled.
7953 * tools/Makefile.am (LIBJVM): Remove variable.
7954 (AM_CPPFLAGS): Add LIBJVM define.
7955 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7956 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7957 gjavah_LDFLAGS): Remove variables.
7958 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7960 2006-08-18 Tom Tromey <tromey@redhat.com>
7962 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7964 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7966 (readEntries): Likewise.
7968 2006-08-17 Roman Kennke <kennke@aicas.com>
7970 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7971 (layoutLabel): Reset the text and icon rectangles.
7973 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7976 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7977 Transform gappletviewer name using program_transform_name.
7979 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7981 * javax/swing/filechooser/FileSystemView.java
7982 (getFileSystemView): Always return UnixFileSystemView, since
7983 that's the only one we got. Marked with NotImplementedException.
7984 * javax/swing/plaf/basic/BasicFileChooserUI.java
7985 (mouseClicked, installUI): Don't parse path by hand.
7987 2006-08-17 Roman Kennke <kennke@aicas.com>
7989 * javax/swing/JComponent.java
7990 (scrollRectToVisible): Handle intermediate non-JComponents
7993 2006-08-17 Roman Kennke <kennke@aicas.com>
7995 * javax/swing/RepaintManager.java
7996 (blitBuffer): Removed. This is now done in commitBuffer().
7997 (commitBuffer): Always paint on the root window or applet.
7998 No need to look for intermediate heavyweights. Optimized
7999 rectangle translation.
8000 (commitRemainingBuffers): Removed. Not needed anymore.
8001 (getHeavyweightParent): Removed. Not needed anymore.
8002 (getOffscreenBuffer): Fetch offscreen image from the
8003 actual root component.
8004 (paintDirtyRegions): Don't call commitRemainingBuffers().
8006 2006-08-17 Roman Kennke <kennke@aicas.com>
8008 * javax/swing/SwingUtilities.java
8009 (clipString): New helper method for trimming strings.
8010 (layoutCompoundLabelImpl): Fixed algorithm to conform
8011 testsuites. Trim text if it's too long. Avoid creating
8012 new Rectangles. Optimized for performance.
8013 (layoutCompoundLabel): Use switch rather then if-else-chain.
8014 * javax/swing/plaf/basic/BasicButtonUI.java
8018 (paint): Reset and use cached rectangles. Only call paintIcon()
8019 if icon is not null. Don't call paintButtonPressed() when
8020 button is selected, only when it is both armed and pressed.
8021 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8022 (getPreferredButtonSize): Reused cached rectangles rather
8023 then creating new ones. Don't create new Rectangle via
8025 * javax/swing/plaf/basic/BasicLabelUI.java
8026 (getPreferredSize): Correctly reset cached rectangles. Especially
8027 the view rect must have a big size to give it room for layouting.
8028 Short cut layout when text == null.
8029 (paint): Correctly reset cached rectangles.
8030 * javax/swing/plaf/basic/BasicMenuItemUI.java
8031 (resetRectangles): New helper method.
8032 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8033 (paintMenuItem): Correctly reset the cached rectangles.
8034 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8035 (getPreferredSize): Use cached Rectangle objects and initialize
8037 (paint): Use cached Rectangle objects and initialize
8040 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8042 * java/util/Calendar.java: API doc additions.
8044 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8046 * javax/swing/DefaultButtonModel.java:
8047 (setRollover): Simplified statement.
8049 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8051 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8052 (loadClass): Rewritten to use getClassLoader.
8053 (loadProxyClass): Implemented.
8054 (getClassLoader): Fixed support for null or empty codebase.
8055 * gnu/java/rmi/server/RMIObjectInputStream.java
8056 (resolveClass): Use user class loader as default class loader.
8057 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8058 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8059 (loadClass): Simplified and use user class loader instead of
8060 context class loader as default.
8061 * java/io/ObjectInputStream.java
8062 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8063 * vm/reference/gnu/classpath/VMStackWalker.java
8064 (firstNonNullClassLoader): New method.
8065 * vm/reference/java/io/VMObjectInputStream.java
8066 (loaderAction, currentClassLoader): Removed.
8068 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8070 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8071 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8072 by current scroll offset, added method documention.
8073 (getTabBounds(int, Rectangle)): Added method documentation.
8074 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8075 (paintContentBorderLeftEdge): Changed y to 1.
8077 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8079 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8080 (MouseHandler.mouseReleased): Implemented.
8081 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8082 (MouseHandler.mouseEntered): Dito.
8083 (MouseHandler.mouseExited): Dito.
8084 (MouseHandler.mouseMoved): Dito.
8085 (MouseHandler.redispatchEvent): New method.
8086 (PropertyChangeHandler.propertyChange): Added extra block level,
8087 added code to handle tab placement changes, added comment.
8088 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8090 2006-08-16 Roman Kennke <kennke@aicas.com>
8092 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8093 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8096 2006-08-16 Mark Wielaard <mark@klomp.org>
8098 * java/awt/Component.java (orientation): Renamed to
8099 componentOrientation.
8100 (setComponentOrientation): Use new field name.
8101 (getComponentOrientation): Likewise.
8103 2006-08-16 Roman Kennke <kennke@aicas.com>
8106 * javax/swing/plaf/basic/BasicTreeUI.java
8107 (CellEditorHandler.editingCancelled): Call completeEditing
8109 (CellEditorHandler.editingStopped): Call completeEditing
8111 (NodeDimensionHandler.getNodeDimensions): Rewritten
8112 to use the preferred sizes of the renderer and editor.
8113 (TreeExpansionHandler.treeCollapsed): Complete editing
8115 (TreeSelectionHandler.valueChanged): Complete editing
8117 (cancelEditing): Call completeEditing with false, false and
8118 false. Don't call finish (removed method).
8119 (completeEditing(boolean,boolean,boolean): Only do something when
8120 stopEditingInCompleteEditing is true. Nullify editingComponent
8121 and editingPath. Remove editingComponent from tree. Update
8122 the layout when necessary and repaint.
8123 (completeEditing): Stop editing when necessary.
8124 (editorRequestFocus): New helper method. Request focus
8125 on the actual editor.
8126 (finish) Removed. This is now done in completeEditing().
8127 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8128 (setLargeModel): Complete editing here.
8129 (setRootVisible): Complete editing here.
8130 (setRowHeight): Complete editing here.
8131 (setSelectionModel): Complete editing here.
8132 (startEditing): Correctly initialize and start editing.
8133 (updateExpandedDescendants): Complete editing here.
8134 * javax/swing/tree/DefaultTreeCellEditor.java
8135 (DefaultTextField): Fetch size from super and use renderer's height
8137 (EditorContainer.EditorContainer): Set layout to null, just
8139 (EditorContainer.doLayout): Layout so that the editor
8140 is offset to the right of the icon.
8141 (EditorContainer.getPreferredSize): Implemented to
8142 provide a reasonable preferred size.
8143 (EditorContainer.paint): Position icon in the middle.
8144 Also paint border if appropriate.
8145 (EditorContainer.setBounds): Removed.
8146 (RealEditorListener): Removed.
8147 (DefaultTreeCellEditor): Set correct border.
8148 (cancelCellEditing): Message real editor. Call finish().
8149 (createCellEditor): Don't add listener.
8150 (determineOffset): Correctly determine offset, and update
8152 (finish): New helper method.
8153 (getTreeCellEditorComponent): Set correct font. Call
8154 prepareForEditing() and determineOffset() to correctly initialize
8156 (stopCellEditing): Messsage realEditor to stop editing. Call
8158 (stopEditingTimer): Removed.
8159 (valueChanged): Correctly reset lastPath.
8160 * javax/swing/tree/DefaultTreeCellRenderer.java
8161 (getPreferredSize): Return super plus some extra space for
8164 2006-08-16 Roman Kennke <kennke@aicas.com>
8166 * javax/swing/plaf/metal/MetalTreeUI.java
8167 (LineStyleListener): New property listener, that updates
8168 the line style setting if the corresponding property
8170 (lineStyleListener): New field.
8171 (lineStyle): New field.
8172 (LINE_STYLE_ANGLED): New constant field.
8173 (LINE_STYLE_HORIZONTAL): New constant field.
8174 (LINE_STYLE_NONE): New constant field.
8175 (LINE_STYLE_VALUE_ANGLED): New constant field.
8176 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8177 (LINE_STYLE_VALUE_NONE): New constant field.
8178 (LINE_STYLE_PROPERTY): New constant field.
8179 (decodeLineStyle): Implemented.
8180 (installUI): Install line style listener. Set initial
8182 (uninstallUI): Uninstall line style listener.
8183 (paintHorizontalPartOfLeg): Only call super for angled
8185 (paintVerticalPartOfLeg): Only call super for angled
8187 (paintHorizontalSeparators): Implemented.
8188 (paint): If lineStyle==HORIZONTAL, call
8189 paintHorizontalSeparators().
8190 * examples/gnu/classpath/examples/swing/TreeDemo.java
8191 (createContent): Add panel for selecting line styles.
8193 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8195 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8196 (createContent): Rewritten.
8197 (createPlacementChangingMenuItem): New method.
8198 (createLayoutPolicyChangingMenuItem): New method.
8199 (createTabbedPane): New method.
8200 (createTabContent): New method.
8202 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8204 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8205 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8206 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8208 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8210 * javax/swing/text/WrappedPlainView.java:
8211 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8212 (calculateBreakPosition): Add p0 to return value.
8214 2006-08-15 Roman Kennke <kennke@aicas.com>
8216 * javax/swing/plaf/basic/BasicTreeUI.java
8217 (MouseHandler.selectedOnPress): New field.
8218 (MouseHandler.handleEvent): New helper method for handling
8219 selection and start/stop editing for mouse events.
8220 (MouseHandler.mouseDragged): Commented as no-op method.
8221 (MouseHandler.mouseMoved): Commented as no-op method.
8222 (MouseHandler.mousePressed): Use handleEvent() to handle
8223 selection and editing handling.
8224 (MouseHandler.mouseReleased): Use handleEvent() to handle
8225 selection and editing handling.
8226 (MouseInputHandler.MouseInputHandler): Register itself
8227 as mouse listener on source. Redispatch event to
8229 (MouseInputHandler.dispatch): New helper method.
8230 (MouseInputHandler.mouseClicked): Dispatch event.
8231 (MouseInputHandler.mouseDragged): Dispatch event.
8232 (MouseInputHandler.mouseEntered): Stop dispatching
8233 if dragging stopped.
8234 (MouseInputHandler.mouseExited): Stop dispatching
8235 if dragging stopped.
8236 (MouseInputHandler.mouseMoved): Stop dispatching.
8237 (MouseInputHandler.mousePressed): Marked as no-op.
8238 (MouseInputHandler.mouseReleased): Dispatch and stop
8239 dispatching afterwards.
8240 (MouseInputHandler.removeFromSource): Implemented.
8241 (PropertyChangeHandler.propertyChange): Also handle
8242 editable property changes by calling setEditable().
8243 (SelectionModelPropertyChangeHandler.propertyChange):
8244 Reset row selection.
8245 (startEditTimer): Removed.
8246 (setCellEditor): Call updateEditor().
8247 (setEditable): Call updateEditor().
8248 (startEditingAtPath): Make path fully visible before starting
8250 (startEditing): Maybe cancel previous edit session. Add
8251 editing component itself, not its parent container.
8252 Register MouseInputHandler for correctly redispatching
8254 (stopEditing): Message cellEditor and only completeEditing()
8255 when approved by cell editor.
8256 (updateCellEditor): Complete editing before updating
8257 the cell editor. Get cell editor from JTree if possible,
8258 otherwise create default editor. Update the listeners
8260 * javax/swing/tree/DefaultTreeCellEditor.java
8261 (CLICK_COUNT_TO_START): Removed.
8262 (DefaultTreeCellEditor): Install correct border. Let setTree()
8263 update the listeners. Don't initialize lastPath and font yet.
8264 (actionPerformed): Implemented to start editing.
8265 (createTreeCellEditor): Set click count to start to 1, rather than
8267 (isCellEditable): Prepare editor here. Determine if we can
8268 start immediately, or if we trigger a timer to do so.
8269 (prepareForEditing): Don't removeAll() (not necessary),
8270 check editingComponent to be non-null.
8271 (setTree): Update listeners.
8272 (shouldStartEditingTimer): Check for left mouse button.
8273 (startEditingTimer): Lazily create timer.
8275 2006-08-15 Lillian Angel <langel@redhat.com>
8277 * java/awt/dnd/DropTargetDragEvent.java
8278 (getTransferable): Implemented.
8280 2006-08-15 Roman Kennke <kennke@aicas.com>
8282 * java/util/Vector.java
8283 (removeAll): Added comment about NPE.
8284 (retainAll): Added comment about NPE.
8286 2006-08-15 Roman Kennke <kennke@aicas.com>
8288 * java/util/zip/ZipFile.java
8289 (UTF8DECODER): Removed.
8290 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8291 (utf8Decoder): New instance field.
8292 (decodeChars): Lazily create UTF8 decoder. Use instance
8293 field rather than a static field to avoid corruption.
8295 2006-08-15 Roman Kennke <kennke@aicas.com>
8297 * java/io/PrintStream.java
8298 (line_separator): Provide default for system property.
8299 * java/io/FileDescriptor.java
8300 (valid): Create local copy of channel field for better
8303 2006-08-15 Ingo Proetel <proetel@aicas.com>
8305 * java/util/zip/ZipFile.java
8306 (PartialInputStream.UTF8DECODER): New constant field, used
8307 for decoding UTF8 strings.
8308 (readLeShort): Access buffer directly if it has enough bytes
8310 (readLeInt): Access buffer directly if it has enough bytes
8312 (decodeChars): New helper method for decoding UTF8 strings.
8313 (readString): Avoid NIO charset decoder if possible.
8315 2006-08-15 Roman Kennke <kennke@aicas.com>
8317 * java/util/Vector.java
8318 (removeAll): Don't explicitly null-check here. The RI allows
8319 null arguments when Vector is empty. In other cases we
8320 implicitly throw an NPE.
8321 (retainAll): Don't explicitly null-check here. The RI allows
8322 null arguments when Vector is empty. In other cases we
8323 implicitly throw an NPE.
8325 2006-08-14 Casey Marshall <csm@gnu.org>
8327 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8328 of changes made on this branch.
8330 * gnu/classpath/debug/Component.java
8331 * gnu/classpath/debug/SystemLogger.java
8332 * gnu/java/security/action/GetPropertyAction.java
8333 * gnu/java/security/action/GetSecurityPropertyAction.java
8334 * gnu/javax/crypto/RSACipherImpl.java
8335 * gnu/javax/net/ssl/PrivateCredentials.java
8336 * gnu/javax/net/ssl/provider/Alert.java
8337 * gnu/javax/net/ssl/provider/AlertException.java
8338 * gnu/javax/net/ssl/provider/Certificate.java
8339 * gnu/javax/net/ssl/provider/CertificateRequest.java
8340 * gnu/javax/net/ssl/provider/CertificateType.java
8341 * gnu/javax/net/ssl/provider/CertificateVerify.java
8342 * gnu/javax/net/ssl/provider/CipherSuite.java
8343 * gnu/javax/net/ssl/provider/ClientHello.java
8344 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8345 * gnu/javax/net/ssl/provider/CompressionMethod.java
8346 * gnu/javax/net/ssl/provider/Constructed.java
8347 * gnu/javax/net/ssl/provider/ContentType.java
8348 * gnu/javax/net/ssl/provider/DiffieHellman.java
8349 * gnu/javax/net/ssl/provider/Extension.java
8350 * gnu/javax/net/ssl/provider/Finished.java
8351 * gnu/javax/net/ssl/provider/Handshake.java
8352 * gnu/javax/net/ssl/provider/Jessie.java
8353 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8354 * gnu/javax/net/ssl/provider/Random.java
8355 * gnu/javax/net/ssl/provider/ServerHello.java
8356 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8357 * gnu/javax/net/ssl/provider/Signature.java
8358 * gnu/javax/net/ssl/provider/Util.java
8359 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8360 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8361 * java/security/MessageDigest.java
8362 * java/security/MessageDigestSpi.java
8363 * java/security/Signature.java
8364 * java/security/SignatureSpi.java
8365 * javax/crypto/Mac.java
8366 * javax/crypto/MacSpi.java
8367 * javax/net/ssl/HandshakeCompletedEvent.java
8368 * javax/net/ssl/HttpsURLConnection.java
8369 * javax/net/ssl/SSLContext.java
8370 * javax/net/ssl/SSLContextSpi.java
8371 * javax/net/ssl/SSLSession.java
8373 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8374 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8375 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8376 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8377 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8378 * gnu/javax/net/ssl/provider/ServerDHParams.java
8379 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8380 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8381 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8382 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8383 * gnu/javax/net/ssl/provider/ServerNameList.java
8384 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8385 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8386 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8387 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8388 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8389 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8390 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8391 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8392 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8393 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8394 * gnu/javax/net/ssl/provider/Record.java
8395 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8396 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8397 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8398 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8399 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8400 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8401 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8402 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8403 * gnu/javax/net/ssl/provider/ExtensionList.java
8404 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8405 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8406 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8407 * gnu/javax/net/ssl/provider/ServerHandshake.java
8408 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8409 * gnu/javax/net/ssl/provider/SessionImpl.java
8410 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8411 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8412 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8413 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8414 * gnu/javax/net/ssl/provider/HelloRequest.java
8415 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8416 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8417 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8418 * gnu/javax/net/ssl/provider/ClientHandshake.java
8419 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8420 * gnu/javax/net/ssl/provider/CertificateURL.java
8421 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8422 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8423 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8424 * gnu/javax/net/ssl/provider/Builder.java
8425 * gnu/javax/net/ssl/provider/Debug.java
8426 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8427 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8428 * gnu/javax/net/ssl/provider/DelegatedTask.java
8429 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8430 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8431 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8432 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8433 * javax/net/ssl/SSLEngine.java
8434 * javax/net/ssl/CertPathTrustManagerParameters.java
8435 * javax/net/ssl/KeyStoreBuilderParameters.java
8436 * javax/net/ssl/X509ExtendedKeyManager.java
8437 * javax/net/ssl/SSLEngineResult.java
8438 * gnu/javax/net/ssl/PreSharedKeyManager.java
8439 * gnu/javax/net/ssl/Session.java
8440 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8441 * gnu/javax/net/ssl/SSLCipherSuite.java
8442 * gnu/javax/net/ssl/AbstractSessionContext.java
8443 * gnu/javax/net/ssl/SessionStoreException.java
8444 * gnu/javax/net/ssl/SSLRecordHandler.java
8445 * gnu/javax/net/ssl/SSLProtocolVersion.java
8446 * gnu/javax/crypto/key/GnuPBEKey.java
8447 * gnu/java/security/util/ByteBufferOutputStream.java
8448 * gnu/java/security/Requires.java
8449 * gnu/javax/security/auth/callback/CertificateCallback.java
8451 * gnu/javax/net/ssl/provider/Context.java
8452 * gnu/javax/net/ssl/provider/DigestInputStream.java
8453 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8454 * gnu/javax/net/ssl/provider/Enumerated.java
8455 * gnu/javax/net/ssl/provider/Extensions.java
8456 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8457 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8458 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8459 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8460 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8461 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8462 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8463 * gnu/javax/net/ssl/provider/KeyPool.java
8464 * gnu/javax/net/ssl/provider/OverflowException.java
8465 * gnu/javax/net/ssl/provider/RecordInput.java
8466 * gnu/javax/net/ssl/provider/RecordInputStream.java
8467 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8468 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8469 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8470 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8471 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8472 * gnu/javax/net/ssl/provider/SSLSocket.java
8473 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8474 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8475 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8476 * gnu/javax/net/ssl/provider/SecurityParameters.java
8477 * gnu/javax/net/ssl/provider/Session.java
8478 * gnu/javax/net/ssl/provider/SessionContext.java
8479 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8480 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8482 2006-08-14 Roman Kennke <kennke@aicas.com>
8484 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8485 (DividerLayout.layoutContainer): Removed debug output.
8486 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8487 (BasicHorizontalLayoutManager.axis): New field.
8488 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8490 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8491 Call new axis constructor.
8492 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8494 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8496 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8497 Refactored to handle direction.
8498 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8499 to handle direction.
8500 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8502 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8503 to handle direction.
8504 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8505 to handle direction.
8506 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8507 to handle direction.
8508 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8510 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8511 New explicit constructor. Calls super with vertical axis.
8512 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8513 to BasicHorizontalLayoutManager.
8514 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8515 moved to BasicHorizontalLayoutManager.
8516 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8517 Functionality moved to BasicHorizontalLayoutManager.
8518 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8519 moved to BasicHorizontalLayoutManager.
8520 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8521 moved to BasicHorizontalLayoutManager.
8522 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8523 Functionality moved to BasicHorizontalLayoutManager.
8524 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8525 moved to BasicHorizontalLayoutManager.
8526 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8527 moved to BasicHorizontalLayoutManager.
8528 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8529 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8530 (BUTTON_SPRITE_R): New constant field.
8531 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8532 L sprite for left buttons.
8534 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8536 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8537 (query_formats): g_free 'name' after usage.
8538 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8539 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8541 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8544 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8547 2006-08-14 Francis Kung <fkung@redhat.com>
8550 * java/awt/image/ColorModel.java
8551 (coerceData): Added check for non-transparent images.
8553 2006-08-14 Francis Kung <fkung@redhat.com>
8555 * java/awt/image/BandCombineOp.java
8556 (BandCombineOp): Perform checks on validity of matrix.
8557 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8558 (filter): Updated to work with new matrix storage.
8559 (getMatrix): Updated javadoc.
8560 (getPoint2D): Formatting change.
8562 2006-08-14 Francis Kung <fkung@redhat.com>
8564 * java/awt/image/AffineTransformOp.java
8565 (AffineTransformOp): Updated javadoc.
8566 (createCompatibleDestImage): Match behaviour of reference implementation.
8567 (createCompatibleDestRaster): Formatting changes.
8568 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8569 (filter(Raster, WritableRaster)): Re-implemented.
8570 (filterBicubic): New private method.
8571 (filterBilinear): New private method.
8572 (filterNearest): New private method.
8573 (getBounds2D): No longer fixed around one point for rotations.
8574 (getInterpolationType): Add support for bicubic interpolation.
8576 2006-08-14 Roman Kennke <kennke@aicas.com>
8578 * javax/swing/plaf/metal/MetalLookAndFeel.java
8579 (MetalLookAndFeel): Moved theme initialization to
8581 (createDefaultTheme): Forward to getCurrentTheme().
8582 (getDefaults): Initialize theme before doing anything else.
8583 (getCurrentTheme): Recognize swing.metalTheme property.
8585 2006-08-14 Roman Kennke <kennke@aicas.com>
8587 * javax/swing/JTable
8588 (getScrollableUnitIncrement): Expose partially exposed
8589 row in scrolling direction.
8591 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8593 * javax/swing/JTable (getScrollableUnitIncrement):
8594 Removing my name as the whole method body have been
8595 recently completely replaced.
8597 2006-08-14 Roman Kennke <kennke@aicas.com>
8600 * javax/swing/text/Utilities.java
8601 (getTabbedTextOffset): Don't add p0 here.
8603 2006-08-14 Roman Kennke <kennke@aicas.com>
8606 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8607 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8608 when wheel is going up.
8610 2006-08-14 Roman Kennke <kennke@aicas.com>
8613 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8614 (BasicOneTouchButton): New inner class.
8615 (DividerLayout.changeButtonOrientation): Removed.
8616 (DividerLayout.positionButtons): Moved into layoutContainer.
8617 (DividerLayout.layoutContainer): Reworked for correct layout.
8618 (OneTouchAction): New inner class.
8619 (centerOneTouchButtons): New field.
8620 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8622 (createLeftOneTouchButton): Reimplemented to return
8623 BasicOneTouchButton.
8624 (createRightOneTouchButton): Reimplemented to return
8625 BasicOneTouchButton.
8626 (getPreferredSize): Reimplemented to return fixed preferredSize.
8627 (oneTouchExpandableChanged): Add OneTouchAction action to
8628 buttons. Don't install mouse listeners.
8629 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8630 (paint): Don't trigger extra paint for buttons.
8631 (propertyChange): Revalidate splitPane when orientation is changed.
8632 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8633 oneTouchExpandable is true.
8634 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8635 (installDefaults): Install dividerSize on the divider too.
8636 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8637 (MetalDividerLayout): Removed. Functionality is already
8638 in BasicSplitPaneDivider.DividerLayout.
8639 (MetalOneTouchButton): New inner class.
8640 (BUTTON_SPRITE): New constant field.
8641 (MetalSplitPaneDivider): Don't change layout.
8642 (createLeftOneTouchButton): Overridden to return custom button
8644 (createRightOneTouchButton): Overridden to return custom button
8646 (paint): Don't trigger button painting. Call super instead.
8648 2006-08-13 Roman Kennke <kennke@aicas.com>
8650 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8651 (installKeyboardAction): Unmarked as stub. Added comment
8652 explaining that the RI seems to do nothing here.
8653 (uninstallKeyboardAction): Unmarked as stub. Added comment
8654 explaining that the RI seems to do nothing here.
8656 2006-08-13 Roman Kennke <kennke@aicas.com>
8659 * javax/swing/ScrollPaneLayout.java
8660 (layoutContainer): Consider the viewportBorder of the
8662 (minimumLayoutSize): Consider the viewportBorder of the
8664 (preferredLayoutSize): Consider the viewportBorder of the
8666 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8667 (installDefaults): Also install viewportBorder if specified.
8668 (paint): Paint viewportBorder if present.
8669 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8670 Don't nullify foreground, background and font. Uninstall
8671 border via LookAndFeel helper method to avoid uninstall
8674 2006-08-13 Roman Kennke <kennke@aicas.com>
8677 * javax/swing/plaf/basic/BasicHTML.java
8678 (HTMLRootView.HTMLRootView): Trigger initial layout.
8679 (HTMLRootView.setSize): Overridden to forward to real view.
8680 * javax/swing/plaf/basic/BasicToolTipUI.java
8681 (PropertyChangeHandler): New inner class. Updates the HTML
8683 (propertyChangeHandler): New field.
8684 (getMaximumSize): Add HTML width delta.
8685 (getMinimumSize): Add HTML width delta.
8686 (getPreferredSize): Reimplemented to use HTML view for size
8687 calculation if appropriate, otherwise use simple stringWidth()
8689 (installListeners): Install propertyChangeHandler.
8690 (uninstallListeners): Uninstall propertyChangeHandler.
8691 (installUI): Update HTML renderer.
8692 (uninstallUI): Update HTML renderer.
8693 (paint): Reimplemented to use HTML view for rendering if
8694 appropriate, simple drawString otherwise.
8695 * javax/swing/plaf/metal/MetalToolTipUI.java
8696 (getPreferredSize): Call super and add accelerator delta.
8697 (paint): Simply call super.
8699 2006-08-13 Roman Kennke <kennke@aicas.com>
8701 * javax/swing/JMenu.java
8702 (changeListener): Renamed to menuChangeListener to avoid
8703 shadowing changeListener field from AbstractButton.
8705 2006-08-13 Roman Kennke <kennke@aicas.com>
8707 * javax/swing/JTree.java
8708 (getScrollableUnitIncrement): Fixed direction.
8709 (getScrollableBlockIncrement): Implemented to scroll one
8711 * javax/swing/tree/VariableHeightLayoutCache.java
8712 (distance): Consider y + height already outside the node.
8714 2006-08-13 Roman Kennke <kennke@aicas.com>
8716 * javax/swing/JTable.java
8717 (getScrollableUnitIncrement): Fixed direction. Make it behave
8719 (getScrollableBlockIncrement): Fixed direction. Make it behave
8722 2006-08-13 Roman Kennke <kennke@aicas.com>
8724 * javax/swing/JList.java
8725 (getScrollableUnitIncrement): Fixed direction. Implemented
8726 horizontal scrolling. Improved usability.
8727 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8729 2006-08-13 Roman Kennke <kennke@aicas.com>
8731 * javax/swing/plaf/basic/BasicScrollBarUI.java
8732 (scrollByUnit): Scroll by -unit when direction is not positive
8733 and +unit otherwise.
8734 (scrollByBlock): Scroll by -unit when direction is not positive
8735 and +unit otherwise.
8737 2006-08-13 Roman Kennke <kennke@aicas.com>
8740 * javax/swing/text/PlainView.java
8741 (paint): Limit painted area to the lines inside the clip
8744 2006-08-13 Roman Kennke <kennke@aicas.com>
8746 * javax/swing/plaf/basic/BasicTextUI.java
8747 (uninstallListeners): Unregister document listener.
8749 2006-08-13 Sven de Marothy <sven@physto.se>
8751 * java/util/Locale.java
8752 (hashcodeCache): New field.
8753 (hashCode): use the above field instead of the serialized one
8754 (writeObject): Removed method.
8755 (readObject): Intern strings.
8756 (equals): Revert to previous method.
8758 2006-08-13 Roman Kennke <kennke@aicas.com>
8760 * javax/swing/JTabbedPane.java
8761 (JTabbedPane): Call setModel() here and let this install the
8762 change listener correctly.
8763 (setModel): Correctly uninstall and reinstall ChangeListener when
8766 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8769 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8770 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8771 (lastDefaultLocale): Removed.
8772 (emptyLocale): Likewise.
8773 (BundleKey.defaultLocale): New field.
8774 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8775 (BundleKey.set): Likewise.
8776 (BundleKey.equals): Take defaultLocal field into consideration.
8777 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8779 2006-08-13 Roman Kennke <kennke@aicas.com>
8781 * javax/swing/JMenu.java
8782 (MenuChangeListener): New inner class, helps firing menu events.
8783 (changeListener): New field.
8784 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8785 (add(Action)): Create Action using createActionComponent()
8786 and add via add(Component).
8787 (setModel): Install and uninstall MenuChangeListener here.
8789 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8792 * java/math/BigInteger.java: Updated copyright year.
8793 (init): Consume as little bytes as possible.
8794 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8795 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8796 as per RI's documentation.
8798 2006-08-13 Sven de Marothy <sven@physto.se>
8800 * java/util/Locale.java
8801 (hashcode): Is a serialized field, not transient.
8802 (equals): Should NOT compare strings by reference.
8803 (readObject/writeObject): Use the default methods and handle the hash
8806 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8809 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8810 Updated documentation.
8812 (getInstance(String, String, Provider, Object[])): Likewise.
8813 Separate checks for null and empty string arguments.
8814 Include as much information as possible in the exception's message.
8815 Do not swallow original exception; instead use it as the cause of the
8816 resulting exception.
8817 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8818 (getInstance(String)): Updated documentation.
8820 Store last exception caught when iterating through all providers.
8821 If no implementation found, raise last exception if one was caught.
8822 (getInstance(String, String)): Updated documentation.
8824 Check for null or empty provider as per RI-5's documentation.
8825 (getInstance(String, Provider)): Updated documentation.
8827 Use as much information as possible in the exception message.
8828 Do not swallow original exception; instead use it as the cause for the
8829 ultimate raised exception(s).
8830 * java/security/cert/CertificateFactory.java: Likewise.
8831 * java/security/cert/CertPathBuilder.java: Likewise.
8832 * java/security/cert/CertPathValidator.java: Likewise.
8833 * java/security/cert/CertStore.java: Likewise.
8834 * java/security/AlgorithmParameterGenerator.java: Likewise.
8835 * java/security/AlgorithmParameters.java: Likewise.
8836 * java/security/KeyFactory.java: Likewise.
8837 * java/security/KeyPairGenerator.java: Likewise.
8838 * java/security/KeyStore.java: Likewise.
8839 * java/security/MessageDigest.java: Likewise.
8840 * java/security/SecureRandom.java: Likewise.
8841 * java/security/Signature.java: Likewise.
8842 * javax/crypto/Cipher.java: Likewise.
8843 * javax/crypto/ExemptionMechanism.java: Likewise.
8844 * javax/crypto/KeyAgreement.java: Likewise.
8845 * javax/crypto/KeyGenerator.java: Likewise.
8846 * javax/crypto/Mac.java: Likewise.
8847 * javax/crypto/SecretKeyFactory.java: Likewise.
8848 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8849 * javax/net/ssl/SSLContext.java: Likewise.
8850 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8852 2006-08-13 Roman Kennke <kennke@aicas.com>
8854 * javax/swing/JEditorPane.java
8855 (getScrollableTracksViewportHeight): Also check maximum size.
8856 * javax/swing/JTextPane.java
8857 (insertIcon): Use input attributes for adding the icon
8859 * javax/swing/plaf/basic/BasicTextUI.java
8860 (RootView.setSize): Overridden to forward to real view.
8861 (getPreferredSize): Trigger setSize() on the view.
8862 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8863 to viewToModel() call, rather then null.
8864 * javax/swing/text/ParagraphView.java
8865 (changedUpdate): Invalide layout. Call super.
8866 * javax/swing/text/SimpleAttributeSet.java
8867 (clone): Use super's clone method to create clone.
8868 * javax/swing/text/StyleConstants.java
8869 (setIcon): Also set element name attribute.
8870 * javax/swing/text/StyledEditorKit.java
8871 (BoldAction.actionPerformed): Actually set the bold attribute,
8873 (setCharacterAttributes): Replaced with more straightforward
8875 * javax/swing/text/TextAction.java
8876 (getFocusedComponent): Implemented.
8877 * javax/swing/text/Utilities.java
8878 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8880 * javax/swing/text/View.java
8881 (changedUpdate): Nullify element change when updateChildren
8884 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8886 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8887 Fix documentation typos.
8889 2006-08-11 David Daney <ddaney@avtrex.com>
8892 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8893 createResponseBodyStream in more cases and with new parameter.
8894 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8895 HEAD and !mayHaveBody responses specially.
8897 2006-08-11 Roman Kennke <kennke@aicas.com>
8899 * javax/swing/text/GlyphView.java
8900 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8901 * javax/swing/text/LabelView.java
8902 (valid): New flag indicating if the text attributes are valid.
8903 (LabelView): Initialize valid field with false.
8904 (setPropertiesFromAttributes): Call setter methods instead
8905 of setting properties directly. Set valid to true.
8906 (changedUpdate): Invalidate attributes. Call super.
8907 (getBackground): Sync attributes if necessary.
8908 (getForeground): Sync attributes if necessary.
8909 (getFont): Sync attributes if necessary.
8910 (isUnderline): Sync attributes if necessary.
8911 (isSuperscript): Sync attributes if necessary.
8912 (isStrikeThrough): Sync attributes if necessary.
8913 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8914 from toolkit if Container is not available yet.
8916 2006-08-11 Roman Kennke <kennke@aicas.com>
8918 * javax/swing/text/PlainView.java
8919 (tabBase): New field.
8920 (tabSize): New field.
8921 (updateMetrics): Update tabSize.
8922 (lineToRect): Only allocate when really necessary.
8923 (modelToView): Use tabBase for offset calculations.
8924 (paint): Only allocate when really necessary. Update tabBase.
8925 (nextTabStop): Fixed tab calculation.
8926 (viewToModel): Correctly handle multiline text and locations
8927 outside the view's bounds. Set bias.
8928 (getLineLength): Use tabBase.
8929 * javax/swing/text/Utilities.java
8930 (drawTabbedText): Don't special case newlines. The views
8931 must take care of this.
8933 2006-08-11 Roman Kennke <kennke@aicas.com>
8935 * javax/swing/text/GapContent.java
8936 (UndoPosRef): New inner class. Used for resetting positions
8937 after undo/redo operations.
8938 (InsertUndo.positions): New field.
8939 (InsertUndo.undo): Store positions in removed range.
8940 (InsertUndo.redo): Restore positions in re-inserted range.
8941 (UndoRemove.positions): New field.
8942 (UndoRemove.UndoRemove): Store positions in removed range.
8943 (UndoRemove.undo): Restore positions in re-inserted range.
8944 (UndoRemove.redo): Store positions in removed range.
8945 (insertString): Create InsertUndo instance before actually
8946 inserting the string.
8947 (remove): Create UndoRemove instance before actually
8949 (getPositionsInRange): Don't clear the Vector. Return Vector
8951 (updateUndoPositions): Implemented to reset all UndoPosRefs
8954 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8956 * java/io/ObjectInputStream.java (readClassDescriptor):
8957 Use class's class loader to resolve field types.
8958 * java/io/ObjectStreamField.java
8959 (ObjectStreamField(String,String,ClassLoader)): Removed.
8960 (ObjectStreamField(String,String)): Don't try to resolve typename.
8961 (resolveType): New method.
8963 2006-08-10 Roman Kennke <kennke@aicas.com>
8965 * javax/swing/text/BoxView.java
8966 (calculateMajorAxisRequirements): Sum up the preferred and
8968 (isAfter): Also add in the rectangle's with/height.
8969 (childAllocation): Don't trigger layout here.
8970 (layoutMinorAxis): Removed debug output.
8971 (getWidth): Consider the insets.
8972 (getHeight): Consider the insets.
8973 (setSize): Consider the insets.
8974 (updateRequirements): Check axis and throw
8975 IllegalArgumentException.
8977 2006-08-10 Roman Kennke <kennke@aicas.com>
8979 * javax/swing/text/AbstractDocument.java
8980 (BidiRootName): New constant field, denotes the element name
8981 for bidi root elements.
8982 (AsyncLoadPriority): New constant field, denotes the property
8983 to store the asynchronousLoadPriority.
8984 (I18N): New constant field, denotes the property for
8986 (bidiRoot): Made field type BidiRootElement.
8987 (AbstractDocument): Build initial element structure for
8989 (getAsynchronousLoadPriority): Implemented. Returns the
8990 value stored in the document properties.
8991 (setAsynchronousLoadPriority): Implemented. Sets the
8992 value stored in the document properties.
8993 (getEndPosition): Implemented to use a Position from the
8995 (getStartPosition): Implemented to use a Position from the
8997 (insertStringImpl): Update the I18N setting if necessary.
8998 (insertUpdate): Update the bidi structure if necessary.
8999 (postRemoveUpdate): Update the bidi structure if necessary.
9000 (putProperty): Update the I18N setting and bidi structure
9002 (updateBidi): New helper method for updating the bidi
9004 (getBidis): New helper method. Fetches the Bidi analysers
9005 for the paragraphs of the range to check.
9006 (dump): Also dump the bidi structure.
9007 (AbstractElement.dump): Indent the '>' correctly.
9008 (AbstractElement.children): Check numChildren rather then
9010 (BidiRootElement): New inner class.
9011 (BidiElement): New inner class.
9013 2006-08-10 Roman Kennke <kennke@aicas.com>
9015 * javax/swing/text/GapContent.java
9016 (getChars): Optimized to only copy array when really necessary.
9017 Respect the partialReturn property.
9019 2006-08-10 Lillian Angel <langel@redhat.com>
9021 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9022 (getComponentPeer): Added check to prevent NPE.
9024 2006-08-10 Gary Benson <gbenson@redhat.com>
9026 * java/security/AccessControlContext.java (<init>):
9027 Avoid a duplicated AccessController.getContext() call.
9029 2006-08-09 Mark Wielaard <mark@klomp.org>
9031 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9032 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9033 * doc/www.gnu.org/announce/20060809.wml: New file.
9035 2006-08-09 Mark Wielaard <mark@klomp.org>
9037 * configure.ac (VERSION): Set to 0.92-generics.
9038 * NEWS: Add updates for 0.92 release.
9040 2006-08-09 Tom Tromey <tromey@redhat.com>
9043 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9044 the pattern match any number of spaces in the text.
9046 2006-08-09 Sven de Marothy <sven@physto.se>
9048 * java/awt/image/BufferedImage.java
9049 (BufferedImage): Reimplement predefined-type constructor.
9050 (observers/tileObservers): Field renamed to tileObservers.
9051 (createDefaultIndexedColorModel): New method.
9053 2006-08-09 Tom Tromey <tromey@redhat.com>
9056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9057 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9058 Create a 'short' array.
9060 2006-08-09 Tom Tromey <tromey@redhat.com>
9062 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9064 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9065 (writeFields): Print "L" after int constant. Don't mangle the field
9066 name. Only print int/long fields.
9068 2006-08-09 Tom Tromey <tromey@redhat.com>
9070 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9073 2006-08-09 Sven de Marothy <sven@physto.se>
9075 * javax/swing/JTree.java
9076 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9077 (setSelectionModel): Null parameter should create an EmptySelectionM.
9079 2006-08-09 Roman Kennke <kennke@aicas.com>
9081 * javax/swing/text/AbstractDocument.java
9082 (insertString): Perform modifications inside a write lock.
9083 (insertStringImpl): Don't lock here. This is already done
9085 (replace): Perform modifications inside a write lock.
9086 (AbstractElement.AbstractElement): Call addAttributes() to
9088 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9089 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9090 (BranchElement.BranchElement): Set lastIndex to -1.
9091 (BranchElement.getElementIndex): Implemented more efficient
9094 2006-08-09 Roman Kennke <kennke@aicas.com>
9096 * javax/swing/text/DefaultStyledDocument.java
9097 (Edit): Moved this inner class into ElementBuffer where it
9099 (edits): Moved this field into ElementBuffer.
9100 (getEditForParagraphAndIndex): Removed obsolete method.
9101 (insertUpdate): Added some optimizations and fixes. Split
9102 out handling insertion after newlines.
9103 (insertAfterNewline): New helper method. Handles insertions
9105 (ElementBuffer.Edit): New inner class. Moved here from
9106 DefaultStyledDocument.
9107 (ElementBuffer.createdFracture): New field.
9108 (ElementBuffer.documentEvent): Made private.
9109 (ElementBuffer.edits): New field. Moved here from
9110 DefaultStyledDocument.
9111 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9112 (ElementBuffer.fracturedChild): New field.
9113 (ElementBuffer.fracturedParent): New field.
9114 (ElementBuffer.insertPath): New field.
9115 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9117 (ElementBuffer.offsetLastIndex): New field.
9118 (ElementBuffer.offsetLastIndexReplace): New field.
9119 (ElementBuffer.recreateLeafs): New field.
9120 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9121 (ElementBuffer.canJoin): New helper method.
9122 (ElementBuffer.changeUpdate): Changed to use elementStack with
9123 Edits rather than Elements. Let the split method do the work.
9124 (ElementBuffer.cloneAsNecessary): New helper method.
9125 (ElementBuffer.createFracture): Changed to fracture the bottommost
9127 (ElementBuffer.finishEdit): New helper method. Moved out
9128 from insertUpdate to perform the actual changes and update
9130 (fracture): New helper method.
9131 (insertContentTag): Fixed some bugs and changed to use Edit
9132 instances in the stack, rather then Elements.
9133 (insertElement): New helper method. Moved out from insertUpdate()
9134 to process the ElementSpecs.
9135 (insertFirstContentTag): Fixed some problems and changed to use Edit
9136 instances in the stack, rather then Elements.
9137 (insertFracture): Removed. Basically moved into createFracture()
9139 (insertParagraph): Removed.
9140 (insertUpdate): Split out the ElementSpec processing into
9141 insertElement(). Use Edit instances in the stack. Fixed some
9143 (insert): Split out the preparation and finishing code into
9144 prepareEdit() and finishEdit().
9145 (join): New helper method.
9146 (pop): New helper method.
9147 (prepareEdit): New helper method.
9148 (recreateFracturedElement): New helper method.
9149 (recreateLeaves): Removed.
9150 (recreate): New helper method.
9151 (removeElements): New helper method. Split out from removeUpdate().
9152 (removeUpdate): Split out the actual removal. Use the
9153 Edit stack to perform removal and perform the remove actions
9154 and event updates afterwards, just like in insertImpl().
9155 (remove): Use prepareEdit() and finishEdit().
9156 (split): Replaced with more flexible impl.
9158 2006-08-09 Sven de Marothy <sven@physto.se>
9160 * gnu/java/awt/peer/gtk/CairoSurface.java
9161 Change class to extend WritableRaster and not DataBuffer.
9162 (CairoDataBuffer): New inner class.
9163 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9164 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9165 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9166 Accomodate the above change.
9168 2006-08-09 Sven de Marothy <sven@physto.se>
9170 * gnu/java/awt/peer/gtk/GtkMainThread.java
9172 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9173 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9174 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9175 * gnu/java/awt/peer/gtk/GtkToolkit.java
9176 Minor style fixes; removed unused fields,
9177 set fields to private where possible.
9178 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9179 Call GtkMainThread.createWindow().
9180 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9181 (dispose): New method.
9182 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9184 (gtkQuit): New native method.
9186 2006-08-08 Lillian Angel <langel@redhat.com>
9188 * java/awt/Component.java
9189 (setDropTarget): Added check.
9191 2006-08-08 Lillian Angel <langel@redhat.com>
9193 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9194 (GtkDragSourceContextPeer): Added FIXME. Changed call
9196 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9197 (GtkDropTargetContextPeer): Removed target initialization.
9198 * java/awt/Component.java
9199 (setTarget): Removed commented out code.
9201 2006-08-08 Mark Wielaard <mark@klomp.org>
9203 * javax/swing/text/DefaultHighlighter.java: Qualify
9204 Highlighter.HighlightPainter class name for gcj.
9206 2006-08-05 Roman Kennke <kennke@aicas.com>
9208 * javax/swing/plaf/basic/BasicTableUI.java
9209 (MouseInputHandler.mousePressed): Request focus on list
9212 2006-08-05 Roman Kennke <kennke@aicas.com>
9214 * javax/swing/plaf/basic/BasicListUI.java
9215 (MouseInputHandler.mousePressed): Request focus on list
9218 2006-08-05 Roman Kennke <kennke@aicas.com>
9221 * javax/swing/plaf/basic/BasicMenuBarUI.java
9222 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9223 than Tree.actionMap.
9224 * javax/swing/plaf/basic/BasicTreeUI.java
9225 (action): Removed obsolete field.
9226 (uninstallKeyboardActions): Removed action field handling.
9227 (installKeyboardActions): Removed action field handling.
9228 (createDefaultActions): Don't install removed TreeAction.
9229 (TreeAction): Removed obsolete inner class.
9230 (ActionListenerProxy): Removed obsolete inner class.
9231 (MouseHandler.mousePressed): Request focus on JTree component
9234 2006-08-08 Roman Kennke <kennke@aicas.com>
9236 * javax/swing/plaf/basic/BasicListUI.java
9237 (MouseInputHandler.mousePressed): Request focus on list
9240 2006-08-08 Roman Kennke <kennke@aicas.com>
9242 * javax/swing/plaf/basic/BasicTableUI.java
9243 (MouseInputHandler.mousePressed): Request focus on list
9246 2006-08-08 Roman Kennke <kennke@aicas.com>
9248 * javax/swing/plaf/basic/BasicTextUI.java
9249 (damageRange(JTextComponent,int,int)): Call damageRange() with
9250 correct biases, rather than null.
9251 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9252 to use simpler modelToView() approach without much special
9253 casing. This seems not worth the effort and actually
9254 caused problems. Added locking of the document.
9255 * javax/swing/text/BoxView.java
9256 (requirementsValid): New field.
9257 (calculateMajorAxisRequirements): Rewritten without using
9258 SizeRequirements. The SizeRequirements algorithms are slightly
9259 different and too inefficient.
9260 (calculateMinorAxisRequirements): Rewritten without using
9261 SizeRequirements. The SizeRequirements algorithms are slightly
9262 different and too inefficient.
9263 (getAlignment): Simply return the alignment of the cached
9265 (getMaximumSpan): Add insets.
9266 (getMinimumSpan): Add insets.
9267 (getPreferredSpan): Add insets.
9268 (layoutMajorAxis): Rewritten without using
9269 SizeRequirements. The SizeRequirements algorithms are slightly
9270 different and too inefficient.
9271 (layoutMinorAxis): Rewritten without using
9272 SizeRequirements. The SizeRequirements algorithms are slightly
9273 different and too inefficient.
9274 (modelToView): Call setSize() rather than layout().
9275 (paint): Check clip for more efficient painting.
9276 (preferenceChanged): Invalidate requirements here.
9277 (replace): Invalidate requirements here.
9278 (updateRequirements): Update requirements only when requirements
9280 * javax/swing/text/CompositeView.java
9281 (modelToView): Added some more checks and handling of corner cases.
9282 * javax/swing/text/FlowView.java
9283 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9284 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9285 * javax/swing/text/IconView.java
9286 (getAlignment): Implemented to return 1.0 for vertical alignment.
9287 * javax/swing/text/ParagraphView.java
9288 (Row.getMaximumSpan): Implemented to let Rows span the whole
9290 (getAlignment): Fixed horizontal alignment and vertical alignment
9291 for empty paragraphs to be 0.5.
9293 2006-08-08 Roman Kennke <kennke@aicas.com>
9295 * javax/swing/text/View.java
9296 (modelToView): Added special handling for corner case at the end
9297 of the view and for multiline views.
9299 2006-08-08 Roman Kennke <kennke@aicas.com>
9301 * javax/swing/plaf/basic/BasicTextUI.java
9302 (modelToView): Read-lock the document. Set size of the
9303 root view before fetching the model-to-view mapping.
9304 (getViewIndex): Check of the position is inside the range and
9305 return -1 if this is not the case.
9306 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9308 (getViewIndexAtPosition(int)): Delegate the index search to
9309 the element since we have a 1:1 mapping between elements and
9311 * javax/swing/text/DefaultCaret.java
9312 (appear): Ignore BadLocationException.
9313 (paint): Ignore BadLocationException.
9314 * javax/swing/text/FlowView.java
9315 (changedUpdate): Also notify the layoutPool view.
9316 (removeUpdate): Also notify the layoutPool view.
9317 * javax/swing/text/ParagraphView.java
9318 (Row.getViewIndexAtPosition): Overridden to search linearily
9319 through the view instead of relying on a 1:1 model to view
9321 * javax/swing/text/View.java
9322 (removeUpdate): Clear ElementChange object if updateChildren
9324 (forwardUpdate): Special handle some boundary cases.
9326 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9328 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9329 (hasInheritedParameters): New method.
9330 (equals): Updated documentation.
9331 Take into consideration the outcome of hasInheritedParameters invocation.
9332 (toString): Call hasInheritedParameters and adjust the result accordingly.
9333 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9334 Updated documentation.
9335 Handle case of public keys with null p, q, and g MPIs.
9336 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9338 2006-08-07 Tom Tromey <tromey@redhat.com>
9341 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9342 (attachment): Likewise.
9343 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9345 (isValid): Likewise.
9346 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9348 (interestOps): Synchronize.
9349 (readyOps): Likewise.
9350 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9353 2006-08-07 C. Scott Marshall <csm@gnu.org>
9356 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9357 the mark has been set.
9358 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9359 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9362 2006-08-07 Sven de Marothy <sven@physto.se>
9364 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9365 (drawGlyphVector): Synchronize against font object when drawing.
9366 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9367 (nativeDrawGlyphVector): Use pango locking when drawing.
9368 (install_font_peer): Use pango locking when creating the cairo face.
9370 2006-08-06 Roman Kennke <kennke@aicas.com>
9373 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9374 (getPreferredSize): Renamed method to preferredSize(). That's
9375 the one that gets called from java.awt.*.
9376 * java/awt/peer/ComponentPeer.java
9377 (getPreferredSize): Added specnote about this method never
9378 beeing called in the RI.
9379 (getMinimumSize): Added specnote about this method never
9380 beeing called in the RI.
9382 2006-08-03 Sven de Marothy <sven@physto.se>
9384 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9385 (grab, nativeGrab): New methods.
9386 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9387 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9388 (nativeGrab): New method.
9389 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9391 * java/awt/Component.java
9392 (printAll): Should call peer print method.
9394 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9396 * java/net/URL.java (getContent(Class[])): Implement.
9398 2006-08-06 Mark Wielaard <mark@klomp.org>
9401 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9402 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9404 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9407 2006-08-06 Roman Kennke <kennke@aicas.com>
9409 * NEWS: Added note about the X peers.
9410 * INSTALL: Added install notes about the X peers.
9412 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9413 Paul Jenner <psj@harker.dyndns.org>
9415 * README: Update bug, patches and cvs instructions plus new URLs of
9416 various external projects.
9418 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9420 * configure.ac (MOZILLA_FOUND): Fall back to
9421 mozilla-firefox-plugin.
9423 2006-08-06 Mario Torre <neugens@limasoftware.net>
9425 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9426 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9427 g_type_init earlier in function to correctly initialize the
9428 type system used by the backend.
9430 2006-08-05 Roman Kennke <kennke@aicas.com>
9432 * javax/swing/text/DefaultHighlight.java
9433 (DefaultHighlightPainter.paintHighlight): Removed method.
9434 (DefaultHighlightPainter.paintLayer): Implemented.
9435 (DefaultHighlightPainter.paint): Implemented more efficient
9436 painting for multiline-highlights.
9437 (HighlightEntry.p0): Changed to be a Position.
9438 (HighlightEntry.p1): Changed to be a Position.
9439 (HighlightEntry.HighlightEntry): Changed to take Position
9441 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9442 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9443 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9444 and tracks the painted rectangle for efficient repainting.
9445 (addHighlight): Handle layered highlight.
9446 (changeHighlight): Handle layered highlight.
9447 (paintLayeredHighlights): Implemented.
9448 (paint): Paint only non-layered highlights here.
9449 (removeAllHighlights): Trigger correct repaint.
9450 (removeHighlight): Handle layered highlight here for
9451 more efficient repainting.
9452 * javax/swing/text/GlyphView.java
9453 (paint): Handle layered highlights.
9454 * javax/swing/text/PlainView.java
9455 (paint): Handle layered highlights.
9456 * javax/swing/text/WrappedPlainView.java
9457 (WrappedLine.paint): Handle layered highlights.
9459 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9462 * NEWS: As suggested by Paul Jennier, added note about the fix of
9465 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9467 * NEWS: Added entry about the context factories for JNDI.
9469 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9472 * gnu/CORBA/Connected_objects.java (size): New method.
9473 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9475 * javax/naming/spi/NamingManager.java (getURLContext):
9476 Also search for the URL context factories in
9477 gnu/javax/naming/jndi/url.
9478 * gnu/javax/naming/giop/ContextContinuation.java,
9479 gnu/javax/naming/giop/CorbalocParser.java,
9480 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9481 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9482 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9483 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9484 gnu/javax/naming/giop/ListEnumeration.java,
9485 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9486 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9487 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9488 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9489 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9490 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9491 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9492 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9494 2006-08-06 Sven de Marothy <sven@physto.se>
9496 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9497 (drawGlyphVector): Synchronize against font object when drawing.
9498 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9499 (nativeDrawGlyphVector): Use pango locking when drawing.
9500 (install_font_peer): Use pango locking when creating the cairo face.
9502 2006-08-06 C. Scott Marshall <csm@gnu.org>
9505 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9506 the mark has been set.
9507 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9508 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9511 2006-08-06 Mark Wielaard <mark@klomp.org>
9514 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9515 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9517 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9520 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9521 Paul Jenner <psj@harker.dyndns.org>
9523 * README: Update bug, patches and cvs instructions plus new URLs of
9524 various external projects.
9526 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9528 * gnu/java/lang/management/BeanImpl.java:
9529 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9531 (getCachedMBeanInfo()): Return open variant.
9532 (getMBeanInfo()): Likewise.
9533 (getTypeFromClass(Class)): Implemented.
9534 (translateSignature(MBeanParameterInfo)): Likewise.
9535 (translate(String)): Likewise.
9536 * javax/management/StandardMBean.java:
9537 (getMBeanInfo()): Return attribute names with capital letters,
9538 as in docs for java.lang.management.ManagementFactory, and
9539 ensure descriptions are not "".
9540 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9541 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9542 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9543 (toString()): Use Arrays.toString().
9544 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9545 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9546 Set open type here rather than in other constructors.
9548 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9550 * javax/management/MBeanFeatureInfo.java:
9551 Make string variable package-private.
9552 * javax/management/StandardMBean.java:
9553 (getMBeanInterface()): Made final.
9554 * javax/management/openmbean/SimpleType.java:
9557 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9559 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9562 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9564 * examples/gnu/classpath/examples/swing/FillRect.java,
9565 * gnu/CORBA/Focused_ORB.java,
9566 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9567 * gnu/classpath/ByteArray.java,
9568 * gnu/classpath/ObjectPool.java,
9569 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9570 * gnu/java/awt/peer/x/fonts.properties,
9571 * gnu/java/security/util/Prime2.java,
9572 * gnu/javax/imageio/gif/GIFStream.java,
9573 * javax/swing/text/html/HTMLTableView.java,
9574 * native/cni/Makefile.am,
9575 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9576 * org/omg/CORBA/SendingContext/Runtime.java,
9577 * resource/gnu/regexp/MessagesBundle.properties,
9578 * resource/gnu/regexp/MessagesBundle_fr.properties,
9579 * resource/gnu/regexp/MessagesBundle_it.properties,
9580 * tools/appletviewer.in,
9581 * tools/jarsigner.in,
9583 * vm/reference/java/lang/management/VMThreadInfo.java:
9585 * examples/gnu/classpath/examples/awt/aicas.png,
9586 * examples/gnu/classpath/examples/awt/palme.gif,
9587 * examples/gnu/classpath/examples/java2d/aicas.png,
9588 * examples/gnu/classpath/examples/java2d/palme.gif,
9589 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9590 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9591 * java/awt/doc-files/capjoin.png,
9592 * java/awt/geom/doc-files/Area-1.png,
9593 * java/awt/geom/doc-files/Ellipse-1.png,
9594 * java/awt/geom/doc-files/GeneralPath-1.png:
9597 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9602 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9604 * gnu/java/lang/management/BeanImpl.java:
9605 (getAttribute(String)): Implemented.
9607 2006-08-05 Roman Kennke <kennke@aicas.com>
9609 * javax/swing/text/JTextComponent.java
9610 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9611 (AccessibleJTextComponent.textComp): Removed field
9612 and replace with JTextComponent.this construct.
9613 (AccessibleJTextComponent.AccessibleJTextComponent):
9614 Fetch caret position.
9615 (caretUpdate): Implemented. Fires property change events and
9616 updates the caretDot field.
9617 (changedUpdate): Implemented. Fires property change events.
9618 (insertUpdate): Implemented. Fires property change events.
9619 (removeUpdate): Implemented. Fires property change events.
9620 (cut): Replaced textComp with JTextComponent.this construct.
9621 (paste): Replaced textComp with JTextComponent.this construct.
9622 (replaceText): Replaced textComp with JTextComponent.this construct.
9623 (selectText): Replaced textComp with JTextComponent.this construct.
9624 (getCaretPosition): Replaced textComp with JTextComponent.this
9626 (getCharCount): Replaced textComp with JTextComponent.this construct.
9627 (getSelectedText): Replaced textComp with JTextComponent.this
9629 (getSelectionEnd): Replaced textComp with JTextComponent.this
9631 (getSelectionStart): Replaced textComp with JTextComponent.this
9633 (getTextRange): Replaced textComp with JTextComponent.this
9635 (doAccessibleAction): Implemented.
9636 (getAccessibleActionCount): Implemented.
9637 (getAccessibleActionDescription): Implemented.
9638 (getAccessibleStateSet): Implemented.
9639 (getAfterIndex): Implemented.
9640 (getBeforeIndex): Implemented.
9641 (getAtIndex): Implemented.
9642 (getAtIndexImpl): New helper method.
9643 (getCharacterAttribute): Implemented.
9644 (getCharacterBounds): Implemented.
9645 (getIndexAtPoint): Implemented.
9646 (insertTextAtIndex): Implemented.
9647 (setAttributes): Implemented.
9648 (setTextContents): Implemented.
9650 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9652 * configure.ac: Better handling of default-preferences-peer option.
9654 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9656 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9659 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9661 * javax/management/openmbean/TabularData.java:
9662 Documentation corrections.
9663 * javax/management/openmbean/TabularDataSupport.java:
9666 2006-08-04 Francis Kung <fkung@redhat.com>
9668 * java/awt/BasicStroke.java
9669 (dashedStroke): Implemented.
9671 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9673 * javax/management/BadAttributeValueExpException.java,
9674 * javax/management/BadStringOperationException.java,
9675 * javax/management/InstanceAlreadyExistsException.java,
9676 * javax/management/InstanceNotFoundException.java,
9677 * javax/management/InvalidApplicationException.java,
9678 * javax/management/MBeanRegistrationException.java,
9679 * javax/management/MalformedObjectNameException.java,
9680 * javax/management/RuntimeErrorException.java,
9681 * javax/management/RuntimeMBeanException.java,
9682 * javax/management/ServiceNotFoundException.java:
9685 2006-08-04 Roman Kennke <kennke@aicas.com>
9687 * javax/swing/SwingUtilities.java
9688 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9689 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9690 layoutCompoundLabelImpl().
9691 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9692 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9693 layoutCompoundLabelImpl().
9694 (layoutCompoundLabelImpl): New helper method. Moved impl from
9695 layoutCompoundLabel() to here and added handling of HTML.
9696 * javax/swing/plaf/basic/BasicButtonUI.java
9697 (installUI): Update HTML view if appropriate.
9698 (uninstallUI): New method. Do the usual uninstallUI things
9699 and uninstall HTML view.
9700 (getMinimumSize): New method. Adjusts the minimum size
9701 by the HTML view minimum size.
9702 (getMaximumSize): New method. Adjusts the maximum size
9703 by the HTML view maximum size.
9704 (getPreferredSize): Pass the button's iconTextGap to the
9705 BasicGraphicsUtils method.
9706 (paint): Let HTML view paint the text, if present.
9707 * javax/swing/plaf/basic/BasicButtonListener.java
9708 (propertyChange): Update the HTML view when the button's
9711 2006-08-04 Mario Torre <neugens@limasoftware.net>
9713 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9714 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9715 g_type_init earlier in function to correctly initialize the
9716 type system used by the backend.
9718 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9721 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9723 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9725 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9727 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9729 * gnu/xml/dom/DomIterator.java:
9730 (successor): Added if-statement.
9732 2006-08-04 Mark Wielaard <mark@klomp.org>
9734 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9736 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9738 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9739 (update): Check size and paint smaller gradient.
9740 * javax/swing/plaf/metal/MetalBorders.java:
9741 (MenuBarBorder): Removed borderColor field.
9742 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9745 2006-08-03 Roman Kennke <kennke@aicas.com>
9748 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9749 (ComponentHandler.componentResized): Reimplemented to handle
9751 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9752 component listener on changed ancestor.
9753 (installListeners): Install componentListener.
9754 (uninstallListeners): Uninstall componentListener.
9756 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9758 * StrictMath.java (cbrt): Return argument if it is a NaN.
9763 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9765 * java/lang/StrictMath.java (tanh): New method.
9767 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9769 * scripts/import-cacerts.sh: Batch CA certificates import script.
9771 2006-08-03 Roman Kennke <kennke@aicas.com>
9774 * javax/swing/plaf/basic/BasicListUI.java
9775 (paintCell): Pass row index to cell renderer.
9776 * javax/swing/plaf/basic/MetalFileChooserUI.java
9777 (DirectoryComboBoxRenderer.indentIcon): New field.
9778 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9779 Initialize indentIcon.
9780 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9781 Fall back to super and removed standard functionality.
9783 (IndentIcon): New class. Wraps and indents another icon.
9785 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9787 * javax/management/MBeanConstructorInfo.java:
9788 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9789 Copy array rather than directly assigning.
9790 * javax/management/MBeanInfo.java:
9791 (MBeanInfo(String,String,MBeanAttributeInfo[],
9792 MBeanConstructorInfo[], MBeanOperationInfo[],
9793 MBeanNotificationInfo[])): Likewise.
9794 * javax/management/MBeanOperationInfo.java:
9795 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9797 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9798 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9800 * javax/management/openmbean/OpenMBeanInfo.java:
9801 Corrected documentation.
9802 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9804 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9805 Corrected documentation.
9806 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9808 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9809 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9810 Call other constructor rather than reimplementing.
9812 2006-08-02 Lillian Angel <langel@redhat.com>
9814 * java/awt/dnd/DragSource.java
9815 (isDragImageSupported): Implemented.
9816 (getDragThreshold): Changed default value.
9817 * java/awt/dnd/DropTarget.java
9818 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9819 (DropTarget): Likewise.
9820 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9821 (addDropTargetListener): Added check to determine if new DropTargetListener
9822 is this class. If so, an IllegalArgumentException is thrown. If the
9823 new listener is null, nothing happens.
9825 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9827 * configure.ac (MOZILLA_FOUND): Fall back to
9828 mozilla-firefox-plugin.
9830 2006-08-02 Sven de Marothy <sven@physto.se>
9832 * java/awt/geom/AffineTransform.java
9833 (hashCode): Tweak impl.
9834 * java/awt/font/FontRenderContext.java
9835 (hashCode): Implement.
9837 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9839 * java/lang/StrictMath.java (sinh): New method.
9841 2006-08-02 Roman Kennke <kennke@aicas.com>
9844 * javax/swing/JComboBox.java
9845 (setSelectedItem): Fire ActionEvent here.
9846 * javax/swing/plaf/basic/BasicDirectoryModel.java
9847 (directories): Changed to type Vector.
9849 (loadThread): New field.
9850 (DirectoryLoadThread): New inner class. This loads the contents
9851 of directories asynchronously.
9852 (getDirectories): Return cached Vector.
9853 (getFiles): Return cached Vector.
9854 (getSize): Return plain size of contents Vector.
9855 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9856 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9857 (sort): Don't store sorted list in contents. This must be done
9858 asynchronously from the EventThread.
9859 (validateFileCache): Rewritten for asynchronous reading
9860 of directory contents.
9861 * javax/swing/plaf/basic/BasicFileChooserUI.java
9862 (installListeners): Install model as PropertyChangeListener.
9863 (uninstallListeners): Uninstall model as PropertyChangeListener.
9864 (createPropertyChangeListener): Return null just like the
9867 2006-08-02 Sven de Marothy <sven@physto.se>
9869 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9870 (remove): Force event on removing item 0 when it's selected.
9871 (handleEvent): Always call Choice.selected().
9872 * java/awt/Choice.java:
9873 (remove): Simplify and correct.
9875 2006-08-02 Mark Wielaard <mark@klomp.org>
9878 * configure.ac (gconf-peer): Check for gdk-2.0.
9879 * native/jni/gconf-peer/Makefile.am
9880 (AM_LDFLAGS): Use GDK_LIBS.
9881 (AM_CFLAGS): Use GDK_CFLAGS.
9883 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9885 * java/net/URL.java (getContent(Class[])): Implement.
9887 2006-08-02 Roman Kennke <kennke@aicas.com>
9890 * javax/swing/JMenu.java
9891 (JMenu()): Removed setting of delay.
9892 (JMenu(String)): Removed setting of delay.
9893 (JMenu(Action)): Removed setting of delay.
9894 (JMenu(String,boolean)): Removed setting of delay.
9895 (setSelectedHelper): Removed unneeded method.
9896 (setSelected): Simply set the model state.
9897 (setPopupMenuVisible): Recognize the popup location
9898 determined by getPopupMenuOrigin().
9899 (getPopupMenuOrigin): Recognize the UI properties for
9901 (menuSelectionChanged): Call setSelected() directly.
9902 * javax/swing/JPopupMenu.java
9903 (menuSelectionChanged): If invoker is a JMenu, then delegate
9904 to that to get the position right.
9905 * javax/swing/Popup.java
9906 (LightweightPopup.show): Insert the popup as first component
9907 in the layer, so that it overlaps it's caller.
9908 * javax/swing/plaf/basic/BasicMenuItemUI.java
9909 (getPath): Don't include the popup.
9910 * javax/swing/plaf/basic/BasicMenuUI.java
9911 (SelectMenuAction): New class. This invokes the popup when
9913 (installDefaults): Install delay of 200 ms.
9914 (setupPostTimer): Implemented.
9915 (MouseInputHandler.mouseClicked): Do nothing here.
9916 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9917 magic to handle the selection. Open the menu via a timer.
9918 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9919 magic to handle the selection. Open the menu via a timer.
9920 (MenuDragMouseHandler.menuMouseDragged): Probably use
9922 (menuDragMouseEntered): Do nothing here.
9924 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9926 * javax/management/openmbean/InvalidOpenTypeException.java,
9927 * javax/management/openmbean/KeyAlreadyExistsException.java:
9930 2006-08-02 Roman Kennke <kennke@aicas.com>
9933 * javax/swing/plaf/basic/BasicChooserUI.java
9934 (BasicFileView.getName): Fetch the real name from the
9935 file chooser's FileSystemView.
9936 * javax/swing/plaf/metal/MetalChooserUI.java
9937 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9938 Set the text fetched from the JFileChooser.getName().
9939 * javax/swing/FileSystemView.java
9940 (createFileObject): When file is a filesystem root,
9941 create a filesystem root object first.
9942 (getSystemDisplayName): Return the filename. Added specnote
9943 about ShellFolder class that is mentioned in the spec.
9944 * javax/swing/UnixFileSystemView.java
9945 (getSystemDisplayName): Implemented to return the real name
9946 of a file, special handling files like '.' or '..'.
9948 2006-08-03 Mark Wielaard <mark@klomp.org>
9950 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9952 2006-08-03 Roman Kennke <kennke@aicas.com>
9955 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9956 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9957 components when visual property chanegs.
9959 2006-08-03 Roman Kennke <kennke@aicas.com>
9962 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9963 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9964 component when visual properties change.
9966 2006-08-03 Roman Kennke <kennke@aicas.com>
9969 * javax/swing/JTree.java
9970 (JTree(TreeModel)): Set cell renderer to null.
9971 * javax/swing/plaf/basic/BasicTreeUI.java
9972 (setCellRenderer): Finish editing before setting the
9973 cell renderer. Refresh the layout. Don't set the
9974 currentCellRenderer field here (that's done in updateRenderer).
9975 (updateRenderer): Handle createdRenderer field here too.
9976 Set renderer to a default handler when the current renderer
9977 in the JTree is null.
9979 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9982 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9984 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9987 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9988 Updated documentation to clarify that RFC-2459 states that the parameters
9989 field of the AlgorithmIdentifier element MUST be NULL if present.
9990 Amended the code to reflect the specs.
9991 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9993 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9995 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9996 Call parameter 'defaultValue' not 'defValue'.
9998 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10000 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10003 2006-08-01 Roman Kennke <kennke@aicas.com>
10006 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10007 (PropertyChangeHandler.propertyChange): Cleanly reinstall
10008 components when visual property chanegs.
10010 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
10012 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10013 (toString()): Corrected documentation.
10014 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10015 * javax/management/openmbean/OpenMBeanInfo.java,
10016 * javax/management/openmbean/OpenMBeanOperationInfo.java:
10018 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10019 (toString()): Corrected documentation.
10021 2006-08-01 Tania Bento <tbento@redhat.com>
10023 * java/awt/Choice.java
10024 (remove(int)): Added documentation.
10026 2006-08-01 Tania Bento <tbento@redhat.com>
10028 * java/awt/Choice.java
10029 (remove(int)): An IllegalArgumentException should not be thrown
10030 if int is invalid. Update selectedIndex and peer selection.
10032 2006-08-01 Tania Bento <tbento@redhat.com>
10034 * java/awt/CardLayout.java
10035 (toString): Changed format of string outputted.
10036 (goToComponent): Changed the order of the if-clause.
10038 2006-07-31 Tom Tromey <tromey@redhat.com>
10040 * INSTALL: Updated for ASM.
10042 2006-07-31 Tom Tromey <tromey@redhat.com>
10045 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10046 (attachment): Likewise.
10047 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10049 (isValid): Likewise.
10050 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10052 (interestOps): Synchronize.
10053 (readyOps): Likewise.
10054 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10057 2006-07-31 Roman Kennke <kennke@aicas.com>
10059 * NEWS: Added note about the X peers.
10060 * INSTALL: Added install notes about the X peers.
10062 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10064 * StrictMath.java (getLowDWord): Return long instead of int.
10065 (getHighDWord): Likewise.
10066 (buildDouble): Take two long arguments.
10067 (cbrt): Adapted to int -> long change.
10071 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10073 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10076 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10078 * java/security/Provider.java: Updated copyright year.
10079 Updated documentation.
10081 (put): Updated documentation.
10082 Added security manager check.
10083 Canonicalize the key before adding its mapping.
10084 (get): Override superclass implementation to use canonicalized keys.
10085 (remove): Updated documentation.
10086 Added security manager check.
10087 Canonicalize the key before removing its mapping.
10088 (clear): Updated documentation.
10089 Added security manager check.
10090 (toCanonicalKey): New method.
10092 2006-07-30 Matt Wringe <mwringe@redhat.com>
10094 * gnu/java/security/Engine.java
10095 (getInstance): Ignore self referencing aliases.
10097 2006-07-30 Mark Wielaard <mark@klomp.org>
10099 * javax/swing/JComponent.java (getListeners): Revert
10102 2006-07-30 Mark Wielaard <mark@klomp.org>
10104 * resource/java/security/classpath.security: Add /dev/urandom as
10105 default securerandom.source.
10107 2006-07-30 Mark Wielaard <mark@klomp.org>
10109 * java/util/GregorianCalendar.java (maximums): Months can have up to
10111 (nonLeniencyCheck): weeks is either 5 or 6.
10113 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10115 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10116 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10119 2006-07-30 Matt Wringe <mwringe@redhat.com>
10121 * gnu/java/security/Engine.java
10122 (getInstance): Ignore self referencing aliases.
10124 2006-07-30 Sven de Marothy <sven@physto.se>
10126 * java/awt/Choice.java:
10127 (accessibleAction): Call select() directly.
10128 (add, insert, remove): Reimplement.
10129 (dispatchEventImpl): Always call super.
10130 (processItemEvent): Does not set the index.
10131 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10132 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10134 (nativeAdd): Name changed to add.
10135 (selection_changed_cb): Simplify callback.
10136 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10137 (selected): New field.
10138 (add): Replaced with native impl.
10139 (handleEvent): New method.
10141 2006-07-30 Sven de Marothy <sven@physto.se>
10143 * java/awt/Choice.java:
10144 Reformat, fix copyright year.
10146 2006-07-29 Mark Wielaard <mark@klomp.org>
10148 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10149 static field isPaintingDoubleBuffered to not have the same name
10152 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10154 * examples/gnu/classpath/examples/management/TestBeans.java:
10156 * javax/management/MBeanAttributeInfo.java:
10157 (toString()): Implemented.
10158 * javax/management/MBeanConstructorInfo.java:
10159 (toString()): Implemented.
10160 * javax/management/MBeanFeatureInfo.java:
10161 (toString()): Implemented.
10162 * javax/management/MBeanInfo.java:
10163 (toString()): Implemented.
10164 * javax/management/MBeanNotificationInfo.java:
10165 (toString()): Implemented.
10166 * javax/management/MBeanOperationInfo.java:
10167 (toString()): Implemented.
10168 * javax/management/MBeanParameterInfo.java:
10169 (toString()): Implemented.
10170 * javax/management/StandardMBean.java:
10171 (getMBeanInfo()): Fix attribute naming.
10173 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10175 * gnu/java/lang/management/BeanImpl.java:
10176 Extended javax.management.StandardMBean.
10177 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10178 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10179 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10180 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10181 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10182 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10183 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10184 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10185 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10186 Call the superclass with the appropriate class.
10187 * java/lang/management/ManagementFactory.java:
10188 (getOperatingSystemMXBean()): Catch exception from
10190 (getRuntimeMXBean()): Likewise.
10191 (getClassLoadingMXBean()): Likewise.
10192 (getThreadMXBean()): Likewise.
10193 (getMemoryMXBean()): Likewise.
10194 (getCompilationMXBean()): Likewise.
10195 (getMemoryPoolMXBeans()): Likewise.
10196 (getMemoryManagerMXBeans()): Likewise.
10197 (getGarbageCollectorMXBeans()): Likewise.
10198 * javax/management/MBeanFeatureInfo.java:
10199 hashCode()): Fixed to check for null values.
10201 2006-07-29 Matt Wringe <mwringe@redhat.com>
10203 * gnu/java/security/Engine.java
10204 (getInstance): Add case insentivity to algorithm names
10205 * java/security/Provider.java
10206 (put): Stop using canonical key naming
10208 (toCanonicalKey): Method removed
10209 (get): Method removed, no longer needs to overwrite
10210 parent implementation
10212 2006-07-29 Mark Wielaard <mark@klomp.org>
10214 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10215 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10216 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10217 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10218 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10219 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10222 2006-07-29 Sven de Marothy <sven@physto.se>
10224 * java/math/BigDecimal.java
10225 Adjust copyright date.
10226 (divide(BigDecimal): Implement.
10227 (precision): Reimplement.
10228 (numDigitsInBigInteger, numDigitsInLong): Removed.
10229 (toString): Get exponent from string length,
10230 fix negative values with exponential form.
10231 (toEngineeringString): Same as for toString.
10232 (setScale): Throw ArithmeticException if scale < 0.
10234 2006-07-27 Francis Kung <fkung@redhat.com>
10236 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10237 (cp1): Renamed from first().
10238 (c2): Renamed from last().
10239 (first): Renamed to cp1().
10240 (getDisplacedSegments): Implemented.
10241 (last): Renamed to cp2().
10242 * gnu/java/awt/java2d/LineSegment.java
10243 (cp1): Renamed from first().
10244 (c2): Renamed from last().
10245 (first): Renamed to cp1().
10246 (last): Renamed to cp2().
10247 * gnu/java/awt/java2d/QuadSegment.java
10248 (cp1): Renamed from first().
10249 (c2): Renamed from last().
10250 (first): Renamed to cp1().
10251 (last): Renamed to cp2().
10252 * gnu/java/awt/java2d/Segment.java: Added comments.
10253 (first): New field.
10254 (Segment): Keep track of first element in list.
10255 (add): Update first & last element variables.
10256 (cp1): Renamed from first().
10257 (c2): Renamed from last().
10258 (first()): Renamed to cp1() to reduce ambiguity.
10259 (last()): Renamed to cp2() to reduce ambiguity.
10260 (reverseAll): Update first element variable..
10261 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10262 (draw): Remove flattening path iterator.
10263 * java/awt/BasicStroke.java: Clarified comments.
10264 (addSegments): Refactored some code into joinSegments and
10266 (capEnd): Rename of Segment.first() and Segment.end().
10267 (joinInnerSegments): New method.
10268 (joinOuterSegments): New method.
10269 (joinSegments): Refactored some code into joinOuterSegments.
10270 (solidStroke): Connect segments together properly.
10272 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10274 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10276 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10278 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10280 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10283 2006-07-28 Tom Tromey <tromey@redhat.com>
10285 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10287 2006-07-28 Lillian Angel <langel@redhat.com>
10289 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10290 Removed function declarations.
10291 (connect_signals_for_widget): Removed implementation because
10292 stub functions have been removed.
10293 (drag_begin_cb): Removed function.
10294 (drag_motion_cb): Likewise.
10295 (drag_data_get_cb): Likewise.
10296 (drag_data_delete_cb): Likewise.
10297 (drag_drop_cb): Likewise.
10298 (drag_end_cb): Likewise.
10299 (drag_data_received_cb): Likewise.
10301 2006-07-28 Mark Wielaard <mark@klomp.org>
10303 * configure.ac: Set version to 0.93-pre.
10305 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10307 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10309 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10311 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10312 (getCallbackHandler): Fully qualify linked class in javadoc.
10313 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10314 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10315 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10317 2006-07-27 Tom Tromey <tromey@redhat.com>
10319 PR classpath/28486:
10320 * java/net/URLStreamHandler.java (equals): Properly handle default
10321 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10323 2006-07-27 Roman Kennke <kennke@aicas.com>
10325 * javax/swing/text/AbstractDocument.java
10326 (documentCV): Made field private.
10327 (bypass): Made field private.
10328 (bidiRoot): New field.
10329 (AbstractDocument): Initialize bidiRoot.
10330 (getBidiRootElement): Return bidiRoot.
10331 (getRootElements): Adjusted to also return the bidiRoot element.
10332 (BranchElement.startOffset): Removed unneeded field.
10333 (BranchElement.endOffset): Removed unneeded field.
10334 (BranchElement.BranchElement): Removed unneeded fields.
10335 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10336 done automatically when there's no element left in the array.
10337 (BranchElement.getStartOffset): Likewise.
10338 (BranchElement.replace): Reordered calculations to avoid double
10340 (removeImpl): Silently ignore requests with length <= 0.
10341 * javax/swing/text/GapContent.java
10342 (createPosition): Removed explicit check for correct offset.
10343 This class can deal with offsets outside the document.
10344 (shiftEnd): Update all positions, even those outside the
10346 (adjustPositionsInRange): Fixed to also adjust positions outside
10347 the document boundary.
10349 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10351 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10353 (getParameter): Returns _klass field instead of determining
10354 class from _instance.
10355 (setCatchLoc): New method.
10356 (writeData): Now assumes Location deals with empty locations instead of
10358 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10359 locations and write out accordingly.
10360 (getEmptyLocation): New method.
10362 2006-07-27 Roman Kennke <kennke@aicas.com>
10364 * javax/swing/text/SimpleAttributeSet.java
10365 (EMPTY): Use EmptyAttributeSet for this field rather than
10366 SimpleAttributeSet.
10367 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10368 an empty and immutable AttributeSet.
10370 2006-07-27 Roman Kennke <kennke@aicas.com>
10372 * java/awt/Component.java
10373 (reshape): Invalidate the component itself only when the
10374 size has changed. Invalidate the parent always. Fixed
10375 repainting. Pulled out the notification into
10377 (notifyReshape): New helper method. Notify interested listeners
10379 (update): Simply call paint() without clearing the background.
10380 This is done in Container.update() if appropriate.
10381 (repaint): Delagate the repaint to the nearest heavyweight
10382 parent (for lightweights) and send an UPDATE event, rather than
10383 calling ComponentPeer.repaint().
10384 * java/awt/Container.java
10385 (backCleared): Removed field.
10386 (paint): Removed handling of backCleared flag.
10387 (update): Only paint if the container is actually
10388 showing. Removed handling of backCleared flag.
10390 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10392 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10394 (NavigateAction): New inner class.
10395 (NavigatePageDownAction): New inner class.
10396 (NavigatePageUpAction): New inner class.
10397 (RequestFocusAction): New inner class.
10398 (RequestFocusForVisibleComponentAction): New inner class.
10399 (FocusHandler.focusGained): Implemented.
10400 (FocusHandler.focusLost): Implemented.
10401 (MouseHandler.mouseReleased): Implemented.
10402 (MouseHandler.mousePressed): Rewritten.
10403 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10404 currentScrollLocation to 0.
10405 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10406 removed local variables, fixed indentation to stay under 80 column
10408 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10409 one, set selectedIndex to 0 if its negative, corrected start values
10410 for normalization, suppressed padding when only one tab run,
10411 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10412 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10413 80 column limit, corrected the starting value for the bounds fixing
10415 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10416 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10417 selectedRun, set start index for loop to 0.
10418 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10419 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10420 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10421 alignment and visibility handling.
10422 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10424 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10425 (currentScrollOffset): New field.
10426 (tabRuns): Rewritten documentation.
10427 (selectedColor): New field.
10428 (tempTextRect): New field.
10429 (tempIconRect): New field.
10430 (scrollTab): New method.
10431 (updateButtons): New method.
10432 (updateViewPosition): New method.
10433 (createLayoutManager): Reordered method calls, predefine new fields,
10434 register proper listeners.
10435 (uninstallComponents): Implemented.
10436 (installDefaults): Corrected property names, fixed indentation,.
10437 (uninstallDefaults): Set new fields to null.
10438 (uninstallListeners): Remove listeners from components neccessary for
10439 scrolling tab layout.
10440 (installKeyboardActions): Implemented.
10441 (uninstallKeyboardActions): Implemented.
10442 (paint): Paint tab area background.
10443 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10445 (getTabLabelShiftX): Rewritten.
10446 (getTabLabelShiftY): Rewritten.
10447 (paintFocusIndicator): Reindented.
10448 (paintTabBorder): Rewritten.
10449 (paintTabBackground): Corrected color usage, rewritten background
10450 rectangle painting.
10451 (paintContentBorderTopEdge): Rewritten.
10452 (paintContentBorderBottomEdge): Rewritten.
10453 (paintContentBorderLeftEdge): Rewritten.
10454 (paintContentBorderRightEdge): Rewritten.
10455 (tabForCoordinate): Return selected index when no tab could be
10456 found, removed FIXME note.
10457 (getRunForTab): Changed return value for first if-statement.
10458 (navigateSelectedTab): Fixed last argument for both
10459 getTabRunOffset() calls.
10460 (selectedNextTabInRun): Added scrolling code.
10461 (selectedPreviousTabInRun): Added scrolling code.
10462 (selectedNextTab): Added scrolling code.
10463 (selectedPreviousTab): Added scrolling code.
10464 (selectAdjacentRunTab): Added scrolling code.
10465 (getTextViewForTab): Added FIXME note.
10466 (calculateTabHeight): Changed FIXME note.
10467 (getTabRunOffset): Fixed indentation.
10468 (getNextTabIndexInRun): Corrected return value.
10469 (rotateInsets): Make TOP case the default in switch-statement.
10470 (getActionMap): New method.
10471 (createActionMap): New method.
10472 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10473 (createLayoutManager): Rewritten.
10474 (paintLeftTabBorder): Do not paint left line when previous tab
10475 is selected but current tab is the first in its run, do not paint
10476 left line when current tab is selected and is first in its run.
10477 (paintRightTabBorder): Added missing setColor() call, fixed color
10478 usage, do not paint right line if previous tab is selected but
10479 current tab is the first in its run.
10480 (paintBottomTabBorder): Do not paint left line if tab is selected
10481 and is the first tab in the last run.
10482 (paintFocusIndicator): New method.
10483 (getLabelShiftX): New method.
10484 (getLabelShiftY): New method.
10486 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10488 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10489 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10490 g_assert from unused obj.
10491 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10492 obj as unused and remove g_assert on it.
10494 2006-07-26 Roman Kennke <kennke@aicas.com>
10496 * javax/swing/RepaintManager.java
10497 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10499 (isCompletelyDirty): Consider a component completely dirty
10500 when it has a dirty region with Integer.MAX_VALUE.
10502 2006-07-26 Roman Kennke <kennke@aicas.com>
10504 * java/awt/KeyboardFocusManager.java
10505 (getGlobalFocusOwner): Explicitly check for thread security.
10506 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10507 (getGlobalFocusedWindow): Explicitly check for thread security.
10508 (getGlobalActiveWindow): Explicitly check for thread security.
10509 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10510 (getGlobalObject): Added new argument for specifying if
10511 a security check should be performed or not.
10512 (setGlobalObject): Don't check for thread security when
10513 calling getGlobalObject.
10515 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10517 * javax/management/MBeanConstructorInfo.java:
10519 * javax/management/MBeanInfo.java:
10520 (MBeanInfo(String,String,MBeanAttributeInfo[],
10521 MBeanConstructorInfo[], MBeanOperationInfo[],
10522 MBeanNotificationInfo[])): Implemented.
10523 (equals(Object)): Likewise.
10524 (getAttributes()): Likewise.
10525 (getConstructors()): Likewise.
10526 (getOperations()): Likewise.
10527 (hashCode()): Likewise.
10528 * javax/management/MBeanOperationInfo.java,
10529 * javax/management/NotCompliantMBeanException.java,
10530 * javax/management/StandardMBean.java:
10533 2006-07-26 Sven de Marothy <sven@physto.se>
10535 * java/awt/geom/GeneralPath.java: Fix severe typo.
10537 2006-07-26 Sven de Marothy <sven@physto.se>
10539 * include/java_lang_VMSystem.h
10540 * vm/reference/java/lang/VMSystem.java
10541 * native/jni/java-lang/java_lang_VMSystem.c
10542 (nanoTime, currentTimeMillis): Switch the former to native code and
10543 the latter to java.
10545 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10547 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10548 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10549 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10550 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10551 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10552 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10553 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10554 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10555 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10556 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10557 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10558 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10559 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10560 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10561 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10562 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10563 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10564 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10565 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10566 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10567 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10569 2006-07-26 Roman Kennke <kennke@aicas.com>
10571 * java/awt/KeyboardFocusManager.java
10572 (getFocusOwner): Don't check permanent owner.
10573 (getGlobalFocusOwner): Don't check permanent owner.
10575 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10577 * StrictMath.java (cosh): New method.
10578 (expm1): New method.
10579 (EXPM1_Q1): New field.
10580 (EXPM1_Q2): Likewise.
10581 (EXPM1_Q3): Likewise.
10582 (EXPM1_Q4): Likewise.
10583 (EXPM1_Q6): Likewise.
10585 2006-07-26 Roman Kennke <kennke@aicas.com>
10587 * javax/swing/plaf/basic/BasicButtonListener.java
10588 (mousePressed): Request focus if appropriate.
10589 * javax/swing/text/DefaultCaret.java
10590 (mousePressed): Also handle the focus of the text component
10591 as specified. Don't consume events.
10593 2006-07-26 Roman Kennke <kennke@aicas.com>
10595 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10596 (focusRequest): Removed field.
10597 (postFocusEvent(int,boolean,Component)): Removed.
10598 (postFocusEvent(int,boolean)): Reverted to post event using
10599 the heavyweight component.
10600 (requestFocus): Post focus event using the heavyweight
10602 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10603 (requestFocus): Post focus event using the heavyweight
10605 * java/awt/AWTEvent.java
10606 (isFocusManagerEvent): New field, indicating if this is
10607 an event that is redispatched by the KeyboardFocusManager.
10608 * java/awt/Component.java
10609 (requestFocusImpl): Register component for
10610 heavyweight->lightweight mapping.
10611 (dispatchEventImpl): Retarget focus events before dispatching
10612 to the KeyboardFocusManager. Use new AWTEvent flag instead
10613 of locking hack. Dispatch all events through the
10614 KeyboardFocusManager. Don't request focus on lightweight
10616 * java/awt/DefaultKeyboardFocusManager.java
10617 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10619 (handleFocusGained): Fixed handling of temporary vs permanent
10620 focus changes. Added some checks.
10621 (handleFocusLost): Fixed handling of temporary vs permanent
10622 focus changes. Added some checks.
10623 * java/awt/EventDispatchThread.java
10624 (run): Don't dispatch to KeyboardFocusManager here. This
10625 is done in Component.dispatchEventImpl().
10626 * java/awt/KeyboardFocusManager.java
10627 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10628 (focusRequests): New field.
10629 (retargetFocusEvent): New method. Retargets focus events
10630 that come from heavyweights to the correct lightweight component.
10631 (addLightweightFocusRequest): New method. Stores a mapping
10632 for later retargetting of heavyweight focus events.
10633 * java/awt/Window.java
10634 (addFocusListener): Removed bogus method. If at all, this
10635 should be performed in the KeyboardFocusManager.
10636 (Window): Don't install a focus listener on the Window.
10638 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10640 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10641 (drawLine): Apply shift to line coordinates.
10643 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10645 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10646 (copyimage): Do not call setRenderingHints() when the respective map
10648 (filter): Removed code to clone the ColorModel instance.
10649 * java/awt/image/ColorModel.java:
10650 (cloneColorModel): Removed.
10652 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10654 * javax/swing/JTabbedPane.java:
10655 (setSelectedIndex): Removed updating of component visibility status,
10657 (remove(Component)): Use indexOfComponent() to find whether we have
10658 to use super.remove(int) or removeTabAt().
10660 2006-07-26 Roman Kennke <kennke@aicas.com>
10662 * javax/swing/JOptionPane.java
10663 (createDialog): Add property change handler for closing
10664 the dialog when the value property changes.
10665 (ValuePropertyHandler): New inner helper class.
10666 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10667 (OptionPaneCloseAction): New class.
10668 (messageForeground): Removed field.
10669 (messageBorder): Removed field.
10670 (buttonBorder): Removed field.
10671 (addIcon): Configure the new label.
10672 (addMessageComponents): Configure newly created labels.
10673 (burstStringInto): Likewise.
10674 (createButtonArea): Install border here.
10675 (createMessageArea): Install border and foreground here.
10676 (createSeparator): Added comment and removed
10677 NotImplementedException.
10678 (installComponents): Don't install the UI defaults for the
10679 message and button area here. This is moved to the
10680 corresponding create* methods. Adjusted comment about
10682 (installDefaults): Removed initialization of removed fields.
10683 (installKeyboardActions): Implemented.
10684 (getActionMap): New helper method.
10685 (createDefaultActions): New helper method.
10686 (uninstallDefaults): Removed de-initialization of removed fields.
10687 (uninstallKeyboardActions): Implemented.
10688 (configureLabel): New helper method.
10689 * javax/swing/plaf/basic/BasicTableUI.java
10690 (getActionMap): Fixed the UI property names.
10691 * javax/swing/plaf/basic/BasicToolBarUI.java
10692 (getActionMap): Fixed the UI property names.
10694 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10696 * java/awt/image/BandedSampleModel.java
10697 (getDataElements): Check for negative x or y,
10698 (getPixels): Likewise,
10699 (getSamples): Likewise,
10700 (setSamples): Likewise.
10702 2006-07-26 Roman Kennke <kennke@aicas.com>
10704 * javax/swing/plaf/basic/BasicToolBarUI.java
10705 (ToolBarAction): New inner class for handling keyboard
10707 (installKeyboardActions): Implemented.
10708 (getActionMap): New helper method.
10709 (createDefaultActions): New helper method.
10710 (installListeners): Install focus listener on toolbar's
10711 children, rather than the toolbar itself.
10712 (navigateFocusedComp): Implemented.
10713 (uninstallKeyboardActions): Implemented.
10714 (uninstallListeners): Uninstall focus listener from
10715 toolbar's children, rather than the toolbar itself.
10716 (ToolBarContListener.componentAdded): Install focus
10717 listener on added child.
10718 (ToolBarContListener.componentRemoved): Uninstall focus
10719 listener from removed child.
10720 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10721 (ToolBarFocusListener.focusGained): Implemented.
10722 (ToolBarFocusListener.focusLost): Implemented.
10724 2006-07-26 Roman Kennke <kennke@aicas.com>
10726 * java/awt/DefaultKeyboardFocusManager.java
10727 (dispatchEvent): Notify old focus owner when it has lost
10730 2006-07-26 Roman Kennke <kennke@aicas.com>
10732 * javax/swing/plaf/basic/BasicTableUI.java
10733 (FocusHandler.focusGained): Implemented to refresh the
10735 (FocusHandler.focusLost): Implemented to refresh the
10737 (FocusHandler.repaintLeadCell): New helper method.
10738 (MouseInputHandler.mouseEntered): Do nothing here.
10739 (MouseInputHandler.mouseExited): Do nothing here.
10740 (MouseInputHandler.mouseMoved): Do nothing here.
10741 (installKeyboardActions): Rewritten to use a shared InputMap
10742 and ActionMap and correctly install the maps via SwingUtilities
10744 (getActionMap): New helper method.
10745 (createDefaultActions): New helper method.
10746 (ActionListenerProxy): Removed unneeded class.
10747 (TableAction): Made class static.
10748 (TableAction.actionPerformed): Determine table by fetching
10749 the event source. Pass the table to helper methods.
10750 Use __command__ hack to determine the action command.
10751 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10752 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10753 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10754 (TableAction.getLastVisibleRowIndex): Get table as argument.
10755 (TableAction.advanceMultipleSelection): Get table as argument.
10756 (uninstallDefaults): Do nothing here.
10757 (uninstallKeyboardActions): Uninstall the keyboard actions.
10759 2006-07-26 Roman Kennke <kennke@aicas.com>
10761 * javax/swing/JComponent.java
10762 (processKeyBinding): Store the action command as property
10763 in the Action instance that we call. This allows for
10764 improvement on the side of the Action.
10766 2006-07-26 Roman Kennke <kennke@aicas.com>
10768 * javax/swing/plaf/metal/MetalUtils.java
10769 (fillMetalPattern): Use fillRect() instead of drawLine() to
10770 fill single pixels.
10772 2006-07-26 Roman Kennke <kennke@aicas.com>
10774 * javax/swing/text/GapContent.java
10775 (getChars): Check for negative length and throw
10776 BadLocationException.
10778 2006-07-26 Roman Kennke <kennke@aicas.com>
10780 * javax/swing/plaf/basic/BasicMenuBarUI.java
10781 (FocusAction): Made class static.
10783 2006-07-26 Roman Kennke <kennke@aicas.com>
10785 * javax/swing/plaf/basic/BasicLookAndFeel.java
10786 (initComponentDefaults): Add keyboard bindings for
10789 2006-07-26 Roman Kennke <kennke@aicas.com>
10791 * javax/swing/UIManager.java
10792 (getLookAndFeelDefaults): Return the look and feel defaults.
10793 (setLookAndFeel): Improved exception messsage.
10795 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10797 * javax/swing/text/StringContent.java
10798 (StringContent): Changed initialLength to 10.
10800 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10802 * java/util/Vector.java: Fixed API doc typo.
10804 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10806 * java/awt/image/BandedSampleModel.java
10807 (createCompatibleSampleModel): Fixed typo in loop increment, set
10808 correct scanlineStride, and updated API docs.
10810 2006-07-25 Roman Kennke <kennke@aicas.com>
10812 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10813 (NavigateAction): New inner class. This is responsible for
10814 keyboard navigation through menus.
10815 (KeyboardHelper): New inner class. This manages the
10816 keyboard mappings and focus when a popup opens or closes.
10817 (keyboardHelper): New static field.
10818 (numPopups): New static field.
10819 (installUI): Create KeyboardHelper for first popup.
10820 Call installKeyboardActions().
10821 (installKeyboardActions): Removed NotImplementedException.
10822 This method is a no-op.
10823 (installKeyboardActionsImpl): New method. Installs keyboard
10824 mapping when a popup is opened.
10825 (getActionMap): New helper method.
10826 (createDefaultActions): New helper method.
10827 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10828 uninstalled. Call uninstallKeyboardActions().
10829 (uninstallKeyboardActions): Removed NotImplementedException.
10830 This method is a no-op.
10831 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10832 mapping when a popup is closed.
10834 2006-07-25 Roman Kennke <kennke@aicas.com>
10836 * java/awt/Component.java
10837 (requestFocus()): Reimplemented to use requestFocusImpl().
10838 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10839 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10840 (requestFocusInWindow(boolean)): Reimplemented to use
10841 requestFocusImpl().
10842 (requestFocusImpl): Reimplemented focus request to use
10843 new peer method. Also added some obvious additional checks
10844 for rejecting focus requests early.
10845 * java/awt/ComponentPeer.java
10846 (requestFocus(Component,boolean,boolean,long)): Documented
10848 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10849 (requestFocus): New field.
10850 (gtkWidgetHasFocus): New native method.
10851 (gtkWidgetCanFocus): New native method.
10852 (requestFocus): Replaced with assert false to prevent
10853 usage of obsolete method.
10854 (postFocusEvent(int,boolean,Component)): New overloaded method
10855 for posting the focus event to a specific target.
10856 (postFocusEvent(int,boolean)): Post event to requestFocus
10858 (requestFocus(Component,boolean,boolean,long)): Implemented.
10859 (getWindowFor): New helper method.
10860 (isLightweightDescendant): New helper method.
10861 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10862 (gtkWindowHasFocus): New native method.
10863 (requestFocus(Component,boolean,boolean,long)): New method.
10864 Overrides GtkComponentPeer method to specially handly the
10865 case when a Window receives a focus request for a lightweight
10867 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10868 (gtkWidgetHasFocus): New native method.
10869 (gtkWidgetCanFocus): New native method.
10870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10871 (gtkWindowHasFocus): New native method.
10872 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10873 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10876 2006-07-25 Francis Kung <fkung@redhat.com>
10878 * java/awt/DefaultKeyboardFocusManager.java
10879 (dispatchEvent): Add check for valid component.
10881 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10883 * javax/management/MBeanConstructorInfo.java:
10885 * javax/management/MBeanNotificationInfo.java:
10887 * javax/management/MBeanParameterInfo.java:
10890 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10892 * java/awt/peer/gtk/CairoGraphics.java:
10893 (drawLine): Added special case for 1 pixel lines.
10895 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10898 * java/awt/peer/gtk/CairoGraphics.java:
10899 (drawLine): Removed calls to shifted().
10901 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10903 * javax/swing/JTabbedPane.java:
10904 (remove(Component)): Rewritten.
10905 (setSelectedIndex): Implemented updating of component visibility state.
10907 2006-07-25 Sven de Marothy <sven@physto.se>
10909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10910 (init): Default to the actual depth in the worst case.
10912 * java/awt/Font.java
10913 (createFont(int, File)): New method.
10915 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10918 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10920 (RETokenEnd): New constructer to set check_java_line_terminators.
10921 (matchThis): Checck line terminators if check_java_line_terminators.
10922 * gnu/java/util/regex/RETokenStart.java: Likewise.
10923 * gnu/regexp/RE.java(initialize): Use the new constructors for
10924 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10925 * java/util/regex/Pattern.java(Patteren): Changed so that
10926 gnu/regexp/RE.java may use the new the new constructors.
10928 2006-07-25 Roman Kennke <kennke@aicas.com>
10930 * java/awt/Container.java
10931 (focusTraversalPolicyProvider): New field.
10932 (isFocusTraversalPolicyProvider): New method.
10933 (setFocusTraversalPolicyProvider): New method.
10934 * java/awt/ContainerOrderFocusTraversalPolicy.java
10935 (getFirstComponent): Use accept() instead of lengthy checks.
10936 Don't fetch getComponents() to avoid copying of array.
10937 Traverse down the hierarchy to find the first focused component.
10938 * java/awt/DefaultKeyboardFocusManager.java
10939 (dispatchEvent): Let the initial component request focus.
10941 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10943 * javax/swing/text/Segment.java
10944 (last): Update current index before returning DONE for zero count.
10946 2006-07-24 Mark Wielaard <mark@klomp.org>
10948 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10950 2006-07-25 Roman Kennke <kennke@aicas.com>
10952 * javax/swing/plaf/basic/BasicMenuBarUI.java
10953 (FocusAction): New inner class. Used to grab focus.
10954 (installKeyboardActions): Implemented.
10955 (uninstallKeyboardActions): Implemented.
10956 (getActionMap): New helper method.
10957 (createDefaultActions): New helper method.
10959 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10961 * examples/gnu/classpath/examples/swing/Demo.java:
10962 (mkMenuBar): Install instantiable basic look and feel.
10963 (InstantiableBasicLookAndFeel): New inner class.
10965 2006-07-25 Roman Kennke <kennke@aicas.com>
10967 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10968 (GlassPaneDispatcher.dragTarget): New field.
10969 (GlassPaneDispatcher.isDragging): New field.
10970 (GlassPaneDispatcher.pressedComponent): Removed field.
10971 (GlassPaneDispatcher.tempComponent): Removed field.
10972 (GlassPaneDispatcher.pressCount): Removed field.
10973 (GlassPaneDispatcher.mousePressed): Call
10974 borderListener.mousePressed() to activate the frame.
10975 (acquireComponentForMouseEvent): Removed method.
10976 (handleEvent): Rewritten.
10977 (redispatch): New method.
10978 (InternalFramePropertyChangeListener.propertyChange):
10979 Make glasspane invisible when frame is selected, and visible
10980 if it gets deselected.
10982 2006-07-25 Roman Kennke <kennke@aicas.com>
10984 * java/awt/LightweightDispatcher.java
10985 (handleMouseEvent): Dispatch event to real target if
10986 the dragTarget has become invisible in the meantime.
10988 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10990 * javax/swing/text/TabSet.java
10991 (equals): New method override for 1.5,
10992 (hashCode): Likewise,
10993 (toString): Added spaces to match reference implementation.
10995 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10997 * javax/management/IntrospectionException.java,
10998 * javax/management/MBeanAttributeInfo.java:
11000 * javax/management/MBeanNotificationInfo.java:
11001 Documentation cleanups.
11003 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11005 * javax/swing/text/TabSet.java
11006 (TabSet): Check for null argument,
11007 (getTab): Throw IllegalArgumentException for index out of bounds,
11008 (getTabIndexAfter): Changed test to '<=',
11009 and updated API docs all over,
11010 * javax/swing/text/TabStop.java: Updated API docs.
11012 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
11014 * javax/swing/text/TabStop.java
11015 (toString): Don't use 'left ' prefix, and added space between tab
11016 location and '(w/leader)' suffix.
11018 2006-07-24 Francis Kung <fkung@redhat.com>
11020 * javax/swing/JComboBox.java
11021 (DefaultKeySelectionManager): Implemented.
11022 (createDefaultKeySelectionManager): Implemented.
11023 (getKeySelectionManager): Implemented.
11024 (processKeyEvent): Removed duplicate code.
11025 * javax/swing/JPopupMenu.java
11026 (selectionModel): Changed visibility.
11027 * javax/swing/plaf/basic/BasicComboBoxUI.java
11028 (KeyHandler.keyPressed): Added navigation keys.
11029 (configureEditor): Add key listener.
11030 (installListeners): Install focus listener to combo box.
11031 (isNavigationKey): Added enter, escape, and tab.
11032 (selectPreviousPossibleValue): Added out of bounds check.
11033 (unconfigureEditor): Remove key listener.
11034 * javax/swing/plaf/metal/MetalComboBoxButton.java
11035 (paintComponent): Highlight combo box when in focus.
11037 2006-07-24 Roman Kennke <kennke@aicas.com>
11039 * javax/swing/SwingUtilities.java
11040 (isLeftMouseButton): Fixed condition.
11041 * java/awt/LightweightDispatcher.java
11042 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11045 2006-07-24 Roman Kennke <kennke@aicas.com>
11047 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11048 (setPaint): Fixed scaleX and scaleY.
11050 2006-07-24 Roman Kennke <kennke@aicas.com>
11052 * javax/swing/JTable.java
11053 (handleInsert): Repaint the whole table for variable row
11054 height tables and an optimized region otherwise.
11055 (handleDelete): Likewise.
11056 (handleUpdate): Likewise.
11058 2006-07-24 Mario Torre <neugens@limasoftware.net>
11060 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11061 now explicity registerListeners on GtkMouseDragGestureRecognizer
11063 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11064 (unregisterListeners): new method, overrided from base class
11065 to rise visibility (from protected to public).
11066 (registerListeners): Likewise.
11067 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11068 removed call to registerListeners from the constructor.
11070 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11072 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11073 * java/lang/management/MemoryPoolMXBean.java:
11074 (getType()): Changed return type to MemoryType.
11075 * java/lang/management/MemoryType.java:
11078 2006-07-23 Mark Wielaard <mark@klomp.org>
11080 * configure.ac: Check for moc and moc-qt4.
11082 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11084 * java/awt/image/Kernel.java: API doc updates.
11086 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11088 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11091 2006-07-22 Mark Wielaard <mark@klomp.org>
11093 * java/lang/Iterable.java: Import all of java.util.
11094 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11095 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11097 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11099 * doc/vmintegration.texinfo:
11100 Document getType(String).
11101 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11102 * java/lang/management/MemoryPoolMXBean.java:
11103 (getType()): Implemented.
11104 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11105 (getType(String)): Implemented.
11107 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11109 * doc/vmintegration.texinfo:
11110 Move end of itemization block.
11112 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11114 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11115 (initComponentDefaults): Added new properties, added comments.
11117 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11119 * doc/vmintegration.texinfo:
11120 Mention callback methods.
11121 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11122 (fireNotification(String,String,long,long,long,long,long)):
11123 Made package-private.
11124 (fireThresholdExceededNotification(String,long,long,long,
11125 long,long)): Likewise.
11126 (fireCollectionThresholdExceededNotification(String,long,
11127 long,long,long,long)): Likewise.
11128 * java/lang/management/MemoryMXBean.java:
11129 Document notifications.
11131 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11133 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11134 (fireNotification(String,String,long,long,long,long,long)):
11136 (fireThresholdExceededNotification(String,long,long,long,
11137 long,long)): Likewise.
11138 (fireCollectionThresholdExceededNotification(String,long,
11139 long,long,long,long)): Likewise.
11140 * java/lang/management/MemoryNotificationInfo.java:
11141 Use composite type from MemoryMXBeanImpl.
11142 * javax/management/openmbean/CompositeData.java:
11143 Correct documentation.
11144 * javax/management/openmbean/CompositeDataSupport.java,
11145 * javax/management/openmbean/InvalidKeyException.java:
11148 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11150 * gnu/java/security/util/IntegerUtil.java: New file.
11152 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11155 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11156 (KEY_SIZE): Likewise.
11157 (adjustParity(int,byte[],int): New method.
11158 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11159 (isParityAdjusted(int,byte[],int)): New method.
11160 (isParityAdjusted): Call above method with 3 as 1st argument.
11161 (keySizes): Add 8 and 16 as other valid key sizes.
11162 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11164 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11166 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11167 code for the pixel swap routine to be more efficient.
11169 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11171 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11172 (lastIndexOf(E, int)): Likewise.
11173 (add(E)): Increase the size of newData array by one.
11174 (add(int, E)): Likewise.
11176 2006-07-20 Lillian Angel <langel@redhat.com>
11178 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11179 Removed unused fields.
11180 (GtkMouseDragGestureRecognizer): Removed initializations.
11182 2006-07-20 Lillian Angel <langel@redhat.com>
11184 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11185 (GtkMouseDragGestureRecognizer): New constructor.
11186 (GtkMouseDragGestureRecognizer): New constructor.
11187 (GtkMouseDragGestureRecognizer): New constructor.
11188 (mouseClicked): Removed FIXME.
11189 (mousePressed): Implemented.
11190 (mouseReleased): Implemented.
11191 (mouseEntered): Implemented.
11192 (mouseDragged): Implemented to check mouse point and trigger origin.
11193 (mouseMoved): Removed FIXME.
11194 (getDropActionFromEvent): New helper function used to convert mouse event
11195 modifiers to a drop action.
11196 * java/awt/dnd/DragSource.java
11197 (getDragThreshold): Changed to return some arbitrary value for testing
11200 2006-07-20 Roman Kennke <kennke@aicas.com>
11202 * java/awt/LightweightDispatcher.java
11203 (findTarget): Also consider components that have their eventMask
11204 set, for compatibility with stonage AWT. Optimized check
11206 (handleMouseEvent): Likewise.
11208 2006-07-20 Roman Kennke <kennke@aicas.com>
11210 * javax/swing/JTable.java
11211 (tableChanged): Split out handling of the event into multiple
11213 (handleCompleteChange): New method. Clear the selection and
11214 check the lead/anchor indices.
11215 (handleInsert): New method. Check the lead/anchor indices.
11216 Optimized repainting.
11217 (handleDelete): New method. Check the lead/anchor indices.
11218 Optimized repainting.
11219 (handleUpdate): New method. Optimized repainting.
11220 (checkSelection): New helper method.
11221 (setSelectionModel): Update lead/anchor indices.
11223 2006-07-20 Lillian Angel <langel@redhat.com>
11226 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11227 (dispose): Reset all fields.
11229 2006-07-20 Roman Kennke <kennke@aicas.com>
11231 * gnu/java/awt/peer/x/XToolkit.java
11232 (createImage(InputStream)): Only copy image to Pixmap if
11233 it's actually opaque. Transparent images are left as
11234 BufferedImage and composited later onto the screen.
11235 * gnu/java/awt/peer/x/XGraphics.java
11236 (XGraphics): Fetch some parameters for image rendering.
11237 (drawImage): Added special handling of transparent images.
11238 (getRGB): New helper method.
11239 (setRGB): New helper method.
11241 2006-07-20 Roman Kennke <kennke@aicas.com>
11243 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11244 ImageInputStreams as normal InputStreams.
11245 * gnu/javax/imageio/gif/GIFStream.java:
11246 Moved to gnu/javax/imageio/IIOInputStream.java.
11247 * gnu/javax/imageio/gif/GIFImageReader.java
11248 (readImage): Use IIOInputStream.
11249 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11250 (canDecodeInput): Use IIOInputStream.
11251 * gnu/javax/imageio/png/PNGException.java: Make subclass
11253 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11254 Implements the ImageIO ImageReader for PNG.
11255 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11256 Implements the ImageIO ImageReaderSpi for PNG.
11257 * javax/imageio/spi/IIORegistry.java:
11258 (IIORegistry): Add PNGImageReaderSpi.
11260 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11262 * java/awt/image/ComponentSampleModel.java
11263 (getPixel): Added argument check,
11264 (getSample): Modified exception message.
11266 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11269 * java/awt/image/ConvolveOp.java
11270 (filter(Raster, WritableRaster)): Reimplemented,
11271 (fillEdge): New private method.
11273 2006-07-19 Keith Seitz <keiths@redhat.com>
11275 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11276 (JVMTI_VERSION): Define.
11278 2006-07-19 Roman Kennke <kennke@aicas.com>
11280 * resource/gnu/regexp/MessagesBundle.properties,
11281 * resource/gnu/regexp/MessagesBundle_fr.properties,
11282 * resource/gnu/regexp/MessagesBundle_it.properties:
11283 Moved to resource/gnu/java/util/regex.
11284 * resource/gnu/java/util/regex/MessagesBundle.properties,
11285 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11286 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11288 * gnu/java/util/regex/RE.java
11289 Use new resource bundle location.
11291 2006-07-19 Roman Kennke <kennke@aicas.com>
11293 * javax/swing/JComponent.java
11294 (paintChildren): Refactored. The paintChildrenOptimized method
11295 has been moved back in here. Added locking of the tree and
11296 only check for completely obscured child components
11297 when not optimized drawing enabled. Use Graphics.create() to
11298 protect from irreversible changes.
11299 (isCompletelyObscured): New helper method.
11300 (paintComponent): Also use Graphics.create() for Graphics2D,
11301 to protect from irreverible changes.
11302 (clipAndTranslateGraphics): Refactored to use more efficient
11303 iterative (vs recursive) approach.
11304 * javax/swing/RepaintManager.java
11305 (getOffscreenBuffer): Create image from root component.
11307 2006-07-19 Roman Kennke <kennke@aicas.com>
11309 * gnu/java/awt/peer/x/XGraphics.java
11310 (translate): Don't set the clip on the X server.
11311 (clipRect): Use setXClip() to set the clip on the X server.
11312 (hitClip): More efficient and correct implementation.
11313 (setClip): Use setXClip() to set the clip on the X server.
11314 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11315 (copyArea): Translate and clip the source rectangle correctly.
11316 (dispose): Only flush when object is not yet disposed.
11317 (clone): Use setXClip() to set the clip on the X server.
11319 2006-07-19 Sven de Marothy <sven@physto.se>
11321 * gnu/javax/imageio/png/PNGChunk.java,
11322 * gnu/javax/imageio/png/PNGData.java,
11323 * gnu/javax/imageio/png/PNGDecoder.java,
11324 * gnu/javax/imageio/png/PNGEncoder.java,
11325 * gnu/javax/imageio/png/PNGException.java,
11326 * gnu/javax/imageio/png/PNGFile.java,
11327 * gnu/javax/imageio/png/PNGFilter.java,
11328 * gnu/javax/imageio/png/PNGGamma.java,
11329 * gnu/javax/imageio/png/PNGHeader.java,
11330 * gnu/javax/imageio/png/PNGICCProfile.java,
11331 * gnu/javax/imageio/png/PNGPalette.java,
11332 * gnu/javax/imageio/png/PNGPhys.java,
11333 * gnu/javax/imageio/png/PNGTime.java:
11336 2006-07-19 Sven de Marothy <sven@physto.se>
11338 * java/net/Inet6Address.java:
11339 (getScopedId, getScopedInterface): New methods.
11341 2006-07-19 Lillian Angel <langel@redhat.com>
11343 * examples/gnu/classpath/examples/awt/Demo.java
11344 (DragDropWindow): Fixed typo in Label text.
11345 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11346 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11347 (startDrag): Initialized context field.
11348 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11350 (dragEnter): New function.
11351 (dragExit): Likewise.
11352 (dragDropEnd): Likewise.
11353 (dragMouseMoved): Likewise.
11354 (dragOver): Likewise.
11355 (dragActionChanged): Likewise.
11357 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11360 * resource/java/security/classpath.security: Updated copyright year.
11361 (auth.login.defaultCallbackHandler): New property; set to our default
11362 callback handler. This is needed by the LoginContext when no callback
11363 handler was specified.
11364 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11365 (LoginContext(4)): Assign passed parameters to local fields before invoking
11368 2006-07-19 Roman Kennke <kennke@aicas.com>
11370 * gnu/java/awt/peer/x/XGraphics.java
11371 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11372 Fixed ordering of parameters.
11374 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11376 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11377 (MemoryMXBeanImpl()): Implemented.
11378 (ListenerData): New private class.
11379 (addNotificationListener(NotificationListener,
11380 NotificationFilter, Object)): Implemented.
11381 (getNotificationInfo()): Likewise.
11382 (removeNotificationListener(NotificationListener)):
11384 (removeNotificationListener(NotificationListener,
11385 NotificationFilter, Object)): Likewise.
11387 2006-07-18 Roman Kennke <kennke@aicas.com>
11389 * gnu/java/awt/peer/x/XFontPeer.java
11390 (encodeFont): Be more flexible with font sizes.
11391 (validSize): New helper method.
11392 * gnu/java/awt/peer/x/XGraphics.java
11393 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11395 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11397 * gnu/java/awt/peer/x/XImage.java
11398 (properties): New field.
11399 (getProperty): Implemented.
11400 * resource/gnu/java/awt/peer/x/fonts.properties:
11401 Added copyright header. Fixed font size field.
11403 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11405 * java/awt/image/BandedSampleModel.java
11406 (createDataBuffer): New method override,
11407 * java/awt/image/ByteLookupTable.java
11408 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11409 (ByteLookuptable(int, byte[])): Check for null array,
11410 * java/awt/image/ComponentSampleModel.java
11411 (createDataBuffer): Removed unnecessary braces,
11412 (getSample): Check (x, y) is within bounds,
11413 * java/awt/image/ShortLookupTable.java
11414 (ShortLookupTable(int, short[][])): Create new array to hold references,
11415 (ShortLookupTable(int, short[])): Check for null array,
11416 (getTable): Added API docs,
11417 (lookupPixel): Source reformatting.
11419 2006-07-18 Tania Bento <tbento@redhat.com>
11421 * java/awt/GridLayout.java
11422 (setHgap): Illegal Argument Exception should not be thrown if
11424 (setVgap): Illegal Argument Exception should not be thrown if
11426 (toString): Opening square braket ([) should appear before hgap
11427 value, not the name of the class.
11429 2006-07-18 Roman Kennke <kennke@aicas.com>
11431 * lib/copy-vmresources.sh.in: Reverted.
11432 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11433 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11435 2006-07-18 Roman Kennke <kennke@aicas.com>
11437 * lib/copy-vmresources.sh.in: Include properties from X peers.
11439 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11442 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11443 certificate validity.
11444 (getIssuerName): New method.
11445 (getSubjectName): Likewise.
11446 (getNotAfterDate): Likewise.
11447 (getNotBeforeDate): Likewise.
11448 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11449 messages for newly added messages in SFHelper.
11451 2006-07-18 Roman Kennke <kennke@aicas.com>
11453 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11454 * gnu/java/awt/peer/x/XEventPump.java
11455 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11456 * gnu/java/awt/peer/x/XFramePeer.java
11457 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11458 * gnu/java/awt/peer/x/XGraphics.java
11459 Made subclass of Graphics rather than Graphics2D. Removed
11460 all Graphics2D specific method stubs.
11461 (setColor): Map colors using the X color map that is
11462 stored in XToolkit.
11463 * gnu/java/awt/peer/x/XToolkit.java
11464 (colorMap): New field.
11465 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11467 (createDialog): Implemented.
11468 (createImage(ImageProducer)): Implemented.
11469 (createImage(InputStream)): Use createImage(ImageProducer)
11470 to convert the BufferedImage to an XImage.
11471 * gnu/java/awt/peer/x/XWindowPeer.java
11472 (XWindowPeer): Removed debug output.
11474 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11476 * java/awt/image/BufferedImageOp.java: API docs added,
11477 * java/awt/image/RasterOp.java: Likewise.
11479 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11481 * java/awt/Graphics2D.java: API docs updated.
11483 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11485 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11488 2006-07-18 Sven de Marothy <sven@physto.se>
11490 * java/net/Inet6Address.java:
11491 Add 1.5 serialized fields.
11492 (getByAddress): New methods.
11493 (readObject, writeObject): New methods.
11494 (equals): Reimplement.
11496 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11498 * java/awt/image/Raster.java: Added API docs and reformatted source
11501 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11503 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11505 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11506 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11507 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11508 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11509 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11510 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11511 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11512 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11513 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11514 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11515 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11516 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11517 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11518 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11519 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11520 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11521 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11522 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11523 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11524 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11525 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11527 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11529 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11530 to make it compile again under jikes. Note added.
11532 2006-07-17 Lillian Angel <langel@redhat.com>
11534 * examples/gnu/classpath/examples/awt/Demo.java
11535 (Demo): Added new window for DnD demo.
11536 (DragDropWindow): New class.
11537 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11538 Added new fields and declarations for native functions.
11539 (GtkDragSourceContextPeer): Implemented.
11540 (getComponentPeer): New function.
11541 (startDrag): Partially implemented.
11542 (getCursor): Implemented.
11543 (setCursor): Implemented.
11544 * include/GtkDragSourceContextPeer.h: New file.
11545 * include/Makefile.am: Added new header file.
11546 * java/awt/Component.java
11547 (addNotify): Added call to the dropTarget's addNotify.
11548 * java/awt/dnd/DragSource.java
11549 (startDrag): Fixed code to use shared instances of peer and
11551 (getDragThreshold): Added stub.
11552 * java/awt/dnd/DropTarget.java
11553 (DropTarget): Implemented fully.
11554 (addNotify): Added code to get the peer of the parent that is
11556 * java/awt/dnd/DropTargetDragEvent.java
11557 (getTransferable): Added stub.
11558 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11559 * native/jni/gtk-peer/Makefile.am: Added new c file.
11560 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11561 Changed to extend GtkGenericPeer.
11562 (GtkDropTargetContextPeer): New constructor.
11563 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11564 Changed to extend GtkGenericPeer.
11565 (GtkDropTargetContextPeer): New constructor.
11567 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11569 * java/awt/image/SinglePixelPackedSampleModel.java
11570 (createSubsetSampleModel): Added argument check and API docs.
11572 2006-07-17 Roman Kennke <kennke@aicas.com>
11574 * gnu/java/awt/peer/x/XGraphics.java
11575 (copyArea): Implemented.
11577 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11579 * java/awt/image/SinglePixelPackedSampleModel.java
11580 (getSampleSize): Return copy of array,
11581 (getOffset): Added API docs,
11582 (getScanlineStride): Likewise,
11583 (hashCode): Implemented.
11585 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11587 * java/awt/image/MultiPixelPackedSampleModel.java
11588 (getOffset): Updated API docs and source reformatting,
11589 (getBitOffset): Source reformatting only,
11590 (getDataElements): Likewise,
11591 (getPixel): Likewise,
11592 (getPixels): Removed method override,
11593 (setDataElements): Reimplemented.
11595 2006-07-17 Gary Benson <gbenson@redhat.com>
11597 * resource/META-INF/services/.cvsignore: New file.
11598 * lib/.cvsignore: Updated.
11600 2006-07-17 Roman Kennke <kennke@aicas.com>
11602 * javax/swing/plaf/basic/BasicButtonListener.java
11603 (propertyChange): Only do the text layout caching as long
11604 as the noGraphics2D property isn't set.
11605 * javax/swing/plaf/basic/BasicMenuItemUI.java
11606 (PropertyChangeHandler.propertyChange): Only do the text layout
11607 caching as long as the noGraphics2D property isn't set.
11609 2006-07-17 Roman Kennke <kennke@aicas.com>
11611 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11612 (XGraphicsEnvironment): Make constructor public so that it
11613 can be called via Class.forName().newInstance().
11614 * gnu/java/awt/peer/x/XImage.java
11615 (XImage): Fetch GraphicsEnvironment via
11616 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11617 than the XToolkit method, to avoid double instantiation
11618 of the XGraphicsEnvironment.
11619 * gnu/java/awt/peer/x/XToolkit.java
11620 (env): Removed field.
11621 (getLocalGraphicsEnvironment): Removed impl. This method
11622 should not be called since we set the graphicsenv property
11623 in the constructor.
11625 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11627 * java/util/UUID.java:
11628 (compareTo(Object)): Call compareTo(UUID).
11629 (compareTo(UUID)): Implemented.
11631 2006-07-16 Tom Tromey <tromey@redhat.com>
11633 * java/lang/StrictMath.java (cbrt): Added '@since'.
11635 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11637 * java/lang/StrictMath.java (cbrt): New method.
11638 (getLowDWord): New helper method.
11639 (getHighDWord): Likewise.
11640 (buildDouble): Likewise.
11641 (CBRT_B1): New field.
11642 (CBRT_B2): Likewise.
11643 (CBRT_C): Likewise.
11644 (CBRT_D): Likewise.
11645 (CBRT_E): Likewise.
11646 (CBRT_F): Likewise.
11647 (CBRT_G): Likewise.
11649 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11651 * javax/management/MBeanInfo.java:
11652 (getNotifications()): Implemented.
11653 * javax/management/NotificationBroadcaster.java:
11654 (removeNotificationListener(NotificationListener)):
11655 Renamed from removeListener.
11656 * javax/management/NotificationEmitter.java:
11657 (removeNotificationListener(NotificationListener,
11658 NotificationFilter, Object)): Likewise.
11659 * javax/management/NotificationFilter.java:
11660 Implement Serializable.
11661 * javax/management/NotificationListener.java:
11662 Implement java.util.EventListener.
11663 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11664 Implement Serializable.
11666 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11668 * java/lang/management/MemoryNotificationInfo.java:
11671 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11674 * gnu/javax/swing/text/html/parser/htmlValidator.java
11675 (tagIsValidForContext): If it is not possible to insert any tag, but
11676 is possible to insert a P, insert a P.
11677 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11678 (newInstance): Removed print statement. (getBodyElements):
11679 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11680 valid body level tags (will be enclosed into P's).
11682 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11684 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11685 Condition the creation of .keystore (a default keystore) based on the
11686 createIfNotFound argument as well.
11688 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11691 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11692 Removed heading p tag from the parsing example.
11693 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11694 (createHtmlContentModel): Explained.
11695 (defineElements): Call getBodyElements to get the body
11696 elements. (getBodyElements): New method. (model):
11697 Made protected from private.
11698 * gnu/javax/swing/text/html/parser/htmlValidator.java
11699 (openTag): Mind that current content model may be null.
11700 (tagIsValidForContext): If the tag is PCDATA, and it is not
11701 valid for context, but the paragraph (P) is valid for context,
11702 suggest to insert the P tag here.
11703 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11704 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11705 implied P tags here.
11706 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11707 Get the custom parser, using HTML_401Swing.java DTD.
11708 * javax/swing/text/html/parser/ParserDelegator.java:
11709 Removed the obsolete note that HTMLEditorKit does not exist.
11710 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11711 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11713 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11715 * javax/management/ListenerNotFoundException.java:
11717 * javax/management/MBeanFeatureInfo.java:
11718 (hashCode()): Use summation instead of multiplication
11719 for consistency with other classes.
11720 * javax/management/MBeanNotificationInfo.java,
11721 * javax/management/Notification.java,
11722 * javax/management/NotificationBroadcaster.java,
11723 * javax/management/NotificationEmitter.java,
11724 * javax/management/NotificationFilter.java,
11725 * javax/management/NotificationListener.java:
11727 * javax/management/OperationsException.java:
11728 (serialVersionUID): Added.
11730 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11731 Mark Wielaard <mark@klomp.org>
11733 * java/io/PrintStream.java: Added four constructors, for File and
11734 String describing a filename with or without explicit encoding.
11736 2006-07-16 Sven de Marothy <sven@physto.se>
11738 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11739 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11742 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11745 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11747 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11748 (setProviderClassNameParam): Made private.
11749 (setKeystoreTypeParam): Likewise.
11750 (setKeyPasswordParam): Likewise
11751 (setKeystorePasswordParam): Likewise.
11752 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11753 create or not the keystore if it's not there, and the second is the store's
11754 password to process before loading the keystore. Amended the code
11756 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11757 setKeyStoreParams(5) with true as its first argument.
11758 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11759 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11761 2006-07-16 Sven de Marothy <sven@physto.se>
11763 * java/util/UUID.java: New file.
11765 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11767 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11768 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11769 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11770 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11771 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11772 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11773 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11774 added Key Wrapping Algorithm SPIs.
11776 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11778 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11779 wrapping/unwrapping to invoke their engineGetOutputSize.
11781 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11783 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11784 (engineInit): If a SecureRandom was specified then use it.
11785 (nextRandomBytes): New method.
11786 (engineWrap): Use above method.
11787 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11788 (getDefaultPRNG): New method.
11789 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11790 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11793 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11795 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11796 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11798 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11800 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11801 offset into consideration.
11803 2006-07-16 Mario Torre <neugens@limasoftware.net>
11805 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11806 Fixed comment. This functions now requires to be called
11807 with gdk lock held, the comment states that.
11808 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11809 Introduces gdk locks around critical regions of code.
11810 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11812 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11814 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11816 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11818 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11820 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11822 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11824 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11826 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11828 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11829 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11831 2006-07-15 Sven de Marothy <sven@physto.se>
11833 * javax/swing/JFileChooser.java
11834 Change default selection mode to FILES_ONLY.
11835 * javax/swing/plaf/basic/BasicDirectoryModel.java
11836 Document, fix selection mode filtering.
11837 (renameFile): Implement
11838 * javax/swing/plaf/basic/BasicFileChooserUI.java
11839 (selectedDir): New field to handle selected directories,
11840 disallow selecting of directories in FILES_ONLY mode.
11841 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11842 (EditingActionListener.actionPerformed):
11843 Stop editing on all actions (e.g. return-key press)
11845 2006-07-15 Mark Wielaard <mark@klomp.org>
11847 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11849 (JNI Implementation): Mark JVMTI Implementation as next.
11850 (JVMTI Implementation): Mark JNI Implementation as prev.
11852 2006-07-15 Mark Wielaard <mark@klomp.org>
11854 * include/Makefile.am: Remove
11855 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11856 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11857 * native/jni/gtk-peer/Makefile.am: Remove
11858 gnu_java_awt_peer_gtk_GdkTextLayout.c
11859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11862 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11864 2006-07-15 Mark Wielaard <mark@klomp.org>
11866 * autogen.sh: Recognize autoconf 2.60.
11868 2006-07-15 Keith Seitz <keiths@redhat.com>
11870 * NEWS: Update for JVMTI and jvmti.h.
11871 * doc/vmintegration.texinfo: Likewise.
11872 * include/jvmti.h: New file.
11874 2006-07-15 Mark Wielaard <mark@klomp.org>
11876 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11877 Removed C++ style comment.
11879 2006-07-15 Sven de Marothy <sven@physto.se>
11881 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11882 * java/awt/MouseInfo.java,
11883 * java/awt/PointerInfo.java,
11884 * java/awt/peer/MouseInfoPeer.java:
11887 * java/awt/Image.java
11888 (accelerationPriority): New field.
11889 (setAccelerationPriority, getAccelerationPriority): New methods..
11891 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11892 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11893 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11894 (getMouseCoordinates): New method.
11896 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11897 (updateAlwaysOnTop): Remove stub overload.
11899 * gnu/java/awt/ClasspathToolkit.java,
11900 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11901 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11902 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11903 (getMouseInfoPeer): New method.
11904 (getMouseNumberOfButtons): New method.
11906 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11907 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11909 (gtkWindowSetAlwaysOnTop): New method.
11910 (updateAlwaysOnTop): Implement.
11912 * java/awt/Toolkit.java,
11913 (getMouseInfoPeer): New method.
11915 * java/awt/Window.java
11916 (alwaysOnTop): New field.
11917 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11919 * java/awt/peer/WindowPeer.java: Doc fix.
11921 2006-07-14 Sven de Marothy <sven@physto.se>
11923 * java/awt/font/TextLayout.java:
11924 (hitTestChar): Stub method.
11925 * java/awt/font/TextMeasurer.java:
11926 (getLayout): Throw exception on invalid argument.
11928 2006-07-14 Sven de Marothy <sven@physto.se>
11930 * java/awt/image/DataBuffer.java
11931 (DataBuffer): Call constructors in the correct order,
11933 2006-07-14 Mark Wielaard <mark@klomp.org>
11935 Revert to previous implementation.
11936 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11937 constraints insets.
11939 2006-07-14 Roman Kennke <kennke@aicas.com>
11941 * gnu/java/awt/peer/x/XToolkit.java
11942 (XToolkit): Install properties to SystemProperties
11943 rather than System, to avoid SecurityManager.
11944 (getImage(String)): Return error image when string is invalid.
11945 (createImage(URL)): Moved image loading to helper method.
11946 (createImage(ImageProducer)): Implemented.
11947 (createImage(byte[],int,int)): Implemented.
11948 (createImage(InputStream)): New helper method.
11950 2006-07-14 Tania Bento <tbento@redhat.com>
11952 * java/awt/FlowLayout.java
11953 (setHgap): No Excpetion should be thrown if hgap has
11955 (setVgap): No Exception should be thrown if vgap has
11958 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11960 * java/awt/image/MultiPixelPackedSampleModel.java:
11961 Added API docs all over.
11963 2006-07-14 Matt Wringe <mwringe@redhat.com>
11965 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11966 (engineInit): Throw InvalidAlgorithmParameterException
11967 for invalid IVParameterSpec IV length.
11969 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11971 * java/awt/image/MultiPixelPackedSampleModel.java
11972 (createDataBuffer): Include dataBitOffset in calculating the size for
11975 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11977 * java/awt/image/MultiPixelPackedSampleModel.java
11978 (getSampleSize()): Return a copy of the array,
11979 (getTransferType()): New method override.
11981 2006-07-14 Roman Kennke <kennke@aicas.com>
11983 * java/awt/CardLayout.java
11984 (show): Validate parent to make sure that the layout is
11987 2006-07-14 Roman Kennke <kennke@aicas.com>
11989 * java/awt/Component.java
11990 (enable): Added tree locking.
11991 (disable): Added tree locking.
11992 (show): Added tree locking.
11993 (hide): Added tree locking.
11994 (getLocationOnScreen): Added tree locking.
11995 (reshape): Added tree locking.
11996 (addHierarchyListener): Added tree locking.
11997 (removeHierarchyListener): Added tree locking.
11998 (addHierarchyBoundsListener): Added tree locking.
11999 (removeHierarchyBoundsListener): Added tree locking.
12000 (addNotify): Added tree locking.
12001 (removeNotify): Added tree locking.
12002 * java/awt/Container.java
12003 (invalidateTree): Added tree locking.
12004 (getAlignmentX): Added tree locking.
12005 (getAlignmentY): Added tree locking.
12006 (addNotify): Added tree locking.
12007 (setComponentZOrder): Added tree locking.
12008 (getComponentZOrder): Added tree locking.
12010 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12012 * java/awt/image/MultiPixelPackedSampleModel.java
12013 (createSubsetSampleModel): Restored argument check, but let null
12016 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12018 * java/awt/image/MultiPixelPackedSampleModel.java
12019 (createSubsetSampleModel): Removed argument check.
12021 2006-07-14 Roman Kennke <kennke@aicas.com>
12023 * java/awt/Component.java
12024 (numHierarchyListeners): New field.
12025 (numHierarchyBoundsListeners): New field.
12026 (show): Fire hierarchy events here. Only fire component event
12027 if there is actually a listener for it.
12028 (hide): Fire hierarchy events here. Only fire component event
12029 if there is actually a listener for it.
12030 (reshape): Fire hierarchy events here. Only fire component event
12031 if there is actually a listener for it.
12032 (addHierarchyListeners): Update listener counters.
12033 (removeHierarchyListeners): Update listener counters.
12034 (addHierarchyBoundsListeners): Update listener counters.
12035 (removeHierarchyBoundsListeners): Update listener counters.
12036 (fireHierarchyEvent): New helper method for firing hierarchy
12038 * java/awt/Container.java
12039 (addImpl): Update listener counters. Fire hierarchy event.
12040 (remove): Update listener counters. Fire hierarchy event.
12041 (fireHierarchyEvent): New helper method for firing hierarchy
12043 (updateHierarchyListenerCount): New helper method for
12044 updating the listener counters.
12046 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12048 * java/awt/image/MultiPixelPackedSampleModel.java
12049 (equals): New method override,
12050 (hashCode): Likewise.
12052 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12054 * java/awt/image/MultiPixelPackedSampleModel.java
12055 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12056 Corrected scanlineStride calculation.
12058 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12060 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12061 (AES_KWA): Likewise.
12062 (AES128_KWA): Likewise.
12063 (AES192_KWA): Likewise.
12064 (AES256_KWA): Likewise.
12065 (RIJNDAEL_KWA): Likewise.
12066 (TRIPLEDES_KWA): Likewise.
12067 (DESEDE_KWA): Likewise.
12068 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12069 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12070 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12071 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12072 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12073 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12075 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12077 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12078 (PADDING_BLOCK_SIZE): New constant.
12079 (init(Map attributes)): New method.
12080 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12082 2006-07-14 Mario Torre <neugens@limasoftware.net>
12084 * gnu/java/security/OID.java (OID): Private Constructor removed as
12085 it is not needed anymore.
12086 (clone): Fixed. Now uses super.clone instead of the private
12087 constructor as per specification of clone method.
12088 (serialVersionUID): added new field to allow serialization.
12090 2006-07-13 Sven de Marothy <sven@physto.se>
12092 * gnu/javax/imageio/gif/GIFImageReader.java
12093 (read): Remove old debugging trace.
12095 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12098 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12101 2006-07-13 Roman Kennke <kennke@aicas.com>
12103 * java/awt/Component.java
12104 (DEFAULT_MAX_SIZE): New static constant.
12105 (preferredSize): Return copy of the actual value computed
12106 by new helper method.
12107 (preferredSizeImpl): New helper method. Adds locking and
12108 correct handling of cached value.
12109 (minimumSize): Return copy of the actual value computed
12110 by new helper method.
12111 (minimumSizeImpl): New helper method. Adds locking and
12112 correct handling of cached value.
12113 (getMaximumSize): Return copy of the actual value computed
12114 by new helper method.
12115 (maximumSizeImpl): New helper method. Adds locking and
12116 correct handling of cached value.
12117 (invalidate): Correct handling of cached layout information.
12119 * java/awt/Container.java
12120 (preferredSize): Minimized locking. Corrected handling of cached
12121 values. Return copy of real value.
12122 (minimumSize): Minimized locking. Corrected handling of cached
12123 values. Return copy of real value.
12124 (getMaximumSize): Minimized locking. Corrected handling of cached
12125 values. Return copy of real value.
12127 2006-07-13 Tania Bento <tbento@redhat.com>
12129 * gnu/java/awt/peer/ClasspathFontPeer.java
12130 (isLogicalFontName): Return true if name == default.
12131 (logicalFontNameToFaceName): Check if name == default,
12132 and if so, return "Dialog.plain".
12133 (setStandardAttributes(String, Map)): If name == null,
12134 it should be set to "Default", not "SansSerif".
12135 * java/awt/Canvas.java
12136 (generateName): Fixed documentation.
12137 * java/awt/CheckboxMenuItem.java
12138 Added static variable "next_chkmenuitem_number".
12139 (generateName): Added and implemented method.
12140 (getUniqueLong): Likewise.
12141 * java/awt/Choice.java
12142 Added static variable "next_choice_number".
12143 (generateName): Added and implemented method.
12144 (getUniqueLong): Likewise.
12145 * java/awt/Cursor.java
12146 (Cursor(int)): Set name depending on the type passed.
12147 * java/awt/List.java
12148 Added static variable "next_list_number".
12149 (generateName): Added and implemented method.
12150 (getUniqueLong): Likewise.
12151 * java/awt/Menu.java
12152 Added static variable "next_menu_number".
12153 (generateName): Added and implemented method.
12154 (getUniqueLong): Likewise.
12155 * java/awt/MenuBar.java
12156 Added static variable "next_menubar_number".
12157 (generateName): Added and implemented method.
12158 (getUniqueLong): Likewise.
12159 * java/awt/MenuComponent.java
12160 (getName): Before returning name, check if name == null
12161 and name is not explicity set. If this is the case,
12162 name will be generated.
12163 (generateName): Added and implemented method.
12164 * java/awt/MenuItem.java
12165 Added static variable "next_menuitem_number".
12166 (generateName): Added and implemented method.
12167 (getUniqueLong): Likewise.
12168 * java/awt/PopupMenu.java
12169 Added static variable "next_popup_number".
12170 (generateName): Added and implemented method.
12171 (getUniqueLong): Likewise.
12172 * java/awt/ScrollPane.java
12173 Added static variable "next_scrollpane_number".
12174 (generateName): Added and implemented method.
12175 (getUniqueLong): Likewise.
12176 * java/awt/TextField.java
12177 Added static variable "next_textfield_number".
12178 (generateName): Added and implemented method.
12179 (getUniqueLong): Likewise.
12182 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12184 * java/awt/image/SinglePixelPackedSampleModel.java
12185 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12186 mask correctly as an unsigned integer,
12187 (equals): New method override.
12189 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12191 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12192 insertAfterStart, insertBeforeEnd): Removed stub markings.
12194 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12196 * java/awt/image/BandedSampleModel.java: API doc updates and source
12198 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12200 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12202 * java/awt/image/BandedSampleModel.java: API doc updates.
12204 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12206 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12207 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12208 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12209 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12210 (HRMLReader.blockClose): Mind that parser stack may be empty.
12211 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12212 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12213 (HTMLReader.shouldInsert): New method. (getElement(String)):
12214 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12215 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12216 Implemented. (getInsertingReader): New method.
12217 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12218 Added buttons to demonstrate the work of the insert actions.
12220 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12222 * java/awt/image/SampleModel.java: API doc updates and additions,
12223 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12225 2006-07-12 Sven de Marothy <sven@physto.se>
12227 * javax/swing/JFileChooser.java:
12228 (createDialog): Close operation should cause a cancel.
12230 2006-07-12 Francis Kung <fkung@redhat.com>
12232 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12233 (cairoArc): New native method.
12234 (cairoRestore): New native method.
12235 (cairoSave): New native method.
12236 (cairoScale): New native method.
12237 (createPath): New method to centralize code from draw and fill.
12238 (draw): Modified to use createPath method.
12239 (fill): Modified to use createPath method.
12240 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12241 function declarations.
12242 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12243 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12245 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12247 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12250 2006-07-12 Tom Tromey <tromey@redhat.com>
12253 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12254 on PartialInputStream.
12255 (PartialInputStream.dummyByteCount): New field.
12256 (PartialInputStream.fillBuffer): Handle dummy byte.
12257 (PartialInputStream.read): Likewise.
12258 (PartialInputStream.addDummyByte): New method.
12260 2006-07-12 Mario Torre <neugens@limasoftware.net>
12262 * native/jni/gconf-peer/GConfNativePeer.c
12263 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12264 Fixed C++ style comment.
12266 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12268 * java/util/Arrays.java
12269 (asList): Updated API docs.
12271 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12274 * native/jni/gconf-peer/GConfNativePeer.c:
12275 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12276 Changed if-expression.
12277 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12278 Added check for _value not being NULL.
12280 2006-07-11 Roman Kennke <kennke@aicas.com>
12282 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12283 (read): Use fd when local sockets are disabled to make the
12287 2006-07-11 Roman Kennke <kennke@aicas.com>
12289 * java/awt/image/MultiPixelPackedSampleModel.java
12290 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12291 division gets rounded up.
12293 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12295 * java/lang/management/ManageFactory.java:
12296 (getMemoryManagerMXBeans()): Use addAll, not add.
12298 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12301 * gnu/classpath/ByteArray.java: Removed (moved).
12302 * gnu/java/security/util/ByteArray.java: New File.
12303 * gnu/javax/crypto/RSACipherImpl.java: Reference
12304 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12306 2006-07-11 Roman Kennke <kennke@aicas.com>
12308 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12309 (available): Pass fd as argument and avoid JNI class/field
12313 * include/gnu_java_net_local_LocalSocketImpl.h:
12315 * gnu/java/net/local/LocalSocketImpl.h
12316 (available): Pass fd as argument and avoid JNI class/field
12321 2006-07-11 Sven de Marothy <sven@physto.se>
12323 * gnu/javax/sound/sampled/AU/AUReader.java:
12324 Correct file extension from .as to .au.
12326 2006-07-11 Sven de Marothy <sven@physto.se>
12328 * gnu/javax/sound/sampled/AU/AUReader.java:
12330 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12331 Added new provider.
12333 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12335 * javax/swing/JTable.java
12336 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12337 (setColumnSelectionAllowed): Likewise.
12339 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12342 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12343 AccessController.doPrivileged instead of SystemProperties.getProperty.
12344 * gnu/classpath/debug/SystemLogger.java: Likewise.
12345 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12346 repeated getProperty calls for "file.seperator".
12347 (refresh): Since already in privileged block, call System.getProperty
12348 instead of SystemProperties.getProperty.
12349 * gnu/java/security/key/dss/DSSKey.java
12350 (toString): Use AccessController.doPrivileged instead of
12351 SystemProperties.getProperty.
12352 * gnu/java/security/key/dss/DSSPrivateKey.java
12353 (toString): Likewise.
12354 * gnu/java/security/key/dss/DSSPublicKey.java
12355 (toString): Likewise.
12356 * gnu/java/security/key/rsa/GnuRSAKey.java
12357 (toString): Likewise.
12358 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12359 (toString): Likewise.
12360 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12361 (toString): Likewise.
12362 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12363 * gnu/javax/crypto/key/dh/GnuDHKey.java
12364 (toString): Likewise.
12365 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12366 (toString): Likewise.
12367 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12368 (toString): Likewise.
12370 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12372 * javax/swing/AbstractButton.java
12373 (disabledIcon): Fixed name (was 'disabeldIcon'),
12374 (getDisabledIcon): Updated for corrected field name,
12375 (setDisabledIcon): Fire a PropertyChangeEvent.
12377 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12379 * javax/swing/DefaultBoundedRangeModel.java
12380 (readObject): New private method,
12381 (writeObject): Likewise.
12383 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12385 * javax/swing/ButtonGroup.java
12386 (add): Ignore null argument,
12387 (remove): Ignore null argument. If removing selected button, clear the
12389 (findButton): Changed case for method name, and documented,
12390 (setSelected): Updated for modification to findButton() method name,
12391 (isSelected): Updated API docs.
12393 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12395 * java/awt/image/BufferedImage.java
12396 (BufferedImage(int, int, int)): Use correct color space for
12397 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12398 IllegalArgumentException for an unrecognised type.
12400 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12402 * java/lang/management/ManagementFactory.java:
12403 (getMemoryPoolMXBeans): Genericized fully.
12404 (getMemoryManagerMXBeans): Likewise.
12405 (getGarbageCollectorMXBeans): Likewise.
12407 2006-07-10 Tom Tromey <tromey@redhat.com>
12409 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12411 (getMemoryManagerMXBeans): Likewise.
12412 (getGarbageCollectorMXBeans): Likewise.
12414 2006-07-10 Mario Torre <neugens@limasoftware.net>
12416 * java/awt/BasicStroke.java: Removed unused import.
12417 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12418 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12419 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12421 2006-07-10 Matt Wringe <mwringe@redhat.com>
12423 PR classpath/28212:
12424 * javax/crypto/spec/SecretKeySpec.java
12425 (equals): Check object type.
12427 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12429 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12430 communication/StructureToPassHelper.java,
12431 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12432 communication/StructureToReturnHelper.java,
12433 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12434 communication/TreeNodeHelper.java,
12435 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12436 communication/WeThrowThisExceptionHelper.java,
12437 gnu/CORBA/ForwardRequestHelper.java,
12438 org/omg/CORBA/CompletionStatusHelper.java,
12439 org/omg/CORBA/CurrentHelper.java,
12440 org/omg/CORBA/DefinitionKindHelper.java,
12441 org/omg/CORBA/IDLTypeHelper.java,
12442 org/omg/CORBA/NameValuePairHelper.java,
12443 org/omg/CORBA/ObjectHelper.java,
12444 org/omg/CORBA/ParameterModeHelper.java,
12445 org/omg/CORBA/PolicyErrorCodeHelper.java,
12446 org/omg/CORBA/PolicyErrorHelper.java,
12447 org/omg/CORBA/PolicyHelper.java,
12448 org/omg/CORBA/PolicyListHelper.java,
12449 org/omg/CORBA/PolicyTypeHelper.java,
12450 org/omg/CORBA/ServiceDetailHelper.java,
12451 org/omg/CORBA/ServiceInformationHelper.java,
12452 org/omg/CORBA/SetOverrideTypeHelper.java,
12453 org/omg/CORBA/StringValueHelper.java,
12454 org/omg/CORBA/UnionMemberHelper.java,
12455 org/omg/CORBA/UnknownUserExceptionHelper.java,
12456 org/omg/CORBA/VisibilityHelper.java,
12457 org/omg/CORBA/WStringValueHelper.java,
12458 org/omg/CORBA/WrongTransactionHelper.java,
12459 org/omg/CosNaming/BindingHelper.java,
12460 org/omg/CosNaming/BindingIteratorHelper.java,
12461 org/omg/CosNaming/BindingListHelper.java,
12462 org/omg/CosNaming/BindingTypeHelper.java,
12463 org/omg/CosNaming/NameComponentHelper.java,
12464 org/omg/CosNaming/NameHelper.java,
12465 org/omg/CosNaming/NamingContextExtHelper.java,
12466 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12467 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12468 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12469 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12470 org/omg/CosNaming/NamingContextHelper.java,
12471 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12472 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12473 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12474 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12475 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12476 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12477 org/omg/DynamicAny/AnySeqHelper.java,
12478 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12479 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12480 org/omg/DynamicAny/DynAnyHelper.java,
12481 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12482 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12483 org/omg/DynamicAny/DynAnySeqHelper.java,
12484 org/omg/DynamicAny/DynArrayHelper.java,
12485 org/omg/DynamicAny/DynEnumHelper.java,
12486 org/omg/DynamicAny/DynFixedHelper.java,
12487 org/omg/DynamicAny/DynSequenceHelper.java,
12488 org/omg/DynamicAny/DynStructHelper.java,
12489 org/omg/DynamicAny/DynUnionHelper.java,
12490 org/omg/DynamicAny/DynValueHelper.java,
12491 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12492 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12493 org/omg/DynamicAny/NameValuePairHelper.java,
12494 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12495 org/omg/IOP/CodecFactoryHelper.java,
12496 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12497 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12498 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12499 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12500 org/omg/IOP/ComponentIdHelper.java,
12501 org/omg/IOP/IORHelper.java,
12502 org/omg/IOP/MultipleComponentProfileHelper.java,
12503 org/omg/IOP/ProfileIdHelper.java,
12504 org/omg/IOP/ServiceContextHelper.java,
12505 org/omg/IOP/ServiceContextListHelper.java,
12506 org/omg/IOP/ServiceIdHelper.java,
12507 org/omg/IOP/TaggedComponentHelper.java,
12508 org/omg/IOP/TaggedProfileHelper.java,
12509 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12510 org/omg/PortableInterceptor/AdapterNameHelper.java,
12511 org/omg/PortableInterceptor/AdapterStateHelper.java,
12512 org/omg/PortableInterceptor/CurrentHelper.java,
12513 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12514 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12515 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12516 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12517 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12518 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12519 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12520 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12521 org/omg/PortableServer/CurrentHelper.java,
12522 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12523 org/omg/PortableServer/ForwardRequestHelper.java,
12524 org/omg/PortableServer/POAHelper.java,
12525 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12526 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12527 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12528 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12529 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12530 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12531 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12532 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12533 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12534 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12535 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12536 org/omg/PortableServer/ServantActivatorHelper.java,
12537 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12538 typecode caching and always use OrbRestricted.Singleton.
12540 2006-07-09 Tom Tromey <tromey@redhat.com>
12542 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12544 2006-07-09 Mark Wielaard <mark@klomp.org>
12546 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12547 New static final boolean field.
12548 (getComponentGraphics): Use hasXRenderExtension.
12549 (setClip): Override method for locking.
12551 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12553 * javax/swing/AbstractButton.java
12554 (setHorizontalTextPosition): Added check for illegal argument,
12555 (setVerticalTextPosition): Likewise.
12557 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12559 * javax/swing/Timer.java
12560 (setDelay): Throw IllegalArgumentException for negative delay,
12561 (setInitialDelay): Likewise,
12562 * javax/swing/ToolTipManager.java
12563 (setInitialDelay): Document IllegalArgumentException,
12564 (setDismissDelay): Likewise,
12565 (setReshowDelay): Likewise.
12567 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12569 * java/lang/management/MemoryUsage.java:
12570 (from(javax.management.openmbean.CompositeData)):
12572 * java/lang/management/ThreadInfo.java:
12573 Changed to use open types throughout for the state.
12574 (ThreadInfo(long,String,String,long,long,String,
12575 long,String,long,long,boolean,StackTraceElement[])):
12577 (checkAttribute(javax.management.openmbean.CompositeType,
12578 String, javax.management.openmbean.OpenType)): New method.
12579 (from(javax.management.openmbean.CompositeData)):
12581 (getLockName()): Fixed to use new variable.
12582 (getLockOwnerId()): Likewise.
12583 (getLockOwnerName()): Likewise.
12584 (getThreadId()): Likewise.
12585 (getThreadName()): Likewise.
12586 (getThreadState()): Likewise.
12587 (toString()): Refactored to use new variables.
12588 * javax/management/openmbean/ArrayType.java:
12590 * javax/management/openmbean/CompositeType.java:
12591 Variables should be transient, not volatile.
12592 * javax/management/openmbean/OpenDataException.java:
12593 (serialVersionUID): Added.
12594 * javax/management/openmbean/SimpleType.java:
12596 * javax/management/openmbean/TabularType.java
12597 Variables should be transient, not volatile.
12599 2006-07-09 Tom Tromey <tromey@redhat.com>
12601 * tools/.cvsignore: Updated for new tools.
12603 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12605 * javax/management/openmbean/CompositeData.java,
12606 * javax/management/openmbean/CompositeType.java,
12607 * javax/management/openmbean/OpenDataException.java,
12608 * javax/management/openmbean/OpenType.java,
12609 * javax/management/openmbean/TabularData.java,
12610 * javax/management/openmbean/TabularType.java,
12611 * javax/management/openmbean/package.html:
12614 2006-07-09 Mark Wielaard <mark@klomp.org>
12616 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12617 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12618 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12620 2006-07-08 Anthony Green <green@redhat.com>
12622 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12623 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12626 2006-07-09 Mario Torre <neugens@limasoftware.net>
12628 * native/jni/gconf-peer/GConfNativePeer.c:
12629 Fixed indentation to be more compliant to the GNU coding
12631 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12632 Added explicit test for errors in the GConf backend.
12633 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12634 Added explicit test for errors in the GConf backend.
12635 Fixed Segmentation Fault when non valid key names are given as input.
12636 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12638 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12639 Added explicit test for errors in the GConf backend.
12640 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12641 Added javadoc comments for all native methods.
12642 (nodeExist): removed test to check for valid absolute path name
12644 (startWatchingNode): likewise.
12645 (stopWatchingNode): likewise.
12646 (setString): likewise, plus fixed javadoc comments.
12647 (unset): likekwise.
12648 (getKey): likewise.
12649 (getKeys): likewise, also fixed javadoc comments.
12650 (getChildrenNodes): likewise.
12651 * gnu/java/util/prefs/GConfBasedPreferences.java:
12652 changed DEFAULT_USER_ROOT to /apps/classpath.
12653 (constructor): Test to check for a valid absolute path for nodes
12654 is now in the contructor for that node, instead of being on
12655 each method of the backend.
12656 (getGConfKey): removed empty new line.
12658 2006-07-08 Mark Wielaard <mark@klomp.org>
12660 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12662 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12664 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12665 Handle the forced break in the same way as exceeding the
12666 available row space.
12667 * javax/swing/text/html/HRuleView.java: Rewritten.
12668 * javax/swing/text/html/HTMLDocument.java
12669 (HTMLReader.addSpecialElement):Reserve two characters for
12670 the special elements.
12671 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12672 (text): Extended the HTML example to parse.
12674 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12676 * javax/swing/AbstractButton.java
12677 (setHorizontalAlignment): Check for illegal argument,
12678 (setVerticalAlignment): Likewise.
12680 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12682 * javax/swing/text/html/TableView.java
12683 (getStyleSheet): New method. (RowView.getStyleSheet):
12686 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12688 * javax/swing/AbstractButton.java
12689 (setRolloverIcon): Call setRolloverEnabled(true),
12690 (setRolloverSelectedIcon): Likewise.
12692 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12694 * javax/swing/border/TitledBorder.java
12695 (setTitlePosition): Added message to exception,
12696 (setTitleJustification): Likewise.
12698 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12700 * javax/swing/plaf/metal/MetalLookAndFeel.java
12701 (createDefaultTheme): Corrected API docs,
12702 (initComponentDefaults): Added entry for 'TitledBorder.border',
12703 (getCurrentTheme): Initialise theme if it is null.
12705 2006-07-07 Roman Kennke <kennke@aicas.com>
12707 * java/awt/Component.java
12708 (isValid): Return false when component has no peer,
12709 don't query the showing state.
12711 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12713 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12714 Advance the offset also in the case of the enforced break.
12716 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12718 * javax/swing/plaf/basic/BasicArrowButton.java
12719 (MAXIMUM_SIZE): Removed field,
12720 (MINIMUM_SIZE): Likewise,
12721 (PREFERRED_SIZE): Likewise,
12722 (getMaximumSize): Return new instance every time,
12723 (getMinimumSize): Likewise,
12724 (getPreferredSize): Likewise.
12726 2006-07-07 Roman Kennke <kennke@aicas.com>
12728 * java/awt/LightweightDispatcher.java
12729 (findTarget): Avoid array copying in
12730 Container.getComponents().
12732 2006-07-07 Roman Kennke <kennke@aicas.com>
12734 * javax/swing/JComponent.java
12735 (paintChildrenWithOverlap): Avoid array copying in
12736 Container.getComponents().
12737 (paintChildrenOptimized): Avoid array copying in
12738 Container.getComponents().
12739 (fireAncestorEvent): Avoid array copying in
12740 Container.getComponents().
12741 (findOverlapFreeParent): Avoid array copying in
12742 Container.getComponents().
12744 2006-07-07 Matt Wringe <mwringe@redhat.com>
12746 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12747 (passwordValid): New field.
12748 (setPassword): New method.
12749 (setSalt): Likewise.
12750 (setIterationCount): Likewise.
12751 (setKeyLength): Likewise.
12752 (PBEKeySpec(char[])): Use new setter methods.
12753 (PBEKeySpec(char[], byte[], int)): Likewise.
12754 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12755 (clearPassword): Set passwordValid to false.
12756 (getPassword): Check that clearPassword() was not called earlier.
12757 Return a clone of the password.
12758 (getSalt): Return a clone of the salt if it was not null.
12760 2006-07-07 Roman Kennke <kennke@aicas.com>
12762 * java/awt/Component.java
12763 (isValid): Always return false when component is
12765 (setFont): Always set font, even when setting
12766 the same or equal font again.
12768 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12770 * javax/swing/plaf/metal/MetalIconFactory.java
12771 (CheckBoxMenuItemIcon): Implement UIResource,
12772 (FileChooserDetailViewIcon): Likewise,
12773 (FileChooserHomeFolderIcon): Likewise,
12774 (FileChooserListViewIcon): Likewise,
12775 (FileChooserNewFolderIcon): Likewise,
12776 (FileChooserUpFolderIcon): Removed redundant 'implements',
12777 (RadioButtonMenuItemIcon): Implement UIResource,
12778 (HorizontalSliderThumbIcon): Likewise,
12779 (InternalFrameCloseIcon): Likewise,
12780 (InternalFrameDefaultMenuIcon): Likewise,
12781 (InternalFrameAltMaximizeIcon): Likewise,
12782 (InternalFrameMaximizeIcon): Likewise,
12783 (InternalFrameMinimizeIcon): Likewise,
12784 (VerticalSliderThumbIcon): Likewise,
12785 (TreeHardDriveIcon): Likewise,
12786 (TreeFloppyDriveIcon): Likewise,
12787 (TreeComputerIcon): Likewise,
12788 (horizontalSliderThumbIcon): New field,
12789 (verticalSliderThumbIcon): New field,
12790 (getHorizontalSliderThumbIcon): Cache icon,
12791 (getVerticalSliderThumbIcon): Likewise.
12793 2006-07-06 Mark Wielaard <mark@klomp.org>
12795 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12796 (DISTCLEANFILES): Add standard.omit.
12797 (clean-local): Remove Makefile.deps, only remove dirs.
12799 2006-07-06 Roman Kennke <kennke@aicas.com>
12801 * java/awt/Component.java
12802 (setFont): Only invalidate when component is valid.
12803 * java/awt/Container.java
12804 (setLayout): Only invalidate when component is valid.
12806 2006-07-06 Lillian Angel <langel@redhat.com>
12808 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12809 New class not fully implemented.
12810 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12811 New class not fully implemented.
12812 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12813 New class not fully implemented.
12814 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12815 New class not fully implemented.
12816 * nu/java/awt/peer/gtk/GtkToolkit.java:
12818 (createDragSourceContextPeer): Implemented.
12819 (createDragGestureRecognizer): New function to override
12820 java.awt.Toolkit.createDragGestureRecognizer.
12821 * java/awt/dnd/DragSource.java
12822 (NoDragGestureRecognizer): Removed inner class.
12823 (createDragGestureRecognizer): Re-Implemented to
12824 call Toolkit's createDragGestureRecognizer.
12825 (createDefaultDragGestureRecognizer): Re-Implemented to
12826 call Toolkit's createDragGestureRecognizer.
12827 * java/awt/dnd/DropTarget.java
12828 (addNotify): Added check to determine type of peer and call
12830 (removeNotify): Added call to removeDropTarget.
12832 2006-07-06 Tom Tromey <tromey@redhat.com>
12834 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12836 (run): Wait on queue, not 'this'.
12838 2006-07-06 Lillian Angel <langel@redhat.com>
12840 * java/awt/dnd/DragSource.java
12841 (startDrag): Implemented. Added comments describing
12842 what the function should do. Removed FIXME.
12844 2006-07-06 Tania Bento <tbento@redhat.com>
12846 * gnu/java/awt/Canvas.java
12847 Added new private variable 'next_canvas_number'.
12848 (generateName): Added.
12849 (getUniqueLong): Added.
12851 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12853 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12854 (getColor): Made public.
12855 * javax/swing/text/html/StyleSheet.java (stringToColor):
12856 Use CharacterAttributeTranslator.getColor(String)
12858 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12860 * javax/swing/text/html/HTMLEditorKit.java:
12861 (HTMLFactory.createElement): Update reference to the html table view.
12862 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12863 * javax/swing/text/html/TableView.java: New file.
12865 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12867 * javax/swing/text/html/HTMLEditorKit.java:
12868 (HTMLFactory.createElement): Uncomment
12869 code for BRView and HRuleView.
12870 * javax/swing/text/html/BRView.java,
12871 javax/swing/text/html/HRuleView.java: New files.
12873 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12875 * java/lang/Thread.java:
12876 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12877 Added generic type signature.
12879 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12882 * doc/vmintegration.texinfo: Likewise.
12883 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12884 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12885 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12886 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12887 * java/lang/management/GarbageCollectorMXBean.java:
12889 * java/lang/management/ManagementFactory.java:
12890 (getGarbageCollectorMXBeans()): Implemented.
12891 (getMemoryManagerMXBeans()): Likewise.
12892 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12893 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12895 * vm/reference/java/lang/management/VMManagementFactory.java:
12896 (getMemoryManagerNames()): Added.
12897 (getGarbageCollectorNames()): Added.
12899 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12901 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12902 from lib_LTLIBRARIES.
12903 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12905 2006-07-05 Lillian Angel <langel@redhat.com>
12907 * java/awt/dnd/DragGestureEvent.java:
12909 (DragGestureEvent): Initialized new fields, added to check and
12910 added documentation.
12911 (getSourceAsDragGestureRecognizer): Added documentation and
12912 changed to use getSource.
12913 (getComponent): Added documentation and fixed to return the proper
12915 (getDragSource): Likewise.
12916 (getDragOrigin): Added documentation.
12917 (iterator): Implemented and added documentation.
12918 (toArray): Likewise.
12919 (toArray): Likewise.
12920 (getDragAction): Likewise.
12921 (getTriggerEvent): Likewise.
12922 (startDrag): Likewise.
12923 * java/awt/dnd/DragGestureRecognizer.java
12924 (resetRecognizer): Added FIXME.
12925 * java/awt/dnd/DragSource.java:
12927 (DragSource): Set ds to be null if headless.
12928 (getDefaultDragSource): Added documentation and implemented.
12929 (isDragImageSupported): Marked as unimplemented.
12930 (startDrag): Likewise.
12931 (createDragSourceContext): Implemented.
12932 (NoDragGestureRecognizer): Formatted inner class.
12933 * java/awt/dnd/DropTarget.java
12934 (stop): Marked as unimplemented.
12935 (actionPerformed): Likewise.
12936 (addDropTargetListener): Added code to throw exception.
12937 (removeDropTargetListener): Added check, removed FIXME.
12938 (dragEnter): Implemented.
12939 (dragOver): Implemented.
12940 (dropActionChanged): Implemented.
12941 (dragExit): Implemented.
12942 (drop): Implemented.
12943 (addNotify): Implemented.
12944 (removeNotify): Implemented.
12945 (createDropTargetContext): Implemented.
12946 (createDropTargetAutoScroller): Implemented.
12947 (initializeAutoscrolling): Implemented.
12948 (updateAutoscroll): Implemented.
12949 (clearAutoscroll): Implemented.
12950 * java/awt/dnd/DropTargetContext.java
12951 (dropComplete): Implemented.
12952 (acceptDrag): Implemented.
12953 (rejectDrag): Implemented.
12954 (acceptDrop): Implemented.
12955 (rejectDrop): Implemented.
12956 (getCurrentDataFlavors): Implemented.
12957 (getTransferable): Partially implemented.
12958 * java/awt/dnd/DropTargetDragEvent.java
12959 (getDropAction): Uncommented correct code.
12960 * java/awt/dnd/DropTargetDropEvent.java
12961 (dropComplete) :Implemented.
12962 * java/awt/dnd/InvalidDnDOperationException.java
12963 (InvalidDnDOperationException): Added call to super.
12965 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12967 * javax/swing/plaf/basic/BasicArrowButton.java:
12968 (paint): Removed getBounds() call, changed center point
12971 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12973 * javax/swing/InputMap.java
12974 (inputMap): Don't initialize yet,
12975 (InputMap): Removed TODO,
12976 (get): Check for null inputMap,
12977 (put): Return immediately for null keyStroke, check for null inputMap
12978 and initialize if necessary,
12979 (remove): Check for null inputMap,
12983 (allKeys): Likewise,
12984 (writeObject): Removed,
12985 (readObject): Removed.
12987 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12989 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12990 (createContent): Use different labels for buttons.
12992 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12995 * doc/vmintegration.texinfo: Likewise.
12996 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12997 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12999 * java/lang/management/ManagementFactory.java:
13000 (getMemoryPoolMXBeans()): Implemented.
13001 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13002 * vm/reference/java/lang/management/VMManagementFactory.java:
13005 2006-07-04 Lillian Angel <langel@redhat.com>
13007 * java/awt/dnd/DragSourceContext.java:
13008 Removed FIXMEs from fields.
13009 (DragSourceContext): Added code to initialize cursor and sourceActions.
13010 (getDragSource): Added documentation.
13011 (getComponent): Likewise.
13012 (getTrigger): Likewise.
13013 (getSourceActions): Added documentation and implemented.
13014 (setCursor): Implemented. Added documentation.
13015 (getCursor): Implemented. Added documentation.
13016 (dragEnter): Added code to notify DragSource's listeners.
13017 (dragOver): Likewise.
13018 (dragExit): Likewise.
13019 (dropActionChanged): Likewise.
13020 (dragDropEnd): Likewise.
13021 (dragMouseMoved): Implemented.
13022 (getTransferable): Added API documentation.
13023 (updateCurrentCursor): Added API documentation and partially implemented.
13025 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13027 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13029 2006-07-04 Lillian Angel <langel@redhat.com>
13031 * java/awt/dnd/DragSourceContext.java
13032 (DragSourceContext): Implemented fully. Fixed API docs.
13033 (transferablesFlavorsChanged): Implemented.
13034 (dragEnter): Implemented.
13035 (dragOver): Implemented.
13036 (dragExit): Implemented.
13037 (dropActionChanged): Implemented.
13038 (dragDropEnd): Implemented.
13040 2006-07-04 Lillian Angel <langel@redhat.com>
13042 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13043 Fixed name of constant.
13044 (getIconWidth): Changed name of constant returned.
13045 (getIconHeight): Likewise.
13047 (createSeparator): Marked as unimplemented.
13048 * javax/swing/plaf/basic/BasicTableUI.java
13049 (focusGained): Marked as unimplemented.
13050 (focusLost): Marked as unimplemented.
13051 (mouseEntered): Likewise.
13052 (mouseMoved): Likewise.
13053 (uninstallDefaults): Likewise.
13054 * javax/swing/plaf/basic/BasicToolBarUI.java
13055 (mouseClicked): Changed comment.
13056 (mouseEntered): Likewise.
13057 (mouseExited): Likewise.
13058 (mouseMoved): Likewise.
13059 (setOrientation): Implemented.
13060 (ToolBarFocusListener): Marked as unimplemented.
13061 (focusGained): Marked as unimplemented.
13062 (focusLost): Marked as unimplemented.
13064 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13067 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13068 Mind the effect of the root visibility on the position of the control.
13069 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13070 vertical line over first level nodes.
13072 2006-07-04 Lillian Angel <langel@redhat.com>
13074 * javax/swing/plaf/basic/BasicMenuUI.java
13075 (installKeyboardActions): Implemented to call super. Nothing else
13076 needs to be done here.
13077 (setupPostTimer): Marked as unimplemented.
13078 (uninstallKeyboardActions): Implemented to call super. Nothing else
13079 needs to be done here.
13080 (mouseMoved): Removed TODO. Nothing to be done here.
13081 (ChangeHandler): Implemented.
13082 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13083 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13084 (menuKeyReleased): Removed TODO. Nothing to be done here.
13085 (menuKeyTyped): Marked as unimplemented.
13087 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13090 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13091 (getDefaults): Set hash color to black.
13092 * javax/swing/plaf/basic/BasicLookAndFeel.java
13093 (initComponentDefaults): Set hash color to grey blue.
13094 * javax/swing/plaf/basic/BasicTreeUI.java
13095 (instellDefaults): Set hash color.
13096 * javax/swing/plaf/metal/MetalIconFactory.java
13097 (TreeControlIcon.paint): Rewritten.
13099 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13102 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13103 Always cancel the current editing session before doing anything else,
13104 return immediately if this fails.
13105 (TreeHomeAction): Ensure that the lead selection path is visible after
13106 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13107 Likewise. TreeTraverseAction: Likewise.
13109 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13112 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13113 Returned back the code to handle the start of the click-pause-click
13114 editing initiation, explained about this code.
13115 (TreeStartEditingAction): New inner class.
13116 (stopEditingInCompleteEditing): Explained about this field.
13117 (completeEditing(boolean, boolean, boolean): Only return early
13118 if there is no current editing session.
13119 (createDefaultActions): Install TreeStartEditingAction and
13120 TreeCancelEditingAction.
13122 2006-07-04 Mario Torre <neugens@limasoftware.net>
13124 * configure.ac: Added new option --enable-default-preferences-peer
13125 to pass user specified default preference backend.
13126 If the GConf peer is built, GConf become the default backend.
13127 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13129 * lib/Makefile.am: excludes files terminating in 'in' from
13130 the metafiles list.
13131 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13132 from copy into META-INF.
13133 * java/util/prefs/Preferences.java: added two new import
13134 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13135 (getFactory): Now try to check for
13136 a system defined default preference backend before to fall back on
13137 FileBasedPreference.
13139 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13142 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13143 (EXPANDED): Initialise to Boolean.TRUE.
13144 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13145 First configure layout cache and then set the assigned value
13146 as row mapper. Set the root visibility property.
13147 (toggleExpandState): Obtains expansion state from the layout cache.
13149 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13151 * java/lang/management/MemoryPoolMXBean.java:
13154 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13156 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13158 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13160 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13161 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13162 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13163 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13164 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13165 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13166 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13167 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13168 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13169 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13170 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13171 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13172 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13173 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13174 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13175 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13176 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13177 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13178 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13179 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13180 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13181 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13182 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13183 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13184 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13185 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13186 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13187 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13188 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13189 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13190 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13191 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13192 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13193 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13194 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13195 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13196 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13197 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13198 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13199 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13200 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13201 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13202 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13203 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13204 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13205 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13206 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13208 2006-07-02 Anthony Green <green@redhat.com>
13210 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13211 sure that every track written ends with an End Of Track meta
13214 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13216 * java/lang/management/MemoryUsage.java:
13217 (toString()): Fix missing MB for maximum memory usage.
13219 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13222 Updated to include VMCompilationMXBeanImpl.
13223 * doc/vmintegration.texinfo:
13224 Likewise, along with update to VMMemoryMXBeanImpl
13226 * examples/gnu/classpath/examples/management/TestCompilation.java,
13227 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13228 * java/lang/management/CompilationMXBeanImpl.java:
13230 * java/lang/management/ManagementFactory.java:
13231 (getCompilationMXBean()): Implemented.
13232 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13234 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13235 (getHeapMemoryUsage()): Added default implementation.
13237 2006-07-02 Anthony Green <green@redhat.com>
13239 * NEWS: Mention MIDI file reader/writer providers.
13241 2006-07-02 Anthony Green <green@redhat.com>
13243 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13244 gnu/javax/sound/midi/file/MidiFileWriter.java,
13245 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13247 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13250 Updated to include VMMemoryMXBeanImpl.
13251 * doc/vmintegration.texinfo: Likewise.
13252 * examples/gnu/classpath/examples/management/TestMemory.java:
13254 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13255 Remove redundant import.
13256 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13258 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13259 Remove redundant import.
13260 * java/lang/management/ManagementFactory.java:
13261 (getMemoryMXBean()): Implemented.
13262 * java/lang/management/MemoryMXBean.java,
13263 * java/lang/management/MemoryUsage.java:
13265 * java/lang/management/ThreadInfo.java:
13266 (toString()): Updated documentation.
13267 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13270 2006-07-01 Anthony Green <green@redhat.com>
13272 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13273 gnu/javax/sound/midi/file/MidiFileReader.java,
13274 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13275 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13277 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13279 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13280 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13281 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13282 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13283 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13284 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13285 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13287 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13289 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13290 * gnu/javax/crypto/pad/IPad.java: Likewise.
13291 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13292 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13293 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13294 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13295 * gnu/javax/crypto/pad/TBC.java: Likewise.
13296 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13297 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13299 2006-07-01 Anthony Green <green@redhat.com>
13301 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13303 (setMessage): Fix it again, in a different setMessage method.
13305 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13307 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13308 * gnu/javax/crypto/mode/CBC.java: Likewise.
13309 * gnu/javax/crypto/mode/CFB.java: Likewise.
13310 * gnu/javax/crypto/mode/CTR.java: Likewise.
13311 * gnu/javax/crypto/mode/EAX.java: Likewise.
13312 * gnu/javax/crypto/mode/ECB.java: Likewise.
13313 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13314 * gnu/javax/crypto/mode/ICM.java: Likewise.
13315 * gnu/javax/crypto/mode/IMode.java: Likewise.
13316 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13317 * gnu/javax/crypto/mode/OFB.java: Likewise.
13319 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13321 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13322 * gnu/javax/crypto/mac/HMac.java: Likewise.
13323 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13324 * gnu/javax/crypto/mac/IMac.java: Likewise.
13325 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13326 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13327 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13328 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13329 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13330 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13331 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13333 2006-07-01 Anthony Green <green@redhat.com>
13335 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13337 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13339 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13340 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13341 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13342 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13343 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13344 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13345 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13346 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13347 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13348 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13349 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13350 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13351 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13352 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13353 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13354 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13355 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13356 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13357 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13358 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13359 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13360 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13361 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13362 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13364 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13366 * javax/swing/AbstractCellEditor.java: Source code formatting,
13367 * javax/swing/AbstractSpinnerModel.java: Likewise,
13368 * javax/swing/Box.java: Likewise,
13369 * javax/swing/BoxLayout.java: Likewise,
13370 * javax/swing/DefaultListModel.java: Likewise,
13371 * javax/swing/GrayFilter.java: Likewise,
13372 * javax/swing/LookAndFeel.java: Likewise,
13373 * javax/swing/ProgressMonitor.java: Likewise,
13374 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13375 * javax/swing/ScrollPaneLayout.java: Likewise,
13376 * javax/swing/SpringLayout.java: Likewise,
13377 * javax/swing/event/EventListenerList.java: Likewise,
13378 * javax/swing/event/MenuEvent.java: Likewise,
13379 * javax/swing/event/TreeExpansionListener.java: Likewise.
13381 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13384 Mention threading bean and getState().
13385 * doc/vmintegration.texinfo:
13386 Update documentation for threading bean and new
13387 method of VMThread.
13389 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13391 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13392 * examples/gnu/classpath/examples/management/TestOS.java,
13393 * examples/gnu/classpath/examples/management/TestRuntime.java,
13394 * examples/gnu/classpath/examples/management/TestThread.java:
13397 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13399 * java/lang/ThreadGroup.java
13400 (getThreadFromId, getThreadFromIdImpl): New methods.
13402 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13404 * java/lang/Thread.java:
13405 Make thread IDs start from 1 in a more efficient way.
13407 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13409 * java/lang/Thread.java:
13410 Make thread IDs start from 1.
13412 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13414 * gnu/java/lang/management/BeanImpl.java:
13415 New superclass for all bean implementations.
13416 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13417 Extend BeanImpl and call permission code there.
13418 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13420 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13421 Extend BeanImpl and call permission code there.
13422 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13424 * java/lang/management/ManagementFactory.java:
13425 (getThreadMXBean()): Implemented.
13426 * java/lang/management/ThreadInfo.java:
13427 (ThreadInfo(Thread,int)): Replaced...
13428 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13429 boolean, boolean, StackTraceElement[])): with this.
13430 (getBlockedCount()): Refactored to use local variables.
13431 (getBlockedTime()): Likewise.
13432 (getLockName()): Likewise.
13433 (getLockOwnerId()): Likewise.
13434 (getLockOwnerName()): Likewise.
13435 (getStackTrace()): Likewise.
13436 (getWaitedCount()): Likewise.
13437 (getWaitedTime()): Likewise.
13438 (isInNative()): Likewise.
13439 (isSuspended()): Likewise.
13440 (toString()): Changed to use new local variables.
13441 * java/lang/management/ThreadMXBean.java:
13442 (getThreadInfo(long, int)): Corrected documentation.
13443 (getThreadInfo(long[], int)): Likewise.
13444 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13446 * vm/reference/java/lang/management/VMThreadInfo.java:
13449 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13451 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13452 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13453 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13454 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13455 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13456 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13457 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13458 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13459 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13460 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13461 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13462 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13463 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13464 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13465 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13466 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13467 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13468 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13469 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13470 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13471 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13472 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13473 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13474 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13475 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13476 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13477 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13478 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13479 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13480 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13481 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13482 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13484 2006-07-01 Roman Kennke <kennke@aicas.com>
13486 * gnu/java/awt/java2d/AbstractGraphics2D.java
13487 (transform): Make field protected.
13488 (getDestinationRaster): Provide default implementation for
13489 previously abstract method.
13491 2006-06-30 Tania Bento <tbento@redhat.com>
13493 * java/awt/TextArea.java
13494 (TextArea(String, int, int, int)): No longer throws
13495 IllegalArgumentException if rows, columns, or scrollbarVisibility
13496 values are invalid.
13497 (TextArea(String, int, int, int)): If rows or columns are < 0,
13498 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13499 gets set to the default value of 0 (SCROLLBARS_BOTH).
13500 (appendText): Added case when peer = null.
13501 (insertText): Added case when peer == null.
13502 (replaceText): Added case when peer == null.
13503 * java/awt/TextComponent.java
13504 (TextComponent(String)): If text == null, set it to "".
13506 2006-06-30 Lillian Angel <langel@redhat.com>
13508 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13509 (create): Added synchronized block around groupMap.get calls.
13510 (setCheckboxGroup): Likewise.
13512 2006-06-30 Lillian Angel <langel@redhat.com>
13514 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13515 (create): Changed to be non-synchronized.
13516 (setLabel): Likewise.
13517 (setCheckboxGroup): Likewise.
13518 (addToGroupMap): Likewise. Added synchronized block around
13520 (dispose): Changed to be non-synchronized.
13522 2006-06-30 Lillian Angel <langel@redhat.com>
13524 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13525 Changed all return values of native functions to void.
13526 (create): Changed function to be synchronized. Removed
13527 call to put value in groupMap, this is now done from
13529 (setState): Changed function to be synchronized.
13530 (setLabel): Changed function to be synchronized.
13531 (setCheckboxGroup): Changed function to be synchronized. Removed
13532 call to put value in groupMap, this is now done from
13534 (postItemEvent): Changed function to be synchronized.
13535 (addToGroupMap): New function. Called by native code to add
13536 new value to the group.
13537 (dispose): Changed function to be synchronized.
13538 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13541 (cp_gtk_checkbox_init_jni): Added code to link to
13543 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13544 Changed return value to void. Added call
13545 to java function to set pointer in groupMap.
13546 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13547 changed check to an assert. Also, removed call to set/del pointer.
13548 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13549 Likewise. Also, added check to determine if native_group should be
13551 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13553 2006-06-30 Sven de Marothy <sven@physto.se>
13555 * gnu/java/awt/ClasspathToolkit.java,
13556 * gnu/java/awt/peer/x/XToolkit.java,
13557 * gnu/java/awt/peer/qt/QtToolkit.java,
13558 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13559 Remove ClasspathTextLayoutPeer.
13560 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13561 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13564 2006-06-30 Sven de Marothy <sven@physto.se>
13566 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13567 (drawGlyphVector): Don't draw empty vectors.
13569 2006-06-30 Lillian Angel <langel@redhat.com>
13570 Tom Fitzsimmons <fitzsim@redhat.com>
13572 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13573 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13574 Added current_group, groupMap fields. Added definitions for
13575 new native functions.
13576 (create): Removed FIXME. Added code to create the check button or
13577 radio button when appropriate. Updated groupMap to contain
13578 pointer to the newly created group.
13579 (setCheckboxGroup): Added code to handle all cases. Removing
13580 a button from a group, adding a button to a group, or changing the
13582 (dispose): Changed to call super.
13583 * include/Makefile.am: Removed reference to
13584 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13585 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13586 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13588 * native/jni/gtk-peer/Makefile.am: Removed reference to
13589 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13590 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13592 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13593 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13594 Renamed to checkbox_get_widget.
13595 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13596 Changed to use checkbox_get_widget.
13597 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13599 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13600 Changed to use checkbox_get_widget.
13601 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13603 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13604 New function. Creates checkbutton without a group.
13605 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13606 Creates a radio button in a group, using groupPointer. If groupPointer
13607 is 0, then a new group is created.
13608 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13609 check button to a group, using groupPointer. A radio button is created
13610 in its place. If groupPointer is 0, then a new group is created.
13611 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13612 radio button is removed from the group. A check button is created in
13614 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13615 radio button is moved to a new group.
13617 2006-06-30 Mark Wielaard <mark@klomp.org>
13619 * configure.ac: Move standard.omit creation after dirs are created.
13620 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13621 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13622 (clean-local): Remove standard.omit.
13623 * lib/gen-classlist.sh.in: Use omit file in build dir.
13624 * lib/standard.omit.in: Make exclude regex more explicit.
13626 2006-06-30 Roman Kennke <kennke@aicas.com>
13628 * lib/Makefile.am: Added Escher dir/jar to classpath when
13630 * configure.ac: Moved handling of standard.omit to a place
13631 where it actually gets executed.
13633 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13635 * java/awt/TextComponent.java: Reformatted source code,
13636 * java/awt/TextField.java: Likewise.
13638 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13640 * java/lang/Thread.java:
13641 (getState()): Handle case of no VMThread
13644 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13646 * java/lang/Thread.java,
13647 * java/lang/VMThread.java:
13648 Reverted patch from 2006-06-28.
13650 2006-06-29 Roman Kennke <kennke@aicas.com>
13652 * gnu/java/awt/peer/x/GLGraphics.java,
13653 * gnu/java/awt/peer/x/ImageConverter.java,
13654 * gnu/java/awt/peer/x/KeyboardMapping.java,
13655 * gnu/java/awt/peer/x/XEventPump.java,
13656 * gnu/java/awt/peer/x/XFontPeer.java,
13657 * gnu/java/awt/peer/x/XFontPeer2.java,
13658 * gnu/java/awt/peer/x/XFramePeer.java,
13659 * gnu/java/awt/peer/x/XGraphics.java,
13660 * gnu/java/awt/peer/x/XGraphics2D.java,
13661 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13662 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13663 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13664 * gnu/java/awt/peer/x/XImage.java,
13665 * gnu/java/awt/peer/x/XLightweightPeer.java,
13666 * gnu/java/awt/peer/x/XToolkit.java,
13667 * gnu/java/awt/peer/x/XWindowPeer.java,
13668 * gnu/java/awt/peer/x/fonts.properties: New files.
13669 * lib/standard.omit: Removed.
13670 * lib/standard.omit.in: Added.
13671 * configure.ac: Added configure option --with-escher. Added some
13672 configury for omitting gnu.java.awt.peer.x package when
13673 this option is not specified.
13675 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13677 * javax/swing/JComponent.java
13678 (JComponent()): Initialize the locale here, not the default locale,
13679 (getDefaultLocale): If null, return Locale.getDefault(),
13680 (setDefaultLocale): Added API docs.
13682 2006-06-29 Tania Bento <tbento@redhat.com>
13684 * java/awt/Container.java
13685 (applyComponentOrientation): Implemented method.
13687 2006-06-29 Gary Benson <gbenson@redhat.com>
13689 * java/io/File.java (listRoots): Merge security checks from libgcj.
13691 2006-06-29 Gary Benson <gbenson@redhat.com>
13693 * java/io/FilePermission.java (implies): Work when path is "/".
13695 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13697 * java/lang/Thread.java:
13698 (Thread(ThreadGroup,Runnable,String,long)): Update
13700 (Thread(VMThread,String,int,boolean)): Likewise.
13701 (join(long,int)): Likewise.
13702 (resume()): Likewise.
13703 (sleep(long,int)): Likewise.
13704 (start()): Likewise.
13705 (stop()): Likewise.
13706 (suspend()): Likewise.
13708 (getState()): Return either state or use VMThread.
13709 * java/lang/VMThread.java:
13710 (getState()): Added default implementation to return
13713 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13715 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13716 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13717 endian swapping code.
13719 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13720 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13721 without alpha information correctly on big endian systems.
13723 2006-06-28 Roman Kennke <kennke@aicas.com>
13725 * gnu/java/net/local/LocalSocket.java
13726 (setSoTimeout): Don't throw exception and ignore request.
13727 (getSoTimeout): Don't throw exception and always return 0.
13729 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13731 * javax/swing/JComponent.java
13732 (getRegisteredKeyStrokes): Implemented.
13734 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13736 * javax/swing/JComponent.java
13737 (verifyInputWhenFocusTarget): Initialise to true.
13739 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13741 * java/beans/VetoableChangeSupport.java
13742 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13744 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13745 for null property name and/or listener,
13746 * javax/swing/JComponent.java
13747 (getListeners): Handle VetoableChangeListener.class as a special case,
13748 (getVetoableChangeListeners): Fetch these from the
13749 vetoableChangeSupport object.
13751 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13753 * javax/swing/JComponent.java
13754 (componentPopupMenu): New field,
13755 (inheritsPopupMenu): New field,
13756 (getInheritsPopupMenu): Implemented,
13757 (setInheritsPopupMenu): Likewise,
13758 (getComponentPopupMenu): Likewise,
13759 (setComponentPopupMenu): Likewise,
13760 * javax/swing/JLabel.java
13761 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13763 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13765 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13766 (toString): New method.
13767 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13768 (toString): New method.
13769 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13770 (toString): New method.
13771 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13772 Handle case when Q is null.
13773 (decodePrivateKey): Likewise.
13774 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13776 (decodePublicKey): Likewise.
13777 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13778 aliases for all block ciphers.
13779 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13780 (engineDoPhase): Compute fully the shared secret.
13781 (checkState): New method.
13783 (engineGenerateSecret()): Reset key-agreement before returning.
13784 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13785 Reset key-agreement before returning.
13786 (engineGenerateSecret(String)): Reset key-agreement before returning.
13787 (engineInit(Key,SecureRandom)): Call reset() before returning.
13788 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13789 (engineInit): Replace printing to System.out with conditional logging.
13790 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13791 When the key-size is not specified, attempt best effort to find a suitable
13792 value among those advertised by the cipher before setting it to the length
13793 of provided key material.
13795 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13797 * javax/swing/table/DefaultTableColumnModel.java
13798 (changeEvent): Don't initialize yet, removed FIXME,
13799 (fireColumnModelChanged): Initialize changeEvent if necessary.
13801 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13803 * java/lang/Thread.java:
13804 (getAllStackTraces()): Implemented.
13805 (getStackTrace()): Likewise.
13807 2006-06-27 Tania Bento <tbento@redhat.com>
13809 * java/awt/Component.java
13810 (setComponentOrientation): NPE should not be thrown.
13812 2006-06-27 Tom Tromey <tromey@redhat.com>
13814 * configure.ac: Create gjar, gnative2ascii, gserialver.
13815 * tools/gappletviewer.in: Quote $@.
13816 * tools/gkeytool.in: Likewise.
13817 * tools/gjarsigner.in: Likewise.
13818 * tools/gjar.in: New file.
13819 * tools/gnative2ascii.in: Likewise.
13820 * tools/gserialver.in: Likewise.
13821 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13823 (bin_SCRIPTS): Likewise.
13825 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13827 * java/lang/management/ThreadMXBean.java:
13828 (getThreadInfo(long[])): Corrected return type.
13829 (getThreadInfo(long[], int)): Likewise.
13831 2006-06-27 Mark Wielaard <mark@klomp.org>
13833 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13834 nothing when listener is null.
13835 (removeFlavorListener): Likewise.
13837 * java/awt/datatransfer/DataFlavor.java
13838 (getRepresentationClassFromMime): Renamed to
13839 getRepresentationClassFromMimeThrows.
13840 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13841 (isRepresentationClassSerializable): Likewise.
13842 (isFlavorJavaFileListType): Likewise and check primary and
13844 (getParameter): Parameters are separated by semi-colons.
13845 (DataFlavor(Class,String,String)): Do some sanity checks.
13846 (DataFlavor(String,String,ClassLoader)): Call
13847 getRepresentationClassFromMimeThrows.
13848 (DataFlavor(String)): Likewise.
13849 (equals(DataFlavor)): Special case primary type text and charset
13852 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13854 * java/awt/Component.java
13855 (setName): Fire required PropertyChangeEvent,
13856 * java/awt/Label.java
13857 (getText): Removed redundant brackets,
13858 (generateName): New method (override),
13859 (nextLabelNumber): New field,
13860 (getUniqueLong): New method.
13862 2006-06-27 Roman Kennke <kennke@aicas.com>
13864 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13865 (createImage): Delegate this to the parent.
13866 (handleEvent): Only handle PAINT/UPDATE events when the
13867 component is actually showing.
13868 (hide): Repaint the parent after hiding a component.
13869 (prepareImage): Have only one return point.
13870 (setVisible): Delegate to show() and hide().
13871 (createVolatileImage): Added null check to avoid NPE.
13873 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13875 * java/awt/Label.java: Reformatted source code.
13877 2006-06-27 Roman Kennke <kennke@aicas.com>
13879 * java/awt/image/BufferedImage.java
13880 (getSource): Use a fixed DirectColorModel to deliver the
13881 RGB pixels to the ImageConsumer.
13883 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13885 * java/awt/Point.java
13886 (setLocation(double, double)): Round to nearest integer coordinates.
13888 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13890 * java/awt/Component.java
13891 (minSizeSet): New field,
13892 (maxSize): Likewise,
13893 (maxSizeSet): Likewise,
13894 (isMaximumSizeSet): Implemented,
13895 (isMinimumSizeSet): Likewise,
13896 (isPreferredSizeSet): Likewise,
13897 (setMaximumSize): Likewise,
13898 (setMinimumSize): Likewise,
13899 (setPreferredSize): Likewise.
13901 2006-06-27 Roman Kennke <kennke@aicas.com>
13903 * javax/imageio/spi/IIORegistry.java
13904 (IIORegistry): Added BMP codec.
13906 2006-06-27 Mark Wielaard <mark@klomp.org>
13908 * javax/swing/JComponent.java
13909 (firePropertyChange(String,char,char)): New override method.
13911 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13913 * java/lang/Thread.java:
13914 (getState()): New method.
13915 * java/lang/management/ClassLoadingMXBean.java:
13916 Corrected class documentation.
13917 * java/lang/management/ManagementFactory.java:
13918 Added new temporary marked stub to get thread bean.
13919 * java/lang/management/OperatingSystemMXBean.java:
13920 Corrected class documentation.
13921 * java/lang/management/RuntimeMXBean.java:
13922 Corrected class documentation.
13923 * java/lang/management/ThreadInfo.java,
13924 * java/lang/management/ThreadMXBean.java:
13926 * vm/reference/java/lang/VMThread.java:
13927 (getState()): New method.
13928 * vm/reference/java/lang/management/VMThreadInfo.java:
13931 2006-06-26 Sven de Marothy <sven@physto.se>
13933 * gnu/javax/imageio/gif/GIFFile.java
13934 * gnu/javax/imageio/gif/GIFImageReader.java
13935 * gnu/javax/imageio/gif/GIFImageSpi.java
13936 * gnu/javax/imageio/gif/GIFStream.java
13938 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13940 2006-06-26 Tania Bento <tbento@redhat.com>
13942 * java/awt/List.java
13943 (List): A list should have at least 4 visible rows.
13944 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13945 not an IllegalArgumentException.
13946 (makeVisible): Should not throw an IllegalArgumentException if
13947 the specified index is out of range.
13949 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13951 * javax/swing/JList.java
13952 (getNextMatch): Reimplemented to perform a circular search for the
13955 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13957 * javax/swing/JList.java
13958 (init): Set default value for visibleRowCount to 8,
13959 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13961 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13963 * javax/swing/JList.java
13964 (valueIsAdjusting): Removed,
13965 (init): Removed initialization of valueIsAdjusting field,
13966 (getValueIsAdjusting): Fetch value from selection model,
13967 (setValueIsAdjusting): Store value in selection model.
13969 2006-06-26 Roman Kennke <kennke@aicas.com>
13971 * javax/swing/plaf/basic/BasicListUI.java
13972 (installKeyboardActions): Rewritten to fit with the
13973 ActionMap/InputMap architecture.
13974 (uninstallKeyboardActions): Implemented.
13975 (ListAction): Made private. Added TODO for splitting
13976 up this bulk Action.
13977 (ListAction.ListAction): New constructor. This one
13978 takes a cmd parameter to be installed as actionCommand.
13980 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13982 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13983 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13985 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13987 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13988 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13989 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13990 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13991 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13992 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13993 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13994 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13995 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13996 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13997 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13998 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13999 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14000 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14001 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14002 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14003 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14004 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14005 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14006 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14007 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14008 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14009 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14010 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14011 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14012 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14013 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14014 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14015 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14016 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14017 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14018 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14019 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14020 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14021 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14022 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14023 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14024 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14025 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14026 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14027 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14028 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14029 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14030 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14031 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14032 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14033 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14034 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14035 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14036 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14037 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14038 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14039 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14040 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14041 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14042 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14043 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14044 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14045 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14046 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14047 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14048 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14049 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14050 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14051 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14052 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14053 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14054 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14055 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14056 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14057 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14058 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14059 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14060 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14061 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14062 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14063 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14064 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14065 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14066 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14067 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14068 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14070 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14072 * javax/swing/JList.java
14073 (setLayoutOrientation): Check for valid argument.
14075 2006-06-26 Roman Kennke <kennke@aicas.com>
14077 * javax/swing/JComponent.java
14078 (firePropertyChange(String,int,int)): New method. Overrides
14079 Component method and makes it public.
14080 (firePropertyChange(String,boolean,boolean)): Likewise.
14082 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14084 * gnu/java/security/.cvsignore: New File.
14085 * gnu/java/security/Configuration.java.in: New File.
14086 * gnu/java/security/Properties.java: Change import from
14087 gnu.classpath.Configuration to gnu.java.security.Configuration.
14088 * gnu/java/security/hash/Whirlpool.java: Likewise.
14089 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14090 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14091 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14092 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14093 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14094 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14095 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14096 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14097 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14098 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14099 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14100 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14101 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14102 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14103 * gnu/java/security/util/Base64.java: Likewise.
14104 * gnu/java/security/x509/X509CRL.java: Likewise.
14105 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14106 * gnu/java/security/x509/ext/Extension.java: Likewise.
14107 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14108 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14109 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14110 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14111 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14112 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14113 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14114 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14115 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14116 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14117 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14118 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14119 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14120 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14121 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14122 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14123 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14124 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14125 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14126 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14127 * gnu/javax/crypto/pad/TBC.java: Likewise.
14128 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14129 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14130 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14131 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14132 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14133 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14134 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14135 * gnu/javax/security/auth/login/GnuConfiguration.java
14136 (getAppConfigurationEntry): Change reference to
14137 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14138 (getConfigFromUserHome): Likewise.
14139 (getInputStreamFromURL): Likewise.
14140 (getUserHome): Likewise.
14142 (processSecurityProperties): Likewise.
14143 (processSystemProperty): Likewise.
14144 (processUserHome): Likewise.
14145 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14146 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14149 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14151 * javax/swing/text/DefaultCaret.java (isActive): New method.
14153 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14155 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14156 * java/lang/management/ClassLoadingMXBean.java:
14157 (getTotalLoadedClassCount()): Corrected return type.
14158 (getUnloadedClassCount()): Likewise.
14159 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14160 (getUnloadedClassCount()): Likewise.
14162 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14164 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14165 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14166 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14167 * gnu/javax/crypto/cipher/Square.java: Likewise.
14168 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14169 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14170 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14171 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14172 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14173 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14174 * gnu/javax/crypto/cipher/DES.java: Likewise.
14175 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14176 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14177 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14178 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14179 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14181 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14183 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14184 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14185 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14186 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14187 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14188 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14189 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14190 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14191 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14192 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14193 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14194 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14195 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14197 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14200 * doc/vmintegration.texinfo:
14201 Updated with information on new VM interface.
14202 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14203 * java/lang/management/ClassLoadingMXBean.java:
14204 New files implementing the class loading bean.
14205 * java/lang/management/ManagementFactory.java:
14206 (getClassLoadingMXBean()): Implemented.
14207 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14208 New VM interface file.
14210 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14212 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14213 (isBootClassPathSupported()): Use SystemProperties
14214 rather than System.getProperty.
14216 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14218 * gnu/java/security/Properties.java: Source formatting.
14219 * gnu/java/security/Registry.java: Likewise.
14221 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14223 * gnu/java/security/util/Util.java: Source formatting.
14224 * gnu/java/security/util/SimpleList.java: Likewise.
14225 * gnu/java/security/util/Sequence.java: Likewise.
14226 * gnu/java/security/util/PRNG.java: Likewise.
14227 * gnu/java/security/util/ExpirableObject.java: Likewise.
14228 * gnu/java/security/util/Base64.java: Likewise.
14229 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14230 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14231 * gnu/java/security/sig/ISignature.java: Likewise.
14232 * gnu/java/security/sig/BaseSignature.java: Likewise.
14233 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14234 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14235 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14236 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14237 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14238 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14239 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14240 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14241 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14242 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14243 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14244 * gnu/java/security/provider/Gnu.java: Likewise.
14245 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14246 * gnu/java/security/prng/RandomEvent.java: Likewise.
14247 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14248 * gnu/java/security/prng/MDGenerator.java: Likewise.
14249 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14250 * gnu/java/security/prng/IRandom.java: Likewise.
14251 * gnu/java/security/prng/EntropySource.java: Likewise.
14252 * gnu/java/security/prng/BasePRNG.java: Likewise.
14254 2006-06-23 Francis Kung <fkung@redhat.com>
14256 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14257 (Harness.actionPerformed): Process additional options.
14258 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14259 (J2dBenchmarkWrapper.setAlias): New method.
14260 (J2dBenchmarkWrapper.setComposite): New method.
14261 (J2dBenchmarkWrapper.setFill): New method.
14262 (J2dBenchmarkWrapper.setRotation): New method.
14263 (J2dBenchmarkWrapper.setShear): New method.
14264 (J2dBenchmarkWrapper.setStroke): New method.
14265 (J2dBenchmarkWrapper.setTranslation): New method.
14266 (run): Add additional options to GUI.
14267 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14268 Added protected fields for various options.
14269 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14270 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14271 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14272 (getNextColor): Renamed to setRandom.
14273 (init): Load additional image for texturing if needed.
14274 (loadBufferedImage): New method.
14275 (main): Accept additional command-line switches.
14276 (prepareGraphics): New method.
14277 (resetGraphics): New method.
14278 (runTestSuite): Accept additional image-processing options.
14279 (setRandom): Renamed from getNextColor; generate various random options
14280 (test_drawArc): Rename getNextColor to setRandom.
14281 (test_drawCubic): Likewise.
14282 (test_drawEllipse): Likewise.
14283 (test_drawGeneralPath): Likewise.
14284 (test_drawImage): Likewise.
14285 (test_drawLine): Likewise.
14286 (test_drawQuadCurve): Likewise.
14287 (test_drawRectangle): Likewise.
14288 (test_drawRoundRectangle): Likewise.
14289 (test_drawTransparentImage): Likewise.
14290 (test_fillArc): Rename getNextColor to setRandom.
14291 (test_fillEllipse): Likewise.
14292 (test_fillGeneralPath): Likewise.
14293 (test_fillRectangle): Likewise.
14294 (test_fillRoundRectangle): Likewise.
14295 (TestRecorder.getAverage): Round the average time.
14297 2006-06-23 Tom Tromey <tromey@redhat.com>
14299 * java/util/logging/LoggingMXBean.java: New file.
14300 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14301 (loggingBean): New field.
14302 (getLoggingMXBean): New method.
14304 2006-06-23 Tania Bento <tbento@redhat.com>
14306 * java/awt/TextField.java
14307 (TextField): Default number of columns should be 0, not 1.
14308 (TextField): Check if number of columns given as argument
14309 is valid (>= 0) and set the number of columns accordingly.
14310 (TextField): Check if the string passed is null. If it is,
14311 set columns to 0, else columns is set to the length of
14314 2006-06-23 Roman Kennke <kennke@aicas.com>
14316 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14317 (InternalFramePropertyChangeListener.propertyChange):
14318 Don't call getPropertyName() repeatedly. Added null checks
14319 to avoid NPEs. Call closeFrame() if the closed property
14322 2006-06-23 Roman Kennke <kennke@aicas.com>
14324 * javax/swing/JInternalFrame.java
14325 (maxTransition): Removed.
14326 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14327 Don't initialize storedBounds here.
14328 (dipose): Rewritten to correctly dispose the JInternalFrame.
14329 (getDesktopIcon): Don't initialize desktopIcon here.
14330 (getLayer): Delegate to JLayeredPane.getLayer().
14331 (getNormalBounds): Return bounds when storedBounds == null,
14332 otherwise storedBounds.
14333 (hide): Don't change selection. Also hide the desktopIcon.
14334 (moveToBack): Call getParent() only once.
14335 (moveToFront): Call getParent() only once.
14336 (pack): Call validate() to make sure that the layout is
14337 propagated to the children.
14338 (setClosed): Fire InternalFrameEvent first, before the
14340 (setJMenuBar): Fire PropertyChangeEvent for this property.
14341 (setLayer): Delegate to JLayeredPane.
14342 (setLayeredPane): Check for null and throw IllegalArgumenException.
14343 (setMaximum): Remove handling of maxTransition and normalBounds.
14344 Should probably be done in the UI.
14345 (setNormalBounds): Store Rectangle object directly, not a copy.
14346 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14347 adding the RootPane doesn't add it to the contentPane.
14348 Fire PropertyChangeEvent.
14349 (setSelected): Added condition for when this property must not
14351 (show): Don't ask the DesktopPane to select the frame. Moved
14352 code around to fire InternalFrameEvent before actually calling
14353 super.show(). Also make the desktopIcon visible.
14354 (setTitle): Fire PropertyChangeEvent unconditionally.
14356 2006-06-23 Roman Kennke <kennke@aicas.com>
14358 * javax/swing/JLayeredPane.java
14359 (getPosition): Moved code around to avoid unnecessary method calls.
14360 (setPosition): Delegate to setLayer().
14361 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14362 (insertIndexForLayer(Component,int,int)): New helper method
14363 to support the use of setComponentZOrder() which doesn't remove
14364 the component and thus the insertIndexForLayer must ignore
14365 the component to be moved to get the index right.
14366 (setLayer): Added check to prevent unnecessary execution of
14367 method body. Changed to update the component order here.
14368 Added repaint() to make sure that the update becomes visible.
14369 (addImpl): Call setLayer() only when a constraint has been specified.
14370 Validate and repaint the JLayeredPane.
14372 2006-06-23 Roman Kennke <kennke@aicas.com>
14374 * java/awt/Container.java
14375 (getComponentZOrder): Use ncomponents instead of
14376 component.length so that we don't consider the empty space
14377 after the last component.
14379 2006-06-22 Roman Kennke <kennke@aicas.com>
14381 * javax/swing/JComponent.java
14382 (vetoableChangeSupport): New field.
14383 (removeVetoableChangeListener): Rewritten to use
14384 vetoableChangeSupport.
14385 (addVetoableChangeListener): Rewritten to use
14386 vetoableChangeSupport.
14387 (fireVetoableChange): Rewritten to use
14388 vetoableChangeSupport.
14389 (addPropertyChangeListener): Removed. This is handled in
14391 (firePropertyChange(String,boolean,boolean)): Likewise.
14392 (firePropertyChange(String,char,char)): Likewise.
14393 (firePropertyChange(String,int,int)): Likewise.
14394 (revalidate): Don't do anything when the commponent has no
14397 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14399 * javax/swing/JLabel.java: Updated API docs.
14401 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14403 * java/awt/Insets.java: Updated copyright year.
14404 (toString): Changed string, removed a line from the
14407 2006-06-22 Roman Kennke <kennke@aicas.com>
14409 * javax/swing/text/AbstractDocument.java
14410 (AbstractDocument): Set the i18n document property.
14411 (removeImpl): Added checks for correct boundaries.
14413 2006-06-22 Roman Kennke <kennke@aicas.com>
14415 * javax/swing/text/PlainDocument.java
14416 (rootElement): Changed type to Element.
14417 (tabSize): Removed field. This is stored in the document properties
14419 (PlainDocument): Set tabSize property. Init rootElement without
14421 (insertUpdate): Rewritten. The previous implementation did not
14422 handle some corner cases properly and was a mess.
14423 (removeUpdate): Cast rootElement to BranchElement.
14425 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14427 * javax/swing/plaf/basic/BasicLabelUI.java
14428 (installKeyboardActions): Implemented,
14429 (uninstallKeyboardActions): Implemented,
14430 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14433 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14435 * javax/swing/JMenu.java:
14436 (removeAll): Added check for popupMenu not being null.
14438 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14440 * javax/swing/JLabel.java
14441 (getText): Updated API docs,
14442 (setText): Corrected the check for an unchanged value, and the update
14443 of the displayedMnemonicIndex.
14445 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14447 * javax/swing/JLabel.java
14448 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14450 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14451 where label text is null.
14453 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14455 * javax/swing/JLabel.java
14456 (setDisplayedMnemonic): Updated API docs,
14457 (getDisplayedMnemonic): Removed unnecessary type-cast,
14458 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14459 (getDisplayedMnemonicIndex): Updated API docs.
14461 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14463 * java/util/Collections (entrySet): Fixed compile error.
14465 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14467 * javax/swing/DefaultListSelectionModel.java
14468 (getSelectionMode): Updated API docs,
14469 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14470 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14471 setSelectionInterval(),
14472 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14473 SINGLE_INTERVAL_SELECTION cases.
14475 2006-06-21 Roman Kennke <kennke@aicas.com>
14477 * javax/swing/text/AbstractDocument.java
14478 (BranchElement.numChildren): New field.
14479 (BranchElement.BranchElement): Initialize children array with
14480 one element (that's the least number of elements that makes sense).
14481 Initialize numChildren.
14482 (BranchElement.children): Use numChildren as boundary.
14483 (BranchElement.getElement): Use numChildren as boundary.
14484 (BranchElement.getElementCount): Use numChildren as boundary.
14485 (BranchElement.getElementIndex): Use numChildren as boundary.
14486 (BranchElement.getEndOffset): Use numChildren as boundary.
14487 (BranchElement.getStartOffset): Use numChildren as boundary.
14488 (BranchElement.positionToElement): Use numChildren as boundary.
14489 (BranchElement.replace): Handle the children array more efficiently
14490 by growing in blocks > 1, and reusing space from removed elements.
14491 (LeafElement.startDelta): Removed.
14492 (LeafElement.endDelta): Removed.
14493 (LeafElement.LeafElement): Removed handling of deltas.
14494 (LeafElement.getEndOffset): Likewise.
14495 (LeafElement.getStartOffset): Likewise.
14496 * javax/swing/text/JTextComponent.java
14497 (setDocument): Added locking of the old document to avoid dangling
14498 notification beeing delivered while the document is beeing
14500 (getScrollableTracksViewportWidth): Fixed condition.
14501 * javax/swing/text/PlainDocument.java
14502 (createDefaultRoot): Create elements without AttributeSet.
14503 * javax/swing/text/rtf/RTFParser.java
14504 (parseFile): Handle slightly incorrect RTF gracefully.
14505 * javax/swing/text/rtf/RTFScanner.java
14506 (lastToken): New field.
14507 (readTokenImpl): New method.
14508 (peekToken): New method.
14509 (readToken): Changed to call readTokenImpl or return the lastToken
14510 if there's one present.
14512 2006-06-21 Tania Bento <tbento@redhat.com>
14514 * javax/swing/JMenu.java
14515 (remove): An IllegalArgumentException should be thrown if
14516 either index < 0 or if index > 0 and there are no menu
14517 components. Also, a check was added that ensures there are
14518 menu components before removing the desired the component.
14520 2006-06-21 Lillian Angel <langel@redhat.com>
14522 * javax/swing/text/DefaultCaret.java
14523 (install): Added check to prevent NPE.
14524 (propertyChange): Added checks to prevent NPEs.
14526 2006-06-21 Tania Bento <tbento@redhat.com>
14528 * javax/swing/JMenu.java
14529 Changed instantiation of popupMenu to null.
14530 (JMenu): Instantiated popupMenu to new JPopupMenu.
14531 (JMenu): Instantiated popupMenu to new JPopupMenu.
14532 (add): Changed popupMenu to getPopupMenu().
14533 (add): Changed popupMenu to getPopupMenu().
14534 (add): Changed popupMenu to getPopupMenu().
14535 (add): Changed popupMenu to getPopupMenu().
14536 (remove): Changed popupMenu to getPopupMenu().
14537 (remove): Changed popupMenu to getPopupMenu().
14538 (insert): Changed popupMenu to getPopupMenu().
14539 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14540 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14541 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14542 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14543 (getMenuComponents): Changed popupMenu to getPopupMenu().
14544 (getPopupMenu): Check first if popupMenu is null and if so,
14545 instantiate it to a new JPopupMenu and set the invoker.
14546 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14547 (popupMenuWillBecomeVisible): Component Listener should only
14548 be added to the root container if the root container is not
14549 null. This avoids a null pointer exception.
14551 2006-06-21 Tania Bento <tbento@redhat.com>
14553 * javax/swing/JMenu.java
14554 (JMenu): Delay should be set to 200, not default of 0.
14555 (JMenu): Delay should be set to 200, not default of 0.
14556 (JMenu): Delay should be set to 200, not default of 0.
14557 (JMenu): Delay should be set to 200, not default of 0.
14558 (remove): Added check that index >= 0 before removing
14560 (getItem): Return null if item count equals 0.
14561 (isTearOff): Should throw new error and not return false.
14562 (getMenuComponent): Return null if popupMenu is null or
14563 if there are no menu components.
14565 2006-06-21 Roman Kennke <kennke@aicas.com>
14567 * java/awt/font/FontRenderContext.java:
14568 (equals): Added special conditions for affineTransform beeing
14571 2006-06-21 Roman Kennke <kennke@aicas.com>
14573 * javax/swing/UIManager.java
14574 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14575 must not be cleared.
14577 2006-06-21 Roman Kennke <kennke@aicas.com>
14579 * javax/swing/plaf/metal/MetalUtils.java
14580 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14581 Graphics2D is available. Use fillRect instead of drawLine, this
14583 (paintVerticalGradient): Use paintHorizontalGradient2D when
14584 Graphics2D is available. Use fillRect instead of drawLine, this
14586 (paintHorizontalGradient2D): New method. Paints gradient
14587 using Graphics2D functions.
14588 (paintVerticalGradient2D): New method. Paints gradient
14589 using Graphics2D functions.
14591 2006-06-21 Roman Kennke <kennke@aicas.com>
14593 * javax/swing/plaf/basic/BasicButtonListener.java
14594 (propertyChange): Create a TextLayout and store it in the button
14595 when the 'text' property changes.
14596 * javax/swing/plaf/basic/BasicButtonUI.java
14597 (paintText): Call BasicGraphicsUtils utility method for
14598 drawing strings, instead of Graphics.drawString().
14599 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14600 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14601 cached text layouts as client properties in JComponents.
14602 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14603 (drawStringUnderlineCharAt): New helper method.
14604 * javax/swing/plaf/basic/BasicMenuItemUI.java
14605 (PropertyChangeHandler.propertyChange): Update cached text layout
14606 when 'text' property changes. Use equals() instead of == for
14608 (paintText): Use new BasicGraphicsUtils methods for painting
14609 the cached text layout.
14610 (installListeners): Call super.installListeners() and remove
14611 the unneeded listener installs.
14612 (uninstallListeners): Call super.uninstallListeners() and remove
14613 the unneeded listener uninstalls.
14615 2006-06-21 Roman Kennke <kennke@aicas.com>
14617 * javax/swing/plaf/basic/BasicTextUI.java
14618 (PropertyChangeHandler.propertyChange): Handle document listener
14620 (background): Removed unneeded fields.
14621 (inactiveBackground): Remove unneeded fields.
14622 (installUI): Install the document listener. Slightly changed
14623 order of operations. Don't trigger modelChanged().
14624 (installDefaults): Only install properties when the
14625 current properties are null or instances of UIResource.
14626 (installListeners): Removed unnecessary listener installs.
14627 (installDocumentListeners): Removed unneeded method.
14628 (uninstallListeners): Removed unnecessary listener uninstalls.
14629 (modelChanged): Removed call to installDocumentListeners().
14630 * javax/swing/plaf/basic/BasicTextFieldUI.java
14631 (propertyChange): Update the colors by fetching them from
14632 SharedUIDefaults. Fixed conditions.
14633 * javax/swing/plaf/basic/SharedUIDefaults.java
14634 (getColor): New method.
14636 2006-06-21 Roman Kennke <kennke@aicas.com>
14638 * javax/swing/SizeSequence.java
14639 (SizeSequence): Initialize array with correct number of entries.
14641 2006-06-21 Roman Kennke <kennke@aicas.com>
14643 * javax/swing/JSplitPane.java
14644 (setDividerLocation): Substract divider size when computing
14647 2006-06-21 Roman Kennke <kennke@aicas.com>
14649 * javax/swing/JComponent.java
14650 (paintChildrenWithOverlap): Determine opaque property by
14651 calling the corresponding Component method, without requiring
14653 (paintChildrenOptimized): Removed old unneeded code.
14654 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14655 method instead of SwingUtilities.convertRectangle(). This is
14658 2006-06-21 Roman Kennke <kennke@aicas.com>
14660 * javax/swing/AbstractButton.java
14661 (init): Call setText() instead of setting the property directly,
14662 so that listeners (especially in the UI) get notified.
14664 2006-06-21 Roman Kennke <kennke@aicas.com>
14666 * javax/swing/UIManager.java
14667 (MultiplexUIDefaults): New inner class.
14668 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14669 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14670 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14671 directly. Print stacktrace if something goes wrong.
14672 (get): Delegate call to currentUIDefaults.
14673 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14675 (getUI): Delegate call to currentUIDefaults.
14676 (put): Delegate call to currentUIDefaults.
14677 (setLookAndFeel): Initialize currentUIDefaults with
14678 MultiplexUIDefaults. Set lookAndFeelDefaults.
14679 (setLookAndFeel): Use current thread's context classloader for
14682 2006-06-21 Roman Kennke <kennke@aicas.com>
14684 * javax/swing/text/GapContent.java
14685 (GapContentPosition.GapContentPosition): Replace
14686 Collections.binarySearch with call to local search() to make
14687 sure we find the first object that equals the searched object.
14688 (setPositionsInRange): Likewise.
14689 (adjustPositionsInRange): Likewise.
14690 (search): New helper method.
14692 2006-06-21 Gary Benson <gbenson@redhat.com>
14694 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14695 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14696 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14698 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14700 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14701 APPLETVIEWER_EXECUTABLE to gappletviewer.
14703 2006-06-20 Tom Tromey <tromey@redhat.com>
14705 PR classpath/28095:
14706 * java/net/URL.java (URL): Throw MalformedURLException if a
14707 RuntimeException is caught. Chain exceptions.
14709 2006-06-20 Lillian Angel <langel@redhat.com>
14711 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14712 (create): Added check to prevent Seg Fault. Should not
14713 set the label if it is null.
14714 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14715 (setText): Changed to be a non-native function. Calls
14716 setNativeText if the String parameter is non-null.
14717 (setNativeText): Replaces old native setText function.
14718 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14719 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14720 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14721 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14722 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14723 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14725 2006-06-20 Lillian Angel <langel@redhat.com>
14727 * javax/swing/text/JTextComponent.java
14728 (AccessibleJTextComponent): Rewrote all javadocs
14729 for this inner class.
14731 2006-06-20 Francis Kung <fkung@redhat.com>
14733 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14734 Changed many members to be protected.
14735 (J2dBenchmark): moved to init() instead.
14736 (init): New method.
14737 (main): Call init() after creating object
14738 (testComplete): New method.
14739 (test_drawArc): Use maxTests varialbe instead of constant.
14740 (test_drawCubicCurve): Likewise.
14741 (test_drawEllipse): Likewise.
14742 (test_drawGeneralPath): Likewise.
14743 (test_drawImage): Likewise.
14744 (test_drawLine): Likewise.
14745 (test_drawQuadCurve): Likewise.
14746 (test_drawRectangle): Likewise.
14747 (test_drawRoundRectangle): Likewise.
14748 (test_drawTransparentImage): Likewise.
14749 (test_fillArc): Likewise.
14750 (test_fillEllipse): Likewise.
14751 (test_fillGeneralPath): Likewise.
14752 (test_fillRectangle): Likewise.
14753 (test_fillRoundRectangle): Likewise.
14754 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14755 (GraphicsTest.runSetWithClipping): Likewise.
14756 (GraphicsTest.runSetZeroClipping): Likewise.
14757 (GraphicsTest.run): Added checks for more option flags.
14758 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14761 2006-06-20 Roman Kennke <kennke@aicas.com>
14763 * javax/swing/text/GapContent.java
14764 (GapContentPosition.mark): New field.
14765 (GapContentPosition.index): Removed.
14766 (GapContentPosition.GapContentPosition): Changed to take the
14767 real offset as parameter. Added handling of reference counter.
14768 Try to cleanup before creating new instances.
14769 (getOffset): Delegate to the Mark method with same name.
14770 (Mark): New class, encapsulating a mark.
14771 (positionMarks): Removed field.
14772 (numMarks): Removed field.
14773 (marks): New field.
14774 (queueOfDeath): New field.
14775 (GapContent): Removed init of old fields, added init of new fields.
14776 (createPosition): Added check for validity of arguments.
14777 Create GapContentPosition directly with offset.
14778 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14779 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14780 (shiftGapStartDown): Call resetMarksAtZero().
14781 (shiftGapEndUp): Call resetMarksAtZero().
14782 (replace): Don't call resetMarksAtZero().
14783 (setPositionInRange): Replaced by simpler algorithm, similar to
14784 adjustPositionsInRange.
14785 (adjustPositionsInRange): Adapted to use of Mark objects.
14786 (resetMarksAtZero): Reset all marks that point to zero instead
14787 of only the first one.
14788 (dumpMarks): Adjusted to dump Mark objects.
14789 (insertMark): Removed.
14790 (garbageCollect): New method. Cleans up the marks list.
14791 (binarySearch): Removed.
14793 2006-06-20 Lillian Angel <langel@redhat.com>
14795 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14796 (drawImage): Added call to updateColor because
14797 Cairo seems to lose the current color.
14799 2006-06-20 Gary Benson <gbenson@redhat.com>
14801 * java/awt/Toolkit.java: Add security check.
14802 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14803 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14805 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14807 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14808 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14809 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14810 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14811 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14812 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14813 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14814 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14815 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14816 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14817 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14818 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14819 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14820 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14821 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14822 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14823 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14824 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14825 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14827 2006-06-19 Lillian Angel <langel@redhat.com>
14829 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14830 (drawImage): Should always use getRGB to get the pixels.
14831 getData returns an incorrect array of pixels.
14833 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14835 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14836 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14837 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14838 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14839 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14840 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14841 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14842 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14843 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14844 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14845 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14846 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14847 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14848 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14849 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14850 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14851 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14852 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14853 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14854 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14855 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14856 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14857 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14858 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14859 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14860 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14861 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14862 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14863 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14864 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14865 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14866 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14867 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14868 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14869 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14870 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14872 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14874 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14876 2006-06-19 Roman Kennke <kennke@aicas.com>
14878 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14879 (drawImage): Clip volatile image correctly.
14880 (drawVolatileImage): Added arguments for clipping.
14881 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14882 (drawVolatileImage): Added arguments for clipping. Clip image
14884 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14886 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14889 * java/rmi/server/UID.java (constructor): Synchronized
14890 the whole constructor on the UID class.
14892 2006-06-19 Roman Kennke <kennke@aicas.com>
14894 * javax/swing/RepaintManager.java
14895 (addInvalidComponent): Only add component that are displayable,
14896 that have displayable parents and that have a validateRoot.
14897 Also, don't validate components that have a CellRendererPane
14900 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14902 * javax/swing/plaf/IconUIResource.java
14903 (IconUIResource): Throw IllegalArgumentException for null icon.
14905 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14908 * java/rmi/server/UID.java (constructor): First increment
14909 uidCounter, and then use the value.
14911 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14913 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14914 * java/awt/GridBagConstraints.java: Indent.
14916 2006-06-18 Tom Tromey <tromey@redhat.com>
14918 * native/jni/gconf-peer/.cvsignore: New file.
14920 2006-06-18 Tom Tromey <tromey@redhat.com>
14922 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14923 Also handle short options.
14925 2006-06-18 Jim Huang <jserv@kaffe.org>
14927 PR classpath/28076:
14928 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14931 2006-06-19 Mark Wielaard <mark@klomp.org>
14933 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14934 on gnu/java/util/prefs/gconf/%.class.
14935 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14936 chache typo, should be cache.
14937 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14939 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14941 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14942 Don't return a value for void function.
14943 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14945 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14946 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14948 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14949 Mark clazz ad unused.
14951 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14953 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14954 * gnu/java/security/hash/Tiger.java: Likewise.
14955 * gnu/java/security/hash/Sha512.java: Likewise.
14956 * gnu/java/security/hash/Sha384.java: Likewise.
14957 * gnu/java/security/hash/Sha256.java: Likewise.
14958 * gnu/java/security/hash/Sha160.java: Likewise.
14959 * gnu/java/security/hash/RipeMD160.java: Likewise.
14960 * gnu/java/security/hash/RipeMD128.java: Likewise.
14961 * gnu/java/security/hash/MD5.java: Likewise.
14962 * gnu/java/security/hash/MD4.java: Likewise.
14963 * gnu/java/security/hash/MD2.java: Likewise.
14964 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14965 * gnu/java/security/hash/Haval.java: Likewise.
14966 * gnu/java/security/hash/HashFactory.java: Likewise.
14967 * gnu/java/security/hash/BaseHash.java: Likewise.
14969 2006-06-18 Sven de Marothy <sven@physto.se>
14971 * java/awt/event/KeyEvent.java:
14972 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14973 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14974 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14976 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14978 * gnu/java/security/util/Prime2.java: Removed.
14979 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14980 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14981 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14982 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14983 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14984 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14985 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14986 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14987 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14988 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14989 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14990 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14992 2006-06-18 Sven de Marothy <sven@physto.se>
14994 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14995 * java/awt/font/TextMeasurer.java: Fix copyright date,
14996 remove commented-out code.
14998 2006-06-18 Sven de Marothy <sven@physto.se>
15000 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15001 (FreetypeGlyphVector, clone): Implement cloning.
15002 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15003 * java/awt/font/TextMeasurer.java: Implement.
15004 * java/awt/font/LineBreakMeasurer.java:
15005 Reimplement to use TextMeasurer.
15006 * java/awt/font/TextLayout.java
15008 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15009 (getText, getFont): New private static methods.
15010 (setCharIndices): New method.
15011 * java/text/AttributedString.java
15012 (AttributedString): Fix constructor to stop at end point.
15014 2006-06-17 Tom Tromey <tromey@redhat.com>
15016 * lib/gen-classlist.sh.in: Search all top-level directories, not
15017 just 'org', in external.
15019 2006-06-12 Mario torre <neugens at limasoftware.net>
15021 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15022 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15023 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15024 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15026 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15027 * configure.ac: update to introduce new files. Added options
15028 to build gconf native peer used by the GConf preference backend.
15029 * include/Makefile.am: update to introduce new files.
15030 * native/jni/Makefile.am update to introduce new files.
15031 * scripts/check_jni_methods.sh: added three new ignored file
15033 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15034 build gconf-peer shared library.
15036 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15038 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15039 Use Integer.valueOf() instead of new Integer().
15040 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15041 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15042 * gnu/java/security/util/Sequence.java: Likewise.
15043 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15044 * gnu/java/security/x509/X509Certificate.java: Likewise.
15045 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15046 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15047 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15048 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15049 * gnu/javax/crypto/cipher/DES.java: Likewise.
15050 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15051 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15052 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15053 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15054 * gnu/javax/crypto/cipher/Square.java: Likewise.
15055 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15056 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15057 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15058 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15059 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15060 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15061 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15062 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15063 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15064 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15065 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15066 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15067 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15068 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15069 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15070 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15071 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15072 * gnu/javax/crypto/mode/EAX.java: Likewise.
15073 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15074 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15075 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15076 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15077 * java/security/cert/X509CertSelector.java: Likewise.
15079 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15081 * javax/management/DynamicMBean.java:
15082 (setAttribute): Fixed to return void.
15083 * javax/management/MBeanFeatureInfo.java:
15086 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15088 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15089 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15090 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15091 into engineInitHandler and reuse the code in
15092 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15093 (engineInitHandler): New method.
15094 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15095 null, use random or default information when possible.
15097 2006-06-16 Francis Kung <fkung@redhat.com>
15099 * examples/gnu/classpath/examples/swing/Demo.java:
15100 (mkButtonBar): Rename FillRect to JNIOverhead.
15101 (mkMenuBar): Rename FillRect to JNIOverhead.
15102 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15103 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15104 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15105 Moved from old FillRect.
15107 2006-06-16 Tom Tromey <tromey@redhat.com>
15109 * tools/.cvsignore: Added new tool names.
15111 2006-06-16 Keith Seitz <keiths@redhat.com>
15113 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15114 instantiation so that EventManager is created when getDefault
15116 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15119 2006-06-16 Keith Seitz <keiths@redhat.com>
15121 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15122 (_initCount): New field.
15123 (Jdwp): Don't set isDebugging until fully initialized.
15124 (subcomponentInitialized): New method.
15125 (run): Wait for PacketProcessor and JdwpConnection to
15126 startup, then set isDebugging, and then let this thread
15128 * gnu/classpath/jdwp/transport/JdwpConnection.java
15129 (run): Add synchronization notification.
15130 * gnu/classpath/jdwp/processor/PacketProcessor.java
15133 2006-06-16 Tom Tromey <tromey@redhat.com>
15135 * NEWS: Updated for JSR 166.
15137 2006-06-16 Tom Tromey <tromey@redhat.com>
15139 * lib/Makefile.am (compile_classpath): Added jsr166.
15140 * configure.ac: Added external/jsr166/Makefile.
15141 * external/Makefile.am (SUBDIRS): Added jsr166.
15142 * external/jsr166/Makefile.am: New file.
15143 * lib/gen-classlist.sh.in: Look in external/jsr166.
15145 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15147 * gnu/classpath/jdwp/event/ExceptionEvent:
15148 Added Object instance to javadoc in constructor
15149 * gnu/classpath/jdwp/event/MethodEntryEvent:
15151 * gnu/classpath/jdwp/event/MethodExitEvent:
15153 * gnu/classpath/jdwp/event/SingleStepEvent:
15156 2006-06-16 Tom Tromey <tromey@redhat.com>
15158 Imported JSR 166 reference implementation:
15159 * .classpath: Added external/jsr166.
15160 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15161 * java/util/AbstractQueue.java: Removed.
15162 * java/util/Queue.java: Removed.
15163 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15164 (runPeriodic): Added explicit cast.
15165 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15168 2006-06-16 Tom Tromey <tromey@redhat.com>
15170 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15172 (getCallerClass): Now static.
15173 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15175 2006-06-16 Lillian Angel <langel@redhat.com>
15177 * java/awt/FileDialog.java
15178 (FileDialog): Added @since tag to API docs.
15179 (FileDialog): Likewise.
15180 (FileDialog): Likewise.
15181 * java/awt/Font.java:
15182 Added @since tag to TYPE1_FONT field docs.
15183 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15184 (isThumbRollover): Likewise.
15185 (setThumbRollover): Likewise.
15186 (getSupportsAbsolutePositioning): Likewise.
15187 * javax/swing/plaf/basic/BasicSliderUI.java:
15188 (isDragging): Likewise.
15190 2006-06-16 Lillian Angel <langel@redhat.com>
15192 * java/awt/FileDialog.java
15193 (FileDialog): Implemented.
15194 (FileDialog): Implemented.
15195 (FileDialog): Implemented.
15196 * java/awt/Font.java:
15197 Added TYPE1_FONT constant field.
15199 2006-06-16 Lillian Angel <langel@redhat.com>
15201 * java/awt/font/TextLayout.java:
15202 Removed unneeded imports.
15203 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15204 Added new thumbRollover field.
15205 (mouseMoved): Added code to set thumbRollover field.
15206 (isThumbRollover): New function.
15207 (setThumbRollover): New function.
15208 (getSupportsAbsolutePositioning): Implemented. This
15209 needs to be changed once the feature has been
15211 * javax/swing/plaf/basic/BasicSliderUI.java:
15212 Added new dragging field.
15213 (mouseDragged): Initialized dragging field.
15214 (isDragging): New function.
15215 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15216 (focusGained): Marked as not implemented.
15217 (focusLost): Likewise.
15219 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15221 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15222 Added check for null ThreadId to avoid null pointer
15225 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15227 * javax/swing/DefaultComboBoxModel.java
15228 (removeElementAt): Set new selected item by calling setSelectedItem().
15230 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15232 * javax/swing/DefaultButtonModel.java
15233 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15235 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15237 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15238 (ListDataEvent): Handle case where index0 > index1,
15239 (toString): Implemented.
15241 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15243 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15244 (update): Added subexpression to if-statement.
15246 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15248 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15249 (installDefaults): Removed unneccessary code.
15250 (paint): Removed complex if-cascade, revert to default icon if
15251 icon property is not set.
15252 (getPreferredSize): New method.
15254 2006-06-16 Roman Kennke <kennke@aicas.com>
15257 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15258 (drawImage): Don't use setClip() but instead clipRect() to
15259 intersect the current clip with a new one.
15261 2006-06-15 Tom Tromey <tromey@redhat.com>
15263 * scripts/sanitize-jsr166: New file.
15264 * external/jsr166/IMPORTING: New file.
15265 * vm/reference/sun/reflect/Reflection.java: New file.
15266 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15267 * vm/reference/sun/misc/Unsafe.java: ...here.
15269 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15271 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15272 gjarsigner and keytool to gkeytool.
15273 * doc/tools.texinfo: Add note about tool exectable names.
15274 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15275 jarsigner to gjarsigner and keytool to gkeytool.
15276 * tools/appletviewer.in: Rename ...
15277 * tools/gappletviewer.in: New file.
15278 * tools/jarsigner.in: Rename ...
15279 * tools/gjarsigner.in: New file.
15280 * tools/keytool.in: Rename ...
15281 * tools/gkeytool.in: New file.
15282 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15284 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15286 * javax/management/AttributeList.java:
15287 Add serialization UID.
15288 * javax/management/DynamicMBean.java:
15290 * javax/management/JMRuntimeException.java:
15291 Add serialization UID and correct name
15292 of serialized field.
15293 * javax/management/MBeanInfo.java: New file.
15295 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15297 * javax/management/AttributeList.java,
15298 * javax/management/JMRuntimeException.java,
15299 * javax/management/RuntimeOperationsException.java:
15302 2006-06-15 Lillian Angel <langel@redhat.com>
15304 * java/awt/font/TextLayout.java:
15305 DEFAULT_CARET_POLICY changed to be public static final.
15307 2006-06-15 Tania Bento <tbento@redhat.com>
15309 * javax/swing/plaf/metal/MetalScrollButton.java
15310 (MetalScrollButton): Should set 'focusable' to false.
15312 2006-06-15 Tania Bento <tbento@redhat.com>
15314 * javax/swing/plaf/basic/BasicArrowButton.java
15315 (BasicArrowButton): Should set 'focusable' to false.
15316 (BasicArrowButton): Should set 'focusable' to false.
15318 2006-06-15 Mark Wielaard <mark@klomp.org>
15320 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15321 (getGraphicsConfiguration): Return default screen device.
15322 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15324 (GtkVolatileImage): Record initiating component.
15325 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15326 (getDeviceConfiguration): Return configuration of image component.
15328 2006-06-15 Mark Wielaard <mark@klomp.org>
15330 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15333 2006-06-15 Mark Wielaard <mark@klomp.org>
15335 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15336 with null argument.
15338 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15340 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15341 (matches): Added explicit brackets to return statement.
15343 2006-06-15 Tania Bento <tbento@redhat.com>
15345 * javax/swing/JRadioButtonMenuItem.java
15346 (JRadioButtonMenuItem): Should set 'focusable' to false.
15348 2006-06-15 Tania Bento <tbento@redhat.com>
15350 * javax/swing/JCheckBoxMenuItem.java
15351 (JCheckBoxMenuItem): Should set 'focusable' to false.
15353 2006-06-15 Tania Bento <tbento@redhat.com>
15355 * javax/swing/AbstractButton.java:
15356 (AbstractButton): 'Focusable' should be set to true and not false.
15358 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15360 * java/lang/management/ManagementFactory.java:
15361 Add private constructor to prevent instance creation.
15362 * java/lang/management/ManagementPermission.java:
15365 2006-06-15 Francis Kung <fkung@redhat.com>
15367 * javax/swing/plaf/basic/BasicArrowButton.java:
15368 (BasicArrowButton): move client property for not triggering out
15370 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15371 (configureArrowButton): set client property for not triggering
15372 (installUI): set client property for not triggering
15373 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15374 (PopupHelper.mousePressed): check client property for triggering
15376 2006-06-15 Roman Kennke <kennke@aicas.com>
15379 * javax/swing/RepaintManager.java
15380 (blitBuffer): Substract coordinates the other way around.
15382 2006-06-15 Roman Kennke <kennke@aicas.com>
15385 * javax/swing/JComponent.java
15386 (paintImmediately2): Only paint component without double buffering
15387 when all of it's parents have also double buffering disabled.
15388 (isPaintingDoubleBuffered): New helper method.
15390 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15392 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15393 (draw(Shape)): Pass null transform to getPathIterator(),
15394 (getClip): Likewise,
15395 * gnu/java/print/PostscriptGraphics2D.java
15396 (drawStringShape): Pass null transform to getPathIterator(),
15397 (writeShape): Likewise,
15398 * java/awt/Shape.java: Small updates to API docs.
15400 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15402 * javax/naming/InitialContext.java:
15403 (list(javax.naming.Name)): Fixed generic type.
15404 (list(String)): Likewise.
15405 (listBindings(javax.naming.Name)): Likewise.
15406 (listBindings(String)): Likewise.
15408 2006-06-14 Roman Kennke <kennke@aicas.com>
15410 * javax/swing/plaf/basic/BasicComboBoxUI.java
15411 (getAccessibleChildrenCount): Implemented.
15412 (getAccessibleChild): Implemented.
15413 (isNavigationKey): Implemented.
15414 (KeyHandler.keyPressed): Implemented.
15416 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15418 * java/lang/management/ManagementPermission.java:
15419 Added serialization UID.
15420 * javax/management/Attribute.java: Likewise.
15421 * javax/management/MBeanException.java,
15422 * javax/management/ReflectionException.java:
15423 Added serialization UID and changed to extend
15424 javax.management.JMException.
15426 2006-06-14 Lillian Angel <langel@redhat.com>
15428 * java/awt/Component.java
15429 (ignoreOldMouseEvents): Made static.
15430 (translateEvent): Made static.
15431 * java/awt/TextComponent.java
15432 (ignoreOldMouseEvents): Made static.
15434 2006-06-14 Mark Wielaard <mark@klomp.org>
15436 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15438 (drawRect): Likewise.
15439 (fillRect): Likewise.
15441 2006-06-14 Lillian Angel <langel@redhat.com>
15443 * java/awt/Component.java
15444 (ignoreOldMouseEvents): New helper function.
15445 (translateEvent): Changed to be non-static and use new helper.
15446 * java/awt/TextComponent.java
15447 (ignoreOldMouseEvents): New helper function.
15449 2006-06-14 Roman Kennke <kennke@aicas.com>
15451 * javax/swing/RepaintManager.java
15452 (MERGE_REGIONS): New constant flag.
15453 (commitBuffer): Exclude the merging of regions by default. This
15454 was causing painting artifacts in some applications, especially
15455 when different areas of the GUI are updated synchronously.
15457 2006-06-14 Roman Kennke <kennke@aicas.com>
15459 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15460 New file. This is a benchmark for AWT 1.1 style graphics operations.
15461 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15462 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15464 2006-06-14 Tom Tromey <tromey@redhat.com>
15466 * java/io/File.java (getParent): Javadoc fix.
15468 2006-06-14 Tom Tromey <tromey@redhat.com>
15470 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15472 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15473 when index entry does not exist.
15475 2006-06-14 Tania Bento <tbento@redhat.com>
15477 * javax/swing/AbstractButton.java
15478 (AbstractButton): Set focusable to false, not true.
15480 2006-06-14 Tania Bento <tbento@redhat.com>
15482 * javax/swing/JMenuItem.java
15483 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15485 2006-06-14 Tania Bento <tbento@redhat.com>
15487 * javax/swing/JCheckBoxMenuItem.java
15488 (JCheckBoxMenuItem): Added check to set the selected state.
15490 2006-06-14 Roman Kennke <kennke@aicas.com>
15492 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15493 (cairoDrawLine): New native method.
15494 (cairoDrawRect): New native method.
15495 (cairoFillRect): New native method.
15496 (drawLine): Use special native method.
15497 (drawRect): Use special native method.
15498 (fillRect): Use special native method.
15499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15500 (cairoDrawLine): New native method.
15501 (cairoDrawRect): New native method.
15502 (cairoFillRect): New native method.
15503 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15505 2006-06-14 Mark Wielaard <mark@klomp.org>
15507 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15508 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15509 cannot be allocated.
15511 2006-06-14 Tom Tromey <tromey@redhat.com>
15514 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15515 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15517 2006-06-14 Roman Kennke <kennke@aicas.com>
15519 * javax/swing/JComponent.java
15520 (isRepainting): New flag.
15521 (paintImmediately2): Set isRepainting flag.
15522 (getRoot): Removed obsolete method.
15523 (paintDoubleBuffered): Differenciate between paint calls from
15524 RepaintManager and from AWT refresh. Call
15525 RepaintManager.commitBuffer with this and local coordinates.
15526 (findOpaqueParent): Stop searching at heavyweight component. These
15528 (paintChildrenOptimized): Don't paint heavyweight children. These
15529 should care for themselves.
15530 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15531 should care for themselves.
15532 * javax/swing/RepaintManager.java
15533 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15535 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15536 toplevel windows only.
15537 (getRoot): Removed obsolete method.
15538 (commitBuffer): Blit buffer on nearest heavyweight.
15539 (blitBuffer): New helper method.
15540 (getHeavyweightParent): New helper method.
15541 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15542 * javax/swing/SwingUtilities.java
15543 (convertRectangleToAncestor): New helper method.
15545 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15547 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15548 Condition all trace/debug code based on Configuration.DEBUG.
15549 Use logger instead of STDOUT and ot STDERR.
15551 2006-06-13 Lillian Angel <langel@redhat.com>
15553 * native/plugin/gcjwebplugin.cc
15554 (NP_Initialize): Removed code to create whitelist file.
15555 (GCJ_New): Added code to create whitelist file.
15556 (plugin_user_trusts_documentbase): Fixed error message.
15558 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15560 * javax/swing/plaf/metal/MetalIconFactory.java
15561 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15562 prevent overwriting border,
15563 (VerticalSliderThumbIcon.gradientMask): Likewise.
15565 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15567 * javax/management/AttributeNotFoundException.java,
15568 * javax/management/InvalidAttributeValueException.java,
15569 * javax/management/JMException.java,
15570 * javax/management/MBeanException.java,
15571 * javax/management/OperationsException.java,
15572 * javax/management/ReflectionException.java:
15575 2006-06-13 Roman Kennke <kennke@aicas.com>
15577 * java/awt/Component.java
15578 (dispatchEvent): Handle events even when consumed (this might be
15579 picked up later in the dispatching chain).
15580 * javax/swing/plaf/basic/BasicLookAndFeel.java
15581 (PopupHelper.mousePressed): Don't consume event. Only close popup
15582 when target component isn't flagged as DONT_CANCEL_POPUP.
15583 (DONT_CANCEL_POPUP): New package private constant for flagging
15584 special components that don't trigger popup closing.
15585 * javax/swing/plaf/basic/BasicArrowButton.java
15586 (BasicArrowButton): Set client property for not triggering closing
15589 2006-06-13 Lillian Angel <langel@redhat.com>
15591 * java/awt/image/PixelGrabber.java
15592 (PixelGrabber): Added to API documentation.
15594 2006-06-13 Keith Seitz <keiths@redhat.com>
15596 From Kyle Galloway <kgallowa@redhat.com>:
15597 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15598 (ExceptionOnlyFilter): Allow null refId.
15600 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15601 compatibility with filters.
15602 (getParameter): Modified to allow access to above.
15604 2006-06-13 Sven de Marothy <sven@physto.se>
15606 * gnu/java/awt/peer/gtk/CairoSurface.java
15607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15608 (create): Use stride in ints.
15610 2006-06-13 Keith Seitz <keiths@redhat.com>
15612 From Kyle Galloway <kgallowa@redhat.com>:
15613 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15615 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15617 * javax/swing/plaf/basic/BasicSliderUI.java
15618 (calculateThumbSize): Removed unnecessary code,
15619 (calculateThumbLocation): Shift position by one,
15620 (calculateTickRect): Shift position by one when ticks are displayed,
15621 (calculateLabelRect): Calculate rect differently according to whether
15622 or not the labels are visible,
15623 (paintTrack): Shift track down one pixel.
15625 2006-06-13 Lillian Angel <langel@redhat.com>
15627 * java/awt/image/PixelGrabber.java
15628 (PixelGrabber): Removed check to throw exception. JDK does
15630 (startGrabbing): Removed line to print stacktrace.
15632 2006-06-13 Mark Wielaard <mark@klomp.org>
15634 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15635 allocate unused AffineTransform. Add comment about conversion to
15637 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15638 Recognize identity transform as "easy". Always convert to
15639 BufferedImage before calling super.
15641 2006-06-13 Roman Kennke <kennke@aicas.com>
15643 * java/awt/Component.java
15644 (getGraphics): Translate child graphics correctly.
15645 (dispatchEvent): Only dispatch event if it hasn't been consumed
15646 yet by the global dispatcher.
15647 * javax/swing/plaf/basic/BasicLookAndFeel.java
15648 Added some API docs.
15649 (PopupHelper.mousePressed): Consume the event after closing
15652 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15654 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15656 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15657 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15658 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15659 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15660 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15661 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15662 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15663 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15664 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15665 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15666 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15667 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15668 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15669 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15670 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15671 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15673 2006-06-12 Sven de Marothy <sven@physto.se>
15675 * java/awt/font/LineBreakMeasurer.java): Implement.
15677 2006-06-12 Keith Seitz <keiths@redhat.com>
15679 From Kyle Galloway <kgallowa@redhat.com>:
15680 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15682 2006-06-12 Keith Seitz <keiths@redhat.com>
15684 From Kyle Galloway <kgallowa@redhat.com>:
15685 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15687 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15689 2006-06-12 Roman Kennke <kennke@aicas.com>
15691 * javax/swing/JComponent.java
15692 (paintDoubleBuffered): Correctly translate and clip the Graphics
15694 (clipAndTranslateGraphics): New helper method.
15696 2006-06-12 Roman Kennke <kennke@aicas.com>
15698 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15699 (copy): Use getClip() to copy the clip. Make copied transform
15700 null when original transform is null. Set clip here.
15701 (setTransform): Correctly update the clip.
15702 (setTransformImpl): New method. Updates the actual transform for
15704 (transform): Correctly update the clip.
15705 (translate): Correctly update the clip.
15706 (clip): Handle null clip and argument correctly.
15707 (clipRect): Avoid creating new Rectangle objects.
15708 (getClip): Get the correct copy of the clip.
15709 (setClip): Correctly handle null argument.
15710 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15711 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15712 be null or whatever has been set in copy().
15713 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15714 (drawImage): Add translation to the image coordinates.
15715 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15716 (VolatileImageGraphics): Don't set clip here. The clip can either
15717 be null or whatever has been set in copy().
15719 2006-06-12 Keith Seitz <keiths@redhat.com>
15721 From Kyle Galloway <kgallowa@redhat.com>:
15722 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15723 (forCaught): Removed unused/unnecessary method.
15724 (forUncaught): Likewise.
15725 (matches): Implement.
15727 2006-06-12 Keith Seitz <keiths@redhat.com>
15729 From Kyle Galloway <kgallowa@redhat.com>:
15730 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15732 2006-06-12 Keith Seitz <keiths@redhat.com>
15734 From Kyle Galloway <kgallowa@redhat.com>:
15735 * gnu/classpath/jdwp/event/Event.java: Added constants for
15737 (getParameter): Changed parameter type from Class to int.
15738 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15739 Changed from Class type to constants.
15740 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15742 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15744 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15746 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15748 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15750 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15752 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15754 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15756 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15759 2006-06-12 Lillian Angel <langel@redhat.com>
15761 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15762 (StandaloneAppletWindow): Changed title of standalone window.
15764 2006-06-12 Lillian Angel <langel@redhat.com>
15766 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15767 (layoutContainer): Added missing selectedComponent assignment.
15769 2006-06-12 Lillian Angel <langel@redhat.com>
15771 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15772 (layoutContainer): Added check to prevent exception.
15774 2006-06-12 Tom Tromey <tromey@redhat.com>
15776 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15778 2006-06-12 Mark Wielaard <mark@klomp.org>
15780 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15783 (lock): New method.
15784 (unlock): Likewise.
15785 (draw): Use lock() and unlock().
15787 (drawRenderedImage): Likewise.
15788 (drawImage): Likewise.
15789 (drawGlyphVector): Likewise.
15791 2006-06-12 Roman Kennke <kennke@aicas.com>
15793 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15794 (drawPixels): Include alpha in parameter list.
15795 (cairoFill): Include alpha in parameter list.
15796 (setComposite): Don't modify the color.
15797 (draw(Shape))): Use fill when the current composite has an alpha
15798 of != 1.0, so that the stroked shaped will be composited.
15799 (fill(Shape)): Call cairoFill() with alpha.
15800 (drawImage): Call drawPixels or drawSurface with alpha.
15801 (drawGlyphVector): When composite alpha is != 1.0, render the
15802 outline using fill() to enable compositing for text.
15803 (drawRaster): Call drawPixels with alpha.
15804 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15805 (nativeDrawSurface): Include alpha in parameter list.
15806 (drawSurface): Include alpha in parameter list. Pass it to
15807 nativeDrawSurface().
15808 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15809 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15811 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15812 (drawPixels): Handle possible alpha for compositing.
15813 (cairoFill): Likewise.
15814 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15815 (nativeDrawSurface): Handle possible alpha for compositing.
15817 2006-06-12 Mark Wielaard <mark@klomp.org>
15819 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15820 Notify data when completely done. Wait for worker thread to finish.
15821 Rethrow any pending exceptions.
15822 (exception): New field.
15823 (run): Store pending exception.
15825 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15827 * java/lang/management/ManagementPermission.java:
15830 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15832 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15834 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15836 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15837 Use String.charAt().
15839 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15841 * doc/tools.texinfo
15842 (Applet Tools): New chapter.
15843 (appletviewer Tool): New section.
15844 (gcjwebplugin): New section.
15846 2006-06-11 Mark Wielaard <mark@klomp.org>
15848 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15849 Takes GdkPixbufWriter.
15850 (GdkPixbufWriter): Implements Runnable.
15851 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15853 (DATADONE): New static final field.
15855 (write(byte[])): New method.
15857 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15858 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15859 Get dataOutputWriteID from writeClass.
15860 (stream_save_request): Change stream field to writer.
15861 (save_to_stream): Remove FIXME, call writer.
15862 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15865 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15868 Mention new VM interface and use of properties.
15869 * doc/vmintegration.texinfo:
15870 Update with new gnu.java.lang.management section.
15871 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15873 * java/lang/management/ManagementFactory.java:
15874 (getRuntimeMXBean()): Implemented.
15875 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15876 New VM interface file.
15878 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15881 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15882 debug code based on Configuration.DEBUG.
15883 Use logger instead of STDOUT and ot STDERR.
15884 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15885 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15886 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15887 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15888 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15889 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15890 * gnu/javax/crypto/pad/TBC.java: Likewise.
15891 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15892 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15893 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15894 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15895 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15896 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15897 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15898 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15899 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15900 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15901 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15902 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15903 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15904 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15905 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15906 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15907 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15908 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15909 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15910 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15911 * gnu/java/security/Properties.java: Likewise.
15912 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15913 * gnu/java/security/x509/X509CRL.java: Likewise.
15914 * gnu/java/security/x509/ext/Extension.java: Likewise.
15915 * gnu/java/security/util/Prime2.java: Likewise.
15916 * gnu/java/security/util/Base64.java: Likewise.
15917 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15918 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15919 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15920 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15921 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15922 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15923 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15924 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15925 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15926 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15927 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15928 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15929 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15930 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15931 * gnu/java/security/hash/Whirlpool.java: Likewise.
15933 2006-06-11 Mark Wielaard <mark@klomp.org>
15935 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15936 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15937 Remove unused variable glyph_index.
15939 2006-06-11 Mark Wielaard <mark@klomp.org>
15941 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15942 Don't recurse, return false if not an BufferedImage and no image
15944 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15945 end_gdk_drawing() to finally block.
15947 (drawRenderedImage): Likewise.
15948 (drawImage): Likewise.
15949 (drawGlyphVector): Likewise.
15951 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15953 * doc/tools.texinfo: Added text for new -cacert command.
15954 Re-structured sections.
15955 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15956 for -cacert command.
15957 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15958 (_CACERT): Likewise.
15959 (shutdownThread): New field.
15960 (Main): Install shutdown thread.
15961 (main): Uninstall shutdown thread.
15962 (start): Handle new -cacert command.
15963 (getParser): Likewise.
15964 (teardown): Increased visibility.
15965 (ShutdownHook): New inner class.
15966 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15968 2006-06-11 Sven de Marothy <sven@physto.se>
15970 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15971 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15972 (getOutline): Operate on the shape directly.
15973 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15974 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15975 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15976 (getGlyph renamed getGlyphs)
15977 * java/awt/geom/AffineTransform.java
15978 (getTranslateInstance): Set fields directly.
15979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15980 (getGlyphs): Get all glyph codes at once.
15982 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15985 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15987 2006-06-11 Sven de Marothy <sven@physto.se>
15989 * java/awt/font/TextLayout.java
15990 (getLogicalHighlightShape): Add check.
15991 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15992 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15994 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15996 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15997 Check that every component of 'cn' starts with a valid Java identifier char.
15999 2006-06-10 Tom Tromey <tromey@redhat.com>
16001 * java/io/File.java (pathSeparator): Typo fix.
16003 2006-06-10 Mark Wielaard <mark@klomp.org>
16005 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16007 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16008 Mark all unused parameters.
16009 (cp_gtk_get_cairo_t): Removed.
16010 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16011 Don't mix declerations and statements.
16012 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16013 Mark all unused parameters.
16014 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16015 Get cairographics2d pointer directly.
16016 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16017 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16018 Use jlong to pass pointer.
16019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16020 Mark all unused parameters.
16021 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16022 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16023 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16024 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16025 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16026 * include/java_io_VMFile.h: Regenerated.
16028 2006-06-10 Roman Kennke <kennke@aicas.com>
16030 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16031 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16032 instead of setClip(), so that an already present clip is intersected
16035 2006-06-10 Mark Wielaard <mark@klomp.org>
16037 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16038 Call getSize() to avoid accessor method.
16040 2006-06-10 Mark Wielaard <mark@klomp.org>
16042 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16043 Qualify ElementSpec.
16045 2006-06-10 Mark Wielaard <mark@klomp.org>
16047 * lib/.cvsignore: Add sun.
16048 * lib/Makefile.am (dist-hook): Likewise.
16050 2006-06-10 Roman Kennke <kennke@aicas.com>
16052 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16053 * gnu/java/awt/peer/gtk/CairoSurface.java
16054 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16055 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16056 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16057 * native/jni/gtk-peer/cairographics2d.h
16058 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16061 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16062 Changed method signatures and calls to pass native pointers directly
16063 into the JNI code, in order to avoid costly lookups on each
16065 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16066 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16067 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16068 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16071 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16074 * javax/swing/text/DefaultStyledDocument.java
16075 (ElementBuffer.insertContentTag):
16076 Do not recreate leaves and do not remove elements here.
16078 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16080 * javax/swing/text/html/HTMLDocument.java
16081 (HTMLReader.HiddenAction): Implemented.
16083 2006-06-10 Roman Kennke <kennke@aicas.com>
16085 * javax/swing/RepaintManager.java
16086 (getVolatileOffscreenBuffer): Store the created buffer.
16087 * javax/swing/JComponent.java
16088 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16089 for better performance.
16091 2006-06-10 Roman Kennke <kennke@aicas.com>
16093 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16094 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16096 (getRealBounds): Overridden to return the correct bounds.
16098 2006-06-10 Roman Kennke <kennke@aicas.com>
16100 * javax/swing/plaf/metal/MetalButtonUI.java
16101 (update): Fixed to paint the gradient under the correct conditions.
16102 (updateWidthGradient): Removed.
16103 (isToolbarButton): New helper method.
16104 (isDrawingGradient): New helper method.
16106 2006-06-09 Roman Kennke <kennke@aicas.com>
16108 * javax/swing/JTabbedPane.java
16109 (setSelectedIndex): Don't change the visibility of the components,
16110 this is done by the UI class.
16111 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16112 (TabbedPaneLayout.layoutContainer): Change visibility of component
16113 here, depending on the selected index. Only do this if the new
16114 selected component is not null. Some programs seem to expect
16116 (visibleComponent): New field.
16117 (getVisibleComponent): Changed to return visibleComponent field.
16118 (setVisibleComponent): Changed to set the visibility of
16119 the old and new visible component.
16121 2006-06-09 Roman Kennke <kennke@aicas.com>
16123 * javax/swing/JComponent.java
16124 (paintChildrenOptimized): Paint component with a new Graphics
16125 object to protect the other painting code from modifications
16126 done in that object, and avoid cleanup ops on possibly dispose()ed
16129 2006-06-09 Sven de Marothy <sven@physto.se>
16131 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16132 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16133 Use GTK locks while disposing (Xlib) surface.
16135 2006-06-09 Tom Tromey <tromey@redhat.com>
16137 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16138 (uninstall-local): Delete 'sun' directory.
16139 (glibj.zip): Include 'sun' classes.
16140 (clean-local): Delete 'sun' directory.
16141 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16143 2006-06-09 Roman Kennke <kennke@aicas.com>
16145 * gnu/java/awt/java2d/AbstractGraphics2D.java
16146 (drawImage): Fixed scaling.
16147 (fillShape): Removed offset handling.
16148 (fillShapeImpl): Limit scanlining to device bounds.
16149 (getSegments): Removed offset handling.
16150 * gnu/java/awt/java2d/PolyEdge.java
16151 (toString): Include isClip flag in output.
16153 2006-06-08 Sven de Marothy <sven@physto.se>
16155 * java/awt/font/TextLayout.java
16156 (getOutline): Allow null transform.
16158 2006-06-08 Sven de Marothy <sven@physto.se>
16160 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16161 (drawString): Use TextLayout instead of GlyphVector.
16163 2006-06-08 Sven de Marothy <sven@physto.se>
16165 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16166 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16167 New constructor for bidirectionality.
16168 (getGlyphMetrics): Return whitespace glyphs.
16169 (getLogicalBounds): Offset rectangles to correct positions.
16170 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16171 (getBaselineFor): Default to ROMAN_BASELINE.
16172 (GdkFontLineMetrics): Guess some values for underline and
16174 (layoutGlyphVector): Use bidirectionality.
16175 * java/awt/font/TextLayout.java: Implement, mostly.
16177 2006-06-09 Anthony Green <green@redhat.com>
16179 PR classpath/27888:
16180 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16181 * java/util/Collections.java (binarySearch): Use unsigned shift.
16182 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16184 2006-06-09 Tom Tromey <tromey@redhat.com>
16186 * tools/.cvsignore: Added .deps.
16188 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16190 PR classpath/27966:
16191 * gnu/javax/security/auth/login/ConfigFileParser.java
16192 (validateClassName): Quote '.' in regexp.
16194 2006-06-09 Tom Tromey <tromey@redhat.com>
16196 PR classpath/23863:
16197 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16199 * native/fdlibm/mprec.c: New version from newlib. Commented out
16200 some includes. Added <assert.h>.
16201 (_reent, _Bigint): New defines.
16202 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16203 (__ULong, __Long): New types.
16204 (_calloc_r): New function.
16205 (Balloc): Dynamically add new _freelist entries as needed.
16206 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16207 MAX_BIGNUMS to size _x[].
16208 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16209 _allocation_map, num. Added _max_k.
16211 2006-06-09 Roman Kennke <kennke@aicas.com>
16213 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16214 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16217 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16219 * java/awt/image/BufferedImage.java
16220 (BufferedImage(int, int, int)): Added API docs,
16221 (getProperty(String)): Return correct value for undefined properties,
16222 (getPropertyNames()): Added comments and removed FIXME.
16224 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16226 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16227 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16229 2006-06-09 Francis Kung <fkung@redhat.com>
16231 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16232 (getPreferredSize): Return correct height for null or empty
16235 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16237 * java/awt/datatransfer/DataFlavor.java
16238 (readExternal): Mark as stub,
16239 (writeExternal): Likewise,
16240 * java/awt/dnd/DropTargetContext.java
16241 (dropComplete): Mark as stub,
16242 (acceptDrag): Likewise,
16243 (rejectDrag): Likewise,
16244 (acceptDrop): Likewise,
16245 (rejectDrop): Likewise,
16246 (getCurrentDataFlavors): Likewise,
16247 (getTransferable): Likewise,
16248 * java/awt/dnd/DropTargetDropEvent.java
16249 (dropComplete): Mark as stub.
16251 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16253 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16254 (constructor): Do not lowercase the values.
16255 * javax/swing/text/html/HTMLDocument.java
16256 (HTMLReader.addSpecialElement): Implemented.
16257 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16259 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16261 On behalf of Matthew Wringe <mwringe@redhat.com>
16262 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16263 * gnu/javax/crypto/pad/ISO10126.java: New class.
16264 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16265 (getInstance): Added support for ISO-10126 scheme.
16266 (getNames): Likewise.
16267 Cache result for speed.
16269 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16271 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16272 flexible self-test by sub-classes.
16273 (test1BlockSize): New method.
16275 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16277 * javax/swing/plaf/basic/BasicLookAndFeel.java
16278 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16279 * javax/swing/plaf/basic/BasicScrollBarUI.java
16280 (installKeyboardActions): Implemented,
16281 (uninstallKeyboardActions): Implemented,
16282 (getInputMap): New method,
16283 (getActionMap): New method,
16284 (createActionMap): New method,
16285 (installUI): Call installKeyboardActions(),
16286 (uninstallUI): Call uninstallKeyboardActions().
16288 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16290 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16291 (getActionMap): Use correct key to store action map.
16293 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16295 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16296 (executeInstruction): Added NOT support.
16298 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16300 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16303 2006-06-08 Tom Tromey <tromey@redhat.com>
16305 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16308 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16310 * java/lang/management/RuntimeMXBean.java:
16313 2006-06-08 Lillian Angel <langel@redhat.com>
16315 * native/plugin/gcjwebplugin.cc:
16316 (NP_Shutdown): Freed whitelist_filename.
16318 2006-06-08 Lillian Angel <langel@redhat.com>
16320 * native/plugin/Makefile.am:
16321 Removed DATA_DIRECTORY.
16322 * native/plugin/gcjwebplugin.cc:
16323 Added new global fields for whitelist_file
16324 and data_directory. Removed WHITELIST_FILE.
16325 (NP_Initialize): Initialized new fields. Also,
16326 Changed to use new fields.
16327 (NP_Shutdown): Freed data_directory.
16328 (GCJ_New): Changed to use new fields.
16329 (plugin_ask_user_about_documentbase): Likewise.
16331 2006-06-08 Lillian Angel <langel@redhat.com>
16333 * native/plugin/Makefile.am:
16334 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16335 * native/plugin/gcjwebplugin.cc:
16336 Changed all instances of PLUGIN_DATA_DIRECTORY
16339 2006-06-08 Roman Kennke <kennke@aicas.com>
16341 * java/awt/LightweightDispatcher.java
16342 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16343 with convertPointToChild(). This is more efficient and avoids
16344 problems with getLocationOnScreen().
16345 (findTarget): Check for component beeing showing() early.
16346 Simplified AWTUtilities.convertPoint() to a simple substraction
16348 (convertPointToChild): New helper method.
16350 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16352 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16355 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16356 Lillian Angel <langel@redhat.com>
16358 * native/plugin/gcjwebplugin.cc
16359 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16360 Also, reset initialized field.
16362 2006-06-08 Lillian Angel <langel@redhat.com>
16364 * javax/swing/plaf/basic/BasicProgressBarUI.java
16365 (paintString): Fixed to paint string at the correct location.
16367 2006-06-08 Roman Kennke <kennke@aicas.com>
16369 * javax/swing/plaf/basic/BasicTreeUI.java
16370 (createDefaultActions): Added new actions.
16371 (TreePageAction.TreePageAction): Set action name.
16372 (TreePageAction.actionPerformed): Implemented.
16373 (TreePageAction.isEnabled): Implemented.
16374 (TreeToggleAction.TreePageAction): Set action name.
16375 (TreeToggleAction.actionPerformed): Implemented.
16376 (TreeToggleAction.isEnabled): Implemented.
16377 (TreeTraverseAction.TreeTraverseAction): Set action name.
16378 (TreeTraverseAction.actionPerformed): Use action name as command.
16379 (TreeTraverseAction.isEnabled): Implemented.
16381 2006-06-08 Roman Kennke <kennke@aicas.com>
16383 * javax/swing/plaf/basic/BasicTreeUI.java
16384 (installKeyboardActions): Rewritten to correctly install the UI
16385 input and action maps.
16386 (getActionMap): New helper method.
16387 (createDefaultActionMap): New helper method.
16388 (TreeHomeAction.TreeHomeAction()): Implemented.
16389 (TreeHomeAction.actionPerformed): Implemented.
16390 (TreeHomeAction.isEnabled): Implemented.
16391 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16392 (TreeIncrementAction.actionPerformed): Use action name as command.
16393 (TreeIncrementAction.isEnabled): Implemented.
16395 2006-06-08 Mark Wielaard <mark@klomp.org>
16398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16399 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16402 2006-06-08 Mark Wielaard <mark@klomp.org>
16404 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16405 (attrs): Removed unused static.
16407 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16409 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16410 (getInputMap): New method,
16411 (getActionMap): New method,
16412 (createActionMap): New method,
16413 (installKeyboardActions): Implemented,
16414 (uninstallKeyboardActions): Implemented.
16416 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16418 * javax/swing/border/MatteBorder.java:
16419 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16421 (paintBorder): Added if-statement to abort painting early.
16423 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16426 * gnu/xml/dom/DomIterator.java:
16427 (successor): Changed expression.
16429 2006-06-08 Sven de Marothy <sven@physto.se>
16431 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16432 (defaultLayout): Do kerning.
16433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16434 (getKerning): Correct class name, removed unused variable.
16436 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16438 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16439 libqtpeer.so unconditionally.
16441 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16443 * java/util/InputMismatchException.java:
16446 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16448 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16450 2006-06-07 Roman Kennke <kennke@aicas.com>
16452 * javax/swing/plaf/basic/BasicTreeUI.java
16453 (completeUIUninstall): Implemented.
16454 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16455 editing before uninstalling anything.
16456 (isToggleEvent): Implemented.
16457 (selectPathForEvent): Make use of isToggleEvent().
16458 (ComponentHandler.componentMoved): Implemented.
16459 (ComponentHandler.startTimer): Implemented.
16460 (ComponentHandler.getScrollPane): Implemented.
16461 (ComponentHandler.actionPerformed): Implemented.
16463 2006-06-07 Francis Kung <fkung@redhat.com>
16465 * javax/swing/JMenuBar.java:
16466 (getSubElements): Do not return null values.
16468 2006-06-07 Roman Kennke <kennke@aicas.com>
16471 * gnu/regexp/BacktrackStack.java
16472 * gnu/regexp/CharIndexed.java
16473 * gnu/regexp/CharIndexedCharArray.java
16474 * gnu/regexp/CharIndexedCharSequence.java
16475 * gnu/regexp/CharIndexedInputStream.java
16476 * gnu/regexp/CharIndexedString.java
16477 * gnu/regexp/CharIndexedStringBuffer.java
16478 * gnu/regexp/RE.java
16479 * gnu/regexp/REException.java
16480 * gnu/regexp/REFilterInputStream.java
16481 * gnu/regexp/REMatch.java
16482 * gnu/regexp/REMatchEnumeration.java
16483 * gnu/regexp/RESyntax.java
16484 * gnu/regexp/REToken.java
16485 * gnu/regexp/RETokenAny.java
16486 * gnu/regexp/RETokenBackRef.java
16487 * gnu/regexp/RETokenChar.java
16488 * gnu/regexp/RETokenEnd.java
16489 * gnu/regexp/RETokenEndOfPreviousMatch.java
16490 * gnu/regexp/RETokenEndSub.java
16491 * gnu/regexp/RETokenIndependent.java
16492 * gnu/regexp/RETokenLookAhead.java
16493 * gnu/regexp/RETokenLookBehind.java
16494 * gnu/regexp/RETokenNamedProperty.java
16495 * gnu/regexp/RETokenOneOf.java
16496 * gnu/regexp/RETokenPOSIX.java
16497 * gnu/regexp/RETokenRange.java
16498 * gnu/regexp/RETokenRepeated.java
16499 * gnu/regexp/RETokenStart.java
16500 * gnu/regexp/RETokenWordBoundary.java
16501 * gnu/regexp/UncheckedRE.java
16502 * gnu/java/util/regex/BacktrackStack.java
16503 * gnu/java/util/regex/CharIndexed.java
16504 * gnu/java/util/regex/CharIndexedCharArray.java
16505 * gnu/java/util/regex/CharIndexedCharSequence.java
16506 * gnu/java/util/regex/CharIndexedInputStream.java
16507 * gnu/java/util/regex/CharIndexedString.java
16508 * gnu/java/util/regex/CharIndexedStringBuffer.java
16509 * gnu/java/util/regex/RE.java
16510 * gnu/java/util/regex/REException.java
16511 * gnu/java/util/regex/REFilterInputStream.java
16512 * gnu/java/util/regex/REMatch.java
16513 * gnu/java/util/regex/REMatchEnumeration.java
16514 * gnu/java/util/regex/RESyntax.java
16515 * gnu/java/util/regex/REToken.java
16516 * gnu/java/util/regex/RETokenAny.java
16517 * gnu/java/util/regex/RETokenBackRef.java
16518 * gnu/java/util/regex/RETokenChar.java
16519 * gnu/java/util/regex/RETokenEnd.java
16520 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16521 * gnu/java/util/regex/RETokenEndSub.java
16522 * gnu/java/util/regex/RETokenIndependent.java
16523 * gnu/java/util/regex/RETokenLookAhead.java
16524 * gnu/java/util/regex/RETokenLookBehind.java
16525 * gnu/java/util/regex/RETokenNamedProperty.java
16526 * gnu/java/util/regex/RETokenOneOf.java
16527 * gnu/java/util/regex/RETokenPOSIX.java
16528 * gnu/java/util/regex/RETokenRange.java
16529 * gnu/java/util/regex/RETokenRepeated.java
16530 * gnu/java/util/regex/RETokenStart.java
16531 * gnu/java/util/regex/RETokenWordBoundary.java
16532 * gnu/java/util/regex/UncheckedRE.java
16533 Moved gnu.regexp classes to gnu.java.util.regex package.
16534 * java/util/regex/Matcher.java
16535 * java/util/regex/Pattern.java
16536 Adjusted import statements for new package name for gnu regexp.
16538 2006-06-07 Tom Tromey <tromey@redhat.com>
16540 PR classpath/27905:
16541 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16542 Added missing charsets.
16543 (charsetForName): Don't check 'extendedLoaded'.
16545 2006-06-07 Roman Kennke <kennke@aicas.com>
16548 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16549 (clip(Shape)): Implemented correctly, so that the current shape
16550 gets intersected by the parameter shape.
16552 2006-06-07 Lillian Angel <langel@redhat.com>
16554 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16555 (getTabBounds): If this method is called with a tab index
16556 that is not in the rects array, we need to re-layout the container
16559 2006-06-07 Lillian Angel <langel@redhat.com>
16561 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16562 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16563 * java/lang/String.java
16564 (codePointCount): Fixed check to match API. Shouldn't throw exception
16565 if end == count. end is 1 more than the endIndex, so end == count is
16568 2006-06-07 Gary Benson <gbenson@redhat.com>
16571 * native/jni/java-io/java_io_VMFile.c
16572 (Java_java_io_VMFile_toCanonicalForm): New method.
16573 * configure.ac: Added checks for lstat and readlink.
16574 * include/java_io_VMFile.h: Added new method.
16575 * vm/reference/java/io/VMFile.java: Use new method.
16576 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16577 * NEWS: Documented the above.
16578 * java/io/File.java: Javadoc fix.
16580 2006-06-07 Roman Kennke <kennke@aicas.com>
16583 * javax/swing/JTree.java
16584 (JTree()): Initialize with default model.
16585 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16586 on the updateUI() / setModel() order.
16587 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16589 * javax/swing/plaf/basic/BasicTreeUI.java
16590 (BasicTreeUI()): Initialize listeners in installListeners().
16591 (setModel): Complete editing on model change. Correctly resetup
16592 the listeners. Update the layout cache accordingly.
16593 (setShowRootHandles): Complete editing and update layout. Do not
16594 call back into the JTree, this could cause cycles.
16595 (prepareForUIInstall): Implemented. Moved some init code from
16596 installUI() to this method.
16597 (completeUIInstall): Implemented. Moved some init code from
16598 installUI() to this method.
16599 (createDefaultCellEditor): Check for type of renderer, and install
16600 with null renderer when not DefaultTreeCellRenderer.
16601 (updateLayoutCacheExpandedNodes): Added null check for tree root
16603 (updateRenderer): Call updateEditor().
16604 (installListeners): Initialize the listeners here. Added some null
16605 checks to avoid NPEs.
16606 (installUI): Moved some init code to prepareForUIInstall() and
16607 completeUIInstall().
16608 (completeEditing): Return immediately if editing component is null
16609 or if the setting is to not stop editing on complete editing.
16610 (checkForClickInExpandControl): Call handleExpandControlClick()
16611 instead of toggleExpandState() directly.
16612 (isLocationInExpandControl): Rewritten to correctly determine the
16613 expand click location.
16614 (MouseHandler.mousePressed): Rewritten to make better use of the
16615 instance methods of BasicTreeUI to handle the click.
16616 (PropertyHandler.propertyChange): Handle model and cell renderer
16618 * javax/swing/tree/DefaultTreeCellEditor.java
16619 (DefaultTreeCellEditor): Removed initialization of the icon. This
16620 is done so that the constructor can deal with null renderer as the
16621 RI does. Maybe this needs more fixing.
16622 * javax/swing/tree/TreePath.java
16623 (isDescendant): Fixed this method. The previous version did too
16624 much and compared the wrong things, which lead to a ClassCastException
16626 * javax/swing/tree/VariableHeightLayoutCache.java
16627 (update): Do nothing when model is null.
16628 (setModel): Clear the tables and update the layout. Added null
16629 check to prevent NPE.
16631 2006-06-07 Sven de Marothy <sven@physto.se>
16633 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16635 2006-06-07 Sven de Marothy <sven@physto.se>
16637 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16638 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16642 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16643 (getGlyphVector): Removed native method.
16644 (createGlyphVector, getStringBounds): Use new GV class.
16646 * include/Makefile.am
16647 * native/jni/gtk-peer/Makefile.am
16650 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16652 (getGlyphVector): Removed native method.
16654 2006-06-07 Chris Burdess <dog@gnu.org>
16656 * gnu/classpath/debug/TeeInputStream.java,
16657 gnu/classpath/debug/TeeOutputStream.java,
16658 gnu/classpath/debug/TeeReader.java,
16659 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16660 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16661 read more characters than absolutely necessary in tryRead method.
16663 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16665 * examples/gnu/classpath/examples/swing/Demo.java:
16666 (mkMenuBar): Put look and feel radio buttons into
16667 appropriate button group.
16669 2006-06-07 Chris Burdess <dog@gnu.org>
16671 * gnu/xml/stream/SAXParser.java,
16672 gnu/xml/stream/XMLParser.java: Add command line options for setting
16673 parsing parameters (for simpler debugging).
16674 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16675 closing output stream is propagated to application.
16677 2006-06-06 Mark Wielaard <mark@klomp.org>
16680 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16681 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16682 call disposeSurface.
16683 (disposeSurface): New native method.
16684 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16685 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16687 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16688 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16689 cairo_pattern_destroy.
16690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16691 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16692 New function to destroy the surface.
16693 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16694 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16695 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16697 2006-06-06 Mark Wielaard <mark@klomp.org>
16699 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16702 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16704 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16705 (paint): If has focus, paint special background color,
16706 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16707 (FocusHandler.focusGained): Implemented,
16708 (FocusHandler.focusLost): Implemented.
16710 2006-06-06 Tom Tromey <tromey@redhat.com>
16712 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16714 (writeAttributeSet): Implemented.
16716 2006-06-06 Tom Tromey <tromey@redhat.com>
16718 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16720 (SpecialAction.end): Removed.
16721 (IsindexAction.end): Likewise.
16723 2006-06-06 Tom Tromey <tromey@redhat.com>
16725 * include/jni.h (JDK1_1InitArgs): New struct.
16726 (JDK1_1AttachArgs): Likewise.
16728 2006-06-06 Tom Tromey <tromey@redhat.com>
16730 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16732 (getUnresolvedName): New method.
16733 (getUnresolvedActions): New method.
16734 (getUnresolvedCerts): New method.
16736 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16738 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16739 (getColor): Removed debugging code.
16741 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16743 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16744 (getColor): Added support for "rgb(red, green, blue)" notation.
16745 (translateTag): Use Boolean.TRUE, not new Boolean().
16747 2006-06-06 Roman Kennke <kennke@aicas.com>
16750 * javax/swing/JTree.java
16751 (JTree(TreeModel)): Call updateUI() before setModel().
16752 (setModel): Don't call updateUI here.
16754 2006-06-06 Lillian Angel <langel@redhat.com>
16756 * native/plugin/gcjwebplugin.cc:
16757 Fixed failure message and commenting.
16758 (NP_Initialize): Added more comments.
16760 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16762 * javax/swing/JSplitPane.java
16763 (AccessibleJSplitPane): API doc fixes,
16764 (setDividerLocation): Likewise,
16765 * javax/swing/plaf/basic/BasicLookAndFeel.java
16766 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16767 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16768 (getInputMap): New method,
16769 (getActionMap): New method,
16770 (createActionMap): New method,
16771 (installKeyboardActions): Implemented,
16772 (uninstallKeyboardActions): Implemented.
16774 2006-06-06 Roman Kennke <kennke@aicas.com>
16777 * javax/swing/MenuSelectionManager.java
16778 (processKeyEvent): Added check to avoid
16779 ArrayIndexOutOfBoundsException.
16781 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16783 * gnu/javax/swing/text/html/htmlAttributeSet.java
16784 (getAttributeNames): Rewritten
16786 2006-06-06 Chris Burdess <dog@gnu.org>
16788 * gnu/xml/transform/TransformerImpl.java: Check type of created
16789 document (more cases).
16791 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16793 * gnu/javax/swing/text/html/htmlAttributeSet.java
16794 (clone): New method. (copyAttributes): New method.
16795 (getResolveParent): Comment fix. (getAttribute):
16796 Rewritten. (addAttribute): Rewritten.
16797 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16800 2006-06-06 Roman Kennke <kennke@aicas.com>
16803 * javax/swing/JMenuBar.java
16804 (processKeyBindingHelper): Added null check to prevent NPE.
16806 2006-06-06 Roman Kennke <kennke@aicas.com>
16808 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16809 (ShowSystemMenuAction): New class.
16810 (installKeyboardActions): Implemented.
16811 (uninstallKeyboardActions): Implemented.
16812 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16813 (installKeyboardActions): Overridden to remove showSystemMenu action.
16815 2006-06-06 Chris Burdess <dog@gnu.org>
16817 * gnu/xml/transform/TransformerImpl.java: Check type of created
16820 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16822 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16823 (getScreenDevices): Added explicit cast.
16825 2006-06-06 Roman Kennke <kennke@aicas.com>
16827 * javax/swing/plaf/basic/BasicTextUI.java
16828 (installKeyboardActions): Use shared input map. Correctly
16829 install the input/action maps in the component's input/action
16831 (getActionMap): New helper method for fetching an ActionMap from
16832 the UIManager or creating a default one if there is none supplied
16834 (createActionMap): Add the TransferHandler's actions here. Made
16836 (getInputMap): Leave out unnecessary method parameter. Load
16838 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16840 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16842 * configure.ac: Added missing [ to expression.
16844 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16846 * configure.ac: Added missing { to expression.
16848 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16850 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16851 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16852 * include/Makefile.am: Added
16853 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16854 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16855 (GdkGraphicsConfiguration): Rewritten.
16856 (getColorModel): Rewritten.
16857 (getColorModel(int)): Rewritten.
16858 (getBounds): Rewritten.
16859 (createCompatibleVolatileImage): Implemented.
16860 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16862 (getDefaultScreenDevice): Rewritten.
16863 (nativeGetDefaultScreenDevice): New method.
16864 (getScreenDevices): Rewritten.
16865 (nativeGetScreenDevices): New method.
16866 (nativeInitState): New method.
16867 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16869 (X11DisplayMode): New inner class.
16870 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16871 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16872 * native/jni/gtk-peer/gdkdisplay.h: New file.
16873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16874 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16876 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16878 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16879 _nativeGetScreenDevices):
16881 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16882 _nativeGetDefaultScreenDevice):
16884 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16886 * configure.ac: Added check for Xrandr library.
16888 2006-06-06 Roman Kennke <kennke@aicas.com>
16890 * javax/swing/plaf/basic/BasicTableUI.java
16891 (getMaximumSize): Don't return null. Fixed calculation of
16893 (getMinimumSize): Don't return null. Fixed calculation of
16895 (getPreferredSize): Fixed calculation of with and height. Added
16897 (getHeight): New helper method.
16899 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16901 * javax/swing/JComponent.java
16902 (getInputMap(int)): Throw IllegalArgumentException for unknown
16903 condition argument, and added API docs,
16904 (getInputMap()): Added API docs.
16906 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16908 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16910 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16912 * javax/swing/JTable.java
16913 (AccessibleJTableHeaderCell.header): New field,
16914 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16915 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16916 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16917 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16918 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16919 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16920 (AccessibleJTable.getAccessibleAt): Reimplemented.
16922 2006-06-05 Sven de Marothy <sven@physto.se>
16924 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16926 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16927 (initFromVolatile): New method.
16928 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16929 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16931 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16932 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16933 (copyArea, drawVolatileImage): New methods.
16935 2006-06-05 Tania Bento <tbento@redhat.com>
16937 * javax/swing/JFrame.java
16938 (frameInit): Set background color and fixed layout parameters.
16940 2006-06-05 Tom Tromey <tromey@redhat.com>
16942 * NEWS: Mention VMURLConnection.
16944 2006-06-05 Lillian Angel <langel@redhat.com>
16946 * native/plugin/gcjwebplugin.cc:
16947 Added new field to keep track of initialization.
16948 (plugin_start_appletviewer): Fixed to return an error value, if
16949 an error was encountered when loading the appletviewer.
16950 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16952 (plugin_failed): New helper function. Shows a warning if the appletviewer
16953 has not been installed.
16954 (NP_Initialize): Added code to make sure this function is only called
16957 2006-06-05 Lillian Angel <langel@redhat.com>
16959 * native/plugin/Makefile.am:
16960 Fixed to use a set plugin directory in the .mozilla directory.
16961 All applet logs are now stored here, instead of /tmp.
16962 * native/plugin/gcjwebplugin.cc:
16963 Added new fields for security warning.
16964 (GCJ_NEW): Added code to generate a security warning for all pages
16965 that spawn an appletviewer. This warning asks the user if they trust
16966 the applet and if they would like to add it to a 'whitelist'. This
16967 whitelist keeps track of all the addresses the user would like
16968 to trust indefinitely.
16969 (plugin_user_trusts_documentbase): New helper function.
16970 (plugin_add_documentbase_to_whitelist): New helper function.
16971 (plugin_ask_user_about_documentbase): New helper function.
16972 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16974 (plugin_start_appletviewer): Likewise.
16975 (plugin_create_applet_tag): Reset all fields to null after they have been
16977 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16978 if channel_error has been set.
16979 (plugin_stop_appletviewer): Likewise.
16980 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16983 2006-06-05 Francis Kung <fkung@redhat.com>
16986 * gnu/java/awt/peer/gtk/GtkImage.java
16987 (getSource): Added check to determine if in
16988 errorLoading state.
16989 * gnu/java/awt/peer/gtk/GtkToolkit.java
16990 (createImage): Added check to prevent NPE.
16992 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16994 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16995 Create the ImageView, when applicable.
16996 * gnu/javax/swing/text/html/CombinedAttributes.java,
16997 javax/swing/text/html/ImageView.java: New files.
16999 2006-06-05 Roman Kennke <kennke@aicas.com>
17002 * javax/swing/text/GapContent.java
17003 (setPositionsInRange): Compare with startIndex and endIndex
17004 rather than start and end.
17005 (dumpMarks): Only dump real marks.
17007 2006-06-05 Sven de Marothy <sven@physto.se>
17009 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17010 (ComponentGraphics): Use 0,0 as clip origin.
17012 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17014 * java/util/Formattable.java,
17015 * java/util/FormattableFlags.java,
17016 * java/util/Formatter.java:
17019 2006-06-04 Tom Tromey <tromey@redhat.com>
17021 * javax/naming/Context.java (list): Genericized.
17022 (listBindings): Likewise.
17023 * javax/naming/Reference.java (addrs): Genericized.
17024 * javax/naming/InitialContext.java (myProps): Fixed type.
17025 (init): Genericized.
17027 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17029 * java/util/DuplicateFormatFlagsException.java,
17030 * java/util/FormatFlagsConversionMismatchException.java,
17031 * java/util/FormatterClosedException.java,
17032 * java/util/IllegalFormatCodePointException.java,
17033 * java/util/IllegalFormatConversionException.java,
17034 * java/util/IllegalFormatException.java,
17035 * java/util/IllegalFormatFlagsException.java,
17036 * java/util/IllegalFormatPrecisionException.java,
17037 * java/util/IllegalFormatWidthException.java,
17038 * java/util/MissingFormatArgumentException.java,
17039 * java/util/MissingFormatWidthException.java,
17040 * java/util/UnknownFormatConversionException.java,
17041 * java/util/UnknownFormatFlagsException.java:
17044 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17046 * java/lang/System.java:
17047 (getenv()): Handle cases where split only
17048 returns an array of size 1.
17050 2006-06-04 Sven de Marothy <sven@physto.se>
17052 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17053 (createVolatileImage): Pass peer to VolatileImage constructor.
17054 * java/awt/Component.java
17055 (createVolatileImage): Call peer method directly.
17057 2006-06-04 Sven de Marothy <sven@physto.se>
17059 * gnu/java/awt/peer/gtk/CairoSurface.java
17060 (getFlippedBuffer): New method.
17061 (getGtkImage): Renamed method.
17062 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17063 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17064 Renamed getSharedImage to getGtkImage.
17065 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17067 (getFlippedBuffer): New method
17068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17069 Avoid window casts.
17070 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17073 (drawVolatile): Add casts.
17074 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17075 (getOutline): Add casts.
17076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17077 Comment out unused prototype.
17078 (getPixels): Add appropriate cast and comment out unused variable.
17080 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17082 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17083 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17084 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17085 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17086 (getSystemInstance): Fix javadoc @link.
17087 (counter): Increased visibility.
17088 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17089 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17090 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17091 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17092 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17093 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17094 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17095 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17096 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17097 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17098 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17099 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17100 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17101 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17102 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17103 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17104 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17105 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17106 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17107 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17108 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17109 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17110 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17111 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17112 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17113 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17114 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17115 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17116 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17117 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17118 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17120 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17122 * gnu/java/security/PolicyFile.java: Updated copyright year.
17123 (logger): Increased visibility.
17124 * gnu/java/security/x509/Util.java: Updated copyright year.
17125 (hexDump): Fix javadoc @link.
17126 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17127 Removed unused import.
17128 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17129 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17130 * gnu/java/security/util/ExpirableObject.java: Likewise.
17131 (destroy): Likewise.
17132 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17133 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17134 Updated copyright year.
17135 (checkCRL): Fix javadoc @param.
17137 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17139 * java/lang/annotation/IncompleteAnnotationException.java:
17142 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17144 * java/lang/ProcessBuilder.java:
17146 (environment): Create as a copy.
17147 * java/lang/System.java:
17148 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17150 (EnvironmentMap.put(String,String)): Override superclass
17151 method with checks for nulls and non-Strings.
17153 2006-06-02 Sven de Marothy <sven@physto.se>
17155 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17156 (cairoPreserveClip, cairoResetClip): New methods.
17157 (setClip, clip): Reimplement.
17158 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17159 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17160 (cairoPreserveClip, cairoResetClip): New methods.
17162 2006-06-02 Sven de Marothy <sven@physto.se>
17164 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17165 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17168 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17169 (drawImage): Overloads for VolatileImage drawing.
17170 (drawVolatile): New method.
17171 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17172 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17173 (drawVolatile): New method.
17174 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17175 Unstub implementation.
17176 * include/Makefile.am
17177 * native/jni/gtk-peer/Makefile.am
17179 * native/jni/gtk-peer/gtkpeer.h
17182 2006-06-03 Roman Kennke <kennke@aicas.com>
17185 * javax/swing/plaf/basic/BasicTextUI.java
17186 (damageRange): Added null check to avoid NPE.
17188 2006-06-03 Roman Kennke <kennke@aicas.com>
17190 * javax/swing/text/PlainView.java
17191 (updateDamage): Check for valid longestLine and initialize if
17194 2006-06-03 Mark Wielaard <mark@klomp.org>
17196 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17199 2006-06-02 Sven de Marothy <sven@physto.se>
17202 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17203 (copyArea): Implement.
17204 (copyAreaImpl, getRealBounds): New methods.
17205 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17206 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17207 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17208 (copyAreaImpl, getRealBounds): Implement.
17209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17210 (nativeCopyArea): Reimplement.
17212 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17214 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17215 (XTEST_LIBS): New, substitute.
17216 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17218 2006-06-02 Roman Kennke <kennke@aicas.com>
17221 * javax/swing/text/PlainView.java
17222 (updateDamage): Rewritten for correct repainting and revalidating.
17223 (findLongestLine): New helper method.
17224 (getLineLength): New helper method.
17226 2006-06-02 Sven de Marothy <sven@physto.se>
17228 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17229 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17230 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17231 (nativeCopyArea): Change stride parameter to use # of ints.
17232 (setPixels): Add checks.
17233 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17234 (ComponentGraphics): Set background, clip.
17235 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17236 (Cairographics2D): Don't set clip.
17237 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17240 2006-06-02 Lillian Angel <langel@redhat.com>
17243 * java/awt/DefaultKeyboardFocusManager.java
17244 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17245 to get the focused window.
17247 2006-06-01 Miriam Schuster <schmir11@web.de>
17249 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17250 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17252 2006-06-02 Roman Kennke <kennke@aicas.com>
17254 * javax/swing/JTable.java
17255 (columnSelectionChanged): Don't return when there's only one
17256 column (might still need repainting). Correctly calculate
17258 (valueChanged): Use return value of SwingUtilities.computeUnion
17261 2006-06-01 Keith Seitz <keiths@redhat.com>
17263 From Martin Platter <motse@complang.tuwien.ac.at>:
17264 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17265 (executeSet): Fix buffer underflow reading reference ID.
17266 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17267 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17268 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17269 (executeSuperclass): Handle case of Object with ID zero.
17271 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17273 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17274 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17275 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17276 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17277 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17278 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17279 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17280 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17281 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17282 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17283 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17285 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17287 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17288 (Command): Add the shutdown hook.
17289 (doCommand): Remove the shutdown hook.
17290 (ShutdownHook): New class.
17292 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17294 * tools/jarsigner.in: Use @VM_BINARY@.
17295 * tools/keytool.in: Likewise.
17297 2006-06-01 Sven de Marothy <sven@physto.se>
17299 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17300 (setColor): Update the cairo paint.
17302 2006-06-01 Mark Wielaard <mark@klomp.org>
17304 * java/util/logging/LogManager.java (createInstance): Always add
17305 original exception on warning.
17307 2006-06-01 Lillian Angel <langel@redhat.com>
17309 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17310 (prependCodebase): Fixed check. No dirname was ever considered to
17311 be a file, so every applet fell into the if-statement causing a lot
17312 of classloading problems with the applets.
17314 2006-06-01 Sven de Marothy <sven@physto.se>
17316 Patch submitted by Boris Dusek.
17317 * native/jni/qt-peer/qtmenupeer.cpp
17320 2006-06-01 Roman Kennke <kennke@aicas.com>
17322 * javax/swing/JTable.java
17323 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17324 why the behaviour is like it is.
17325 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17326 (AccessibleJTableHeader): New inner class.
17327 (AccessibleJTableHeaderCell): New inner class.
17328 (AccessibleJTable.lastSelectedRow): New field.
17329 (AccessibleJTable.lastSelectedColumn): New field.
17330 (AccessibleJTable.caption): New field.
17331 (AccessibleJTable.summary): New field.
17332 (AccessibleJTable.rowDescriptions): New field.
17333 (AccessibleJTable.columnDescriptions): New field.
17334 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17335 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17336 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17337 (AccessibleJTable.addAccessibleSelection): Implemented.
17338 (AccessibleJTable.removeAccessibleSelection): Implemented.
17339 (AccessibleJTable.clearAccessibleSelection): Implemented.
17340 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17341 (AccessibleJTable.valueChange): Implemented.
17342 (AccessibleJTable.tableRowsInserted): Implemented.
17343 (AccessibleJTable.tableRowsDeleted): Implemented.
17344 (AccessibleJTable.handleRowChange): New helper method.
17345 (AccessibleJTable.columnAdded): Implemented.
17346 (AccessibleJTable.columnMarginChanged): Implemented.
17347 (AccessibleJTable.columnMoved): Implemented.
17348 (AccessibleJTable.columnRemoved): Implemented.
17349 (AccessibleJTable.columnSelectionChanged): Implemented.
17350 (AccessibleJTable.handleColumnChange): New helper method.
17351 (AccessibleJTable.editingCanceled): Implemented.
17352 (AccessibleJTable.editingStopped): Implemented.
17353 (AccessibleJTable.getAccessibleRow): Implemented.
17354 (AccessibleJTable.getAccessibleColumn): Implemented.
17355 (AccessibleJTable.getAccessibleIndex): Implemented.
17356 (AccessibleJTable.getAccessibleCaption): Implemented.
17357 (AccessibleJTable.setAccessibleCaption): Implemented.
17358 (AccessibleJTable.getAccessibleSummary): Implemented.
17359 (AccessibleJTable.setAccessibleSummary): Implemented.
17360 (AccessibleJTable.getAccessibleRowCount): Implemented.
17361 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17362 (AccessibleJTable.getAccessibleAt): Implemented.
17363 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17364 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17365 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17366 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17367 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17368 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17369 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17370 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17371 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17372 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17373 (AccessibleJTable.isAccessibleSelected): Implemented.
17374 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17375 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17376 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17377 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17378 (getAccessibleContext): Register listeners for the accessibility
17379 class on the JTable.
17381 2006-06-01 Sven de Marothy <sven@physto.se>
17383 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17384 (setPaint): Scale +1 pixel larger.
17386 2006-06-01 Sven de Marothy <sven@physto.se>
17389 * gnu/java/awt/Buffers.java (getData): Reimplement.
17390 * gnu/java/awt/peer/gtk/CairoSurface.java
17391 (getElem, setElem): Call native methods.
17393 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17395 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17397 2006-06-01 Sven de Marothy <sven@physto.se>
17399 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17400 (drawImage): Check for zero size.
17401 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17402 (setFont): Declare new native method.
17403 (GdkTextLayout): Read some attributes.
17404 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17406 (setFont): New native method.
17408 2006-06-01 Sven de Marothy <sven@physto.se>
17410 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17411 (updateBufferedImage): Fix some errors.
17413 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17415 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17417 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17418 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17419 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17420 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17421 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17422 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17423 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17424 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17425 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17426 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17428 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17430 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17431 * javax/swing/JEditorPane.java: Likewise,
17432 * javax/swing/JFormattedTextField.java: Likewise,
17433 * javax/swing/JLayeredPane.java: Likewise,
17434 * javax/swing/JScrollPane.java: Likewise,
17435 * javax/swing/JSlider.java: Likewise,
17436 * javax/swing/JSpinner.java: Likewise,
17437 * javax/swing/JTree.java: Likewise,
17438 * javax/swing/JViewport.java: Likewise,
17439 * javax/swing/UIDefaults.java: Likewise,
17440 * javax/swing/UIManager.java: Likewise.
17442 2006-06-01 Sven de Marothy <sven@physto.se>
17444 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17445 (BufferedImageGraphics): Cache surfaces.
17446 (updateBufferedImage): Copy directly for certain color models.
17447 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17448 (drawImage): Reimplement.
17450 2006-06-01 Sven de Marothy <sven@physto.se>
17452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17453 (setPixels): Don't swap, correct size.
17455 2006-05-31 Anthony Green <green@redhat.com>
17458 * java/net/InetSocketAddress.java: Defer getting the host
17459 name until somebody calls InetSocketAddress.getHostName().
17460 Fix "represenation" typo.
17462 2006-06-01 Sven de Marothy <sven@physto.se>
17464 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17465 (updateBufferedImage): Simplify.
17466 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17467 (getPixels): Don't swap.
17469 2006-06-01 Sven de Marothy <sven@physto.se>
17471 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17472 (setGradient): Reimplement.
17474 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17476 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17477 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17478 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17479 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17480 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17481 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17482 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17485 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17487 * javax/swing/table/JTableHeader.java
17488 (getColumnHeaderRenderer): New method,
17489 (getAccessibleColumnHeaderRenderer): Delegate part to new
17490 getColumnHeaderRenderer() method,
17491 (getLocale): Implemented.
17493 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17496 (cp_gtk_grab_current_drawable): Rename
17497 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17498 cp_gtk_grab_current_drawable, remove static declaration.
17499 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17501 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17502 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17503 Remove prototype of
17504 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17505 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17507 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17508 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17509 cp_gtk_grab_current_drawable here.
17511 2006-05-31 Sven de Marothy <sven@physto.se>
17513 Should fix PR 27835
17514 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17515 (updateBufferedImage): Keep within image bounds.
17517 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17518 Andreas Tobler <a.tobler@schweiz.ch>
17520 * configure.ac: Check for libXrender when the GTK peers are
17521 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17523 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17524 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17525 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17527 2006-05-31 Lillian Angel <langel@redhat.com>
17529 * javax/swing/plaf/basic/BasicProgressBarUI.java
17530 (paintString): Implemented to paint the string vertically.
17532 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17534 * javax/swing/JTable.java
17535 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17536 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17538 (AccessibleJTable.getAccessibleTable()): Likewise,
17539 (getAccessibleContext): Create new context if required.
17541 2006-05-31 Roman Kennke <kennke@aicas.com>
17543 * javax/swing/JTabbedPane.java
17544 (AccessibleJTabbedPane.stateChanged): Implemented.
17545 (Page.getAccessibleStateSet): Implemented.
17546 (Page.getAccessibleIndexInParent): Implemented.
17547 (getAccessibleContext): Add AccessibleJTabbedPane object
17548 as ChangeListener to the JTabbedPane.
17550 2006-05-31 Roman Kennke <kennke@aicas.com>
17552 * javax/swing/JMenuItem.java
17553 (getAccessibleContext): Register accessible object as ChangeListener
17555 (AccessibleJMenuItem.armed): New field.
17556 (AccessibleJMenuItem.focusOwner): New field.
17557 (AccessibleJMenuItem.pressed): New field.
17558 (AccessibleJMenuItem.selected): New field.
17559 (stateChanged): Implemented.
17561 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17563 * javax/swing/ListSelectionModel.java: Added API docs all over.
17565 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17567 * examples/gnu/classpath/examples/swing/FillRect.java
17568 (paintComponent): Optionally paint lines rather than rectangles.
17569 (createContent): Added option to test line painting.
17571 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17573 * javax/swing/event/EventListenerList.java
17574 (getListenerList): Updated API docs.
17576 2006-05-30 Sven de Marothy <sven@physto.se>
17578 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17579 (drawImage): Clip scaled image to dest rectangle.
17581 2006-05-30 Sven de Marothy <sven@physto.se>
17583 * gnu/java/awt/peer/gtk/CairoSurface.java:
17584 (CairoSurface): Convert pixels properly.
17585 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17586 Remove commented-out lines.
17588 2006-05-30 Sven de Marothy <sven@physto.se>
17590 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17591 (drawImage): Use Toolkit to convert to BufferedImage.
17592 * gnu/java/awt/peer/gtk/CairoSurface.java
17593 (CairoSurface(GtkImage)): New Constructor.
17594 (getBufferedImage): New method.
17595 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17596 Don't fill background - FIXME.
17597 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17598 Remove unused methods.
17599 * gnu/java/awt/peer/gtk/GtkImage.java:
17600 (pixbuflock): New field. Methods change to use this lock.
17601 * gnu/java/awt/peer/gtk/GtkToolkit.java
17602 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17604 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17605 (setPixels): Correct length in bytes.
17607 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17609 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17610 System.loadLibrary unconditionally.
17611 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17612 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17613 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17614 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17616 2006-05-30 Mark Wielaard <mark@klomp.org>
17618 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17619 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17620 Mark unused parameters, remove unused variables.
17622 2006-05-30 Sven de Marothy <sven@physto.se>
17624 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17625 (copyArea): Implemented.
17626 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17627 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17628 (copyAreaNative): New method.
17630 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17632 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17633 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17634 for non big endian systems.
17635 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17637 2006-05-30 Roman Kennke <kennke@aicas.com>
17639 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17640 * java/awt/TexturePaint.java
17641 (createContext): Implemented.
17643 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17645 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17648 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17650 * java/awt/Container.java:
17651 (removeAll): Reimplemented, added note.
17653 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17655 * java/awt/Container.java:
17656 (removeAll): Implemented different removal mechanism, added note.
17658 2006-05-30 Lillian Angel <langel@redhat.com>
17661 * java/awt/Component.java:
17662 (translateEvent): Added handling to translate WindowEvents
17663 * java/awt/Window.java:
17664 Removed unneeded imports.
17666 2006-05-30 Mark Wielaard <mark@klomp.org>
17668 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17671 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17673 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17675 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17677 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17678 (clearRect): Do not reuse the fg field, call updateColor.
17679 (drawRaster): Likewise.
17680 (setColor): Call updateColor.
17681 (updateColor): New method.
17683 2006-05-30 Mark Wielaard <mark@klomp.org>
17685 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17686 (PTR_TO_JLONG): Likewise.
17687 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17688 (getPointer): Use new conversion macros.
17689 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17691 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17693 (setNativeObject): Likewise.
17694 (getNativeObject): Likewise.
17695 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17696 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17698 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17699 Correctly cast XID and pointer values.
17700 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17701 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17702 Mark unused variables.
17703 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17705 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17706 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17707 Remove unused cairographics2d struct.
17708 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17709 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17710 Use new conversion macros.
17711 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17713 2006-05-30 Mark Wielaard <mark@klomp.org>
17715 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17717 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17719 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17720 (copy): Do not reuse the fd field.
17721 (setColor): Do not set the color if the parameter
17723 (translate(double, double): Rewritten to use
17724 AffineTransform.translate.
17726 2006-05-30 Sven de Marothy <sven@physto.se>
17728 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17729 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17732 * include/Makefile.am
17733 * native/jni/gtk-peer/Makefile.am
17735 * gnu/java/awt/peer/gtk/CairoSurface.java
17736 (getSharedGtkImage): New method.
17737 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17740 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17741 Support a non-xrender context.
17742 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17744 * gnu/java/awt/peer/gtk/GtkImage.java
17745 * include/gnu_java_awt_peer_gtk_GtkImage.h
17746 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17747 (initFromBuffer): New method.
17748 * native/jni/gtk-peer/gtkpeer.h:
17749 Remove declarations of previouslyremoved methods.
17751 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17753 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17755 2006-05-29 Mark Wielaard <mark@klomp.org>
17757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17758 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17760 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17761 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17762 early. Remove unused return statement in void function.
17763 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17765 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17766 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17768 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17769 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17771 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17774 2006-05-29 Sven de Marothy <sven@physto.se>
17776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17777 (setPixels): Remove superfluous return statement.
17779 2006-05-29 Sven de Marothy <sven@physto.se>
17781 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17782 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17783 * gnu/java/awt/peer/gtk/CairoSurface.java
17784 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17785 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17786 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17787 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17788 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17789 * native/jni/gtk-peer/cairographics2d.h
17790 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17791 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17794 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17796 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17799 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17800 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17801 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17802 (releasePeerGraphicsResource): Moved to Font peer class.
17804 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17805 (createGraphics): Use new context classes.
17807 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17808 Use native BufferedImages where possible.
17810 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17811 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17813 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17814 renamed to cairoDrawGdkTextLayout.
17816 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17817 (getGraphics): Use ComponentGraphics context.
17818 (createImage): Use native BufferedImage.
17820 * gnu/java/awt/peer/gtk/GtkImage.java:
17821 * include/gnu_java_awt_peer_gtk_GtkImage.h
17822 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17823 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17824 Remove drawing methods.
17826 * gnu/java/awt/print/JavaPrinterGraphics.java:
17827 Use CairoSurface instead of GtkImage.
17829 * include/Makefile.am
17830 * native/jni/gtk-peer/Makefile.am
17831 Update for new files.
17833 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17834 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17835 Remove superfluous GtkImage code for GdkPixmaps.
17837 * native/jni/gtk-peer/gtkpeer.h
17838 Remove graphics2d structure.
17840 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17842 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17843 Do not reuse fg in the constructor.
17845 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17847 * java/io/ObjectStreamConstants.java: Added API docs.
17849 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17851 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17852 Take no action if this color is already set.
17854 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17856 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17858 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17859 Optionally paint with translation. (createContent): Added option
17860 to test painting with translation
17862 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17864 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17865 pattern to the default value when null.
17866 Pass field pattern, and not parameter with same name to createFileStream.
17868 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17870 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17871 New class implementing the OS bean.
17872 * gnu/java/lang/management/package.html:
17873 New file to document the gnu.java.lang.management package.
17874 * java/lang/management/ManagementFactory.java:
17875 New class to provide access to the OS bean.
17876 * java/lang/management/OperatingSystemMXBean.java:
17878 * java/lang/management/package.html:
17879 New file to document the java.lang.management package.
17881 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17883 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17886 (SECURITY): Likewise.
17887 (CACERTS): Likewise.
17888 (CACERTS_GKR): Likewise.
17889 (gkrCaCertsPathName): New field.
17890 (jksCaCertsPathName): Likewise.
17891 (selfSignedCertificate): Likewise.
17892 (start): Initialize trusted certificate key stores if -trustcacerts is
17894 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17895 (orderChain): Implemented.
17896 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17897 certificate key stores if -trustcacerts option is specified.
17898 (findTrustInCACerts): Removed.
17899 (getCertPathParameters): New method.
17900 (validate): New method.
17901 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17903 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17905 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17906 (PATTERN_KEY): Likewise.
17907 (DEFAULT_PATTERN): Likewise.
17908 (LIMIT_KEY): Likewise.
17909 (DEFAULT_LIMIT): Likewise.
17910 (COUNT_KEY): Likewise.
17911 (DEFAULT_COUNT): Likewise.
17912 (APPEND_KEY): Likewise.
17913 (DEFAULT_APPEND): Likewise.
17914 (FileHandler()): Use pattern value as set in logging.properties.
17915 Use constants defined above.
17916 (FileHandler(1)): Use constants defined above.
17917 (FileHandler(2)): Likewise.
17918 (FileHandler(3)): Likewise.
17919 (FileHandler(4)): Likewise.
17920 (createFileStream): Likewise.
17922 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17924 * java/util/logging/FileHandler.java: Reverted previous patch.
17925 * java/util/logging/LogManager.java: Likewise.
17927 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17929 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17930 (DEFAULT_PATTERN): Likewise.
17931 (FileHandler()): Use configured pattern property if any; otherwise use a
17932 default value as per RI documentation.
17933 * java/util/logging/LogManager.java (getStringProperty): New method.
17935 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17937 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17939 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17941 * configure.ac (FOUND_CACAO): New automake conditional.
17942 Add --enable-tool-wrappers.
17943 * NEWS: Introduce the --enable-tool-wrappers option.
17944 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17945 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17947 * tools/toolwrapper.c: New file.
17949 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17951 * java/awt/Graphics2D.java: Use full class name for
17952 PrinterJob in javadoc.
17954 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17956 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17957 (callMouseMethod): Likewise.
17959 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17961 * native/jni/java-net/java_net_VMURLConnection.c:
17962 Fix function declarations to specify unused parameters.
17963 * scripts/check_jni_methods.sh:
17964 Remove copies of the same function using uniq.
17966 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17968 * vm/reference/java/net/VMURLConnection.java:
17969 Make package-private and final.
17971 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17973 * examples/gnu/classpath/examples/swing/TableDemo.java
17974 (TModed): Added editor for the icons column.
17975 (createContent): Increase the row height by 2 px.
17977 2006-05-26 Tom Tromey <tromey@redhat.com>
17979 PR classpath/27685:
17980 * java/math/BigInteger.java (modPow): Correctly handle negative
17983 2006-05-26 Tom Tromey <tromey@redhat.com>
17985 * configure.ac: Check for magic.h and -lmagic.
17986 * vm/reference/java/net/VMURLConnection.java: New file.
17987 * include/java_net_VMURLConnection.h: New file.
17988 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17989 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17990 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17992 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17993 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17995 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17997 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17999 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18001 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18002 libjawtgnu.la libjawt.la.
18004 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
18006 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18009 2006-05-25 Lillian Angel <langel@redhat.com>
18012 * java/awt/Window.java
18013 (Window): Moved code to helper.
18014 (addWindowFocusListener): New function. Handles focus
18015 listener code. Added code to handle focus lost/gained
18018 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
18021 Make pkg-config check for GTK+ >= 2.8.
18023 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18025 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18026 (flush): Remove debugging printfs.
18028 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18031 (schedule_flush): New function.
18032 (end_drawing_operation): Call schedule_flush.
18034 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18036 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18037 paint performance demo.
18038 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18040 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18042 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18043 Cairo version requirement. Do not mention --enable-gtk-cairo
18045 * NEWS: Add entry for GdkGraphics2D.
18046 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18047 Cairo library and headers.
18048 * .externalToolBuilders/Configure.launch: Remove
18049 --enable-gtk-cairo from configure line.
18050 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18052 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18053 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18054 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18055 useGraphics2D references. Always assume Graphics2D is enabled.
18056 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18057 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18058 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18059 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18060 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18061 useGraphics2D references. Always assume Graphics2D is enabled.
18062 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18063 Graphics2D check. Always assume Graphics2D is enabled.
18064 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18065 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18066 (realize): Remove method.
18067 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18068 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18069 (isRealized): Remove method.
18070 (realize): Implement as a native method. Remove useGraphics2D
18071 references. Always assume Graphics2D is enabled.
18072 * gnu/java/awt/peer/gtk/GtkImage.java,
18073 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18074 GdkGraphics references with GdkGraphics2D references.
18075 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18076 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18077 useGraphics2D references. Always assume Graphics2D is enabled.
18078 * include/Makefile.am (GTKPEER_H_FILES): Remove
18079 gnu_java_awt_peer_gtk_GdkGraphics.h.
18080 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18081 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18082 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18083 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18084 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18085 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18086 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18087 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18088 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18089 (AM_LDFLAGS): Remove CAIRO_LIBS.
18090 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18091 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18093 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18095 2006-05-25 Lillian Angel <langel@redhat.com>
18097 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18098 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18099 Added check to prevent assertion error. If widget->window is null, then
18100 use the parent widget's window to set the cursor on.
18102 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18104 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18107 2006-05-24 Lillian Angel <langel@redhat.com>
18109 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18110 (prependCodeBase): Added check to determine if the documentbase
18111 points to a directory or a file.
18113 2006-05-24 Sven de Marothy <sven@physto.se>
18115 * java/awt/dnd/DragGestureRecognizer.java
18116 (resetRecognizer): Implement.
18117 (fireDragGestureRecognized): Implement.
18119 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18121 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18122 fixed source code formatting.
18124 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18126 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18128 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18130 Reported by Antony Balkisson.
18131 * javax/swing/JTable.java (selectAll): Return without action
18132 if the table is empty.
18134 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18136 * examples/gnu/classpath/examples/swing/TableDemo.java:
18137 (SliderCell): New inner class. (setCustomEditors,
18138 setInformativeHeaders): New fields. (createContent):
18140 * javax/swing/DefaultCellEditor.java
18141 (JComboBoxDelegate.shouldSelectCell): New method.
18142 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18143 * javax/swing/plaf/basic/BasicTableUI.java
18144 (MouseInputHandler.mouseClicked): Start editing on a single
18145 click if the cell editor is not a default cell editor.
18147 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18149 * javax/swing/naming/CompositeName.java,
18150 javax/swing/naming/CompoundName.java:
18153 2006-05-23 Archie Cobbs <archie@dellroad.org>
18155 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18158 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18160 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18161 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18162 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18163 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18164 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18165 * javax/swing/tree/ExpandVetoException.java: Likewise,
18166 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18167 * javax/swing/tree/RowMapper.java: Likewise,
18168 * javax/swing/tree/TreeNode.java: Likewise,
18169 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18170 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18172 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18174 * javax/swing/tree/DefaultTreeCellRenderer.java
18175 (DefaultTreeCellRenderer): Changed key for
18176 setBackgroundNonSelectionColor(),
18177 plus API docs all over.
18179 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18182 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18183 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18184 Initialise in constructor. (columnMoved): Cancel editing.
18185 (createDefaultEditors): Rewritten. (editCellAt):
18186 Just invert the value if this is a boolean cell.
18187 (initialiseLocalVars): Do not initialise renderer and editor tables.
18188 (setUI): Create editors and renderers here.
18190 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18192 * examples/gnu/classpath/examples/awt/Demo.java:
18193 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18194 instance as subframe.
18195 (ResolutionWindow): New inner class.
18196 (FullscreenWindow): New inner class.
18198 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18201 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18202 Set horizontal alignment to centered.
18204 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18206 * javax/accessibility/AccessibleContext.java
18207 (getAccessibleComponent): Fixed typo in docs,
18208 * javax/swing/JLabel.java:
18209 (AccessibleJLabel.getAccessibleName): Check for explicit
18211 * javax/swing/JTableHeader.java
18212 (AccessibleJTableHeaderEntry.columnIndex): New field,
18213 (AccessibleJTableHeaderEntry.parent): New field,
18214 (AccessibleJTableHeaderEntry.table): New field,
18215 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18217 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18219 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18220 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18221 (AccessibleJTableHeaderEntry.contains): Implemented,
18222 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18223 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18224 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18225 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18226 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18227 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18228 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18229 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18230 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18231 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18232 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18233 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18234 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18235 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18236 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18237 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18238 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18239 (AccessibleJTableHeaderEntry.getFont): Implemented,
18240 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18241 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18242 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18243 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18244 (AccessibleJTableHeaderEntry.getSize): Implemented,
18245 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18246 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18247 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18248 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18249 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18250 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18252 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18253 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18254 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18255 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18256 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18257 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18258 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18259 (AccessibleJTableHeaderEntry.setFont): Implemented,
18260 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18261 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18262 (AccessibleJTableHeaderEntry.setSize): Implemented,
18263 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18264 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18265 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18266 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18267 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18269 2006-05-22 Tom Tromey <tromey@redhat.com>
18273 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18275 * javax/swing/JLabel.java
18276 (AccessibleJLabel.getAccessibleName): New method (override),
18277 (setLabelFor): Fire 'labelFor' property change event before other
18280 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18282 * javax/swing/JLabel.java
18283 (AccessibleJLabel.getAccessibleRole): New method (override).
18285 2006-05-22 Tom Tromey <tromey@redhat.com>
18287 * resource/gnu/classpath/tools/serialver/messages.properties: New
18289 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18290 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18292 (classpath): Likewise.
18295 (addFileURL): New method.
18296 (getClassLoader): Likewise.
18297 (printMessage): Likewise.
18299 2006-05-22 Tom Tromey <tromey@redhat.com>
18301 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18303 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18305 * javax/swing/JTable.java (doLayout): In the column
18306 resize mode, only repaing the changed part of the table.
18307 (getLeftResizingBoundary): New method.
18309 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18311 * javax/naming/spi/InitialContextFactory.java,
18312 javax/naming/spi/InitialContextFactoryBuilder.java,
18313 javax/naming/spi/NamingManager.java,
18314 javax/naming/spi/ObjectFactory.java,
18315 javax/naming/spi/ResolveResult.java,
18316 javax/naming/spi/Resolver.java,
18317 javax/naming/spi/StateFactory.java: Documented.
18319 2006-05-21 Tom Tromey <tromey@redhat.com>
18321 PR classpath/27688:
18322 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18324 (initSet): Removed.
18325 (shouldExtract): Removed.
18327 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18328 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18331 (allItems): New field.
18332 (run): Initialize it.
18335 2006-05-22 Sven de Marothy <sven@physto.se>
18337 * java/nio/CharBuffer.java
18338 (wrap): Fix bounds checking.
18340 2004-08-26 Tom Tromey <tromey@redhat.com>
18342 * java/io/OutputStream.java
18343 (OutputStream): Implements Closeable, Flushable.
18345 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18347 * java/io/ObjectOutputStream.java:
18348 (writeObject(Object)): Added enum support.
18349 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18350 * java/io/ObjectStreamClass.java:
18351 (isEnum()): New package-private method.
18352 (setFlags(Class)): Added enum support.
18353 * java/io/ObjectStreamConstants.java:
18356 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18358 * java/io/ObjectInputStream.java:
18359 (parseContent(byte)): Added enum support.
18360 * java/io/ObjectStreamConstants.java:
18362 (TC_MAX): Changed to new maximum, TC_ENUM.
18364 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18366 * java/beans/beancontext/BeanContextSupport.java:
18367 (instantiateChild(String)): Implemented.
18369 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18371 * java/beans/beancontext/BeanContextSupport.java:
18372 (add(Object)): Add further documentation.
18373 (isEmpty()): Documented.
18374 (propertyChange(PropertyChangeEvent)): Implemented.
18375 (remove(Object)): Documented.
18376 (remove(Object,boolean)): Documented and implemented.
18377 (vetoableChange(PropertyChangeEvent)): Marked as
18378 implemented (only subclasses appear to need this).
18380 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18382 * java/beans/beancontext/BeanContextSupport.java:
18383 (add(Object)): Implement support for the child being
18384 a BeanContextChild.
18385 (avoidingGui()): Implemented.
18386 (dontUseGui()): Likewise.
18387 (needsGui()): Likewise.
18388 (okToUseGui()): Likewise.
18390 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18392 * javax/naming/Context.java,
18393 javax/naming/ContextNotEmptyException.java,
18394 javax/naming/Reference.java: Documented.
18396 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18398 * javax/swing/text/html/MinimalHTMLWriter.java
18399 (writeComponent, writeImage): Declare that the method
18400 may throw the IOException.
18402 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18405 * javax/naming/InitialContext.java (colon_list): Changed type to
18406 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18407 (merge): Rewritten.
18409 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18411 * javax/naming/InitialContext.java: Documented.
18413 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18415 * javax/naming/NameParser.java,
18416 javax/naming/NamingEnumeration.java,
18417 javax/naming/PartialResultException.java,
18418 javax/naming/SizeLimitExceededException.java,
18419 javax/naming/spi/ObjectFactory.java,
18420 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18422 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18424 * gnu/java/net/loader/JarURLLoader.java:
18425 Use Map.Entry instead of LinkedHashMap.Entry
18427 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18429 * javax/naming/Context.java: Documented.
18431 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18433 * javax/naming/Referenceable.java: Documented.
18434 * javax/naming/spi/NamingManager.java: Documented.
18436 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18438 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18439 to messages.properties.
18440 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18441 Renamed to messages.properties.
18442 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18444 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18445 Renamed from MessageBundle.properties.
18446 Added copyright notice.
18447 * resource/gnu/classpath/tools/keytool/messages.properties:
18449 * tools/gnu/classpath/tools/jarsigner/Messages.java
18450 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18451 (getFormattedString): Fixed a spelling mistake.
18452 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18454 2006-05-20 Sven de Marothy <sven@physto.se>
18456 * gnu/java/awt/font/opentype/NameDecoder.java
18458 (getName): Use getShort instead of getChar(), fix PS name.
18459 (decodeName): New method.
18460 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18461 (getSubFamilyName): Implement.
18462 (getPostScriptName): Use the NameDecoder class instead.
18463 (parsePSName): Removed.
18466 2006-05-20 Sven de Marothy <sven@physto.se>
18468 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18469 (getTrueTypeTable): New native method.
18470 (getPostScriptName): Reimplement.
18471 (parsePSName): New method.
18472 (getNumGlyphs): Implement.
18473 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18475 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18476 New function. File is now explicitly dependent on FT2.
18478 2006-05-20 Tom Tromey <tromey@redhat.com>
18480 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18481 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18483 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18484 (HandleFile): New class.
18485 (input, output, encoding, reversed): New fields.
18486 (createParser): New method.
18489 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18490 (notifyFile): Throws OptionException.
18492 2006-05-20 Tom Tromey <tromey@redhat.com>
18494 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18497 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18499 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18500 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18503 2006-05-20 Sven de Marothy <sven@physto.se>
18505 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18507 2006-05-20 Sven de Marothy <sven@physto.se>
18509 * gnu/java/awt/print/JavaPrinterJob.java
18510 (print): Use PostScriptGraphics2D.
18511 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18513 2006-05-20 Sven de Marothy <sven@physto.se>
18515 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18517 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18519 * gnu/java/security/OID.java: Updated copyright year.
18520 (OID): Removed unused Javadoc param tag.
18521 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18522 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18524 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18526 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18528 Added trace/debug statements.
18529 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18530 Entry. Also ensure that any previous entry for this alias is removed
18531 before a new one is added.
18532 (engineGetKey): Do not trace/log passwords.
18533 Trace key's class name only.
18534 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18535 Certificate Entry. Also ensure that previous entry for this alias is
18536 removed before a new one is added.
18537 (engineLoad): Do not trace/log passwords.
18538 (engineStore): Likewise.
18539 (engineSize): Use size of enumeration instead of collection size.
18541 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18543 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18544 (toString): New method.
18545 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18546 Do not trace/log passwords.
18547 Set masked to false before decoding envelope.
18548 Do not set payload to null.
18549 (encrypt): Set masked to true.
18550 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18551 Do not trace/log passwords.
18552 Set masked to false before decoding envelope.
18553 Do not set payload to null.
18554 Added trace/debug statements.
18555 (authenticate): Do not trace/log passwords.
18556 Set masked to true.
18557 Added trace/debug statements.
18558 (getMac): Added trace/debug statements.
18559 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18560 (remove(String)): Changed the signature to return a boolean.
18561 (toString): New method.
18562 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18564 (getCertificate): Likewise.
18565 (putCertificate): Likewise.
18567 Do not trace/log passwords.
18569 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18570 Do not trace/log passwords.
18571 Added more trace/logging statements.
18572 (putPrivateKey): Do not trace/log passwords.
18573 Trace only key's class name.
18575 (containsPublicKey): Formatting.
18576 (getPublicKey): Likewise.
18577 Trace only key's class name.
18578 (putPublicKey): Trace only key's class name.
18579 (containsCertPath): Formatting.
18580 (getCertPath): Likewise.
18581 (putCertPath): Likewise.
18582 (load): Do not trace/log passwords.
18585 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18586 (add): Do not set payload to null.
18587 Added trace/debug statements.
18588 (containsAlias): Added trace/debug statements.
18590 (remove(Entry)): Likewise.
18591 (remove(String)): Likewise.
18592 Changed the signature to return a boolean.
18593 Do not set payload to null unless really removed.
18594 (toString): New method.
18595 (decodeEnvelope): Clear entries before proceeding.
18596 (makeAliasList): Added trace/debug statements.
18597 Ensure only non-null aliases and alias-lists are added.
18598 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18599 (TYPES): New constant.
18600 (toString): New method.
18601 (defaultDecode): Add trace/debug statement.
18603 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18605 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18606 Increased visibility.
18607 (setup): Do not trace/log passwords.
18608 (parsed): Was not setting correct (rfc) field; fixed.
18609 (print1Chain): Formatting.
18610 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18611 Do not trace/log passwords.
18612 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18613 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18614 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18615 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18616 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18617 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18618 (orderChain): Added FIXME.
18619 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18620 Do not trace/log passwords.
18621 Removed commented out code.
18622 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18623 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18624 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18625 (setKeystoreURLParam): Likewise.
18626 (setKeystorePasswordParam): Do not trace/log passwords.
18627 (saveKeyStore): Likewise.
18629 2006-05-19 Roman Kennke <kennke@aicas.com>
18631 * gnu/java/awt/java2d/AbstractGraphics2D.java
18633 (pixel): Removed obsolete field.
18634 (draw(Shape)): Removed commented out code.
18635 (drawImage): Formatting.
18636 (drawString): Added optimization hook.
18637 (setPaint): Removed rawSetForeground().
18638 (getFontRenderContext): Return context with correct transform.
18639 (drawGlyphVector): Draw complete outline in one go.
18640 (copyArea): Added optimization hook.
18641 (clearRect): Added optimization hook.
18642 (drawImage): Added optimization hook.
18643 (fillShape): (Temporarily) Set antialiasing off by default for
18644 font rendering. Adjust the shape by some bits to improve rendering.
18645 Pass clip bounds to the render methods.
18646 (drawPixel): Removed.
18647 (rawSetPixel): Removed.
18648 (rawSetForeground): Removed.
18649 (rawDrawLine): Default impl calls standard pipeline.
18650 (rawDrawString): New method, calls standard pipeline for rendering.
18651 (rawClearRect): New method, calls standard pipeline for rendering.
18652 (rawFillRect): New method, calls standard pipeline for rendering.
18653 (rawDrawImage): New method, calls standard pipeline for rendering.
18654 (rawCopyArea): New method.
18655 (copyAreaImpl): New method.
18656 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18658 (fillShapeAntialias): Fixed AA rendering.
18659 (fillScanlineAA): Fixed AA rendering.
18660 (getSegments): Take offset into account.
18662 2006-05-19 Sven de Marothy <sven@physto.se>
18664 * javax/swing/text/AbstractWriter.java
18665 (getText): Fix parameters (start, length) not (start, end).
18667 2006-05-19 Tom Tromey <tromey@redhat.com>
18669 PR classpath/27444:
18670 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18671 Changed return type.
18672 * java/net/URLClassLoader.java (urlloaders): Removed.
18673 (addURLImpl): Updated.
18674 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18675 (indexSet): Likewise.
18676 (classPath): Changed type.
18677 (JarURLLoader): New constructor.
18678 (initialize): New method.
18679 (getResource): Use index set if it exists.
18680 (getClassPath): Updated.
18681 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18682 (prefixes): New field.
18683 (headers): Removed.
18684 (IndexListParser): Fill in prefixes.
18685 (clearAll): Clear prefixes.
18686 (getHeaders): Changed return type.
18688 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18690 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18691 (MouseInputHandler.mouseExitted): No nothing there.
18692 (MouseInputHandler.endDragging): Move column to the
18693 first/last position if released outside the horizontal
18696 2006-05-19 Lillian Angel <langel@redhat.com>
18698 * java/awt/font/GlyphVector.java
18699 (getGlyphCharIndex): Implemented.
18700 (getGlyphCharIndices): Implemented.
18701 (getGlyphOutline): Implemented.
18702 (getGlyphVisualBounds): Implemented.
18703 (getGlyphVisualBounds): Implemented.
18704 (getPixelBounds): Implemented.
18705 (getLayoutFlags): Implemented.
18707 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18709 * java/awt/LightweightDispatcher.java: Added field dragButton and
18710 documentation for it.
18711 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18712 added subexpression to if-clause in MOUSE_RELEASED case.
18714 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18716 * javax/swing/metal/MetalButtonUI.java:
18717 (update): Removed some subexpression from if-clause and call
18718 updateWithGradient.
18719 (updateWithGradient): New method.
18721 2006-05-19 Roman Kennke <kennke@aicas.com>
18723 * javax/swing/JComponent.java
18724 (findOverlapFreeParent): Implemented algorithm for finding
18725 overlapping in component hierarchy.
18727 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18729 * java/lang/Thread.java
18730 (contextClassLoaderIsSystemClassLoader): New field.
18731 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18732 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18733 and set contextClassLoaderIsSystemClassLoader.
18734 (Thread(ThreadGroup,Runnable,String,long)):
18735 Set contextClassLoaderIsSystemClassLoader.
18736 (createAnonymousThreadName): New method.
18737 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18738 and fixed security check.
18739 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18741 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18743 * javax/swing/plaf/basic/BasicToolBarUI.java:
18744 (createNonRolloverBorder): Rewritten.
18745 (createRolloverBorder): Rewritten.
18746 (setToNonRolloverBorder): Store old border instance in hashtable.
18747 (setToRolloverBorder): Store old border instance in hashtable, use
18748 AbstractButton instead of JButton in statements.
18749 (setBorderToNormal): Rewritten.
18750 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18751 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18752 ToolBar.nonrolloverBorder.
18754 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18756 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18757 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18759 2006-05-18 Lillian Angel <langel@redhat.com>
18761 * java/awt/font/GlyphMetrics.java
18762 (getLSB): Implemented.
18763 (getRSB): Implemented.
18765 2006-05-18 Lillian Angel <langel@redhat.com>
18767 * java/awt/font/GraphicAttribute.java:
18768 Documented entire class.
18769 (GraphicAttribute): Added check for alignment.
18770 (getBounds): Implemented.
18771 (getJustificationInfo): Implemented.
18773 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18775 * java/awt/LightweightDispatcher.java:
18776 (handleMouseEvent): Added note, added subexpression to if-statement.
18778 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18780 * javax/swing/plaf/basic/BasicToolBarUI.java:
18781 (navigateFocusedComp): Marked as stub.
18782 (createRolloverBorder): Create a different Border instance, added note.
18783 * javax/swing/plaf/metal/MetalBorders.java:
18784 (ButtonBorder): Added documentation.
18785 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18786 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18787 subexpression into if-else cascade, added note.
18789 2006-05-18 Lillian Angel <langel@redhat.com>
18791 * java/awt/font/ShapeGraphicAttribute.java:
18792 Documented entire class.
18793 (ShapeGraphicAttribute): Initialized bounds field.
18794 (draw): Implemented.
18795 (equals): Implemented.
18796 (getAdvance): Implemented.
18797 (getAscent): Implemented.
18798 (getBounds): Implemented.
18799 (getDescent): Implemented.
18800 (hashCode): Implemented.
18802 2006-05-18 Roman Kennke <kennke@aicas.com>
18804 * javax/swing/CellRendererPane.java
18805 (CellRendererPane): Set CellRendererPane to invisible.
18807 2006-05-18 Roman Kennke <kennke@aicas.com>
18809 * gnu/java/awt/peer/gtk/GdkGraphics.java
18810 (clipRect): Removed old intersection statement.
18812 2006-05-18 Roman Kennke <kennke@aicas.com>
18814 * gnu/java/awt/peer/gtk/GdkGraphics.java
18815 (clipRect): Don't use Rectangle.intersection() to avoid creating
18816 2 unnecessary Rectangle instances and fix a clipping problem.
18817 (computeIntersection): New helper method, adapted from SwingUtilities.
18819 2006-05-18 Roman Kennke <kennke@aicas.com>
18821 * javax/swing/JComponent.java
18822 (isCompletelyDirty): Removed.
18823 (paint): Don't mark children as clean, this is no longer necessary.
18824 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18825 painting when something overlaps the viewport (like a popup/menu).
18826 * javax/swing/RepaintManager.java
18827 (currentRepaintManagers): Made package private to avoid accessor
18829 (dirtyComponents): Made private.
18830 (dirtyComponentsWork): Made private.
18831 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18832 component-local not parent-local. Do not set flag in JComponent.
18833 (markCompletelyClean): Don't set JComponent flag.
18834 (isCompletelyDirty): Rewritten to return true when the complete
18835 component is marked dirty.
18836 (paintDirtyRegions): Improved parent-merging so that the merged-in
18837 components don't get painted too. 'Outsourced' the compilation
18838 of the repaint root components.
18839 (compileRepaintRoots): New helper method.
18841 2006-05-18 Roman Kennke <kennke@aicas.com>
18844 * javax/swing/text/GapContent.java
18845 (GapContentPosition(int)): Use adapted binarySearch method to
18846 allow for having a greater array than number of entries.
18847 (numMarks): New field, holds the end of the marks list.
18848 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18849 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18850 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18851 (setPositionsInRange): Changed signature to narrow the purpose and
18852 special cases inside. Reimplemented to crunch together equal marks.
18853 (adjustPositionsInRange): Added assertion to make sure we do
18854 not accidentally change the order of the mark. Added some debug
18855 output for a special case of which I don't know if it even exists.
18856 (resetMarksAtZero): Made impl simpler.
18857 (dumpMarks): New debug helper method.
18858 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18859 (binarySearch): New method. An adaption of Arrays.binarySearch()
18860 that allows for an maxIndex parameter.
18862 2006-05-18 Roman Kennke <kennke@aicas.com>
18864 * javax/swing/KeyboardManager.java
18865 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18867 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18869 * gnu/java/net/loader/JarURLLoader.java
18870 (JarURLLoader): Use a slightly more efficient URL constructor.
18872 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18874 * gnu/java/awt/print/JavaPrinterGraphics.java
18875 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18876 (drawImage(Image, int, int, ImageObserver)): Likewise,
18877 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18878 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18879 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18880 ImageObserver)): Likewise,
18881 (drawImage(Image, int, int, int, int, int, int, int, int,
18882 ImageObserver)): Likewise.
18884 2006-05-17 Tom Tromey <tromey@redhat.com>
18886 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18889 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18891 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18892 * javax/swing/border/BevelBorder.java: Likewise,
18893 * javax/swing/border/CompoundBorder.java: Likewise,
18894 * javax/swing/border/TitledBorder.java: Likewise.
18896 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18898 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18899 * javax/swing/table/DefaultTableModel.java: Likewise,
18900 * javax/swing/table/TableCellEditor.java: Likewise,
18901 * javax/swing/table/TableCellRenderer.java: Likewise.
18903 2006-05-17 Lillian Angel <langel@redhat.com>
18905 * java/awt/font/ImageGraphicAttribute.java:
18906 Documented entire class.
18907 (ImageGraphicAttribute): Changed to call this.
18908 (ImageGraphicAttribute): Implemented.
18909 (draw): Implemented.
18910 (equals): Implemented.
18911 (getAdvance): Implemented.
18912 (getAscent): Implemented.
18913 (getBounds): Implemented.
18914 (getDescent): Implemented.
18915 (hashCode): Implemented.
18916 * javax/swing/text/html/HTMLDocument.java
18917 (create): Removed. Sufficent enough for
18918 super to be called.
18919 (insert): Likewise.
18920 (insertUpdate): Likewise.
18921 (processHTMLFrameHyperlinkEvent): Marked as stub.
18922 (start): Removed FIXME.
18924 (start): Called super.
18925 (end): Called super.
18926 (getElement): removed unneeded code.
18927 (setParagraphAttribute): Removed. Sufficent enough
18928 for super to be called.
18929 (fireChangedUpdate): Likewise.
18930 (fireUndoableEditUpdate): Likewise.
18932 2006-05-17 Lillian Angel <langel@redhat.com>
18934 * java/awt/TexturePaint.java:
18935 Added documentation for class and all functions.
18936 (getTransparency): Implemented.
18938 2006-05-17 Roman Kennke <kennke@aicas.com>
18940 * java/awt/LightweightDispatcher.java
18941 (findTarget): Translate point to child components.
18943 2006-05-17 Roman Kennke <kennke@aicas.com>
18946 * javax/swing/text/GapContent.java
18947 (GapContentPosition): Do no more implement Comparable.
18948 (GapContentPosition.mark): Removed field.
18949 (GapContentPosition.index): New field to hold the index into
18950 the positions array.
18951 (GapContentPosition(int)): Rewritten to use the new indirection
18952 to the positions array.
18953 (GapContentPosition.compareTo): Removed.
18954 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18955 positionMarks array.
18956 (WeakPositionComparator): Removed obsolete class.
18957 (positions): Changed type to WeakHashMap.
18958 (positionMarks): New field, holds the marks of the positions.
18959 (GapContent): Initialize new fields.
18960 (createPosition): Rewritten to use the new indirection
18961 to the positions array.
18962 (getPositionsInRange): Rewritten to use the new indirection
18963 to the positions array.
18964 (setPositionsInRange): Rewritten to use the new indirection
18965 to the positions array.
18966 (adjustPositionsInRange): Rewritten to use the new indirection
18967 to the positions array.
18968 (insertMark): New helper method.
18969 (clearPositionReferences): Removed obsolete methods.
18971 2006-05-17 Lillian Angel <langel@redhat.com>
18973 * java/awt/GraphicsConfiguration.java
18974 (getImageCapabilities): Implemented.
18975 (getBufferCapabilities): Implemented.
18977 2006-05-17 Lillian Angel <langel@redhat.com>
18979 * javax/swing/plaf/basic/BasicSliderUI.java
18980 (focusGained): Implemented.
18981 (focusLost): Implemented.
18982 (paint): Added code to paint the focus.
18983 * javax/swing/plaf/metal/MetalSliderUI.java
18984 (paintThumb): Added code to set the thumbColor.
18985 (paintFocus): Implemented properly.
18987 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18990 * javax/naming/spi/NamingManager.java (getURLContext):
18991 Always search for the factory class in all possible places
18992 and use VMStackWalker.
18993 (forName): New method.
18995 2006-05-17 Roman Kennke <kennke@aicas.com>
18997 * java/awt/LightweightDispatcher.java
18998 (handleMouseEvent): Fixed search algorithm for finding the
18999 mouse event target.
19000 (findTarget): Fixed search algorithm for finding the
19001 mouse event target.
19003 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19005 * javax/naming/spi/NamingManager.java: Documented.
19007 2006-05-17 Mark Wielaard <mark@klomp.org>
19009 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19010 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19011 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19012 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19014 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19017 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19019 (BorderListener.mouseClicked): Detect double-clicks in title pane,
19021 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19023 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19026 * java/awt/LightweightDispatcher.java:
19027 (handleMouseEvent): Moved assignment into switch-block, added notes.
19029 2006-05-16 Lillian Angel <langel@redhat.com>
19031 * javax/swing/text/StyleContext.java:
19032 Changed staticAttributeKeys to be a Hashtable.
19033 (getStaticAttribute): Implemented.
19034 (getStaticAttributeKey): Implemented.
19035 (readAttributeSet): Implemented.
19036 (writeAttributeSet): Added FIXME. Not sure how
19038 (readAttributes): Implemented.
19039 (writeAttributes): Implemented.
19040 (registerStaticAttibuteKey): Fixed to add key to
19043 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19045 * javax/swing/DefaultButtonModel.java
19046 (setGroup): Removed event notification.
19048 2006-05-16 Lillian Angel <langel@redhat.com>
19050 * javax/swing/plaf/basic/BasicComboBoxUI.java
19051 (installKeyboardActions): Implemented.
19052 (uninstallKeyboardActions): Implemented.
19053 * javax/swing/plaf/basic/BasicComboPopup.java
19054 (uninstallKeyboardActions): Removed FIXME. Nothing
19056 (installKeyboardActions): Likewise.
19057 * javax/swing/plaf/basic/BasicTextUI.java
19058 (uninstallKeyboardActions): Implemented.
19059 * javax/swing/plaf/basic/BasicTreeUI.java:
19060 Added field for hashColor.
19061 Marked stub methods.
19062 (getHashColor): Implemented to use field.
19063 (setHashColor): Likewise.
19064 (getRowX): Implemented.
19065 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19067 2006-05-16 Roman Kennke <kennke@aicas.com>
19070 * javax/swing/JTable.java
19071 (rowHeights): New field.
19072 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19073 in order to initialize rowHeights correctly.
19074 (tableChanged): Nullify rowHeights when model changes. Only
19075 create default columns from model when corresponding property
19076 is set. Sync table model with rowHeights as appropriate.
19077 (valueChanged): Call repaint with the correct rectangle.
19078 (rowAtPoint): Handle rowHeights.
19079 (getCellRect): Mostly rewritten. Check for boundaries
19080 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19081 Handle component orientation. Round correctly.
19082 (getRowHeight(int)): Implemented for variable row height.
19083 (setRowHeight(int,int)): Implemented for variable row height.
19084 (setRowHeight(int)): Nullify rowHeights.
19085 (setModel): Notify tableChanged().
19086 * javax/swing/plaf/basic/BasicTableUI.java
19087 (installDefaults): Create rendererPane in installUI.
19088 (installUI): Create and install rendererPane.
19089 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19091 (paint): Correctly handle rowMargin.
19093 2006-05-16 Tom Tromey <tromey@redhat.com>
19095 PR classpath/27563:
19096 * java/text/NumberFormat.java (getIntegerInstance): Use
19097 "integerFormat", not "numberFormat".
19099 2006-05-16 Lillian Angel <langel@redhat.com>
19101 * javax/swing/JPopupMenu.java
19102 (addMenuKeyListener): Implemented.
19103 (removeMenuKeyListener): Implemented.
19104 (getMenuKeyListeners): Implemented.
19105 * javax/swing/ProgressMonitor.java:
19106 Added new protected field.
19107 (getAccessibleContext): Implemented.
19109 2006-05-16 Lillian Angel <langel@redhat.com>
19111 * javax/swing/JFileChooser.java:
19112 Added new private field.
19113 (setDragEnabled): Implemented.
19114 (getDragEnabled): Implemented.
19116 2006-05-16 Lillian Angel <langel@redhat.com>
19118 * java/awt/Window.java
19119 (applyResourceBundle): Implemented.
19121 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19123 * javax/swing/DefaultButtonModel.java
19124 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19127 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19129 * javax/swing/JList.java (getSelectedValues):
19130 Ask the value for the indexed array element.
19132 2006-05-16 Roman Kennke <kennke@aicas.com>
19134 * javax/swing/JTable.java
19135 (valueChanged): Also repaint when table has only 1 row. Fixed
19136 repaint rectangle to span the entire changed rows.
19138 2006-05-16 Roman Kennke <kennke@aicas.com>
19141 * javax/swing/JOptionPane.java
19142 (startModal): Rewritten. The events are now dispatched, even
19143 when the event dispatch thread gets blocked by the call
19144 to this method. Also, mouse events get intercepted outside the
19147 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19149 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19150 (BorderListener.mouseDragged):Do not set cursor
19151 if the frame is being dragged.
19153 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19155 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19156 (BorderListener): Rewritten. (InternalFrameBorder):
19157 Made package private.
19158 (InternalFrameBorder.offset):
19159 Renamed to cornerSize, made package private.
19160 (bSize): Made package private.
19162 2006-05-16 Roman Kennke <kennke@aicas.com>
19164 * javax/swing/JMenu.java
19165 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19166 (AccessibleJMenu.getAccessibleChild): Implemented.
19167 (AccessibleJMenu.getAccessibleSelection): Implemented.
19168 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19169 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19170 (AccessibleJMenu.getAccessibleRole): Documented.
19171 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19172 (AccessibleJMenu.addAccessibleSelection): Implemented.
19173 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19174 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19175 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19176 (createPath): New helper method.
19178 2006-05-15 Tom Tromey <tromey@redhat.com>
19180 * java/text/MessageFormat.java (format): Now varargs.
19182 2006-05-15 Tom Tromey <tromey@redhat.com>
19184 * java/lang/Thread.java (State): Fixed typo.
19186 2006-05-15 Tom Tromey <tromey@redhat.com>
19188 * java/net/URLClassLoader.java: Moved inner classes to
19189 gnu.java.net.loader.
19190 (factoryCache): Changed type.
19191 (URL_LOADER_PREFIX): New constant.
19192 (URLClassLoader): Updated for new factoryCache.
19193 (addURLImpl): Use reflection to search for a loader.
19194 (findClass): Use getClass method on URLLoader.
19195 (getURLStreamHandler): Removed.
19196 * gnu/java/net/loader/URLLoader.java: New file, extracted
19197 from URLClassLoader.
19198 * gnu/java/net/loader/Resource.java: Likewise.
19199 * gnu/java/net/loader/FileResource.java: Likewise.
19200 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19201 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19202 * gnu/java/net/loader/JarURLResource.java: Likewise.
19203 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19204 * gnu/java/net/loader/RemoteResource.java: Likewise.
19205 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19207 2006-05-15 Sven de Marothy <sven@physto.se>
19209 * native/target/generic/target_generic_network.h:
19210 Add a pair of parenthesis.
19212 2006-05-15 Mark Wielaard <mark@klomp.org>
19214 * java/awt/Graphics2D.java: Remove PrinterJob import.
19216 2006-05-15 Mark Wielaard <mark@klomp.org>
19218 * doc/www.gnu.org/announce/20060515.wml: New file.
19219 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19220 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19222 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19224 * NEWS: Announce inclusion of gcjwebplugin.
19225 Announce inclusion of appletviewer.
19226 * INSTALL: Note gcjwebplugin dependencies.
19228 2006-05-15 Mark Wielaard <mark@klomp.org>
19230 * configure.ac (VERSION): Set to 0.91-generics.
19232 2006-05-15 Mark Wielaard <mark@klomp.org>
19234 * NEWS: Add release date and VMClassLoader.getBootPackages()
19237 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19239 * README: Added CACAO to list of VMs.
19241 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19243 * javax/swing/RepaintManager.java (paintDirtyRegions):
19244 Break loop as soon as the component repaint is merged
19245 with some parent. (ComponentComparator): Removed.
19246 (comparator): Removed.
19248 2006-05-15 Roman Kennke <kennke@aicas.com>
19250 * javax/swing/border/TitledBorder.java
19251 (paintBorderWithTitle): Fixed indentation.
19253 2006-05-15 Roman Kennke <kennke@aicas.com>
19255 * javax/swing/border/TitledBorder.java
19256 (layoutBorderWithTitle): Fetch border using getBorder() instead
19257 of using the border field directly. Allows for the use of
19258 an UI supplied border in the case when a null border was set.
19259 Fixed component orientation.
19260 (paintBorderWithTitle): Fetch border using getBorder() instead
19261 of using the border field directly. Allows for the use of
19262 an UI supplied border in the case when a null border was set.
19264 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19266 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19267 (contains): New method.
19269 2006-05-15 Tom Tromey <tromey@redhat.com>
19271 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19273 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19276 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19278 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19280 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19281 region. (paintDirtyRegions): Rewritten.
19283 2006-05-15 Tom Tromey <tromey@redhat.com>
19285 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19287 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19289 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19290 (run): Use MessageFormat.
19291 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19292 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19293 (writeFile): Use MessageFormat.
19295 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19297 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19298 instead of directly calling the class loader.
19300 2006-05-15 Tom Tromey <tromey@redhat.com>
19302 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19303 Removed old comment.
19304 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19305 Externalized strings.
19306 (getVersionString): Use MessageFormat.
19307 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19308 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19309 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19310 (getArgument): Use a MessageFormat.
19311 (handleLongOption): Likewise.
19314 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19317 * javax/swing/text/FieldView.java:
19318 (paint): Calculate intersection between clip and allocation area and
19319 set that as new clip.
19321 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19323 * javax/swing/text/JTextComponent.java: Marked stub methods.
19325 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19327 * javax/swing/JTable.java: Marked stub methods.
19329 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19331 * tools/gnu/classpath/tools/jarsigner/Main.java:
19332 Increased visibility of fields used by parser anonymous classes.
19333 (KEYTOOL_TOOL): New constant.
19334 (cmdLineParser): Changed type to ToolParser.
19335 (fileAndAlias): new field.
19336 (main): Don't catch OptionException.
19337 (processArgs): Removed validation checks; now handled by ToolParser.
19338 (getParser): Removed.
19339 (ToolParserCallback): New inner class.
19340 (ToolParser): Likewise.
19342 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19344 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19347 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19349 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19350 endResizingFrame): Do not repaint, unless in the outline mode.
19352 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19354 * javax/swing/JTabbedPane.java
19355 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19356 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19357 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19358 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19359 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19360 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19361 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19362 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19363 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19364 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19365 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19366 (Page.getAccessibleName): Implemented.
19368 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19370 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19371 Do not repaint nor revalidate here.
19373 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19375 * javax/swing/RepaintManager.java (addDirtyRegion):
19376 If there is a lightweight parent, recursively add the corresponding
19377 region of the parent instead.
19379 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19381 * java/awt/Graphics2D.java: Added some API doc comments.
19383 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19385 * javax/swing/JTabbedPane.java
19386 (paramString): Reimplemented,
19387 (getAccessibleContext): Added API docs.
19389 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19391 * javax/swing/JFileChooser.java
19392 (paramString): Reimplemented,
19393 (getAccessibleContext): Updated API docs,
19394 (AccessibleJFileChooser): Added API docs.
19396 2006-05-14 Tom Tromey <tromey@redhat.com>
19398 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19400 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19402 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19404 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19405 validation to JarParser.
19406 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19407 (run): Moved validation to JarParser. Don't throw OptionException.
19408 (initializeParser): Create a JarParser.
19409 (main): Don't catch OptionException.
19410 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19412 (validate): New method.
19413 (parse): Call it. Print '-help' in error message when long-only.
19415 2006-05-14 Tom Tromey <tromey@redhat.com>
19417 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19420 2006-05-15 Sven de Marothy <sven@physto.se>
19422 * gnu/java/awt/print/JavaPrinterGraphics.java:
19423 Sweeping changes I can't be bothered to document in detail.
19424 * gnu/java/awt/print/JavaPrinterJob.java
19425 (getPageAttributes): New method.
19426 (setPageable,cancel,isCancelled): Implement.
19428 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19430 * javax/swing/JCheckBoxMenuItem.java
19431 (requestFocus): Fixed typo in API docs,
19432 (paramString): Just call super.paramString(),
19433 (getAccessibleContext): Added API docs,
19434 (AccessibleJCheckBoxMenuItem): Likewise.
19436 2006-05-14 Tom Tromey <tromey@redhat.com>
19438 * tools/gnu/classpath/tools/jar/Indexer.java
19439 (writeCommandLineEntries): Simplify insertion.
19440 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19443 2006-05-14 Tom Tromey <tromey@redhat.com>
19445 PR classpath/27514:
19446 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19448 (JAR_INDEX_VERSION_KEY): Likewise.
19449 (IndexListParser): Updated.
19450 (getVersionInfo): Likewise.
19451 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19452 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19454 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19456 (ModeOption): New constructor.
19457 (parsed): Updated. Use setArchiveFile.
19458 (setArchiveFile): New method.
19459 (run): Handle no-argument case.
19460 (main): Emit --help message on option error.
19461 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19462 (createManifest): New method.
19463 (run): Updated. Throws OptionException. Correctly copy zip entry.
19464 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19466 (writeManifest): Removed.
19467 (outputStream): Now a JarOutputStream.
19468 (writeCommandLineEntries): Changed parameters. Updated callers.
19469 (run): Throws OptionException.
19470 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19471 * java/util/jar/Manifest.java (read): Typo fix.
19473 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19475 * javax/swing/JMenuItem.java
19476 (paramString): Fixed class name in API doc comment.
19478 2006-05-14 Tom Tromey <tromey@redhat.com>
19480 * native/plugin/.cvsignore: Updated.
19482 2006-05-14 Mark Wielaard <mark@klomp.org>
19484 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19487 2006-05-14 Chris Burdess <dog@gnu.org>
19489 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19490 nodes to be preserved during cloneNode.
19492 2006-05-14 Mark Wielaard <mark@klomp.org>
19495 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19496 inherited timeout on socket.
19498 2006-05-14 Lillian Angel <langel@redhat.com>
19500 * java/util/SimpleTimeZone.java: Reverted patch.
19501 (SimpleTimeZone): Throw exception if startMonth ==
19503 (SimpleTimeZone): Likewise.
19504 (checkRule): Rewritten to properly check all values (more
19506 This code is now more stable, at least less buggy than before.
19507 Fixed API documentation.
19508 (setStartRule): Moved checkRule call to end.
19509 (setStartRule): Likewise.
19510 (setEndRule): Likewise.
19511 (setEndRule): Likewise.
19513 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19515 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19518 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19521 * javax/swing/text/AbstractDocument.java:
19522 (insertString): Flipped if-expression and its blocks.
19524 (replace): Flipped if-expression and its blocks, added note, invoke
19525 insertString and remove instead of insertStringImpl and removeImpl.
19527 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19529 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19531 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19533 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19535 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19536 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19537 Increased visibility of fields used by parser anonymous classes.
19538 (processArgs): Removed.
19539 (getParser): New method.
19540 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19541 (setup): Mark (Eclipse) strings that need not be externalised.
19543 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19544 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19545 command line option parsing.
19546 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19547 Increased visibility of fields used by parser anonymous classes.
19548 (processArgs): Removed.
19549 (setup): set 'all' local field.
19550 (getParser): New method.
19551 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19552 Increased visibility of fields used by parser anonymous classes.
19553 (processArgs): Removed.
19554 (getParser): New method.
19555 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19556 (setNewKeyPassword): Fixed comments.
19557 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19558 Increased visibility of fields used by parser anonymous classes.
19559 (processArgs): Removed.
19560 (getParser): New method.
19561 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19563 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19564 Increased visibility of fields used by parser anonymous classes.
19565 (processArgs): Removed.
19566 (setup): Mark (Eclipse) strings that need not be externalised.
19567 (getParser): New method.
19568 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19569 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19570 Increased visibility of fields used by parser anonymous classes.
19571 (processArgs): Removed.
19572 (getParser): New method.
19573 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19574 (ATTRIBUTES_OPT): New constant.
19575 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19576 Increased visibility of fields used by parser anonymous classes.
19577 (processArgs): Removed.
19578 (setup): Mark (Eclipse) strings that need not be externalised.
19580 Reduced logging level.
19581 (getParser): New method.
19582 * tools/gnu/classpath/tools/keytool/Command.java
19583 (processArgs): Made it concrete.
19584 (getParser): New abstract method.
19585 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19587 2006-05-13 Casey Marshall <csm@gnu.org>
19589 Patch by Michael Barker <mike@middlesoft.co.uk>.
19590 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19591 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19592 gnu.java.nio.SocketChannelSelectionKeyImpl.
19593 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19594 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19596 * include/gnu_java_nio_VMChannel.h: new file.
19597 * java/nio/FileChannel.java (read,write): changed to call abstract
19599 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19600 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19601 `gnu_java_nio_VMChannel.c.'
19602 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19604 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19606 * javax/swing/text/AbstractDocument.java:
19607 (insertString): Flipped if-expression and its blocks.
19609 (replace): Flipped if-expression and its blocks, added note, invoke
19610 insertString and remove instead of insertStringImpl and removeImpl.
19612 2006-05-13 Tom Tromey <tromey@redhat.com>
19614 * java/nio/ByteBufferImpl.java (compact): Always set position.
19616 2006-05-13 Sven de Marothy <sven@physto.se>
19618 * gnu/java/awt/print/JavaPrinterGraphics.java
19619 (spoolPostScript): Use a faster writer.
19621 2006-05-13 Sven de Marothy <sven@physto.se>
19623 * gnu/java/awt/print/JavaPrinterGraphics.java
19624 (colorTripleHex): Reimplement better.
19626 2006-05-13 Sven de Marothy <sven@physto.se>
19628 * javax/swing/text/html/HTMLDocument.java
19629 (CharacterAction.start): Translate tag to StyleAttribute.
19630 (pushCharacterStyle): Push copy of attributes onto stack.
19631 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19634 2006-05-13 Sven de Marothy <sven@physto.se>
19636 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19637 * java/awt/print/PrinterJob.java
19638 (getPrinterJob): Return a JavaPrinterJob
19639 (setPrintService,getPrintService): Implement.
19640 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19641 (getPixels): Gtk_threads_enter required.
19642 * gnu/java/awt/print/JavaPrinterGraphics.java
19643 * gnu/java/awt/print/JavaPrinterJob.java
19644 * gnu/java/awt/print/SpooledDocumet.java:
19647 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19649 * javax/swing/text/TextAction.java:
19650 (HorizontalMovementAction): New inner class.
19651 (VerticalMovementAction): New inner class.
19652 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19653 new inner classes to array 'defaultActions'.
19654 (SelectionBeginWordAction): New inner class.
19655 (SelectionEndWordAction): New inner class.
19656 (BeginWordAction): New inner class.
19657 (EndWordAction): New inner class.
19658 (PreviousWordAction.actionPerformed): Rewritten.
19659 (SelectLineAction): New inner class.
19660 (SelectWordAction): New inner class.
19661 (SelectionDownAction): Rewritten.
19662 (SelectionUpAction): Rewritten.
19663 (DownAction): Rewritten.
19664 (UpAction): Rewritten.
19665 (SelectionForwardAction): Rewritten.
19666 (SelectionBackwardAction): Rewritten.
19667 (ForwardAction): Rewritten.
19668 (BackwardAction): Rewritten.
19669 (BeginAction): New inner class.
19670 (EndAction): New inner class.
19671 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19672 Character.isISOControl.
19674 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19676 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19677 (WordFilter.getNextVisualPositionFrom): Added statement to check
19678 for variable pt not being null.
19680 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19682 * javax/swing/text/Utilities.java:
19683 (getNextWord): Fixed grammar in exception message.
19684 (getPreviousWord): Changed expression in first if-clause, added sub-
19685 expression to if-clause in while-loop.
19686 (getWordStart): Changed expression in if-clause.
19687 getNextVisualPositionFrom): Added package-private helper method.
19689 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19691 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19694 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19696 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19698 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19699 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19700 * tools/gnu/classpath/tools/jarsigner/Main.java:
19701 Increased visibility of fields used by parser anonymous classes.
19702 (HELP_PATH): Removed.
19703 (cmdLineParser): New field.
19704 (main): Handle JVM exit status.
19705 Handle command line parsing exceptions.
19706 (processArgs): Use getopt command line parser.
19707 (getParser): New method.
19708 (setupCommonParams): Removed checks now handled by processArgs().
19709 (setupSigningParams): Likewise.
19710 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19711 Reuse an existing message-bundle constant.
19713 2006-05-12 Tom Tromey <tromey@redhat.com>
19715 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19716 Explicitly specify class for synchronization.
19718 2006-05-12 Tom Tromey <tromey@redhat.com>
19720 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19722 2006-05-12 Sven de Marothy <sven@physto.se>
19724 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19725 * gnu/java/net/protocol/http/HTTPURLConnection.java
19726 (setConnectTimeout): New method.
19727 (getConnection): Add timeout parameter.
19728 * java/net/URLConnection.java
19729 (getConnectTimeout, setConnectTimeout): Implement.
19730 * native/target/generic/target_generic_network.h:
19731 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19733 2006-05-12 Sven de Marothy <sven@physto.se>
19735 * gnu/javax/print/CupsServer.java
19736 (CupsServer): Make the Cups host configurable.
19737 * java/lang/System.java: Document the system property.
19739 2006-05-12 Roman Kennke <kennke@aicas.com>
19741 * javax/swing/border/TitledBorder.java
19742 (paintBorder): Rewritten for simplicity and correctness.
19743 (layoutBorderWithTitle): New helper method.
19744 (paintBorderWithTitle): New helper method.
19745 (getBorderInsets): Rewritten.
19746 (getMinimumSize): Rewritten.
19747 (getRealJustification): Removed.
19748 (getMeasurements): Removed.
19749 (Measurements): Removed.
19751 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19753 * javax/swing/plaf/basic/BasicPanelUI.java
19754 (sharedUI): New field,
19755 (createUI): Return a shared instance rather than a new instance,
19756 (installUI): Reformatted and added API docs,
19757 (installDefaults): Install border if one is defined,
19758 (uninstallDefaults): Uninstall border.
19760 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19762 * javax/swing/JProgressBar.java: Updated API docs all over.
19764 2006-05-11 Lillian Angel <langel@redhat.com>
19766 * java/awt/ContainerOrderFocusTraversalPolicy.java
19767 (getComponentAfter): Should not throw exception if
19768 the ancestor is null. Added a check for this.
19769 Also, changed to use new helper function, we should
19770 iterate through all the components at least once.
19771 (getNextAvailableComponent): New helper function.
19772 (getPrevAvailableComponent): New helper function.
19773 (getComponentBefore): Should not throw exception if
19774 the ancestor is null. Added a check for this.
19775 Also, changed to use new helper function, we should
19776 iterate through all the components at least once.
19777 (getFirstComponent): Changed check to manually check
19778 fields. Calling accept() casts the object to a Component,
19779 so different values may be returned.
19780 (getLastComponent): Likewise.
19782 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19784 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19785 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19786 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19787 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19788 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19789 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19790 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19791 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19792 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19793 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19794 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19795 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19796 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19797 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19798 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19799 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19800 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19801 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19803 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19805 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19806 package-private, added field 'active'.
19807 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19808 cases to update field 'active'.
19809 (mouseDragged): Added documentation, added if-clause to update
19810 selection or caret position.
19811 (mouseClicked): Added early return when text component is disabled.
19812 (focusGained): Moved statements into an if-clause.
19813 (focusLost): Added subexpression to if-clause.
19814 (install): Preset value of 'active'.
19815 (paint): Added subexpression to if-clause.
19816 (isVisible): Extended return expression.
19817 * javax/swing/text/JTextComponent.java:
19818 (copy): Copy only if component is enabled.
19819 (cut): Cut only if component is enabled and editable.
19822 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19824 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19825 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19826 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19827 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19828 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19829 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19830 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19832 2006-05-11 Roman Kennke <kennke@aicas.com>
19834 * gnu/java/awt/font/GNUGlyphVector.java
19835 (GNUGlyphVector): Don't apply the font renderer context's
19838 2006-05-11 Mark Wielaard <mark@klomp.org>
19840 * java/util/logging/Logger.java (global): Initialize inside static
19843 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19845 * javax/swing/JFrame.java
19846 (EXIT_ON_CLOSE): Added note to API docs,
19847 (close_action): Renamed closeAction,
19848 (JFrame()): Change title to "",
19849 (JFrame(String)): Added API docs,
19850 (getAccessibleContext): Likewise,
19851 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19852 (processWindowEvent): Updated for renamed field,
19853 (setDefaultCloseOperation): Likewise, and updated API docs.
19855 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19857 * javax/swing/JFrame.java
19858 (paramString): Reimplemented,
19859 * javax/swing/SwingUtilities.java
19860 (convertWindowConstantToString): New method.
19862 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19864 * javax/swing/WindowConstants.java: Updated API docs.
19866 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19868 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19869 (createUI): Removed 'final' qualifier for parameter,
19870 (paint): Reformatted.
19872 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19874 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19875 (createUI): Removed 'final' qualifier on method argument.
19877 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19879 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19880 (getDefaultIcon): Removed this redundant method.
19882 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19884 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19885 (paint): Pass component size to paintFocus().
19887 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19889 * java/awt/Component.java:
19890 (dispatchEventImpl): Added comment.
19892 2006-05-11 Mark Wielaard <mark@klomp.org>
19894 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19895 Option constructor null argument to String.
19897 2006-05-11 Mark Wielaard <mark@klomp.org>
19899 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19900 Fully qualify PathIterator constants
19902 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19904 * java/awt/Component.java:
19905 (dispatchEventImpl): Added subexpression to if-clause.
19907 2006-05-11 Mark Wielaard <mark@klomp.org>
19909 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19912 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19914 * javax/swing/TransferHandler.java: Marked stub methods.
19916 2006-05-10 Roman Kennke <kennke@aicas.com>
19919 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19920 (installDefaults): Set background of content pane to null, if
19921 no custom color has been installed by the application yet.
19923 2006-05-10 Roman Kennke <kennke@aicas.com>
19926 * javax/swing/JRootPane.java
19927 (createContentPane): Don't set background to null.
19929 2006-05-10 Sven de Marothy <sven@physto.se>
19931 * java/awt/print/PrinterJob.java:
19932 (lookupPrintServices): Un-comment-out.
19934 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19936 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19937 (FILLER): New constant.
19938 (formatText(PrintStream,String,int)): New method.
19939 (formatText(PrintStream,String,int,Locale)): Likewise.
19940 (printHelp): Use formatText method.
19941 * tools/gnu/classpath/tools/getopt/Parser.java
19942 (MAX_LINE_LENGTH): New constant.
19943 (formatText(PrintStream,String)): New method.
19944 (formatText(PrintStream,String,Locale)): Likewise.
19945 (printHelp): New method.
19946 (printHelp(PrintStream)): Increased visibility to protected.
19947 Use formatText method.
19949 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19951 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19952 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19953 modify the lookup key.
19955 2006-05-10 Lillian Angel <langel@redhat.com>
19957 * java/util/SimpleTimeZone.java: Reverted patch.
19958 (SimpleTimeZone): Throw exception if startMonth ==
19960 (SimpleTimeZone): Likewise.
19961 (checkRule): Rewritten to properly check all values (more
19963 This code is now more stable, at least less buggy than before.
19964 Fixed API documentation.
19965 (setStartRule): Moved checkRule call to end.
19966 (setStartRule): Likewise.
19967 (setEndRule): Likewise.
19968 (setEndRule): Likewise.
19970 2006-05-10 Roman Kennke <kennke@aicas.com>
19972 * gnu/java/awt/peer/swing/SwingComponent.java:
19973 Some API comment fixlets.
19974 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19975 (createImage): Create a BufferedImage, not a Toolkit image.
19976 (paint): Removed bogus API comment.
19977 (prepareImage): Added checks to avoid NPE.
19978 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19979 (getInsets): Added check to avoid NPE.
19980 (handleMouseEvent): Added check to avoid NPE.
19981 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19982 Some API comment fixlets.
19983 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19984 Some API comment fixlets.
19985 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19986 Changed start_pos name to startPos.
19987 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19988 Some API comment fixlets.
19990 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19992 * java/awt/BasicStroke.java
19993 (equals): Fixed typo in HTML tag for API doc comment.
19995 2006-05-10 Gary Benson <gbenson@redhat.com>
19997 * java/lang/ThreadGroup.java (parent): Make package-private.
19998 * java/lang/SecurityManager.java (checkAccess(Thread)):
19999 Reference ThreadGroup.parent directly to avoid extra checks.
20000 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20003 2006-05-10 Roman Kennke <kennke@aicas.com>
20005 Reported by Ingo Proetel (proetel@aicas.com)
20006 * java/awt/EventDispatchThread.java
20007 (DEFAULT_PRIORITY): New constant field.
20008 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20009 system property for adjusting the priority of the event
20012 2006-05-10 Roman Kennke <kennke@aicas.com>
20014 Reported by Ingo Proetel (proetel@aicas.com)
20015 * java/awt/image/ColorModel.java
20016 (S_RGB_MODEL): New constant field.
20017 (getRGBDefault): Return constant SRGBColorModel.
20018 (SRGBColorModel): Specialized color model for sRGB.
20020 2006-05-10 Roman Kennke <kennke@aicas.com>
20022 * java/awt/ColorPaintContext.java
20023 (getRaster): Create Raster with (0,0) as source location.
20025 2006-05-10 Roman Kennke <kennke@aicas.com>
20027 * gnu/java/awt/java2d/AlphaCompositeContext.java
20028 (compose): Don't premultiply alpha to alpha itself.
20030 2006-05-10 Roman Kennke <kennke@aicas.com>
20032 * gnu/java/awt/java2d/AbstractGraphics2D.java
20033 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20034 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20036 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20037 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20038 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20040 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20041 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20043 (scale): Inverse transform by doing 1/scale instead of -scale.
20044 (drawImage(Image,int,int,ImageObserver)): Implemented.
20045 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20046 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20047 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20048 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20050 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20052 (fillScanline): Work on translated destination raster for
20053 correct compositin.
20054 (init): Fetch the clip after the destination raster is initialized.
20055 * gnu/java/awt/java2d/ImagePaint.java: New file.
20056 * gnu/java/awt/java2d/RasterGraphics
20057 (drawImage): Removed.
20059 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20061 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20062 Clarify option descriptions.
20063 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20064 uppercase for metasyntactic variables.
20066 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20069 * javax/swing/text/AbstractDocument.java:
20070 (insertString): Added more documentation, added argument check.
20071 (remove): Added more documentation.
20072 (removeImpl): Added argument check.
20073 (replace): Added more documentation, added argument check.
20075 2006-05-09 Tom Tromey <tromey@redhat.com>
20077 * tools/.cvsignore: Added appletviewer.
20079 2006-05-09 Tom Tromey <tromey@redhat.com>
20081 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20084 2006-05-09 Tom Tromey <tromey@redhat.com>
20086 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20087 Special case for '-J'. Use space instead of '='.
20088 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20091 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20093 * configure.ac: Add --disable-plugin and --with-vm options. Check
20094 for plugin support headers and libraries.
20095 * native/Makefile.am: Recurse into plugin directory.
20096 * native/plugin/.cvsignore: New file.
20097 * native/plugin/Makefile.am: New file.
20098 * native/plugin/gcjwebplugin.cc: New file.
20099 * tools/Makefile.am: Install appletviewer wrapper script.
20100 * tools/appletviewer.in: Replace VM location heuristic with
20101 VM_BINARY configure substitution.
20103 2006-05-09 Tom Tromey <tromey@redhat.com>
20105 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20106 an initial pass to look for short options. Added 'longOnly' option.
20107 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20109 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20110 options into final group. Added -J.
20111 (add): Insert new groups before final group.
20112 (printHelp): Updated.
20114 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20117 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20118 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20119 Expect -classpath option.
20120 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20121 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20123 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20124 (classLoader): New field. (loadClass, setClassPath):
20127 2006-05-09 Roman Kennke <kennke@aicas.com>
20129 * gnu/java/awt/java2d/RasterGraphics.java
20130 (RasterGraphics): Call init() and super().
20131 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20134 2006-05-09 Gary Benson <gbenson@redhat.com>
20136 * java/lang/Thread.java (Thread): Always perform threadgroup
20137 access checks on thread creation.
20139 2006-05-09 Chris Burdess <dog@gnu.org>
20141 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20142 be preserved during cloneNode.
20144 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20147 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20148 Do not demand all thrown exceptions to be an instance of RemoteException.
20150 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20152 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20153 Use hash-style comments.
20154 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20157 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20159 * javax/swing/JLabel.java
20160 (paramString): Added more attribute details,
20161 * javax/swing/SwingUtilities.java
20162 (convertHorizontalAlignmentCodeToString): New method,
20163 (convertVerticalAlignmentCodeToString): New method.
20165 2006-05-08 Tom Tromey <tromey@redhat.com>
20167 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20168 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20169 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20172 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20174 (run): Use ZipInputStream.
20175 (initSet): New method.
20176 (shouldExtract): Likewise.
20177 (run): Use new methods.
20178 * tools/gnu/classpath/tools/jar/Creator.java
20179 (writeCommandLineEntries): New overload.
20180 (writeFile): Use System.err for verbose.
20181 (writeManifest): New method.
20182 (writtenItems): New field.
20183 (writeFile): Update it.
20184 (writeCommandLineEntries): Return void. Call writeManifest.
20185 (addEntries): Don't add extra '/'.
20186 * NEWS: Mention jar.
20188 2006-05-08 Lillian Angel <langel@redhat.com>
20190 * gnu/java/net/IndexListParser.java: New class.
20191 * java/net/URLClassLoader.java
20192 (JarURLLoader): Fixed code to use new class.
20194 2006-05-08 Roman Kennke <kennke@aicas.com>
20196 * javax/swing/JComboBox.java
20197 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20198 (AccessibleJComboBox.getAccessibleChild): Implemented.
20199 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20200 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20201 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20202 (AccessibleJComboBox.getAccessibleAction): Implemented.
20203 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20204 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20205 (AccessibleJComboBox.doAccessibleAction): Implemented.
20206 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20207 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20208 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20209 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20210 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20212 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20214 * configure.ac: Add support for building appletviewer.
20215 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20217 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20219 * tools/appletviewer.c: New file.
20220 * tools/appletviewer.in: New file.
20221 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20223 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20225 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20226 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20228 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20230 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20232 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20234 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20236 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20237 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20239 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20241 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20243 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20245 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20247 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20249 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20252 2006-05-08 Tom Tromey <tromey@redhat.com>
20254 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20255 * tools/gnu/classpath/tools/jar/Action.java: New file.
20256 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20257 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20258 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20259 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20260 * tools/gnu/classpath/tools/jar/Main.java: New file.
20261 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20262 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20263 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20264 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20265 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20266 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20269 2006-05-08 Lillian Angel <langel@redhat.com>
20271 * java/net/URLClassLoader.java
20272 (JarURLLoader): Added check to make sure the INDEX.LIST file
20275 2006-05-08 Roman Kennke <kennke@aicas.com>
20277 * gnu/java/awt/java2d/AbstractGraphics2D.java
20278 (fill): Removed commented out code.
20279 (fillShape): Also determine the outline of the clip and feed
20280 it into the rendering method. Use new helper method for
20281 converting the shapes into lists of segments.
20282 (getUserBounds): Removed obsolete method.
20283 (rawFillShape): Respect the clip when rendering shapes.
20284 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20285 However, the implementation can't clip still.
20286 (getSegments): New helper method for converting a shape into
20287 a list of segments.
20288 (clipShape): Removed obsolete method.
20289 * gnu/java/awt/java2d/PolyEdge.java
20290 (isClip): New field.
20291 (PolyEdge): Added isField argument to constructor.
20293 2006-05-08 Roman Kennke <kennke@aicas.com>
20296 * javax/swing/JRootPane.java
20297 (createContentPane): Set background of the content pane to null,
20298 so that the content pane inherits its background from the
20301 2006-05-08 Roman Kennke <kennke@aicas.com>
20304 * javax/swing/ButtonGroup.java
20305 (add): Check if new button is selected and if so, deselect other
20306 buttons in the group.
20308 2006-05-08 Lillian Angel <langel@redhat.com>
20311 * java/net/URLClassLoader.java
20312 (JarURLLoader): Added code to go through
20313 META-INF/INDEX.LIST file to load all jars listed.
20315 2006-05-08 Roman Kennke <kennke@aicas.com>
20318 * javax/swing/ImageIcon.java
20319 (ImageIcon(URL)): Set description to URL.toString().
20321 2006-05-08 Roman Kennke <kennke@aicas.com>
20324 * javax/swing/JTable.java
20325 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20326 null when cell value is null.
20328 2006-05-08 Roman Kennke <kennke@aicas.com>
20331 * javax/swing/DefaultDesktopManager.java
20332 (closeFrame): Don't perform default close action on the frame
20333 to prevent endless loop.
20335 2006-05-08 Roman Kennke <kennke@aicas.com>
20338 * javax/swing/table/DefaultTableModel.java
20339 (addExtraRows): New helper method.
20340 (checkSize): New helper method.
20341 (setRowCount): Use addExtraRows helper method.
20342 (addColumn): Use addExtraRows helper method.
20343 (getColumnName): Check and adjust size if necessary using
20346 2006-05-08 Roman Kennke <kennke@aicas.com>
20349 * javax/swing/JTable.java
20350 (setValueAt): Allow setting values even when table is editable.
20352 2006-05-08 Tom Tromey <tromey@redhat.com>
20354 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20355 space to error message.
20357 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20359 * javax/swing/AbstractButton.java: Fixed comment typos.
20361 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20363 PR classpath/27435:
20364 * java/util/zip/DeflaterEngine.java:
20365 (deflateFast(boolean,boolean)): Empty buffer when full.
20367 2006-05-07 Sven de Marothy <sven@physto.se>
20370 * java/util/Calendar.java (setTimeZone): Force recalculation.
20372 2006-05-07 Sven de Marothy <sven@physto.se>
20375 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20376 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20378 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20380 PR classpath/27311:
20381 * gnu/java/text/StringFormatBuffer.java:
20382 (toString()): Implemented so we can see the contents.
20383 * java/text/DecimalFormat.java:
20384 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20385 Don't calculate the exponent when the number is 0 or less.
20386 Also, use log10 instead of log now it's available.
20388 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20390 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20391 Use instance's field creationDate not the constructor's argument.
20392 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20393 Removed unused imports.
20396 (decrypt): Added trace/debug/timing statements.
20397 (encrypt): Likewise.
20398 Use PRNG instead of instantiating every time a new SecureRandom.
20399 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20400 Removed unused imports.
20403 (verify): Added trace/debug/timing statements.
20404 (authenticate): Likewise.
20405 Use PRNG instead of instantiating every time a new SecureRandom.
20407 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20409 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20410 (THREAD_FORMAT): Likewise.
20411 (dateFormat): Added field.
20412 (threadFormat): Added field.
20413 (format): Initialize instance fields if null.
20414 Use StringBuilder instead of StringBuffer.
20416 2006-05-07 Roman Kennke <kennke@aicas.com>
20418 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20420 2006-05-07 Roman Kennke <kennke@aicas.com>
20422 * gnu/java/awt/java2d/AbstractGraphics2D.java
20423 (fillShape): Determine user space bounds of shape and feed them
20424 into the actual rendering pipeline.
20425 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20426 (rawSetForeground): Likewise.
20427 (getDestinationColorModel): Removed.
20428 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20429 (rawFillShape): Handle paint context.
20430 (fillScanline): Implement painting and compositing.
20431 (fillShapeAntialias): Handle paint context.
20432 (fillScanlineAA): Implemented preliminary antialiasing based on
20433 composite context. Not working yet.
20434 (fillScanlineAlpha): Removed.
20435 (init): Fetch destination raster.
20436 (getDestinationRaster): New abstract method.
20437 (updateRaster): New backend method.
20439 2006-05-07 Roman Kennke <kennke@aicas.com>
20441 * gnu/java/awt/java2d/AlphaCompositeContext.java
20442 (compose): Fixed loops, conditions and logic to make compositing
20445 2006-05-07 Roman Kennke <kennke@aicas.com>
20447 * java/awt/ColorPaintContext.java
20448 (ColorPaintContext): Fixed filling of the raster.
20450 2006-05-07 Sven de Marothy <sven@physto.se>
20453 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20454 * java/awt/Component.java (processMouseEvent):
20455 Do lightweight cursor handling.
20456 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20457 (endResizing,mouseMoved): Save and reset original cursor, not the
20460 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20463 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20464 getNodeDimensions): Mind the size of the node icon. (getRowX):
20465 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20466 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20467 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20468 (installDefaults): assign totalChildIndent. (installUI): Call
20469 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20470 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20473 2006-05-06 Sven de Marothy <sven@physto.se>
20476 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20477 Check for zero image sizes.
20479 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20482 * java/util/Calendar.java (clear(int)): Forced internal state
20483 completion before performing a field clearing.
20485 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20487 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20488 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20489 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20490 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20491 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20492 UnmodifiableMapEntry as part of their return value.
20494 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20496 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20497 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20498 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20499 Generate jarsigner and keytool scripts.
20500 * tools/keytool.in: New file (renamed from keytool.sh.in).
20501 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20502 * tools/.cvsignore: Replaced *.sh with *
20503 * configure.ac: Replaced tools/*.sh with tools/*.
20505 2006-05-05 Roman Kennke <kennke@aicas.com>
20507 * java/awt/image/ColorModel.java
20508 (getNormalizedComponents): Implemented.
20510 2006-05-05 Roman Kennke <kennke@aicas.com>
20512 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20513 (paint): Query the button model for it's state, not the
20516 2006-05-05 Roman Kennke <kennke@aicas.com>
20518 * javax/swing/JTable.java
20519 (tableChanged): Sync selection model with table model changes.
20521 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20523 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20524 if there are no visible nodes to paint.
20526 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20528 * javax/swing/JOptionPane.java: API doc updates.
20530 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20532 * javax/swing/JToolBar.java
20533 (paramString): Reimplemented.
20535 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20537 * javax/swing/JScrollBar.java
20538 (paramString): Reimplemented.
20540 2006-05-04 Tom Tromey <tromey@redhat.com>
20542 PR classpath/27375:
20543 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20544 (readEntries): Updated.
20545 (getEntries): Likewise.
20546 (getEntry): Likewise.
20547 (getInputStream): Likewise.
20549 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20551 * gnu/javax/imageio/jpeg/DCT.java,
20552 gnu/javax/imageio/jpeg/HuffmanTable.java,
20553 gnu/javax/imageio/jpeg/JPEGComponent.java,
20554 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20555 gnu/javax/imageio/jpeg/JPEGException.java,
20556 gnu/javax/imageio/jpeg/JPEGFrame.java,
20557 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20558 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20559 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20560 gnu/javax/imageio/jpeg/JPEGMarker.java,
20561 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20562 gnu/javax/imageio/jpeg/JPEGScan.java,
20563 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20564 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20566 2006-05-04 Lillian Angel <langel@redhat.com>
20568 * javax/swing/JLabel.java
20569 (JLabel): Pass in an empty string for the text parameter.
20570 (JLabel): Likewise.
20571 (JLabel): Likewise.
20573 2006-05-04 Roman Kennke <kennke@aicas.com>
20575 * javax/swing/plaf/basic/BasicButtonListener.java
20576 (mouseEntered): Fixed conditions for changing states.
20578 2006-05-04 Roman Kennke <kennke@aicas.com>
20580 * javax/swing/JOptionPane.java
20581 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20583 2006-05-04 Roman Kennke <kennke@aicas.com>
20585 * javax/swing/JLabel.java
20586 (AccessibleJLabel.getSelectedText): Return null instead of "".
20587 (AccessibleJLabel.getSelectionStart): Added comment why
20588 return -1 is correct here.
20589 (AccessibleJLabel.getSelectionEnd): Added comment why
20590 return -1 is correct here.
20591 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20593 (AccessibleJLabel.getCharCount): Added comment about what
20595 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20596 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20597 (paramString): Return super.paramString() here, this provides
20598 a more meaningful output.
20600 2006-05-04 Roman Kennke <kennke@aicas.com>
20602 * javax/swing/JComponent.java
20603 (paint): Added null check to avoid NPE when clip == null.
20605 2006-05-04 Roman Kennke <kennke@aicas.com>
20607 * javax/swing/AbstractButton.java
20608 (addImpl): New method. Installs an OverlayLayout if no
20609 other layout has been installed before.
20610 (setLayout): New method. Detect if a client app installs a custom
20613 2006-05-04 Roman Kennke <kennke@aicas.com>
20615 * javax/swing/table/DefaultTableCellRenderer.java
20616 (noFocusBorder): Fixed width of empty border to 1.
20617 (getTableCellRendererComponent): Don't change the colors for
20618 focuses cells. Fixed border for focused cells.
20620 2006-05-04 Roman Kennke <kennke@aicas.com>
20622 * javax/swing/JTable.java
20623 (moveToCellBeingEdited): Adjust bounding box of editing component
20624 to exactly cover the grid.
20625 * javax/swing/plaf/basic/BasicTableUI.java
20626 (paint): Paint grid to the bottom and right of the cells instead
20627 of left and top. Adjust bounding box of cells accordingly.
20628 * javax/swing/plaf/metal/MetalLookAndFeel.java
20629 (initComponentDefaults): Fixed color of JTable selection border.
20630 * javax/swing/plaf/metal/OceanTheme.java
20631 (addCustomEntriesToTable): Fixed color of JTable selection border.
20633 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20635 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20636 Use _alias instead of alias.
20638 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20641 Set version to 0.92-pre.
20643 Add space for 0.92 entries.
20645 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20647 * include/Makefile.am:
20648 Added rules for gnu.java.net.local.LocalSocketImpl.h
20649 * include/java_lang_VMSystem.h:
20650 Regenerated correctly.
20652 2006-05-03 Sven de Marothy <sven@physto.se>
20655 * java/awt/Image.java:
20656 (getScaledInstance): Default to AreaAveraging for "smooth",
20657 don't thrown an error on illegal flag values.
20658 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20660 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20662 * javax/swing/text/FieldView.java:
20663 (adjustAllocation): Added if-block to return null when shape argument
20665 * javax/swing/text/PlainView.java:
20666 (updateDamage): Added if-block to return early if a is null.
20668 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20670 * javax/swing/plaf/basic/BasicTextUI.java:
20671 (changeUpdate): Added note.
20672 (removeUpdate): Dito.
20673 (insertUpdate): Dito.
20674 (damageRange): Added if-block to return early.
20675 (modelToView): Added check of getVisibleEditorRect's return value.
20676 (getVisibleEditorRect): Return null instead of empty rectangle.
20677 * javax/swing/text/DefaultCaret.java:
20678 (clearHighlight): Removed if-clause to create a highlight entry if it
20679 did not exist before.
20680 * javax/swing/text/WrappedPlainView.java:
20681 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20682 removed 2nd part of if-expression.
20683 (WrappedLine.updateDamage): Added more documentation, added check
20684 whether allocation area rectangle is null.
20686 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20688 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20689 Reset to preferred sizes if the argument is negative.
20691 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20693 * javax/swing/JList.java: Added/updated API docs.
20695 2006-05-03 Lillian Angel <langel@redhat.com>
20697 * javax/swing/JComponent.java
20698 (getRoot): New private function. Gets the root appropriate
20699 for painting. If an applet exists as a parent, then it is returned.
20700 (paintDoubleBuffered): Changed to use new function.
20701 * javax/swing/RepaintManager.java
20702 (getRoot): New private function. Gets the root appropriate
20703 for painting. If an applet exists as a parent, then it is returned.
20704 (getOffscreenBuffer): Changed to use new function.
20705 * javax/swing/SwingUtilties.java
20706 (getRoot): Reverted last patch to return Window, even if
20709 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20711 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20712 a pair of one public keyring and one private keyring.
20713 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20714 (containsCertificate): Added logging.
20715 (getCertificate): Likewise.
20716 (putCertificate): Likewsie.
20719 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20720 (containsPrivateKey): Added logging.
20721 (getPrivateKey): Likewise.
20722 (putPrivateKey): Likewise.
20723 (containsPublicKey): Likewise.
20724 (getPublicKey): Likewise.
20725 (putPublicKey): Likewise.
20726 (containsCertPath): Likewise.
20727 (getCertPath): Likewise.
20728 (putCertPath): Likewise.
20732 2006-05-03 Roman Kennke <kennke@aicas.com>
20734 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20735 * java/awt/AlphaComposite.java
20736 (createContext): Implemented.
20738 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20740 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20741 Set the current color again after drawing the raster.
20743 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20745 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20746 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20748 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20750 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20751 Assign returned value to field handler.
20752 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20755 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20757 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20758 Return without action if there is no view in the viewport.
20759 * javax/swing/text/WrappedPlainView.java
20760 (WrappedLine.getPreferredSpan): If metrics == null, update
20762 * javax/swing/tree/DefaultTreeModel.java (constructors):
20763 Do not call setRoot, assign the root node directly.
20765 2006-05-02 Lillian Angel <langel@redhat.com>
20767 * javax/swing/SwingUtilities.java
20768 (getRoot): Should return the Applet if it exists.
20769 Only return the Window if an Applet has not been
20772 2006-05-02 Lillian Angel <langel@redhat.com>
20774 * gnu/javax/swing/text/html/parser/support/Parser.java
20775 (readAttributes): Reverted Audrius' last patch. There is
20776 a slight difference in code between the NUMTOKEN and SLASH case.
20778 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20780 * javax/swing/text/JTextComponent.java:
20781 (setText): Throw InternalError from catch-block.
20782 * javax/swing/text/GapContent.java:
20783 (removed): Removed if-expression, changed '>' to '>='.
20785 2006-05-02 Roman Kennke <kennke@aicas.com>
20787 * gnu/java/awt/java2d/AbstractGraphics2D.java
20788 (AA_SAMPLING): New constant.
20789 (alpha): New field. Used in the antialiasing renderer.
20790 (edgeTable): New field. Used in the antialiasing renderer.
20791 (AbstractGraphics2D): Initialize rendering hints wrt
20793 (draw): Clip after stroking. Commented out clipping for now,
20794 it seems to be buggy.
20795 (fill): Commented out clipping for now, it seems to be buggy.
20796 (setComposite): Don't create composite context.
20797 (setPaint): Only change paint when parameter is not null.
20798 (translate): Call setClip() so subclasses can update their clip
20800 (clip): Call setClip() so subclasses can update their clip
20802 (drawGlyphVector): Added clipping, but left it commented out
20803 because it's buggy.
20804 (getClipBounds): Returns null when clip is null.
20805 (drawLine): Call rawDrawLine with translation applied.
20806 (filLRect): Call rawFillRect with translation applied.
20807 (fillShape): Added support for anti-aliasing.
20808 (rawSetForeground(int,int,int)): New method.
20809 (rawFillShape): A couple of painting fixes.
20810 (fillScanline): Implemented to call rawDrawLine.
20811 (fillShapeAntialias): New method. Implements an anti-aliasing
20813 (fillScanlineAA): New method. Used for the anti-aliasing
20815 (fillScanlineAlpha): New method. Used for the anti-aliasing
20817 (init): Initialize clip with the device bounds.
20818 (updateOptimization): Fixed the optimization condition.
20820 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20822 * javax/swing/text/GapContent.java:
20823 (GapContent): Restrict size argument by 2.
20824 (insertString): Changed expression from >= to >.
20825 (remove): Changed right side of expression to 'length - 1', changed
20827 (getChars): Throw exception if where below 0.
20828 (replace): Replaced call to setPositionsInRange() with
20829 resetMarksAtZero(), removed note.
20831 2006-05-02 Roman Kennke <kennke@aicas.com>
20834 * javax/swing/MenuSelectionManager.java
20835 (setSelectedPath): Rewritten.
20837 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20839 * gnu/javax/swing/text/html/parser/support/Parser.java
20840 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20843 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20845 * tools/.cvsignore: Added keytool.sh.
20846 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20848 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20850 * doc/tools.texinfo: New file.
20851 * doc/Makefile.am: Generate tools documentation.
20853 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20855 * tools/keytool.sh.in: New file.
20856 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20857 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20858 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20859 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20860 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20861 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20862 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20863 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20864 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20865 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20866 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20867 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20868 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20869 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20870 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20871 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20872 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20873 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20875 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20877 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20878 resemble more closely man-page style text.
20879 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20880 Mark (Eclipse) strings that need not be externalised.
20881 (writeSF): Likewise.
20882 (writeDSA): Likewise.
20883 Use package-private Messages class to provide i18n-ready strings.
20885 Use package-private Messages class to provide i18n-ready strings.
20886 (updateEntry): Likewise.
20887 Mark (Eclipse) strings that need not be externalised.
20888 (finishSigning): Likewise.
20889 * tools/gnu/classpath/tools/jarsigner/Main.java:
20890 Mark (Eclipse) strings that need not be externalised.
20891 (main): Do not use constant strings as class name.
20892 Use package-private Messages class to provide i18n-ready strings.
20893 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20894 (processArgs): Do not use constant strings as class name.
20895 Mark (Eclipse) strings that need not be externalised.
20896 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20897 (start): Do not use constant strings as class name.
20898 (teardown): Likewise.
20900 (setupCommonParams): Do not use constant strings as class name.
20901 Use package-private Messages class to provide i18n-ready strings.
20902 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20903 (installNewProvider): Do not use constant strings as class name.
20905 (setupSigningParams): Do not use constant strings as class name.
20906 Use package-private Messages class to provide i18n-ready strings.
20907 Mark (Eclipse) strings that need not be externalised.
20908 (getCallbackHandler): Use CallbackUtil.
20909 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20910 Use package-private Messages class to provide i18n-ready strings.
20911 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20912 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20913 (verifySF): Likewise.
20914 (verifySFEntries): Do not use constant strings as class name.
20915 Use Boolean.valueOf instead of new Boolean().
20916 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20917 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20919 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20920 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20922 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20924 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20925 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20926 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20928 2006-05-01 Tom Tromey <tromey@redhat.com>
20930 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20932 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20933 (close): Synchronize.
20934 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20935 * java/nio/LongBufferImpl.java (compact): Rewrote.
20936 * java/nio/IntBufferImpl.java (compact): Rewrote.
20937 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20938 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20939 * java/nio/CharBufferImpl.java (compact): Rewrote.
20940 * gnu/java/nio/ChannelWriter.java: New file.
20941 * java/nio/channels/Channels.java (newWriter): Implemented.
20943 2006-05-01 Lillian Angel <langel@redhat.com>
20945 * java/util/SimpleTimeZone.java
20946 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20947 (SimpleTimeZone): Likewise.
20948 (checkRule): Rewritten to properly check all values (more efficently).
20949 This code is now more stable, at least less buggy than before. Fixed
20951 (setStartRule): Moved checkRule call to end.
20952 (setStartRule): Likewise.
20953 (setEndRule): Likewise.
20954 (setEndRule): Likewise.
20956 2006-05-01 Tom Tromey <tromey@redhat.com>
20958 * lib/.cvsignore: Added classes.2.
20960 2006-05-01 Tom Tromey <tromey@redhat.com>
20962 * java/util/jar/JarFile.java (provider): Now package-private.
20963 * java/lang/Enum.java (compareTo): Javadoc fix.
20964 * java/lang/Boolean.java (compareTo): Javadoc fix.
20966 2006-05-01 Lillian Angel <langel@redhat.com>
20968 * gnu/javax/swing/text/html/parser/support/Parser.java
20969 (readAttributes): Formatted function. Added handling for
20970 SLASH token. The value of an attribute may start with a slash
20971 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20972 We should not be skipping over these type of attributes.
20974 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20976 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20977 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20978 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20979 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20980 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20981 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20982 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20983 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20984 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20985 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20986 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20987 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20988 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20989 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20990 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20991 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20992 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20993 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20994 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20995 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20996 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20997 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20998 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20999 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21000 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21001 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21002 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21003 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21004 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21005 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21006 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21007 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21008 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21009 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21010 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21011 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21012 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21013 * include/gnu_java_awt_peer_qt_QMatrix.h,
21014 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21015 * include/gnu_java_awt_peer_qt_QPen.h,
21016 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21017 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21018 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21019 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21020 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21021 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21022 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21023 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21024 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21025 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21026 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21027 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21028 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21029 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21030 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21031 * include/gnu_java_awt_peer_qt_QtImage.h,
21032 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21033 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21034 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21035 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21036 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21037 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21038 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21039 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21040 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21041 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21042 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21043 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21044 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21045 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21046 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21047 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21048 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21049 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21050 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21051 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21052 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21053 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21054 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21055 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21056 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21057 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21058 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21059 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21060 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21061 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21062 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21063 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21064 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21065 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21066 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21067 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21068 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21069 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21070 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21071 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21072 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21073 * include/java_lang_VMProcess.h:
21075 * native/jni/java-lang/java_lang_VMProcess.c:
21076 Redirect when pipe_count is 2 not 3.
21078 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21080 * gnu/java/awt/font/FontDelegate.java,
21081 * gnu/java/awt/font/FontFactory.java,
21082 * gnu/java/awt/font/GNUGlyphVector.java,
21083 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21084 * gnu/java/awt/font/opentype/GlyphNamer.java,
21085 * gnu/java/awt/font/opentype/MacResourceFork.java,
21086 * gnu/java/awt/font/opentype/NameDecoder.java,
21087 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21088 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21089 * gnu/java/awt/font/opentype/Scaler.java,
21090 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21091 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21092 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21093 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21094 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21095 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21096 * gnu/java/awt/font/opentype/truetype/Zone.java,
21097 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21098 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21099 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21100 New files. Imported font framework from:
21101 http://www.brawer.ch/software/fonts/
21103 2006-04-30 Roman Kennke <kennke@aicas.com>
21105 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21106 (lastTabInRun): Fix calculation of the last tab in a run. This
21107 has caused painting problems sometimes, making the
21108 last tab painted incorrectly.
21110 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21113 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21114 Use for and not while to prevent the endless loop.
21116 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21118 * javax/swing/JList.java
21119 (paramString): Changed from public to protected.
21121 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21123 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21124 (printHelpAndExit): Re-factored to use the above method.
21126 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21128 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21129 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21130 * tools/gnu/classpath/tools/jarsigner/Main.java:
21131 Changed license to GPL + Exception.
21132 (handler): New field.
21133 (getCallbackHandler): New method.
21134 (setupSigningParams): Use above method.
21135 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21136 Changed license to GPL + Exception.
21137 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21138 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21139 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21140 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21142 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21144 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21145 (handleConfirmation): Use print instead of println.
21146 (handleConfirmation): When case is YES_NO_OPTION, print default option
21148 (handleLanguage): Use print instead of println.
21150 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21152 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21153 (putComponent): Handle O and OU components.
21154 (getDer): Use correct (it2) iterator.
21155 (readAttributeValue): Read next character and break if end-of-stream.
21157 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21159 * gnu/java/security/provider/Gnu.java (run):
21160 Add "RSA" as an alias to MD5withRSA.
21161 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21162 Always encode a NULL as the value of an algorithm parameters field.
21163 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21164 (encodePrivateKey): Added trace/log statements.
21165 (decodePrivateKey): Likewise.
21166 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21167 (setup): Added trace/log statements.
21168 (generate): Likewise.
21169 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21170 (toString): New method.
21171 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21173 (toString): New method.
21174 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21175 (getEncoded): Use defaultFormat.
21176 (toString): New method.
21177 * gnu/java/security/key/dss/DSSKey.java (toString):
21178 Include defaultFormat in string.
21179 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21180 Break if successfully decoded public key.
21181 (engineGeneratePrivate): Break if successfully decoded private key.
21183 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21185 * java/security/Security.java <clinit>: Add our Callback provider.
21186 * resource/java/security/classpath.security: Likewise
21188 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21191 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21192 Decide about scroll bars from the preferred view size, not
21194 * javax/swing/ViewportLayout.java (layoutContainer):
21195 Do not change returned preferred size. Do not treat JScrollPane
21198 2006-04-28 Sven de Marothy <sven@physto.se>
21200 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21201 * javax/swing/ProgressMonitor.java (actionPerformed):
21202 Avoid divide-by-zero.
21204 2006-04-28 Sven de Marothy <sven@physto.se>
21206 * javax/swing/JSpinner.java: Fix default text justification.
21207 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21209 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21211 * javax/swing/JList.java
21212 (getMinSelectionIndex): Return correct value, added API docs,
21213 (getMaxSelectionIndex): Added API docs.
21215 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21217 * javax/swing/JList.java
21218 (JList(Object[])): Pass new model directly to init(),
21219 (JList(Vector)): Likewise,
21220 (JList(ListModel)): Renamed argument and updated API docs,
21221 (init): Throw IllegalArgumentException for null argument,
21222 (setListData(Object[])): Delegate model creation,
21223 (setListData(Vector)): Likewise,
21224 (createListModel(Object[])): New private method,
21225 (createListModel(Vector)): New private method,
21226 (paramString): Implemented.
21228 2006-04-28 Tom Tromey <tromey@redhat.com>
21230 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21232 (isSynthetic): Likewise.
21233 (isAnnotation): Likewise.
21234 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21235 (isAnnotation): Likewise.
21236 (isEnum): Likewise.
21238 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21240 * javax/swing/text/View.java:
21241 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21244 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21246 * javax/swing/text/View.java:
21247 (getNextVisualPositionFrom): Rewritten.
21248 * javax/swing/text/CompositeView.java:
21249 (getNextEastWestVisualPositionFrom): Partly implemented.
21250 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21252 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21254 * javax/swing/JList.java
21255 (setFixedCellHeight): Use correct property name for event.
21257 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21259 * javax/swing/text/Utilities.java:
21260 (getNextWord): Use codePointAt instead of charAt, added note, changed
21261 if-expression, added throwing of exception.
21262 (getPreviousWord): Use codePointAt instead of charAt.
21264 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21266 * java/lang/StringBuilder.java
21267 (ensureCapacity, getChars, append(StringBuffer),
21268 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21269 insert(int,String), insert(int,char), trimToSize): Replaced
21270 System.arraycopy calls with VMSystem.arraycopy.
21272 2006-04-27 Tom Tromey <tromey@redhat.com>
21274 * java/awt/image/renderable/RenderableImageProducer.java
21275 (requestTopDownLeftRightResend): Implemented.
21277 (startProduction): Add new consumer.
21279 2006-04-27 Sven de Marothy <sven@physto.se>
21281 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21283 2006-04-27 Roman Kennke <kennke@aicas.com>
21285 * java/awt/LightweightDispatcher.java
21286 Dispatch events only to targets that have a mouselistener
21287 attached. Changed to also handle null targets.
21289 2006-04-27 Roman Kennke <kennke@aicas.com>
21291 * NEWS: Added entries about accessibility support and L&F
21292 window decorations.
21294 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21296 * javax/swing/text/Utilities.java:
21297 (getTabbedTextOffset): Introduced width variable, rewritten the check
21298 which ends the loop.
21299 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21302 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21304 * examples/gnu/classpath/examples/swing/TreeDemo.java
21305 (createContent): Added root visibility and selection listener demos.
21306 * javax/swing/JTree.java (setRootVisible): If false, unselect
21307 the root node, if it is selected.
21308 * javax/swing/plaf/basic/BasicTreeUI.java
21309 (TreeTraverseAction.actionPerformed): Do not select the root if it
21311 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21312 removeSelectionPaths): Reset lead to null if the current lead path is
21313 removed from selection.
21314 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21315 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21316 Return the same path regardless is root visible or not. (update):
21317 Reduce the identation if the root is not visible.
21318 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21319 Return the same path regardless is root visible or not. (update):
21320 Reduce the identation if the root is not visible.
21322 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21324 * javax/swing/plaf/basic/BasicTreeUI.java
21325 (TreeAction.actionPerformed):Newly obtain the current lead
21326 path that must stay visible.
21327 (TreeTraverseAction.actionPerformed):Rewritten.
21328 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21329 Do not treat root specially. (setModel): Assume the root node
21330 initially expanded.
21331 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21332 Do not treat root specially. (setModel): Assume the root node
21333 initially expanded.
21335 2006-04-26 Chris Burdess <dog@gnu.org>
21338 * javax/xml/datatype/DatatypeFactory.java: Use complete
21339 implementation resolution mechanism.
21341 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21343 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21345 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21346 Removed NoImplementException form the implemented method.
21348 2006-04-26 Tom Tromey <tromey@redhat.com>
21350 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21353 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21355 * javax/swing/DefaultListSelectionModel.java
21356 (clone): Initialise empty listener list,
21357 (setSelectionMode): Throw IllegalArgumentException for bad input.
21359 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21361 * javax/swing/DefaultListSelectionModel.java
21362 (clearSelection): Clear the Bitset.
21364 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21366 * javax/swing/JTree.java (setLeadSelectionPath):
21367 Repaint the new and old lead pathes.
21368 * javax/swing/plaf/basic/BasicTreeUI.java
21369 (FocusHandler): Repaint the lead row when focus changes.
21370 (PropertyChangeHandler): Use existing constants, not the
21371 string literals for the property names.
21372 (TreeIncrementAction): Shrink the selection when moving
21373 from the selection edge to the selection anchor.
21374 (TreeSelectionHandler.valueChanged): Repaint the
21375 new and old lead pathes.
21376 (paintRow): Treat row as focused only if it is the lead row.
21377 * javax/swing/tree/DefaultTreeCellRenderer.java
21378 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21379 (paint): Rewritten.
21380 * javax/swing/tree/DefaultTreeSelectionModel.java
21381 (addSelectionPath): Event construction fix (old and new lead were
21383 (addSelectionPaths): Likewise.
21384 * javax/swing/JComponent.java (setOpaque): Explained.
21385 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21387 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21390 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21392 * examples/gnu/classpath/examples/swing/TreeDemo.java
21393 (createContent): Call DefaultTreeModel.reload(), not the
21394 tree.repaint(). Expand the parent of the added node.
21395 * javax/swing/JTree.java (constructor): Do not call
21396 UpdateUI (and documented why). (treeDidChange):
21397 Added comment, excluding the misinterpretation of this method.
21398 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21399 focusListener, keyListener, mouseListener, propertyListener,
21400 selectionModelPropertyChangeListener, treeModelListener,
21401 treeSelectionListener): Made package private.
21402 (PropertyChangeHandler): If the model changes, install the
21403 listener on it. (installUI): Assign treeModel.
21404 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21405 comment, excluding misinterpretation.
21406 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21407 (reload(TreeNode)): Implemented.
21409 2006-04-25 Tom Tromey <tromey@redhat.com>
21411 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21412 * javax/swing/tree/VariableHeightLayoutCache.java
21413 (getVisiblePathsFrom): Genericized.
21414 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21417 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21419 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21420 If clicked on the other row, cancel the current editing session.
21422 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21424 * javax/swing/plaf/basic/BasicTreeUI.java
21425 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21426 (paintExpandControl): Always paint in one gap distance from the left
21427 border of the path bounds.
21428 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21429 into consideration.
21430 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21433 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21435 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21437 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21439 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21440 Allow slashes (/) in the unquoted parameter value.
21442 2006-04-25 Roman Kennke <kennke@aicas.com>
21444 * gnu/java/awt/java2d/AbstractGraphics2D.java
21445 (drawString(String,int,int)): Implemented.
21446 (drawString(String,float,float)): Implemented.
21447 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21448 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21449 (getFontRenderContext): Implemented.
21450 (drawGlyphVector): Implemented.
21451 (getFont): Implemented.
21452 (setFont): Don't change font setting when null.
21453 (getFontMetrics): Implemented.
21454 (fillShape): Re-written to fill call rawFillShape() with a list
21455 of the edges instead of double arrays.
21456 (rawFillShape): Implemented using a polygon scanline conversion.
21457 (fillScanline): New helper method.
21458 (init): Initialize foreground black. Set font.
21459 * gnu/java/awt/java2d/PolyEdge.java: New file.
21460 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21462 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21464 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21466 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21468 * javax/swing/JTable.java: Fixed API doc tags,
21469 * javax/swing/text/AsyncBoxView.java: Likewise,
21470 * javax/swing/text/FlowView.java: Likewise.
21472 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21474 * javax/swing/table/DefaultTableColumnModel.java
21475 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21477 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21479 * javax/swing/table/DefaultTableColumnModel.java
21480 (DefaultTableColumnModel): Set selection model field and add 'this' as
21482 (addColumn): Add 'this' as a PropertyChangeListener,
21483 (removeColumn): Remove column before firing event, and remove 'this' as
21484 a PropertyChangeListener,
21485 (setSelectionModel): Remove 'this' as a listener from old model,
21486 (propertyChange): Check for 'width' property rather than
21487 TableColumn.COLUMN_WIDTH_PROPERTY.
21489 2006-04-24 Chris Burdess <dog@gnu.org>
21492 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21493 attributes when no doctype exists.
21495 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21497 * javax/swing/event/ChangeEvent.java: Updated API docs,
21498 * javax/swing/event/ChangeListener.java: Likewise,
21499 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21500 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21501 * javax/swing/table/TableColumnModel.java: Likewise.
21503 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21505 * javax/swing/text/Utilities.java:
21506 (getBreakLocation): Introduced shift variable, added notes.
21507 * javax/swing/text/WrappedPlainView.java:
21508 (calculateBreakPosition): Decrease allocation area bounds by insets,
21509 added early return when allocation area is empty, provide start offset
21511 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21512 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21513 numLines after loop.
21514 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21515 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21516 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21517 decreasing variable end by one, changed break condition in while-loop,
21518 added check for return value.
21519 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21520 allocation area is empty.
21522 2006-04-24 Sven de Marothy <sven@physto.se>
21524 * gnu/java/awt/java2d/Segment.java: New file.
21525 * gnu/java/awt/java2d/CubicSegment.java: New file.
21526 * gnu/java/awt/java2d/QuadSegment.java: New file.
21527 * gnu/java/awt/java2d/LineSegment.java: New file.
21528 * java/awt/BasicStroke.java
21529 (start): New field.
21531 (createStrokedShape): Implemented.
21532 (solidStroke): New method.
21533 (dashedStroke): New method.
21534 (capEnds): New method.
21535 (convertPath): New method.
21536 (addSegments): New method.
21537 (capEnd): New method.
21538 (lineIntersection): New method.
21539 (joinSegments): New method.
21541 2006-04-24 Roman Kennke <kennke@aicas.com>
21543 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21546 (clip): Changed clip to be in user space not in target space.
21547 (isOptimized): Added flag to allow optimized drawing for
21548 primitive operations (e.g. for Swing).
21549 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21550 with the paint context etc.
21551 (draw): Clip the shape before drawing it.
21552 (fill): Clip the shape before drawing it.
21553 (setComposite): Update isOptimized flag.
21554 (setPaint): Likewise.
21555 (setStroke): Likewise.
21556 (translate): Update the clip.
21557 (rotate): Likewise.
21560 (transform): Likewise.
21561 (setTransform): Likewise.
21562 (clip): Added optimization for rectangle clips.
21563 (create): Implemented.
21564 (clone): New method.
21565 (setFont): Basic implementation.
21566 (setClip): Update opimization flag.
21567 (drawLine): Added possible optimization.
21568 (fillRect): Added possible optimization.
21569 (fillShape): Implemented shape-filling by filling the flattended
21570 shape using polygon fill.
21571 (drawPixel): Added basic painting.
21572 (rawSetPixel): Changed signature to only take coordinates.
21573 (rawSetForeground): New abstract method.
21574 (getUserBounds): Implemented default for this method.
21575 (rawDrawLine): New method.
21576 (rawFillRect): New method.
21577 (rawFillPolygon): New method.
21578 (init): New method.
21579 (updateOptimization): New method.
21580 (computeIntersection): New method.
21581 (updateClip): New method.
21582 (clipShape): New method.
21584 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21586 * java/lang/Package.java: Added compatibility constructor to ease
21587 VM interface migration.
21589 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21591 * java/lang/Class.java (getEnumConstants): Implemented without
21592 delegating to VMClass.
21593 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21595 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21597 * java/lang/ClassLoader.java (definePackage): Added argument to
21598 Package constructor.
21599 * java/lang/Package.java (Package): Added ClassLoader argument.
21600 (loader): New field.
21601 (getDeclaredAnnotations): Implemented without help from VMPackage.
21602 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21603 to Package constructor.
21604 * vm/reference/java/lang/VMPackage.java: Removed.
21606 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21608 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21609 (createContent): Added check box to swith between single and
21610 multiple selection.
21611 * javax/swing/JTree.java (leadSelectionPath): Removed.
21612 (addSelectionInterval): Explained. (getLeadSelectionPath):
21613 Request the path from model. (getPathsBetweenRows): Explained.
21614 (setLeadSelectionPath): Set the path in model.
21615 * javax/swing/plaf/basic/BasicTreeUI.java
21616 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21617 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21618 (MouseHandler.mousePressed): Call selectPathForEvent.
21620 2006-04-23 Roman Kennke <kennke@aicas.com>
21622 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21624 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21627 Mention changes to VMProcess and VMSystem.
21628 * doc/vmintegration.texinfo:
21629 Change documentation on VMProcess and VMSystem.
21630 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21631 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21632 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21633 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21634 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21635 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21636 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21637 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21638 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21639 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21640 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21641 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21642 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21643 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21644 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21645 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21646 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21647 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21648 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21649 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21650 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21651 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21652 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21653 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21654 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21655 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21656 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21657 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21658 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21659 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21660 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21661 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21662 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21663 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21664 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21665 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21666 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21667 * include/gnu_java_awt_peer_qt_QMatrix.h,
21668 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21669 * include/gnu_java_awt_peer_qt_QPen.h,
21670 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21671 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21672 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21673 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21674 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21675 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21676 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21677 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21678 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21679 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21680 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21681 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21682 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21683 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21684 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21685 * include/gnu_java_awt_peer_qt_QtImage.h,
21686 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21687 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21688 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21689 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21690 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21691 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21692 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21693 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21694 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21695 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21696 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21697 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21698 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21699 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21700 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21701 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21702 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21703 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21704 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21705 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21706 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21707 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21708 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21709 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21710 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21711 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21712 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21713 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21714 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21715 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21716 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21717 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21718 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21719 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21720 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21721 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21722 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21723 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21724 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21725 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21726 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21727 * include/java_lang_VMProcess.h,
21728 * include/java_lang_VMSystem.h:
21729 Regenerated with GCJ 4.1.
21731 2006-04-22 Casey Marshall <csm@gnu.org>
21733 Fixes PR classpath/27228.
21734 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21735 (initialize): also accept `DHParameterSpec.'
21736 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21737 handle a passed-in `DHParameterSpec' properly.
21738 (generate): don't check if the random exponent is less than `q -
21739 1' if no `q' was specified.
21741 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21743 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21744 Only repaint the patches, speficied in the passed event.
21745 (expandPath): Do nothing if the path is already expanded.
21746 (scrollPathToVisible): Only scroll to visible, do nothing else.
21747 * javax/swing/plaf/basic/BasicTreeUI.java
21748 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21749 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21750 (TreeTraverseAction.actionPerformed): Collapse the node on the
21751 action "selectParent". (selectPath): Rewritten.
21752 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21753 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21754 Do not reuse selection array.
21755 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21757 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21760 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21762 * javax/swing/tree/DefaultTreeSelectionModel.java
21763 (addSelectionPath): If the path cannot be added, set it.
21764 (addSelectionPaths): Call insureRowContinuity.
21765 (arePathsContiguous): Implemented.
21766 (canPathBeAdded): New private method.
21767 (canPathsBeAdded): Implemented.
21768 (canPathsBeRemoved): Implemented.
21769 (getPath): New private method.
21770 (insureRowContinuity): Implemented.
21771 (removeSelectionPath): Call insureRowContinuity.
21772 (removeSelectionPaths): Call insureRowContinuity.
21773 (resetRowSelection): Removed stub marking, not used in implementation
21774 (nothing to do there).
21775 (selectOne): New private method.
21776 (setSelectionMode) Call insureRowContinuity.
21777 (setSelectionPaths) Remove the current selection by clearing it.
21779 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21781 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21782 parameters consistendly, documented some methods.
21783 * java/sql/Blob.java: Likewise.
21784 * java/sql/CallableStatement.java: Likewise.
21785 * java/sql/Clob.java: Likewise.
21786 * java/sql/Connection.java: Likewise.
21787 * java/sql/DatabaseMetaData.java: Likewise.
21788 * java/sql/Date.java: Likewise.
21789 * java/sql/Driver.java: Likewise.
21790 * java/sql/PreparedStatement.java: Likewise.
21791 * java/sql/ResultSet.java: Likewise.
21792 * java/sql/ResultSetMetaData.java: Likewise.
21793 * java/sql/SQLData.java: Likewise.
21794 * java/sql/SQLOutput.java: Likewise.
21795 * java/sql/SQLWarning.java: Likewise.
21796 * java/sql/Statement.java: Likewise.
21797 * java/sql/Time.java: Likewise.
21798 * java/sql/Timestamp.java: Likewise.
21800 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21802 * java/lang/reflect/AccessibleObject.java:
21803 Implemented AnnotatedElement.
21804 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21805 isAnnotationPresent): New methods.
21807 2006-04-21 Tom Tromey <tromey@redhat.com>
21809 PR classpath/27163:
21810 * gnu/java/net/protocol/ftp/FTPConnection.java
21811 (changeWorkingDirectory): Do nothing if path is empty.
21813 2006-04-21 Tom Tromey <tromey@redhat.com>
21816 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21817 case where no '/' appears in 'location'.
21819 2006-04-21 Tom Tromey <tromey@redhat.com>
21821 * java/security/Security.java (<clinit>): Add all default providers.
21822 * resource/java/security/classpath.security: Added comment.
21824 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21826 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21827 * javax/swing/SpinnerNumberModel.java: Likewise.
21829 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21831 * javax/swing/SpinnerDateModel.java
21832 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21833 checking to call compareTo() on start and end.
21835 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21837 * javax/swing/border/AbstractBorder.java: API doc updates,
21838 * javax/swing/border/BevelBorder.java: Likewise,
21839 * javax/swing/border/CompoundBorder.java: Likewise,
21840 * javax/swing/border/EtchedBorder.java: Likewise,
21841 * javax/swing/border/LineBorder.java: Likewise,
21842 * javax/swing/border/MatteBorder.java: Likewise,
21843 * javax/swing/border/TitledBorder.java: Likewise.
21845 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21847 * gnu/javax/crypto/cipher/Anubis.java:
21848 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21850 * gnu/javax/crypto/cipher/Blowfish.java:
21851 (selfTest): Likewise,
21852 * gnu/javax/crypto/cipher/Cast5.java:
21853 (selfTest): Likewise,
21854 * gnu/javax/crypto/cipher/Khazad.java:
21855 (selfTest): Likewise,
21856 * gnu/javax/crypto/cipher/Rijndael.java:
21857 (selfTest): Likewise,
21858 * gnu/javax/crypto/cipher/Serpent.java:
21859 (selfTest): Likewise,
21860 * gnu/javax/crypto/cipher/Square.java:
21861 (selfTest): Likewise,
21862 * gnu/javax/crypto/cipher/Twofish.java:
21863 (selfTest): Likewise,
21864 * gnu/javax/crypto/mac/UMac32.java:
21865 (selfTest): Likewise,
21866 * gnu/javax/crypto/prng/CSPRNG.java:
21867 (getSystemInstance): Likewise.
21869 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21871 * gnu/java/security/hash/Haval.java:
21872 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21874 * gnu/java/security/hash/MD2.java:
21875 (selfTest): Likewise,
21876 * gnu/java/security/hash/MD4.java:
21877 (selfTest): Likewise,
21878 * gnu/java/security/hash/MD5.java:
21879 (selfTest): Likewise,
21880 * gnu/java/security/hash/RipeMD128.java:
21881 (selfTest): Likewise,
21882 * gnu/java/security/hash/RipeMD160.java:
21883 (selfTest): Likewise,
21884 * gnu/java/security/hash/Sha160.java:
21885 (selfTest): Likewise,
21886 * gnu/java/security/hash/Sha256.java:
21887 (selfTest): Likewise,
21888 * gnu/java/security/hash/Sha384.java:
21889 (selfTest): Likewise,
21890 * gnu/java/security/hash/Sha512.java:
21891 (selfTest): Likewise,
21892 * gnu/java/security/hash/Tiger.java:
21893 (selfTest): Likewise,
21894 * gnu/java/security/hash/Whirlpool.java:
21895 (selfTest): Likewise.
21897 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21899 * javax/swing/plaf/basic/BasicTreeUI.java
21900 (PropertyChangeHandler.propertyChange): Set the row mapper
21901 for the selection model.
21902 * javax/swing/tree/AbstractLayoutCache.java
21903 (NodeDimensions.getNodeDimensions): Explained.
21904 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21905 Implemented. (setRowHeight): Invalidate sizes.
21906 * javax/swing/tree/DefaultTreeSelectionModel.java
21907 (addSelectionPath, addSelectionPaths): Update lead row.
21908 (removeSelectionPath, removeSelectionPaths): Do nothing if
21909 selection is empty.
21910 (clone): Only clone list selection model if it is not null.
21911 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21912 setSelectionPath, setSelectionPaths, toString): Implemented.
21913 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21914 Pass the empty rectangle. (isFixedRowHeight): New method.
21915 * javax/swing/tree/VariableHeightLayoutCache.java
21916 (NodeRecord.getBounds): Pass the empty rectangle.
21918 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21920 * gnu/java/security/Properties.java
21921 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21923 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21925 * gnu/classpath/jdwp/util/Value.java
21926 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21927 creating new Boolean instances.
21929 2006-04-20 Mark Wielaard <mark@klomp.org>
21931 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21932 PrivilegedAction. Access awt.toolkit through SystemProperties.
21934 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21936 * javax/swing/ActionMap.java: Removed unused imports,
21937 * javax/swing/DefaultListSelectionModel.java
21938 (clearSelection): Removed unused label,
21939 * javax/swing/JScrollPane.java: Removed unused imports,
21940 * javax/swing/UIManager.java: Likewise,
21941 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21943 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21945 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21946 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21947 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21948 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21949 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21951 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21953 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21954 * java/sql/Blob.java: Likewise,
21955 * java/sql/CallableStatement.java: Likewise,
21956 * java/sql/Clob.java: Likewise,
21957 * java/sql/Connection.java: Likewise,
21958 * java/sql/DatabaseMetaData.java: Likewise,
21959 * java/sql/Date.java: Likewise,
21960 * java/sql/Driver.java: Likewise,
21961 * java/sql/PreparedStatement.java: Likewise,
21962 * java/sql/ResultSet.java: Likewise,
21963 * java/sql/ResultSetMetaData.java: Likewise,
21964 * java/sql/SQLData.java: Likewise,
21965 * java/sql/SQLOutput.java: Likewise,
21966 * java/sql/SQLWarning.java: Likewise,
21967 * java/sql/Statement.java: Likewise,
21968 * java/sql/Time.java: Likewise,
21969 * java/sql/Timestamp.java: Likewise.
21971 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21973 * java/sql/DriverManager.java
21974 (setLoginTimeout): Use incoming argument,
21975 (setLogStream): Likewise,
21976 (println): Fix API doc comment.
21978 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21980 * javax/swing/JMenuItem.java
21981 (paramString): Updated API docs,
21982 (getAccessibleContext): Added API docs,
21983 (AccessibleJMenuItem.stateChanged): Marked as stub,
21984 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21985 * javax/swing/JSlider.java
21986 (paramString): Fix for API docs,
21987 * javax/swing/JToolTip.java
21988 (getAccessibleContext): Fix for API docs.
21990 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21992 * javax/swing/JRadioButtonMenuItem.java
21993 (paramString): Reimplemented,
21994 (getAccessibleContext): API docs added,
21995 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21997 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21999 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22001 * javax/swing/plaf/basic/BasicTreeUI.java
22002 (finish): Invalidate path bounds.
22003 (getMaxHeight): Set the row height to the layout cache.
22004 (startEditing): Do not request to recalculated
22005 row height and preferred size.
22006 * javax/swing/tree/DefaultTreeCellEditor.java
22007 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22009 * javax/swing/tree/FixedHeightLayoutCache.java:
22012 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22014 * javax/swing/JDesktopPane.java
22015 (paramString): Reimplemented,
22016 plus API doc updates in AccessibleJDesktopPane.
22018 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22020 * javax/swing/ImageIcon.java:
22021 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22022 (AccessibleImageIcon.getLocale): Declared exception and always return
22024 (getAccessibleContext): Updated API docs,
22025 plus updated API docs all over AccessibleImageIcon.
22027 2006-04-20 Roman Kennke <kennke@aicas.com>
22030 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22031 (paintText): Fetch the ascent only once. Add the ascent to
22032 the text rect also when tabs are disabled.
22034 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22036 * java/util/Locale.java (defaultLocale): Set to en_US per
22037 default and use user.country but prioritize user.region if
22039 (getLocale(String language, String country)): Renamed region to
22041 (getLocale(String language, String region, String variant)):
22043 (getAvailableLocales): Likewise.
22045 2006-04-20 Roman Kennke <kennke@aicas.com>
22048 * javax/swing/JList.java
22049 (JList()): Call init() with DefaultListModel instance.
22050 (JList(Object[])): Call init() with null.
22051 (JList(Vector)): Call init() with null.
22052 (JList(ListModel)): Call init() with model.
22053 (init): Changed to take the model as argument. Don't call
22054 setter methods and initialize stuff directly instead.
22055 (getCellBounds): Check if UI is null.
22057 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22059 * javax/swing/text/WrappedPlainView.java: Initialize
22060 WrappedLine.numLines with -1.
22061 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22062 numLines is -1 and reculcalate the value appropriately.
22063 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22064 allocation area is empty.
22066 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22068 * javax/swing/JTabbedPane.java
22069 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22070 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22071 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22072 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22073 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22074 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22075 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22076 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22077 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22078 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22079 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22080 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22081 (Page.getAccessibleStateSet): Likewise,
22082 (Page.getAccessibleIndexInParent): Likewise.
22084 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22086 * javax/swing/JProgressBar.java
22087 (paramString): Reimplemented.
22089 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22091 * javax/swing/JButton.java: Updated API docs all over.
22093 2006-04-19 Roman Kennke <kennke@aicas.com>
22095 * java/awt/Toolkit.java
22096 (getDefaultToolkit): Use system classloader to load the
22099 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22101 * javax/swing/text/DefaultCaret.java:
22102 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22103 instead of DefaultCaret.setDot.
22105 2006-04-19 Roman Kennke <kennke@aicas.com>
22107 * native/jni/java-net/local.c
22108 (local_read): Handle EINTR correctly.
22109 (local_write): Likewise.
22111 2006-04-19 Riccardo Mottola <multix@gmail.com>
22113 PR classpath/27062, PR classpath/25650:
22114 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22116 2006-04-19 Tom Tromey <tromey@redhat.com>
22118 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22119 value of 'pureMinutes'. PR classpath/27189.
22121 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22123 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22124 boot packages list from the META-INF/INDEX.LIST file if it exists.
22126 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22128 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22129 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22130 (ITERATION_COUNT): Removed modifiers.
22131 (PASSWORD): Likewise.
22133 (PASSWORD_ENCODING): New property.
22134 (DEFAULT_PASSWORD_ENCODING): New constant.
22135 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22136 material (bytes) before a password (chars).
22138 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22140 * javax/swing/JMenu.java
22141 (getAccessibleChildrenCount): Marked as stub,
22142 (getAccessibleChild): Likewise,
22143 (getAccessibleSelection): Likewise,
22144 (getAccessibleSelection(int)): Likewise,
22145 (isAccessibleChildSelected): Likewise,
22146 (getAccessibleSelectionCount): Likewise,
22147 (addAccessibleSelection): Likewise,
22148 (removeAccessibleSelection): Likewise,
22149 (clearAccessibleSelection): Likewise,
22150 (selectAllAccessibleSelection): Likewise.
22152 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22154 * javax/swing/JSplitPane.java
22155 (getAccessibleContext): Added API docs,
22156 (paramString): Reimplemented,
22157 (setOrientation): Updated API docs,
22158 (setResizeWeight): Added argument checking and event notification.
22160 2006-04-18 Casey Marshall <csm@gnu.org>
22162 Fixes PR classpath/25673
22163 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22164 property is set. Update JavaDoc to reflect this.
22166 2006-04-18 Lillian Angel <langel@redhat.com>
22168 * gnu/xml/dom/DomDocument.java
22169 (setCheckingCharacters): New function used to set
22170 checkingCharacters flag.
22171 * gnu/xml/dom/html2/DomHTMLParser.java
22172 (parseDocument): Added call to set checkingCharacters flag
22175 2006-04-18 Lillian Angel <langel@redhat.com>
22177 * gnu/xml/dom/DomDocument.java
22178 (checkNCName): Reverted last patch. Added check for colon at
22179 last position back in.
22181 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22183 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22185 * examples/gnu/classpath/examples/swing/Demo.java:
22186 (mkMenuBar): Added NavigationFilter demo.
22188 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22190 * javax/swing/JSeparator.java: Updated API docs all over, plus
22191 (setOrientation): Fire PropertyChangeEvent,
22192 (paramString): Reimplemented.
22194 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22196 * javax/swing/plaf/basic/BasicTextUI.java:
22197 (getNextVisualPositionFrom): Implemented.
22199 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22201 * javax/swing/JPanel.java: Updated API docs all over, plus
22202 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22203 double-buffer flag.
22205 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22207 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22209 * examples/gnu/classpath/examples/swing/Demo.java:
22210 (mkMenuBar): Added DocumenFilter demo.
22212 2006-04-18 Tom Tromey <tromey@redhat.com>
22214 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22216 2006-04-18 Mark Wielaard <mark@klomp.org>
22218 Reported by John Sullivan (johns@fsf.org)
22219 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22221 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22223 * javax/swing/JInternalFrame.java
22224 (JDesktopIcon.getAccessibleContext): Added API docs,
22225 (getDefaultCloseOperation): Likewise,
22226 (paramString): Added 'title' attribute,
22227 (setDefaultCloseOperation): Added API docs.
22229 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22231 * javax/swing/JSlider.java
22232 (paramString): Reimplemented.
22234 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22236 * javax/swing/JComboBox.java
22237 (paramString): Reimplemented,
22238 (getAccessibleContext): Added API docs,
22239 (AccessibleJComboBox.getAccessibleRole): Likewise.
22241 2006-04-18 Roman Kennke <kennke@aicas.com>
22243 * javax/swing/RepaintManager.java
22244 (dirtyComponentsWork): New field.
22245 (ComponentComparator): Use dirtyComponentsWork instead of
22247 (RepaintManager): Initialize new field.
22248 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22249 and work on the copy.
22251 2006-04-18 Roman Kennke <kennke@aicas.com>
22253 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22254 (setBounds): Call reshape().
22255 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22256 (SwingContainerPeer): Changed argument to be a Component
22257 instead a Container.
22258 (getInsets): Call insets().
22259 (handleMouseEvent): Added null check to avoid NPE.
22260 (handleMouseMotionEvent): Added null check to avoid NPE.
22262 2006-04-18 Roman Kennke <kennke@aicas.com>
22265 * javax/swing/JComponent.java
22266 (paintChildrenWithOverlap): When one child is not opaque, propagate
22267 the dirty rectangles to the next child.
22268 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22269 This actually didn't work right and probably gained nothing.
22271 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22273 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22274 (moveToCellBeingEdited): Do not clone the rectangle here.
22276 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22278 * javax/swing/plaf/basic/BasicSliderUI.java
22279 (getActionMap): Fixed lookup key,
22280 (createActionMap): Modified actions to fetch slider/ui from the event
22283 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22285 * java/lang/Enum.java: Documented.
22287 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22289 * gnu/java/lang/InstrumentationImpl.java:
22290 Moved from java.lang.
22291 * java/lang/InstrumentationImpl.java:
22293 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22294 Moved from java.lang.
22295 * vm/reference/java/lang/VMClassLoader.java:
22296 Corrected reference to InstrumentationImpl.
22297 * vm/reference/java/lang/VMInstrumentationImpl.java:
22300 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22302 * java/lang/annotation/Annotation.java:
22305 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22307 * javax/swing/JToolBar.java
22308 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22309 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22310 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22311 (getAccessibleContext): Likewise.
22313 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22316 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22318 * native/fdlibm/Makefile.am,
22319 native/jni/classpath/Makefile.am:
22320 Don't use -module and -version-info for convenience libraries LDFLAGS.
22321 Fixes libtool warnings.
22323 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22325 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22326 (installKeyboardActions): Marked as stub,
22327 (uninstallKeyboardActions): Likewise,
22328 * javax/swing/plaf/basic/BasicComboPopup.java:
22329 (installKeyboardActions): Marked as stub,
22330 (uninstallKeyboardActions): Likewise,
22331 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22332 (installKeyboardActions): Marked as stub,
22333 (uninstallKeyboardActions): Likewise,
22334 * javax/swing/plaf/basic/BasicLabelUI.java:
22335 (installKeyboardActions): Marked as stub,
22336 (uninstallKeyboardActions): Likewise,
22337 * javax/swing/plaf/basic/BasicListUI.java:
22338 (installKeyboardActions): Marked as stub,
22339 (uninstallKeyboardActions): Likewise,
22340 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22341 (installKeyboardActions): Marked as stub,
22342 (uninstallKeyboardActions): Likewise,
22343 * javax/swing/plaf/basic/BasicMenuUI.java:
22344 (installKeyboardActions): Marked as stub,
22345 (uninstallKeyboardActions): Likewise,
22346 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22347 (installKeyboardActions): Marked as stub,
22348 (uninstallKeyboardActions): Likewise,
22349 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22350 (installKeyboardActions): Marked as stub,
22351 (uninstallKeyboardActions): Likewise,
22352 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22353 (installKeyboardActions): Marked as stub,
22354 (uninstallKeyboardActions): Likewise,
22355 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22356 (installKeyboardActions): Marked as stub,
22357 (uninstallKeyboardActions): Likewise,
22358 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22359 (installKeyboardActions): Marked as stub,
22360 (uninstallKeyboardActions): Likewise,
22361 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22362 (installKeyboardActions): Marked as stub,
22363 (uninstallKeyboardActions): Likewise,
22364 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22365 (installKeyboardActions): Marked as stub,
22366 (uninstallKeyboardActions): Likewise,
22367 * javax/swing/plaf/basic/BasicTableUI.java:
22368 (installKeyboardActions): Marked as stub,
22369 (uninstallKeyboardActions): Likewise,
22370 * javax/swing/plaf/basic/BasicTextUI.java:
22371 (installKeyboardActions): Marked as stub,
22372 (uninstallKeyboardActions): Likewise,
22373 * javax/swing/plaf/basic/BasicToolBarUI.java:
22374 (installKeyboardActions): Marked as stub,
22375 (uninstallKeyboardActions): Likewise.
22377 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22379 * javax/swing/plaf/basic/BasicSliderUI.java
22380 (installKeyboardActions): Implemented,
22381 (uninstallKeyboardActions): Implemented,
22382 (scrollByBlock): Accept any value for direction,
22383 (scrollByUnit): Likewise,
22384 (getInputMap): New method,
22385 (getActionMap): New method,
22386 (createActionMap): New method.
22389 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22391 * doc/vmintegration.texinfo:
22394 2006-04-16 Tom Tromey <tromey@redhat.com>
22396 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22398 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22401 Mention generics additions to the VM interface.
22402 * doc/vmintegration.texinfo:
22403 Added information on VMClass 1.5 additions and
22406 2006-04-16 Casey Marshall <csm@gnu.org>
22408 * NEWS: add an entry mentioning local socket support.
22410 2006-04-16 Casey Marshall <csm@gnu.org>
22412 * configure.ac (--enable-local-sockets): new enable argument.
22413 (ENABLE_LOCAL_SOCKETS): new define.
22414 * native/jni/java-net/Makefile.am (local_sources): new variable.
22415 (lib_javanet_la_SOURCES): append `local_sources.'
22416 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22417 * native/jni/java-net/local.c,
22418 * native/jni/java-net/local.h,
22419 * include/gnu_java_net_local_LocalSocketImpl.h,
22420 * gnu/java/net/local/LocalServerSocket.java,
22421 * gnu/java/net/local/LocalSocket.java,
22422 * gnu/java/net/local/LocalSocketAddress.java,
22423 * gnu/java/net/local/LocalSocketImpl.java: new files.
22425 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22427 * javax/accessibility/AccessibleAction.java:
22428 (DECREMENT): Added field.
22429 (INCREMENT): Likewise.
22430 (TOGGLE_EXPAND): Likewise.
22431 * javax/accessibility/AccessibleRole.java:
22432 (EDITBAR): Added field.
22433 (FOOTER): Likewise.
22434 (HEADER): Likewise.
22435 (PARAGRAPH): Likewise.
22436 (PROGRESS_MONITOR): Likewise.
22438 * javax/accessibility/AccessibleState.java:
22439 (INDETERMINATE): Added field.
22440 (MANAGES_DESCENDANTS): Likewise.
22441 (TRUNCATED): Likewise.
22443 2006-04-14 Tom Tromey <tromey@redhat.com>
22445 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22447 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22450 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22452 * javax/swing/text/DefaultCaret.java:
22453 (getBypass): New method.
22454 (moveDot): Rewritten.
22455 (moveDotImpl): New method.
22456 (setDot): Rewritten.
22457 (setDotImpl): New method.
22458 (DefaultCaret.Bypass): New class.
22460 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22462 * javax/swing/text/AbstractDocument.java:
22463 (getBypass): New method.
22464 (insertString): Rewritten.
22465 (remove): Rewritten.
22466 (replace): Rewritten.
22467 (insertStringImpl): New method.
22468 (removeImpl): New method.
22469 (replaceImpl): New method.
22470 (AbstractDocument.Bypass): New class.
22472 2006-04-14 Casey Marshall <csm@gnu.org>
22474 Fixes PR classpath/24642
22475 * NEWS: add note about SecureRandom changes, and addition of
22477 * java/security/SecureRandom.java (isSeeded): new field.
22478 (setSeed, setSeed): set `isSeeded' to `true.'
22479 (nextBytes): seed this instance if `isSeeded' is false.
22480 (getSeed): call `generateSeed.'
22481 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22482 (generateSeed, generateSeed): new methods.
22483 * vm/reference/java/security/VMSecureRandom.java: new file.
22485 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22487 * javax/swing/text/FieldView.java:
22488 (paint): Apply clipping rectangle of the allocation area
22489 before painting the text.
22490 * javax/swing/text/DefaultHighlighter.java:
22491 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22492 compute union and intersection, calculate intersection with allocation
22493 area before painting, adjust x and width when painting multiple lines
22494 by the range of the allocation area.
22496 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22498 * javax/swing/text/DefaultHighlighter.java:
22499 (paintLayeredHighlights): Marked as stub.
22501 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22503 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22504 (propertyChanged): Added note, change color only if current background
22505 is a ColorUIResource instance.
22507 2006-04-14 Tom Tromey <tromey@redhat.com>
22509 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22513 2006-04-14 Tom Tromey <tromey@redhat.com>
22515 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22517 2006-04-14 Mark Wielaard <mark@klomp.org>
22519 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22520 thread group when exceptionHandler isn't set.
22521 * vm/reference/java/lang/VMThread.java (run): Use result of
22522 thread.getUncaughtExceptionHandler directly.
22524 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22526 * javax/swing/JSplitPane.java
22527 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22528 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22529 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22530 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22531 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22532 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22533 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22535 2006-04-10 Tom Tromey <tromey@redhat.com>
22537 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22538 Fixed parameter bounds.
22540 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22542 * gnu/javax/crypto/assembly/Assembly.java,
22543 * gnu/javax/crypto/assembly/Cascade.java,
22544 * gnu/javax/crypto/assembly/CascadeStage.java,
22545 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22546 * gnu/javax/crypto/assembly/Direction.java,
22547 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22548 * gnu/javax/crypto/assembly/ModeStage.java,
22549 * gnu/javax/crypto/assembly/Operation.java,
22550 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22551 * gnu/javax/crypto/assembly/Stage.java,
22552 * gnu/javax/crypto/assembly/Transformer.java,
22553 * gnu/javax/crypto/cipher/Square.java,
22554 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22555 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22556 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22557 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22558 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22559 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22560 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22561 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22562 * gnu/javax/crypto/jce/cipher/PBES2.java,
22563 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22564 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22565 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22566 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22567 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22568 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22569 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22570 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22571 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22572 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22573 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22574 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22575 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22576 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22577 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22578 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22579 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22580 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22581 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22582 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22583 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22584 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22585 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22586 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22587 * gnu/javax/crypto/pad/WrongPaddingException.java,
22588 * gnu/javax/crypto/prng/ICMGenerator.java,
22589 * gnu/javax/crypto/prng/IPBE.java,
22590 * gnu/javax/crypto/prng/PBKDF2.java,
22591 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22592 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22593 * gnu/javax/crypto/sasl/srp/IALG.java,
22594 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22595 Remove CVS revision tags.
22597 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22599 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22600 Removed debugging code.
22602 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22604 * javax/swing/JTree.java (getPreferredSize): Return the
22606 * javax/swing/ViewportLayout.java (layoutContainer):
22607 Do not manage the view size and location if the view is
22608 in the scroll pane. Also manage size and location for
22609 Scrollable, if it is not in the scroll pane.
22610 * javax/swing/plaf/basic/BasicTreeUI.java,
22611 * javax/swing/tree/FixedHeightLayoutCache.java,
22612 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22613 * gnu/javax/swing/tree/GnuPath.java: New file.
22615 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22617 * javax/swing/JToolBar.java
22618 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22620 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22622 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22623 (createCustomColoredPanel): Set background color as demo intends,
22624 changed custom selection color to red.
22625 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22626 Replaced various single variables with a Compound instance, added
22627 custom highlighter demo.
22628 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22630 (TextFieldDemo.Compound): New class.
22631 (createTextFieldCompound): New method.
22632 (createLeftAlignedPanel): Rewritten.
22633 (createRightAlignedPanel): Rewritten.
22634 (createCenteredPanel): Rewritten.
22635 (createCustomColoredPanel): Removed.
22636 (createCustomColoredPanel1): New method.
22637 (createCustomColoredPanel2): New method.
22638 (createCustomBordersPanel): New method.
22639 (createMiscPanel): Rewritten.
22640 (actionPerformed): Rewritten.
22641 (createContent): Add panels of new compounds to main panel, put
22642 main panel in a JScrollPane.
22643 * examples/gnu/classpath/examples/swing/Demo.java:
22644 (Demo): Put desktop in a scrollpane.
22645 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22646 method via reflection.
22648 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22650 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22651 (createUI): Return new instance rather than shared instance.
22653 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22655 * javax/swing/text/FieldView.java:
22656 (checkContainer): Call updateVisibility() at the end.
22658 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22660 * java/awt/event/MouseEvent.java:
22661 (paramString): Add value of 'consumed' variable in string.
22663 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22666 * javax/swing/JTextField.java: Removed scrollOffset variable.
22667 (JTextField): Moved up initialization of horizontalVisibility field.
22668 (getScrollOffset): Implemented.
22669 (setScrollOffset): Implemented.
22670 (getHorizonztalVisibility): Removed note.
22671 (scrollRectToVisible): New method.
22672 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22673 (checkContainer): New method.
22674 (updateVisibility): New method.
22675 (calculateHorizontalSpan): New method.
22676 (adjustAllocation): Removed unneeded local variables, added code
22677 to handle scrolling.
22678 (getPreferredSpan): Use new method calculateHorizontalSpan,
22679 avoid calculation by returning cached value cachedSpan.
22680 (paint): Added check whether the hosted component is a JTextField.
22681 (insertUpdate): Invalidate cached span value, update visibility
22683 (removeUpdate): Dito.
22684 (changeUpdate): Dito.
22686 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22688 * javax/swing/JInternalFrame.java
22689 (setTitle): Set old value to 'this.title', not 'title'.
22691 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22693 * javax/swing/JInternalFrame.java
22694 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22695 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22696 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22697 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22698 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22699 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22700 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22701 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22702 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22703 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22705 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22707 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22709 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22711 (JInternalFrame()): Use "" for default title,
22712 (getAccessibleContext): Updated API docs,
22713 (getDesktopIcon): Likewise,
22714 (getLayer): Check for layer in client properties, and return
22715 DEFAULT_LAYER if no setting is found,
22716 (getTitle): Updated API docs,
22717 (setDesktopIcon): Fire property change event.
22719 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22721 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22722 Mind that the presence of one scroll bar may cause the
22725 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22727 * gnu/regexp/REToken.java(unicodeAware): New field,
22728 (toLowerCase, toUpperCase): New methods.
22729 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22730 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22731 Use toLowerCase and toUpperCase defined in REToken instead of
22732 those defined in java.lang.Character.
22733 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22734 (initialize): Sets unicodeAware of the generated REToken to false if
22735 REG_ICASE_USASCII is set.
22736 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22737 to lower case and keep the original value.
22738 (matchOneString): Use the new method charEquals to compare characters.
22739 (charEquals): New method to compare characters.
22740 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22742 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22744 * javax/swing/event/InternalFrameEvent.java:
22745 (paramString): Implemented,
22746 updated API docs all over.
22748 2006-04-12 Casey Marshall <csm@gnu.org>
22750 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22751 (Generator.setup): call `fillBlock.'
22753 2006-04-12 Casey Marshall <csm@gnu.org>
22755 Fixes PR classpath/24481.
22756 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22757 initialize the adaptee.
22758 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22759 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22760 addRandomBytes): new methods.
22762 2006-04-12 Tom Tromey <tromey@redhat.com>
22764 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22767 2006-04-12 Lillian Angel <langel@redhat.com>
22769 * gnu/xml/dom/DomDocument.java
22770 (checkNCName): Removed unneeded part of check.
22771 * gnu/xml/dom/DomNode.java
22772 (dispatchEvent): Added code to grow ancestors array
22773 if needed. Changed checks to use depth of node instead.
22774 Fixes an infinite loop and segmentation fault.
22775 * gnu/xml/dom/html2/DomHTMLParser.java
22776 (handleEndTag): No need to use/make a copy of the node.
22777 Causes an infinite loop.
22779 2006-04-12 Tom Tromey <tromey@redhat.com>
22781 PR classpath/27131:
22782 * java/util/BitSet.java (get): Early return if to==from.
22784 2006-04-12 Mark Wielaard <mark@klomp.org>
22786 * java/security/SecureRandom.java (algorithm): New private field.
22787 (SecureRandom): Initialize algorithm.
22788 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22790 (getInstance): Call 3 argument constructor.
22791 (getAlgorithm): New method.
22793 2006-04-12 Mark Wielaard <mark@klomp.org>
22795 Port UncaughtExceptionHandler support from generics branch.
22796 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22798 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22800 * java/lang/Thread.java:
22801 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22802 Added docs and security check.
22803 (getUncaughtExceptionHandler()): Documented.
22804 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22805 Added docs and security check.
22806 (getDefaultUncaughtExceptionHandler()): Documented.
22807 (getId()): Documented.
22809 2006-04-12 Tom Tromey <tromey@redhat.com>
22811 * vm/reference/java/lang/VMThread.java (run): Use thread's
22813 * java/lang/Thread.java (defaultHandler): New field.
22814 (setDefaultUncaughtExceptionHandler,
22815 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22816 getUncaughtExceptionHandler): New methods.
22817 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22818 UncaughtExceptionHandler.
22819 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22821 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22823 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22824 buffer. Loop only once to determine Utf8 length when possible. Make
22825 the inner loop bounded by buf.length.
22826 (getUTFlength): New private method.
22827 (buf): New private field.
22829 2006-04-11 Lillian Angel <langel@redhat.com>
22831 * gnu/xml/dom/DomNodeIterator.java
22832 (nextNode): Moved line of code to avoid an infinite loop.
22833 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22834 (getCls): New function.
22835 (setCls): Likewise.
22836 (getSrc): Likewise.
22837 (setSrc): Likewise.
22838 * gnu/xml/dom/html2/DomHTMLDocument.java:
22839 Added DomHTMLEmbedElement to map.
22840 (getApplets): Added node name, 'embed'.
22841 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22843 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22844 (getJavaCode): New function.
22845 (setJavaCode): Likewise.
22846 (getObject): Likewise.
22847 (setObject): Likewise.
22848 (getJavaObject): Likewise.
22849 (setJavaObject): Likewise.
22850 (getJavaArchive): Likewise.
22851 (setJavaArchive): Likewise.
22852 (getJavaCodeBase): Likewise.
22853 (setJavaCodeBase): Likewise.
22854 (getJavaType): Likewise.
22855 (setJavaType): Likewise.
22856 (setMayscript): Likewise.
22857 (getMayscript): Likewise.
22858 (setScriptable): Likewise.
22859 (getScriptable): Likewise.
22860 * gnu/xml/dom/html2/DomHTMLParser.java
22861 (parseDocument): Should not check for well formedness
22862 when parsing an html document.
22863 * java/awt/Window.java
22864 (dispatchEvent): Added check to avoid NPE.
22866 2006-04-10 Tom Tromey <tromey@redhat.com>
22868 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22870 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22871 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22873 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22875 * javax/swing/plaf/basic/BasicTextUI.java:
22876 (getNextVisualPositionFrom): Marked as stub.
22878 2006-04-10 Roman Kennke <kennke@aicas.com>
22880 * javax/swing/plaf/basic/BasicLookAndFeel.java
22881 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22882 and create the defaults as strings constants.
22883 (loadSystemColors): Implemented stubbed method.
22885 2006-04-10 Tom Tromey <tromey@redhat.com>
22887 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22890 2006-04-10 Tom Tromey <tromey@redhat.com>
22892 * java/io/CharArrayWriter.java (append): Javadoc fix.
22893 (append): Likewise.
22895 2006-04-10 Tom Tromey <tromey@redhat.com>
22897 * javax/accessibility/AccessibleTextSequence.java: New file.
22898 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22900 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22901 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22902 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22903 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22904 * javax/accessibility/AccessibleExtendedText.java: New file.
22905 * javax/accessibility/AccessibleContext.java
22906 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22907 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22908 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22909 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22910 * javax/accessibility/AccessibleStreamable.java: New file.
22911 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22914 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22916 * javax/swing/tree/AbstractLayoutCache.java
22917 (getNodeDimensions, getRowsForPath): Implemented.
22918 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22919 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22921 2006-04-10 Roman Kennke <kennke@aicas.com>
22923 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22925 2006-04-10 Roman Kennke <kennke@aicas.com>
22927 * javax/swing/JInternalFrame.java
22928 (AccessibleJInternalFrame): Marked all stubbed methods as such
22929 by adding throws NotImplementedException.
22931 2006-04-10 Roman Kennke <kennke@aicas.com>
22933 * javax/swing/JFileChooser.java
22934 (getAccessibleContext): Don't create a new instance on each
22935 call, instead store the accessible context in the
22936 accessibleContext field.
22938 2006-04-10 Roman Kennke <kennke@aicas.com>
22940 * javax/swing/JComboBox.java
22941 (AccessibleJComboBox): Marked all stubbed methods as such
22942 by adding throws NotImplementedException.
22944 2006-04-10 Roman Kennke <kennke@aicas.com>
22946 * javax/swing/ActionMap.java
22947 (readObject): Removed.
22948 (writeObject): Removed.
22950 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22952 * javax/swing/tree/DefaultTreeSelectionModel.java
22953 (addSelectionPaths, setSelectionPaths): Call
22954 insureUniqueness. (clone, setRowMapper): Implemented.
22955 * TreePath (path): Marked final.
22957 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22959 * javax/swing/tree/DefaultTreeSelectionModel.java:
22960 Documented and autoformatted. (insureUniqueness):
22961 Removed stub marking.
22963 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22965 * javax/swing/SizeSequence.java
22966 (sizes): Don't initialise here,
22967 (SizeSequence(int, int)): Initialise sizes field,
22968 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22969 (setSize): Do nothing when index is out of bounds,
22970 (getIndex): Implemented,
22971 (setSizes): Reimplemented,
22972 (getSizes): Likewise,
22973 (insertEntries): Likewise,
22974 (removeEntries): Likewise,
22975 plus added API docs all over.
22977 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22979 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22980 one way message and retry after any IOException.
22982 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22984 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22985 Set the byte order.
22987 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22989 * org/omg/PortableServer/ServantLocatorPOA.java:
22990 (preinvoke, postinvoke): Remove default implementation.
22991 * org/omg/PortableServer/ServantActivatorPOA.java:
22992 (incarnate, etherealize): Remove default implementation.
22993 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22994 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22995 (make_object): Moved method from ObjectReferenceFactoryOperations.
22996 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22997 Removed unspecified interface.
22998 * org/omg/DynamicAny/_DynAnyStub.java:
22999 (_DynAnyStub(Delegate)): Removed constructor.
23000 * org/omg/DynamicAny/_DynArrayStub.java,
23001 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23002 * org/omg/DynamicAny/_DynEnumStub.java,
23003 * org/omg/DynamicAny/_DynFixedStub.java,
23004 * org/omg/DynamicAny/_DynSequenceStub.java,
23005 * org/omg/DynamicAny/_DynStructStub.java,
23006 * org/omg/DynamicAny/_DynUnionStub.java,
23007 * org/omg/DynamicAny/_DynValueStub.java:
23008 Extend from ObjectImpl and not from _DynAnyStub.
23009 (type, next, destroy, copy, rewind, assign, component_count,
23010 current_component, equal, from_any, get_any, get_boolean, get_char,
23011 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
23012 get_reference, get_short, get_string, get_typecode, get_ulong,
23013 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23014 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23015 insert_long, insert_longlong, insert_octet, insert_reference,
23016 insert_short, insert_string, insert_typecode, insert_ulong,
23017 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
23018 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
23019 * org/omg/CosNaming/_BindingIteratorStub.java:
23020 (_BindingIteratorStub(Delegate)): Made package private.
23021 * org/omg/CosNaming/_NamingContextExtStub.java:
23022 (_NamingContextExtStub(Delegate)): Made package private.
23023 * org/omg/CosNaming/_NamingContextStub.java:
23024 (_NamingContextStub(Delegate)): Made package private.
23025 (throw4, throw5): Likewise.
23026 * gnu/CORBA/NamingService/NameParser.java (resolve):
23027 Adapt to package private constructor. Use _set_delegate instead.
23028 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23029 * org/omg/CORBA/ORB.java:
23030 (create_recursive_sequence_tc): Made abstract.
23031 (get_default_context): Likewise.
23032 * gnu/CORBA/OrbRestricted.java:
23033 (create_recursive_sequence_tc): New moved method.
23034 (get_default_context): Likewise.
23035 * org/omg/CORBA/ParameterMode.java:
23036 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23038 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23040 * gnu/CORBA/GIOP/MessageHeader.java (write):
23041 More informative exception.
23042 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23043 * gnu/CORBA/SocketRepository.java (get_socket):
23044 Removed debugging code.
23046 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23048 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23049 one way message, but ignore if EOF was received.
23050 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23051 Minor.EOF if the end of file is received instead of the header.
23053 2006-04-09 Roman Kennke <kennke@aicas.com>
23055 * javax/swing/plaf/metal/MetalRootPaneUI.java
23056 (MetalTitlePane.IconifyAction): New inner class.
23057 (MetalTitlePane.MaximizeAction): New inner class.
23058 (MetalTitlePane.createActions): Create iconifyAction and
23060 (MetalRootLayout.titlePane): New field.
23061 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23063 (MetalRootLayout.preferredLayoutSize): Changed to not make
23064 assumptions about the actual component order.
23065 (MetalRootLayout.layoutContainer): Changed to not make
23066 assumptions about the actual component order.
23067 (installWindowDecorations): Pass the titlePane as parameter to
23068 the MetalRootLayout constructor.
23069 (uninstallWindowDecorations): Changed to not make
23070 assumptions about the actual component order.
23072 2006-04-08 Roman Kennke <kennke@aicas.com>
23074 * javax/swing/plaf/metal/MetalRootPaneUI.java
23075 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23077 (MetalTitlePane.installListeners): Don't register a focus listener
23078 on the window. This is a potential memory leak and must be
23079 implemented on a different way. Install mouse listener here.
23080 (installWindowDecorations): Fixed assertion condition. Always
23081 insert the window decoration at index#1 in the layered
23084 2006-04-08 Roman Kennke <kennke@aicas.com>
23086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23087 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23088 Only resize window if actual width or height value changes.
23089 Avoids nasty flicker when only setLocation() is beeing called
23092 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23094 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23095 exception if the magic sequence does not match.
23097 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23099 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23100 response for the one way messages.
23102 2006-04-08 Roman Kennke <kennke@aicas.com>
23104 * javax/swing/MenuSelectionManager.java
23105 (processKeyEvent): Implemented stub method.
23106 * javax/swing/JMenu.java
23107 (processKeyEvent): Implemented stub method.
23108 * javax/swing/JMenu.java
23109 (processKeyEvent): Implemented stub method.
23110 (processMenuKeyEvent): Implemented stub method.
23112 2006-04-08 Roman Kennke <kennke@aicas.com>
23114 * javax/swing/AbstractAction.java
23115 (readObject): Removed unneeded method.
23116 (writeObject): Removed unneeded method.
23118 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23120 * javax/swing/plaf/synth/SynthPainter.java:
23121 (paintSplitPaneDividerBorder): Removed.
23123 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23125 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23126 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23127 No longer constants.
23128 (static_initializer): Added to initialize above fields.
23129 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23130 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23131 (static_initializer): Added to initialize above fields.
23133 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23135 * java/awt/Dialog.java: Improved documentation all over.
23136 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23137 (Dialog(Dialog)): Likewise.
23139 2006-04-08 Mark Wielaard <mark@klomp.org>
23141 * java/util/jar/JarFile.java (provider): New static field.
23142 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23145 2006-04-08 Mark Wielaard <mark@klomp.org>
23148 * java/lang/StackTraceElement.java (toString): Don't add space
23149 between type and source indicator.
23151 2006-04-07 Casey Marshall <csm@gnu.org>
23153 Fixes PR classpath/24464
23154 * java/util/jar/JarFile.java (verify, verifyHashes,
23155 EntryInputStream.<init>): pass the Gnu provider directly to
23158 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23161 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23162 (DIGEST0): Use version 3 test vector.
23164 (S_box): New field: Version 3 S-box values.
23165 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23166 (transform): Formating.
23167 (padBuffer): Likewise.
23168 (getResult): Likewise.
23169 (selfTest): Likewise.
23171 2006-04-07 Tom Tromey <tromey@redhat.com>
23173 * java/util/InvalidPropertiesFormatException.java
23174 (serialVersionUID): New field.
23175 (readObject, writeObject): New methods.
23176 * java/util/Arrays.java (toString): Javadoc fixes.
23177 * java/net/URLConnection.java: Cleaned up imports.
23178 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23179 * java/lang/reflect/MalformedParameterizedTypeException.java
23180 (serialVersionUID): New field.
23181 * java/lang/reflect/GenericSignatureFormatError.java
23182 (serialVersionUID): New field.
23183 * java/lang/Class.java (Class): Javado fixes.
23184 (getComponentType): Likewise.
23185 (getGenericInterfaces): Likewise.
23186 (getTypeParameters): Likewise.
23187 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23188 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23190 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23192 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23195 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23197 * java/awt/Dialog.java
23198 (AccessibleAWTDialog): Added api docs
23199 (AccessibleAWTDialog.getAccessibleStateSet):
23200 Renamed from getAccessibleState.
23201 * java/awt/Frame.java
23202 (AccessibleAWTFrame): Added api docs
23203 (AccessibleAWTFrame.getAccessibleStateSet):
23204 Renamed from getAccessibleState.
23206 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23208 * java/awt/Dialog.java: Reformatted.
23210 2006-04-07 Lillian Angel <langel@redhat.com>
23212 * java/awt/Component.java
23213 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23214 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23216 2006-04-07 Tom Tromey <tromey@redhat.com>
23218 * java/beans/beancontext/BeanContextMembershipEvent.java
23219 (serialVersionUID): New field.
23220 * java/beans/beancontext/BeanContextServicesSupport.java
23221 (addBeanContextServicesListener): Synchronize.
23222 (addService): Implemented.
23223 (createBCSChild): Implemented.
23224 (BCSSChild): Added arguments.
23225 (fireServiceAdded): Implemented.
23226 (fireServiceRevoked): Implemented.
23227 (getCurrentServiceSelectors): Implemented.
23228 (hasService): Implemented.
23229 (removeBeanContextServicesListener): Implemented.
23230 (serviceAvailable): Implemented.
23231 (serviceRevoked): Implemented.
23232 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23234 (createBCSChild): Implemented.
23235 (BeanContextSupport):
23236 (addBeanContextMembershipListener): Synchronize.
23237 (fireChildrenAdded): Implemented.
23238 (fireChildrenRemoved): Implemented.
23239 (BeanContextSupport): Use default locale.
23240 (isEmpty): Implemented.
23241 (isDesignTime): Implemented.
23242 (size): Implemented.
23243 (toArray): Synchronized.
23244 (toArray): Likewise.
23245 (iterator): Likewise.
23246 (BCSIterator): Implemented.
23247 (bcsChildren): Implemented.
23248 (validatePendingAdd): Implemented.
23249 (validatePendingRemove): Likewise.
23250 (childJustAddedHook): Implemented.
23251 (childJustRemovedHook): Likewise.
23252 (classEquals): Likewise.
23253 (toArray): Mark as stub.
23254 (setDesignTime): Implemented.
23255 (copyChildren): Implemented.
23256 (containsKey): Implemented.
23257 (contains): Likewise.
23258 (containsAll): Likewise.
23259 (getResource): Implemented.
23260 (getResourceAsStream): Likewise.
23261 (removeBeanContextMembershipListener): Likewise.
23262 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23263 (serialVersionUID): New field.
23264 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23265 (serialVersionUID): New field.
23266 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23269 2006-04-06 Roman Kennke <kennke@aicas.com>
23272 * javax/swing/MenuSelectionManager.java
23273 (setSelectedPath): Search one more item in the loop.
23275 2006-04-06 Tom Tromey <tromey@redhat.com>
23277 * java/awt/image/renderable/RenderableImageProducer.java
23278 (image, context, consumers): New fields.
23279 (RenderableImageProducer): Implemented.
23280 (setRenderContext): Likewise.
23281 (addConsumer): Likewise.
23282 (isConsumer): Likewise.
23283 (removeConsumer): Likewise.
23284 (startProduction): Likewise.
23286 2006-04-06 Roman Kennke <kennke@aicas.com>
23288 * java/awt/Component.java
23289 (AccessibleAWTComponent.getBounds): Return the component
23290 bounds regardless of its showing state.
23291 (AccessibleAWTComponent.getLocation): Return the component
23292 location regardless of its showing state.
23293 (AccessibleAWTComponent.getSize): Return the component
23294 size regardless of its showing state.
23296 2006-04-06 Roman Kennke <kennke@aicas.com>
23298 * javax/swing/JRootPane.java
23299 (getAccessibleContext): New method. Provides an accessibleContext
23302 2006-04-06 Roman Kennke <kennke@aicas.com>
23304 * java/awt/Toolkit.java
23305 (initAccessibility): Use the 'gnu.classpath.home.url' property
23306 to determine the system confiuration directory.
23307 * java/awt/Component.java
23308 (dispatchEvent): Trigger Toolkit dispatching here.
23309 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23310 so it can't be overridden by subclasses and is performed in
23313 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23315 * javax/naming/Binding.java: Added API docs.
23316 * javax/naming/NameClassPair.java: Added API docs.
23317 (fullName): New field.
23318 (setNameInNamespace): New 1.5 method.
23319 (getNameInNamespace): Likewise.
23321 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23323 * javax/naming/CompositeName.java:
23324 (readObject): New deserialization method.
23325 (writeObject): New serialization method.
23327 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23329 * javax/security/auth/x500/X500Principal.java
23330 (readAttributeValue) Check for separator after quoted value was
23331 failing in all cases.
23333 2006-04-06 Mark Wielaard <mark@klomp.org>
23335 * java/lang/Class.java (getClassLoader): Don't do security check
23336 when loader is null.
23338 2006-04-06 Roman Kennke <kennke@aicas.com>
23340 * java/awt/Toolkit.java
23341 (getDefaultToolkit): Initialize accessibility after setting
23343 (initAccessibility): New helper method to setup accessibility.
23345 2006-04-06 Roman Kennke <kennke@aicas.com>
23347 * javax/swing/AbstractButton.java
23348 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23349 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23351 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23352 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23353 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23354 (AccessibleAbstractButton.getCharCount): Implemented stub.
23355 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23356 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23357 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23358 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23359 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23360 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23363 2006-04-06 Roman Kennke <kennke@aicas.com>
23365 * java/awt/Component.java
23366 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23367 state here. This is only done in JComponent.
23368 * javax/swing/JComponent.java
23369 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23371 (getNextFocusableComponent): Implemented stub method.
23372 (grabFocus): Implemented stub method.
23373 (unregisterKeyboardAction): Implemented stub method.
23374 (setNextFocusableComponent): Implemented stub method.
23375 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23376 This is a helper class for providing compatibility with the older
23379 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23382 * javax/naming/directory/BasicAttribute.java,
23383 * javax/naming/directory/BasicAttributes.java:
23384 (readObject): New deserialization method.
23385 (writeObject): New serialization method.
23387 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23389 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23390 (getErrorHandler): Made method abstract.
23391 (setErrorHanlder): Likewise.
23392 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23393 (getErrorHandler): Implement abstract method from superclass.
23394 (setErrorHandler): Likewise.
23395 (errorHandler): New field.
23396 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23397 (getErrorHandler): Implement abstract method from superclass.
23398 (setErrorHandler): Likewise.
23399 (errorHandler): New field.
23400 * javax/xml/XMLConstants.java: Corrected since tag.
23401 (XMLConstants): Added private constructor.
23402 * javax/xml/datatype/Duration.java: Corrected since tag.
23403 (multiply): Made method abstract.
23404 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23405 (DatatypeConstants): Added private constructor.
23406 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23407 (XPathConstants): Added private constructor.
23409 2006-04-05 Tom Tromey <tromey@redhat.com>
23411 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23413 2006-04-05 Tom Tromey <tromey@redhat.com>
23416 * lib/Makefile.am (compile-classes): Touch the output file.
23418 2006-04-05 Roman Kennke <kennke@aicas.com>
23420 * javax/swing/AbstractButton.java
23421 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23422 of the focused state. This is already done in AccessibleAWTComponent.
23424 2006-04-05 Roman Kennke <kennke@aicas.com>
23426 * javax/swing/JComponent.java
23427 (accessibleContext): Fixed API doc for this field.
23428 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23429 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23430 Implemented and added API docs.
23431 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23432 Implemented and added API docs.
23433 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23434 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23435 Implemented and added API docs.
23436 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23437 Implemented and added API docs.
23438 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23439 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23440 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23441 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23442 (AccessibleJComponent.getAccessibleStateSet): Simply return
23443 super here. Added comment about this.
23445 2006-04-05 Roman Kennke <kennke@aicas.com>
23447 * javax/swing/JComponent.java
23448 (AccessibleJComponent.addPropertyChangeListener): Install
23449 ContainerHandler and FocusHandler here.
23450 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23451 ContainerHandler and FocusHandler here.
23452 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23453 by super.getAccessibleChildrenCount().
23454 (AccessibleJComponent.getAccessibleChild): Replaced
23455 by super.getAccessibleChild().
23456 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23457 adding OPAQUE to the supported states.
23458 (AccessibleJComponent.getAccessibleName): Added titled border
23459 and label fallbacks.
23460 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23461 and label fallbacks.
23462 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23463 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23464 explaining why return null seems correct here.
23465 * javax/swing/JLabel.java
23466 (LABEL_PROPERTY): New constant.
23467 (setLabelFor): Store label in labeled component's client properties
23468 for the AccessibleJComponent to read.
23470 2006-04-05 Tom Tromey <tromey@redhat.com>
23472 * java/util/zip/ZipFile.java (available): Defer to super if
23473 entry's size is unknown.
23475 2006-04-05 Tom Tromey <tromey@redhat.com>
23477 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23478 property with mime.types name.
23479 * gnu/classpath/SystemProperties.java: Set
23480 gnu.classpath.mime.types.file if not already set.
23481 * java/net/URLConnection.java (defaultFactory): New field.
23482 (guessContentTypeFromStream): Mark as unimplemented.
23483 (getContentHandler): Updated with libgcj's implementation.
23484 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23487 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23491 * java/util/AbstractList.java (hasNext): Don't throw
23492 ConcurrentModificationException. Update Javadoc.
23493 (hasPrevious): Likewise.
23494 (nextIndex): Likewise.
23495 (previousIndex): Likewise.
23496 * java/util/HashMap.java (hasNext): Likewise.
23497 * java/util/Hashtable.java (hasNext): Likewise.
23498 * java/util/IdentityHashMap.java (hasNext): Likewise.
23499 * java/util/LinkedHashMap.java (hasNext): Likewise.
23500 * java/util/LinkedList.java (nextIndex): Likewise.
23501 (previousIndex): Likewise.
23502 (hasNext): Likewise.
23503 (hasPrevious): Likewise.
23504 * java/util/TreeMap.java (hasNext): Likewise.
23505 * java/util/WeakHashMap.java (hasNext): Likewise.
23507 2006-04-05 Roman Kennke <kennke@aicas.com>
23509 * javax/swing/AbstractButton.java
23510 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23511 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23512 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23513 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23514 (AccessibleAbstractButton.getAccessibleActionDescription):
23516 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23517 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23518 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23519 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23520 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23521 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23523 2006-04-05 Roman Kennke <kennke@aicas.com>
23525 * javax/swing/JComboBox.java
23526 (selectWithKeyChar): Implemented stubbed method.
23528 2006-04-05 Roman Kennke <kennke@aicas.com>
23530 * javax/swing/LookAndFeel.java
23531 (installProperty): New method. Allows primitive typed properties
23532 to be handled like UIResources.
23533 * javax/swing/AbstractButton.java
23534 (clientBorderPaintedSet): New field.
23535 (clientRolloverEnabledSet): New field.
23536 (clientIconTextGapSet): New field.
23537 (clientContentAreaFilledSet): New field.
23538 (setRolloverEnabled): Set the client field to true.
23539 (setBorderPainted): Likewise.
23540 (setIconTextGap): Likewise.
23541 (setContentAreaFilled): Likewise.
23542 (setUIProperty): New helper method.
23543 * javax/swing/JComponent.java
23544 (clientOpaqueSet): New field.
23545 (clientAutoscrollsSet): New field.
23546 (setAutoscrolls): Set the client field to true.
23547 (setOpaque): Likewise.
23548 (setUIProperty): New helper method.
23549 * javax/swing/JDesktopPane.java
23550 (clientDragModeSet): New field.
23551 (setDragMode): Set the client field to true.
23552 (setUIProperty): New helper method.
23553 * javax/swing/JSplitPane.java
23554 (clientDividerSizeSet): New field.
23555 (clientOneTouchExpandableSet): New field.
23556 (setDividerSize): Set the client field to true.
23557 (setOneTouchExpandable): Likewise.
23558 (setUIProperty): New helper method.
23559 * javax/swing/JTable.java
23560 (clientRowHeightSet): New field.
23561 (setRowHeight): Set the client field to true.
23562 (setUIProperty): New helper method.
23563 * javax/swing/JTree.java
23564 (clientRowHeightSet): New field.
23565 (clientScrollsOnExpandSet): New field.
23566 (clientShowsRootHandlesSet): New field.
23567 (setRowHeight): Set the client field to true.
23568 (setShowsRootHandles): Likewise.
23569 (setScrollsOnExpand): Likewise.
23570 (setUIProperty): New helper method.
23572 2006-04-05 Roman Kennke <kennke@aicas.com>
23574 * java/awt/Component.java
23575 (getFont): Don't request the font from the peer's graphics. The
23576 graphics should instead get the font from the Component, which might
23578 (getFocusCycleAncestor): Don't special case Window.
23579 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23580 to here. Correctly determine the focus cycle root.
23581 (transferFocusBackward): Likewise.
23582 (transferFocusUpCycle): Likewise.
23583 * java/awt/Container.java
23584 (transferFocusDownCycle): Moved implementation from
23585 DefaultKeyboardFocusManager to here.
23586 * java/awt/DefaultKeyboardFocusManager.java
23587 (focusPreviousComponent): Moved implementation to
23588 Component.transferFocusBackward().
23589 (focusNextComponent): Moved implementation to
23590 Component.nextFocus().
23591 (upFocusCycle): Moved implementation to
23592 Component.transferFocusUpCycle().
23593 (downFocusCycle): Moved implementation to
23594 Container.transferFocusDownCycle().
23596 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23598 * java/awt/image/ComponentSampleModel.java
23599 (equals): Implemented,
23600 (hashCode): Likewise.
23602 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23604 * java/lang/Class.java
23605 (cast): New method.
23607 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23609 * java/awt/image/ComponentSampleModel.java
23610 (getBankIndices): Return a copy of the array, not a reference to the
23612 (getBandOffsets): Likewise.
23614 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23616 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23618 2006-04-04 Tom Tromey <tromey@redhat.com>
23620 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23622 2006-04-04 Tom Tromey <tromey@redhat.com>
23624 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23625 (MimeTypeMapper): Initialize.
23626 (fillFromFile): New method.
23627 (main): New method.
23628 (mime_strings): Updated.
23630 2006-04-04 Tom Tromey <tromey@redhat.com>
23632 * lib/gen-classlist.sh.in: Correct handle generated files.
23634 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23636 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23637 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23638 * gnu/regexp/CharIndexedCharSequence.java: New file.
23639 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23640 gnu.regexp.CharIndexedCharSequence.
23641 * gnu/regexp/CharIndexedString.java: Likewise.
23642 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23643 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23644 using CharIndexedCharSequence. Use setAnchor when the input
23645 object is already a CharIndexed.
23646 * java/util/regex/Matcher.java(inputCharIndexed): New field
23647 to be used as a parameter of the RE#getMatch.
23649 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23651 * java/awt/image/SampleModel.java: Reformatted.
23653 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23655 * java/awt/image/ComponentSampleModel.java
23656 (ComponentSampleModel(int, int, int, int, int[])): Added API
23658 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23659 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23660 of the bandOffsets and bankIndices arguments, added API documentation,
23661 * java/awt/image/SampleModel.java
23662 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23663 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23664 less than or equal to zero, added API documentation.
23666 2006-04-04 Lillian Angel <langel@redhat.com>
23668 * java/util/zip/ZipFile.java
23669 (getInputStream): Fixed to return size of ZipEntry
23670 minus the total bytes read. This guarantees that the
23671 right value is returned even if some bytes have already
23674 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23676 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23677 Remove static modifier.
23679 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23681 * java/awt/image/ComponentSampleModel.java: Reformatted.
23683 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23685 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23686 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23687 retrieval instructions to javadoc header.
23688 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23689 compressionType field.
23690 * lib/Makefile.am (propertydirs): Add javax directory.
23691 (propertyfiles): Likewise.
23692 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23695 2006-04-03 Tom Tromey <tromey@redhat.com>
23697 PR classpath/26971:
23698 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23699 (BasicAttributeEnumeration.where): Initialize to 0.
23700 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23702 2006-04-03 Lillian Angel <langel@redhat.com>
23704 PR classpath/24596 and PR classpath/26930
23705 * java/util/zip/ZipFile.java
23706 (getInputStream): Override available function for
23707 InflaterInputStream instance.
23709 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23711 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23713 2006-04-03 Tom Tromey <tromey@redhat.com>
23715 * javax/security/auth/kerberos/ServicePermission.java: New file.
23716 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23717 * javax/security/auth/kerberos/KerberosKey.java: New file.
23718 * javax/security/auth/kerberos/KeyImpl.java: New file.
23719 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23720 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23722 2006-04-03 Sven de Marothy <sven@physto.se>
23724 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23725 non-GtkImage images.
23727 2006-04-03 Mark Wielaard <mark@klomp.org>
23729 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23730 as temporary file name.
23732 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23734 * INSTALL: Documented --with-glibj-zip option.
23736 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23738 Fixed all pscan warnings.
23740 * native/jni/classpath/jcl.c (JCL_ThrowException),
23741 native/jni/classpath/jcl.h (DBG),
23742 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23743 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23744 Use "%s" format in fprintf and snprintf explicitely when printing a single
23745 string to prevent format string exploits.
23747 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23748 definition. Included jcl.h instead.
23750 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23752 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23753 (provider): Made it protected.
23754 (providerInstalled): New field.
23755 (Main): Made it a 0-arguments constructor.
23756 Removed throws clasue.
23757 (main): Removed throws clause.
23758 Call processArgs(args) after constructing instance.
23759 Call teardown() before existing.
23760 (processArgs): Added javadoc.
23761 Reduced to throws Exception.
23763 (teardown): New method.
23764 (setupCommonParams): Added javadoc.
23765 Install designated provider if not already installed.
23766 (installNewProvider): New method.
23767 (setupSigningParams): Added javadoc.
23768 Instantiate the KeyStore using type only.
23769 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23770 Removed unused imports.
23771 (start): Reduced to throws Exception.
23772 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23773 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23774 Re-organized imports.
23775 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23776 Test ignoring case.
23777 (getNames): Add "dsa" as an algorithm provided by this Factory.
23778 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23780 2006-04-03 Roman Kennke <kennke@aicas.com>
23782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23783 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23784 Replaced g_free() with pango_item_free() to avoid problems
23785 with the allocator.
23787 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23790 * java/util/logging/Level.java (parse): Document.
23791 * java/util/logging/LogManager.java (rootLogger): Removed.
23792 (LogManager): Just set loggers to new HashMap.
23793 (getLogManager): Make synchronized. Create and init LogManager if it
23795 (static): Removed block.
23796 (MANAGER_PROPERTY): New private final string.
23797 (makeLogManager): Use new property string, move warning to
23798 createInstance() method.
23799 (CONFIG_PROPERTY): New private final string.
23800 (initLogManager): New method.
23801 (addLogger): Use Logger.root, not rootLogger.
23802 (findAncestor): Likewise.
23803 (readConfiguration): Move warning to createInstance() method.
23804 Add handlers directly to Logger.root. Warn about bad level values.
23805 (getClassProperty): Use new locateClass() method.
23806 (getInstanceProperty): Only catch specific newInstance Errors.
23807 (createInstance): Make private and takes a string to use in warning
23808 messages. Use new locateClass() method and generate appropriate
23810 (warn): New methods.
23811 (locateClass): Locates a class through the context class loader and
23812 system class loader as backup.
23813 * java/util/logging/Logger.java (root): New static final field.
23814 (Logger): Set parent to root.
23815 (setParent): Directly check root field.
23817 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23819 * java/util/Collections.java:
23820 (binarySearch(List, T)): Fixed signature.
23821 (unmodifiableList(List)): Likewise.
23822 (UnmodifiableList(List)): Fixed constructor.
23823 (UnmodifiableRandomAccessList(List)): Likewise.
23824 (unmodifiableMap(Map)): Fixed signature.
23825 (UnmodifiableMap(Map)): Fixed constructor.
23826 (unmodifiableSortedMap(Map)): Fixed signature.
23827 (UnmodifiableSortedMap(Map)): Fixed constructor.
23829 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23831 * java/io/ObjectOutputStream.java:
23832 (writeObject(Object)): Added enum support.
23833 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23834 * java/io/ObjectStreamClass.java:
23835 (isEnum()): New package-private method.
23836 (setFlags(Class)): Added enum support.
23837 * java/io/ObjectStreamConstants.java:
23840 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23842 * javax/swing/text/Segment.java:
23843 (setPosition): Make exception message more verbose.
23844 * javax/swing/text/WrappedPlainView.java:
23845 (insertUpdate): Removed unneeded repaint call.
23846 (changeUpdate): Dito.
23847 (removeUpdate): Dito.
23848 (WrappedLine.determineNumLines): Do not return numLines, break
23849 from loop if no new break point has been calculated.
23850 (WrappedLine.updateDamage): Rewritten.
23851 (WrappedLine.insertUpdate): Removed unneeded update code.
23852 (WrappedLine.removeUpdate): Removed unneeded update code, added
23855 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23857 * configure.ac (with-glibj-zip): Added new option.
23859 * examples/Makefile.am,
23861 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23862 in addition to classes in lib directory.
23864 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23866 * tools/gnu/classpath/tools/giop/GRMIC.java,
23867 tools/gnu/classpath/tools/giop/IorParser.java,
23868 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23869 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23870 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23871 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23872 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23873 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23874 tools/gnu/classpath/tools/rmi/RMIC.java,
23875 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23876 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23877 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23878 linking exception from the licensing header.
23879 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23880 Added licensing header.
23882 2006-04-02 Mark Wielaard <mark@klomp.org>
23884 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23885 (jarsigner): Removed.
23887 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23889 * configure.ac: don't check for isnan function.
23890 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23892 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23894 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23895 * tools/Makefile.am: Generate jarsigner shell script.
23896 * tools/jarsigner.sh.in: New template.
23897 * tools/.cvsignore: Added jarsigner.sh.
23899 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23901 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23902 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23903 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23904 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23905 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23906 Re-organised imports.
23908 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23910 PR classpath/25924:
23911 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23912 Handle case where alpha==0.
23914 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23917 * javax/swing/text/Utilities.java:
23918 (getTabbedTextOffset): Added check to decrement pos not below zero,
23919 changed '>' comparison to '>='.
23920 * javax/swing/text/WrappedPlainView.java:
23921 (lineHeight): New field.
23922 (calculateBreakPosition): Throw InternalError in catch block, removed
23923 unneeded brackets, use specific version of
23924 Utilities.getTabbedTextOffset.
23925 (paint): Set various properties neccessary for drawing.
23926 (WrappedLine.paint): Removed code to set field of outer class.
23927 (WrappedLine.modelToView): Removed unneeded expression from
23929 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23930 -1 from return statement, copy only a subset into the Segment, removed
23931 special handling of mark value - just return it, simplified
23932 incrementation of currLineStart.
23933 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23934 change to parent view.
23935 (WrappedLine.removeUpdate): Dito.
23937 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23939 * javax/swing/text/Segment.java:
23940 (toString): Return empty string when array is null.
23942 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23944 * javax/swing/plaf/basic/BasicTextUI.java:
23945 (damageRange): Use SwingUtilities.computeUnion to avoid
23946 unneccessary Rectangle instantiation.
23948 2006-04-01 Tom Tromey <tromey@redhat.com>
23950 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23952 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23954 * javax/swing/text/CompositeView.java: Fixed copyright header.
23955 * javax/swing/text/BoxView.java: Fixed copyright header.
23956 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23957 * javax/swing/text/Utilities.java: Fixed copyright header.
23959 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23961 * javax/swing/text/CompositeView.java:
23962 (modelToView): Throw BadLocationException when no child
23963 view can be found, restructed to throw exception as early
23965 (viewToModel): Use mutable allocation as argument for viewToModel
23966 call on child view.
23967 * javax/swing/text/BoxView.java:
23968 (getViewAtPoint): Call setBounds() r before method returns with
23969 suitable child view.
23970 * javax/swing/text/Utilities.java:
23971 (getPositionBelow): Added try-catch-block around modelToView call,
23972 added method return when BadLocationException was thrown.
23973 * javax/swing/text/WrappedPlainView.java:
23974 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23975 added note about meaning of rect.x and rect.width, removed unneeded
23976 checks, added code to not return the last possible document offset.
23978 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23980 * javax/swing/text/WrappedPlainView.java:
23981 (WrappedLine.viewToModel): Change < to <= in if-statement,
23982 removed addition of currLineStart to return value.
23983 * javax/swing/text/BoxView.java:
23984 (getViewAtPoint): Use copy instead of r for method call
23985 which modifies the second argument.
23987 2006-04-01 Mark Wielaard <mark@klomp.org>
23990 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23992 2006-03-31 Tom Tromey <tromey@redhat.com>
23994 * lib/split-for-gcj.sh: Updated for multi-field format.
23995 * lib/Makefile.am (CLEANFILES): Added classes.2.
23996 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23997 classes.2 using multiple fields.
23999 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24001 * javax/swing/JTable.java (columnSelectionChanged):
24002 Removed print statement.
24003 * javax/swing/DefaultListSelectionModel.java
24004 (addSelectionInterval, removeSelectionInterval):
24005 Fire the difference between selection. (setLeadSelectionIndex):
24006 Fire the difference and mark current and previous lead
24007 selection indexes for repaint.
24009 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
24011 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24012 unnecessary copying.
24013 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24015 2006-03-31 Lillian Angel <langel@redhat.com>
24017 * java/awt/Component.java
24018 (translateEvent): oldKey should be the value of the
24021 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24023 * javax/swing/JTable.java (columnSelectionChanged):
24024 Treat second repaint parameter as width.
24026 2006-03-31 Lillian Angel <langel@redhat.com>
24029 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24030 (realize): New native function.
24031 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24032 Added new function declaration.
24033 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24034 (realize): New function.
24036 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24038 * javax/swing/text/GapContent.java:
24039 (replace): Move all Position instances from gap's end to
24040 it's start before increasing the gap start.
24041 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24042 (propertyChanged): Update the view only instead of
24043 indicating a document change.
24045 2006-03-31 Roman Kennke <kennke@aicas.com>
24047 * javax/swing/JTextField.java
24048 (fireActionPerformed): Put the textfields text in the action
24049 instead of the action name.
24051 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24053 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24054 Check for null jar-file argument.
24055 (setupSigningParams): Check for null alias argument.
24057 2006-03-31 Roman Kennke <kennke@aicas.com>
24059 * javax/swing/JComponent.java
24060 (paintChildren): Split up in two cases, depending on the
24061 optimizedDrawingEnabled flag.
24062 (paintChildrenWithOverlap): New method. Paints children when
24063 not optimizedDrawingEnabled. This implements better painting
24064 algorithm for overlapping components, so that the painted
24065 regions are minimized.
24066 (paintChildrenOptimized): New method. Paints children when
24067 when optimizedDrawingEnabled. This implements a painting
24068 algorithm that is optimized for the case when all children
24069 are guaranteed to be tiled.
24071 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24073 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24074 Attributes.putValue(String,String).
24075 (finishSigning): Likewise.
24076 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24077 (SIGNATURE_VERSION): Likewise.
24078 (readSFManifest): Use local string constant.
24079 (readMainSection): Likewise.
24080 (readVersionInfo): Likewise.
24081 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24082 Redefined using JarUtils constant.
24083 (SIGNATURE_VERSION): Likewise.
24084 (putValue(Name,String)): Made it private.
24086 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24088 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24089 New method. (clearSelection): Rewritten. (setSelectionInterval):
24090 Fire the difference between current and new selection.
24091 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24092 Only repaint the region, where selection has been changed.
24093 * javax/swing/plaf/basic/BasicTableUI.java
24094 (TableAction.actionPerformed): Do not change the column selection
24095 when only row selection change is wanted (and in reverse) and
24096 do not call the repaint() here.
24098 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24101 * javax/swing/DefaultComboBoxModel.java
24102 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24104 (addElement): Call list.addElement() rather than list.add(), and only
24105 update selected item if it is currently null,
24106 (removeElementAt): Update selected item, then remove the element.
24108 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24111 * java/awt/geom/Point2D.java
24112 (distanceSq(double, double)): Fixed order of arguments,
24113 (distanceSq(Point2D)): Likewise,
24114 (distance(double, double)): Likewise,
24115 (distance(Point2D)): Likewise.
24117 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24119 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24120 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24121 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24122 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24123 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24125 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24127 * javax.swing.JTable (constructor): Initialize column
24128 model column margin and table row margin before setting the
24129 table column model. (initialiseLocalVars): Do not call
24130 setIntercellSpacing.
24132 2006-03-30 Chris Burdess <dog@gnu.org>
24134 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24136 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24138 2006-03-30 Mark Wielaard <mark@klomp.org>
24141 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24142 adjust bounds. On resize invalidate and validate container.
24143 Always pass on ComponentEvents to Container super class.
24144 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24145 menuBar and pass to GtkWindowPeer super class.
24146 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24147 bounds and pass to GtkWindowPeer super class.
24148 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24149 New fields for local bounds.
24150 (getX, getY): New methods.
24151 (getWidth): Don't call into awtComponent.
24152 (getHeight): Likewise.
24153 (create): Cache local bounds.
24154 (setLocation): Documented, made protected and just call
24156 (setLocationUnlocked): Removed unused method.
24157 (setBoundsUnlocked): Likewise.
24158 (setBounds): Check whether bounds actually changed and cache local
24160 (setSize): Documented and made protected.
24161 (setResizable): Documented and cache local bounds.
24162 (postConfigureEvent): Update local bounds. Don't call awtComponent
24163 directly but post ComponentEvents.
24164 (show): Cache local bounds.
24165 (getBounds): Override to return cached bounds.
24167 2006-03-30 Lillian Angel <langel@redhat.com>
24169 * gnu/java/awt/peer/gtk/GdkGraphics.java
24170 (drawImage): Added check to prevent NPE.
24171 (drawImage): Likewise.
24172 (drawImage): Likewise.
24173 * java/awt/Choice.java
24174 (dispatchEventImpl): New function. selectedIndex was
24175 not being updated properly otherwise.
24177 2006-03-30 Roman Kennke <kennke@aicas.com>
24179 * javax/swing/JTabbedPane.java
24180 (removeTabAt): Removed debug code.
24182 2006-03-30 Roman Kennke <kennke@aicas.com>
24185 * javax/swing/plaf/basic/BasicTextUI.java
24186 (installKeyboardActions): Simply call getKeymap() and install this.
24187 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24189 2006-03-30 Roman Kennke <kennke@aicas.com>
24191 * javax/swing/JTabbedPane.java
24192 (removeTabAt): Adjust selection correctly when removing a tab
24193 before the selected tab. Also remove the component from the
24194 container, not only the tab object. Repaint and revalidate the
24195 component after the removal.
24196 (removeAll): Set selection to -1 before removing the tabs.
24198 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24200 * java/io/ObjectInputStream.java:
24201 (parseContent(byte)): Added enum support.
24202 * java/io/ObjectStreamConstants.java:
24204 (TC_MAX): Changed to new maximum, TC_ENUM.
24206 2006-03-29 Lillian Angel <langel@redhat.com>
24208 Partial fix for bug #26929
24209 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24210 (updateComponent): Removed. We want to clear the panel
24212 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24213 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24214 Should set the background to the saved background color.
24216 2006-03-29 Mark Wielaard <mark@klomp.org>
24218 Partial fix for bug #26848 (pack).
24219 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24220 Always show instances of Window.
24222 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24224 * javax/swing/JSlider.java
24225 (setPaintLabels): Only create standard labels if labelTable is null,
24226 * javax/swing/plaf/basic/BasicSliderUI.java
24227 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24228 "paintTicks" property change,
24229 (calculateThumbSize): Updated API docs,
24230 (calculateContentRect): Likewise,
24231 (calculateTrackBuffer): Take into account the lowest and highest
24232 labels when calculating buffer space,
24233 (calculateTrackRect): Include labels, if visible, in the calculation of
24234 the trackRect position,
24235 (calculateTickRect): Height is zero if ticks are not painted,
24236 (calculateLabelRect): Use max dimensions of actual labels,
24237 (getWidthOfHighValueLabel): Use preferred size,
24238 (getWidthOfLowValueLabel): Likewise,
24239 (getHeightOfHighValueLabel): Likewise,
24240 (getHeightOfLowValueLabel): Likewise,
24241 (drawInverted): Just return slider setting,
24242 (getHighestValueLabel): Updated API docs,
24243 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24244 to xPositionForValue() and yPositionForValue(),
24245 (paintHorizontalLabel): Removed full qualification of class name,
24246 (paintVerticalLabel): Likewise,
24247 (xPositionForValue): Reimplemented,
24248 (yPositionForValue): Reimplemented,
24249 * javax/swing/plaf/metal/MetalSliderUI.java
24250 (paintTrack): Made track one pixel longer.
24252 2006-03-29 Tom Tromey <tromey@redhat.com>
24255 * tools/Makefile.am (JCOMPILER): Added encoding options.
24256 * examples/Makefile.am (JCOMPILER): Added encoding options.
24258 2006-03-29 Gary Benson <gbenson@redhat.com>
24260 Partial fix for PR classpath/24895
24261 * java/io/FilePermission.java (implies): Canonicalize paths.
24263 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24266 * javax/swing/text/GapContent.java:
24267 (replace): Added call to resetMarksAtZero.
24269 2006-03-29 Roman Kennke <kennke@aicas.com>
24272 * javax/swing/plaf/basic/BasicMenuItemUI.java
24273 (cachedRect): New field.
24274 (BasicMenuItemUI): Initialize cachedRect field.
24275 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24276 to determine layout. Store maximum accelerator and text width
24277 in client properties of parent to allow correct alignment
24278 of accelerators among menu items of one menu.
24279 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24280 method. Align accelerators according to the values calculated
24281 in getPreferredMenuItemSize.
24282 (getAcceleratorString) New helper method.
24283 (layoutMenuItem): New helper method.
24285 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24287 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24288 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24289 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24291 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24292 readExternal, writeExternal): New methods.
24293 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24294 two stages, invokeCommon(Remote, ...) and
24295 invokeCommen(UnicastConnection, ...).
24296 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24297 also the ActivatableRef. toString(): Documented.
24298 * gnu/java/rmi/server/ActivatableRef.java,
24299 tools/gnu/classpath/tools/rmi/Persistent.java,
24300 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24301 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24302 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24303 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24304 tools/gnu/classpath/tools/rmi/RMID.java,
24305 tools/gnu/classpath/tools/rmi/RMID.txt,
24306 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24307 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24308 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24309 tools/gnu/classpath/tools/rmi/registry/package.html,
24310 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24311 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24313 * tools/README: Documented.
24314 * NEWS: Added entry about the activation.
24316 2006-03-29 Roman Kennke <kennke@aicas.com>
24319 * javax/swing/plaf/basic/BasicMenuItemUI.java
24320 (viewRect): New field.
24321 (textRect): New field.
24322 (accelRect): New field.
24323 (iconRect): New field.
24324 (arrowIconRect): New field.
24325 (checkIconRect): New field.
24326 (BasicMenuItemUI): Initialize new fields.
24327 (paintMenuItem): Rewritten to correctly layout and paint
24328 the menu item in a more straightforward way. Use cached rectangle
24329 objects for layout.
24330 (paintAccelerator): Pulled inside the paintMenuItem method.
24332 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24334 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24335 Do not use initCause with UnexpectedException.
24336 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24339 2006-03-29 Mark Wielaard <mark@klomp.org>
24341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24342 (setCursorID): Removed unused static variable.
24344 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24346 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24348 2006-03-29 Mark Wielaard <mark@klomp.org>
24351 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24352 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24354 2006-03-28 Roman Kennke <kennke@aicas.com>
24356 * javax/swing/UIManager.java
24357 (installLookAndFeel): Implemented.
24358 (setInstalledLookAndFeels): Implemented.
24360 2006-03-28 Roman Kennke <kennke@aicas.com>
24362 * javax/swing/plaf/metal/MetalButtonUI.java
24363 (update): Paint gradient only when the background color
24364 is not a UIResource and if the button is neither armed nor
24365 pressed and if the button is contentAreaFilled.
24367 2006-03-28 Roman Kennke <kennke@aicas.com>
24369 * javax/swing/JLayeredPane.java
24370 (addImpl): Repaint added component.
24372 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24374 * java/util/regex/Matcher.java: Reverted.
24376 2006-03-28 Roman Kennke <kennke@aicas.com>
24378 * javax/swing/text/AsyncBoxView.java
24379 (setEstimatedMajorSpan): Made method protected.
24380 (getEstimatedMajorSpan): Made method protected.
24381 * javax/swing/text/BoxView.java
24382 (flipEastAndWestAtEnds): Fixed typo.
24383 * javax/swing/text/InternationalFormatter.java
24384 (getActions): Made method protected.
24385 * javax/swing/text/Position.java
24386 (Bias): Made class final.
24387 * javax/swing/text/html/HTML.java
24388 (MEDIA): Made field package private. Not specified.
24389 (NOBR): Made field package private. Not specified.
24390 * javax/swing/text/html/NullView.java
24391 Made class package private.
24392 * javax/swing/text/html/parser/Entity.java
24393 Made class non-serializable as specified.
24395 2006-03-28 Roman Kennke <kennke@aicas.com>
24397 * javax/swing/plaf/metal/MetalButtonUI.java
24398 (update): Don't paint gradient if the background color is
24399 no UIResource. Removed double getModel() call. Don't check for
24402 2006-03-28 Roman Kennke <kennke@aicas.com>
24404 * javax/swing/plaf/basic/BasicMenuItemUI.java
24405 (paint): Call paintMenuItem with the selectionBackground as
24407 (paintBackground): Fixed the condition and color for the background
24410 2006-03-28 Roman Kennke <kennke@aicas.com>
24412 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24413 (tabsOpaque): New field.
24414 (paintLeftTabBorder): Paint some parts only when the tabs are
24415 opaque. Determine the tab background using the paintLeftTabBorder()
24417 (paintRightTabBorder): Likewise.
24418 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24420 2006-03-27 Tom Tromey <tromey@redhat.com>
24422 PR classpath/25189:
24423 * java/lang/Enum.java (valueOf): Ensure that the named field
24424 is an enum constant.
24425 (compareTo): Check class of enum.
24427 2006-03-27 Tom Tromey <tromey@redhat.com>
24429 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24431 2006-03-27 Tom Tromey <tromey@redhat.com>
24433 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24435 (getModifiersInternal): Renamed from getModifiers.
24436 (getModifiers): New method.
24437 (isBridge): Likewise.
24438 (isSynthetic): Likewise.
24439 (isVarArgs): Likewise.
24440 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24442 (getModifiersInternal): Renamed from getModifiers.
24443 (getModifiers): New method.
24444 (isSynthetic): Likewise.
24445 (isEnumConstant): Likewise.
24446 * vm/reference/java/lang/reflect/Constructor.java
24447 (getModifiersInternal): Renamed from getModifiers.
24448 (getModifiers): New method
24449 (CONSTRUCTOR_MODIFIERS): New constant.
24450 (isSynthetic): New method.
24451 (isVarArgs): Likewise.
24452 * java/lang/reflect/Member.java (isSynthetic): New method.
24454 2006-03-28 Tom Tromey <tromey@redhat.com>
24456 * java/net/Proxy.java (TYPE): Added missing ";".
24458 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24460 * java/math/RoundingMode.java:
24461 Fixed serialization UID.
24462 * java/net/Proxy.java:
24465 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24467 * java/io/CharArrayWriter.java:
24468 (append(char)): Documented.
24469 (append(CharSequence)): Likewise.
24470 (append(CharSequence,int,int)): Likewise.
24472 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24474 * vm/reference/java/lang/reflect/Constructor.java
24475 (getTypeParameters): Check return value of getSignature for null.
24476 * vm/reference/java/lang/reflect/Method.java
24477 (getTypeParameters): Check return value of getSignature for null.
24479 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24481 * java/rmi/activation/ActivationGroup_Stub.java:
24484 2006-03-27 Tom Tromey <tromey@redhat.com>
24486 * java/io/CharArrayWriter.java (append): New overloads.
24488 2006-03-27 Lillian Angel <langel@redhat.com>
24490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24491 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24492 Added check for colormap. Prevents assertion error.
24493 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24495 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24497 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24499 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24501 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24504 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24506 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24507 AC_MSG_ERROR instead of echoing the error message
24508 that no compiler has been found manually.
24510 2006-03-27 Roman Kennke <kennke@aicas.com>
24512 * javax/swing/RepaintManager.java
24513 (commitBuffer): Use simple drawImage() method instead of the
24516 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24518 * javax/swing/text/PlainView.java:
24519 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24520 for painting the selected line.
24522 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24524 * javax/swing/plaf/basic/BasicSliderUI.java
24525 (getThumbSize): Removed TODO and updated API docs.
24527 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24529 * javax/swing/text/DefaultCaret.java:
24530 (mouseClicked): Word selection rewritten.
24531 (paint): Draw line inside the bounding rectangle.
24532 (damage): Retrieve caret height from line height.
24534 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24536 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24538 Check for -help option.
24539 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24541 2006-03-27 Roman Kennke <kennke@aicas.com>
24543 * javax/swing/text/FieldView.java
24544 (getPreferredSpan): Don't include trailing newline in
24546 * javax/swing/text/PlainView.java
24547 (drawLine): Don't include trailing newline.
24548 (determineMaxLineLength): Don't include trailing newline.
24549 (getLineBuffer): Made method final.
24551 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24553 * javax/swing/JSlider.java
24554 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24555 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24556 NotImplementedException,
24557 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24559 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24561 * java/lang/ProcessBuilder.java:
24564 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24566 * gnu/java/net/protocol/http/Headers.java:
24567 Match layout of file on HEAD.
24568 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24570 * java/awt/datatransfer/DataFlavor.java
24573 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24575 * gnu/java/security/jce/hash/HavalSpi.java,
24576 * gnu/java/security/jce/hash/MD2Spi.java,
24577 * gnu/java/security/jce/hash/MD4Spi.java,
24578 * gnu/java/security/jce/hash/MD5Spi.java,
24579 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24580 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24581 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24582 * gnu/java/security/jce/hash/Sha160Spi.java,
24583 * gnu/java/security/jce/hash/Sha256Spi.java,
24584 * gnu/java/security/jce/hash/Sha384Spi.java,
24585 * gnu/java/security/jce/hash/Sha512Spi.java,
24586 * gnu/java/security/jce/hash/TigerSpi.java,
24587 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24588 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24589 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24590 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24591 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24592 * gnu/java/security/jce/sig/SignatureAdapter.java,
24593 * gnu/java/security/key/IKeyPairCodec.java,
24594 * gnu/java/security/key/IKeyPairGenerator.java,
24595 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24596 * gnu/java/security/key/dss/DSSKey.java,
24597 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24598 * gnu/java/security/key/dss/DSSPrivateKey.java,
24599 * gnu/java/security/key/dss/DSSPublicKey.java,
24600 * gnu/java/security/key/dss/FIPS186.java,
24601 * gnu/java/security/key/rsa/GnuRSAKey.java,
24602 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24603 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24604 * gnu/java/security/sig/ISignature.java,
24605 * gnu/java/security/sig/ISignatureCodec.java,
24606 * gnu/java/security/sig/dss/DSSSignature.java,
24607 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24608 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24609 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24610 * gnu/java/security/util/Util.java:
24611 Remove CVS revision tags.
24613 2006-03-26 Tom Tromey <tromey@redhat.com>
24615 * java/io/InputStream.java (InputStream): Implements Closeable.
24617 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24619 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24621 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24622 getAnchor): New methods.
24623 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24624 getAnchor): New methods.
24625 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24626 getAnchor): New methods.
24627 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24628 getAnchor): New methods.
24629 * gnu/regexp/REMatch.java(start1): New field.
24630 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24631 (match): set the starting position to start1[] instead of start[],
24632 (getMatchImpl): Set the found REMatch to the input,
24633 (makeCharIndexed): Made public.
24634 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24635 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24636 set the value of start[] copying from start1[].
24637 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24639 * java/util/regex/Matcher.java(inputCharIndexed): New field
24640 to be used as a parameter of the RE#getMatch.
24642 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24644 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24645 Documented the default jre spawning strategy (none).
24646 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24647 getSystem): Obtain the acticivation system from the
24648 DefaultActivationSystem.
24650 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24652 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24653 Ask user for keystore password if one was not provided.
24655 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24657 * tools/README: Added Security tools section.
24658 Documented the jarsigner tool.
24660 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24662 * javax/swing/JScrollBar.java
24663 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24664 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24665 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24666 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24667 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24668 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24669 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24670 (getAccessibleContext): Updated API docs.
24672 2006-03-25 Tom Tromey <tromey@redhat.com>
24674 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24675 change or if generator script changes.
24677 2006-03-25 Tom Tromey <tromey@redhat.com>
24679 * javax/naming/ldap/StartTlsRequest.java: New file.
24680 * javax/naming/ldap/StartTlsResponse.java: New file.
24682 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24684 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24685 to validate all components of a resource path.
24686 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24687 allowed to walk through every component of a resource path.
24689 2006-03-25 Michael Koch <konqueror@gmx.de>
24691 * NEWS: Added item for CLDR 1.3 update.
24693 2006-03-25 Michael Koch <konqueror@gmx.de>
24695 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24696 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24697 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24698 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24699 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24700 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24703 2006-03-25 Michael Koch <konqueror@gmx.de>
24705 * resource/gnu/java/locale/LocaleInformation_az.properties,
24706 resource/gnu/java/locale/LocaleInformation_bs.properties,
24707 resource/gnu/java/locale/LocaleInformation_byn.properties,
24708 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24709 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24710 resource/gnu/java/locale/LocaleInformation_gez.properties,
24711 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24712 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24713 resource/gnu/java/locale/LocaleInformation_haw.properties,
24714 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24715 resource/gnu/java/locale/LocaleInformation_kok.properties,
24716 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24717 resource/gnu/java/locale/LocaleInformation_sid.properties,
24718 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24719 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24720 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24721 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24722 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24723 resource/gnu/java/locale/LocaleInformation_syr.properties,
24724 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24725 resource/gnu/java/locale/LocaleInformation_tig.properties,
24726 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24727 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24728 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24729 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24730 resource/gnu/java/locale/LocaleInformation_wal.properties,
24731 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24734 2006-03-25 Michael Koch <konqueror@gmx.de>
24736 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24737 resource/gnu/java/locale/LocaleInformation_kn.properties,
24738 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24739 resource/gnu/java/locale/LocaleInformation_ko.properties,
24740 resource/gnu/java/locale/LocaleInformation_sl.properties,
24741 resource/gnu/java/locale/LocaleInformation_so.properties,
24742 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24743 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24744 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24745 resource/gnu/java/locale/LocaleInformation_sr.properties:
24746 Random fixes I forgot to commit before.
24748 2006-03-25 Michael Koch <konqueror@gmx.de>
24750 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24751 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24752 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24753 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24754 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24755 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24756 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24757 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24758 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24759 resource/gnu/java/locale/LocaleInformation_en.properties,
24760 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24761 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24762 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24763 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24764 resource/gnu/java/locale/LocaleInformation_fa.properties,
24765 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24766 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24767 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24768 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24769 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24770 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24771 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24772 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24773 resource/gnu/java/locale/LocaleInformation_pa.properties,
24774 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24775 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24776 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24777 resource/gnu/java/locale/LocaleInformation_sa.properties,
24778 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24779 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24780 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24781 Updated currency formats.
24783 2006-03-25 Roman Kennke <kennke@aicas.com>
24785 * javax/swing/text/AbstractDocument.java
24786 (getAttributeContext): Made method final.
24787 (getCurrentWriter): Likewise.
24788 (getEndPosition): Likewise.
24789 (getProperty): Likewise.
24790 (getStartPosition): Likewise.
24791 (putProperty): Likewise.
24792 (readLock): Likewise.
24793 (readUnlock): Likewise.
24794 (writeLock): Likewise.
24795 (writeUnlock): Likewise.
24797 2006-03-25 Roman Kennke <kennke@aicas.com>
24799 * javax/swing/InputMap.java
24800 (allKeys): Check if parent keys is null.
24801 * javax/swing/KeyboardManager.java
24802 (registerEntireMap): Also register map's parent keys.
24803 * javax/swing/plaf/metal/MetalRootPaneUI.java
24804 (propertyChange): Also call super.propertyChange().
24806 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24808 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24809 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24810 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24811 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24812 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24813 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24815 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24817 * gnu/java/util/jar/JarUtils.java: New file.
24818 * java/util/jar/Manifest.java (CRLF): Removed.
24819 (read_main_section): Likewise.
24820 (read_version_info): Likewise.
24821 (expect_header(String,BufferedReader)): Likewise.
24822 (expect_header(String,BufferedReader,String)): Likewise.
24823 (read_header_value): Likewise.
24824 (read_attributes): Likewise.
24825 (read_attribute): Likewise.
24826 (read_individual_sections): Likewise.
24827 (read_section_name): Likewise.
24828 (write_main_section): Likewise.
24829 (write_version_info): Likewise.
24830 (write_header): Likewise.
24831 (write_main_attributes): Likewise.
24832 (write_attribute_entry): Likewise.
24833 (write_individual_sections): Likewise.
24834 (write_entry_attributes): Likewise.
24835 (read): use JarUtils.
24838 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24840 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24843 (SignerInfo(BERReader)): Updated javadoc.
24845 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24847 (encode): New method.
24848 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24849 (PKCS7_DATA): Removed.
24852 (PKCS7SignedData(BERReader)): Updated javadoc.
24854 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24856 (encode): New method.
24857 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24858 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24859 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24860 (decodePrivateKey): Decode x from an OCTET STRING.
24861 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24862 (toString): New method.
24863 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24865 (toString): New method.
24866 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24867 (toString): New method.
24868 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24870 2006-03-25 Roman Kennke <kennke@aicas.com>
24872 * java/util/GregorianCalender.java
24873 (computeTime): Fix comparison to correctly calculate the
24876 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24879 * java/awt/Window.java:
24880 (setFocusCycleRoot): New overriden method.
24881 (isFocusCycleRoot): Likewise.
24882 (getFocusCycleRootAncestor): Likewise.
24883 * java/awt/Container.java:
24884 (getFocusTraversalPolicy): Check also for anchestor == null.
24886 2006-03-25 Mark Wielaard <mark@klomp.org>
24888 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24889 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24892 2006-03-24 Tom Tromey <tromey@redhat.com>
24894 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24896 (writeChar): Removed useless cast.
24897 (writeChars(String)): Implemented.
24898 (writeDouble): Rewrote.
24899 (writeFloat): Likewise.
24900 (writeUTF): Implemented.
24901 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24904 2006-03-24 Roman Kennke <kennke@aicas.com>
24906 * javax/swing/JButton.java
24907 (def): Replaced field with defaultCapable field.
24908 (is_def): Removed field.
24909 (JButton): Initialize defaultCapable with true.
24910 (isDefaultButton): Documented and implemented method by querying
24911 the button's root pane if present.
24912 (isDefaultCapable): Changed def field to defaultCapable.
24913 Added documentation.
24914 (paramString): Call isDefaultButton() instead of accessing field,
24916 (setDefaultCapable): Changed def field to defaultCapable.
24917 Added documentation.
24918 * javax/swing/JRootPane.java
24919 (setDefaultButton): Only change the default button if the
24920 new button is defaultCapable.
24921 * javax/swing/plaf/basic/BasicRootPaneUI.java
24922 (DefaultPressAction): New class.
24923 (DefaultReleaseAction): New class.
24924 (installKeyboardActions): Implemented.
24925 (uninstallKeyboardActions): Implemented.
24926 (propertyChange): Implemented.
24927 * javax/swing/plaf/metal/MetalBorders.java
24928 (ButtonBorder.paintBorder): 'Outsourced' default theme
24929 painting to paintDefaultButtonBorder().
24930 (ButtonBorder.paintDefaultButtonBorder): New helper method
24931 to paint the border in the default theme. This also fixes
24932 painting of the border for default buttons.
24933 (ButtonBorder.paintOceanButtonBorder): Added support for
24934 default button painting. Fixed border for pressed/default state.
24935 * javax/swing/plaf/metal/MetalButtonUI.java
24936 (update): Only paint gradient when in OceanTheme and when the
24937 button is not armed.
24939 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24941 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24942 Inherit from Activator.
24944 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24946 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24947 Print debug message if debug flag is set.
24948 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24949 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24950 detail, do not call iniCause(). (exportClass): New method.
24951 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24952 Ignore null (bootstrap) class loader.
24953 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24954 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24955 visibility to protected.
24956 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24957 (toStub): New method.
24958 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24959 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24960 Explained property java.rmi.activation.port.
24962 2006-03-24 Tom Tromey <tromey@redhat.com>
24964 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24965 * gnu/java/locale/.cvsignore: New file.
24966 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24967 * java/util/Locale.java (getAvailableLocales): Clone result.
24968 (getISOCountries): Likewise.
24969 (getISOLanguages): Likewise.
24970 * scripts/generate-locale-list.sh: Make class public. Added new
24972 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24973 (getLocaleCount): Likewise.
24974 * java/text/Collator.java (getInstance): Javadoc typo fix.
24975 (getAvailableLocales): Wrote.
24977 2006-03-24 Roman Kennke <kennke@aicas.com>
24979 * javax/swing/JTabbedPane.java
24980 (getSelectedComponent): Return null when no component is
24983 2006-03-24 Mark Wielaard <mark@klomp.org>
24985 * NEWS: Add cursor and selection improvements.
24987 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24989 * java/awt/Component.java
24990 (getAccessibleName): Just return accessibleName,
24991 * javax/swing/AbstractButton.java
24992 (getAccessibleStateSet): Mark as stub,
24993 (getAccessibleName): Implemented,
24994 (getAcessibleIcon): Mark as stub,
24995 (getAccessibleRelationSet): Likewise,
24996 (getAccessibleAction): Likewise,
24997 (getAccessibleValue): Likewise,
24998 (getAccessibleActionCount): Likewise,
24999 (getAccessibleActionDescription): Likewise,
25000 (doAccessibleAction): Likewise,
25001 (getCurrentAccessibleValue): Likewise,
25002 (setCurrentAccessibleValue): Likewise,
25003 (getMinimumAccessibleValue): Likewise,
25004 (getMaximumAccessibleValue): Likewise,
25005 (getAccessibleText): Likewise,
25006 (getIndexAtPoint): Likewise,
25007 (getCharacterBounds): Likewise,
25008 (getCharCount): Likewise,
25009 (getCaretPosition): Likewise,
25010 (getAtIndex): Likewise,
25011 (getAfterIndex): Likewise,
25012 (getBeforeIndex): Likewise,
25013 (getCharacterAttribute): Likewise,
25014 (getSelectionStart): Likewise,
25015 (getSelectionEnd): Likewise,
25016 (getSelectedText): Likewise,
25017 (getTextRectangle): Likewise,
25018 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25019 (getIconTextGap): Added @since 1.4,
25020 (setContentAreaFilled): Reordered code to make event sequence match
25021 reference implementation,
25022 * javax/swing/JButton.java
25023 (getSelectedObjects): Removed,
25024 *javax/swing/JComponent.java
25025 (getAccessibleName): Call super.
25027 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25029 * javax/swing/JProgressBar.java
25030 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25031 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25032 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25033 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25034 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25035 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25036 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25037 (getAccessibleContext): Added API docs.
25039 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25041 * javax/swing/plaf/basic/BasicTextUI.java:
25042 (FocusListener.focusLost): Put current selection into the system
25045 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25047 * java/awt/Component.java:
25048 (processMouseEvent): Remove call to consume event.
25049 (dispatchEventImpl): Handle specific events first, do focus request
25050 only when mouse event was not yet consumed.
25051 * javax/swing/text/DefaultCaret.java:
25052 (mousePressed): Rewritten.
25053 (setDot): Changed order of operations.
25056 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25058 * javax/swing/JComponent.java
25059 (AccessibleJComponent.changeSupport): Removed field,
25060 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25061 (AccessibleJComponent.addPropertyChangeListener): Call super,
25062 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25063 * javax/swing/JSlider.java
25064 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25065 (AccessibleJSlider.getAccessibleRole): Likewise,
25066 (AccessibleJSlider.getAccessibleValue): Likewise,
25067 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25068 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25069 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25070 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25071 (getAccessibleContext): Added API docs.
25073 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25075 * gnu/java/rmi/activation/ActivationSystemTransient.java
25076 (debug): Made public. (constructor): Made protected.
25077 (activate, getActivationDesc): Throw more informative exceptions.
25078 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25080 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25082 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25084 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25086 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25087 system, passed in the activation descriptor field.
25088 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25089 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25090 to package private final. (equals): Compare uid, not the system.
25091 (hashCode): Forward to uid.hashCode(). toString(): New method.
25092 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25093 Rewritten. (equals): Compare UID only. toString(): New method.
25094 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25095 UID (space). (hashCode, toString): Rewritten.
25096 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25097 New method. (invoke): Treat null as an empty array for parameters.
25098 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25099 Include count, do not include the static machineId.
25101 2006-03-23 Tom Tromey <tromey@redhat.com>
25103 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25105 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25107 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25108 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25109 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25110 (force): New field. (setForce): New method. (compile): Handle -force.
25111 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25112 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25114 2006-03-23 Roman Kennke <kennke@aicas.com>
25116 * javax/swing/JTabbedPane.java
25117 (Page.getBackground): Return the JTabbedPane's background,
25118 rather than the page's component background.
25119 (Page.getForeground): Return the JTabbedPane's foreground,
25120 rather than the page's component foreground.
25121 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25122 (uninstallUI): Don't set colors to null.
25123 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25124 (paintTabBackground): Correctly determine the tab background.
25125 (getUnselectedBackground): New helper method to
25126 handle the UI property 'TabbedPane.unselectedBackground'
25129 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25131 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25132 (BorderListener.showingResizeCursor): New field.
25133 (BorderListener.mouseMoved, BorderListner.mouseExited):
25136 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25138 * javax/swing/JComboBox.java
25139 (selectWithKeyChar): Mark as stub,
25140 * javax/swing/JFileChooser.java
25141 (setDragEnabled): Mark as stub,
25142 (getDragEnabled): Likewise,
25143 * javax/swing/JSlider.java
25144 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25145 (AccessibleJSlider.getAccessibleRole): Likewise,
25146 (AccessibleJSlider.getAccessibleValue): Likewise,
25147 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25148 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25149 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25150 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25151 * javax/swing/UIManager.java
25152 (installLookAndFeel): Mark as stub,
25153 (setInstalledLookAndFeels): Likewise.
25155 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25157 * javax/swing/filechooser/UnixFileSystemView.java
25158 (getSystemDisplayName): Mark as stub,
25159 (getSystemIcon): Likewise,
25160 (getSystemTypeDescription): Likewise.
25162 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25164 * javax/swing/tree/AbstractLayoutCache.java
25165 (getNodeDimensions): Mark as stub,
25166 (getPreferredHeight): Likewise,
25167 (getPreferredWidth): Likewise,
25168 (getRowsForPaths): Likewise,
25169 (isFixedRowHeight): Likewise,
25170 * javax/swing/tree/DefaultTreeModel.java
25171 (reload()): Mark as stub,
25172 (reload(TreeNode)): Likewise,
25173 (nodeStructureChanged): Likewise,
25174 * javax/swing/tree/DefaultTreeSelectionModel.java
25175 (clone): Mark as stub,
25176 (setRowMapper): Likewise,
25177 (setSelectionPaths): Likewise,
25178 (isRowSelected): Likewise,
25179 (resetRowSelection): Likewise,
25180 (insureRowContinuity): Likewise,
25181 (arePathsContiguous): Likewise,
25182 (canPathsBeAdded): Likewise,
25183 (canPathsBeRemoved): Likewise,
25184 (notifyPathChange): Likewise,
25185 (updateLeadIndex): Likewise,
25186 (insureUniqueness): Likewise,
25187 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25189 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25191 2006-03-22 Tom Tromey <tromey@redhat.com>
25193 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25195 (getStaticAttributeKey): Likewise.
25196 (readAttributeSet): Likewise.
25197 (writeAttributeSet): Likewise.
25198 (readAttributes): Likewise.
25199 (writeAttributes): Likewise.
25200 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25202 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25204 (fireChangedUpdate): Likewise.
25207 (handleEndOfLineString): Likewise.
25208 (textAreaContent): Likewise.
25209 (preContent): Likewise.
25210 (addSpecialElement): Likewise.
25211 (setInnerHTML): Likewise.
25212 (setOuterHTML): Likewise.
25213 (insertBeforeStart): Likewise.
25214 (insertBeforeEnd): Likewise.
25215 (insertAfterEnd): Likewise.
25216 (insertAfterStart): Likewise.
25217 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25218 Mark all methods as stub.s
25219 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25221 (paintHorizontalSeparators): Likewise.
25222 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25224 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25226 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25228 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25231 2006-03-22 Mark Wielaard <mark@klomp.org>
25233 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25235 2006-03-22 Mark Wielaard <mark@klomp.org>
25238 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25239 Takes GtkImage, x and y coordinates.
25240 (gtkWidgetSetCursorUnlocked): Likewise.
25241 (GtkComponentPeer): Set cursor when set.
25242 (setCursor): Handle GtkCursor.
25243 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25246 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25247 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25248 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25250 2006-03-23 Roman Kennke <kennke@aicas.com>
25253 * gnu/java/security/Registry.java
25254 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25255 * gnu/javax/crypto/pad/PadFactory.java
25256 (getInstance): For PKCS#5, also return PKCS#7 pad
25258 (getNames): Added PKCS#5.
25259 * javax/crypto/KeyGenerator.java
25260 (getInstance): Initialize key generator before returning
25263 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25265 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25266 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25267 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25268 if COMMENTS is set.
25270 2006-03-22 Tom Tromey <tromey@redhat.com>
25272 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25273 (getBoolean): Likewise.
25274 (getString): Likewise.
25275 (getIcon): Likewise.
25277 2006-03-22 Mark Wielaard <mark@klomp.org>
25280 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25281 (GLightweightPeer(Component)): Install MouseListener.
25282 (setCursor): Implement.
25283 (mouseEntered): New method.
25285 2006-03-22 Tom Tromey <tromey@redhat.com>
25287 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25289 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25291 (getFontForState): Likewise.
25292 (getInsets): Added 'result' argument.
25293 (getPainter): Renamed.
25295 2006-03-22 Tom Tromey <tromey@redhat.com>
25297 * javax/swing/plaf/synth/SynthPainter.java
25298 (paintScrollBarThumbBackground): Added 'orientation' argument.
25299 (paintScrollBarThumbBorder): Likewise.
25300 (paintSliderThumbBackground): Likewise.
25301 (paintSliderThumbBorder): Likewise.
25302 (paintTabbedPaneTabBackground): Added 'index' argument.
25303 (paintTabbedPaneTabBorder): Likewise.
25305 2006-03-22 Tom Tromey <tromey@redhat.com>
25307 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25308 (toString): New method.
25310 2006-03-22 Tom Tromey <tromey@redhat.com>
25312 * doc/hacking.texinfo (Source Code Style Guide): Mention
25313 NotImplementedException.
25314 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25315 (flushBefore): Mark as stub.
25317 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25319 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25322 (writeBit): Likewise.
25323 (writeChars): Likewise.
25324 (writeUTF): Likewise.
25325 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25328 * java/net/URLConnection.java (getContent): Mark as stub.
25329 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25330 * java/awt/TexturePaint.java (createContext): Mark as stub.
25331 (getTransparency): Mark as stub.
25332 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25333 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25334 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25336 (getImageCapabilities): Likewise.
25337 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25338 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25339 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25341 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25342 (getAdvanceBetween): Likewise.
25343 (getLayout): Likewise.
25344 (insertChar): Likewise.
25345 (getLineBreakIndex): Likewise.
25346 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25347 (getAdvance): Likewise.
25348 (getAscent): Likewise.
25349 (getDescent): Likewise.
25350 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25351 (insertChar): Likewise.
25352 (nextLayout): Likewise.
25353 (nextLayout): Likewise.
25354 (nextOffset): Likewise.
25355 (nextOffset): Likewise.
25356 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25357 (equals): Likewise.
25358 (getAdvance): Likewise.
25359 (getAscent): Likewise.
25360 (getBounds): Likewise.
25361 (getDescent): Likewise.
25362 (hashCode): Likewise.
25363 (ImageGraphicAttribute): Likewise.
25364 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25365 (getJustificationInfo): Likewise.
25366 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25367 (getGlyphCharIndices): Likewise.
25368 (getGlyphOutline): Likewise.
25369 (getGlyphPixelBounds): Likewise.
25370 (getLayoutFlags): Likewise.
25371 (getPixelBounds): Likewise.
25372 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25373 (getRSB): Likewise.
25374 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25375 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25376 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25378 (resetRecognizer): Likewise.
25379 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25381 (getNativesForFlavor): Likewise.
25382 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25383 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25385 (getRegion): Likewise.
25386 (createUI): Likewise.
25387 (initialize): Likewise.
25388 (uninitialize): Likewise.
25389 (getDefaults): Likewise.
25391 (shouldUpdateStyleOnAncestorChanged): Likewise.
25392 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25394 (getPreferredSize): Likewise.
25395 (getMaximumSize): Likewise.
25396 (paintText): Likewise.
25397 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25399 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25401 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25403 * java/io/ObjectStreamConstants.java: Added since tag.
25404 (PROTOCOL_VERSION_1): Added javadoc.
25405 (PROTOCOL_VERSION_2): Likewise.
25406 * java/io/ObjectOutputStream.java:
25407 (setDefaultProtocolVersion): Removed.
25408 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25410 2006-03-21 Lillian Angel <langel@redhat.com>
25412 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25413 (BMPInfoHeader): Removed debug lines.
25414 * gnu/javax/imageio/bmp/EncodeRLE4.java
25415 (encode): Implemented.
25416 (uncompress): New function implemented to
25417 uncompress the image before encoding.
25418 * gnu/javax/imageio/bmp/EncodeRLE8.java
25419 (encode): Implemented.
25420 (uncompress): New function implemented to
25421 uncompress the image before encoding.
25423 2006-03-21 Roman Kennke <kennke@aicas.com>
25425 * javax/swing/text/html/FormView.java
25426 (getImageData): New helper method.
25428 2006-03-21 Tom Tromey <tromey@redhat.com>
25430 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25432 (Unsafe): Now final.
25434 2006-03-21 Roman Kennke <kennke@aicas.com>
25436 * javax/swing/text/html/FormView.java
25437 (MouseEventListener): New inner class.
25439 2006-03-21 Roman Kennke <kennke@aicas.com>
25441 * javax/swing/text/html/ListView.java: New file.
25443 2006-03-21 Tom Tromey <tromey@redhat.com>
25445 * java/text/Bidi.java: Completed.
25447 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25449 * javax/swing/JTable.java:
25450 (columnAtPoint): Removed the null check, this method should throw a NPE
25451 if the argument is null.
25453 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25455 * javax/swing/text/DefaultHighlighter.java:
25456 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25458 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25460 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25461 the textcomponent having a selection.
25462 (clearSelection): Clear 'componentWithSelection' variable.
25463 (handleSelection): Clear selection of current component having a
25464 selection before setting a new selection in another component.
25465 (mouseDragged): Only react on left mouse button.
25466 (mouseClicked): Only react on left mouse button.
25468 2006-03-21 Roman Kennke <kennke@aicas.com>
25470 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25471 (paintContentBorderTopEdge): Implemented.
25472 (paintContentBorderBottomEdge): Implemented.
25473 (paintContentBorderLeftEdge): Implemented.
25474 (paintContentBorderRightEdge): Implemented.
25475 (isLastTabInRun): New helper method.
25477 2006-03-21 Roman Kennke <kennke@aicas.com>
25479 * javax/swing/JTabbedPane.java
25480 (Page.getForeground): Fall back to returning the tabbed pane's
25481 foreground if no foreground has been exclicitly set.
25483 2006-03-21 Roman Kennke <kennke@aicas.com>
25485 * javax/swing/plaf/metal/MetalComboBoxButton.java
25486 (setEnabled): Update colors of button correctly.
25487 * javax/swing/plaf/metal/MetalComboBoxUI.java
25488 (MetalPropertyChangeListener.propertyChange): Update the colors
25489 of the list and the button when any of the color properties
25490 of the ComboBox change.
25492 2006-03-21 Roman Kennke <kennke@aicas.com>
25494 * javax/swing/plaf/basic/BasicButtonUI.java
25495 (uninstallDefaults): Only nullify button colors if they are
25496 not UIResource instances.
25498 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25500 * javax/swing/JComponent.java
25501 (AccessibleJComponent.getAccessibleDescription): Call super,
25502 * javax/swing/JToolTip.java: API doc updates all over, plus
25503 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25504 (AccessibleJToolTip.getAccessibleRole): Implemented,
25505 (getAccessibleContext): Implemented,
25506 (paramString): Reimplemented,
25507 (setComponent): Fire PropertyChangeEvent,
25508 (setTipText): Likewise.
25510 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25512 * java/util/Formatter.java:
25513 Make the class final.
25515 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25517 * java/lang/System.java:
25518 (nanoTime()): Documented.
25519 * java/lang/Thread.java:
25520 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25521 Added docs and security check.
25522 (getUncaughtExceptionHandler()): Documented.
25523 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25524 Added docs and security check.
25525 (getDefaultUncaughtExceptionHandler()): Documented.
25526 (getId()): Documented.
25527 (Thread.State): Documented.
25528 * vm/reference/gnu/classpath/Unsafe.java:
25530 (getUnsafe()): Updated to handle security.
25532 2006-03-20 Tom Tromey <tromey@redhat.com>
25534 * java/lang/System.java:
25535 (nanoTime()): Implemented.
25536 * java/lang/Thread.java:
25537 (getId()): Implemented.
25538 * java/util/AbstractMap.java:
25539 (SimpleImmutableEntry): New 1.6 class.
25540 (BasicMapEntry): Modified to be SimpleEntry.
25541 * java/util/Collections.java:
25542 Modified to use SimpleEntry.
25543 * java/util/EnumMap.java: Likewise.
25544 * java/util/HashMap.java: Likewise.
25545 * java/util/Hashtable.java: Likewise.
25546 * java/util/TreeMap.java: Likewise.
25547 * vm/reference/gnu/classpath/Unsafe.java:
25548 New class to handle low-level facilities for concurrency.
25549 * vm/reference/java/lang/VMSystem.java:
25550 (nanoTime()): Implemented.
25552 2006-03-20 Tom Tromey <tromey@redhat.com>
25554 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25555 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25556 (CertStoreSpi): Updated throws clause.
25557 * java/security/cert/CertPathValidatorSpi.java: Added import for
25559 (engineValidate): Updated 'throws' clause.
25560 * java/security/cert/PKIXParameters.java: Javadoc fix.
25561 * java/security/cert/X509CertSelector.java
25562 (setAuthorityKeyIdentifier): Javadoc fix.
25564 2006-03-20 Tom Tromey <tromey@redhat.com>
25566 * .classpath: Build gnu.javax.swing.plaf.
25568 2006-03-20 Lillian Angel <langel@redhat.com>
25570 * gnu/javax/imageio/bmp/BMPDecoder.java:
25571 Removed unneeded import.
25572 * gnu/javax/imageio/bmp/BMPEncoder.java:
25574 * gnu/javax/imageio/bmp/BMPFileHeader.java
25575 (BMPFileHeader): New constructor used to create info header
25576 for an output stream.
25577 (write): Fixed indexes.
25578 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25579 Initialized writerSpiNames field.
25580 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25582 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25584 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25585 Change visibility for fields.
25586 (BMPInfoHeader): New constructor used to create
25587 file header for an output stream.
25588 (intToDWord): New method. Converts an int to a
25590 (intToWord): New method. Converts an int to a word.
25591 * gnu/javax/imageio/bmp/DecodeBF32.java:
25592 Removed unneeded imports.
25593 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25595 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25597 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25599 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25601 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25603 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25605 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25607 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25609 * javax/imageio/ImageIO.java:
25612 2006-03-20 Roman Kennke <kennke@aicas.com>
25614 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25615 (TabbedPaneLayout.normalizeTabRuns): New method.
25616 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25617 (paintTabBorder): Replaced if-else chain with switch.
25618 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25620 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25622 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25624 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25626 (paintTabBackground): Fetch background color from the TabbedPane.
25627 Fixed painting and improved by not using fillPolygon, and instead
25628 using fillRectangle. Replaced if-else chain with switch.
25629 (calculateMaxTabHeight): Added overridden method with FIXME.
25630 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25632 (paintContentBorderTopEdge): Added stub with FIXME.
25633 (paintContentBorderBottomEdge): Added stub with FIXME.
25634 (paintContentBorderLeftEdge): Added stub with FIXME.
25635 (paintContentBorderRightEdge): Added stub with FIXME.
25637 2006-03-20 Roman Kennke <kennke@aicas.com>
25639 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25640 (tabsOpaque): New field.
25641 (installDefaults): Fetch tabsOpaque property from UIManager.
25642 (paintTab): Fill tab background when tabsOpaque property is true.
25643 * javax/swing/plaf/basic/BasicLookAndFeel.java
25644 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25646 2006-03-20 Roman Kennke <kennke@aicas.com>
25648 * javax/swing/JTabbedPane.java
25649 (Pane.getBackground): When no background was explicitly set, return
25650 the JTabbedPane's background.
25652 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25654 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25655 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25656 * org/omg/CORBA/BAD_INV_ORDER.java,
25657 * org/omg/CORBA/BAD_CONTEXT.java,
25658 * org/omg/CORBA/BAD_OPERATION.java,
25659 * org/omg/CORBA/BAD_PARAM.java,
25660 * org/omg/CORBA/BAD_QOS.java,
25661 * org/omg/CORBA/BAD_TYPECODE.java,
25662 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25663 * org/omg/CORBA/COMM_FAILURE.java,
25664 * org/omg/CORBA/CurrentHolder.java,
25665 * org/omg/CORBA/DATA_CONVERSION.java,
25666 * org/omg/CORBA/FREE_MEM.java,
25667 * org/omg/CORBA/IMP_LIMIT.java,
25668 * org/omg/CORBA/INITIALIZE.java,
25669 * org/omg/CORBA/INTERNAL.java,
25670 * org/omg/CORBA/INTF_REPOS.java,
25671 * org/omg/CORBA/INVALID_ACTIVITY.java,
25672 * org/omg/CORBA/INVALID_TRANSACTION.java,
25673 * org/omg/CORBA/INV_FLAG.java,
25674 * org/omg/CORBA/INV_IDENT.java,
25675 * org/omg/CORBA/INV_OBJREF.java,
25676 * org/omg/CORBA/INV_POLICY.java,
25677 * org/omg/CORBA/MARSHAL.java,
25678 * org/omg/CORBA/NO_RESOURCES.java,
25679 * org/omg/CORBA/NO_MEMORY.java,
25680 * org/omg/CORBA/NO_IMPLEMENT.java,
25681 * org/omg/CORBA/NO_PERMISSION.java,
25682 * org/omg/CORBA/NO_RESPONSE.java,
25683 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25684 * org/omg/CORBA/OBJ_ADAPTER.java,
25685 * org/omg/CORBA/ParameterModeHolder.java,
25686 * org/omg/CORBA/PolicyError.java,
25687 * org/omg/CORBA/PolicyErrorHolder.java,
25688 * org/omg/CORBA/PolicyHolder.java,
25689 * org/omg/CORBA/PolicyListHolder.java,
25690 * org/omg/CORBA/REBIND.java,
25691 * org/omg/CORBA/TIMEOUT.java,
25692 * org/omg/CORBA/TRANSACTION_MODE.java,
25693 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25694 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25695 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25696 * org/omg/CORBA/TRANSIENT.java,
25697 * org/omg/CORBA/TypeCodeHolder.java,
25698 * org/omg/CORBA/UNKNOWN.java,
25699 * org/omg/CORBA/UnionMember.java,
25700 * org/omg/CORBA/UnknownUserException.java,
25701 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25702 * org/omg/CORBA/WrongTransactionHolder.java,
25703 * org/omg/IOP/IOR.java,
25704 * org/omg/IOP/IORHolder.java,
25705 * org/omg/IOP/MultipleComponentProfileHolder.java,
25706 * org/omg/IOP/ServiceContextHolder.java,
25707 * org/omg/IOP/ServiceContextListHolder.java,
25708 * org/omg/IOP/TaggedComponentHolder.java,
25709 * org/omg/IOP/TaggedProfileHolder.java,
25710 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25711 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25712 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25713 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25714 Made class final, various javadoc fixlets.
25715 * org/omg/CORBA/CompletionStatus.java,
25716 * org/omg/CORBA/PERSIST_STORE.java,
25717 * org/omg/CORBA/ValueMember.java,
25718 * org/omg/PortableInterceptor/ForwardRequest.java,
25719 * org/omg/PortableInterceptor/InvalidSlot.java,
25720 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25721 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25722 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25723 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25724 * org/omg/IOP/Encoding.java,
25725 * org/omg/IOP/TaggedComponent.java,
25726 * org/omg/IOP/TaggedProfile.java: Made class final.
25727 * org/omg/CORBA/SystemException.java: Made class abstract.
25728 * org/omg/CORBA/UserException.java: Made class abstract.
25729 (UserException): Now protected.
25730 (UserException(String)): Likewise.
25731 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25732 (typecode): Removed unused private variable.
25734 2006-03-20 Chris Burdess <dog@gnu.org>
25737 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25739 2006-03-20 Roman Kennke <kennke@aicas.com>
25741 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25742 (paintTabArea): Look up tab run indices in tabRuns array instead
25743 of using the index directly.
25745 2006-03-20 Roman Kennke <kennke@aicas.com>
25747 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25748 (paintTab): Fixed painting.
25749 (paintText): Fixed text painting.
25750 (paintFocusIndicator): Fixed painting of the focus rectangle.
25751 (paintContentBorder): Fixed painting of the content area.
25753 2006-03-20 Mark Wielaard <mark@klomp.org>
25755 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25756 static lock Object field.
25757 (produce): Synchronize on pixbufLock when calling initState(),
25758 pumpBytes() and pumpDone().
25759 (finalize): Likewise when calling finish().
25760 (GdkPixbufWriter.write): Likewise when calling streamImage().
25761 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25762 when calling loadPixbuf. Chain exception.
25763 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25764 (GtkImage(URL)): Likewise.
25765 (GtkImage(int,int)): Likewise when calling createPixmap().
25766 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25767 createScaledPixmap().
25768 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25769 (setImage): Likewise when calling createPixmap() and setPixels().
25770 (getSource): Likewise when calling getPixels().
25771 (flush): Likewise when calling freePixmap().
25772 (finalize): Likewise.
25773 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25774 drawPixelsScaledFlipped().
25775 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25776 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25777 gdk_threads_enter/leave().
25778 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25779 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25780 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25781 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25783 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25784 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25785 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25786 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25787 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25788 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25789 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25790 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25792 2006-03-20 Roman Kennke <kennke@aicas.com>
25794 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25795 (calculateTabHeight): Not need to use SwingUtilities here.
25796 (getTabInsets): Do not rotate insets.
25798 2006-03-20 Roman Kennke <kennke@aicas.com>
25800 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25801 (paint): Make sure the layout is valid before painting.
25802 (paintTabArea): Made tab painting more straightforward and efficient.
25804 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25806 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25807 (getScrollableUnitIncrement): Rewritten.
25808 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25809 (getScrollableUnitIncrement): Rewritten.
25810 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25811 (ROWS_PER_WHEEL_CLICK): New field.
25812 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25814 2006-03-20 Roman Kennke <kennke@aicas.com>
25816 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25817 (paint): Make sure the layout is valid before painting.
25818 (paintTabArea): Made tab painting more straightforward and efficient.
25820 2006-03-20 Roman Kennke <kennke@aicas.com>
25822 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25823 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25825 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25826 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25827 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25828 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25829 bounds here. That is moved into layoutContainer().
25830 (calculateSize): Correctly respect insets. Made code slightly more
25831 clear and efficient.
25832 (calculateTabRects): Rewritten completely. The old code was
25833 not quite right and unstable in some situations.
25834 (layoutContainer): Moved layout of tabbed pane's subcomponents
25836 (tabRunsDirty): New field.
25837 (rolloverTab): New field.
25838 (tabForCoordinate): Rewritten for simplicity and correctness.
25839 (setRolloverTab): New method.
25840 (getRolloverTab): New method.
25842 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25844 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25845 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25846 (getScrollableUnitIncrement
25847 * javax/swing/Scrollable.java: Documented.
25848 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25849 (MouseWheelHandler):Rewritten.
25851 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25853 * doc/vmintegration.texinfo:
25854 Updated with gnu.classpath.Unsafe
25856 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25859 Updated with VMArray and Unsafe changes.
25861 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25863 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25864 (getScrollableUnitIncrement): Rewritten.
25865 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25866 (getScrollableUnitIncrement): Rewritten.
25867 (getScrollableBlockIncrement): Rewritten.
25868 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25869 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25870 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25871 New field. (installListeners): Install wheel listeners.
25872 (uninstallListeners): Uninstall wheel listeners.
25873 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25874 of the MouseWheelListener. (installListeners): Do not install wheel
25875 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25877 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25879 * vm/reference/gnu/classpath/Unsafe.java:
25881 (getUnsafe()): Updated to handle security.
25883 2006-03-19 Tom Tromey <tromey@redhat.com>
25885 * vm/reference/gnu/classpath/Unsafe.java:
25886 New class to handle low-level facilities for concurrency.
25888 2006-03-19 Mark Wielaard <mark@klomp.org>
25890 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25891 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25892 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25893 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25895 2006-03-19 Mark Wielaard <mark@klomp.org>
25897 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25899 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25901 2006-03-19 Michael Koch <konqueror@gmx.de>
25903 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25904 resource/gnu/java/locale/LocaleInformation_am.properties,
25905 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25906 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25907 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25908 resource/gnu/java/locale/LocaleInformation_bg.properties,
25909 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25910 resource/gnu/java/locale/LocaleInformation_ca.properties,
25911 resource/gnu/java/locale/LocaleInformation_cs.properties,
25912 resource/gnu/java/locale/LocaleInformation_cy.properties,
25913 resource/gnu/java/locale/LocaleInformation_da.properties,
25914 resource/gnu/java/locale/LocaleInformation_de.properties,
25915 resource/gnu/java/locale/LocaleInformation_dv.properties,
25916 resource/gnu/java/locale/LocaleInformation_el.properties,
25917 resource/gnu/java/locale/LocaleInformation_en.properties,
25918 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25919 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25920 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25921 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25922 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25923 resource/gnu/java/locale/LocaleInformation_es.properties,
25924 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25925 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25926 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25927 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25928 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25929 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25930 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25931 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25932 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25933 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25934 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25935 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25936 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25937 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25938 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25939 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25940 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25941 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25942 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25943 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25944 resource/gnu/java/locale/LocaleInformation_fa.properties,
25945 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25946 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25947 resource/gnu/java/locale/LocaleInformation_fi.properties,
25948 resource/gnu/java/locale/LocaleInformation_fr.properties,
25949 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25950 resource/gnu/java/locale/LocaleInformation_ga.properties,
25951 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25952 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25953 resource/gnu/java/locale/LocaleInformation_hr.properties,
25954 resource/gnu/java/locale/LocaleInformation_hu.properties,
25955 resource/gnu/java/locale/LocaleInformation_id.properties,
25956 resource/gnu/java/locale/LocaleInformation_is.properties,
25957 resource/gnu/java/locale/LocaleInformation_it.properties,
25958 resource/gnu/java/locale/LocaleInformation_ja.properties,
25959 resource/gnu/java/locale/LocaleInformation_kk.properties,
25960 resource/gnu/java/locale/LocaleInformation_kl.properties,
25961 resource/gnu/java/locale/LocaleInformation_km.properties,
25962 resource/gnu/java/locale/LocaleInformation_ky.properties,
25963 resource/gnu/java/locale/LocaleInformation_lo.properties,
25964 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25965 resource/gnu/java/locale/LocaleInformation_lt.properties,
25966 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25967 resource/gnu/java/locale/LocaleInformation_lv.properties,
25968 resource/gnu/java/locale/LocaleInformation_mk.properties,
25969 resource/gnu/java/locale/LocaleInformation_mn.properties,
25970 resource/gnu/java/locale/LocaleInformation_mr.properties,
25971 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25972 resource/gnu/java/locale/LocaleInformation_ms.properties,
25973 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25974 resource/gnu/java/locale/LocaleInformation_mt.properties,
25975 resource/gnu/java/locale/LocaleInformation_nb.properties,
25976 resource/gnu/java/locale/LocaleInformation_nl.properties,
25977 resource/gnu/java/locale/LocaleInformation_nn.properties,
25978 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25979 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25980 resource/gnu/java/locale/LocaleInformation_pa.properties,
25981 resource/gnu/java/locale/LocaleInformation_pl.properties,
25982 resource/gnu/java/locale/LocaleInformation_pt.properties,
25983 resource/gnu/java/locale/LocaleInformation_ru.properties,
25984 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25985 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25986 resource/gnu/java/locale/LocaleInformation_sa.properties,
25987 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25988 resource/gnu/java/locale/LocaleInformation_sk.properties,
25989 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25990 resource/gnu/java/locale/LocaleInformation_sv.properties,
25991 resource/gnu/java/locale/LocaleInformation_sw.properties,
25992 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25993 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25994 resource/gnu/java/locale/LocaleInformation_te.properties,
25995 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25996 resource/gnu/java/locale/LocaleInformation_th.properties,
25997 resource/gnu/java/locale/LocaleInformation_ti.properties,
25998 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25999 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26000 resource/gnu/java/locale/LocaleInformation_tr.properties,
26001 resource/gnu/java/locale/LocaleInformation_tt.properties,
26002 resource/gnu/java/locale/LocaleInformation_uk.properties,
26003 resource/gnu/java/locale/LocaleInformation_ur.properties,
26004 resource/gnu/java/locale/LocaleInformation_uz.properties,
26005 resource/gnu/java/locale/LocaleInformation_zh.properties,
26006 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26007 More updates for CLDR 1.3.
26009 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
26011 * doc/vmintegration.texinfo:
26012 Updated to include VMArray.
26013 * include/Makefile.am:
26014 Replace java_lang_reflect_Array.h with
26015 java_lang_reflect_VMArray.h
26016 * include/java_lang_reflect_VMArray.h:
26017 New autogenerated header.
26018 * include/java_lang_reflect_Array.h:
26020 * java/lang/reflect/Array.java:
26021 (newInstance(Class,int)): Calls VMArray.
26022 (createMultiArray(Class,int[],int)): Likewise.
26023 (createObjectArray(Class,int)): Removed.
26024 * native/jni/java-lang/Makefile.am:
26025 Replaced java_lang_reflect_Array.c with
26026 java_lang_reflect_VMArray.c
26027 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26028 Renamed from java_lang_reflect_Array.c.
26029 * vm/reference/java/lang/reflect/VMArray.java:
26030 (createObjectArray(Class,int)): Native method moved
26031 from java.lang.reflect.Array.
26033 2006-03-19 Roman Kennke <kennke@aicas.com>
26035 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26036 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26038 * examples/gnu/classpath/examples/swing/Demo.java
26039 (mkButtonBar): Hook up theme editor.
26040 (mkMenuBar): Hook up theme editor.
26042 2006-03-19 Roman Kennke <kennke@aicas.com>
26044 * javax/swing/plaf/basic/BasicFileChooserUI.java
26045 (ApproveSelectionAction.actionPerformed): Added case for when
26046 nothing has been selected but the user has typed a filename
26047 into the textfield.
26048 (getFileName): Return the value of the text field.
26050 2006-03-19 Roman Kennke <kennke@aicas.com>
26052 * javax/swing/JColorChooser.java
26053 (createDialog): Create JDialog instead of ModalDialog. Make this
26054 dialog modal by calling setModal(true).
26055 (ModalDialog): Removed unnecessary inner class.
26057 2006-03-19 Tom Tromey <tromey@redhat.com>
26059 * java/awt/font/NumericShaper.java: Rewrote.
26061 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26063 * javax/swing/plaf/basic/BasicTableUI.java:
26064 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26065 New field. MouseInputHandler.mouseWheelMoved): New method.
26066 (installListeners): Register MouseInputHandler as
26067 wheel listener also.
26069 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26072 * javax/swing/ViewportLayout.java (layoutContainer):
26073 If Scrollable tracks dimension, set view size to the port size.
26074 If port is larger than the view, move the view to the top/left.
26076 2006-03-19 Roman Kennke <kennke@aicas.com>
26078 * javax/swing/MenuSelectionManager.java
26079 (isComponentPartOfCurrentMenu): Also consider the first element
26080 in a menu selection list. Make a isDescendentFrom check instead
26081 of simple equals to also catch sub components.
26083 2006-03-19 Roman Kennke <kennke@aicas.com>
26085 * javax/swing/JComboBox.java
26086 (actionPerformed): Fetch selected item directly from the editor
26087 instead of trying to get it from the event.
26089 2006-03-19 Roman Kennke <kennke@aicas.com>
26091 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26092 (listener): Removed field.
26093 (BasicComboBoxEditor): Removed initialization of listener field.
26094 (addActionListener): Add listener directly to editor.
26095 (removeActionListener): Remove listener directly from editor.
26096 (ComboBoxEditorListener): Removed class.
26097 * javax/swing/plaf/basic/BasicComboBoxUI.java
26098 (getPreferredSize): Fixed to return the minimumSize.
26099 (getMinimumSize): Improved code for more clearness.
26100 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26101 (rectangleForCurrentValue): Correctly respect insets.
26102 (getDefaultSize): Return preferredSize here. Dont override height
26104 (getDisplaySize): Moved around code for more clearness. Added
26105 handling of prototype renderer.
26106 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26107 arrowButton bounds since the former depends on the latter.
26108 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26109 (MetalComboBoxButton): Make button rollover disabled.
26110 (isFocusTraversable): Return false unconditionally.
26111 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26112 (EditorTextField): New class. Fixes the size properties.
26113 (MetalComboBoxEditor): Create instance of EditorTextField.
26114 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26115 (getMinimumSize): Fixed editable size.
26117 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26119 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26121 2006-03-18 Roman Kennke <kennke@aicas.com>
26123 * javax/swing/plaf/metal/MetalToolBarUI.java
26124 (update): Added overridden method to support OceanTheme.
26126 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26128 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26129 Activate the cell editing on character keystroke.
26131 2006-03-18 Mark Wielaard <mark@klomp.org>
26133 * java/awt/Component.java (eventTypeEnabled): Handle
26134 MouseEvent.MOUSE_WHEEL.
26135 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26136 New callback method.
26137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26138 (AWT_MOUSE_WHEEL): New constant.
26139 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26140 (postMouseWheelEventID): New static variable.
26141 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26142 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26143 (button_number): Renamed to ...
26144 (button_number_direction): variable to hold button number or scroll
26146 (component_button_press_cb): Use button_number_direction.
26147 (component_scroll_cb): New static callback function.
26149 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26151 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26152 Return without action.
26154 2006-03-18 Mark Wielaard <mark@klomp.org>
26156 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26157 Don't cast graphics object to GdkGraphics.
26158 (updateComponent): Likewise.
26160 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26162 * examples/gnu/classpath/examples/swing/TableDemo.java
26163 (TModel.getColumnClass): Set second column to Icon.
26164 (TModel.isCellEditable): Say icons are not editable.
26165 (createContent): Fill the in second column with some icons from
26168 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26170 * examples/gnu/classpath/examples/swing/Demo.java
26171 (mkButtonBar): Set maximal button bar height to the preferred height.
26173 2006-03-18 Roman Kennke <kennke@aicas.com>
26175 * javax/swing/plaf/basic/BasicComboPopup.java
26176 (show): Substract insets from scroller width.
26177 (getPopupHeightForRowCount): If height==0, return a default of 100
26178 instead for empty ComboBoxes.
26180 2006-03-18 Roman Kennke <kennke@aicas.com>
26182 * javax/swing/plaf/basic/BasicLookAndFeel.java
26183 (PopupHelper.autoClosePopups): Removed field.
26184 (PopupHelper.mousePressed): Removed processing of registered
26186 (registerForAutoClose): Removed unneeded method.
26187 (autoClosePopups): Removed unneeded method.
26188 (registerForAutoClose): Removed unneeded method.
26190 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26192 * javax.swing.JTable.java (TableTextField): Set border.
26193 (moveToCellBeingEdited): Do not adjust the editor boundaries
26195 2006-03-18 Michael Koch <konqueror@gmx.de>
26197 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26198 resource/gnu/java/locale/LocaleInformation_af.properties,
26199 resource/gnu/java/locale/LocaleInformation_am.properties,
26200 resource/gnu/java/locale/LocaleInformation_ar.properties,
26201 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26202 resource/gnu/java/locale/LocaleInformation_be.properties,
26203 resource/gnu/java/locale/LocaleInformation_bg.properties,
26204 resource/gnu/java/locale/LocaleInformation_bn.properties,
26205 resource/gnu/java/locale/LocaleInformation_ca.properties,
26206 resource/gnu/java/locale/LocaleInformation_cs.properties,
26207 resource/gnu/java/locale/LocaleInformation_cy.properties,
26208 resource/gnu/java/locale/LocaleInformation_da.properties,
26209 resource/gnu/java/locale/LocaleInformation_de.properties,
26210 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26211 resource/gnu/java/locale/LocaleInformation_dz.properties,
26212 resource/gnu/java/locale/LocaleInformation_en.properties,
26213 resource/gnu/java/locale/LocaleInformation_eo.properties,
26214 resource/gnu/java/locale/LocaleInformation_es.properties,
26215 resource/gnu/java/locale/LocaleInformation_et.properties,
26216 resource/gnu/java/locale/LocaleInformation_eu.properties,
26217 resource/gnu/java/locale/LocaleInformation_fa.properties,
26218 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26219 resource/gnu/java/locale/LocaleInformation_fi.properties,
26220 resource/gnu/java/locale/LocaleInformation_fo.properties,
26221 resource/gnu/java/locale/LocaleInformation_fr.properties,
26222 resource/gnu/java/locale/LocaleInformation_ga.properties,
26223 resource/gnu/java/locale/LocaleInformation_gl.properties,
26224 resource/gnu/java/locale/LocaleInformation_gu.properties,
26225 resource/gnu/java/locale/LocaleInformation_he.properties,
26226 resource/gnu/java/locale/LocaleInformation_hi.properties,
26227 resource/gnu/java/locale/LocaleInformation_hr.properties,
26228 resource/gnu/java/locale/LocaleInformation_hu.properties,
26229 resource/gnu/java/locale/LocaleInformation_hy.properties,
26230 resource/gnu/java/locale/LocaleInformation_id.properties,
26231 resource/gnu/java/locale/LocaleInformation_is.properties,
26232 resource/gnu/java/locale/LocaleInformation_it.properties,
26233 resource/gnu/java/locale/LocaleInformation_ja.properties,
26234 resource/gnu/java/locale/LocaleInformation_ka.properties,
26235 resource/gnu/java/locale/LocaleInformation_km.properties,
26236 resource/gnu/java/locale/LocaleInformation_ko.properties,
26237 resource/gnu/java/locale/LocaleInformation_lo.properties,
26238 resource/gnu/java/locale/LocaleInformation_lt.properties,
26239 resource/gnu/java/locale/LocaleInformation_lv.properties,
26240 resource/gnu/java/locale/LocaleInformation_mk.properties,
26241 resource/gnu/java/locale/LocaleInformation_mr.properties,
26242 resource/gnu/java/locale/LocaleInformation_ms.properties,
26243 resource/gnu/java/locale/LocaleInformation_mt.properties,
26244 resource/gnu/java/locale/LocaleInformation_nb.properties,
26245 resource/gnu/java/locale/LocaleInformation_nl.properties,
26246 resource/gnu/java/locale/LocaleInformation_nn.properties,
26247 resource/gnu/java/locale/LocaleInformation_om.properties,
26248 resource/gnu/java/locale/LocaleInformation_pl.properties,
26249 resource/gnu/java/locale/LocaleInformation_ps.properties,
26250 resource/gnu/java/locale/LocaleInformation_pt.properties,
26251 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26252 resource/gnu/java/locale/LocaleInformation_ro.properties,
26253 resource/gnu/java/locale/LocaleInformation_ru.properties,
26254 resource/gnu/java/locale/LocaleInformation_sk.properties,
26255 resource/gnu/java/locale/LocaleInformation_sl.properties,
26256 resource/gnu/java/locale/LocaleInformation_so.properties,
26257 resource/gnu/java/locale/LocaleInformation_sq.properties,
26258 resource/gnu/java/locale/LocaleInformation_sr.properties,
26259 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26260 resource/gnu/java/locale/LocaleInformation_sv.properties,
26261 resource/gnu/java/locale/LocaleInformation_sw.properties,
26262 resource/gnu/java/locale/LocaleInformation_ta.properties,
26263 resource/gnu/java/locale/LocaleInformation_te.properties,
26264 resource/gnu/java/locale/LocaleInformation_th.properties,
26265 resource/gnu/java/locale/LocaleInformation_tr.properties,
26266 resource/gnu/java/locale/LocaleInformation_uk.properties,
26267 resource/gnu/java/locale/LocaleInformation_uz.properties,
26268 resource/gnu/java/locale/LocaleInformation_vi.properties,
26269 resource/gnu/java/locale/LocaleInformation_zh.properties,
26270 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26271 Updated to use the new localized strings for currencies, languages,
26272 variants, territories, etc.
26274 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26276 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26277 (start, end): Added comment about the negative values of them,
26278 (finish): Saves the input text in matchedCharIndexed,
26279 (toString): If the start or end index is out of bounds of the
26280 matched text, get the substring from matchedCharIndexed.
26281 Added special handlings in case start/end index < -1,
26282 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26283 Added special handlings in case start/end index < -1,
26284 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26285 found match, but keep the index as the original match.
26286 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26287 found match, but keep the index as the original match.
26288 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26289 in case start/end index < -1.
26291 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26293 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26296 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26298 * javax/swing/text/DefaultCaret.java:
26299 (mouseClicked) Use setDot() and moveDot() instead of
26300 JTextComponent.select().
26302 2006-03-17 Roman Kennke <kennke@aicas.com>
26304 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26305 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26306 border painting for the Ocean theme.
26307 (MetalComboBoxEditor): Create editor directly instead of going
26310 2006-03-17 Roman Kennke <kennke@aicas.com>
26312 * javax/swing/text/JTextComponent.java
26313 (JTextComponent): Make text components opaque.
26315 2006-03-17 Roman Kennke <kennke@aicas.com>
26317 * javax/swing/plaf/metal/MetalComboBoxUI.java
26318 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26320 (MetalPropertyChangeListener.propertyChange): Update focusable
26321 flag according to the enable and editable state.
26322 (editablePropertyChanged): Removed unnecessary code.
26323 (getMinimumSize): Rewritten to correctly compute the
26324 size, respecting the insets of the components and the icon,
26325 the visual properties of the combobox, etc.
26326 (configureEditor): Update listeners correctly.
26327 (unconfigureEditor): Update listeners correctly.
26328 (layoutComboBox): Implemented.
26330 2006-03-17 Roman Kennke <kennke@aicas.com>
26332 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26333 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26334 instead of Flush3DBorder.
26335 (paintBorder): Fixed border painting.
26336 (editorBorderInsets): Fixed border's insets.
26338 2006-03-17 Roman Kennke <kennke@aicas.com>
26340 * javax/swing/plaf/metal/MetalComboBoxButton.java
26341 (rendererPane): Documented.
26342 (MetalComboBoxButton): Set enabled flag from ComboBox.
26343 Set focusable flag from ComboBox's enabled flag.
26344 (isFocusTraversable): Make button focus traversable if
26345 ComboBox is not editable but enable.
26346 (paintComponent): Fixed painting to correctly adjust
26347 the boxes of the renderer and button.
26349 2006-03-17 Roman Kennke <kennke@aicas.com>
26351 * javax/swing/plaf/basic/BasicButtonUI.java
26352 (installDefaults): Only install UI margin if installed margin.
26353 is null or a UIResource.
26354 (uninstallDefaults): Only uninstall margin if it's
26357 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26359 * javax/swing/text/DefaultCaret.java:
26360 (mouseClicked) Use setDot() and moveDot() instead of
26361 JTextComponent.select().
26363 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26365 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26366 inner classes into package-private inner classes, added actions
26367 for caret movement and selection to the next and previous word
26368 and an action which selects the whole text.
26370 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26372 * javax/swing/Spring.java: Uncomment springdebug methods and
26373 rename them toString.
26374 * javax/swing/SpringLayout.java: Likewise.
26376 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26378 * javax/swing/text/FieldView.java:
26379 (viewToModel): Added call to adjust allocation area.
26381 2006-03-17 Roman Kennke <kennke@aicas.com>
26383 * javax/swing/plaf/basic/BasicComboBoxUI.java
26384 (mouseListener): Removed field.
26385 (buttonBackground): Removed field.
26386 (buttonShadow): Removed field.
26387 (buttonDarkShadow): Removed field.
26388 (buttonHighlight): Removed field.
26389 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26390 (installUI): Initialize and configure renderer and editor here.
26391 (uninstallUI): Close popup before uninitializing.
26392 Message popup that we are uninitializing. Clear layout.
26393 (installDefaults): Install UI border. Don't install colors.
26394 (installListeners): Install listeners fetched from the popup.
26395 Remove handling of mouseListener.
26396 (uninstallDefaults): Uninstall border. Don't handle colors.
26397 (uninstallListeners): Don't handle mouseListener. Uninstall
26398 listener from the popup.
26399 (createMouseListener): Removed method.
26400 (createRenderer): Create UIResource.
26401 (installComponents): Cleaned up.
26402 (uninstallComponents): Only remove renderer when it is
26404 (addEditor): Remove editor before adding new one.
26405 Fetch editor from comboBox.
26406 (removeEditor): Only do something when editor != null. Unconfigure
26407 editor before removing.
26408 (configureEditor): Add key listener. Call comboBox.configureEditor.
26409 (unconfigureEditor): Removed key listener.
26410 (configureArrowButton): Only handle when arrowButton != null.
26411 Add mouse listeners to arrow button.
26412 (unconfigureArrowButton): Remove listeners.
26413 (createArrowButton): Don't handle colors here.
26414 (setPopupVisible): Don't handle focus here.
26415 (paint): Only paint when comboBox is not editable. Update
26417 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26418 (getMinimumSize): Respect insets here.
26419 (getMaximumSize): Return preferredSize with width of 32767.
26420 (getInsets): Return ComboBox insets.
26421 (paintCurrentValue): Paint using currentValuePane.
26422 Install correct colors. Don't revalidate.
26423 (paintCurrentValueBackground): Implemented.
26424 (getDefaultSize): Reimplemented using a default renderer.
26425 (getDisplaySize): Reimplemented to use renderer.
26426 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26427 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26428 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26429 (FocusHandler.focusGained): Don't invalidate minimumSize.
26430 (FocusHandler.focusLost): Don't invalidate minimumSize.
26431 Only close popup if focus change is not temporary.
26432 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26433 Reconfigure editor if not null.
26434 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26435 editor if necessary.
26436 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26437 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26438 (MouseHandler): Removed unnecessary class.
26440 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26442 * examples/gnu/classpath/examples/swing/Demo.java:
26443 (Demo): Set default closing operation to shutdown the runtime.
26445 2006-03-17 Roman Kennke <kennke@aicas.com>
26447 * javax/swing/plaf/basic/BasicComboPopup.java
26448 (BasicComboPopup): Create listeners here.
26449 Configure components here.
26450 (show): Correctly calculate bounds using computePopupBounds().
26451 Make scroller fixed-size. Removed special autocloser handling.
26452 (hide): Rewritten to use MenuSelectionHandler.
26453 (createList): Don't set selection mode here.
26454 (configureList): Correctly install colors and fonts and selectionMode.
26455 (createScroller): Set scrollpane policies.
26456 (configureScroller): Make scroller and scrollbar not-focusable.
26457 (configurePopup): Make popup opaque and borderPainted.
26458 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26459 (delegateFocus): Implemented.
26460 (convertMouseEvent): Implemented.
26461 (updateListBoxSelectionForEvent): Implemented to also handle
26463 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26464 Only open popup on left mouse-click.
26465 (InvocationMouseHandler.mouseReleased): Rewritten.
26466 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26467 support autoscrolling.
26468 (ItemHandler.itemStateChanged): Implemented to sync selection with
26470 (ListMouseHandler.mouseReleased): Fetch selected index directly
26472 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26474 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26475 When model changes, then update listeners correctly.
26476 (uninstallListeners): Don't uninstall list listeners.
26477 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26479 (syncSelection): New helper method.
26481 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26483 * javax/swing/text/PlainView.java:
26484 (drawLine): Rewritten.
26485 (drawSelectedText): Corrected last argument for
26486 Utilities.drawTabbedText() call.
26487 (paint): Store start and end of selection in object variables,
26488 store constant values of for-loop in local variables.
26489 * javax/swing/text/Utilities.java:
26490 (drawTabbedText): Add 'pixelWidth' to the return value, store
26491 constant value of for-loop in local variable.
26493 2006-03-17 Roman Kennke <kennke@aicas.com>
26495 * javax/swing/plaf/basic/BasicComboPopup.java
26496 (BasicComboPopup): Create listeners here.
26497 Configure components here.
26498 (show): Correctly calculate bounds using computePopupBounds().
26499 Make scroller fixed-size. Removed special autocloser handling.
26500 (hide): Rewritten to use MenuSelectionHandler.
26501 (createList): Don't set selection mode here.
26502 (configureList): Correctly install colors and fonts and selectionMode.
26503 (createScroller): Set scrollpane policies.
26504 (configureScroller): Make scroller and scrollbar not-focusable.
26505 (configurePopup): Make popup opaque and borderPainted.
26506 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26507 (delegateFocus): Implemented.
26508 (convertMouseEvent): Implemented.
26509 (updateListBoxSelectionForEvent): Implemented to also handle
26511 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26512 Only open popup on left mouse-click.
26513 (InvocationMouseHandler.mouseReleased): Rewritten.
26514 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26515 support autoscrolling.
26516 (ItemHandler.itemStateChanged): Implemented to sync selection with
26518 (ListMouseHandler.mouseReleased): Fetch selected index directly
26520 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26522 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26523 When model changes, then update listeners correctly.
26524 (uninstallListeners): Don't uninstall list listeners.
26525 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26527 (syncSelection): New helper method.
26529 2006-03-17 Roman Kennke <kennke@aicas.com>
26531 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26532 (noFocusBorder): Make border with insets of (1,1,1,1).
26533 (BasicComboBoxRenderer): Make renderer opaque.
26534 No need to explicitly set alignment.
26535 (getListCellRendererComponent): Rewritten to correctly initialize
26538 2006-03-17 Roman Kennke <kennke@aicas.com>
26540 * javax/swing/JPopupMenu.java
26541 (setVisible): Handle JPopupMenu opening and closing via
26542 the MenuSelectionHandler.
26544 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26546 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26547 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26548 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26550 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26551 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26552 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26553 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26554 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26555 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26556 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26557 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26558 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26559 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26561 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26563 * java/rmi/activation/Activatable.java: Implemented.
26564 java/rmi/activation/ActivationDesc.java: Implemented.
26565 java/rmi/activation/ActivationGroup.java: Implemented.
26566 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26567 java/rmi/activation/ActivationID.java: Implemented.
26568 java/rmi/activation/ActivationSystem.java: Implemented.
26569 * gnu/java/rmi/server/UnicastServerRef.java
26570 (exportObject, incommingMessageCall): Documented.
26571 * java/rmi/activation/package.html: Documented.
26572 * java/rmi/server/ObjID.java (objNum, space): Made package
26574 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26575 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26577 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26578 gnu/java/rmi/activation/BidiTable.java: New file.
26579 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26580 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26581 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26583 2006-03-17 Mark Wielaard <mark@klomp.org>
26585 * java/security/BasicPermission.java (BasicPermission): Check
26586 name equals empty string to force NullPointerException.
26588 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26591 Commit patch by Caolan McNamara <caolanm@redhat.com>
26592 * javax/swing/Spring.java: Complete implementation
26593 * javax/swing/SpringLayout.java: Likewise.
26595 2006-03-16 Keith Seitz <keiths@redhat.com>
26597 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26599 (run): Remove catch clause for InterruptedException. It is no
26602 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26604 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26605 (getFontMetrics): Handle monospaced fonts specially.
26607 2006-03-16 Keith Seitz <keiths@redhat.com>
26609 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26610 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26611 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26612 Don't suspend the current thread unless it is not part of the JDWP
26615 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26617 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26619 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26620 font metrics through toolkit.
26621 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26624 (getFontMetrics): To calculate Java logical ascent and descent
26625 values, average Pango ink and logical values.
26627 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26629 * java/lang/Character.java: Updated header comment.
26631 2006-03-16 Tom Tromey <tromey@redhat.com>
26633 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26635 * javax/sound/sampled/FloatControl.java: Now abstract.
26636 * javax/sound/sampled/EnumControl.java: Now abstract.
26637 * javax/sound/sampled/CompoundControl.java: Now abstract.
26638 * javax/sound/sampled/BooleanControl.java: Now abstract.
26640 2006-03-16 Tom Tromey <tromey@redhat.com>
26642 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26644 2006-03-16 Roman Kennke <kennke@aicas.com>
26646 * java/util/zip/ZipFile.java
26647 (openFile): New helper method.
26648 (ZipFile): Use new openFile method to ensure the proper
26649 exception is thrown. This applies for all overloaded constructors.
26651 2006-03-16 Roman Kennke <kennke@aicas.com>
26653 * java/text/DateFormatSymbols.java
26654 (setAmPmStrings): Added null check and throw NPE.
26655 (setEras): Likewise.
26656 (setLocalPatternChars): Likewise.
26657 (setMonths): Likewise.
26658 (setShortMonths): Likewise.
26659 (setShortWeekdays): Likewise.
26660 (setWeekdays): Likewise.
26661 (setZoneStrings): Likewise.
26663 2006-03-16 Roman Kennke <kennke@aicas.com>
26665 * javax/swing/DefaultDesktopManager.java
26666 (iconifyFrame): Repaint after removing the frame.
26667 (removeIconFor): Repaint after removing the icon.
26669 2006-03-16 Roman Kennke <kennke@aicas.com>
26671 * javax/swing/JInternalFrame.java
26672 (remove): Respect the rootPaneCheckingEnabled flag here.
26674 2006-03-16 Roman Kennke <kennke@aicas.com>
26676 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26677 Moved from examples into gnu.javax.swing.. namespace.
26678 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26679 Moved to gnu.javax.swing.. namespace.
26680 * examples/gnu/classpath/examples/swing/Demo.java:
26681 (themesMenu): New field. Used to disable theme switch in
26683 (mkMenuBar): Added L&F menu.
26684 (ChangeThemeAction.actionPerformed): Only switch theme when
26686 (ChangeLAFAction): New class used for changing themes.
26687 * javax/swing/UIManager.java
26688 (installed): Added GNU L&F as installed L&F.
26690 2006-03-16 Mark Wielaard <mark@klomp.org>
26692 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26693 * examples/gnu/classpath/examples/icons/badge.png: Added.
26694 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26695 from icon directory.
26697 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26699 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26701 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26702 * examples/gnu/classpath/examples/awt/Demo.java: Add
26703 AnimationApplet demo.
26704 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26707 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26710 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26712 (handleEvent): Likewise.
26713 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26715 (beginNativeRepaint): Remove method.
26716 (endNativeRepaint): Likewise.
26717 (handleEvent): Call paintComponent and updateComponent.
26718 (paintComponent): New method.
26719 (updateComponent): Likewise.
26720 (repaint): Return early if width or height is less than one.
26721 (postExposeEvent): Remove isInRepaint reference.
26722 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26724 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26725 from GtkWindowPeer.
26726 (postMouseEvent): Likewise.
26727 (postExposeEvent): Likewise.
26728 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26729 Override to do nothing.
26730 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26731 from GtkWindowPeer.
26732 (postMouseEvent): Likewise.
26733 (postExposeEvent): Likewise.
26734 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26735 paint and update handling from GtkComponentPeer.
26736 (updateComponent): Override to call paintComponent.
26737 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26738 gdk_flush calls with schedule_flush calls.
26739 (flush): New function.
26740 (schedule_flush): Likewise.
26742 2006-03-15 Tom Tromey <tromey@redhat.com>
26744 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26746 (BCSIterator): Likewise.
26747 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26749 (BCSSProxyServiceProvider): Likewise.
26750 (BCSSServiceProvider): Likewise.
26752 2006-03-15 Tom Tromey <tromey@redhat.com>
26754 * javax/sound/midi/Track.java (Track): New constructor.
26755 (events): Now package-private.
26756 * javax/sound/midi/MidiUnavailableException.java
26757 (MidiUnavailableException): Removed invalid constructors.
26758 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26759 * javax/sound/midi/InvalidMidiDataException.java
26760 (InvalidMidiDataException): Removed invalid constructors.
26761 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26762 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26763 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26764 (SYSTEM_EXCLUSIVE): Removed.
26765 (getDataLength): Updated.
26766 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26767 (equals): Now final
26768 (getName): Now final.
26769 (getVendor): Now final.
26770 (getDescription): Likewise.
26771 (hashCode): Likewise.
26772 (getVersion): Likewise.
26773 (toString): Likewise.
26774 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26775 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26776 (getEarlyReflectionDelay): Likewise.
26777 (getEarlyReflectionIntensity): Likewise.
26778 (getLateReflectionDelay): Likewise.
26779 (getLateReflectionIntensity): Likewise.
26780 (toString): Likewise.
26781 * javax/sound/sampled/Port.java (toString): Now final.
26782 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26783 (getLine): Likewise.
26784 (getType): Likewise.
26785 * javax/sound/sampled/Mixer.java (Info): Now protected.
26786 (getDescription): Now final.
26787 (getName): Likewise.
26788 (getVendor): Likewise.
26789 (getVersion): Likewise.
26790 (toString): Likewise.
26791 * javax/sound/sampled/Control.java: Now abstract.
26792 (Type.toString): Now final.
26794 2006-03-15 Keith Seitz <keiths@redhat.com>
26796 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26797 of this redundant variable.
26798 (LineTable): Assert that the number of line numbers and the number of
26799 code indicies is the same.
26801 2006-03-15 Tom Tromey <tromey@redhat.com>
26803 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26805 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26807 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26808 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26809 * java/util/zip/Inflater.java (end): Not deprecated.
26810 * java/util/zip/Deflater.java (end): Not deprecated.
26811 * java/text/Bidi.java (Bidi): Now final.
26812 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26814 2006-03-15 Keith Seitz <keiths@redhat.com>
26816 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26817 (Location): Index is a long, not an int.
26818 (getMethod): New method.
26819 (getIndex): New method.
26820 (toString): New method.
26822 2006-03-15 Tom Tromey <tromey@redhat.com>
26824 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26825 * java/awt/image/LookupOp.java (filter): Now final.
26826 (getBounds2D): Likewise.
26827 (getPoint2D): Likewise.
26828 (getTable): Likewise.
26829 (getRenderingHints): Likewise.
26830 * java/awt/image/ConvolveOp.java (filter): Now final.
26831 (getBounds2D): Likewise.
26832 (getKernel): Likewise.
26833 (getPoint2D): Likewise.
26834 (getRenderingHints): Likewise.
26835 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26836 (getMatrix): Likewise.
26837 (getBounds2D): Likewise.
26838 (getRenderingHints): Likewise.
26839 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26840 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26842 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26844 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26846 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26848 2006-03-15 Keith Seitz <keiths@redhat.com>
26850 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26852 (matches): Implement.
26854 2006-03-15 Keith Seitz <keiths@redhat.com>
26856 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26858 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26860 2006-03-15 Tom Tromey <tromey@redhat.com>
26862 * java/lang/StrictMath.java (signum): New methods.
26864 2006-03-15 Tom Tromey <tromey@redhat.com>
26866 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26868 2006-03-15 Lillian Angel <langel@redhat.com>
26871 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26872 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26873 Added check to avoid segmentation fault.
26875 2006-03-15 Lillian Angel <langel@redhat.com>
26877 * java/awt/Container.java
26878 (getComponentAt): Fixed documentation.
26879 (getComponentAt): Likewise.
26881 2006-03-15 Roman Kennke <kennke@aicas.com>
26883 * javax/swing/JComponent.java
26884 (dragBuffer): New field.
26885 (dragBufferInitialized): New field.
26886 (paint): Added facility for buffered dragging of components.
26887 (initializeDragBuffer): New method.
26888 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26890 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26891 (BorderListener.mouseDragged): Turn on buffered dragging.
26892 (BorderListener.mouseReleased): Turn off buffered dragging.
26894 2006-03-15 Lillian Angel <langel@redhat.com>
26896 * java/awt/Container.java
26897 (getComponentAt): Fixed documentation.
26898 (getComponentAt): Likewise.
26899 (findComponentAt): Likewise.
26900 (findComponentAt): Likewise.
26902 2006-03-15 Roman Kennke <kennke@aicas.com>
26904 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26905 (PropertyChangeHandler.propertyChange): Call enableActions().
26906 Fixed 'iconable' property name.
26908 2006-03-15 Chris Burdess <dog@gnu.org>
26911 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26913 2006-03-15 Roman Kennke <kennke@aicas.com>
26915 * examples/gnu/classpath/examples/swing/Demo.java:
26916 (desktop): New field.
26917 (mkMenuBar): Added new subdemos.
26918 (mkButtonWorld): Removed.
26919 (CheckCellRenderer): Moved to ListDemo.
26920 (LabelCellRenderer): Moved to ListDemo.
26921 (mkTreeWorld): Moved to TreeDemo.
26922 (mkDesktopWorld): Removed.
26923 (mkTabWorld): Moved to TabbedPaneDemo.
26924 (mkTabbedPane): Removed.
26925 (Demo): Replaced 'worlds' tabbed pane with desktop.
26926 (PopupAction): Made class non-static.
26927 (PopupAction.actionPerformed): Bring up subdemos in internal
26929 (mkButtonBar): Added new demos.
26930 (createDesktop): New method.
26931 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26932 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26933 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26934 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26935 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26937 2006-03-15 Lillian Angel <langel@redhat.com>
26939 * java/awt/Container.java
26940 (getComponentAt): Fixed mistake in comments.
26941 (getComponentAt): Likewise.
26942 (locate): Likewise. Also, handled lightweight components.
26943 Heavyweights take precedence over lightweights, so we should
26944 iterate through the heavyweights first.
26946 2006-03-15 Lillian Angel <langel@redhat.com>
26948 * java/awt/Container.java
26949 (getComponentAt): Added API documentation.
26950 (getComponentAt): Likewise.
26951 (locate): Likewise. Also, removed lines to ignore
26952 invisible components.
26953 (findComponentAt): Added API documentation.
26954 (findComponentAt): Added API documentation.
26955 (findComponentForMouseEvent): Removed, never used.
26957 2006-03-15 Roman Kennke <kennke@aicas.com>
26959 * javax/swing/Popup.java
26960 (LightweightPopup.show): Repaint the panel after showing it.
26962 2006-03-15 Lillian Angel <langel@redhat.com>
26964 * java/awt/Component.java
26965 (show): repaint should only be called if the component
26966 isShowing and isLightweight.
26968 2006-03-15 Roman Kennke <kennke@aicas.com>
26970 * javax/swing/JInternalFrame.java
26971 (setClosable): Made this property bound.
26972 (setResizable): Made this property bound.
26973 (setIconifiable): Made this property bound.
26974 (setMaximizable): Made this property bound.
26976 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26978 * javax/swing/table/TableColumn.java
26979 (sizeWidthToFit): Implemented.
26981 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26983 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26984 (setIdentifier): Fire required PropertyChangeEvent,
26985 (setCellEditor): Likewise.
26987 2006-03-15 Roman Kennke <kennke@aicas.com>
26989 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26990 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26991 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26992 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26993 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26994 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26995 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26996 * examples/gnu/classpath/examples/swing/TableDemo.java,
26997 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26998 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26999 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27000 * examples/gnu/classpath/examples/swing/Demo.java:
27001 Cleaned up. Reworked handling of Sub-demos to load lazily.
27002 * examples/gnu/classpath/examples/swing/DemoFactory.java:
27003 New interface. Used for loading the subdemos lazily.
27005 2006-03-15 Roman Kennke <kennke@aicas.com>
27007 * javax/swing/plaf/basic/BasicToolBarUI.java
27008 (PropertyListener.propertyChange): Added null check to avoid NPE.
27010 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27012 * javax/swing/table/TableColumn.java
27013 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27015 (minWidth): Likewise,
27016 (preferredWidth): Likewise,
27017 (maxWidth): Likewise,
27018 (headerRenderer): Likewise,
27019 (cellRenderer): Likewise,
27020 (cellEditor): Likewise,
27021 (changeSupport): Likewise,
27022 (firePropertyChange(String, Object, Object)): Removed,
27023 (firePropertyChange(String, int. int)): Likewise,
27024 (firePropertyChange(String, boolean, boolean)): Likewise,
27025 (setModelIndex): Fire property change,
27026 (setHeaderValue): Call changeSupport directly to generate event,
27027 (setHeaderRenderer): Likewise,
27028 (setCellRenderer): Likewise,
27029 (setWidth): Likewise,
27030 (setPreferredWidth): Likewise,
27031 (setMinWidth): Likewise,
27032 (setMaxWidth): Likewise,
27033 (createDefaultHeaderRenderer): Added API docs.
27035 2006-03-14 Roman Kennke <kennke@aicas.com>
27037 * examples/gnu/classpath/examples/swing/Demo.java
27038 Removed static initializer.
27039 (mkMenuBar): Made method non-static. Added themes menu.
27040 (ChangeThemeAction): New inner class, used to change themes.
27042 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27044 * javax/swing/table/TableColumn.java
27045 (setMaxWidth): Updated width and preferredWidth if necessary,
27046 (getMaxWidth): Updated API docs.
27048 2006-03-14 Roman Kennke <kennke@aicas.com>
27050 * javax/swing/plaf/basic/BasicSliderUI.java
27051 (TrackListener.mouseDragged): Only process event when slider is
27053 (TrackListener.mouseReleased): Only process event when slider is
27055 (TrackListener.mousePressed): Only process event when slider is
27058 2006-03-14 Roman Kennke <kennke@aicas.com>
27060 * NEWS: Added note about OceanTheme support.
27062 2006-03-14 Roman Kennke <kennke@aicas.com>
27064 * javax/swing/plaf/metal/MetalIconFactory.java
27065 (HorizontalSliderThumbIcon.gradientMask): New field
27066 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27068 (VerticalSliderThumbIcon.gradientMask): New field
27069 (VerticalSliderThumbIcon.paintIcon): Added support for the
27071 * javax/swing/plaf/metal/MetalUtils.java
27072 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27073 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27075 2006-03-14 Mark Wielaard <mark@klomp.org>
27078 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27079 of handleMouseEvent.
27080 (handleMouseEvent): Return boolean to indicate whether we handled the
27081 event by passing it to a lightweight.
27083 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27085 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27086 * org/omg/PortableServer/ServantActivatorPOA.java,
27087 * org/omg/PortableServer/ServantLocatorPOA.java:
27088 Make class abstract and minor api docs fixlets.
27089 * org/omg/PortableServer/ForwardRequest.java,
27090 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27091 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27092 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27093 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27094 * org/omg/PortableServer/POAPackage/NoServant.java,
27095 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27096 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27097 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27098 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27099 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27100 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27101 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27102 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27103 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27104 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27106 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27108 * NEWS: Added entry about printing support.
27110 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27112 * javax/swing/table/TableColumn.java
27113 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27114 (isResizable): Likewise,
27115 (setWidth): Likewise,
27116 (getWidth): Likewise,
27117 (setPreferredWidth): Likewise,
27118 (getPreferredWidth): Likewise,
27119 (setMinWidth): Check for negative argument and update width and
27120 preferredWidth if necessary,
27121 (getMinWidth): Updated API docs.
27123 2006-03-14 Lillian Angel <langel@redhat.com>
27125 * java/awt/Container.java
27126 (addImpl): Removed call to repaint. No need to repaint here.
27128 2006-03-14 Roman Kennke <kennke@aicas.com>
27130 * javax/swing/plaf/metal/MetalSliderUI.java
27131 (paintTrack): Added OceanTheme support.
27133 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27135 * javax/swing/table/TableColumn.java
27136 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27137 (isResizable): Updated API docs.
27139 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27141 * javax/swing/LookAndFeel.java: Updated API docs.
27143 2006-03-14 Roman Kennke <kennke@aicas.com>
27145 * javax/swing/plaf/metal/MetalUtils.java
27146 (paintGradient): Added support for 'masked' gradients.
27147 (paintHorizontalGradient): Likewise.
27148 (paintVerticalGradient): Likewise.
27149 * javax/swing/plaf/metal/MetalIconFactory.java
27150 (RadioButtonIcon.gradientMask): New field.
27151 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27153 2006-03-14 Mark Wielaard <mark@klomp.org>
27156 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27158 (removeActionListener): Add listener to ComboBoxEditorListener.
27159 (removeActionListener): Remove listener from ComboBoxEditorListener.
27160 (ComboBoxEditorListener): New static helper class.
27162 2006-03-14 Roman Kennke <kennke@aicas.com>
27164 * javax/swing/plaf/metal/MetalBorders.java
27165 (getToolBarButtonBorder): Don't create a UIResource border
27167 * javax/swing/plaf/metal/MetalToolBarUI.java
27168 (installUI): New overridden method. Installs the rollover property.
27169 (uninstallUI): New overridden method. Resets the rollover property.
27170 * javax/swing/plaf/metal/MetalUtils.java
27171 (paintGradient): Fetch Float values from the UIManager. Adjusted
27172 method signatures accordingly.
27173 (paintHorizontalGradient): Adjusted signature to accept float
27175 (paintVerticalGradient): Adjusted signature to accept float
27177 * javax/swing/plaf/metal/OceanTheme.java
27178 (addCustomEntriesToTable): Added missing UIDefaults entries,
27179 except of Icons. Fixed gradient entries to use Float instead
27182 2006-03-14 Roman Kennke <kennke@aicas.com>
27184 * javax/swing/JInternalFrame.java
27185 (JInternalFrame): Make JInternalFrame opaque.
27186 * javax/swing/JToolBarFrame.java
27187 (JToolBar): Make JToolBar opaque.
27189 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27191 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27192 * javax/swing/tree/TreePath.java: Likewise.
27194 2006-03-13 Tom Tromey <tromey@redhat.com>
27196 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27198 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27199 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27201 2006-03-13 Keith Seitz <keiths@redhat.com>
27203 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27204 (executeMethods): Output number of methods.
27206 2006-03-13 Roman Kennke <kennke@aicas.com>
27208 * javax/swing/plaf/basic/BasicButtonUI.java
27209 (uninstallDefaults): Only uninstall border if it's a UIResource.
27210 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27211 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27212 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27213 (installUI): Don't touch the opaque flag of the glassPane and
27214 the frame. Don't invalidate.
27215 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27216 (installUI): Don't touch the opaque flag of the glassPane.
27217 * javax/swing/plaf/basic/BasicMenuBarUI.java
27218 (properyChangeListener): Made field private.
27219 (ChangeHandler): Made class private.
27220 (ContainerHandler): Made class private.
27221 (PropertyChangeHandler): Made class private.
27222 * javax/swing/plaf/basic/BasicMenuUI.java
27223 (MenuHandler): Made class private.
27224 (PropertyChangeHandler): Removed unneeded class.
27225 (MenuDragMouseHandler): Made class private.
27226 (MenuKeyHandler): Made class private.
27227 * javax/swing/plaf/basic/BasicPanelUI.java
27228 (installDefaults): Made method protected. Don't set opaque
27230 * javax/swing/plaf/basic/BasicScrollBarUI.java
27231 (TrackListener.shouldScroll): Made method private.
27232 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27233 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27234 Made constructor package private.
27235 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27236 (cellBorder): Made field private.
27237 * javax/swing/plaf/basic/BasicTextUI.java
27238 (installDefaults): Don't make component opaque.
27239 * javax/swing/plaf/basic/BasicToolBarUI.java
27240 (createNonRollOverBorder): Don't create UIResource border.
27241 (createRollOverBorder): Don't create UIResource border.
27242 (installComponents): Moved setRolloverBorders call here.
27243 (installDefaults): Moved setRolloverBorders call from here.
27244 (installUI): Don't make toolbar opaque.
27245 (setBorderToNonRollover): Handle AbstractButton instead of
27247 (uninstallComponents): Don't nullify class fields here.
27249 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27251 * javax/swing/SwingUtilities.java
27252 (calculateInnerArea): handle null component, and replace
27253 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27256 2006-03-13 Roman Kennke <kennke@aicas.com>
27258 * javax/swing/JColorChooser.java
27259 (updateUI): Don't call revalidate().
27260 * javax/swing/JComboBox.java
27261 (updateUI): Don't call invalidate().
27262 * javax/swing/JDesktopPane.java
27263 (updateUI): Don't call invalidate().
27264 * javax/swing/JFileChooser.java
27265 (updateUI): Don't call revalidate().
27266 * javax/swing/JMenu.java
27267 (updateUI): Don't call invalidate().
27268 * javax/swing/JMenuBar.java
27269 (updateUI): Don't call invalidate().
27270 * javax/swing/JMenuItem.java
27271 (updateUI): Don't call invalidate().
27272 * javax/swing/JOptionPane.java
27273 (updateUI): Don't call invalidate().
27274 * javax/swing/JPopupMenu.java
27275 (updateUI): Don't call invalidate().
27276 * javax/swing/JProgressBar.java
27277 (updateUI): Don't call invalidate().
27278 * javax/swing/JScrollBar.java
27279 (updateUI): Don't call invalidate() and repaint().
27280 * javax/swing/JScrollPane.java
27281 (updateUI): Rewritten to be like the other updateUI()
27283 * javax/swing/JSlider.java
27284 (updateUI): Don't call invalidate() and repaint().
27285 * javax/swing/JSplitPane.java
27286 (updateUI): Don't call invalidate() and repaint().
27287 * javax/swing/JTabbedPane.java
27288 (updateUI): Don't call invalidate().
27289 * javax/swing/JTable.java
27290 (updateUI): Don't call revalidate() and repaint().
27291 * javax/swing/JToolBar.java
27292 (updateUI): Don't call revalidate() and repaint().
27293 * javax/swing/JToolTip.java
27294 (updateUI): Don't call revalidate() and repaint().
27296 2006-03-13 Roman Kennke <kennke@aicas.com>
27298 * javax/swing/SwingUtilities.java
27299 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27300 menus and non-Swing components is improved.
27301 (updateComponentTreeUIImpl): New helper method.
27302 (replaceUIActionMap): Added check for uiActionMap==parent to
27304 (replaceUIInputMap): Added check for uiInputMap==parent to
27307 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27309 * gnu/classpath/debug/Component.java:
27310 (IPP) New component for IPP debugging.
27311 (EVERYTHING): Adapted to include IPP.
27312 * javax/print/PrintServiceLookup.java:
27313 (registerServiceProvider): New method.
27314 (registerService): Likewise.
27315 (lookupPrintServices): Likewise.
27316 (lookupMultiDocPrintServices): Likewise.
27317 (lookupDefaultPrintService): Likewise.
27318 (static_initializer): Likewise.
27319 (printServiceLookups): New field for found service providers.
27320 (printServices): New field for application registered providers.
27321 (systemProvider): New field for the system provider.
27322 * javax/print/ServiceUI.java: New file.
27323 * javax/print/package.html: Added more usage content.
27324 * javax/print/event/package.html: Likewise.
27325 * javax/print/attribute/package.html: Likewise.
27326 * javax/print/attribute/standard/package.html: Likewise.
27327 * gnu/javax/print/PrintUriException.java,
27328 gnu/javax/print/PrintFlavorException.java,
27329 gnu/javax/print/PrinterDialog.java,
27330 gnu/javax/print/PrintAttributeException.java,
27331 gnu/javax/print/CupsPrintServiceLookup.java,
27332 gnu/javax/print/CupsServer.java,
27333 gnu/javax/print/CupsPrintService.java,
27334 gnu/javax/print/CupsMediaMapping.java,
27335 gnu/javax/print/CupsIppOperation.java:
27336 New implementation files of the Java Print Service API.
27337 * gnu/javax/print/ipp/IppValueTag.java,
27338 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27339 gnu/javax/print/ipp/IppStatusCode.java,
27340 gnu/javax/print/ipp/IppUtilities.java,
27341 gnu/javax/print/ipp/IppResponse.java,
27342 gnu/javax/print/ipp/IppException.java,
27343 gnu/javax/print/ipp/IppPrintService.java,
27344 gnu/javax/print/ipp/IppRequest.java,
27345 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27346 gnu/javax/print/ipp/IppDelimiterTag.java,
27347 gnu/javax/print/ipp/DocPrintJobImpl.java:
27348 New files of the IPP client implementation.
27349 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27350 gnu/javax/print/ipp/attribute/StatusMessage.java,
27351 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27352 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27353 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27354 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27355 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27356 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27357 New attribute syntax/role files of the printing implementation.
27358 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27359 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27360 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27361 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27362 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27363 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27364 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27365 gnu/javax/print/ipp/attribute/supported/
27366 OrientationRequestedSupported.java,
27367 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27368 gnu/javax/print/ipp/attribute/supported/
27369 MultipleDocumentHandlingSupported.java,
27370 gnu/javax/print/ipp/attribute/supported/
27371 MultipleDocumentJobsSupported.java,
27372 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27373 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27374 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27375 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27376 gnu/javax/print/ipp/attribute/supported/
27377 GeneratedNaturalLanguageSupported.java,
27378 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27379 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27380 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27381 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27382 New supported attribute files.
27383 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27384 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27385 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27386 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27387 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27388 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27389 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27390 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27391 New printer description attribute files.
27392 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27393 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27394 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27395 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27396 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27397 gnu/javax/print/ipp/attribute/job/JobId.java,
27398 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27399 gnu/javax/print/ipp/attribute/job/JobUri.java,
27400 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27401 New job description attribute files.
27402 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27403 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27404 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27405 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27406 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27407 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27408 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27409 gnu/javax/print/ipp/attribute/defaults/
27410 MultipleDocumentHandlingDefault.java,
27411 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27412 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27413 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27414 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27415 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27416 New default printing attribute files.
27417 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27418 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27419 * examples/gnu/classpath/examples/print/Demo.java:
27420 New demo application of the current implemented functionality.
27422 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27424 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27425 java/rmi/activation/ActivationDesc.java.java,
27426 java/rmi/activation/ActivationGroup.java,
27427 java/rmi/activation/ActivationID.java,
27428 java/rmi/activation/ActivationMonitor.java,
27429 java/rmi/activation/ActivationSystem.java,
27430 java/rmi/activation/package.html: Documenting.
27432 2006-03-13 Roman Kennke <kennke@aicas.com>
27434 * javax/swing/JInternalFrame.java
27435 (setSelected): Repaint frame when it is showing and the selection
27438 2006-03-13 Roman Kennke <kennke@aicas.com>
27440 * javax/swing/AbstractButton.java
27441 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27444 2006-03-13 Roman Kennke <kennke@aicas.com>
27446 * javax/accessibility/AccessibleContext.java
27447 (getAccessibleRelationSet): Return empty set instead of null.
27449 2006-03-13 Roman Kennke <kennke@aicas.com>
27451 * javax/swing/ImageIcon.java
27452 (loadImage): Remove completed images from the MediaTracker. This
27453 avoids a potential memory leak.
27455 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27457 * javax/print/MultiDocPrintService.java,
27458 * javax/print/MultiDocPrintJob.java,
27459 * javax/print/MultiDoc.java: Added and enhanced documentation.
27461 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27463 * java/rmi/activation/ActivationID.java (uid): New field.
27464 (writeExternal, readExternal): New methods.
27465 (equals, hashCode): Rewritten.
27466 * java/rmi/activation/ActivationInstantiator.java,
27467 * java/rmi/activation/ActivationSystem.java,
27468 * java/rmi/activation/Activator.java,
27469 * java/rmi/activation/Activatable.java,
27470 * java/rmi/activation/ActivationGroup.java,
27471 * java/rmi/activation/ActivationGroupDesc.java:
27472 Documented and autoformatted.
27473 * java/rmi/activation/package.html: Added content.
27475 2006-03-12 Chris Burdess <dog@gnu.org>
27478 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27479 encoding are specified.
27481 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27483 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27484 (changeEvent): Initialise in fireStateChange(),
27485 (setSelectedIndex): Check if change is made before firing event,
27486 (clearSelection): Delegate to setSelectedIndex(),
27487 (fireStateChanged): Initialise changeEvent if necessary,
27488 * javax/swing/SingleSelectionModel.java: API docs all over.
27490 2006-03-11 Tom Tromey <tromey@redhat.com>
27492 * java/util/zip/InflaterInputStream.java: Reverted previous
27495 2006-03-11 Mark Wielaard <mark@klomp.org>
27497 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27500 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27502 * javax/swing/event/TreeSelectionEvent.java
27503 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27504 not one of the added/removed paths,
27505 (cloneWithSource): Reformatted.
27507 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27509 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27510 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27512 2006-03-10 Casey Marshall <csm@gnu.org>
27515 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27517 (doFinal, update): new methods.
27518 (init, init, init, init): initialize `state' after trying the
27519 implementation, which can throw an exception.
27520 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27523 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27525 * gnu/regexp/BacktrackStack.java: New file.
27526 * gnu/regexp/RE.java(findMatch): New method.
27527 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27528 REMatchList): Removed. (backtrackStack): New field.
27529 * gnu/regexp/REToken.java(match): Changed from an abstract
27530 method to an ordinary method defined with the new method
27531 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27532 findFixedLengthMatches, backtrack, toString): New methods.
27533 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27534 * gnu/regexp/RETokenBackRef.java: Likewise.
27535 * gnu/regexp/RETokenChar.java: Likewise.
27536 * gnu/regexp/RETokenEnd.java: Likewise.
27537 * gnu/regexp/RETokenEndSub.java: Likewise.
27538 * gnu/regexp/RETokenIndependent.java: Likewise.
27539 * gnu/regexp/RETokenLookAhead.java: Likewise.
27540 * gnu/regexp/RETokenLookBehind.java: Likewise.
27541 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27542 * gnu/regexp/RETokenPOSIX.java: Likewise.
27543 * gnu/regexp/RETokenRange.java: Likewise.
27544 * gnu/regexp/RETokenStart.java: Likewise.
27545 * gnu/regexp/RETokenWordBoundary.java: Likewise
27546 * gnu/regexp/RETokenOneOf.java: Rewriten.
27547 * gnu/regexp/RETokenRepeated.java: Rewriten.
27549 2006-03-10 Roman Kennke <kennke@aicas.com>
27551 * javax/swing/plaf/metal/MetalBorders.java
27552 (RolloverButtonBorder.paintBorder): Only call super here.
27553 * javax/swing/plaf/metal/MetalButtonListener.java
27554 (propertyChange): Only call super here.
27555 * javax/swing/plaf/metal/MetalButtonUI.java
27556 (update): Changed condition from isOpaque() to isContentAreaFilled()
27557 for the gradient fill.
27558 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27559 (paintText): API doc fix. Makes paintText not deprecated as specified
27560 but adds comment that this is obsolete.
27561 * javax/swing/plaf/metal/MetalUtils.java
27562 (fillMetalPattern): Fixed condition so that the Java2D is not
27563 used when the noGraphics2D property is set.
27565 2006-03-10 Roman Kennke <kennke@aicas.com>
27567 * javax/swing/plaf/metal/MetalLookAndFeel.java
27568 (createDefaultTheme): Set OceanTheme as default metal theme.
27570 2006-03-10 Roman Kennke <kennke@aicas.com>
27572 * javax/swing/text/WrappedPlainView.java
27573 (metrics): Made field package private to avoid accessor method.
27574 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27575 The drawLine (righly) interprets the y parameter as the baseline.
27576 * javax/swing/text/Utilities.java
27577 (getBreakLocation): Don't consider the offset. The returned value
27578 for getTabbedTextOffset is already relative to the offset.
27580 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27582 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27583 (dateFormat): Made private.
27584 (put): Replace only the last occurance and the value.
27585 (putAll): Save one iteration. Clarified documentation.
27587 2006-03-10 Tom Tromey <tromey@redhat.com>
27589 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27591 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27594 2006-03-10 Lillian Angel <langel@redhat.com>
27596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27597 (comboboxgroup_get_widget): New function.
27598 (removed): Fixed to use new function to get the correct widget.
27599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27600 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27603 2006-03-10 Lillian Angel <langel@redhat.com>
27605 * java/awt/GridBagLayout.java
27606 (ArrangeGrid): Added checks to determine if component
27607 is placed last in a row or column. If so, the location
27608 of the last component should be used to get the location
27609 of the current component.
27611 2006-03-10 Lillian Angel <langel@redhat.com>
27613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27614 (nativeSetCheckboxGroup): No need to use new function here.
27615 Should just pass in pointer.
27617 2006-03-10 Lillian Angel <langel@redhat.com>
27619 * java/awt/GridBagLayout.java
27620 (distributeSizeAndWeight): Change else if to else. This
27621 allows for components to be added to a new row when
27622 their gridheight is REMAINDER.
27624 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27626 * java/rmi/activation/ActivationDesc.java,
27627 java/rmi/activation/ActivationGroupID.java,
27628 java/rmi/activation/Activator.java,
27629 java/rmi/server/Operation.java,
27630 java/rmi/server/RemoteServer.java: Documented and formatted.
27632 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27634 * javax/swing/JToggleButton.java: Fixed API doc tags,
27635 * javax/swing/OverlayLayout.java: Likewise.
27637 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27639 * javax/swing/DefaultCellEditor.java
27640 (cancelCellEditing): Removed spurious API doc tag.
27642 2006-03-10 Lillian Angel <langel@redhat.com>
27644 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27645 (create): Put checkbox widget into an event box so it paints properly.
27646 (connectSignals): Fixed to use new function.
27647 (nativeSetCheckboxGroup): Likewise.
27648 (gtkToggleButtonSetActive): Likewise.
27649 (gtkWidgetModifyFont): Likewise.
27650 (gtkButtonSetLabel): Likewise.
27651 (combobox_get_widget): New function.
27653 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27655 * javax/swing/text/rtf/package.html: New file.
27657 2006-03-10 Roman Kennke <kennke@aicas.com>
27659 * javax/swing/plaf/metal/OceanTheme.java
27660 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27661 * javax/swing/plaf/metal/MetalScrollBarUI.java
27662 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27663 (paintThumbHorizontal): Added handling of OceanTheme.
27664 (paintThumbVertical): Added handling of OceanTheme.
27666 2006-03-10 Roman Kennke <kennke@aicas.com>
27668 Reported by Fridjof Siebert <siebert@aicas.com>
27669 * java/awt/MediaTracker.java
27670 (removeImage): Only set prev to e when the the images of the
27671 entries are not the same. This avoids a potentially corrupt list.
27673 2006-03-10 Chris Burdess <dog@gnu.org>
27676 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27677 checking while reindenting.
27679 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27681 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27683 2006-03-09 Tom Tromey <tromey@redhat.com>
27685 PR classpath/26585:
27686 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27687 subdir. Added README.
27688 (install-data-local): Removed.
27689 (uninstall-local): Likewise.
27690 (EXTRA_DIST): Removed.
27692 2006-03-09 Tom Tromey <tromey@redhat.com>
27694 PR classpath/26623:
27695 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27697 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27699 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27701 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27703 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27705 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27707 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27709 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27711 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27713 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27715 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27716 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27718 2006-03-09 Keith Seitz <keiths@redhat.com>
27720 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27721 (executeVariableTable): Use VMMethod instead of reflection.
27722 (executeLineTable): Likewise.
27723 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27724 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27725 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27726 (getLineTable): Removed. Now resides in VMMethod.
27727 (getVarTable): Likewise.
27728 (getAllClassMethods): New method.
27730 2006-03-09 Keith Seitz <keiths@redhat.com>
27732 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27733 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27734 (ThreadStartEvent): Likewise.
27735 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27736 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27737 (ConditionalFilter): Likewise.
27738 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27739 (ExceptionOnlyFilter): Likewise.
27740 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27741 (FieldOnlyFilter): Likewise.
27742 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27743 (getSize): Likewise.
27744 (StepFilter): Likewise.
27745 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27746 * gnu/classpath/jdwp/transport/JdwpPacket.java
27747 (JdwpPacket): Likewise.
27748 (fromBytes): Likewise.
27749 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27750 (JdwpReplyPacket): Likewise.
27751 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27752 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27753 (getReferenceType): Likewise.
27754 (newObjectId): Likewise.
27755 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27756 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27757 (getFrames): Fix typo in parameter name and update javadoc.
27758 (getClassMethod): Update javadoc.
27760 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27762 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27763 * javax/swing/event/TreeSelectionListener.java: Likewise.
27765 2006-03-09 Lillian Angel <langel@redhat.com>
27767 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27768 (getHScrollbarHeight): Fixed property name.
27769 (getVScrollbarHeight): Likewise.
27771 2006-03-09 Lillian Angel <langel@redhat.com>
27773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27774 (get_widget): New function.
27775 (gtkWidgetSetParent): Changed to use new function.
27776 (gtkWidgetSetCursorUnlocked): Likewise.
27777 (gtkWidgetSetSensitive): Likewise.
27778 (gtkWidgetRequestFocus): Likewise.
27779 (gtkWindowGetLocationOnScreen): Likewise.
27780 (gtkWidgetGetDimensions): Likewise.
27781 (gtkWidgetGetPreferredDimensions): Likewise.
27782 (setNativeBounds): Likewise.
27783 (gtkWidgetGetBackground): Likewise.
27784 (gtkWidgetGetForeground): Likewise.
27785 (gtkWidgetSetBackground): Likewise.
27786 (gtkWidgetSetForeground): Likewise.
27787 (setVisibleNativeUnlocked): Likewise.
27788 (isEnabled): Likewise.
27789 (isRealized): Likewise.
27790 (setNativeEventMask): Likewise.
27792 2006-03-09 Lillian Angel <langel@redhat.com>
27795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27796 (create): Added combobox widget to an event box.
27797 (connectSignals): Added call to choice_get_widget to get the
27798 combobox out of the event box.
27799 (append): Likewise.
27800 (nativeRemoveAll): Likewise.
27801 (nativeRemove): Likwise.
27802 (nativeAdd): Likewise.
27803 (selectNative): Likewise.
27804 (choice_get_widget): New function.
27805 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27806 (create): Added list scroll window widget to an event box.
27807 (connectSignals): Changed call to use new function to get the
27808 correct widget out of the event box.
27809 (getWidgetModifyFont): Likewise.
27810 (getWidgetRequestFocus): Likewise.
27811 (append): Likewise.
27813 (delItems): Likewise.
27814 (select): Likewise.
27815 (deselect): Likewise.
27816 (getSize): Likewise.
27817 (getSelectedIndexes): Likewise.
27818 (makeVisible): Likewise.
27819 (setMultipleMode): Likewise.
27820 (list_get_widget): New function.
27821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27822 (create): Added scrollpane to an eventbox.
27823 (setScrollPosition): Changed call to use new function to get the
27824 correct widget out of the event box.
27825 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27826 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27827 (getHScrollbarHeight): Likewise.
27828 (getVScrollbarWidth): Likewise.
27829 (setPolicy): Likewise.
27830 (scrollpane_get_widget): New function.
27831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27832 (connectSignals): Changed call to use new function to get the
27833 correct widget out of the event box.
27834 (create): Added scrollbar to an eventbox.
27835 (setLineIncrement): Changed call to use new function to get the
27836 correct widget out of the event box.
27837 (setPageIncrement): Likewise.
27838 (setBarValues): Likewise.
27839 (scrollbar_get_widget): New function.
27840 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27841 (create): Added text area scroll window widget to an event box.
27842 (connectSignals): Changed call to use new function to get the
27843 correct widget out of the event box.
27844 (insert): Likewise.
27845 (replaceRange): Likewise.
27846 (gtkWidgetModifyFont): Likewise.
27847 (gtkWidgetRequestFocus): Likewise.
27848 (getHScrollbarHeight): Likewise.
27849 (getVScrollbarWidth): Likewise.
27850 (getCaretPosition): Likewise.
27851 (setCaretPosition):Likewise.
27852 (getSelectionStart): Likewise.
27853 (getSelectionEnd): Likewise.
27854 (select): Likewise.
27855 (setEditable): Likewise.
27856 (getText): Likewise.
27857 (setText): Likewise.
27858 (textarea_get_widget): New function.
27860 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27862 * java/rmi/dgc/VMID.java:
27863 (equals, hashCode, static initializer): Rewritten.
27864 * java/rmi/dgc/package.html: Documented.
27866 2006-03-09 Mark Wielaard <mark@klomp.org>
27868 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27870 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27871 (canCache): Likewise.
27872 (GtkClipboard): Take String argument.
27873 (getInstance): Removed.
27874 (getClipboardInstance, getSelectionInstance): New static methods.
27875 (setSystemContents): Make synchronized. Takes boolean argument.
27876 (initNativeState): Add clipboard and selection.
27877 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27878 (announceClipboardChange, announcePrimaryChange): New static field.
27879 (announce): Take GtkClipboard as argument.
27880 (run): Check which clipboard to announce change for.
27881 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27883 (GtkSelection): Take GtkClipboard as argument.
27884 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27885 clipboard argument.
27886 (requestMimeTypes): Likewise.
27887 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27889 * java/awt/Toolkit.java (getSystemSelection): Document.
27890 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27891 (cp_gtk_selection_instance): New var.
27892 (current_selection, owner): Removed.
27893 (clipboard_owner_change_cb): Use clipboard argument.
27894 (initNativeState): Store clipboard and selection instances. Cache
27895 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27897 (clipboard_get_func): Use clipboard argument.
27898 (clipboard_clear_func): Likewise. Always call method.
27899 (advertiseContent): Don't cache method ids here. Check whether to
27900 use clpboard or selection. Don't set owner or current_selection.
27901 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27902 (requestText, requestImage, requestURIs, requestBytes): Use extra
27903 boolean argument to select clipboard.
27904 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27905 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27906 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27907 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27909 2006-03-09 Keith Seitz <keiths@redhat.com>
27911 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27912 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27913 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27914 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27915 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27916 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27917 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27918 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27919 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27921 2006-03-09 Mark Wielaard <mark@klomp.org>
27923 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27924 bounds for index is valid.
27925 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27927 (getCellBounds): Update documentation.
27929 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27931 * .classpath: added exclude pattern on source folders
27932 (Makefiles, README and .cvsignore)
27934 2006-03-08 Michael Koch <konqueror@gmx.de>
27936 * java/net/Proxy.java (NO_PROXY): Made final.
27937 (equals): Likewise.
27938 (hashCode): Likewise.
27940 2006-03-08 Keith Seitz <keiths@redhat.com>
27942 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27943 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27944 (getClassMethod): New method.
27946 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27948 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27950 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27952 * java/rmi/server/ObjID.java: Documented and autoformatted.
27954 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27957 * tools/Makefile.am (install-data-local,
27958 uninstall-local): Install/uninstall the tools/README only.
27959 * tools/gnu/classpath/tools/giop/README: Updated.
27960 * tools/README: New file.
27962 2006-03-08 Lillian Angel <langel@redhat.com>
27964 * java/awt/GridBagLayout.java
27965 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27966 then the next item should be set to current_y (not 0).
27968 2006-03-08 Lillian Angel <langel@redhat.com>
27970 * java/awt/GridBagLayout.java
27971 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27972 in the bottom-most spot of the column, we need to place that component
27973 at the y-location of the other components in that row. If there are
27974 no other components in that row, then place it at y = 0.
27976 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27978 * javax/swing/ProgressMonitor.java: Updated API docs,
27979 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27981 2006-03-08 Michael Koch <konqueror@gmx.de>
27983 * java/net/InetSocketAddress.java
27984 (InetSocketAddress(String,int,resolve)): New private contructor.
27985 (InetSocketAddress(String,int)): Use new private constructor.
27986 (createUnresolved): New method.
27988 2006-03-07 Michael Koch <konqueror@gmx.de>
27990 * gnu/java/net/DefaultProxySelector.java,
27991 java/net/Proxy.java, java/net/ProxySelector.java:
27994 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27996 * java/rmi/server/UID.java (constructor): Assign last and time fields
27999 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28001 * java/rmi/server/UID.java: New file (replacing).
28003 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
28005 * java/util/jar/Manifest.java: Removed unused imports.
28006 (CRLF): New constant.
28007 (read): Added method documentation.
28008 Use UTF-8 encoding instead of 8859_1.
28009 (write): Added method documentation.
28010 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28011 (write_main_section): Replace PrintWriter arg with OutputStream.
28012 Replace JarException with IOException.
28013 (write_version_info): Likewise.
28014 (write_main_attributes): Likewise.
28015 (write_attribute_entry): Likewise.
28016 (write_individual_sections): Likewise.
28017 (write_entry_attributes): Likewise.
28018 (write_header): Replace PrintWriter arg with OutputStream.
28021 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28023 * javax/swing/tree/DefaultMutableTreeNode.java
28024 (getFirstChild): Updated API docs,
28025 (getLastChild): Likewise,
28026 (getChildAfter): Likewise,
28027 (getChildBefore): Likewise,
28028 (isNodeSibling): Return true if node == this,
28029 (getSiblingCount): Updated API docs,
28030 (getNextSibling): Likewise,
28031 (getPreviousSibling): Likewise,
28032 (isLeaf): Likewise,
28033 (getFirstLeaf): Likewise,
28034 (getLastLeaf): Likewise,
28035 (getNextLeaf): Implemented,
28036 (getPreviousLeaf): Implemented.
28038 2006-03-07 Tom Tromey <tromey@redhat.com>
28040 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28041 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28042 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28043 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28046 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28048 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28049 (clone): Reimplemented,
28050 (add): Throw IllegalArgumentException if child is an ancestor,
28051 (remove(int)): Set child's parent to null,
28052 (remove(MutableTreeNode)): Check arguments and set child's parent to
28054 (insert): Check allowsChildren flag, check for null argument, and
28055 check for a node that is an ancestor,
28056 (getIndex): Throw IllegalArgumentException for null argument,
28057 (setAllowsChildren): If setting to false, remove existing children,
28058 (removeAllChildren): Set parent to null for removed children.
28060 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28062 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28065 2006-03-06 Tom Tromey <tromey@redhat.com>
28067 * java/lang/StrictMath.java (ulp): New methods.
28068 * java/lang/Math.java (ulp): New methods.
28070 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28072 * gnu/java/rmi/server/UnicastRef.java,
28073 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28075 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28077 * gnu/java/rmi/server/CombinedClassLoader.java
28078 (findClass, findLibrary, findResouce, findResources): check
28079 all loaders in array.
28081 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28084 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28085 (RefProtector): new inner class. (dirty): Rewritten.
28086 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28087 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28088 new methods. (readExternal): Create LeaseRenewingTask if non local.
28089 * gnu/java/rmi/server/UnicastServer.java (objects):
28090 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28091 (getExported): New method.
28092 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28094 2006-03-06 Mark Wielaard <mark@klomp.org>
28096 * doc/www.gnu.org/announce/20060306.wml: New file.
28097 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28098 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28100 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28102 * javax/swing/plaf/metal/MetalLookAndFeel.java
28103 (initComponentDefaults): Use Boolean.TRUE for
28104 'CheckBoxMenuItem.borderPainted'.
28106 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28108 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28109 (dateFormat): Made private.
28110 (put): Replace only the last occurance and the value.
28111 (putAll): Reimplemented with the put method.
28113 2006-03-06 Lillian Angel <langel@redhat.com>
28116 * java/awt/List.java
28117 (preferredSize): Return the size of the list if the peer is
28119 * gnu/java/awt/peer/gtk/GtkListPeer.java
28120 (preferredSize): Code was returning the minimum size of the
28121 list. Added adjustment to the width of the list so it is a
28124 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28126 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28127 (getRequestProperty): Remove duplicated null check.
28128 * java/net/URLConnection.java:
28129 (URLConnection): Javadoc fix.
28130 (addRequestProperty): Likewise.
28131 (getDefaultRequestProperty): Likewise.
28132 (getHeaderField): Likewise.
28133 (getHeaderFieldDate): Likewise.
28134 (getHeaderFieldKey): Likewise.
28135 (getHeaderFields): Likewise.
28136 (getRequestProperties): Likewise.
28137 (getRequestProperty): Likewise.
28138 (setDefaultRequestProperty): Likewise.
28139 (setRequestProperty): Likewise.
28141 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28143 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28144 * examples/gnu/classpath/examples/swing/Demo.java:
28145 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28147 (mkMenuBar): Added entry for text area example.
28149 2006-03-06 Tom Tromey <tromey@redhat.com>
28151 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28152 (FORMATTED_TEXT_FIELD): Likewise.
28154 2006-03-06 Tom Tromey <tromey@redhat.com>
28156 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28158 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28160 * examples/gnu/classpath/examples/swing/Demo.java:
28161 (mkMenuBar): Added menu entry that will display the VM's name,
28162 version and distributor.
28164 2006-03-06 Tom Tromey <tromey@redhat.com>
28166 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28168 (getName): Likewise.
28170 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28172 * java/util/jar/Manifest.java: Removed unused imports.
28173 (CRLF): New constant.
28174 (read): Added method documentation.
28175 Use UTF-8 encoding instead of 8859_1.
28176 (write): Added method documentation.
28177 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28178 (write_main_section): Replace PrintWriter arg with OutputStream.
28179 Replace JarException with IOException.
28180 (write_version_info): Likewise.
28181 (write_main_attributes): Likewise.
28182 (write_attribute_entry): Likewise.
28183 (write_individual_sections): Likewise.
28184 (write_entry_attributes): Likewise.
28185 (write_header): Replace PrintWriter arg with OutputStream.
28188 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28191 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28192 API doc tag warnings,
28193 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28195 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28197 * gnu/java/net/protocol/file/Connection.java (unquote):
28198 Update position in buffer after decoding a unicode character
28199 outside of the basic plane.
28201 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28203 * java/net/URI.java
28204 (quote): Pass Unicode characters outside the basic plane through.
28206 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28208 * javax/swing/plaf/basic/BasicTextUI.java:
28209 (damageRange): Rewritten if-expressions to correctly identify the
28212 2006-03-06 Mark Wielaard <mark@klomp.org>
28214 * configure.ac: Set version to 0.90-generics.
28217 2006-03-06 Mark Wielaard <mark@klomp.org>
28219 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28220 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28221 (isnan): Define explicitly isnan if it is not a macro.
28223 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28225 * javax/swing/text/GapContent.java:
28226 (insertString): Throw exception when argument is below
28229 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28231 * javax/swing/text/PlainDocument.java:
28232 (insertUpdate): Extended if-expression, added
28233 code to generate another Element when newly inserted characters
28234 and old ones will be on the same line.
28236 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28238 * javax/swing/text/DefaultCaret.java:
28239 (mouseDragged): Do selection when shift is pressed.
28240 (mouseClicked): Implemented.
28242 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28244 * javax/swing/text/PlainDocument.java: Fix copyright header,
28246 (insertUpdate): Do not copy the whole document any more, added some
28247 more variables to prevent needless method calls.
28249 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28251 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28252 is required on Darwin.
28253 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28254 (AM_CFLAGS): Likewise.
28256 2006-03-06 Mark Wielaard <mark@klomp.org>
28258 * NEWS: Add updates for 0.90 release.
28260 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28262 * javax/swing/text/GapContent.java:
28263 (insertString): Throw exception when argument is below
28266 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28269 * javax/swing/filechooser/FileFilter.java:
28270 (accept): Fixed API doc tag,
28271 (getDescription): Likewise,
28272 * javax/swing/filechooser/FileView.java:
28273 (isTraversable): Fixed API doc tag.
28275 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28277 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28278 added API docs all over.
28280 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28282 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28283 and corrected a bad API doc tag.
28285 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28287 * javax/swing/undo/StateEditable.java
28288 (restoreState): Fixed bad API doc tag,
28289 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28290 AbstractUndoableEdit.java,
28291 * javax/swing/undo/UndoableEditSupport.java
28292 (createCompoundEdit): Fixed bad API doc tag,
28293 * javax/swing/undo/UndoManager.java
28294 (editToBeUndone): Fixed bad API doc tag,
28295 (editToBeRedone): Likewise.
28297 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28299 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28300 * javax/swing/FocusManager.java: Likewise.
28303 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28306 * javax/swing/plaf/metal/MetalComboBoxButton.java
28307 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28308 JList)): Fixed API doc tag,
28309 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28310 (createLayout): Fixed API doc warning.
28312 2006-03-05 Tom Tromey <tromey@redhat.com>
28314 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28315 ClassHelper.getUserName.
28316 * vm/reference/java/lang/reflect/Method.java (toString): Use
28317 ClassHelper.getUserName.
28318 (getUserTypeName): Removed.
28319 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28320 * vm/reference/java/lang/reflect/Field.java (toString): Use
28321 ClassHelper.getUserName.
28323 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28326 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28327 Allows directories as valid resources.
28329 2006-03-05 Mark Wielaard <mark@klomp.org>
28331 * configure.ac (VERSION): Set to 0.90-pre-generics.
28332 * Merge with CVS trunk from classpath-0_90-branch-point.
28334 2006-03-04 Tom Tromey <tromey@redhat.com>
28336 * javax/swing/SpringLayout.java (Constraints): New constructor.
28337 * javax/swing/Spring.java (width): New method.
28338 (height): Likewise.
28341 2006-03-04 Mark Wielaard <mark@klomp.org>
28343 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28344 existing connection from pool before returning.
28346 2006-03-04 Mark Wielaard <mark@klomp.org>
28348 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28349 exceptions thrown by handlers while cleaning up and rethrow original
28352 2006-03-04 Tom Tromey <tromey@redhat.com>
28354 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28356 (findConstructor): Likewise.
28357 (instantiateClass): Likewise.
28359 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28361 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28362 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28363 lease value and not always the default one.
28364 (LeaseRecord): Remember the array of objects, marked as dirty.
28365 java/rmi/dgc/Lease.java: Boilerplate fix.
28367 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28369 * java/util/jar/Attributes.java (putValue): Made it public and updated
28370 method documentation.
28372 2006-03-04 Mark Wielaard <mark@klomp.org>
28374 * java/awt/Container.java (remove(int)): Always call removeNotify()
28375 on removed Component.
28377 2006-03-04 Mark Wielaard <mark@klomp.org>
28379 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28380 * javax/swing/JEditorPane.java (setText): Check for empty String
28381 with equals(), not equality (==).
28383 2006-03-04 Mark Wielaard <mark@klomp.org>
28385 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28386 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28388 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28390 * javax/swing/text/GapContent.java
28391 (getArray): Mark as final.
28393 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28395 * javax/swing/text/StyleConstants.java
28396 (CharacterConstants.Background): Marked final,
28397 (CharacterConstants.BidiLevel): Likewise,
28398 (CharacterConstants.Bold): Likewise,
28399 (CharacterConstants.ComponentAttribute): Likewise,
28400 (CharacterConstants.Family): Likewise,
28401 (CharacterConstants.Size): Likewise,
28402 (CharacterConstants.Foreground): Likewise,
28403 (CharacterConstants.IconAttribute): Likewise,
28404 (CharacterConstants.Italic): Likewise,
28405 (CharacterConstants.StrikeThrough): Likewise,
28406 (CharacterConstants.Subscript): Likewise,
28407 (CharacterConstants.Superscript): Likewise,
28408 (CharacterConstants.Underline): Likewise,
28409 (ColorConstants.Foreground): Likewise,
28410 (ColorConstants.Background): Likewise,
28411 (FontConstants.Bold): Likewise,
28412 (FontConstants.Family): Likewise,
28413 (FontConstants.Italic): Likewise,
28414 (FontConstants.Size): Likewise,
28415 (ParagraphConstants.Alignment): Likewise,
28416 (ParagraphConstants.FirstLineIndent): Likewise,
28417 (ParagraphConstants.LeftIndent): Likewise,
28418 (ParagraphConstants.LineSpacing): Likewise,
28419 (ParagraphConstants.Orientation): Likewise,
28420 (ParagraphConstants.RightIndent): Likewise,
28421 (ParagraphConstants.SpaceAbove): Likewise,
28422 (ParagraphConstants.SpaceBelow): Likewise,
28423 (ParagraphConstants.TabSet): Likewise.
28425 2006-03-03 Tom Tromey <tromey@redhat.com>
28427 * javax/net/ssl/SSLException.java: Added missing @since.
28430 2006-03-03 Tom Tromey <tromey@redhat.com>
28432 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28433 (serialVersionUID): New field.
28435 2006-03-03 Tom Tromey <tromey@redhat.com>
28437 * java/security/spec/InvalidKeySpecException.java
28438 (InvalidKeySpecException): New constructors.
28439 * java/security/cert/CertificateParsingException.java
28440 (CertificateParsingException): New constructors.
28441 * java/security/cert/CertificateEncodingException.java
28442 (CertificateEncodingException): New constructors.
28443 * java/security/cert/CertificateException.java (CertificateException):
28445 * java/security/cert/CRLException.java (CRLException): New
28448 2006-03-03 Tom Tromey <tromey@redhat.com>
28450 * java/security/SignatureException.java (SignatureException): New
28452 * java/security/ProviderException.java (ProviderException): New
28454 * java/security/NoSuchAlgorithmException.java
28455 (NoSuchAlgorithmException): New constructors.
28456 * java/security/KeyStoreException.java (KeyStoreException): New
28458 * java/security/KeyManagementException.java (KeyManagementException):
28460 * java/security/InvalidKeyException.java (InvalidKeyException): New
28462 * java/security/KeyException.java (KeyException): New constructors.
28463 * java/security/InvalidAlgorithmParameterException.java
28464 (InvalidAlgorithmParameterException): New constructors.
28465 * java/security/DigestException.java (DigestException): New
28467 * java/security/GeneralSecurityException.java
28468 (GeneralSecurityException): New constructors.
28470 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28472 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28474 * javax/swing/event/DocumentEvent.java: Likewise,
28475 * javax/swing/event/EventListenerList.java: Likewise,
28476 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28477 * javax/swing/event/MenuKeyEvent.java: Likewise,
28478 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28479 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28480 * javax/swing/event/TreeModelEvent.java: Likewise,
28481 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28482 * javax/swing/event/UndoableEditEvent.java: Likewise.
28484 2006-03-03 Tom Tromey <tromey@redhat.com>
28486 * java/awt/Insets.java (set): New method.
28487 (equals): Added @since.
28489 2006-03-03 David Daney <ddaney@avtrex.com>
28491 * gnu/java/net/protocol/http/HTTPURLConnection.java
28492 (getRequestProperties): Rewrote.
28493 (addRequestProperty): Rewrote.
28494 (getHeaderFields): Rewrote.
28495 (getHeaderField): Rewrote.
28496 (getHeaderFieldKey): Rewrote.
28497 (getHeaderField): Removed useless cast.
28498 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28499 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28501 (notifyHeaderHandlers): Use new Headers interface.
28503 2006-03-03 Tom Tromey <tromey@redhat.com>
28505 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28506 * javax/naming/spi/ResolveResult.java,
28507 javax/naming/event/NamingExceptionEvent.java,
28508 javax/naming/event/NamingEvent.java,
28509 javax/naming/directory/SearchResult.java,
28510 javax/naming/directory/SearchControls.java,
28511 javax/naming/directory/SchemaViolationException.java,
28512 javax/naming/directory/NoSuchAttributeException.java,
28513 javax/naming/directory/ModificationItem.java,
28514 javax/naming/directory/InvalidSearchFilterException.java,
28515 javax/naming/directory/InvalidSearchControlsException.java,
28516 javax/naming/directory/InvalidAttributesException.java,
28517 javax/naming/directory/InvalidAttributeIdentifierException.java,
28518 javax/naming/directory/AttributeModificationException.java,
28519 javax/naming/directory/AttributeInUseException.java,
28520 javax/naming/TimeLimitExceededException.java,
28521 javax/naming/SizeLimitExceededException.java,
28522 javax/naming/PartialResultException.java,
28523 javax/naming/Reference.java,
28524 javax/naming/ServiceUnavailableException.java,
28525 javax/naming/OperationNotSupportedException.java,
28526 javax/naming/NotContextException.java,
28527 javax/naming/NoPermissionException.java,
28528 javax/naming/NoInitialContextException.java,
28529 javax/naming/NameNotFoundException.java,
28530 javax/naming/NameAlreadyBoundException.java,
28531 javax/naming/NameClassPair.java,
28532 javax/naming/MalformedLinkException.java,
28533 javax/naming/LinkLoopException.java,
28534 javax/naming/LinkException.java,
28535 javax/naming/LimitExceededException.java,
28536 javax/naming/InvalidNameException.java,
28537 javax/naming/InterruptedNamingException.java,
28538 javax/naming/InsufficientResourcesException.java,
28539 javax/naming/ContextNotEmptyException.java,
28540 javax/naming/ConfigurationException.java,
28541 javax/naming/CannotProceedException.java,
28542 javax/naming/CommunicationException.java,
28543 javax/naming/Binding.java,
28544 javax/naming/AuthenticationNotSupportedException.java,
28545 javax/naming/AuthenticationException.java: Added serialVersionUID.
28547 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28549 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28551 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28553 * javax/swing/event/TableModelListener.java: Updated API docs.
28555 2006-03-03 Mark Wielaard <mark@klomp.org>
28557 * java/awt/Component.java (addNotify): Expand documentation.
28559 2006-03-03 Mark Wielaard <mark@klomp.org>
28561 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28562 Always call setParentAndBounds().
28563 (setComponentBounds): Always call setBounds().
28564 (setBounds): Call setVisible().
28565 (setVisible): If no pixels are showing then don't make it visible.
28566 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28567 to call setParentAndBounds() anymore.
28569 2006-03-03 Roman Kennke <kennke@aicas.com>
28571 * javax/swing/JInternalFrame.java
28572 (JInternalFrame): Set frame invisible.
28573 (show): Reformatted.
28574 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28575 (installDefaults): Do not set invisible here.
28577 2006-03-03 Roman Kennke <kennke@aicas.com>
28579 * java/awt/Toolkit.java
28580 (getScreenInsets): Return (0,0,0,0) here.
28582 2006-03-03 Roman Kennke <kennke@aicas.com>
28584 * javax/swing/text/FlowView.java
28585 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28586 (FlowStrategy.getLogicalView): Made method protected.
28588 2006-03-03 Chris Burdess <dog@gnu.org>
28590 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28591 gnu/xml/validation/relaxng/AttributePattern.java,
28592 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28593 gnu/xml/validation/relaxng/ChoicePattern.java,
28594 gnu/xml/validation/relaxng/DataPattern.java,
28595 gnu/xml/validation/relaxng/Define.java,
28596 gnu/xml/validation/relaxng/ElementPattern.java,
28597 gnu/xml/validation/relaxng/EmptyPattern.java,
28598 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28599 gnu/xml/validation/relaxng/Grammar.java,
28600 gnu/xml/validation/relaxng/GrammarException.java,
28601 gnu/xml/validation/relaxng/GrammarValidator.java,
28602 gnu/xml/validation/relaxng/GroupPattern.java,
28603 gnu/xml/validation/relaxng/InterleavePattern.java,
28604 gnu/xml/validation/relaxng/ListPattern.java,
28605 gnu/xml/validation/relaxng/NSNameNameClass.java,
28606 gnu/xml/validation/relaxng/NameClass.java,
28607 gnu/xml/validation/relaxng/NameNameClass.java,
28608 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28609 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28610 gnu/xml/validation/relaxng/Param.java,
28611 gnu/xml/validation/relaxng/Pattern.java,
28612 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28613 gnu/xml/validation/relaxng/RefPattern.java,
28614 gnu/xml/validation/relaxng/TextPattern.java,
28615 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28616 builder and data model.
28617 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28618 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28619 gnu/xml/validation/xmlschema/AttributeUse.java,
28620 gnu/xml/validation/xmlschema/ComplexType.java,
28621 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28622 gnu/xml/validation/xmlschema/Particle.java,
28623 gnu/xml/validation/xmlschema/ValidationException.java,
28624 gnu/xml/validation/xmlschema/XMLSchema.java,
28625 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28626 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28627 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28628 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28629 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28630 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28631 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28632 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28633 W3C XML Schema builder and schema components.
28634 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28635 XML Schema namespace URIs.
28637 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28639 * NEWS: Add entry for --enable-collections.
28640 * configure.ac: Add --enable-collections option.
28641 * lib/Makefile.am (collections.jar): New target.
28642 (glibj_DATA): Add $(COLLECTIONS).
28643 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28644 configure substitution.
28645 (classpath): Read from command line.
28646 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28648 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28650 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28652 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28654 * javax/swing/event/ListSelectionEvent.java
28655 (toString): Implemented,
28656 plus updated API docs all over.
28658 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28660 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28662 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28664 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28666 * gnu/java/rmi/dgc/DGCImpl.java,
28667 java/rmi/dgc/DGC.java,
28668 java/rmi/dgc/Lease.java: Formatted and commented.
28670 2006-03-03 Roman Kennke <kennke@aicas.com>
28672 * NEWS: Added comment about text highlighting and copy+paste
28675 2006-03-03 Roman Kennke <kennke@aicas.com>
28677 * javax/swing/JTabbedPane.java
28678 (remove(int)): Call super.remove(int) instead of remove(Component).
28679 Avoids a stack overflow.
28681 2006-03-03 Roman Kennke <kennke@aicas.com>
28683 * javax/swing/JTable.java
28684 (distributeSpillResizing): Avoid ArithmeticException by checking
28687 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28689 * javax/swing/text/package.html: Added package description.
28691 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28693 * javax/swing/CellRendererPane.java: Minor API doc fix,
28694 * javax/swing/ComboBoxModel.java: Updated API docs.
28696 2006-03-03 Chris Burdess <dog@gnu.org>
28699 * gnu/xml/stream/EntityReferenceImpl.java,
28700 gnu/xml/stream/FilteredEventReader.java,
28701 gnu/xml/stream/SAXParser.java,
28702 gnu/xml/stream/XIncludeFilter.java,
28703 gnu/xml/stream/XMLEventAllocatorImpl.java,
28704 gnu/xml/stream/XMLEventFactoryImpl.java,
28705 gnu/xml/stream/XMLEventImpl.java,
28706 gnu/xml/stream/XMLEventReaderImpl.java,
28707 gnu/xml/stream/XMLEventWriterImpl.java,
28708 gnu/xml/stream/XMLInputFactoryImpl.java,
28709 gnu/xml/stream/XMLOutputFactoryImpl.java,
28710 gnu/xml/stream/XMLParser.java,
28711 javax/xml/stream/EventFilter.java,
28712 javax/xml/stream/Location.java,
28713 javax/xml/stream/StreamFilter.java,
28714 javax/xml/stream/XMLEventFactory.java,
28715 javax/xml/stream/XMLEventReader.java,
28716 javax/xml/stream/XMLEventWriter.java,
28717 javax/xml/stream/XMLInputFactory.java,
28718 javax/xml/stream/XMLOutputFactory.java,
28719 javax/xml/stream/XMLReporter.java,
28720 javax/xml/stream/XMLResolver.java,
28721 javax/xml/stream/XMLStreamConstants.java,
28722 javax/xml/stream/XMLStreamReader.java,
28723 javax/xml/stream/events/EntityDeclaration.java,
28724 javax/xml/stream/events/EntityReference.java,
28725 javax/xml/stream/events/XMLEvent.java,
28726 javax/xml/stream/util/EventReaderDelegate.java,
28727 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28728 StAX API as specified in JWSDP 2.0.
28729 * gnu/xml/stream/EndEntityImpl.java,
28730 gnu/xml/stream/LocationImpl.java,
28731 gnu/xml/stream/StartEntityImpl.java,
28732 gnu/xml/stream/XMLStreamReaderImpl.java,
28733 javax/xml/stream/XMLFilter.java,
28734 javax/xml/stream/XMLIterator.java,
28735 javax/xml/stream/events/EndEntity.java,
28736 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28738 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28740 * javax/swing/CellEditor.java: API doc updates,
28741 * javax/swing/DefaultCellEditor.java: Likewise.
28743 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28745 * javax/swing/AbstractListModel.java:
28746 (AbstractListModel): Added API docs,
28747 (fireContentsChanged): Minor API doc correction,
28748 (fireIntervalAdded): Likewise,
28749 (fireIntervalRemoved): Likewise.
28751 2006-03-03 Roman Kennke <kennke@aicas.com>
28753 * NEWS: Added paragraph about Swing improvements.
28755 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28757 * javax/swing/AbstractAction.java: Updated API docs all over,
28758 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28759 (stopCellEditing): Minor API doc correction,
28760 * javax/swing/UnsupportedLookAndFeelException.java
28761 (UnsupportedLookAndFeelException): Changed argument name, updated API
28764 2006-03-03 Roman Kennke <kennke@aicas.com>
28766 * javax/swing/plaf/metal/MetalUtils.java
28767 (fillMetalPattern): Added switch to not use Graphics2D methods,
28768 even if they are available.
28770 2006-03-03 Roman Kennke <kennke@aicas.com>
28772 * javax/swing/plaf/basic/BasicHTML.java
28773 (isHTMLString): Check for string beeing null.
28774 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28775 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28776 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28777 (InternalFrameLayout): Don't touch the glass pane here.
28778 (installUI): Fix handling of glass pane.
28779 * javax/swing/plaf/basic/BasicLabelUI.java
28783 (BasicLabelUI): Initialize new fields.
28784 (getPreferredSize): Avoid creating new Rectangles by using
28785 SwingUtilities method.
28786 (paint): Avoid creating new Rectangles by reusing
28787 new fields. Added some preliminary handling of HTML inside the
28789 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28790 (uninstallComponents): Clear HTML renderer.
28791 (propertyChange): Check for HTML text and install renderer if
28793 * javax/swing/plaf/basic/BasicListUI.java
28794 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28796 * javax/swing/plaf/basic/BasicTextUI.java
28797 (RootView.getStartOffset): Implemented.
28798 (RootView.getEndOffset): Implemented.
28799 (RootView.getDocument): Implemented.
28801 2006-03-03 Roman Kennke <kennke@aicas.com>
28803 * javax/swing/text/DefaultStyledDocument.java
28804 (ElementBuffer.inserUpdate): Added check for zero-length
28806 * javax/swing/text/DefaultStyledDocument.java
28807 (setIndex): Improved exception message.
28808 * javax/swing/text/TableView.java
28809 Made class abstract.
28810 (TableRow.replace): Probably extend columnRequirements
28812 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28813 of super.layoutMajorAxis.
28814 (columnRequirements): Made field package private.
28815 (TableView): Do not load any child views here.
28816 (layoutColumns): Implemented this method.
28817 (updateColumnRequirements): New helper method.
28818 * javax/swing/text/Utilities.java
28819 (getBreakLocation): Also take offset into account when
28820 finding end location.
28821 * javax/swing/text/html/HTMLDocument.java
28822 (HTMLReader.parseStack): New field.
28823 (HTMLReader.blockOpen): Properly handle p-implied tags.
28824 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28825 (HTMLReader.addContent): Insert p-implied when adding content to
28827 * javax/swing/text/html/HTMLEditorKit.java
28828 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28829 ParagraphView for TD tags. Print out warning for tags that don't have
28830 matching view yet and create NullView for them.
28831 (read): Only set document base when document != null.
28832 * javax/swing/text/html/HTMLTableView.java:
28835 2006-03-03 Roman Kennke <kennke@aicas.com>
28837 * javax/swing/plaf/basic/BasicHTML.java
28838 (HTMLRootView): New inner class.
28839 (createHTMLView): Embed view inside a HTMLRootView.
28841 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28843 * gnu/java/net/protocol/jar/Connection.java:
28844 (connect): Throw FileNotFoundException.
28845 (getInputStream): Remove duplicated code.
28847 2006-03-03 Roman Kennke <kennke@aicas.com>
28849 * javax/swing/RepaintManager.java
28850 (commitBuffer): Added null check for clip.
28852 2006-03-02 Lillian Angel <langel@redhat.com>
28854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28855 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28856 to use GtkWidget instead of GTKMenu.
28858 2006-03-02 Lillian Angel <langel@redhat.com>
28860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28861 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28862 use the submenu to get the list of children. This now works
28863 in the same way as addItem.
28865 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28867 * java/lang/StringBuilder.java:
28868 (codePointAt): New method.
28869 (codePointBefore): Likewise.
28870 (codePointCount): Likewise.
28871 (trimToSize): Likewise.
28873 2006-03-02 Tom Tromey <tromey@redhat.com>
28875 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28877 2006-03-02 Tom Tromey <tromey@redhat.com>
28879 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28880 (getProviderInstance):
28882 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28884 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28885 Fix regression caused by move to VM variant.
28886 PR classpath/22926.
28888 2006-03-01 Tom Tromey <tromey@redhat.com>
28890 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28891 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28892 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28893 imports for javadoc.
28894 (getProxyClass): Javadoc fixes.
28895 (getProxyData): Likewise.
28896 (generateProxyClass): Likewise.
28897 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28898 (setOut): Likewise.
28899 (setErr): Likewise.
28900 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28901 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28903 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28905 (getModifiers): Likewise.
28906 (getDeclaredClasses): Javadoc fix.
28907 (getDeclaredFields): Likewise.
28908 (getDeclaredMethods): Likewise.
28909 (getDeclaredConstructors): Likewise.
28910 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28913 2006-03-01 Tom Tromey <tromey@redhat.com>
28915 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28916 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28917 (getVersion): Javadoc fix.
28919 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28920 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28922 2006-03-01 David Daney <ddaney@avtrex.com>
28924 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28925 as relative if it contains a colon but no protocol handler can be
28928 2006-03-01 Roman Kennke <kennke@aicas.com>
28930 * javax/swing/text/AbstractDocument.java
28931 (LeafElement.LeafElement): Handle delta with respect to content
28932 length not document length.
28933 * javax/swing/text/CompositeView.java
28934 (getViewIndex): Handle bias correctly.
28935 * javax/swing/text/DefaultCaret.java
28936 (paint): Align caret position to document bounds to avoid trouble
28937 when removing large portions of content.
28938 * javax/swing/text/DefaultStyledDocument.java
28939 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28940 (ElementBuffer.createFracture): Copy old childs attribute. The
28941 ElementSpec usually doesn't carry attribute information.
28942 Use pos instead of offset.
28943 (ElementBuffer.insertFracture): Use pos instead of offset.
28944 (createDefaultRootElement): Don't use create* and instead directly
28945 instantiate the elements.
28946 (handleInsertAfterNewline): Compare the paragraphs startOffset
28947 rather than previous paragraphs endOffset.
28948 * javax/swing/text/JTextComponent.java
28949 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28951 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28953 * javax/swing/text/PlainView.java
28954 (damageLineRange): Avoid creating new Rectangle by using
28956 * javax/swing/text/View.java
28957 (forwardUpdate): Correct the use of bias.
28958 (modelToView): Avoid new Rectangles by using SwingUtilities.
28959 (dump): Made (temprorarily) protected for use in BasicTextUI.
28960 (dump(int)): Dump out the element of the view.
28962 2006-03-01 Lillian Angel <langel@redhat.com>
28964 * NEWS: javax.imageio.plugins.bmp implementation.
28966 2006-03-01 Lillian Angel <langel@redhat.com>
28968 * javax/imageio/ImageWriteParam.java:
28969 Added documentation for fields.
28970 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28971 New class implemented.
28973 2006-03-01 Tom Tromey <tromey@redhat.com>
28975 * NEWS: Mention java.util.prefs update.
28977 2006-03-01 Tom Tromey <tromey@redhat.com>
28979 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28980 * java/nio/charset/UnmappableCharacterException.java:
28981 (serialVersionUID): New field.
28982 * java/nio/charset/MalformedInputException.java:
28983 (serialVersionUID): New field.
28984 * java/nio/charset/CoderMalfunctionError.java:
28985 (serialVersionUID): New field.
28986 * java/nio/charset/CharacterCodingException.java:
28987 (serialVersionUID): New field.
28988 * java/nio/channels/UnsupportedAddressTypeException.java:
28989 (serialVersionUID): New field.
28990 * java/nio/channels/UnresolvedAddressException.java:
28991 (serialVersionUID): New field.
28992 * java/nio/channels/OverlappingFileLockException.java:
28993 (serialVersionUID): New field.
28994 * java/nio/channels/NotYetConnectedException.java:
28995 (serialVersionUID): New field.
28996 * java/nio/channels/NotYetBoundException.java
28997 (serialVersionUID): New field.
28998 * java/nio/channels/NonWritableChannelException.java
28999 (serialVersionUID): New field.
29000 * java/nio/channels/NonReadableChannelException.java
29001 (serialVersionUID): New field.
29002 * java/nio/channels/NoConnectionPendingException.java
29003 (serialVersionUID): New field.
29004 * java/nio/channels/IllegalSelectorException.java
29005 (serialVersionUID): New field.
29006 * java/nio/channels/IllegalBlockingModeException.java
29007 (serialVersionUID): New field.
29008 * java/nio/channels/FileLockInterruptionException.java
29009 (serialVersionUID): New field.
29010 * java/nio/channels/ConnectionPendingException.java
29011 (serialVersionUID): New field.
29012 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29014 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29016 * java/nio/channels/ClosedByInterruptException.java
29017 (serialVersionUID): New field.
29018 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
29020 * java/nio/channels/AsynchronousCloseException.java
29021 (serialVersionUID): New field.
29022 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29024 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29025 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29026 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29028 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29029 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29030 Javadoc fix. Added import.
29031 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29032 (validOps): Likewise.
29033 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29034 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29035 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29036 * java/nio/channels/Channels.java: Added import.
29037 * java/nio/channels/FileChannel.java (lock): Typo fix.
29038 (tryLock): Likewise.
29040 2006-03-01 Tom Tromey <tromey@redhat.com>
29042 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29044 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29045 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29047 (putSpi): Likewise.
29048 (newNode): Likewise.
29050 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29051 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29053 (systemRoot): Use it.
29054 (userPreferences): New field.
29055 (userRoot): Use it.
29057 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29059 * java/util/ResourceBundle.java
29060 (tryBundle): Catch and ignore all Exceptions.
29062 2006-02-28 Roman Kennke <kennke@aicas.com>
29064 * javax/swing/plaf/basic/BasicScrollBarUI.java
29065 (getPreferredSize): Fixed add a fixed space between the buttons
29066 instead of something related to min/max.
29067 (installComponents): Create and install buttons here.
29068 (installDefaults): Don't create buttons here.
29069 * javax/swing/plaf/metal/MetalScrollBarUI.java
29070 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29071 (getPreferredSize): New method.
29073 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29075 * examples/gnu/classpath/examples/swing/Demo.java
29076 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29077 connected 'Spinner' action to SpinnerDemo,
29078 (mkCheckbox): Removed,
29079 (mkRadio): Likewise,
29080 (mkSpinner): Likewise,
29081 (mkToggle): Likewise,
29082 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29083 connected 'Spinner' action to SpinnerDemo.
29085 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29087 * javax/print/ServiceUIFactory.java: Added documentation to class.
29089 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29092 * javax/swing/DefaultListSelectionModel.java:
29093 (addSelectionInterval): Return early if either of the arguments is -1.
29094 (removeSelectionInterval): Likewise.
29095 (setSelectionInterval): Likewise.
29097 2006-02-28 Lillian Angel <langel@redhat.com>
29099 * javax/swing/text/DefaultFormatter.java
29100 (stringToValue): Added NPE check.
29102 2006-02-28 Roman Kennke <kennke@aicas.com>
29105 * javax/swing/JList.java
29106 (getPreferredScrollableViewportSize): Restored specified behaviour.
29107 * javax/swing/plaf/metal/MetalFileChooserUI.java
29108 (createList): Set filelist panel's preferredSize, so that it doesn't
29109 get size into infinity for big lists.
29111 2006-02-28 Lillian Angel <langel@redhat.com>
29113 * javax/swing/ViewportLayout.java
29114 (layoutContainer): Should not extend container to be
29115 minimum size. Mauve test shows that the preferred size
29116 and the size of the viewport can be set smaller than
29119 2006-02-28 Lillian Angel <langel@redhat.com>
29122 * javax/swing/JList.java
29123 (getPreferredScrollableViewportSize): Added a check to determine
29124 if orientation is VERTICAL_WRAP. If it is, we should only
29127 2006-02-28 Lillian Angel <langel@redhat.com>
29130 * javax/swing/ViewportLayout.java:
29131 Patch submitted by Audrius Meskauskas
29132 (addLayoutComponent): Added documentation.
29133 (removeLayoutComponent): Likewise.
29134 (preferredLayoutSize): Likewise.
29135 (minimumLayoutSize): Likewise.
29136 (layoutContainer): Fixed code, so view is set
29137 to the right position when inside a scrollpane.
29139 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29141 * java/math/BigInteger.java:
29142 Committed patch by Rafael:
29143 developer.classpath.org/pipermail/classpath-patches/
29144 2006-February/000473.html
29145 (signum): Return early 0 if words == null and ival == 0.
29146 (readObject): Handle special case of magnitude.length or signum being
29148 (writeObject): If signum is zero return a zero-sized byte[].
29150 2006-02-28 Lillian Angel <langel@redhat.com>
29152 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29153 (create): Initially set the directory to the current working directory.
29154 (setDirectory): Removed else-if. No need for this check.
29156 2006-02-28 Tom Tromey <tromey@redhat.com>
29158 * .project: Run java builder before header generation.
29160 2006-02-28 Tom Tromey <tromey@redhat.com>
29162 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29164 * gnu/java/util/prefs/EventDispatcher.java: New file.
29165 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29166 (NodeWriter): Specify UTF-8.
29167 (writeHeader): Emit DOCTYPE.
29168 * java/util/prefs/Preferences.java (getFactory): Add cause to
29170 (exportNode): Documented.
29171 (exportSubtree): Likewise.
29172 (importPreferences): Likewise.
29173 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29174 (writeObject): Likewise.
29175 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29176 (writeObject): Likewise.
29177 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29178 (nodeListeners): New field.
29179 (preferenceListeners): Likewise.
29180 (addNodeChangeListener): Implemented.
29181 (addPreferenceChangeListener): Likewise.
29182 (removeNodeChangeListener): Likewise.
29183 (removePreferenceChangeListener): Likewise.
29184 (fire): New methods.
29186 (remove): Likewise.
29187 (purge): Likewise. Fixed synchronization.
29188 (removeNode): Fixed synchronization.
29189 (getNode): Fire event.
29190 (flushNode): Fixed synchronization.
29192 2006-02-28 Roman Kennke <kennke@aicas.com>
29194 * javax/swing/text/BranchElement.java
29195 (startOffset): New field.
29196 (endOffset): New field.
29197 (BranchElement): Initialize new fields.
29198 (getEndOffset): Rewritten to possibly return cached values
29199 if element has no children.
29200 (getStartOffset): Rewritten to possibly return cached values
29201 if element has no children.
29202 * javax/swing/text/LeafElement.java
29203 (startDelta): New field.
29204 (endDelta): New field.
29205 (LeafElement): Handle possible delta of start/endOffset when
29206 these parameters lie outside the document range.
29207 (getStartOffset): Handle possible startDelta.
29208 (getEndOffset): Handle possible startDelta.
29210 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29212 * NEWS: Added line about Unicode 4.0.0 support.
29214 2006-02-28 Roman Kennke <kennke@aicas.com>
29216 * javax/swing/SwingUtilities.java
29217 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29219 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29221 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29223 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29225 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29226 Amended class documentation.
29227 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29229 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29230 a BIT STRING construct.
29231 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29233 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29235 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29236 a BIT STRING construct.
29237 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29238 (engineVerify): Added logging.
29240 2006-02-28 Roman Kennke <kennke@aicas.com>
29242 * java/awt/Component.java
29243 (dispatchEventImpl): Let the Toolkit dispatch global events.
29244 * java/awt/Container.java
29245 (dispatchEventImpl): Let the LightweightDispatcher handle events
29247 * java/awt/EventQueue.java
29248 (dispatchEvent): Don't do the global event dispatching here. This
29249 is moved to the Component.
29250 (globalDispatchEvent): Moved this method to Toolkit.
29251 * java/awt/LightweightDispatcher.java
29252 (instances): New field.
29253 (getInstance): New method. Delivers an instance of
29254 LightweightDispatcher.
29255 (LightweightDispatcher): Made default constructor private.
29256 (dispatchEvent): New method. Replaces the eventDispatched method.
29257 This now returns true when the event was actually dispatched.
29258 (eventDispatched): Replaced by dispatchEvent.
29259 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29260 received the last MOUSE_RELEASED.
29261 * java/awt/Toolkit.java
29262 (Toolkit): Don't register LightweightDispatcher as global event
29264 (globalDispatchEvent): Moved here from EventQueue.
29266 2006-02-27 David Daney <ddaney@avtrex.com>
29269 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29271 (getRequestProperties): Rewrote.
29273 2006-02-27 David Daney <ddaney@avtrex.com>
29276 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29278 (ChunkedInputStream): Extend InputStream.
29280 (headers): Moved to top of class.
29281 (constructor): Save referenct to in.
29282 (read(byte[])): Removed method.
29283 (read(byte[], int, int)): Made synchronized and throw IOException
29284 on error parsing chunk header.
29285 (available): New method.
29286 (close): New method.
29288 2006-02-27 David Daney <ddaney@avtrex.com>
29290 * gnu/java/net/protocol/http/HTTPURLConnection.java
29291 (imports): Cleaned up.
29292 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29293 (constructor): ... Here, using SystemProperties instead of System.
29295 2006-02-27 Lillian Angel <langel@redhat.com>
29297 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29298 (setDirectory): GtkFileChooser requires an absolute directory
29299 name. Added a check to make the directory passed to nativeSetDirectory
29302 2006-02-27 Roman Kennke <kennke@aicas.com>
29304 * javax/swing/SwingUtilities.java
29305 (computeIntersection): Changed to store result in rect, instead of
29306 creating new Rectangle instances. Fixed API docs accordingly.
29307 (computeUnion): Changed to store result in rect, instead of
29308 creating new Rectangle instances. Fixed API docs accordingly.
29310 2006-02-27 Roman Kennke <kennke@aicas.com>
29312 * javax/swing/JViewport.java
29313 (static_init): Changed default scrollmode to BLIT.
29314 (paintSimple): Added some clipping to avoid painting problems.
29315 (paintBlit): Added some clipping to avoid painting problems.
29317 2006-02-27 Roman Kennke <kennke@aicas.com>
29319 * javax/swing/JComponent.java
29320 (rectCache): Made field static to save memory.
29321 (getVisibleRect): Don't use rectCache and create new Rectangle
29323 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29324 (repaint(long,int,int,int,int)): Directly call
29325 RepaintManager.addDirtyRegion(). The visibleRect check is now
29326 performed in the RepaintManager.
29328 2006-02-27 Roman Kennke <kennke@aicas.com>
29330 * javax/swing/RepaintManager.java
29331 (currentRepaintManagers): Made field private.
29332 (rectCache): New field.
29333 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29334 component. Changed Rectangle handling to avoid unnecessary new
29335 Rectangle instances.
29336 (getOffscreenBuffer): Create buffer with size of the root window.
29337 Respect the maximum buffer size here.
29338 (commitBuffer): Align the regions so that they are inside the buffer
29339 image and inside the clip. This avoids problems with a bug in GTKImage.
29340 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29342 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29344 * native/fdlibm/e_acos.c,
29345 * native/fdlibm/e_asin.c,
29346 * native/fdlibm/e_atan2.c,
29347 * native/fdlibm/e_cosh.c,
29348 * native/fdlibm/e_exp.c,
29349 * native/fdlibm/e_fmod.c,
29350 * native/fdlibm/e_hypot.c,
29351 * native/fdlibm/e_log.c,
29352 * native/fdlibm/e_log10.c,
29353 * native/fdlibm/e_rem_pio2.c,
29354 * native/fdlibm/e_remainder.c,
29355 * native/fdlibm/e_sinh.c,
29356 * native/fdlibm/e_sqrt.c,
29357 * native/fdlibm/k_cos.c,
29358 * native/fdlibm/k_sin.c,
29359 * native/fdlibm/k_tan.c,
29360 * native/fdlibm/s_atan.c,
29361 * native/fdlibm/s_cbrt.c,
29362 * native/fdlibm/s_ceil.c,
29363 * native/fdlibm/s_copysign.c,
29364 * native/fdlibm/s_cos.c,
29365 * native/fdlibm/s_expm1.c,
29366 * native/fdlibm/s_fabs.c,
29367 * native/fdlibm/s_finite.c,
29368 * native/fdlibm/s_floor.c,
29369 * native/fdlibm/s_log1p.c,
29370 * native/fdlibm/s_rint.c,
29371 * native/fdlibm/s_scalbn.c,
29372 * native/fdlibm/s_sin.c,
29373 * native/fdlibm/s_tan.c,
29374 * native/fdlibm/s_tanh.c:
29375 Fixed to call our macros rather than __HI and __LO.
29376 * native/fdlibm/fdlibm.h:
29377 Reintroduced previous extraction code.
29378 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29379 (GET_HIGH_WORD(i,d)): Readded.
29380 (GET_LOW_WORD(i,d)): Readded.
29381 (INSERT_WORDS(d,ix0,ix1)): Readded.
29382 (SET_HIGH_WORD(d,i)): Readded.
29383 (SET_LOW_WORD(d,i)): Readded.
29384 * native/jni/gtk-peer/gthread-jni.c:
29385 Use Glib macros to convert integers/pointers portably.
29387 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29389 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29390 as the fallback SPI.
29391 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29392 ones referencing GNU-CRYPTO classes.
29393 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29394 (engineValidate): Use GNU-CRYPTO class.
29395 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29396 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29397 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29398 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29399 * gnu/java/security/provider/DSAParameters: Likewise.
29400 * gnu/java/security/provider/DSASignature: Likewise.
29401 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29402 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29403 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29404 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29405 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29406 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29407 * gnu/java/security/provider/MD2withRSA: Likewise.
29408 * gnu/java/security/provider/MD4withRSA: Likewise.
29409 * gnu/java/security/provider/MD5: Likewise.
29410 * gnu/java/security/provider/MD5withRSA: Likewise.
29411 * gnu/java/security/provider/RSA: Likewise.
29412 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29413 * gnu/java/security/provider/SHA: Likewise.
29414 * gnu/java/security/provider/SHA1PRNG: Likewise.
29415 * gnu/java/security/provider/SHA1withRSA: Likewise.
29416 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29418 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29420 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29421 (engineGeneratePublic): Added logging.
29422 (engineGeneratePrivate): Likewise.
29423 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29424 (encodePublicKey): Added logging.
29425 Clarified in method documentation that params is optional, but is
29426 always NULL if present.
29427 (decodePublicKey): Added logging.
29428 Handle optional NULL element.
29430 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29432 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29434 2006-03-03 Tom Tromey <tromey@redhat.com>
29436 * java/awt/MenuBar.java (shortcuts): Genericized.
29438 2006-03-03 Tom Tromey <tromey@redhat.com>
29440 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29442 (getListenerType): Likewise.
29443 * java/beans/Introspector.java (getBeanInfo): Genericized.
29444 * java/beans/DefaultPersistenceDelegate.java (initialize):
29447 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29449 * java/math/BigDecimal.java:
29450 (precision): Fixed overflow problem with large numbers.
29451 (longValueExact): New method.
29452 (intValueExact): Likewise.
29453 (byteValueExact): Likewise.
29454 (shortValueExact): Likewise.
29456 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29458 * java/math/BigDecimal.java:
29459 (remainder(BigDecimal)): New method.
29460 (divideAndRemainder(BigDecimal)): Likewise.
29461 (divideToIntegralValue(BigDecimal)): Likewise.
29462 (floor): New implementation method.
29464 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29466 * java/math/BigDecimal.java:
29467 (divide(BigDecimal, int, RoundingMode)): New method.
29468 (divide(BigDecimal, RoundingMode)): Likewise.
29469 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29470 when the new scale is < 0.
29471 (setScale(int, RoundingMode)): New method.
29474 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29476 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29477 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29478 (add(BigDecimal, MathContext)): New method.
29479 (subtract(BigDecimal, MathContext)): Likewise.
29480 (precision): Fixed to correctly handle BigIntegers with more than 19
29482 (pow(int, MathContext)): New method.
29484 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29486 * java/math/BigDecimal.java: Added @throws clause to constructors.
29487 (mathContext): Removed this unneeded field.
29488 (BigDecimal(int, MathContext)): New constructor.
29489 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29490 (multiply(BigDecimal, MathContext)): New method.
29491 (negate(MathContext)): Likewise.
29492 (plus(MathContext)): Likewise.
29493 (numDigitsInLong): Fixed to properly handle negatives.
29495 2006-02-25 Chris Burdess <dog@gnu.org>
29497 * gnu/java/net/CRLFInputStream.java,
29498 gnu/java/net/LineInputStream.java: Streams that use mark
29499 capabilities on the underlying stream do not expose mark
29500 functionality themselves.
29501 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29504 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29506 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29507 option flags passed to match methods.
29508 (MF_FIND_ALL): New flag.
29509 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29510 do not try other possibilties once a match is found.
29511 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29512 so that all possibilities can be found.
29513 (match): Rewritten using new methods matchMinimum and _match.
29514 (_match): New method which performs a depth-first recursive search.
29515 (matchMinimum): New method.
29516 (initVisited), (visitedContains), (addVisited): New methods for
29517 manipulating an array of icharacter positions which _match has
29520 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29522 * java/math/BigDecimal.java:
29523 (BigDecimal(long, MathContext)): New constructor.
29524 (BigDecimal(BigInteger, MathContext)): Likewise.
29525 (BigDecimal(String, MathContext)): Likewise.
29526 (BigDecimal(double, MathContext)): Likewise.
29527 (round): Fixed a typo where the precision field was used instead of a
29528 call to the precision method, and also store the new precision in the
29529 returned BigDecimal.
29530 (abs(MathContext)): New method.
29532 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29534 * java/math/BigDecimal.java
29535 (toBigInteger): Fixed problem where this method couldn't handle
29536 negative values for scale.
29537 (toBigIntegerExact): New method.
29538 (stripTrailingZeros): Likewise.
29540 2006-02-24 David Daney <ddaney@avtrex.com>
29543 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29545 (Pool): New inner class.
29546 (timeLastUsed): New field.
29547 (setPool): Changed parameter type to Pool.
29548 (release): Moved pool management logic to new class Pool.
29549 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29551 (maxConnections) : Removed.
29552 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29553 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29555 2006-02-24 Lillian Angel <langel@redhat.com>
29557 * java/awt/Container.java:
29558 Added new field. True if Container has been cleared and
29559 heavyweights need to be repainted.
29560 (paint): Fixed comment. Fixed to use backCleared and
29562 (update): Set backCleared to true after the background
29563 of the container has been cleared.
29565 2006-02-24 Lillian Angel <langel@redhat.com>
29567 * java/awt/TextField.java
29568 (addNotify): Added call to super.
29570 2006-02-24 Lillian Angel <langel@redhat.com>
29572 * java/awt/Component.java
29573 (reshape): Reverted last patch. Should have check here.
29574 (addNotify): Added check. If parent is lightweight, then
29575 initialize listener on the parent.
29576 (HeavyweightInLightweightListener): New class.
29578 2006-02-24 Roman Kennke <kennke@aicas.com>
29580 * javax/swing/plaf/basic/BasicComboPopup.java
29581 (show): Register the popup with the autocloser after it has been
29582 opened completely, by putting the registration on the eventqueue.
29584 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29586 * gnu/java/security/prng/BasePRNG.java:
29587 (clone()): Added cast of buffer to byte[].
29588 * gnu/javax/crypto/mac/TMMH16.java:
29589 (clone()): Fixed casting of cloned arrays.
29590 * native/fdlibm/fdlibm.h:
29591 Added missing defines from old fdlibm.h needed by Darwin.
29592 (GET_FLOAT_WORD(i,d)): Re-added.
29593 (SET_FLOAT_WORD(d,i)): Re-added.
29595 2006-02-24 Roman Kennke <kennke@aicas.com>
29597 * java/awt/Container.java:
29598 (dispatcher): Removed field.
29599 (dispatchEventImpl): Removed lightweight dispatching.
29600 (addNotifyContainerChildren): Removed LightweightDispatcher
29602 (LightweightDispatcher): Removed class.
29603 * java/awt/LightweightDispatcher.java: New class.
29604 * java/awt/Toolkit.java
29605 (Toolkit): Install LightweightDispatcher in global listener
29608 2006-02-24 Chris Burdess <dog@gnu.org>
29611 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29614 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29616 * NEWS: Mentions the VMMath runtime changes.
29617 * doc/vmintegration.texinfo: Updated to include
29620 2006-02-24 Roman Kennke <kennke@aicas.com>
29622 * javax/swing/plaf/basic/BasicLookAndFeel.java
29623 (PopupHelper.autoClosePopups): New field.
29624 (PopupHelper.mousePressed): Also autoclose any registered popups.
29625 (PopupHelper.registerForAutoClose): New method.
29626 (PopupHelper.autoClosePopups): New method.
29627 (popupHelper): Changed type of field to PopupHelper.
29628 (registerForAutoClose): New method.
29629 * javax/swing/plaf/basic/BasicComboPopup.java
29630 (show): Register this popup for autoclosing.
29632 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29634 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29635 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29636 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29638 2006-02-24 Roman Kennke <kennke@aicas.com>
29640 Reported by Ingo Proetel <proetel@aicas.com>
29641 * java/util/logging/LogManager.java
29642 (addLogger): Search the parent loggers for log level
29643 configuration and inherit that.
29644 (readConfiguration): Provide minimal default configuration
29645 if no configuration can be found otherwise.
29647 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29649 * java/math/BigDecimal.java:
29650 (toString): Fixed a problem where the negative sign was being displayed
29651 twice in the exponent.
29652 (toEngineeringString): New method.
29653 (toPlainString): Likewise.
29656 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29658 * java/math/BigDecimal.java:
29659 (toString): Rewrote this method to behave as specified. Added API
29660 comments to explain behaviour.
29661 (scaleByPowerOfTen): New method.
29663 2006-02-23 Roman Kennke <kennke@aicas.com>
29665 * javax/swing/JRootPane.java
29666 (isOptimizedDrawingEnabled): Implemented to return true
29667 when the glassPane is not visible.
29669 2006-02-23 Roman Kennke <kennke@aicas.com>
29671 * javax/swing/plaf/basic/BasicLookAndFeel.java
29672 (PopupHelper): New inner class.
29673 (popupHelper): New field.
29674 (initialize): New method.
29675 (uninitialize): New method.
29676 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29677 (mouseInputListener): Removed field.
29678 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29679 handling of GlassPane.
29680 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29681 handling of GlassPane.
29682 (MouseInputHandler): Removed class.
29684 2006-02-23 Roman Kennke <kennke@aicas.com>
29686 * java/awt/AWTEvent.java
29687 (eventIdToMask): New utility method.
29688 * java/awt/EventQueue.java
29689 (dispatchEvent): Also globally dispatch events via the toolkit.
29690 (globalDispatchEvent): New method.
29691 * java/awt/Toolkit.java
29692 (awtEventListeners): New field.
29693 (Toolkit()): Initialize new field.
29694 (createComponent): Create GLightweightPeer here.
29695 (addAWTEventListener): Implemented and documented.
29696 (removeAWTEventListener): Implemented and documented.
29697 (getAWTEventListeners): Implemented and documented both method
29699 * java/awt/event/AWTEventListenerProxy.java
29700 (eventDispatched): Don't filter events here.
29702 2006-02-23 Chris Burdess <dog@gnu.org>
29705 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29706 gnu/xml/dom/JAXPFactory.java,
29707 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29708 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29709 implement DocumentBuilderFactory.get/setFeature methods.
29711 2006-02-23 Lillian Angel <langel@redhat.com>
29713 * gnu/java/awt/peer/GLightweightPeer.java
29714 (repaint): Scott's proposed fix. Send repaint to the
29715 component's parent.
29716 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29717 (setBounds): Removed next_parent, not needed. Removed
29718 lightweightChild, we always need to compensate for the
29720 * java/awt/Component.java
29721 (setBounds): Removed check. Caused lots of problems, because some
29722 components were not being invalidated. Components should be
29723 invalidated when they are resized or moved, and in some cases,
29724 when a parent is resized/moved, the components do not know
29725 about it and do not adjust.
29726 * java/awt/Graphics.java
29727 (hitClip): Scott's proposed fix. Added check to handle a
29730 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29732 * javax/print/attribute/standard/MediaSize.java:
29733 (media): Field renamed to mediaName for serialization.
29734 (MediaSize): Adapted to new fieldname.
29735 (getMediaSizeName): Likewise.
29736 * javax/print/attribute/HashAttributeSet.java:
29737 (interfaceName): Field renamed to myInterface for serialization.
29738 (HashAttributeSet): Adapted to the new fieldname.
29740 (addAll): Likewise.
29741 (addInternal): Likewise.
29742 (attributeMap): Made transient.
29743 (readObject): New serialization method.
29744 (writeObject): Likewise.
29745 * javax/print/attribute/AttributeSetUtilities.java:
29746 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29747 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29748 (SynchronizedAttributeSet.addAll): Likewise.
29749 (SynchronizedAttributeSet.clear): Likewise.
29750 (SynchronizedAttributeSet.containsKey): Likewise.
29751 (SynchronizedAttributeSet.containsValue): Likewise.
29752 (SynchronizedAttributeSet.equals): Likewise.
29753 (SynchronizedAttributeSet.get): Likewise.
29754 (SynchronizedAttributeSet.hashCode): Likewise.
29755 (SynchronizedAttributeSet.isEmpty): Likewise.
29756 (SynchronizedAttributeSet.remove): Likewise.
29757 (SynchronizedAttributeSet.size): Likewise.
29758 (SynchronizedAttributeSet.toArray): Likewise.
29759 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29760 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29761 (UnmodifiableAttributeSet.addAll): Likewise.
29762 (UnmodifiableAttributeSet.clear): Likewise.
29763 (UnmodifiableAttributeSet.containsKey): Likewise.
29764 (UnmodifiableAttributeSet.containsValue): Likewise.
29765 (UnmodifiableAttributeSet.equals): Likewise.
29766 (UnmodifiableAttributeSet.get): Likewise.
29767 (UnmodifiableAttributeSet.hashCode): Likewise.
29768 (UnmodifiableAttributeSet.isEmpty): Likewise.
29769 (UnmodifiableAttributeSet.remove): Likewise.
29770 (UnmodifiableAttributeSet.size): Likewise.
29771 (UnmodifiableAttributeSet.toArray): Likewise.
29772 * javax/print/attribute/standard/MediaPrintableArea.java:
29773 (width): Field renamed to w for serialization.
29774 (height): Field renamed to h for serialization.
29775 (MediaPrintableArea): Adapted to the new fieldnames.
29776 (MediaPrintableArea): Likewise.
29777 (equals): Likewise.
29778 (hashCode): Likewise.
29779 (getHeight): Likewise.
29780 (getWidth): Likewise.
29782 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29784 * include/java_lang_VMMath.h:
29785 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29786 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29787 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29788 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29789 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29790 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29791 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29792 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29793 * java/lang/Math.java:
29794 (cbrt(double)): Implemented.
29795 (cosh(double)): Implemented.
29796 (expm1(double)): Implemented.
29797 (hypot(double,double)): Implemented.
29798 (log10(double)): Implemented.
29799 (log1p(double)): Implemented.
29800 (signum(double)): Implemented.
29801 (signum(float)): Implemented.
29802 (sinh(double)): Implemented.
29803 (tanh(double)): Implemented.
29804 * native/fdlibm/Makefile.am:
29805 Added new files from fdlibm 5.3.
29806 * native/fdlibm/e_acos.c,
29807 * native/fdlibm/e_asin.c,
29808 * native/fdlibm/e_atan2.c,
29809 * native/fdlibm/e_exp.c,
29810 * native/fdlibm/e_fmod.c,
29811 * native/fdlibm/e_log.c,
29812 * native/fdlibm/e_rem_pio2.c,
29813 * native/fdlibm/e_remainder.c,
29814 * native/fdlibm/e_scalb.c,
29815 * native/fdlibm/e_sqrt.c,
29816 * native/fdlibm/k_cos.c,
29817 * native/fdlibm/k_rem_pio2.c,
29818 * native/fdlibm/k_sin.c,
29819 * native/fdlibm/k_tan.c,
29820 * native/fdlibm/s_atan.c,
29821 * native/fdlibm/s_ceil.c,
29822 * native/fdlibm/s_copysign.c,
29823 * native/fdlibm/s_cos.c,
29824 * native/fdlibm/s_fabs.c,
29825 * native/fdlibm/s_finite.c,
29826 * native/fdlibm/s_floor.c,
29827 * native/fdlibm/s_rint.c,
29828 * native/fdlibm/s_scalbn.c,
29829 * native/fdlibm/s_sin.c,
29830 * native/fdlibm/s_tan.c,
29831 * native/fdlibm/w_acos.c,
29832 * native/fdlibm/w_asin.c,
29833 * native/fdlibm/w_atan2.c,
29834 * native/fdlibm/w_acos.c,
29835 * native/fdlibm/w_exp.c,
29836 * native/fdlibm/w_fmod.c,
29837 * native/fdlibm/w_log.c,
29838 * native/fdlibm/w_pow.c,
29839 * native/fdlibm/w_remainder.c,
29840 * native/fdlibm/w_sqrt.c:
29841 Updated to fdlibm 5.3.
29842 * native/fdlibm/e_cosh.c,
29843 * native/fdlibm/e_hypot.c,
29844 * native/fdlibm/e_log10.c,
29845 * native/fdlibm/e_sinh.c,
29846 * native/fdlibm/s_cbrt.c,
29847 * native/fdlibm/s_expm1.c,
29848 * native/fdlibm/s_log1p.c,
29849 * native/fdlibm/s_tanh.c,
29850 * native/fdlibm/w_cosh.c,
29851 * native/fdlibm/w_hypot.c,
29852 * native/fdlibm/w_log10.c,
29853 * native/fdlibm/w_sinh.c:
29854 Imported from fdlibm 5.3.
29855 * native/fdlibm/fdlibm.h:
29856 Imported from fdlibm 5.3 with Classpath additions.
29857 * native/fdlibm/namespace.h:
29858 Updated from new math_symbols file.
29859 * native/jni/java-lang/java_lang_VMMath.c:
29860 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29861 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29862 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29863 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29865 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29866 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29867 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29868 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29869 * scripts/math_symbols:
29870 Added tanh, expm1, log10 and log1p.
29871 * vm/reference/java/lang/VMMath.java:
29872 (cbrt(double)): Implemented.
29873 (cosh(double)): Implemented.
29874 (expm1(double)): Implemented.
29875 (hypot(double,double)): Implemented.
29876 (log10(double)): Implemented.
29877 (log1p(double)): Implemented.
29878 (sinh(double)): Implemented.
29879 (tanh(double)): Implemented.
29881 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29883 * javax/print/DocFlavor.java: Added documentation all over.
29884 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29885 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29886 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29887 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29888 (URL.TEXT_HTML_HOST): Likewise.
29889 (URL.TEXT_PLAIN_HOST): Likewise.
29890 (hostEncoding): Initialize with host default charset encoding.
29891 (mediaSubtype): Made transient.
29892 (mediaType): Likewise.
29893 (params): Made transient. Changed type to TreeMap.
29894 (className): Removed, changed to myClassName.
29895 (myClassName): New field as defined in serialized form.
29896 (DocFlavor): Adapted to new variable types, names.
29897 (parseMimeType): Reimplemented.
29898 (getParameter): Search with lowercase name.
29899 (getRepresentationClassName): Adapted to changed variable name.
29900 (hashCode): Likewise.
29901 (toString): Reimplemented.
29902 (readObject): New method for serialization.
29903 (writeObject): Likewise.
29905 2006-02-23 Roman Kennke <kennke@aicas.com>
29907 * javax/swing/RepaintManager.java
29908 (commitBuffer): Clip the repaint area with the current clip.
29910 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29912 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29913 (DEFAULT_PRIME_SIZE): Made public.
29914 (DEFAULT_EXPONENT_SIZE): Likewise.
29915 (setup): Handle DHParameterSpec as well.
29916 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29917 defaultFormat instead of Raw.
29918 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29919 (checkIsConstructed): Removed.
29920 (checkIsBigInteger): Likewise.
29921 (decodePublicKey): Use DerUtil.
29922 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29923 (checkIsConstructed): Removed.
29924 (checkIsBigInteger): Likewise.
29925 (decodePrivateKey): Use DerUtil.
29926 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29928 Added mappings for AlgorithmParameters.DH and
29929 AlgorithmParameterGenerator.DH.
29930 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29931 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29932 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29933 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29935 (engineGeneratePublic): Likewise.
29936 * gnu/java/security/util/DerUtil.java: New file.
29937 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29938 Include only valid RSA PKCS1 (v1.5) signature names.
29939 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29940 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29941 (checkIsConstructed): Likewise.
29942 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29943 (checkIsConstructed): Removed.
29944 (checkIsBigInteger): Likewise.
29945 (decodeSignature): Use DerUtil.
29946 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29947 (checkIsConstructed): Removed.
29948 (checkIsBigInteger): Likewise.
29949 (decodePublicKey): Use DerUtil.
29950 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29951 (checkIsConstructed): Removed.
29952 (checkIsBigInteger): Likewise.
29953 (decodePrivateKey): Use DerUtil.
29954 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29955 (checkIsConstructed): Removed.
29956 (checkIsBigInteger): Likewise.
29957 (decodePublicKey): Use DerUtil.
29958 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29959 (checkIsConstructed): Removed.
29960 (checkIsBigInteger): Likewise.
29961 (decodePrivateKey): Use DerUtil.
29962 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29963 (DEFAULT_MODULUS_LENGTH): Made it public.
29964 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29965 defaultFormat instead of Raw.
29966 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29967 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29968 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29970 (engineGeneratePublic): Likewise.
29971 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29973 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29975 * java/math/BigDecimal.java:
29976 (BigDecimal(char[], int, int, MathContext)): New constructor.
29977 (BigDecimal(char[], MathContext)): Likewise.
29978 (BigDecimal(char[])): Likewise.
29979 (BigDecimal(char[], int, int)): Likewise.
29980 (BigDecimal(String)): Fixed handling of exponent and scale.
29982 2006-02-22 Mark Wielaard <mark@klomp.org>
29984 * java/awt/Checkbox.java (setState): Check that state actually changed
29985 before calling peer.
29986 (dispatchEventImpl): Set new state if ItemEvent.
29987 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29988 (create): Set currentState.
29989 (setState): Make synchronized, check and set currentState before
29990 calling gtkToggleButtonSetActive.
29991 (postItemEvent): Make synchronized, check and set currentState before
29993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29994 (postItemEventID): Method now takes boolean.
29995 (item_toggled_cb): Likewise.
29997 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29999 * javax/swing/text/DefaultHighlighter.java:
30000 (changeHighlight): Added code to minimize the damaged area.
30002 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30004 * javax/swing/text/PlainView.java:
30005 (getPreferredSpan): Added missing 'break'.
30006 statement which corrects an unwanted fall through.
30007 (updateDamage): Update maxLineLength correctly when text is
30008 removed, call preferenceChanged accordingly.
30009 (viewToModel): Restrict line number to be within 0 and the
30010 number of elements-1.
30012 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30014 * javax/swing/text/Utilities.java:
30015 (getPositionAbove): Prefer first value by changing comparison
30017 (getPositionBelow): Dito.
30019 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
30021 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30022 behavior when magic caret position is null.
30024 2006-02-22 Roman Kennke <kennke@aicas.com>
30026 * javax/swing/JTextField.java
30027 (isValidateRoot): New method.
30029 2006-02-22 Roman Kennke <kennke@aicas.com>
30031 * javax/swing/JEditorPane.java
30032 (getPreferredSize): Rewritten to behave like the reference impl.
30033 (getScrollableTracksViewportWidth): Likewise.
30034 (getScrollableTracksViewportHeight): Likewise.
30036 2006-02-22 Roman Kennke <kennke@aicas.com>
30038 * javax/swing/RepaintManager.java
30039 (addInvalidComponent): Also consider the component itself.
30041 2006-02-22 Mark Wielaard <mark@klomp.org>
30043 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30044 qualify AbstractDocument.AttributeContext.
30045 (blockOpen): Likewise.
30047 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30049 * java/math/BigDecimal.java:
30050 (mathContext): New field.
30051 (precision): Likewise.
30052 (BigDecimal(int)): New constructor.
30053 (BigDecimal(long)): Likewise.
30054 (BigDecimal(BigInteger)): Added API docs.
30055 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30056 and added API docs.
30057 (plus): New method.
30059 (precision): Likewise.
30060 (valueOf): Likewise.
30061 (numDigitsInLong): New implementation method.
30063 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30065 * java/math/MathContext.java: New class.
30066 * java/math/RoundingMode: New Enum.
30068 2006-02-21 Mark Wielaard <mark@klomp.org>
30070 * java/awt/Component.java (translateEvent): Translate
30071 AdjustmentEvents to 1.0 Events.
30072 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30073 Call setValue() before processing event.
30074 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30075 whether we are currently changing and being called back from the
30076 Scrollbar component.
30077 (setBarValues): New native method.
30078 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30079 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30080 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30081 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30082 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30084 2006-02-21 Roman Kennke <kennke@aicas.com>
30086 * javax/swing/text/View.java
30087 (setParent): Set child parent to null when disconnecting
30088 the view from the View hierarchy.
30090 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30092 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30094 2006-02-21 Roman Kennke <kennke@aicas.com>
30096 * javax/swing/text/WrappedPlainView.java
30097 (calculateBreakPosition): Changed to use the view's allocation instead
30098 of the container's preferredSize.
30100 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30102 * java/awt/CardLayout.java:
30103 (first): Updated api documentation.
30106 (previous): Likewise.
30107 (show): Clarified api docs. Return if name is null. Throw
30108 IllegalArgumentException if layout of container is not this.
30109 (gotoComponent): Updated api documentation. Throw
30110 IllegalArgumentException if layout of container is not this.
30112 2006-02-21 Roman Kennke <kennke@aicas.com>
30114 * javax/swing/text/NavigationFilter.java
30115 (getNextVisualPositionFrom): New method.
30117 2006-02-21 Roman Kennke <kennke@aicas.com>
30119 * javax/swing/plaf/basic/BasicTextUI.java
30120 (RootView.setView): Call setParent() on the view with this as
30121 argument instead of null.
30122 (setView): Don't set root view's parent here.
30124 2006-02-21 Roman Kennke <kennke@aicas.com>
30126 * javax/swing/text/AbstractDocument.java
30127 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30128 the resolving parent.
30129 (AbstractElement.getResolveParent): Fixed to handle possible null
30131 * javax/swing/text/BoxView.java
30132 (childReqs): New field.
30133 (paint): Added debugging code (commented out).
30134 (getPreferredSpan): Rewritten to use new update* methods.
30135 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30136 for the minor axis and preferredSpan for the major axis.
30137 (getMinimumSpan): Rewritten to use new update* methods.
30138 (baselineRequirements): Rewritten to avoid creation of
30139 unnecessary SizeRequirements objects.
30140 (baselineLayout): Rewritten to use new update* methods.
30141 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30142 unnecessary SizeRequirements objects.
30143 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30144 unnecessary SizeRequirements objects.
30145 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30147 (layoutMajorAxis): Rewritten to use new update* methods.
30148 (layoutMinorAxis): Rewritten to use new update* methods.
30149 (getChildRequirements): Replaced by the update* methods.
30150 (getAlignment): Use update* methods.
30151 (updateChildRequirements): New methods. Updates the child requirements
30153 (updateRequirements): New methods. Updates the BoxView requirements
30155 * javax/swing/text/DefaultStyledDocument.java
30156 (ElementBuffer.insert): Added warning for illegal replacement operation.
30157 * javax/swing/text/FlowView.java
30158 (layoutRow): When offset doesn't change, return -1.
30159 (LogicalView): Now subclasses BoxView.
30160 (loadChildren): Let the CompositeView.setParent() load the children
30161 of the logicalView.
30162 (calculateMinorRequirements): New overridden method.
30163 * javax/swing/text/GlyphView.java
30164 (DefaultGlyphPainter.paint): Fixed typo.
30165 (startOffset): Made field private.
30166 (endOffset): Made field private.
30167 (paint): Call getStartOffset() and getEndOffset() instead of the
30169 (isStrikeThrough): Fixed typo.
30170 (breakView): Use Utilities.getBreakLocation() to determine best
30172 (changedUpdate): Call preferencedChange on this instead of parent.
30173 (removeUpdate): Call preferencedChange on this instead of parent.
30174 * javax/swing/text/ParagraphView.java
30175 (Row.getAlignment): For Y_AXIS, call super.
30176 (getAlignment): Likewise.
30177 * javax/swing/text/Utilities.java
30178 (getBreakLocation): Set Segment object directly on the BreakIterator.
30179 * javax/swing/text/html/HTML.java
30180 (Attribute): Made class non-serializable and final as specified.
30181 (Attribute(String)): Made constructor private.
30182 (Attribute.compareTo): Removed.
30183 (Attribute.equals): Removed.
30184 (Attribute.hashCode): Removed.
30185 (Tag): Made class non-comparable and non-serializable as specified.
30186 (Tag.compareTo): Removed.
30187 (Tag.equals): Removed.
30188 (Tag.hashCode): Removed.
30189 * javax/swing/text/html/HTMLDocument.java
30190 (HTMLReader.blockOpen): Add tag as name attribute to element.
30191 * javax/swing/text/html/HTMLEditorKit.java
30192 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30194 * javax/swing/text/html/InlineView.java
30195 (setPropertiesFromAttributes): Call super.
30196 * javax/swing/text/html/NullView.java: New class.
30198 2006-02-21 Roman Kennke <kennke@aicas.com>
30201 * javax/swing/text/GapContent.java
30202 (GapContentPosition): Made class private.
30203 (InsertUndo): Made class private.
30204 (UndoRemove): Made class private.
30205 (WeakPositionComparator): New inner class.
30206 (positions): Made field private.
30207 (createPosition): Clear up GC'ed positions before creating
30208 a new one. Store position as WeakReference.
30209 (getPositionsInRange): Changed to handle WeakReference
30211 (setPositionsInRange): Changed to handle WeakReference
30213 (adjustPositionsInRange): Changed to handle WeakReference
30215 (dumpPositions): Handle WeakReference positions.
30216 (clearPositionReferences): New method.
30218 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30220 * javax/swing/plaf/basic/BasicTextUI.java:
30221 (paint): Remove unneccessary part of the if-expression.
30222 (damageRange): Added case where the range spans multiple lines.
30223 * javax/swing/text/DefaultCaret.java:
30224 (clearHighlight): New method.
30225 (handleHighlight): Removed unneccessary part of the if-expression.
30226 (setDot): Use clearHighlight method.
30227 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30229 (paint): Prevented calling size() on every loop iteration, fixed
30230 calculation of allocation area bounds.
30231 (getHighlights): Implemented.
30232 (removeHighlight): Mark damaged area in textcomponent.
30233 (addHighlight): Mark damaged area in textcomponent.
30234 (changeHighlight): Mark damaged area in textcomponent.
30235 (DefaultHighlighter.HighlightEntry): Made it a real
30236 Highlighter.Highlight implementation.
30237 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30240 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30242 * java/util/zip/ZipConstants.java
30243 (LOCSIG): Change type to long.
30244 (EXTSIG): Likewise.
30245 (CENSIG): Likewise.
30246 (ENDSIG): Likewise.
30247 * java/util/zip/ZipOutputStream.java
30248 (writeLeInt(long)): New method.
30250 2006-02-21 Michael Koch <konqueror@gmx.de>
30252 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30254 2006-02-20 Mark Wielaard <mark@klomp.org>
30256 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30257 (begin_drawing_operation): Output stacktrace and return on bad cairo
30259 (end_drawing_operation): Likewise. And reset cairo_t.
30261 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30263 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30264 in backward selection action.
30266 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30268 * java/lang/reflect/Proxy.java:
30269 (ProxyData.getProxyData): Skipped overriding of core methods.
30270 (ProxyData.isCoreObjectMethod): New method.
30272 2006-02-20 Mark Wielaard <mark@klomp.org>
30274 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30276 2006-02-20 Roman Kennke <kennke@aicas.com>
30278 * javax/swing/text/html/Option.java: New class.
30280 2006-02-20 Lillian Angel <langel@redhat.com>
30282 * java/swt/Window.java
30283 (show): Calling show() on the owned windows caused problems.
30284 Changed back to get the peer and call setVisible.
30286 2006-02-20 Roman Kennke <kennke@aicas.com>
30288 * javax/swing/plaf/basic/BasicTextUI.java
30289 (damageRange): Implemented this method.
30291 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30293 * javax/swing/text/GapContent.java:
30294 (shiftGapEndUp): Corrected new mark value.
30295 * javax/swing/text/AbstractDocument.java:
30296 (remove): Changed order of operations.
30298 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30300 * javax/swing/text/GapContent.java:
30301 (shiftGapEndUp): Reverted.
30302 * javax/swing/text/AbstractDocument.java:
30303 (remove): Reverted.
30305 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30307 * javax/swing/text/GapContent.java:
30308 (shiftGapEndUp): Corrected new mark value.
30309 * javax/swing/text/AbstractDocument.java:
30310 (remove): Changed order of operations.
30312 2006-02-20 Mark Wielaard <mark@klomp.org>
30314 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30316 (insert): Likewise.
30317 (addNotify): Add the item after addNotifying it.
30318 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30319 there is a peer. Use getParent() and setParent() to manipulate parent
30321 (add(Menu)): Use getParent() and setParent() to manipulate parent
30322 field. Call addNotify() and addMenu() when there is a peer.
30323 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30324 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30325 when there is a peer.
30326 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30327 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30328 (setFont): Call setFont(Font).
30329 (setFont(Font)): Document. Only set font when not null.
30330 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30332 (connectSignals): Likewise.
30333 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30335 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30337 (postMenuActionEvent): Document.
30338 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30340 (addItem): Document. Made private.
30341 (addTearOff): Made private.
30342 (connectSignals): New protected overridden method.
30343 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30344 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30345 (create): Document.
30346 (addMenu): Made private, take GtkMenuPeer as argument and document.
30347 (GtkMenuBarPeer): Document.
30348 (nativeSetHelpMenu): Removed.
30349 (addHelpMenu): Implement.
30350 (delMenu): Document.
30351 (addMenu): Implement.
30352 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30353 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30354 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30355 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30358 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30360 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30361 Expect that proxy interfaces may have different class loaders.
30362 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30363 * java/rmi/registry/Registry.java,
30364 * java/rmi/server/UnicastRemoteObject.java:
30365 Documented about proxy stubs.
30366 * gnu/java/rmi/server/CombinedClassLoader.java,
30367 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30368 * NEWS: Added entry.
30370 2006-02-19 Mark Wielaard <mark@klomp.org>
30372 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30373 Parent and Bounds of our children if either or parent is showing, or
30374 we are a Window and are showing ourselves now.
30376 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30378 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30380 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30381 Another stub name fix.
30383 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30385 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30386 Call convertStubName. (convertStubName): New method.
30387 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30388 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30389 (convertStubName): New method.
30390 (getMethodHashCode):
30391 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30392 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30394 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30396 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30398 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30400 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30402 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30404 * javax/swing/JViewport.java (paintBackingStore): If the component has
30405 not been scrolled, only repaint the buffer part, indicated by
30406 the parameter graphics clip.
30408 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30410 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30412 (writePrivateKey): Likewise.
30413 (writeKey): New method.
30414 (getKeyType): Likewise.
30415 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30417 (readPrivateKey): Likewise.
30418 (getKeyPairCodec): New method.
30419 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30420 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30421 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30422 (RSA_PSS_ENCODING): Likewise..
30423 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30424 (RSA_PSS_SIG): Redefined using other constants.
30425 (RSA_PKCS1_V1_5_SIG): Likewise.
30426 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30427 * gnu/java/security/util/FormatUtil.java: New file.
30428 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30429 (getInstance): Let RSASignatureFactory handle RSA signature names.
30430 (getNames): Handle new RSA signature (with format) names.
30431 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30432 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30434 (name): Include hash algorithm name.
30435 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30436 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30437 (RSAPSSSignature): Call constructor with IMessageDigest.
30438 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30439 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30441 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30443 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30444 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30445 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30446 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30447 hash algorithm name to exception.
30448 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30449 * gnu/java/security/key/KeyPairCodecFactory.java
30450 (names): New class field.
30451 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30452 (getInstance(String,String)): New method.
30453 (getInstance(String,int)): New method.
30454 (getInstance(byte[])): Removed.
30455 (getInstance(Key)): Handle new formats.
30456 (getNames): Likewise.
30457 (getEncodingName(int)): Moved to FormatUtil.
30458 (getEncodingShortName(int)): Likewise.
30459 (getRawCodec(String)): New method.
30460 (getX509Codec(String)): Likewise.
30461 (getPKCS8Codec(String)): Likewise.
30462 (getRawCodec(Key)): Likewise.
30463 (getX509Codec(Key)): Likewise.
30464 (getPKCS8Codec(Key)): Likewise.
30465 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30466 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30467 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30468 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30469 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30470 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30471 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30472 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30473 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30475 2006-02-18 Mark Wielaard <mark@klomp.org>
30477 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30479 (NoDragGestureRecognizer): New static class.
30480 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30481 Toolkit doesn't support drag and drop.
30483 2006-02-18 Mark Wielaard <mark@klomp.org>
30485 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30486 (AbstractAction(String)): Just call putValue() for NAME.
30487 (putValue): Nothing to do is old and new value are both null.
30489 2006-02-18 Mark Wielaard <mark@klomp.org>
30491 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30492 through getContentPane().
30493 (preferredLayoutSize): Likewise.
30495 2006-02-18 Mark Wielaard <mark@klomp.org>
30497 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30498 actually set before painting.
30500 2006-02-18 Mark Wielaard <mark@klomp.org>
30502 * javax/swing/text/html/HTMLDocument.java (addContent):
30503 Fully qualify AbstractDocument.AttributeContext and
30504 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30506 2006-02-18 Mark Wielaard <mark@klomp.org>
30508 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30509 (getRepresentationClassFromMime): Add exception cause to
30510 IllegalArgumentException.
30512 2006-02-17 Lillian Angel <langel@redhat.com>
30514 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30515 Removed unneeded import.
30516 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30517 Removed unneeded imports.
30518 * java/awt/BorderLayout.java:
30519 Fixed comment, this is not yet handled in the JDK 1.5.
30520 * java/awt/Container.java:
30521 Removed unneeded import.
30523 2006-02-17 Lillian Angel <langel@redhat.com>
30525 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30526 (setBounds): Removed check. Coordinates should always be changed
30527 to incorporate the parent's coordinates.
30528 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30529 (setMenuBar): Added checks. Don't validate component if it has
30530 not been validated yet, it will be validated later. Only validate
30531 if it has already been validated, in that case it needs to be
30533 * java/awt/Window.java
30534 (show): Added check. If the window is visible, then bring it to the
30535 front. Otherwise, iterate through all its children windows and show them.
30536 No need to do both.
30538 2006-02-17 Roman Kennke <kennke@aicas.com>
30540 * javax/swing/text/html/ParagraphView.java: New file.
30542 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30544 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30545 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30546 same location where was the initial text.
30547 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30549 2006-02-17 Chris Burdess <dog@gnu.org>
30551 Fixes PRs 26319, 26320, 26321, 26322, 26325
30552 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30553 rethrowing exception.
30554 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30555 1.1-style prefix unbinding in 1.0 document" error for xmlns
30556 prefixes, not xmlns attributes. Fix a problem with empty namespace
30557 stack at the end of a document. Permit parameter entity references
30558 in element and attribute-list definition name area. Corrected
30559 normalisation of whitespace character entity references in CDATA
30560 attribute values. Fixed number of characters read following a
30561 reset when detecting end of character data with characters after a
30562 Unicode surrogate pair.
30564 2006-02-17 Roman Kennke <kennke@aicas.com>
30566 * javax/swing/text/html/HTMLEditorKit.java
30567 (HTMLFactory.create): Create InlineView for content tags.
30568 * javax/swing/text/html/HTMLDocument.java
30569 (HTMLReader.flush): Call create() on first flush and insert
30570 on subsequent flushes.
30572 2006-02-17 Roman Kennke <kennke@aicas.com>
30574 * javax/swing/text/AbstractDocument.java
30575 (BranchElement.getStartOffset): Implemented workaround for wrong
30577 (BranchElement.getEndOffset): Implemented workaround for wrong
30579 (ElementBuffer.split): Use createBranchElement() instead of
30580 new BranchElement().
30581 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30582 new BranchElement().
30583 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30584 instead of new BranchElement().
30585 (createDefaultRoot): Use createBranchElement() and createLeafElement
30586 instead of the constructors.
30587 (create): Rewritten.
30589 2006-02-17 Keith Seitz <keiths@redhat.com>
30591 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30592 (SIZE): New constant.
30593 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30594 (executeIDsizes): Use SIZE constant.
30595 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30596 (SIZE): New constant.
30598 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30600 * javax/swing/JTable.java (IconCellRenderer): Set the component
30601 text to empty string. (createDefaultRenderers): Register
30602 IconCellRenderer also for ImageIcon.
30603 (getCellEditor(int, int), getCellRenderer(int, int)):
30604 Use model index for data model and column index for column model.
30605 (getColumnClass): Convert to model index before requesting class
30608 2006-02-17 Roman Kennke <kennke@aicas.com>
30610 * javax/swing/text/html/HTMLDocument.java
30611 (createDefaultRoot): Implemented.
30612 (createLeafElement): Implemented.
30613 (createBranchElement): Implemented.
30614 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30615 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30616 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30617 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30618 (HTMLReader.blockOpen): Add name attribute with the current tag.
30619 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30621 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30623 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30625 * javax/swing/table/JTableHeader.java: Documenting related methods.
30627 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30630 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30631 (connect): Changed to use SystemProperties.
30632 (getInputStream): Try changeWorkingDirectory to figure out if
30633 url is a directory, if not use retrieve.
30634 (getOutputStream): Don't worry about directories, simply always
30637 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30639 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30640 (ActiveModeDTP): Mark accept thread as daemon.
30642 2006-02-17 Michael Koch <konqueror@gmx.de>
30644 * tools/.cvsignore: Ignore tools.zip.
30646 2006-02-16 Keith Seitz <keiths@redhat.com>
30648 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30649 Set the ID's reference.
30650 (<clinit>): Remove comments for field, method, and frame ID types,
30651 which will not be handled by VMIdManager.
30653 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30655 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30656 Use model index, not the column number.
30657 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30658 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30659 movement by painting draggingHeaderRect.
30660 * NEWS: Added entry about JTable columns.
30662 2006-02-16 Keith Seitz <keiths@redhat.com>
30664 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30665 default size of eight bytes.
30666 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30667 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30668 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30669 (executeIDsizes): Use new static methods.
30670 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30673 2006-02-16 David Daney <ddaney@avtrex.com>
30676 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30677 return value with 0xff.
30679 2006-02-16 Keith Seitz <keiths@redhat.com>
30681 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30682 (matches): Use Iterator instead of ListIterator.
30684 2006-02-16 Keith Seitz <keiths@redhat.com>
30686 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30687 processor thread for easier debugging.
30688 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30691 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30693 * javax/swing/JTable.java
30694 (TableColumnPropertyChangeHandler.propertyChange): Return without
30695 action if table header resizing column in not null. (doLayout):
30696 Only repaint the header if it is not null.
30697 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30698 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30699 Rewritten. (MouseInputHandler.endResizing): New method.
30701 2006-02-16 Roman Kennke <kennke@aicas.com>
30703 * javax/swing/text/html/InlineView.java: New file.
30705 2006-02-16 Roman Kennke <kennke@aicas.com>
30707 * javax/swing/JTabbedPane.java
30708 (AccessibleJTable.getAccessibleChild): Implemented to return
30709 the Page instance for the specified index.
30710 (Page): Changed to implement Accessible and extend
30712 (Page.getAccessibleContext): New method.
30713 (Page.getAccessibleRole): New method.
30714 (Page.getAccessibleStateSet): New method.
30715 (Page.getAccessibleIndexInParent): New method.
30716 (Page.getAccessibleChildrenCount): New method.
30717 (Page.getAccessibleChild): New methdod.
30718 (Page.getLocale): New method.
30720 2006-02-16 Roman Kennke <kennke@aicas.com>
30722 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30723 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30724 tabCount gets greater than tabRuns.length.
30725 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30726 when tabCount gets greater than tabRuns.length.
30727 (paintTabArea): Don't set tabCount == runCount.
30729 2006-02-16 Roman Kennke <kennke@aicas.com>
30731 * javax/swing/plaf/basic/BasicTextUI.java
30732 (installUI): Moved installation of PropertyChangeListener
30733 to installListeners(). Call modelChanged() after everything is
30735 (installListeners): Install PropertyChangeListener here.
30736 (uninstallUI): Moved uninstallation of PropertyChangeListener
30737 to uninstallListeners.
30738 (uninstallListeners): Uninstall PropertyChangeListener here.
30740 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30742 * javax/swing/JTable.java (doLayout):
30743 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30745 javax/swing/plaf/basic/BasicTableHeaderUI.java
30746 (MouseInputHandler.mouseDragged): Do not repaint the header.
30748 2006-02-16 Roman Kennke <kennke@aicas.com>
30750 * javax/swing/JViewport.java
30751 (static_initializer): Set default scrollMode to backingstore.
30753 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30755 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30756 returned by getCellRect. To not translate the component.
30758 2006-02-16 Roman Kennke <kennke@aicas.com>
30760 * javax/swing/JComponent.java
30761 (rectCache): Made field non-static to avoid nasty interferences.
30762 (computeVisibleRect): Avoid creation of new Rectangles and double
30763 calculations on ints by using Swing.computeIntersection() instead
30764 of Rectangle2D.intersect().
30765 (repaint): Interect the dirty region with the visible rectangle
30766 of this component to avoid unnecessary painting.
30768 2006-02-16 Gary Benson <gbenson@redhat.com>
30770 * java/lang/Thread.java (stop): Add a missing access check.
30772 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30774 * javax/swing/text/JTextComponent.java:
30775 (replaceSelection): Added code to update the magic caret position.
30776 * javax/swing/text/DefaultEditorKit.java: Added code to update
30777 the magic caret position of the text component in all relevant
30778 movement actions, make use of the magic caret position in up
30779 and down movements and selections, simplified some actions
30782 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30784 * gnu/java/lang/CharData.java: Regenerated from
30785 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30786 and scripts/unicode-muncher.pl.
30787 * java/lang/Character.java:
30788 (PrivateUseCharacters): New private static class.
30789 (UnassignedCharacters): Likewise.
30790 (blocks): Changed from char[] to char[][] to reflect the changes in
30791 gnu/java/lang/CharData. There is now one char[] per Unicode code
30794 (numValue): Likewise.
30797 (direction): Likewise.
30798 (readChar): Replaced this method with new method readCodePoint.
30799 (readCodePoint): New method.
30800 (isLowerCase(char)): Redirected to new isLowerCase(int).
30801 (isLowerCase(int)): New method.
30802 (isUpperCase(char)): Redirected to new isUpperCase(int).
30803 (isUpperCase(int)): New method.
30804 (isTitleCase(char)): Redirected to new isTitleCase(int).
30805 (isTitleCase(int)): New method.
30806 (isDigit(char)): Redirected to new isDigit(int).
30807 (isDigit(int)): New method.
30808 (isDefined(char)): Redirected to new isDefined(int).
30809 (isDefined(int)): New method.
30810 (isLetter(char)): Redirected to new isLetter(int).
30811 (isLetter(int)): New method.
30812 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30813 (isLetterOrDigit(int)): New method.
30814 (isJavaIdentifierStart(char)): Redirected to new
30815 isJavaIdentifierStart(int).
30816 (isJavaIdentifierStart(int)): New method.
30817 (isJavaIdentifierPart(char)): Redirected to new
30818 isJavaIdentifierPart(int).
30819 (isJavaIdentifierPart(int)): New method.
30820 (isUnicodeIdentifierStart(char)): Redirected to new
30821 isUnicodeIdentifierStart(int).
30822 (isUnicodeIdentifierStart(int)): New method.
30823 (isUnicodeIdentifierPart(char)): Redirected to new
30824 isUnicodeIdentifierPart(int).
30825 (isUnicodeIdentifierPart(int)): New method.
30826 (isIdentifierIgnorable(char)): Redirected to new
30827 isIdentifierIgnorable(int).
30828 (isIdentifierIgnorable(int)): New method.
30829 (toLowerCase(char)): Changed access to lower to correspond with new
30830 char[][] type of lower.
30831 (toLowerCase(int)) New method.
30832 (toUpperCase(char)): Changed access to upper to correspond with new
30833 char[][] type of upper.
30834 (toUpperCase(int)): New method.
30835 (toTitleCase(int)): New method.
30836 (digit(char, int)): Replaced call to readChar with call to
30837 readCodePoint and changed access to numValue to reflect new char[][]
30839 (digit(int, int)): New method.
30840 (getNumericValue(char)): Changed access to numValue to reflect new
30841 char[][] type of numValue.
30842 (getNumericValue(int)): New method.
30843 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30844 (isSpaceChar(int)): New method.
30845 (isWhitespace(char)): Redirected to new isWhitespace(int).
30846 (isWhitespace(int)): New method.
30847 (isISOControl(char)): Redirected to new isISOControl(int).
30848 (isISOControl(int)): New method.
30849 (getType(char)): Redirected to new getType(int).
30850 (getType(int)): New method.
30851 (getDirectionality(char)): Redirected to new getDirectionality(int).
30852 (getDirectionality(int)): New method.
30853 (isMirrored(char)): Changed call to readChar to readCodePoint.
30854 (isMirrored(int)): New method.
30855 * java/lang/String.java:
30856 (upperCaseExpansion): Changed access to Character.direction to reflect
30857 new char[][] type of direction.
30858 (offsetByCodePoints): New method.
30859 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30860 4.0.0 which introduced supplementary character assignments.
30862 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30864 * javax/swing/JTable.java,
30865 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30866 javax/swing/table/DefaultTableModel.java: Documented.
30868 2006-02-15 Lillian Angel <langel@redhat.com>
30870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30871 Removed duplicate methods.
30873 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30875 * javax/swing/JTable.java (distributeSpillResizing): New method.
30876 (doLayout): Use distributeSpillResizing when resizing.
30877 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30878 Rewritten. (installListeners): Add mouse motion listener.
30879 (uninstallListeners): Remove mouse motion listener.
30881 2006-02-15 Lillian Angel <langel@redhat.com>
30883 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30884 (setVisible): Removed method.
30885 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30886 (setLocation): New method.
30887 (setLocationUnlocked): New method.
30888 (show): Changed to use setLocation instead of setBounds.
30889 * java/awt/Component.java
30890 (show): Should call peer.show(), not peer.setVisible(), so the
30891 location of the component is correctly set.
30892 (preferredSize): Added curly braces so else statements are
30893 properly associated with if's.
30894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30895 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30897 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30898 LocationUnlocked): New function.
30899 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30900 Added declarations for Java_gnu_java_awt_peer_gtk_
30901 GtkWindowPeer_nativeSetLocation and
30902 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30903 _nativeSetLocationUnlocked.
30905 2006-02-15 Mark Wielaard <mark@klomp.org>
30907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30908 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30909 Downcast gtk_plug_new result when used.
30911 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30913 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30914 Call assignNewHandle() after writing Proxy class.
30916 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30919 * java/io/ObjectInputStream.java (readClassDescriptor):
30920 Class doesn't have to be abstract for first_nonserial.
30922 2006-02-15 Roman Kennke <kennke@aicas.com>
30924 * javax/swing/JInternalFrame.java
30925 (setClosed): Call dispose to actually make the frame invisible
30928 2006-02-15 Roman Kennke <kennke@aicas.com>
30930 * javax/swing/JInternalFrame.java
30931 (dispose): Call setVisible(false) instead of hide.
30932 (doDefaultCloseOperation): Likewise.
30934 2006-02-15 Roman Kennke <kennke@aicas.com>
30936 * javax/swing/JComponent.java
30937 (paintChildren): Also check for the visibility of a child component
30938 to avoid artifacts.
30939 (repaint): Simply add this component to the RepaintManager rather than
30940 trying to do useless optimization here.
30942 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30944 * javax/swing/JSpinner.java
30945 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30946 PropertyChangeListener,
30947 (DefaultEditor.getSpinner): Updated API docs,
30948 (DefaultEditor.dismiss): Likewise,
30949 (DefaultEditor.getTextField): Likewise,
30950 (DefaultEditor.layoutContainer): Likewise,
30951 (DefaultEditor.minimumLayoutSize): Likewise,
30952 (DefaultEditor.preferredLayoutSize): Likewise,
30953 (DefaultEditor.propertyChange): Implemented,
30954 (DefaultEditor.stateChanged): Implemented,
30955 (DefaultEditor.removeLayoutComponent): Updated API docs,
30956 (DefaultEditor.addLayoutComponent): Likewise,
30957 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30958 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30959 (NumberEditor.getFormat): Implemented,
30960 (NumberEditor.getModel): Updated API docs,
30961 (NumberEditorFormatter): New static inner class,
30962 (ListEditor.getModel): Updated API docs,
30963 (DateEditor.dateFormat): Removed,
30964 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30965 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30966 (DateEditor.init): Removed,
30967 (DateEditor.getFormat): Reimplemented,
30968 (DateEditorFormatter): New static inner class,
30969 (ModelListener): New inner class,
30970 (model): Updated API docs,
30971 (editor): Likewise,
30972 (listener): Removed,
30973 (JSpinner()): Updated API docs,
30974 (JSpinner(SpinnerModel)): Set up ModelListener,
30975 (setEditor): Fire property change,
30976 (getModel): Updated API docs,
30977 (setModel): Removed check for null editor,
30978 (setValue): Updated API docs,
30979 (getUIClassID): Updated API docs,
30980 (createEditor): Handle SpinnerListModel case,
30981 * javax/swing/plaf/basic/BasicSpinnerUI.java
30982 (createUI): Updated API docs,
30983 (createPropertyChangeListener): Added FIXME,
30984 (installDefaults): Set text field border to null,
30985 (DefaultLayoutManager): Updated API docs,
30986 (DefaultLayoutManager.layoutContainer): Modified layout,
30987 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30988 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30989 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30990 (DefaultLayoutManager.addLayoutComponent): Likewise,
30991 (DefaultLayoutManager.minSize): Renamed prefSize,
30992 (DefaultLayoutManager.setBounds): Reformatted,
30993 (DefaultLayoutManager.editor): Added API docs,
30994 (DefaultLayoutManager.next): Likewise,
30995 (DefaultLayoutManager.previous): Likewise,
30996 * javax/swing/plaf/metal/MetalLookAndFeel.java
30997 (initComponentDefaults): Added entry for 'Spinner.border',
30998 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31000 2006-02-15 Chris Burdess <dog@gnu.org>
31002 * gnu/xml/validation/datatype/BooleanType.java,
31003 gnu/xml/validation/datatype/ByteType.java,
31004 gnu/xml/validation/datatype/DateTimeType.java,
31005 gnu/xml/validation/datatype/DateType.java,
31006 gnu/xml/validation/datatype/DecimalType.java,
31007 gnu/xml/validation/datatype/DoubleType.java,
31008 gnu/xml/validation/datatype/DurationType.java,
31009 gnu/xml/validation/datatype/FloatType.java,
31010 gnu/xml/validation/datatype/GDayType.java,
31011 gnu/xml/validation/datatype/GMonthDayType.java,
31012 gnu/xml/validation/datatype/GMonthType.java,
31013 gnu/xml/validation/datatype/GYearMonthType.java,
31014 gnu/xml/validation/datatype/GYearType.java,
31015 gnu/xml/validation/datatype/IntType.java,
31016 gnu/xml/validation/datatype/IntegerType.java,
31017 gnu/xml/validation/datatype/LongType.java,
31018 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31019 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31020 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31021 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31022 gnu/xml/validation/datatype/NegativeIntegerType.java,
31023 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31024 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31025 gnu/xml/validation/datatype/PositiveIntegerType.java,
31026 gnu/xml/validation/datatype/ShortType.java,
31027 gnu/xml/validation/datatype/SimpleType.java,
31028 gnu/xml/validation/datatype/TimeType.java,
31029 gnu/xml/validation/datatype/TypeBuilder.java,
31030 gnu/xml/validation/datatype/UnsignedByteType.java,
31031 gnu/xml/validation/datatype/UnsignedIntType.java,
31032 gnu/xml/validation/datatype/UnsignedLongType.java,
31033 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31034 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31035 minInclusive facets use the value space of the base type, and
31038 2006-02-15 Mark Wielaard <mark@klomp.org>
31040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31041 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31042 gtk_plug_new() returns a GtkWindow.
31044 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31046 * javax/swing/SpinnerNumberModel.java
31047 (getNextValue): Check for null maximum,
31048 (getPreviousValue): Check for null minimum.
31050 2006-02-15 Roman Kennke <kennke@aicas.com>
31052 * javax/swing/plaf/basic/BasicTableUI.java
31053 (paint): Paint vertical and horizontal lines one pixel shifted
31056 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31058 * java/util/zip/ZipFile.java
31059 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31060 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31061 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31062 (readEntries): Rewritten to use PartialInputStream.
31063 (locBuf, checkLocalHeader): Removed.
31064 (getInputStream): Rewritten to use new PartialInputStream.
31065 (PartialInputStream): Rewritten to do buffering.
31067 2006-02-15 Michael Koch <konqueror@gmx.de>
31069 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31070 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31071 Make sure the embedded window gets no decorations.
31072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31073 (window_get_frame_extents): Return early of the window has no
31076 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31078 * examples/gnu/classpath/examples/swing/TableDemo.java
31079 (TModel, createContent): Explain which value appears in the header.
31080 * javax/swing/JTable.java (setColumnModel): Only set the
31081 column header value if the getHeaderValue() returns null.
31083 2006-02-14 Mark Wielaard <mark@klomp.org>
31086 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31087 (getErrorImage): New static method.
31088 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31089 (bufferedImageOrError): Renamed to ...
31090 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31091 Returns GtkImage.getErrorImage() when argument null.
31092 (createImage(String)): Always use imageOrError.
31093 (createImage(URL)): Likewise.
31094 (createImage(ImageProducer)): Likewise.
31095 (createImage(byte[],int,int)): Likewise.
31097 2006-02-14 Roman Kennke <kennke@aicas.com>
31099 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31101 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31102 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31103 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31104 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31105 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31107 2006-02-14 Roman Kennke <kennke@aicas.com>
31109 * javax/swing/text/AsyncBoxView.java
31110 (ChildState.locator): Removed wrong field.
31111 (ChildState): Removed initialization of removed field.
31112 (locator): Changed access modifier to be protected as specified.
31114 2006-02-14 Roman Kennke <kennke@aicas.com>
31116 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31117 * javax/swing/Timer.java: Some small reindention.
31118 (task): Made package private to avoid synthetic accessor method.
31120 2006-02-14 Roman Kennke <kennke@aicas.com>
31122 * javax/swing/SwingUtilities.java
31123 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31126 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31128 * examples/gnu/classpath/examples/swing/TableDemo.java:
31129 Making the columns variable width.
31130 * javax/swing/JTable.java (distributeSpill, doLayout):
31131 Call getPreferredSize and not getSize().
31133 2006-02-14 Roman Kennke <kennke@aicas.com>
31135 * javax/swing/DefaultCellEditor.java
31136 (DefaultCellEditor): API doc fixlet.
31138 2006-02-14 Roman Kennke <kennke@aicas.com>
31140 * javax/swing/JViewport.java
31141 (isPaintRoot): New field.
31142 (repaint): Only call super here. Also added a comment regarding
31143 the diversion from the JDK.
31144 (paintBlit): Implemented real blitting.
31145 (paintImmediately2): New method. Overrides the same package private
31146 method in JComponent.
31148 2006-02-14 Roman Kennke <kennke@aicas.com>
31150 * javax/swing/plaf/basic/BasicTableUI.java
31151 (paint): Check for boundary cases when determining the painting
31154 2006-02-14 Mark Wielaard <mark@klomp.org>
31156 * java/awt/Menu.java (add): Always set parent of item to this. Call
31157 addNotify() on item when we have a MenuPeer already.
31158 (insert): Always adjust parent for item. Call addNotify() on item if
31159 we already have a peer.
31160 (remove(int)): Always clear item parent. Call removeNotify() on item
31163 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31165 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31166 row == getRowCount().
31168 2006-02-14 Lillian Angel <langel@redhat.com>
31170 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31171 (setVisible): New method to override super. Need to set the
31172 native bounds of the component, so it appears at the
31175 2006-02-14 Mark Wielaard <mark@klomp.org>
31177 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31178 (remove): If menu component is the current MenuBar remove it,
31179 otherwise call super.remove().
31180 * java/awt/MenuBar.java (frame): Remove field.
31181 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31183 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31185 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31186 to NameServicePersistent.
31187 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31188 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31190 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31192 * NEWS: Updated tool status.
31193 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31194 (constructor, bind, rebind): Rewritten.
31195 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31196 * tools/gnu/classpath/tools/giop/README: Updated.
31197 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31198 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31199 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31200 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31201 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31204 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31206 * javax/swing/JComponent.java
31207 (getListeners): Check for PropertyChangeListener.class and delegate to
31208 getPropertyChangeListeners() for that case.
31210 2006-02-13 Roman Kennke <kennke@aicas.com>
31212 * javax/swing/plaf/basic/BasicTableUI.java
31213 (paint): Determine the cells that need painting based on the
31214 current clip. Use getCellRect() for calculating the cell
31217 2006-02-13 Roman Kennke <kennke@aicas.com>
31219 * javax/swing/JTable.java
31220 (rectCache): New field.
31221 (getCellRect): Returns cached Rectangle instance.
31223 2006-02-13 Roman Kennke <kennke@aicas.com>
31225 * javax/swing/JLayeredPane.java
31226 (removeAll): New method. Avoid potential memory leak.
31227 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31230 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31232 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31233 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31235 2006-02-13 Tom Tromey <tromey@redhat.com>
31237 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31238 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31240 2006-02-13 Roman Kennke <kennke@aicas.com>
31242 * javax/swing/RepaintManager.java
31243 (offscreenBuffers): New field.
31244 (doubleBuffer): Removed field.
31245 (repaintUnderway): New field.
31246 (commitRequests): New field.
31247 (RepaintManager): Initialize new fields.
31248 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31250 (getOffscreenBuffer): Returns the offscreen buffer for the
31251 corresponding root component.
31252 (commitBuffer): New method.
31253 (commitRemainingBuffers): New method.
31254 * javax/swing/JComponent.java
31255 (paint): Call paintDoubleBuffered with the current clip.
31256 (paintImmediately2): Don't paint on screen here.
31257 (paintDoubleBuffered): Rewritten for real double buffering.
31258 (paintSimple): Draw to screen in this method.
31260 2006-02-13 Roman Kennke <kennke@aicas.com>
31262 * javax/swing/JRootPane.java
31263 (JRootPane): Set opaque property to true.
31265 2006-02-13 Tom Tromey <tromey@redhat.com>
31267 * .classpath: Updated for external/relaxngDatatype.
31269 2006-02-13 Chris Burdess <dog@gnu.org>
31271 * gnu/xml/stream/UnicodeReader.java,
31272 gnu/xml/validation/datatype/Annotation.java,
31273 gnu/xml/validation/datatype/AnySimpleType.java,
31274 gnu/xml/validation/datatype/AnyType.java,
31275 gnu/xml/validation/datatype/AnyURIType.java,
31276 gnu/xml/validation/datatype/AtomicSimpleType.java,
31277 gnu/xml/validation/datatype/Base64BinaryType.java,
31278 gnu/xml/validation/datatype/BooleanType.java,
31279 gnu/xml/validation/datatype/ByteType.java,
31280 gnu/xml/validation/datatype/DateTimeType.java,
31281 gnu/xml/validation/datatype/DateType.java,
31282 gnu/xml/validation/datatype/DecimalType.java,
31283 gnu/xml/validation/datatype/DoubleType.java,
31284 gnu/xml/validation/datatype/DurationType.java,
31285 gnu/xml/validation/datatype/EntitiesType.java,
31286 gnu/xml/validation/datatype/EntityType.java,
31287 gnu/xml/validation/datatype/EnumerationFacet.java,
31288 gnu/xml/validation/datatype/Facet.java,
31289 gnu/xml/validation/datatype/FloatType.java,
31290 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31291 gnu/xml/validation/datatype/GDayType.java,
31292 gnu/xml/validation/datatype/GMonthDayType.java,
31293 gnu/xml/validation/datatype/GMonthType.java,
31294 gnu/xml/validation/datatype/GYearMonthType.java,
31295 gnu/xml/validation/datatype/GYearType.java,
31296 gnu/xml/validation/datatype/HexBinaryType.java,
31297 gnu/xml/validation/datatype/IDRefType.java,
31298 gnu/xml/validation/datatype/IDRefsType.java,
31299 gnu/xml/validation/datatype/IDType.java,
31300 gnu/xml/validation/datatype/IntType.java,
31301 gnu/xml/validation/datatype/IntegerType.java,
31302 gnu/xml/validation/datatype/LanguageType.java,
31303 gnu/xml/validation/datatype/LengthFacet.java,
31304 gnu/xml/validation/datatype/ListSimpleType.java,
31305 gnu/xml/validation/datatype/LongType.java,
31306 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31307 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31308 gnu/xml/validation/datatype/MaxLengthFacet.java,
31309 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31310 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31311 gnu/xml/validation/datatype/MinLengthFacet.java,
31312 gnu/xml/validation/datatype/NCNameType.java,
31313 gnu/xml/validation/datatype/NMTokenType.java,
31314 gnu/xml/validation/datatype/NMTokensType.java,
31315 gnu/xml/validation/datatype/NameType.java,
31316 gnu/xml/validation/datatype/NegativeIntegerType.java,
31317 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31318 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31319 gnu/xml/validation/datatype/NormalizedStringType.java,
31320 gnu/xml/validation/datatype/NotationType.java,
31321 gnu/xml/validation/datatype/PatternFacet.java,
31322 gnu/xml/validation/datatype/PositiveIntegerType.java,
31323 gnu/xml/validation/datatype/QNameType.java,
31324 gnu/xml/validation/datatype/ShortType.java,
31325 gnu/xml/validation/datatype/SimpleType.java,
31326 gnu/xml/validation/datatype/StringType.java,
31327 gnu/xml/validation/datatype/TimeType.java,
31328 gnu/xml/validation/datatype/TokenType.java,
31329 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31330 gnu/xml/validation/datatype/Type.java,
31331 gnu/xml/validation/datatype/TypeBuilder.java,
31332 gnu/xml/validation/datatype/TypeLibrary.java,
31333 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31334 gnu/xml/validation/datatype/UnionSimpleType.java,
31335 gnu/xml/validation/datatype/UnsignedByteType.java,
31336 gnu/xml/validation/datatype/UnsignedIntType.java,
31337 gnu/xml/validation/datatype/UnsignedLongType.java,
31338 gnu/xml/validation/datatype/UnsignedShortType.java,
31339 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31340 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31341 RELAX NG datatype library implementation for XML Schema Datatypes.
31343 2006-02-13 Chris Burdess <dog@gnu.org>
31349 external/Makefile.am,
31350 external/relaxngDatatype/.cvsignore,
31351 external/relaxngDatatype/Makefile.am,
31352 external/relaxngDatatype/README.txt,
31353 external/relaxngDatatype/copying.txt,
31354 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31355 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31356 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31357 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31358 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31359 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31360 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31361 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31362 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31363 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31365 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31366 datatypes library API.
31368 2006-02-13 Mark Wielaard <mark@klomp.org>
31370 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31372 (gtkWidgetModifyFont(Font)): New protected helper method.
31373 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31374 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31375 protected and document.
31376 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31378 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31380 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31382 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31383 (setFont): Removed method. Done in GtkMenuComponent.
31384 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31385 abstract and protected.
31386 (setFont): Made private, add implementation.
31387 (setFont(Font)): Implemented.
31388 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31389 Made protected and document.
31390 (create): Made protected.
31391 (setFont): Removed method. Done in GtkMenuComponent.
31392 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31393 (gtkWidgetModifyFont): Made protected and document.
31394 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31395 Removed, similar to GtkGenericPeer super class implementation.
31396 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31397 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31398 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31401 2006-02-13 Mark Wielaard <mark@klomp.org>
31403 * java/lang/Math.java (static): Explicitly call
31404 System.loadLibrary("javalang").
31406 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31408 * javax/print/StreamPrintServiceFactory.java: New file.
31410 2006-02-13 Tom Tromey <tromey@redhat.com>
31412 * tools/.cvsignore: Added Makefile.
31414 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31416 * java/awt/print/PrinterGraphics.java: Reformatted.
31417 * java/awt/print/Paper.java: Likewise.
31418 * java/awt/print/PageFormat.java: Likewise.
31419 * java/awt/print/Pageable.java: Likewise.
31421 2006-02-13 Lillian Angel <langel@redhat.com>
31423 * java/awt/BorderLayout.java
31424 (layoutContainer): Rewrote part of this function to
31425 properly set the bounds of the components.
31426 (setBounds): Removed method, not needed.
31428 2006-02-13 Roman Kennke <kennke@aicas.com>
31430 * javax/swing/text/DefaultStyledDocument.java
31431 (ElementBuffer.clone): Fixed replace call.
31432 (clone): Removed method.
31434 2006-02-13 Roman Kennke <kennke@aicas.com>
31436 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31438 2006-02-13 Roman Kennke <kennke@aicas.com>
31440 * java/rmi/server/UnicastRemoteObject.java
31441 (exportObject(Remote)): Forward method call to export(Remote,int).
31443 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31445 * include/Makefile.am:
31446 Swapped Math.h for VMMath.h
31447 * include/java_lang_Math.h:
31449 * include/java_lang_VMMath.h:
31450 New autogenerated header for the new class.
31451 * java/lang/Math.java:
31452 (sin(double)): Changed to link to VMMath.
31453 (cos(double)): Changed to link to VMMath.
31454 (tan(double)): Changed to link to VMMath.
31455 (asin(double)): Changed to link to VMMath.
31456 (acos(double)): Changed to link to VMMath.
31457 (atan(double)): Changed to link to VMMath.
31458 (atan2(double)): Changed to link to VMMath.
31459 (exp(double)): Changed to link to VMMath.
31460 (log(double)): Changed to link to VMMath.
31461 (sqrt(double)): Changed to link to VMMath.
31462 (pow(double,double)): Changed to link to VMMath.
31463 (IEEEremainder(double,double)): Changed to link to VMMath.
31464 (ceil(double)): Changed to link to VMMath.
31465 (floor(double)): Changed to link to VMMath.
31466 (rint(double)): Changed to link to VMMath.
31467 * native/jni/java-lang/Makefile.am:
31468 Replaced java_lang_Math.c with java_lang_VMMath.c
31469 * native/jni/java-lang/java_lang_Math.c:
31471 * native/jni/java-lang/java_lang_VMMath.c:
31472 Renamed from java_lang_Math.c.
31473 * vm/reference/java/lang/VMMath.java:
31475 (sin(double)): New native method.
31476 (cos(double)): New native method.
31477 (tan(double)): New native method.
31478 (asin(double)): New native method.
31479 (acos(double)): New native method.
31480 (atan(double)): New native method.
31481 (atan2(double)): New native method.
31482 (exp(double)): New native method.
31483 (log(double)): New native method.
31484 (sqrt(double)): New native method.
31485 (pow(double,double)): New native method.
31486 (IEEEremainder(double,double)): New native method.
31487 (ceil(double)): New native method.
31488 (floor(double)): New native method.
31489 (rint(double)): New native method.
31491 2006-02-13 Lillian Angel <langel@redhat.com>
31493 * java/awt/Component.java
31494 (repaint): No need to call isShowing, it is done in the other repaint call.
31495 (repaint): Likewise.
31496 (repaint): Likewise.
31498 2006-02-13 Lillian Angel <langel@redhat.com>
31500 * java/awt/Component.java
31501 (repaint): Reverted last change.
31502 (repaint): Likewise.
31503 (repaint): Likewise.
31505 2006-02-13 Lillian Angel <langel@redhat.com>
31507 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31508 (handleEvent): Made more efficent by handling paint event and
31509 setting the clip for the graphics.
31510 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31511 (handleEvent): Likewise.
31512 * java/awt/Component.java
31513 (repaint): No need to call isShowing, it is done in the other repaint call.
31514 (repaint): Likewise.
31515 (repaint): Likewise.
31517 2006-02-13 Roman Kennke <kennke@aicas.com>
31519 * javax/swing/text/AbstractDocument.java
31520 (setParent): Added API docs. Call setParent(null) on children before
31521 disconnecting this view from the View hierarchy.
31523 2006-02-13 Roman Kennke <kennke@aicas.com>
31525 * javax/swing/text/AbstractDocument.java
31526 (readUnlock): Don't attempt to unlock when the current threads also
31527 holds a write lock.
31529 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31531 * javax/swing/plaf/metal/MetalBorders.java
31532 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31533 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31535 (Flush3DBorder.borderInsets): New field,
31536 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31537 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31538 null insets argument, and populate result from borderInsets,
31539 (PaletteBorder.borderInsets): New field,
31540 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31541 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31542 null insets argument, and populate result from borderInsets,
31543 (InternalFrameBorder.borderInsets): New field,
31544 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31546 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31547 for null insets argument, and populate result from borderInsets,
31548 (MenuItemBorder.borderInsets): Initialise to correct value.
31550 2006-02-13 Roman Kennke <kennke@aicas.com>
31552 * javax/swing/text/AsyncBoxView.java: New file.
31554 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31557 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31558 was moved to a new method parseCharClass.
31559 (parseCharClass): New method originally in initialize. Added parsing
31560 of nested character classes.
31561 (ParseCharClassResult): New inner class used as a return value of
31563 (getCharExpression),(getNamedProperty): Made static.
31564 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31565 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31566 nested character classes.
31567 (RETokenOneOf): New constructor accepting the Vector addition.
31568 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31569 stands for only one character.
31570 (match): Added the processing of the Vector addition.
31571 (matchN), (matchP): Do not check next token if addition is used.
31573 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31575 * AUTHORS: add self.
31577 2006-02-12 Tom Tromey <tromey@redhat.com>
31579 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31580 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31581 (securityContext): Likewise.
31584 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31588 * gnu/java/net/protocol/file/Connection.java (unquote):
31589 Convert Unicode characters outside basic plane to UTF-8,
31590 rather than throwing an exception.
31592 2006-02-12 Tom Tromey <tromey@redhat.com>
31594 * javax/sound/sampled/LineEvent.java (readObject): New method.
31595 (writeObject): Likewise.
31596 (serialVersionUID): New field.
31598 2006-02-12 Mark Wielaard <mark@klomp.org>
31600 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31601 Silently ignores null listener.
31602 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31603 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31604 array for null propertyName.
31606 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31608 * java/rmi/MarshalledObject.java: Added api docs to the class.
31609 * java/rmi/Remote.java: Added interface api docs.
31610 * java/rmi/package.html: Added package description.
31611 * java/rmi/AccessException.java: Minor api doc fixes.
31612 * java/rmi/NoSuchObjectException.java: Likewise.
31613 * java/rmi/AlreadyBoundException.java: Likewise.
31614 * java/rmi/RemoteException.java: Likewise.
31615 * java/rmi/NotBoundException.java: Likewise.
31616 * java/rmi/RMISecurityException.java: Likewise.
31617 * java/rmi/StubNotFoundException.java: Likewise.
31619 2006-02-12 Mark Wielaard <mark@klomp.org>
31621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31622 q() to get EventQueue.
31623 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31624 (enableQueue): Remove static method.
31625 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31626 Don't call GtkGenericPeer.enableQueue().
31628 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31630 * java/rmi/MarshalledObject.java: Reformatted.
31631 * java/rmi/Naming.java: Likewise.
31633 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31635 * java/io/InputStream.java
31636 (read(byte[],int,int)): Changed argument validation to prevent
31637 integer overflow. Remove redundant check.
31639 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31642 * java/io/InputStreamReader.java
31643 (InputStreamReader(InputStream)): Use SystemProperties.
31644 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31645 Throw NullPointerException if in is null.
31646 Added maxBytesPerChar initialisation.
31647 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31648 Throw NullPointerException if in is null.
31650 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31652 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31653 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31654 (GnuDHPublicKey): New constructor.
31655 (getEncoded): Removed.
31656 (valueOf): Added support for ASN.1 encoding.
31657 (getEncoded(int)): Likewise.
31658 (equals): New method.
31659 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31660 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31661 (GnuDHPrivateKey(5)): New constructor.
31662 (getEncoded): Removed.
31663 (valueOf): Added support for ASN.1 encoding.
31664 (getEncoded(int)): Likewise.
31665 (equals): New method.
31666 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31667 (PREFERRED_ENCODING_FORMAT): New constant.
31668 (DEFAULT_ENCODING_FORMAT): Likewise.
31669 (preferredFormat): New field.
31670 (setup): Handle preferred encoding format identifier.
31671 (generate): Call constructors with format identifier.
31672 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31673 (GnuDHKey): Added an int argument.
31674 (getEncoded): New method.
31675 (getFormat): New implementation.
31676 (getEncoded(int)): New abstract method.
31677 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31678 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31679 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31680 key-pair generator and key-factory.
31681 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31682 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31683 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31684 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31685 (invokeConstructor): New method.
31686 (getConcreteClass): Likewise.
31687 (getConcreteCtor): Likewise.
31688 (invokeValueOf): Likewise.
31689 (getValueOfMethod): Likewise.
31690 (engineGeneratePublic): Add support for DH keys.
31691 (engineGeneratePrivate): Likewise.
31692 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31693 (decodeDHPublicKey(byte[])): Likewise.
31694 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31695 (decodeDHPrivateKey(byte[])): Likewise.
31697 2006-02-11 Mark Wielaard <mark@klomp.org>
31699 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31701 (repaint): Immediately post to queue when tm <= 0, otherwise call
31702 RepaintTimerTask.schedule().
31703 (RepaintTimerTask): Make static.
31704 (RepaintTimerTask.repaintTimer): New static final field.
31705 (RepaintTimerTask.awtComponent): New field.
31706 (schedule): New static method.
31708 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31710 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31711 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31712 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31713 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31714 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31716 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31718 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31720 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31721 (engineGeneratePublic): Added support for raw key-specifications.
31722 (engineGeneratePrivate): Likewise.
31723 (decodeDSSPublicKey): New method.
31724 (decodeRSAPublicKey): Likewise.
31725 (decodeDSSPrivateKey): Likewise.
31726 (decodeRSAPrivateKey): Likewise.
31727 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31728 (encodePrivateKey): Throw InvalidParameterException.
31729 (decodePublicKey): Likewise.
31730 (decodePrivateKey): Likewise.
31731 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31732 (encodePublicKey): Likewise.
31733 (encodePrivateKey): Likewise.
31734 (decodePublicKey): Likewise.
31735 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31736 (encodePrivateKey): Likewise.
31737 (decodePublicKey): Likewise.
31738 (decodePrivateKey): Likewise.
31739 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31740 (encodePublicKey): Likewise.
31741 (encodePrivateKey): Likewise.
31742 (decodePublicKey): Likewise.
31744 2006-02-10 Roman Kennke <kennke@aicas.com>
31746 * javax/swing/text/StyleContext.java
31747 (registerStaticAttributeKey): New static method.
31749 2006-02-10 Roman Kennke <kennke@aicas.com>
31751 * javax/swing/text/DefaultStyledDocument.java
31752 (ElementBuffer.clone): New method.
31754 2006-02-10 Roman Kennke <kennke@aicas.com>
31756 * javax/swing/text/ParagraphView.java
31757 (findOffsetToCharactersInString): New method.
31758 (getClosestPositionTo): New method.
31759 (getPartialSize): New method.
31760 (getTabBase): New method.
31761 (adjustRow): New method.
31762 (breakView): New method.
31763 (getBreakWeight): New method.
31765 2006-02-10 Roman Kennke <kennke@aicas.com>
31767 * javax/swing/text/GapContent.java
31768 (updateUndoPositions): New method.
31769 * javax/swing/text/StringContent.java
31770 (updateUndoPositions): New method.
31772 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31774 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31776 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31777 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31778 Added support for encoded key specifications.
31779 (engineGeneratePrivate): Likewise.
31780 (engineGetKeySpec): Likewise.
31781 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31783 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31785 * javax/swing/text/Utilities.java:
31786 (getTabbedTextOffset): Fixed usage of variable p0.
31787 (getPositionAbove): Rewritten.
31788 (getPositionBelow): Rewritten.
31790 2006-02-09 Roman Kennke <kennke@aicas.com>
31792 * javax/swing/text/BoxView.java
31793 (getAxis): Added @since tag.
31794 (setAxis): Added @since tag.
31795 (layoutChanged): Added @since tag.
31796 (isLayoutValid): Added @since tag.
31797 (paint): Don't call setSize here. This is done in RootView already.
31798 (getMaximumSpan): Reimplemented to return the requirements'
31799 maximum size. Added API docs.
31800 (getMinimumSpan): New method.
31801 (layout): Fixed layout order.
31802 (modelToView): Call layout instead of setSize here.
31803 (getResizeWeight): New method.
31804 (getChildAllocation): New method.
31805 (forwardUpdate): New method.
31806 (viewToModel): New method.
31807 (flipEastEndWestEnds): New method.
31808 * javax/swing/text/CompositeView.java
31809 (modelToView): Made this method more robust by returning a default
31810 location if it's not possible to calculate one via the children.
31811 This default location returns the left or right edge of this
31813 (createDefaultLocation): New helper method.
31814 * javax/swing/text/IconView.java
31815 (modelToView): Don't throw BadLocationException. This should
31816 really only be thrown if the position is outside the document
31817 model, not if it's outside the view's boundary.
31819 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31821 * tools/Makefile.am: Handle rmi and giop folders separately.
31823 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31825 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31826 * javax/swing/SpinnerNumberModel.java: Likewise.
31828 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31830 * javax/swing/SpinnerDateModel.java: Removed tabs,
31831 * javax/swing/SpinnerNumberModel.java: Likewise.
31833 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31835 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31836 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31838 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31841 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31842 (isRedirect): Removed, moved to Response.java.
31843 (connect): If error condition redirect responseSink to errorSink.
31844 (getInputStream): If error condition throw IOException, for the error
31845 codes 404 and 410 throw a FileNotFoundException.
31846 * gnu/java/net/protocol/http/Response.java (isError): New method.
31847 (isRedirect): New method, moved from HTTPURLConnection.java.
31849 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31851 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31852 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31853 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31855 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31857 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31858 AbstractMethodGenerator.
31859 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31860 tools/gnu/classpath/tools/rmi/RMIC.java,
31861 tools/gnu/classpath/tools/rmi/RMIC.txt,
31862 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31863 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31864 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31865 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31866 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31867 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31869 * NEWS: Corrected entry about the tools.
31871 2006-02-09 Lillian Angel <langel@redhat.com>
31873 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31874 (handleEvent): Added more to check to prevent assertion errors.
31875 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31876 (handleEvent): Likewise.
31877 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31878 (handleEvent): Likewise.
31880 2006-02-09 Mark Wielaard <mark@klomp.org>
31882 * javax/swing/JTable.java (tableChanged): Interpret null event as
31883 "everything changed".
31885 2006-02-09 Roman Kennke <kennke@aicas.com>
31887 * javax/swing/text/DefaultCaret.java
31888 (DocumentHandler.removeUpdate): When update policy is
31889 'on eventqueue', and the update doesn't come from the
31890 event queue, check if the current dot location is still
31892 (moveDot): Make sure the new dot location is valid.
31893 (setDot): Set the mark the same as the dot.
31895 2006-02-09 Roman Kennke <kennke@aicas.com>
31897 * javax/swing/text/AbstractDocument.java
31898 (remove): Perform all operations within a write lock and in the
31901 2006-02-09 Mark Wielaard <mark@klomp.org>
31903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31904 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31905 creater than min, adjusting page_size if necessary.
31906 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31908 2006-02-09 Lillian Angel <langel@redhat.com>
31910 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31911 (handleEvent): Added code to handle PaintEvent.UPDATE.
31912 Sun does not call update(Graphics g) on Panels.
31913 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31914 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31915 Sun does not call update(Graphics g) on Panels.
31917 2006-02-09 Roman Kennke <kennke@aicas.com>
31919 * javax/swing/text/BoxView.java
31920 (myAxis): Made field private.
31921 (xLayoutValid): Replaced by layoutValid array.
31922 (yLayoutValid): Replaced by layoutValid array.
31923 (layoutValid): New field.
31924 (spansX): Replaced by spans array.
31925 (spansY): Replaced by spans array.
31926 (spans): New field.
31927 (offsetsX): Replaced by offsets array.
31928 (offsetsY): Replaced by offsets array.
31929 (offsets): New field.
31930 (requirements): New field.
31931 (BoxView): Initialize new fields.
31932 (layoutChanged): Rewritten to use the layoutValid array.
31933 (isLayoutValid): Rewritten to use the layoutValid array.
31934 (replace): Use the new arrays.
31935 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31936 instead of baselineRequirements.
31937 (baselineRequirements): Rewritten to calculate baseline requirements.
31938 (baselineLayout): Rewritten to calculate baseline layout.
31939 (childAllocation): Use new arrays.
31940 (layout): Rewritten. Only update the layout if necessary.
31941 (layoutMajorAxis): Directly set layoutValid.
31942 (layoutMinorAxis): Directly set layoutValid. Use cached size
31944 (getWidth): Use new span array.
31945 (getHeight): Likewise.
31946 (setSize): Rewritten to simply call layout().
31947 (validateLayout): Removed unneeded method.
31948 (getSpan): Use new arrays.
31949 (getOffset): Use new arrays.
31950 (getAlignment): Use cached requirements if possible.
31951 (preferenceChanged): Use new arrays.
31952 * javax/swing/text/FlowView.java
31953 (FlowStrategy.insertUpdate): Do nothing here.
31954 (FlowStrategy.removeUpdate): Do nothing here.
31955 (FlowStrategy.changedUpdate): Do nothing here.
31956 (FlowStrategy.layoutRow): Rewritten.
31957 (FlowStrategy.createView): Rewritten.
31958 (FlowStrategy.adjustRow): New method.
31959 (LogicalView.getViewIndex): Fixed condition for finding child
31961 (layoutDirty): New field indicating the state of the layout.
31962 (FlowView): Initialize new field.
31963 (loadChildren): Set parent on logical view so that preferenceChanges
31964 get propagated upwards.
31965 (layout): Rewritten to match the specs.
31966 (insertUpdate): Set layout to dirty.
31967 (removeUpdate): Set layout to dirty.
31968 (changedUpdate): Set layout to dirty.
31969 * javax/swing/text/GlyphView.java
31970 (getBreakWeight): Rewritten to use the Utilities class. Commented
31971 out though because that is broken.
31972 (insertUpdate): Call preferenceChanged on this object instead of
31974 * javax/swing/text/ParagraphView.java
31975 (Row.loadChildren): Overridden to be a noop to prevent initial
31976 creation of child views. This is carried out by the flow layout.
31977 * javax/swing/text/View.java
31978 (getPreferredSpan): Added API docs.
31979 (getResizeWeight): Added API docs.
31980 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31982 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31983 resizable instead of Integer.MAX_VALUE.
31984 (getAlignment): Added API docs.
31985 (replace): Added API docs.
31986 (forwardUpdate): Rewritten to only notify child views that need to
31989 2006-02-09 Roman Kennke <kennke@aicas.com>
31991 * javax/swing/plaf/basic/BasicTextUI.java
31992 (RootView.paint): Call setSize() before painting the view.
31994 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31997 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31998 flag which enables backslash escape in a replacement.
31999 (getReplacement): New public static method.
32000 (substituteImpl),(substituteAllImpl): Use getReplacement.
32001 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32002 * java/util/regex/Matcher.java(appendReplacement)
32003 Use RE#getReplacement.
32004 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32006 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
32008 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32009 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32010 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32011 (PREFERRED_ENCODING_FORMAT): New constant.
32012 (DEFAULT_ENCODING_FORMAT): Likewise.
32013 (preferredFormat): New field.
32014 (setup): Add support for preferred encoding format.
32015 (generate): Call key constructors with explicit format identifier.
32016 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
32017 Call constructor with 3 arguments..
32018 (GnuRSAPublicKey(3)): New constructor.
32019 (valueOf): Added support for ASN.1 format.
32020 (getEncoded): Likewise.
32021 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32022 Call constructor with 5 arguments.
32023 (GnuRSAPrivateKey(5)): New constructor.
32024 (GnuRSAPrivateKey(9)): New constructor.
32025 (valueOf): Added support for ASN.1 format.
32026 (getEncoded): Likewise.
32027 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32028 (GnuRSAKey): Modified constructor.
32029 (getFormat): Return preferred format identifier.
32030 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32031 (decodePrivateKey): Fixed documentation.
32032 Check Version field.
32033 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32034 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32036 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32037 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32038 (engineGeneratePublic): Added support for RSA.
32039 (engineGeneratePrivate): Likewise.
32041 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32043 * java/net/URLConnection.java:
32044 (setAllowUserInteraction): Throw IllegalStateException if connected.
32045 (getRequestProperty): Document return value if key is null.
32046 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32047 (getRequestProperty): Return null if key is null.
32048 (getRequestProperties): Throw IllegalStateException if connected.
32049 (setRequestProperty): Call super method for exception tests.
32050 (addRequestProperty): Likewise.
32052 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32054 * gnu/java/net/protocol/http/Request.java:
32055 (Request): Remove initialization of removed field.
32056 (requestBodyNegotiationThreshold): Removed now unused field.
32057 (setRequestBodyNegotiationThreshold): Remove now unused method.
32058 (dispatch): Do not use 'Expect 100-continue' header if content-length
32059 is over a treshold. If user specified 'Expect 100-continue' still
32060 initialize the expectingContinue variable.
32062 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32064 * javax/swing/SpinnerNumberModel.java
32065 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32066 maximum and minimum to take null values,
32067 (setValue): Only fire ChangeEvent if new value is different to old
32069 (setMinimum): Fixed test for updating value,
32070 (setMaximum): Likewise,
32071 (setStepSize): Likewise.
32073 2006-02-08 Tom Tromey <tromey@redhat.com>
32075 * tools/.cvsignore: Added Makefile.in.
32077 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32079 * java/rmi/server/RemoteRef.java,
32080 java/rmi/server/RemoteStub.java: Commented.
32082 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32084 * javax/swing/SpinnerDateModel.java
32085 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32087 (getPreviousValue): Check result against start, not end,
32088 (setValue): Check that value actually changes before firing
32091 2006-02-08 Lillian Angel <langel@redhat.com>
32093 * java/awt/Choice.java
32094 (select): Fixed up code, added some checks to prevent errors.
32095 (dispatchEventImpl): Removed. This function is not needed. It
32096 causes several assertion errors.
32098 2006-02-08 Roman Kennke <kennke@aicas.com>
32100 * javax/swing/text/PlainView.java
32101 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32102 drawing unnecessary characters.
32104 2006-02-08 Lillian Angel <langel@redhat.com>
32106 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32107 (handleEvent): Fixed check to determine if height or
32108 width is less than 1.
32110 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32112 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32114 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32116 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32117 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32118 Documenting the code generator.
32119 * gnu/CORBA/IOR.java (toStringFormatted,
32120 CodeSet_component.toStringFormatted): New methods.
32121 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32122 * tools/gnu/classpath/tools/giop/README: Rewritten.
32123 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32124 (printHelpAndExit): Removed.
32125 *tools/gnu/classpath/tools/giop/IorParser.java,
32126 tools/gnu/classpath/tools/giop/IorParser.txt,
32127 tools/gnu/classpath/tools/giop/NameService.java,
32128 tools/gnu/classpath/tools/giop/NamingService.txt,
32129 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32130 NEWS: Added note about GIOP tools.
32132 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32134 * .classpath: New source patch (tools).
32135 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32136 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32137 * tools/gnu/classpath/tools/Makefile.am,
32138 tools/gnu/classpath/tools/giop/GRMIC.java
32139 tools/gnu/classpath/tools/giop/GRMIC.txt,
32140 tools/gnu/classpath/tools/giop/README,
32141 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32142 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32143 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32144 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32145 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32146 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32147 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32148 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32149 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32150 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32151 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32152 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32154 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32156 * java/awt/BasicStroke.java: Updated API docs all over,
32157 * java/awt/doc-files/capjoin.png: New file.
32159 2006-02-07 Lillian Angel <langel@redhat.com>
32161 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32162 (handleEvent): Added check. Should not paint or update the
32163 component if it's width and height are both 0.
32165 2006-02-07 Roman Kennke <kennke@aicas.com>
32167 * javax/swing/text/AbstractDocument.java
32168 (insertString): Enclose locking/unlocking in try-finally block
32169 and also keep locked while notifying the listeners.
32171 2006-02-07 Roman Kennke <kennke@aicas.com>
32173 * javax/swing/text/GlyphView.java
32174 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32176 (getStartOffset): Return element boundary if startOffset < 0.
32177 (getEndOffset): Return element boundary if endOffset < 0.
32178 (createFragment): Set startOffset and endOffset fields of fragment
32179 if one of p0 or p1 is not at the element boundary.
32181 2006-02-07 Roman Kennke <kennke@aicas.com>
32183 * javax/swing/CellRendererPane.java
32184 (paintComponent): Enclosed painting in try finally to properly
32185 clean up even when throwing an exception.
32187 2006-02-07 Roman Kennke <kennke@aicas.com>
32189 * javax/swing/UIManager.java
32190 (listeners): Made this an instance of
32191 java.beans.PropertyChangeSupport instead of the obsoleted
32192 SwingPropertyChangeSupport.
32194 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32196 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32197 of actions "delete-next" and "delete-previous", added new TextAction
32198 implementations for "selection-begin", "selection-begin-line",
32199 "selection-end" and "selection-end-line".
32201 2006-02-07 Roman Kennke <kennke@aicas.com>
32203 * javax/swing/plaf/basic/BasicTextUI.java
32204 (paint): Acquire read lock on the document before calling
32206 (paintSafely): Added comment about what this method does.
32207 (paintBackground): Implemented to actually paint the background.
32208 (update): Overridden to _not_ paint the background. This is done
32209 in paintBackground in this UI.
32211 2006-02-07 Roman Kennke <kennke@aicas.com>
32213 * javax/swing/text/View.java
32214 (forwardUpdate): Don't notify newly added child views as specified.
32216 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32218 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32220 2006-02-07 Roman Kennke <kennke@aicas.com>
32222 * javax/swing/text/DefaultStyledDocument.java
32223 (ElementBuffer.insert): Only register change when the element
32226 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32228 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32230 (getEncodingShortName): Likewise.
32231 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32232 (PKCS8_FORMAT): Likewise.
32233 (ASN1_FORMAT): Likewise.
32234 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32235 constructor with 5 arguments.
32236 (DSSPublicKey(5)): New constructor.
32237 (valueOf): Handle ASN.1 encoding.
32238 (getEncoded): Likewise.
32239 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32240 constructor with 5 arguments.
32241 (DSSPrivateKey(5)): New constructor.
32242 (valueOf): Handle ASN.1 encoding.
32243 (getEncoded): Likewise.
32244 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32245 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32246 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32247 (PREFERRED_ENCODING_FORMAT): New constant.
32248 (DEFAULT_ENCODING_FORMAT): Likewise.
32249 (preferredFormat): New field.
32250 (setup): Handle preferred format ID.
32251 (generate): Use new ctors with 5 arguments.
32252 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32253 ID as an additional argument.
32254 (defaultFormat): new field.
32255 (getFormat): Returns the preferred format as a short string.
32256 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32257 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32259 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32260 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32262 (initialize(int,boolean,SecureRandom)): Likewise.
32263 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32264 writeLength() instead of write().
32265 return buf.length + 1 instead of buf.length.
32267 2006-02-07 Roman Kennke <kennke@aicas.com>
32269 * javax/swing/plaf/basic/BasicTextUI.java
32270 (RootView.preferenceChange): Changed view parameter to view so
32271 that it doesn't hide a field of that class.
32272 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32273 (RootView.modelToView): Removed unnecessary cast from View to View.
32274 (PropertyChangeHandler): Made inner class private.
32275 (updateHandler): Made field private.
32276 (getVisibleEditorRect): Removed unneeded local variable that
32277 shadowed a field with the same name and purpose.
32279 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32281 * javax/swing/text/JTextComponent.java:
32282 (getSelectedText): Calculate offset and use that as
32285 2006-02-07 Roman Kennke <kennke@aicas.com>
32287 * javax/swing/JTextPane.java
32288 (setCharacterAttributes): Replace input attributes when
32291 2006-02-07 Roman Kennke <kennke@aicas.com>
32293 * java/awt/Component.java
32294 (firePropertyChange(String,byte,byte)): Made method public.
32295 (firePropertyChange(String,char,char)): Made method public.
32296 (firePropertyChange(String,short,short)): Made method public.
32297 (firePropertyChange(String,long,long)): Made method public.
32298 (firePropertyChange(String,float,float)): Made method public.
32299 (firePropertyChange(String,double,double)): Made method public.
32301 2006-02-06 Tom Tromey <tromey@redhat.com>
32303 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32305 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32307 2006-02-06 Anthony Green <green@redhat.com>
32309 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32311 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32313 * .settings/org.eclipse.jdt.core.prefs:
32314 Force a line split on extends and implements.
32315 Force a white-space after unary operators.
32316 Don't force a new-line after @params.
32317 Add new-line at end-of-file.
32318 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32320 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32322 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32324 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32326 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32328 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32330 * gnu/java/security/provider/EncodedKeyFactory.java
32331 (ID_DSA): Redefined in terms of Registry constant.
32332 (ID_DSA): Redefined in terms of Registry constant.
32333 (ID_DH): Redefined in terms of Registry constant.
32334 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32335 (PKCS8_ENCODING): Likewise.
32336 (ASN1_ENCODING): Likewise.
32337 (RAW_ENCODING_SHORT_NAME): Likewise.
32338 (X509_ENCODING_SORT_NAME): Likewise.
32339 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32340 (ASN1_ENCODING_SHORT_NAME): Likewise.
32341 (X509_ENCODING_ID): Likewise.
32342 (PKCS8_ENCODING_ID): Likewise.
32343 (ASN1_ENCODING_ID): Likewise.
32344 (DSA_OID_STRING): Likewise.
32345 (RSA_OID_STRING): Likewise.
32346 (DH_OID_STRING): Likewise.
32348 2006-02-06 Roman Kennke <kennke@aicas.com>
32350 * javax/swing/text/GlyphView.java:
32351 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32352 Only fill background if there is a background set on the view.
32353 Call Utilities.drawTabbedText with the baseline height, rather than
32354 the upper left corner of the view rectangle.
32355 (getBackground): Return null if no background is set.
32356 * javax/swing/text/GlyphView.java:
32357 (setPropertiesFromAttributes): Use null for background when no
32358 background is set. StyleConstants.getBackground() doesn't work
32359 for this, because it returns Color.BLACK in that case.
32361 2006-02-06 Roman Kennke <kennke@aicas.com>
32363 * java/awt/Container.java
32364 (changeSupport): Removed duplicate (from Component) field.
32365 (addPropertyChangeListener): Call super.
32367 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32369 * java/util/regex/Matcher.java(matches):
32370 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32372 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32375 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32376 * gnu/regexp/CharIndexedCharArray.java
32377 (lookBehind),(length): Implemented.
32378 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32379 * gnu/regexp/CharIndexedString.java: Likewise.
32380 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32381 * gnu/regexp/REToken.java(getMaximumLength): New method.
32382 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32384 (initialize): Parse (?<=X), (?<!X), (?>X).
32385 (getMaximumLength): Implemented.
32386 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32387 * gnu/regexp/RETokenChar.java: Likewise.
32388 * gnu/regexp/RETokenEnd.java: Likewise.
32389 * gnu/regexp/RETokenEndSub.java: Likewise.
32390 * gnu/regexp/RETokenLookAhead.java: Likewise.
32391 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32392 * gnu/regexp/RETokenOneOf.java: Likewise.
32393 * gnu/regexp/RETokenPOSIX.java: Likewise.
32394 * gnu/regexp/RETokenRange.java: Likewise.
32395 * gnu/regexp/RETokenRepeated.java: Likewise.
32396 * gnu/regexp/RETokenStart.java: Likewise.
32397 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32398 * gnu/regexp/RETokenIndependent.java: New file.
32399 * gnu/regexp/RETokenLookBehind.java: New file.
32401 2006-02-06 Roman Kennke <kennke@aicas.com>
32403 * java/awt/Component.java
32404 (firePropertyChange(String,byte,byte)): New method.
32405 (firePropertyChange(String,char,char)): New method.
32406 (firePropertyChange(String,short,short)): New method.
32407 (firePropertyChange(String,long,long)): New method.
32408 (firePropertyChange(String,float,float)): New method.
32409 (firePropertyChange(String,double,double)): New method.
32411 2006-02-06 Roman Kennke <kennke@aicas.com>
32413 * javax/swing/JComponent.java
32414 (AccessibleJComponent.changeSupport): Changed to be a
32415 java.beans.PropertyChangeSupport rather than
32416 SwingPropertyChangeSupport.
32417 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32419 (changeSupport): Removed unneeded field.
32420 (removePropertyChangeListener): Removed unneeded methods.
32421 (addPropertyChangeListener): Removed unneeded methods.
32422 (getPropertyChangeListeners): Removed unneeded methods.
32423 (firePropertyChange(String,boolean,boolean)): Changed to simply
32424 call super. Added specnote.
32425 (firePropertyChange(String,char,char)): Changed to simply
32426 call super. Added specnote.
32427 (firePropertyChange(String,int,int)): Changed to simply
32428 call super. Added specnote.
32429 (firePropertyChange(String,byte,byte)): Removed.
32430 (firePropertyChange(String,Object,Object)): Removed.
32431 (firePropertyChange(String,double,double)): Removed.
32432 (firePropertyChange(String,float,float)): Removed.
32433 (firePropertyChange(String,long,long)): Removed.
32434 (firePropertyChange(String,short,short)): Removed.
32436 2006-02-06 Roman Kennke <kennke@aicas.com>
32438 * javax/swing/event/SwingPropertyChangeSupport.java
32439 (listeners): Removed field.
32440 (propertyListeners): Removed field.
32441 (source): Removed field.
32442 (SwingPropertyChangeSupport()): Removed initialization of removed
32444 (addPropertyChangeListener): Removed methods.
32445 (removePropertyChangeListener): Removed methods.
32446 (getPropertyChangeListeners): Removed methods.
32447 (firePropertyChange): Removed methods.
32448 (hasListeners): Removed methods.
32450 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32453 * java/net/InetAddress.java
32454 (readResolve): Implemented.
32456 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32459 * java/io/ObjectInputStream.java
32460 (readNextBlock()): Handle TC_RESET.
32462 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32464 * javax/print/attribute/standard/Compression.java,
32465 * javax/print/attribute/standard/Finishings.java,
32466 * javax/print/attribute/standard/JobMediaSheets.java,
32467 * javax/print/attribute/standard/JobSheets.java,
32468 * javax/print/attribute/standard/JobState.java,
32469 * javax/print/attribute/standard/JobStateReason.java,
32470 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32471 * javax/print/attribute/standard/PrintQuality.java,
32472 * javax/print/attribute/standard/Media.java,
32473 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32474 * javax/print/attribute/standard/PrinterStateReason.java,
32475 * javax/print/attribute/standard/PDLOverrideSupported.java:
32476 (getName): Make method final.
32477 (getCategory): Likewise.
32478 * javax/print/attribute/standard/MediaSize.java:
32479 (getName): Make method final.
32480 (getCategory): Likewise.
32481 (ISO): Added private default constructor.
32485 (Engineering): Likewise.
32487 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32489 * native/jni/java-net/javanet.c (_javanet_connect):
32490 Throw ConnectException instead of IOException if connection failed.
32491 * native/jni/java-net/javanet.h:
32492 Add a define for java.net.ConnectException
32494 2006-02-05 Mark Wielaard <mark@klomp.org>
32497 reported by Egon Willighagen <egon.willighagen@gmail.com>
32498 * javax/swing/DefaultListCellRenderer.java
32499 (getListCellRendererComponent): Turn null value into empty string.
32501 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32503 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32504 a Unicode block if the name starts with "In".
32505 (UnicodeBlockHandler): New inner class.
32507 2006-02-04 Roman Kennke <kennke@aicas.com>
32509 * java/awt/Container.java
32510 (getComponentZOrder): New method.
32511 (setComponentZOrder): New method.
32512 * javax/swing/JLayeredPane.java
32513 (setPosition): Reimplemented to use setComponentZOrder().
32514 (getIndexOf): Reimplemented to use getComponentZOrder().
32515 (addImpl): Pass layerContraint to super call. Important for possibly
32516 installed layout managers.
32517 (swapComponents): Remove unneeded method.
32519 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32521 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32522 DSAKeyPairGenerator.
32523 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32524 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32526 Surround call to adaptee in a try/catch.
32527 (initialize((DSAParams,SecureRandom)): New method.
32528 (initialize(int,boolean,SecureRandom)): New method.
32529 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32530 KeyPairGenerator rather than KeyPairGeneratorSpi.
32531 (KeyPairGeneratorAdapter): Call super with algorithm name.
32533 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32535 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32536 (getDefaultPRNG): New method.
32537 (parseO): Use method above.
32538 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32539 (getDefaultPRNG): New method.
32540 (createO): Use method above.
32541 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32542 (nextByte): Use above field.
32543 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32544 * gnu/java/security/sig/rsa/RSA.java: New class field.
32545 (newR): Use above field
32546 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32547 (encode): Use field.above.
32548 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32549 (getDefaultPRNG): new method.
32550 (nextRandomBytes): Use above method.
32551 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32552 * gnu/java/security/sig/BaseSignature.java: Likewise.
32553 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32554 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32555 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32556 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32557 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32558 (getDefaultPRNG): new method.
32559 (nextRandomBytes): Use above method.
32560 (STRICT_DEFAULTS): new class field.
32561 (USE_DEFAULTS): more documentation to clarify behavior.
32562 (setup): amended to handle new attribute.
32563 * gnu/java/security/util/PRNG.java: New file.
32565 2006-02-03 Lillian Angel <langel@redhat.com>
32567 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32568 chooser field should be protected, not package-private.
32570 2006-02-03 Lillian Angel <langel@redhat.com>
32572 * javax/swing/text/DefaultStyledDocument.java
32573 (changeUpdate): Cleaned up code.
32575 (insertUpdate): Set offset to be equal to pos after
32576 insertContentTag call.
32577 (insertContentTag): If paragraph has no children, should use
32578 replace instead of Edit.
32579 (insertFracture): Moved around code to prevent any exception. Also,
32580 left side of tree should not be recreated if it has already been
32581 edited. In that case, we should only be creating a new right branch
32583 (getEditForParagraphAndIndex): No need to check index. We should
32584 use the same edit for each paragraph.
32586 2006-02-03 Mark Wielaard <mark@klomp.org>
32588 * javax/swing/event/SwingPropertyChangeSupport.java
32589 (propertyListeners): Change type to HashMap.
32590 (SwingPropertyChangeSupport): Allocate HashMap.
32592 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32594 * java/security/KeyPairGenerator.java (getInstance): Test for
32595 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32597 2006-02-02 Roman Kennke <kennke@aicas.com>
32599 * javax/swing/RepaintManager.java
32600 Made fields private.
32601 (RepaintWorker.run): Enclosed work stuff in try finally block in
32602 order to clean up correctly if invalidation or painting fails,
32603 otherwise we would get no more RepaintWorkers onto the EventQueue.
32604 Also, now the RepaintWorker is marked 'dead' only after it has
32605 finished its work, avoid more than one RepaintWorker on the queue.
32606 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32607 instead of hierarchy depths.
32608 (workDirtyComponents): Removed unused field.
32609 (repaintOrder): Removed unused field.
32610 (workRepaintOrder): Removed unused field.
32611 (workInvalidComponents): Removed unused field.
32612 (RepaintManager()): Removed initialization of removed fields.
32613 (addInvalidComponent): Fine tuned synchronization.
32614 (removeInvalidComponent): Fine tune synchronization.
32615 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32616 synchronization. Don't manager repaintOrder here.
32617 (insertRepaintOrder): Removed method.
32618 (markCompletelyClean): Fine tuned synchronization.
32619 (validateInvalidComponents): Dont use a working copy of the
32620 invalidComponents list, instead fine tuned synchronization on this
32621 list. Also, don't search validateRoot, this is already done in
32622 addInvalidComponent().
32623 (paintDirtyRegions): Compute repaint order here, based on size of
32624 damaged regions. Fine tuned synchronization. Avoid use of working
32625 copies of dirtyComponent.
32627 2006-02-02 Lillian Angel <langel@redhat.com>
32629 * javax/swing/text/DefaultStyledDocument.java
32630 (insertUpdate): JoinNextDirection should push the
32631 'next' paragraph on the stack.
32633 2006-02-02 Lillian Angel <langel@redhat.com>
32635 * javax/swing/text/DefaultStyledDocument.java
32636 (insertUpdate): Rewrote code for Originate. This prevents
32637 leaves being created multiple times. If it is on the last
32638 ElementSpec, the leaves need to be created right then;
32639 otherwise, only a branch is created.
32640 (insertContentTag): Rewrote to add new leaf directly if
32641 this is a branch with no children. Otherwise, it
32642 recreates the remainder of the tree as before.
32644 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32646 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32647 for making a list of REMatch instances.
32648 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32649 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32650 (match): Rewritten using REMatchList.
32651 (matchRest): Rewritten using REMatchList.
32653 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32655 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32656 (friendsMove): Call repaint() only after endOfGame is assigned.
32658 2006-02-02 Mark Wielaard <mark@klomp.org>
32660 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32661 * java/util/AbstractCollection.java (toString): Only use Iterator,
32662 check whether collection contains itself.
32664 2006-02-01 Casey Marshall <csm@gnu.org>
32666 Partial fix for PR classpath/25143.
32667 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32668 (<init>): fill in `algName,' derive `algOid' from `algName.'
32669 (getOid): new method.
32670 (encode): embed NULL value for parameters if `params' is `null.'
32672 2006-02-01 Casey Marshall <csm@gnu.org>
32674 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32675 <monoman@gmail.com>.
32676 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32677 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32679 2006-02-01 Casey Marshall <csm@gnu.org>
32681 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32682 * gnu/java/security/der/DERValue.java
32683 (getLength, getEncoded, getEncodedLength): throw an exception,
32684 don't initialize `encoded' to a bogus value.
32685 (toString): return a more helpful string.
32687 Partial fix for PR classpath/25144.
32688 * gnu/java/security/der/DERWriter.java (write): if the value is
32689 the pseudo-value used for CONSTRUCTED, write the encoded value
32692 2006-02-01 Tom Tromey <tromey@redhat.com>
32694 * java/security/Security.java (loadProviders): Use system class
32697 2006-02-01 Mark Wielaard <mark@klomp.org>
32699 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32700 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32701 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32702 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32703 (UnicodeCategoriesHandler): New private static class.
32705 2006-02-01 Lillian Angel <langel@redhat.com>
32707 * javax/swing/text/DefaultStyledDocument.java:
32708 Removed unneeded fields.
32709 (insertUpdate): Removed field initialization.
32710 (insertContentTag): Rewrote part of function. Still
32713 2006-02-01 Lillian Angel <langel@redhat.com>
32715 * javax/swing/text/DefaultStyledDocument.java
32716 (insertParagraph): Cleaned up code.
32717 (insertFirstContentTag): Fixed call to recreateLeaves.
32718 (insertContentTag): Added check to code to determine where
32719 content should be inserted with respect to next element.
32720 (createFracture): Removed check, recreateLeaves is called in
32721 other places when needed.
32722 (recreateLeaves): Added new parameter for paragraph instead
32723 of checking the stack. Removed editing for newBranch, replaced
32724 with a replace call.
32726 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32728 * doc/unicode/Blocks-4.0.0.txt: New file.
32729 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32730 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32731 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32732 but replaced some 1.5-only features (such as enum).
32734 2006-01-31 Roman Kennke <kennke@aicas.com>
32736 * javax/swing/text/PasswordView.java
32737 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32739 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32742 2006-01-31 Roman Kennke <kennke@aicas.com>
32744 * javax/swing/JTextField.java
32745 (getPreferredSize): Also include textfield's insets in width
32748 2006-01-31 Roman Kennke <kennke@aicas.com>
32750 * javax/swing/plaf/basic/BasicTextUI.java
32751 (getPreferredSize): Include the textcomponent's insets in
32754 2006-01-31 Roman Kennke <kennke@aicas.com>
32756 * javax/swing/table/DefaultTableCellRenderer.java
32757 (getTableCellRendererComponent): Moved setting of the value into
32758 setValue(). Removed (bogus) special handling of JTextField values.
32759 (setValue): Made ?: statement more clear by rewriting it
32762 2006-01-31 Roman Kennke <kennke@aicas.com>
32764 * javax/swing/JLayeredPane.java
32765 (insertIndexForLayer): Fixed algorithm to correctly determine
32766 inser index for positions >= 0.
32767 (addImpl): Fixed API docs for the index parameter.
32769 2006-01-31 Mark Wielaard <mark@klomp.org>
32771 * java/net/URI.java (getURIGroup): Check for null to see whether
32772 group actually exists.
32774 2006-01-31 Lillian Angel <langel@redhat.com>
32776 * javax/swing/text/DefaultStyledDocument.java
32777 (changeUpdate): Fixed calls to split to incorporate
32779 (insertParagraph): Likewise. Uses 0 as editIndex
32780 because inserting into a new paragraph.
32781 (insertContentTag): Fixed check to use
32782 recreateLeaves. Added a FIXME comment.
32783 (split): Added a new parameter for edits.
32785 2006-01-31 Roman Kennke <kennke@aicas.com>
32787 * javax/swing/plaf/basic/BasicRootPaneUI.java
32788 (installDefaults): Don't install a background color here.
32790 2006-01-31 Lillian Angel <langel@redhat.com>
32792 * javax/swing/text/DefaultStyledDocument.java
32793 (insert): Removed comment.
32794 (insertUpdate): Added comment.
32795 (recreateLeaves): Removed call to push newBranch onto the
32796 stack. This does not need to be done here.
32798 2006-01-31 Chris Burdess <dog@gnu.org>
32800 * gnu/xml/stream/SAXParser.java,
32801 gnu/xml/stream/UnicodeReader.java,
32802 gnu/xml/stream/XIncludeFilter.java,
32803 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32804 only resolved the system ID not the stream. Make some utility methods
32805 public and static for use by other private XML APIs.
32806 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32807 called without throwing IllegalStateException.
32808 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32811 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32814 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32815 for an invalid index and return null for a skipped group.
32817 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32820 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32821 (NamedProperty): New inner class.
32822 (getNamedProperty): New method.
32823 (getRETokenNamedProperty): New Method.
32824 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32825 * gnu/regexp/RETokenNamedProperty.java: New file.
32827 2006-01-31 Roman Kennke <kennke@aicas.com>
32829 * javax/swing/plaf/PlainView.java
32830 (paint): Call drawLine with baseline coordinates.
32831 (drawLine): Documented and indented this method.
32832 (drawUnselecetedText): Documented and indented this method.
32833 * javax/swing/plaf/text/Utilites.java
32834 (drawTabbedText): The coordinates denote the baseline of the text
32835 not the upper left corner.
32837 2006-01-31 Roman Kennke <kennke@aicas.com>
32839 * javax/swing/plaf/basic/BasicTextUI.java
32840 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32841 UIManager. Added FIXME regarding the implementation of this method.
32843 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32845 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32846 (ButtonDemo): Move content initialisation to new method,
32847 (initFrameContent): New method,
32848 (main): Call initFrameContent(),
32849 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32850 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32851 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32852 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32853 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32855 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32857 * examples/gnu/classpath/examples/swing/Demo.java
32858 (Demo): Set frame size,
32859 (mkButtonBar): Removed stacked sub-panels.
32861 2006-01-30 Lillian Angel <langel@redhat.com>
32863 * javax/swing/text/DefaultStyledDocument.java:
32865 (insert): Initialized fields. Removed call to addEdit,
32866 and created ElementEdit instead.
32867 (insertUpdate): Added check for fracturing. If the
32868 fracturing was not successful, we should push the
32869 last element back on the stack.
32870 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32871 Also, changed replace calls to use Edit.
32872 (insertFirstContentTag): Removed unneeded check and fixed call
32874 (insertContent): Fixed check to use new fields. Added code in
32875 to check if leaves overlap.
32876 (createFracture): Fixed call to recreateLeaves.
32877 (recreateLeaves): Fixed code and cleaned it up a bit.
32878 (insertFracture): Set fracNotCreated field.
32879 (addEdit): Removed, this method is not needed.
32881 2006-01-30 Roman Kennke <kennke@aicas.com>
32883 * javax/swing/JRootPane.java
32884 (RootLayout.prefSize): Removed caching for preferredSize.
32885 (RootLayout.invalidateLayout): Likewise.
32886 (RootLayout.preferredLayoutSize): Likewise.
32888 2006-01-30 Roman Kennke <kennke@aicas.com>
32891 * javax/swing/JFrame.java
32892 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32893 * javax/swing/plaf/metal/MetalRootPaneUI.java
32894 (MetalFrameBorder): New inner class, provides the border for
32895 top level containers with L&F decorations.
32896 (MetalTitlePane): New inner class, provides the title pane for
32897 top level containers with L&F decorations.
32898 (MetalRootLayout): New inner class. Used to layout the root pane
32899 when L&F window decorations are enabled.
32900 (installUI): New method. Handles window decorations.
32901 (uninstallUI): New method. Handles window decorations.
32902 (propertyChange): Handles window decorations.
32903 (installWindowDecorations): New method. Handles window
32905 (uninstallWindowDecorations): New method. Handles window
32907 * javax/swing/plaf/metal/MetalLookAndFeel.java
32908 (getSupportsWindowDecorations): Overridden to return true.
32910 2006-01-30 Mark Wielaard <mark@klomp.org>
32912 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32913 IllegalArgumentException when orientation is illegal.
32914 (JProgressBar(int, int, int)): Likewise and throw exception.
32915 (setOrientation): Likewise.
32917 2006-01-30 Roman Kennke <kennke@aicas.com>
32919 * javax/swing/ViewportLayout.java
32920 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32922 2006-01-30 Mark Wielaard <mark@klomp.org>
32924 * javax/swing/JProgressBar.java (orientation): Always set by
32926 (JProgressBar(int)): Document default on 'illegal' value.
32927 (JProgressBar(int, int, int)): Likewise and set orientation to
32928 HORIZONTAL when 'illegal'.
32929 (setOrientation): Likewise.
32931 2006-01-30 Roman Kennke <kennke@aicas.com>
32933 * javax/swing/plaf/basic/BasicListUI.java
32934 (ListDataHandler.contentsChanged): Update the
32935 updateLayoutStateNeeded flag.
32936 (ListDataHandler.intervalAdded): Update the
32937 updateLayoutStateNeeded flag.
32938 (ListDataHandler.intervalRemoved): Update the
32939 updateLayoutStateNeeded flag.
32940 (PropertyChangeHandler.propertyChange): Correctly update the
32941 listeners on new list model.
32942 (maybeUpdateLayoutState): Don't consider the validation state
32945 2006-01-30 Mark Wielaard <mark@klomp.org>
32947 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32950 2006-01-30 Roman Kennke <kennke@aicas.com>
32952 * javax/swing/JLayeredPane.java
32953 (insertIndexForLayer): Fixed algorithm to correctly insert
32954 components within different layers and -1 position.
32956 2006-01-30 Mark Wielaard <mark@klomp.org>
32958 * doc/api/Makefile.am (create_html): Add -validhtml.
32960 2006-01-30 Roman Kennke <kennke@aicas.com>
32962 * javax/swing/JLayeredPane.java
32963 (insertIndexForLayer): Fixed algorithm to correctly insert
32964 components within same layer and -1 position.
32966 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32969 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32970 New execution flag.
32971 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32972 implicit RETokenEnd at the end of the regexp chain.
32973 Do not select the longest match, but select the first match.
32974 (match): Do not take care of REMatch.empty.
32975 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32976 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32977 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32978 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32979 Do not take care of REMatch.empty. Set and check REMatch.empty
32980 when trying to match the single token.
32982 2006-01-30 Mark Wielaard <mark@klomp.org>
32984 * java/awt/Cursor.java (toString): Include name and type.
32986 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32988 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32990 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32992 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32995 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32996 Consider the validation state of the list.
32998 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
33000 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33002 * java/beans/XMLDecoder.java:
33003 (setExceptionListener): Use shared DefaultExceptionListener
33005 * java/beans/Encoder.java:
33006 (setExceptionListener): Use shared DefaultExceptionListener
33009 2006-01-29 Roman Kennke <kennke@aicas.com>
33011 * javax/swing/ScrollPaneLayout.java
33012 (minimumLayoutSize): Rewritten to match JDKs behaviour.
33014 2006-01-29 Mark Wielaard <mark@klomp.org>
33016 * java/net/SocketPermission.java (setActions): Trim and lower case
33019 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
33021 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33022 incorrectly failing primality test for some known primes. Fixed.
33023 (passFermatLittleTheorem): Removed.
33024 (passMillerRabin): Removed.
33025 (isProbablePrime): Cache primes that pass the primality tests.
33026 Use BigInteger.isProbablePrime(int) for primality tests.
33027 (debugBI): New static debugging method.
33029 2006-01-28 Roman Kennke <kennke@aicas.com>
33031 * javax/swing/plaf/basic/BasicListUI.java
33032 (updateLayoutState): Removed unneeded special case for VERTICAL.
33034 2006-01-28 Roman Kennke <kennke@aicas.com>
33036 * javax/swing/plaf/basic/BasicListUI.java
33037 (getCellBounds): Determine correct list width when having a
33038 layoutOrientation of VERTICAL.
33039 (maybeUpdateLayoutState): Don't consider the validation state of
33042 2006-01-28 Mark Wielaard <mark@klomp.org>
33044 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33045 * java/awt/print/NoPrinterJob.java: New (fake) class.
33046 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33048 2006-01-28 Mark Wielaard <mark@klomp.org>
33050 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33052 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33054 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33055 (addChildren): New method.
33057 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33059 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33060 constructor for cloning purposes.
33061 (clone): New implementation that ensures cloning.
33062 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33063 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33066 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33068 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33069 Call updateCurrentVisiblePath.
33071 2006-01-27 Roman Kennke <kennke@aicas.com>
33073 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33075 2006-01-27 Roman Kennke <kennke@aicas.com>
33077 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33078 (createContent): Only create new content if we don't have one
33080 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33081 (createContent): Only create new content if we don't have one
33083 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33084 (createContent): Only create new content if we don't have one
33086 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33087 (createContent): Only create new content if we don't have one
33089 * examples/gnu/classpath/examples/swing/SliderDemo.java
33090 (createContent): Only create new content if we don't have one
33092 * examples/gnu/classpath/examples/swing/TableDemo.java
33093 (createContent): Only create new content if we don't have one
33095 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33096 (createContent): Only create new content if we don't have one
33099 2006-01-27 Lillian Angel <langel@redhat.com>
33101 * javax/swing/text/DefaultStyledDocument.java
33102 (insertFirstContentTag): Removed check, not needed. This
33103 still needs to be fixed for some cases. Added call to
33105 (createFracture): Added call to recreateLeaves.
33106 (recreateLeaves): New method used to recreate all the
33107 leaves after the initial insertion. This still needs
33109 (handleInsertAfterNewline): Removed else, not needed.
33111 2006-01-27 Roman Kennke <kennke@aicas.com>
33113 * javax/swing/JLayeredPane.java
33114 (inserIndexForLayer): Fixed direction of search.
33116 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33118 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33119 node into nodeStates.
33121 2006-01-27 Roman Kennke <kennke@aicas.com>
33123 * javax/swing/JLayeredPane.java
33124 (FRAME_CONTENT_LAYER): Made field final.
33125 (componentToLayer): Made field private.
33126 (rectCache): Removed field.
33127 (layers): Removed field.
33128 (JLayeredPane()): Removed initialization of removed fields.
33129 (getLayer): Rewritten to make use of client properties in
33130 JComponents and to be more straighforward.
33131 (static getLayer): Rewritten to make use of client properties in
33133 (layerToRange): Removed method.
33134 (incrLayer): Removed method.
33135 (decrLayer): Removed method.
33136 (highestLayer): Rewritten to be more straightforward.
33137 (lowestLayer): Rewritten to be more straightforward.
33138 (getPosition): Rewritten to be more straightforward.
33139 (getComponentsInLayer): Rewritten to be more straightforward.
33140 (getComponentCountInLayer): Rewritten to be more straightforward.
33141 (getIndexOf): Rewritten to be more straightforward.
33142 (inserIndexForLayer): Rewritten to be more straightforward.
33143 (remove): Rewritten to be more straightforward.
33144 (setLayer): Rewritten to be more straightforward.
33145 (addImpl): Rewritten to be more straightforward.
33146 (putLayer): Rewritten to be more straightforward.
33148 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33150 * java/lang/Character.java:
33151 (offsetByCodePoints(CharSequence, int, int)): New API method.
33152 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33153 (toChars): Throw the Exception that the docs say we throw.
33154 (codePointAt): Fixed an off-by-one error in the bounds of the if
33156 * java/lang/String.java:
33157 (String(int[], int, int)): New API constructor.
33159 2006-01-27 Lillian Angel <langel@redhat.com>
33161 * javax/swing/text/DefaultStyledDocument.java
33162 (insert): Moved this loop to insertUpdate.
33163 (insertUpdate): Likewise. Fixed variable
33164 names. Incremented pos if new paragraph
33166 (split): Changed edits to use replace instead. Prevents
33168 (insertFirstContentTag): Removed else.
33169 (insertContentTag): Implemented else for JoinNextDirection.
33170 (createFracture): Fixed up code, still not fully complete.
33171 (insertFracture): Fixed to use return value from
33172 recreateAfterFracture.
33173 (recreateAfterFracture): Changed to return an array of the
33174 elements to be added. This prevents an assertion error.
33175 (contains): New function checks if an element is already in
33176 the Vector. Vector's contain function was not enough to use.
33177 (addAddedElement): Changed to use new contains function.
33178 (addAddedElements): Likewise.
33179 (addRemovedElement): Likewise.
33180 (addRemovedElements): Likewise.
33182 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33185 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33186 If no user class loaders found on the stack, return the thread
33187 context class loader. (currentClassLoader): Explained.
33189 2006-01-27 Roman Kennke <kennke@aicas.com>
33191 * java/awt/Container.java
33192 (swapComponents): Removed unspecified method.
33193 * javax/swing/JLayeredPane.java
33194 (setPosition): Reimplemented correctly.
33195 (swapComponents): New helper method.
33197 2006-01-27 Mark Wielaard <mark@klomp.org>
33199 * configure.ac: Set version to 0.21-pre.
33201 2006-01-27 Roman Kennke <kennke@aicas.com>
33204 * javax/swing/JComponent.java
33205 (findOverlapFreeParent): Improved the algorithm to make better use
33206 of the optimizedDrawingEnabled flag.
33207 * javax/swing/JLayeredPane.java
33208 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33209 * javax/swing/JViewport.java
33210 (computeBlit): Fixed check to decide if blitting is possible or not,
33211 so that it doesn't blit if nothing was scrolled (in order to
33212 update the buffer when the view updates itself).
33214 2006-01-27 Roman Kennke <kennke@aicas.com>
33216 * javax/swing/plaf/metal/MetalFileChooserUI.java
33217 (createList): Don't set scrollbar policy.
33219 2006-01-27 Roman Kennke <kennke@aicas.com>
33221 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33222 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33223 Fixed to also handle non-Swing toplevel containers.
33224 (PopupMenuHandler.popupMenuWillBecomeVisible):
33225 Fixed to also handle non-Swing toplevel containers.
33226 * javax/swing/Popup.java
33227 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33230 2006-01-27 Roman Kennke <kennke@aicas.com>
33232 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33233 (InternalFramePropertyChangeListener): Don't implement
33234 VetoableChangeListener.
33235 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33236 (internalFrameVetoableChangeListener): Removed unneeded field.
33237 (installListeners): Don't install vetoableChangeListener.
33238 * javax/swing/event/DocumentEvent.java
33239 (EventType): Made class final.
33241 2006-01-27 Roman Kennke <kennke@aicas.com>
33243 * javax/swing/SwingUtilities.java
33244 (calculateInsetArea): Removed unneeded method. The method
33245 calculateInnerArea has the same purpose and is actually specified.
33246 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33247 * javax/swing/plaf/basic/BasicMenuItemUI.java
33248 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33249 of SwingUtilities.calculateInsetArea().
33251 2006-01-27 Roman Kennke <kennke@aicas.com>
33253 * javax/swing/plaf/basic/BasicTreeUI.java
33254 (installDefaults): Removed requestFocusInWindow() call.
33255 * javax/swing/JComponent.java
33256 (requestFocusInWindow(boolean)): Made method protected.
33257 (printComponent): Made method protected.
33258 (printChildren): Made method protected.
33259 (printComponent): Made method protected.
33260 (printBorder): Made method protected.
33262 2006-01-27 Roman Kennke <kennke@aicas.com>
33264 * javax/swing/AbstractButton.java
33265 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33267 * javax/swing/ImageIcon.java
33268 (component): Made field final.
33269 (tracker): Made field final.
33270 * javax/swing/JApplet.java
33271 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33272 * javax/swing/JCheckBox.java
33273 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33275 * javax/swing/JDialog.java
33276 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33277 * javax/swing/JFrame.java
33278 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33279 * javax/swing/JLayeredPane.java
33280 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33282 (DEFAULT_LAYER): Made field final.
33283 (PALETTE_LAYER): Made field final.
33284 (MODAL_LAYER): Made field final.
33285 (POPUP_LAYER): Made field final.
33286 (DRAG_LAYER): Made field final.
33287 * javax/swing/JMenu.java
33288 (ActionChangeListener): Made class private.
33289 * javax/swing/JOptionPane.java
33290 (UNITITIALIZED_VALUE): Made field final.
33291 * javax/swing/JPanel.java
33292 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33293 * javax/swing/JPopupMenu.java
33294 (ActionChangeListener): Made class private.
33295 * javax/swing/JTree.java
33296 (paramString): Made method protected.
33297 * javax/swing/JViewport.java
33298 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33299 * javax/swing/JWindow.java
33300 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33301 * javax/swing/RepaintManager.java
33302 (RepaintWorker): Made class private.
33304 2006-01-27 Roman Kennke <kennke@aicas.com>
33306 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33307 (handleEvent): Removed debug statement.
33309 2006-01-27 Roman Kennke <kennke@aicas.com>
33311 * java/awt/Component.java
33312 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33313 more than it helps.
33315 2006-01-26 Lillian Angel <langel@redhat.com>
33317 * javax/swing/text/DefaultStyledDocument.java
33318 (createFracture): Commented out a known problem,
33321 2006-01-26 Lillian Angel <langel@redhat.com>
33323 * javax/swing/text/DefaultStyledDocument.java
33324 (ElementBuffer): Added fields.
33325 (remove): Initialized pos.
33326 (change): Likewise.
33327 (insert): Likewise.
33328 (insertUpdate): Incremented pos. Fixed check, createFracture should
33329 be called on first tag if it is not ContentType.
33330 (insertFirstContentTag): Reworked to use proper offsets and
33331 set offset accordingly. This might need more work in the future.
33332 (insertContentTag): Likewise. Fixed to use pos, instead of
33334 (createFracture): Fixed to recreate other leaves. Still needs
33336 (insertFracture): Reimplemented.
33337 (recreateAfterFracture): New method.
33338 (getParagraphElement): Reimplemented, more efficent.
33340 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33342 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33343 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33344 ordering for little-endian arms without VFP.
33346 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33349 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33351 2006-01-26 Mark Wielaard <mark@klomp.org>
33353 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33354 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33355 Add trailing zeros to the fraction of the decimal with the smallest
33358 2006-01-26 Roman Kennke <kennke@aicas.com>
33360 * javax/swing/text/html/ObjectView.java: New file.
33362 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33364 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33365 Call startEditing when appropriate.
33366 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33367 (startEditing): Always edit if directly ordered from
33368 MouseHandler.mousePressed.
33369 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33370 New field. (createTreeCellEditor): Set click count to start.
33371 (getTreeCellEditorComponent): Assing realEditor directly.
33373 2006-01-25 Casey Marshall <csm@gnu.org>
33375 Merging GNU Crypto and Jessie.
33377 * NEWS: mention the merge in the 0.21 notes.
33378 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33379 (SSL_RECORD_LAYER): new constants.
33380 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33382 * resource/java/security/classpath.security: add new providers.
33383 * gnu/javax/crypto/assembly/Assembly.java,
33384 gnu/javax/crypto/assembly/Cascade.java,
33385 gnu/javax/crypto/assembly/CascadeStage.java,
33386 gnu/javax/crypto/assembly/CascadeTransformer.java,
33387 gnu/javax/crypto/assembly/DeflateTransformer.java,
33388 gnu/javax/crypto/assembly/Direction.java,
33389 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33390 gnu/javax/crypto/assembly/ModeStage.java,
33391 gnu/javax/crypto/assembly/Operation.java,
33392 gnu/javax/crypto/assembly/PaddingTransformer.java,
33393 gnu/javax/crypto/assembly/Stage.java,
33394 gnu/javax/crypto/assembly/Transformer.java,
33395 gnu/javax/crypto/assembly/TransformerException.java,
33396 gnu/javax/crypto/cipher/Anubis.java,
33397 gnu/javax/crypto/cipher/BaseCipher.java,
33398 gnu/javax/crypto/cipher/Blowfish.java,
33399 gnu/javax/crypto/cipher/Cast5.java,
33400 gnu/javax/crypto/cipher/CipherFactory.java,
33401 gnu/javax/crypto/cipher/DES.java,
33402 gnu/javax/crypto/cipher/IBlockCipher.java,
33403 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33404 gnu/javax/crypto/cipher/Khazad.java,
33405 gnu/javax/crypto/cipher/NullCipher.java,
33406 gnu/javax/crypto/cipher/Rijndael.java,
33407 gnu/javax/crypto/cipher/Serpent.java,
33408 gnu/javax/crypto/cipher/Square.java,
33409 gnu/javax/crypto/cipher/TripleDES.java,
33410 gnu/javax/crypto/cipher/Twofish.java,
33411 gnu/javax/crypto/cipher/WeakKeyException.java,
33412 gnu/javax/crypto/jce/GnuCrypto.java,
33413 gnu/javax/crypto/jce/GnuSasl.java,
33414 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33415 gnu/javax/crypto/jce/cipher/AESSpi.java,
33416 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33417 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33418 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33419 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33420 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33421 gnu/javax/crypto/jce/cipher/DESSpi.java,
33422 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33423 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33424 gnu/javax/crypto/jce/cipher/PBES2.java,
33425 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33426 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33427 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33428 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33429 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33430 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33431 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33432 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33433 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33434 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33435 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33436 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33437 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33438 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33439 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33440 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33441 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33442 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33443 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33444 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33445 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33446 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33447 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33448 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33449 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33450 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33451 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33452 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33453 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33454 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33455 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33456 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33457 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33458 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33459 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33460 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33461 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33462 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33463 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33464 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33465 gnu/javax/crypto/jce/mac/MacAdapter.java,
33466 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33467 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33468 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33469 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33470 gnu/javax/crypto/jce/mac/OMacImpl.java,
33471 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33472 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33473 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33474 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33475 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33476 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33477 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33478 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33479 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33480 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33481 gnu/javax/crypto/jce/params/DEREncodingException.java,
33482 gnu/javax/crypto/jce/params/DERReader.java,
33483 gnu/javax/crypto/jce/params/DERWriter.java,
33484 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33485 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33486 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33487 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33488 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33489 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33490 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33491 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33492 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33493 gnu/javax/crypto/key/GnuSecretKey.java,
33494 gnu/javax/crypto/key/IKeyAgreementParty.java,
33495 gnu/javax/crypto/key/IncomingMessage.java,
33496 gnu/javax/crypto/key/KeyAgreementException.java,
33497 gnu/javax/crypto/key/KeyAgreementFactory.java,
33498 gnu/javax/crypto/key/OutgoingMessage.java,
33499 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33500 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33501 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33502 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33503 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33504 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33505 gnu/javax/crypto/key/dh/ElGamalSender.java,
33506 gnu/javax/crypto/key/dh/GnuDHKey.java,
33507 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33508 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33509 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33510 gnu/javax/crypto/key/dh/RFC2631.java,
33511 gnu/javax/crypto/key/srp6/SRP6Host.java,
33512 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33513 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33514 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33515 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33516 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33517 gnu/javax/crypto/key/srp6/SRP6User.java,
33518 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33519 gnu/javax/crypto/key/srp6/SRPKey.java,
33520 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33521 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33522 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33523 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33524 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33525 gnu/javax/crypto/keyring/BaseKeyring.java,
33526 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33527 gnu/javax/crypto/keyring/CertPathEntry.java,
33528 gnu/javax/crypto/keyring/CertificateEntry.java,
33529 gnu/javax/crypto/keyring/CompressedEntry.java,
33530 gnu/javax/crypto/keyring/EncryptedEntry.java,
33531 gnu/javax/crypto/keyring/Entry.java,
33532 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33533 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33534 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33535 gnu/javax/crypto/keyring/IKeyring.java,
33536 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33537 gnu/javax/crypto/keyring/IPublicKeyring.java,
33538 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33539 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33540 gnu/javax/crypto/keyring/MeteredInputStream.java,
33541 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33542 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33543 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33544 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33545 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33546 gnu/javax/crypto/keyring/Properties.java,
33547 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33548 gnu/javax/crypto/mac/BaseMac.java,
33549 gnu/javax/crypto/mac/HMac.java,
33550 gnu/javax/crypto/mac/HMacFactory.java,
33551 gnu/javax/crypto/mac/IMac.java,
33552 gnu/javax/crypto/mac/MacFactory.java,
33553 gnu/javax/crypto/mac/MacInputStream.java,
33554 gnu/javax/crypto/mac/MacOutputStream.java,
33555 gnu/javax/crypto/mac/OMAC.java,
33556 gnu/javax/crypto/mac/TMMH16.java,
33557 gnu/javax/crypto/mac/UHash32.java,
33558 gnu/javax/crypto/mac/UMac32.java,
33559 gnu/javax/crypto/mode/BaseMode.java,
33560 gnu/javax/crypto/mode/CBC.java,
33561 gnu/javax/crypto/mode/CFB.java,
33562 gnu/javax/crypto/mode/CTR.java,
33563 gnu/javax/crypto/mode/EAX.java,
33564 gnu/javax/crypto/mode/ECB.java,
33565 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33566 gnu/javax/crypto/mode/ICM.java,
33567 gnu/javax/crypto/mode/IMode.java,
33568 gnu/javax/crypto/mode/ModeFactory.java,
33569 gnu/javax/crypto/mode/OFB.java,
33570 gnu/javax/crypto/pad/BasePad.java,
33571 gnu/javax/crypto/pad/IPad.java,
33572 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33573 gnu/javax/crypto/pad/PKCS7.java,
33574 gnu/javax/crypto/pad/PadFactory.java,
33575 gnu/javax/crypto/pad/SSL3.java,
33576 gnu/javax/crypto/pad/TBC.java,
33577 gnu/javax/crypto/pad/TLS1.java,
33578 gnu/javax/crypto/pad/WrongPaddingException.java,
33579 gnu/javax/crypto/prng/ARCFour.java,
33580 gnu/javax/crypto/prng/CSPRNG.java,
33581 gnu/javax/crypto/prng/Fortuna.java,
33582 gnu/javax/crypto/prng/ICMGenerator.java,
33583 gnu/javax/crypto/prng/IPBE.java,
33584 gnu/javax/crypto/prng/PBKDF2.java,
33585 gnu/javax/crypto/prng/PRNGFactory.java,
33586 gnu/javax/crypto/prng/UMacGenerator.java,
33587 gnu/javax/crypto/sasl/AuthInfo.java,
33588 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33589 gnu/javax/crypto/sasl/ClientFactory.java,
33590 gnu/javax/crypto/sasl/ClientMechanism.java,
33591 gnu/javax/crypto/sasl/ConfidentialityException.java,
33592 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33593 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33594 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33595 gnu/javax/crypto/sasl/InputBuffer.java,
33596 gnu/javax/crypto/sasl/IntegrityException.java,
33597 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33598 gnu/javax/crypto/sasl/NoSuchUserException.java,
33599 gnu/javax/crypto/sasl/OutputBuffer.java,
33600 gnu/javax/crypto/sasl/SaslEncodingException.java,
33601 gnu/javax/crypto/sasl/SaslInputStream.java,
33602 gnu/javax/crypto/sasl/SaslOutputStream.java,
33603 gnu/javax/crypto/sasl/SaslUtil.java,
33604 gnu/javax/crypto/sasl/ServerFactory.java,
33605 gnu/javax/crypto/sasl/ServerMechanism.java,
33606 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33607 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33608 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33609 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33610 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33611 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33612 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33613 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33614 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33615 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33616 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33617 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33618 gnu/javax/crypto/sasl/plain/PlainClient.java,
33619 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33620 gnu/javax/crypto/sasl/plain/PlainServer.java,
33621 gnu/javax/crypto/sasl/srp/CALG.java,
33622 gnu/javax/crypto/sasl/srp/ClientStore.java,
33623 gnu/javax/crypto/sasl/srp/IALG.java,
33624 gnu/javax/crypto/sasl/srp/KDF.java,
33625 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33626 gnu/javax/crypto/sasl/srp/SRP.java,
33627 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33628 gnu/javax/crypto/sasl/srp/SRPClient.java,
33629 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33630 gnu/javax/crypto/sasl/srp/SRPServer.java,
33631 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33632 gnu/javax/crypto/sasl/srp/ServerStore.java,
33633 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33634 gnu/javax/net/ssl/Base64.java,
33635 gnu/javax/net/ssl/EntropySource.java,
33636 gnu/javax/net/ssl/NullManagerParameters.java,
33637 gnu/javax/net/ssl/PrivateCredentials.java,
33638 gnu/javax/net/ssl/SRPManagerParameters.java,
33639 gnu/javax/net/ssl/SRPTrustManager.java,
33640 gnu/javax/net/ssl/StaticTrustAnchors.java,
33641 gnu/javax/net/ssl/provider/Alert.java,
33642 gnu/javax/net/ssl/provider/AlertException.java,
33643 gnu/javax/net/ssl/provider/Certificate.java,
33644 gnu/javax/net/ssl/provider/CertificateRequest.java,
33645 gnu/javax/net/ssl/provider/CertificateType.java,
33646 gnu/javax/net/ssl/provider/CertificateVerify.java,
33647 gnu/javax/net/ssl/provider/CipherSuite.java,
33648 gnu/javax/net/ssl/provider/ClientHello.java,
33649 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33650 gnu/javax/net/ssl/provider/CompressionMethod.java,
33651 gnu/javax/net/ssl/provider/Constructed.java,
33652 gnu/javax/net/ssl/provider/ContentType.java,
33653 gnu/javax/net/ssl/provider/Context.java,
33654 gnu/javax/net/ssl/provider/DiffieHellman.java,
33655 gnu/javax/net/ssl/provider/DigestInputStream.java,
33656 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33657 gnu/javax/net/ssl/provider/Enumerated.java,
33658 gnu/javax/net/ssl/provider/Extension.java,
33659 gnu/javax/net/ssl/provider/Extensions.java,
33660 gnu/javax/net/ssl/provider/Finished.java,
33661 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33662 gnu/javax/net/ssl/provider/Handshake.java,
33663 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33664 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33665 gnu/javax/net/ssl/provider/Jessie.java,
33666 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33667 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33668 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33669 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33670 gnu/javax/net/ssl/provider/KeyPool.java,
33671 gnu/javax/net/ssl/provider/MacException.java,
33672 gnu/javax/net/ssl/provider/OverflowException.java,
33673 gnu/javax/net/ssl/provider/PRNG.java,
33674 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33675 gnu/javax/net/ssl/provider/Random.java,
33676 gnu/javax/net/ssl/provider/RecordInput.java,
33677 gnu/javax/net/ssl/provider/RecordInputStream.java,
33678 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33679 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33680 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33681 gnu/javax/net/ssl/provider/SSLHMac.java,
33682 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33683 gnu/javax/net/ssl/provider/SSLRandom.java,
33684 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33685 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33686 gnu/javax/net/ssl/provider/SSLSocket.java,
33687 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33688 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33689 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33690 gnu/javax/net/ssl/provider/SecurityParameters.java,
33691 gnu/javax/net/ssl/provider/ServerHello.java,
33692 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33693 gnu/javax/net/ssl/provider/Session.java,
33694 gnu/javax/net/ssl/provider/SessionContext.java,
33695 gnu/javax/net/ssl/provider/Signature.java,
33696 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33697 gnu/javax/net/ssl/provider/TLSHMac.java,
33698 gnu/javax/net/ssl/provider/TLSRandom.java,
33699 gnu/javax/net/ssl/provider/Util.java,
33700 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33701 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33702 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33703 gnu/javax/security/auth/Password.java,
33704 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33705 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33706 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33707 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33708 gnu/javax/security/auth/callback/GnuCallbacks.java,
33709 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33710 gnu/java/security/Registry.java,
33711 gnu/java/security/Properties.java,
33712 gnu/java/security/hash/BaseHash.java,
33713 gnu/java/security/hash/HashFactory.java,
33714 gnu/java/security/hash/Haval.java,
33715 gnu/java/security/hash/IMessageDigest.java,
33716 gnu/java/security/hash/MD2.java,
33717 gnu/java/security/hash/MD4.java,
33718 gnu/java/security/hash/MD5.java,
33719 gnu/java/security/hash/RipeMD128.java,
33720 gnu/java/security/hash/RipeMD160.java,
33721 gnu/java/security/hash/Sha160.java,
33722 gnu/java/security/hash/Sha256.java,
33723 gnu/java/security/hash/Sha384.java,
33724 gnu/java/security/hash/Sha512.java,
33725 gnu/java/security/hash/Tiger.java,
33726 gnu/java/security/hash/Whirlpool.java,
33727 gnu/java/security/jce/hash/HavalSpi.java,
33728 gnu/java/security/jce/hash/MD2Spi.java,
33729 gnu/java/security/jce/hash/MD4Spi.java,
33730 gnu/java/security/jce/hash/MD5Spi.java,
33731 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33732 gnu/java/security/jce/hash/RipeMD128Spi.java,
33733 gnu/java/security/jce/hash/RipeMD160Spi.java,
33734 gnu/java/security/jce/hash/Sha160Spi.java,
33735 gnu/java/security/jce/hash/Sha256Spi.java,
33736 gnu/java/security/jce/hash/Sha384Spi.java,
33737 gnu/java/security/jce/hash/Sha512Spi.java,
33738 gnu/java/security/jce/hash/TigerSpi.java,
33739 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33740 gnu/java/security/jce/prng/HavalRandomSpi.java,
33741 gnu/java/security/jce/prng/MD2RandomSpi.java,
33742 gnu/java/security/jce/prng/MD4RandomSpi.java,
33743 gnu/java/security/jce/prng/MD5RandomSpi.java,
33744 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33745 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33746 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33747 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33748 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33749 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33750 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33751 gnu/java/security/jce/prng/TigerRandomSpi.java,
33752 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33753 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33754 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33755 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33756 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33757 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33758 gnu/java/security/jce/sig/SignatureAdapter.java,
33759 gnu/java/security/key/IKeyPairCodec.java,
33760 gnu/java/security/key/IKeyPairGenerator.java,
33761 gnu/java/security/key/KeyPairCodecFactory.java,
33762 gnu/java/security/key/KeyPairGeneratorFactory.java,
33763 gnu/java/security/key/dss/DSSKey.java,
33764 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33765 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33766 gnu/java/security/key/dss/DSSPrivateKey.java,
33767 gnu/java/security/key/dss/DSSPublicKey.java,
33768 gnu/java/security/key/dss/FIPS186.java,
33769 gnu/java/security/key/rsa/GnuRSAKey.java,
33770 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33771 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33772 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33773 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33774 gnu/java/security/prng/BasePRNG.java,
33775 gnu/java/security/prng/EntropySource.java,
33776 gnu/java/security/prng/IRandom.java,
33777 gnu/java/security/prng/LimitReachedException.java,
33778 gnu/java/security/prng/MDGenerator.java,
33779 gnu/java/security/prng/PRNGFactory.java,
33780 gnu/java/security/prng/RandomEvent.java,
33781 gnu/java/security/prng/RandomEventListener.java,
33782 gnu/java/security/sig/BaseSignature.java,
33783 gnu/java/security/sig/ISignature.java,
33784 gnu/java/security/sig/ISignatureCodec.java,
33785 gnu/java/security/sig/SignatureFactory.java,
33786 gnu/java/security/sig/dss/DSSSignature.java,
33787 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33788 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33789 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33790 gnu/java/security/sig/rsa/EMSA_PSS.java,
33791 gnu/java/security/sig/rsa/RSA.java,
33792 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33793 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33794 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33795 gnu/java/security/util/Base64.java,
33796 gnu/java/security/util/ExpirableObject.java,
33797 gnu/java/security/util/Prime2.java,
33798 gnu/java/security/util/Sequence.java,
33799 gnu/java/security/util/SimpleList.java,
33800 gnu/java/security/util/Util.java,
33801 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33802 new files imported from GNU Crypto and Jessie.
33804 2006-01-25 Tom Tromey <tromey@redhat.com>
33806 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33807 Fixed calculation of number of bytes to read.
33808 (size, count, meta, eof): Document.
33810 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33812 * java/lang/Character.java:
33813 (codePointCount(char[], int, int)): New API method.
33814 (codePointCount(CharSequence, int, int)): Likewise.
33816 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33819 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33821 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33822 action if not editing.
33823 * javax/swing/plaf/basic/BasicTreeUI.java
33824 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33825 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33826 (EditorUpdateTimer): Removed.
33827 (TreeAction.actionPerformed): Stop and not cancel the current editing
33828 when starting editing another node.
33829 (editorTimer, newVal): Removed.
33830 (cancelEditing): Do not send the cancel message.
33831 (completeEditing): Obtain the edited value from the editor.
33832 (finish): New method.
33833 (paintRow): Do not paint the editing component here.
33834 (startEditing, stopEditing): Rewritten.
33835 * javax/swing/tree/DefaultTreeCellEditor.java
33836 (DefaultTextField): Added SVUID.
33837 (EditorContainer): Rewritten.
33838 (RealEditorListener): New inner class.
33839 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33840 (constructor): Add cell editor listener. Do not instantiate timer.
33841 (actionPerformed): Return without action.
33842 (cancelCellEditing): Rewritten.
33843 (createTreeCellEditor): Add cell editor listener to the editor.
33844 (getCellEditorValue): Request the value from the realEditor.
33845 (isCellEditable): Removed timer management.
33846 (prepareForEditing): Remove all components befor adding the
33848 (startEditingTimer): Start only if it is not null.
33849 (stopCellEditing): Rewritten.
33850 (stopEditingTimer): New method.
33851 (valueChanged): Do not configure editing component here.
33853 2006-01-25 Roman Kennke <kennke@aicas.com>
33855 * javax/swing/text/html/FormView.java: New file.
33857 2006-01-25 Roman Kennke <kennke@aicas.com>
33859 * javax/swing/JSplitPane.java
33860 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33861 has been set in order to set an initial layout.
33862 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33863 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33864 layout of the right component.
33865 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33866 dividerLocation to the size of the left component.
33867 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33869 (setDividerLocation): Don't validate the location here. Sometimes
33870 the divider needs to be set to an invalid location.
33871 (startDragging): Don't revalidate and repaint here.
33872 (finishDraggingTo): Don't repaint here. Also, don't call
33873 dragDividerTo() here.
33874 * javax/swing/plaf/basic/BasicLookAndFeel.java
33875 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33878 2006-01-25 Roman Kennke <kennke@aicas.com>
33880 * javax/swing/JSplitPane.java
33881 (addImpl): Removed invalidate() and layout() call.
33882 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33883 (PropertyHandler.propertyChange): Remove layoutContainer() and
33886 2006-01-25 Roman Kennke <kennke@aicas.com>
33889 * native/Makefile.am
33890 * native/jni/classpath/Makefile.am
33891 * native/jni/classpath/jcl.c
33892 * native/jni/classpath/jcl.h
33893 * native/jni/classpath/native_state.c
33894 * native/jni/gtk-peer/Makefile.am
33895 * native/jni/java-io/Makefile.am
33896 * native/jni/java-io/java_io_VMFile.c
33897 * native/jni/java-io/java_io_VMObjectStreamClass.c
33898 * native/jni/java-lang/Makefile.am
33899 * native/jni/java-net/Makefile.am
33900 * native/jni/java-net/java_net_VMInetAddress.c
33901 * native/jni/java-net/javanet.c
33902 * native/jni/java-net/javanet.h
33903 * native/jni/java-nio/Makefile.am
33904 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33905 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33906 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33907 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33908 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33909 * native/jni/java-util/Makefile.am
33910 * native/jni/java-util/java_util_VMTimeZone.c
33911 * native/jni/midi-dssi/Makefile.am
33912 * native/jni/xmlj/Makefile.am
33913 * native/target/Makefile.am
33914 * native/target/Linux/target_native_math.h
33915 * native/target/Linux/target_native_memory.h
33916 * native/target/Linux/Makefile.am
33917 * native/target/Linux/target_native_io.h
33918 * native/target/Linux/target_native_math_float.h
33919 * native/target/Linux/target_native_math_int.h
33920 * native/target/generic/target_generic.c
33921 * native/target/generic/target_generic_io.c
33922 * native/target/generic/target_generic_math.h
33923 * native/target/generic/target_generic_memory.h
33924 * native/target/generic/target_generic_misc.c
33925 * native/target/generic/target_generic_network.c
33926 * native/target/generic/Makefile.am
33927 * native/target/generic/target_generic.h
33928 * native/target/generic/target_generic_file.h
33929 * native/target/generic/target_generic_io.h
33930 * native/target/generic/target_generic_math_float.h
33931 * native/target/generic/target_generic_math_int.h
33932 * native/target/generic/target_generic_misc.h
33933 * native/target/generic/target_generic_network.h:
33934 Reverted target native related changes back to the state of the
33936 * native/target/MinGW/.cvsignore
33937 * native/target/MinGW/Makefile.am
33938 * native/target/MinGW/target_native.h
33939 * native/target/MinGW/target_native_file.h
33940 * native/target/MinGW/target_native_io.h
33941 * native/target/MinGW/target_native_math.h
33942 * native/target/MinGW/target_native_memory.h
33943 * native/target/MinGW/target_native_misc.h
33944 * native/target/MinGW/target_native_network.h
33945 * native/target/RTEMS/.cvsignore
33946 * native/target/RTEMS/Makefile.am
33947 * native/target/RTEMS/target_native.h
33948 * native/target/RTEMS/target_native_file.h
33949 * native/target/RTEMS/target_native_io.h
33950 * native/target/RTEMS/target_native_math.h
33951 * native/target/RTEMS/target_native_memory.h
33952 * native/target/RTEMS/target_native_misc.h
33953 * native/target/RTEMS/target_native_network.h
33954 * native/target/SunOS/.cvsignore
33955 * native/target/SunOS/Makefile.am
33956 * native/target/SunOS/target_native.h
33957 * native/target/SunOS/target_native_file.h
33958 * native/target/SunOS/target_native_io.h
33959 * native/target/SunOS/target_native_math.h
33960 * native/target/SunOS/target_native_memory.h
33961 * native/target/SunOS/target_native_misc.h
33962 * native/target/SunOS/target_native_network.h
33963 * native/target/embOS/.cvsignore
33964 * native/target/embOS/Makefile.am
33965 * native/target/embOS/target_native.h
33966 * native/target/embOS/target_native_file.h
33967 * native/target/embOS/target_native_io.c
33968 * native/target/embOS/target_native_io.h
33969 * native/target/embOS/target_native_math.h
33970 * native/target/embOS/target_native_memory.h
33971 * native/target/embOS/target_native_misc.h
33972 * native/target/embOS/target_native_network.h
33973 * native/target/posix/.cvsignore
33974 * native/target/posix/Makefile.am
33975 * native/target/posix/target_posix.c
33976 * native/target/posix/target_posix.h
33977 * native/target/posix/target_posix_file.c
33978 * native/target/posix/target_posix_file.h
33979 * native/target/posix/target_posix_io.c
33980 * native/target/posix/target_posix_io.h
33981 * native/target/posix/target_posix_math.c
33982 * native/target/posix/target_posix_math.h
33983 * native/target/posix/target_posix_memory.c
33984 * native/target/posix/target_posix_memory.h
33985 * native/target/posix/target_posix_misc.c
33986 * native/target/posix/target_posix_misc.h
33987 * native/target/posix/target_posix_network.c
33988 * native/target/posix/target_posix_network.h:
33991 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33993 * javax/print/PrintService.java,
33994 * javax/print/DocPrintJob.java,
33995 * javax/print/CancelablePrintJob.java:
33996 Added and enhanced api documentation for class and methods.
33998 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
34000 * javax/print/SimpleDoc.java: Make class final.
34001 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34002 * javax/print/attribute/DateTimeSyntax.java:
34003 (toString): New overridden method.
34004 * javax/print/attribute/standard/JobStateReasons.java:
34005 (add): Use the super.add method to avoid recursion.
34006 * javax/print/attribute/standard/PrinterStateReasons.java:
34007 (put): Use the super.put method to avoid recursion.
34009 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
34011 * java/beans/XMLEncoder.java:
34012 (writeExpression): Added early return (fixes PR #25941).
34013 (setExceptionListener, anonymous Class): Removed printStackTrace
34015 * java/beans/Encoder: Removed unused imports.
34016 (setupDefaultPersistenceDelegates): Removed unneccessary
34017 PersistenceDelegates for subclasses.
34018 * java/beans/PersistenceDelegate:
34019 (initialize): Use local variable as first argument as it was
34021 * java/beans/DefaultPersistenceDelegate:
34022 (initialize): Added call to superclass' implementation, added
34025 2006-01-24 Tom Tromey <tromey@redhat.com>
34027 * java/util/regex/PatternSyntaxException.java: Added @since.
34028 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34029 * java/util/regex/MatchResult.java: New file.
34031 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34033 * javax/swing/text/StringContent.java: Added API docs all over, plus
34034 minor reformatting.
34036 2006-01-24 Gary Benson <gbenson@redhat.com>
34038 * java/net/SocketPermission.java: Implemented serialization.
34040 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34042 * javax/swing/text/StringContent.java
34043 (remove): Modified argument check to prevent removal of last character,
34044 (getChars): Removed null argument check to allow NullPointerException,
34046 (checkLocation): Added API docs and white space.
34048 2006-01-23 Lillian Angel <langel@redhat.com>
34050 * javax/swing/text/DefaultStyledDocument.java
34051 (insertUpdate): Should only call createFracture with
34052 StartTagType. Added check.
34053 (insertContentTag): Should use the tags length for splitting.
34054 Also, added a check to determine if current's start and end offset are
34055 equal to the offset and endOffset. If so, only one leaf element
34057 (createFracture): Removed FIXME. This function is complete.
34058 (split): Added calls to replace. Changed so the child is
34059 added immediately to the paragraph. Prevents NPEs.
34061 2006-01-23 Mark Wielaard <mark@klomp.org>
34063 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34065 2006-01-23 Tom Tromey <tromey@redhat.com>
34067 * gnu/java/security/x509/X509Certificate.java (parse):
34068 Unconditionally read value; for version==1 case when reading
34071 2006-01-23 Roman Kennke <kennke@aicas.com>
34073 * javax/swing/plaf/synth/ColorType.java,
34074 * javax/swing/plaf/synth/Region.java,
34075 * javax/swing/plaf/synth/SynthConstants.java,
34076 * javax/swing/plaf/synth/SynthContext.java
34077 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34078 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34079 * javax/swing/plaf/synth/SynthPainter.java,
34080 * javax/swing/plaf/synth/SynthStyle.java,
34081 * javax/swing/plaf/synth/SynthStyleFactory.java,
34082 * javax/swing/plaf/synth/package.html:
34083 New files. Added the public API and framework classes for the
34084 Synth look and feel.
34086 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34088 * javax/swing/text/Segment.java: API docs all over.
34090 2006-01-23 Lillian Angel <langel@redhat.com>
34092 * javax/swing/text/DefaultStyledDocument.java
34093 (split): Should not use createLeafElement and createBranchElement here.
34094 We should just instaniate the LeafElements and BranchElements instead
34095 to avoid the case where create*Element is overridden.
34097 2006-01-23 Lillian Angel <langel@redhat.com>
34099 * javax/swing/text/DefaultStyledDocument.java
34100 (insertFirstContentTag): Moved check outside of if-statement.
34101 This should be checked before creating the new leaf element.
34102 (insertFracture): Fixed check to prevent an NPE. The previous
34103 leaf should only be recreated if it has been created by
34104 insertFirstContentTag. Also, fixed up code: if the endOffset is
34105 greater than the offset, then we need to create a temp leaf
34106 as a place holder. Otherwise, the leaf elements should be
34109 2006-01-23 Gary Benson <gbenson@redhat.com>
34111 * java/net/SocketPermission.java: Almost completely rewritten.
34113 2006-01-23 Lillian Angel <langel@redhat.com>
34115 * javax/swing/text/DefaultStyledDocument.java
34116 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34118 2006-01-23 Lillian Angel <langel@redhat.com>
34120 * javax/swing/text/DefaultStyledDocument.java:
34121 Formatted ElementBuffer and added new fields.
34122 (remove): Added check to determine if length is 0.
34123 (insertFirstContentTag): Initialized firstCreated to the element that is created
34124 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34125 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34126 that have been recreated.
34127 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34128 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34129 FIXME tags to the lines that need to be rewritten.
34131 2006-01-23 Mark Wielaard <mark@klomp.org>
34133 * examples/Makefile.am: Add support for fastjar.
34135 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34137 * gnu/regexp/REToken.java(empty): Made Cloneable.
34138 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34139 Use separate methods matchN and matchP depending on the
34141 (matchN): New method used when negative. Done as before.
34142 (matchP): New method used when not negative. Each token is
34143 tried not by itself but by a clone of it.
34145 2006-01-23 Chris Burdess <dog@gnu.org>
34148 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34149 class to avoid getLength method contention.
34150 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34152 2006-01-23 Chris Burdess <dog@gnu.org>
34154 * native/jni/java-util/Makefile.am: Include library required
34155 explicitly by BSD systems.
34156 * native/target/generic/target_generic_misc.h: Remove old commented
34158 * native/target/generic/target_generic_network.h: Fallbacks (to
34159 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34161 2006-01-22 Tom Tromey <tromey@redhat.com>
34163 * native/target/posix/.cvsignore: Added .deps.
34165 2006-01-22 Mark Wielaard <mark@klomp.org>
34168 reported by James Damour <James.Damour@corp.request.com>
34169 * java/awt/Container.java (addImpl): Use empty string as name when
34170 null constraints for LayoutManager.addLayoutComponent().
34172 2006-01-22 Chris Burdess <dog@gnu.org>
34175 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34176 representing current directory as base for relative URLs.
34178 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34181 * gnu/regexp/REMatch.java(empty): New boolean indicating
34182 an empty string matched.
34183 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34185 (initialize): Support back reference \10, \11, and so on.
34186 (parseInt): renamed from getEscapedChar and returns int.
34187 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34188 when an empty string matched. Fixed a bug of the case where
34189 an empty string matched. Added special handling of {0}.
34190 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34191 when an empty string matched. Fixed the case insensitive matching.
34193 2006-01-21 Roman Kennke <kennke@aicas.com>
34195 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34196 (paint): Added painting of border if one is installed.
34198 2006-01-21 Roman Kennke <kennke@aicas.com>
34200 PR classpath/25843:
34201 * javax/swing/plaf/basic/BasicBorders.java
34202 (getSplitPaneDividerBorder): Use new border constructor
34204 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34205 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34206 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34207 colors are fetched dynamically in the paintBorder method.
34208 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34210 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34212 * javax/swing/plaf/basic/BasicLookAndFeel.java
34213 (initComponentDefaults): Added default for SplitPaneDivider.border.
34214 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34215 (tmpBorder): Removed unneeded inner class.
34216 (BasicSplitPaneDivider): Removed setting of border.
34217 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34219 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34220 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34221 to get behaviour right.
34222 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34223 implementation. This must be rewritten since the layout now works
34224 slightly different (basically, it shouldn't modify the sizes[]
34225 here but instead the dividerLocation.
34226 (dividerLocation): New field.
34227 (installDefaults): Initialize border on divider.
34228 (uninstallDefaults): Only remove background color and border from
34229 splitPane if they are instances of UIDefaults (== not set by
34231 (setDividerLocation): Set the dividerLocation field instead of
34232 doing stunt acts here.
34233 (getDividerLocation): Return dividerLocation field.
34234 (getMinimumDividerLocation): Fixed calculation of minimum location.
34236 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34239 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34241 * lib/Makefile.am: Likewise.
34243 2006-01-21 Roman Kennke <kennke@aicas.com>
34245 * javax/swing/PopupFactory.java
34246 (getPopup): If there is no Swing root found in any way, use a
34247 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34248 for the Swing AWT peers.
34250 2006-01-20 Tom Tromey <tromey@redhat.com>
34252 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34253 Read response body for redirect.
34255 2006-01-20 Chris Burdess <dog@gnu.org>
34257 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34260 2006-01-20 Lillian Angel <langel@redhat.com>
34262 * javax/swing/text/DefaultStyledDocument.java
34263 (pad): Removed, not needed.
34264 (printElements): Likewise.
34265 (printEdit): Likewise.
34267 2006-01-20 Roman Kennke <kennke@aicas.com>
34269 * javax/swing/text/DefaultFormatter.java
34270 (DefaultFormatter): Don't set a value class.
34272 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34274 * javax/swing/DefaultCellEditor.java: Commented.
34276 2006-01-19 Roman Kennke <kennke@aicas.com>
34278 * javax/swing/JOptionPane.java
34279 Added cast to Frame for JDialog constructor.
34281 2006-01-19 Roman Kennke <kennke@aicas.com>
34283 * javax/swing/JWindow.java
34284 (JWindow(Window)): Fixed to accept null owner argument.
34285 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34287 * javax/swing/SwingUtilities.java
34288 (getOwnerFrame): Owner parameter and return value are fixed to
34289 be of type Window for compatibity with the above JWindow
34291 * javax/swing/JDialog.java
34292 (JDialog): Added cast to Frame to make sure the correct constructor
34294 * javax/swing/JFileChooser.java
34295 (createDialog): Added cast to Frame for JDialog constructor.
34297 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34299 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34301 2006-01-19 Roman Kennke <kennke@aicas.com>
34303 * javax/swing/JWindow.java: Added API docs to the constructors.
34305 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34307 * javax/swing/JTable.java: Commenting method headers.
34308 (EditorUpdateTimer): Removed.
34310 2006-01-19 Roman Kennke <kennke@aicas.com>
34312 * javax/swing/JDialog.java
34313 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34314 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34315 SwingUtilities.getOwnerFrame() with the owner argument.
34316 * javax/swing/JFileChooser.java
34317 (showOpenDialog(Component)): Call pack() on the dialog instead of
34318 setting a fixed height.
34319 (showSaveDialog()): Likewise.
34320 (showDialog()): Likewise.
34321 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34322 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34324 * javax/swing/JWindow.java
34325 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34326 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34328 * javax/swing/SwingUtilities.java
34329 (getOwnerFrame): Changed to take a owner parameter that is returned
34330 as owner frame when not null.
34332 2006-01-19 Roman Kennke <kennke@aicas.com>
34334 * gnu/java/awt/peer/swing/SwingFramePeer.java
34335 (handleMouseEvent): Fixed handling of mouse events.
34336 (handleMouseMotionEvent): Fixed handling of mouse events.
34338 2006-01-19 Roman Kennke <kennke@aicas.com>
34340 * native/target/generic/target_generic_misc.c:
34341 (targetGenericMisc_formatString): Added missing method.
34343 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34345 * m4/acinclude.m4: Test also for ecj found before exiting configure
34346 with no javac found error message.
34348 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34351 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34352 \0123, \x1B, \u1234.
34353 (getEscapedChar): New method.
34354 (CharExpression): New inner class.
34355 (getCharExpression): New Method.
34356 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34357 RE_UNICODE_CHAR): New syntax bits.
34359 2006-01-19 Roman Kennke <kennke@aicas.com>
34361 * native/target/Makefile.am: Fixed so that posix stuff is really
34362 only built when requested.
34364 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34366 * javax/swing/JTable.java (editingStopped, editingCancelled):
34367 Repaint the edited cell.
34368 (setValueAt): Do not add the value object to this container.
34369 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34370 (editingStopped): Use editingRow, editingColumn and not
34371 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34372 (doLayout): Move the editor component, if present, into the new
34373 location and call repaint(). (moveToCellBeingEdited): new method.
34374 (TableTextField): new inner class.
34375 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34376 (setValueAt): Repaint the changed segment.
34377 (createDefaultEditors): Implemented.
34378 (BooleanCellRenderer): Center the checkbox and use the default foreground
34379 and background colors.
34380 * javax/swing/plaf/basic/BasicTableUI.java
34381 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34382 (paint): No need to allocate rectangle for each cell.
34383 * javax/swing/DefaultCellEditor.java: Rewritten.
34384 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34385 Use TableDemo.java table example.
34386 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34388 2006-01-19 Roman Kennke <kennke@aicas.com>
34390 * configure.ac: Added/fixed --enable-posix-layer option to enable
34391 build of posix layer.
34392 * native/target/Makefile.am: Added build for posix layer.
34394 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34396 * configure.ac: Set TARGET to Linux per default.
34397 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34399 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34400 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34403 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34405 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34406 what looked like proprietary documentation with original or new one.
34407 * java/security/spec/PSSParameterSpec.java: Likewise.
34408 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34409 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34410 * java/security/AlgorithmParameterGenerator.java: Likewise.
34411 * java/security/AlgorithmParameters.java: Likewise.
34412 * java/security/Identity.java: Likewise.
34413 * java/security/IdentityScope.java: Likewise.
34414 * java/security/KeyFactory.java: Likewise.
34415 * java/security/KeyPairGenerator.java: Likewise.
34416 * java/security/MessageDigest.java: Likewise.
34417 * java/security/Policy.java: Likewise.
34418 * java/security/ProtectionDomain.java: Likewise.
34419 * java/security/Security.java: Likewise.
34420 * java/security/Signature.java: Likewise.
34421 * java/security/SignatureSpi.java: Likewise.
34422 * java/security/SignedObject.java: Likewise.
34423 * java/security/Signer.java: Likewise.
34425 2006-01-18 Roman Kennke <kennke@aicas.com>
34427 * configure.ac: Added --enable-posix-layer option to enable
34428 build of the posix target layer.
34430 2006-01-18 Roman Kennke <kennke@aicas.com>
34432 * native/jni/java-net/java_net_VMInetAddress.c
34433 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34436 2006-01-18 Roman Kennke <kennke@aicas.com>
34438 * native/jni/java-util/java_util_VMTimeZone.c:
34439 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34440 to use target native layer.
34441 (jint_to_charbuf): Removed unneeded helper function.
34443 2006-01-18 Roman Kennke <kennke@aicas.com>
34445 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34446 Removed unnecessary include.
34447 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34448 Reorganized includes to only include sys/* headers when available.
34449 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34450 (get_pagesize): Return 0 when nothing else works.
34451 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34452 Replaced munmap() and strerror() with corresponding target macros.
34453 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34454 Replaced strerror() with corresponding target macro.
34455 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34456 Replaced strerror() with corresponding target macro.
34457 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34458 (Java_java_nio_VMDirectByteBuffer_allocate):
34459 Replaced malloc() with the corresponding target macro.
34460 (Java_java_nio_VMDirectByteBuffer_free):
34461 Replaced free() with the corresponding target macro.
34462 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34463 Add index to pointer when assigning the value.
34464 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34465 Replaced memcpy with corresponding target macro. Add index when
34466 doing the memcpy, not when fetching the pointer.
34467 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34468 Replaced memcpy with corresponding target macro.
34469 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34470 Replaced memmove with the corresponding target macro.
34472 2006-01-17 Tom Tromey <tromey@redhat.com>
34474 PR classpath/20198:
34475 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34476 (JarURLLoader): Likewise.
34477 (addURLImpl): Canonicalize file URLs.
34479 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34481 * configure.ac: Set TARGET.
34482 * native/Makefile.am, native/jni/classpath/Makefile.am,
34483 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34484 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34485 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34486 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34487 native/target/Linux/Makefile.am,
34488 native/target/generic/Makefile.am,
34489 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34490 and target stuff linked in and link it against lib*.so libraries.
34492 2006-01-17 Roman Kennke <kennke@aicas.com>
34494 * native/jni/java-net/javanet.c:
34495 (_javanet_connect): Changed type of some local variables to jint.
34496 Fixed error handling to throw a SocketTimeoutException if the
34497 connection attempt times out.
34498 (_javanet_bind): Changed type of some local variables to jint.
34499 (_javanet_accept): Likewise.
34500 (_javanet_recvfrom): Likewise.
34501 (_javanet_sendto): Fixed error handling to throw a
34502 PortUnreachableException when connection is refused.
34503 (_javanet_get_option): Changed type of some local variables to jint.
34504 Implemented SOCKOPT_SO_BROADCAST.
34505 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34506 target native macro.
34507 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34508 target native macro.
34509 * native/jni/java-net/javanet.h:
34510 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34511 SOCKOPT_SO_BROADCAST.
34513 2006-01-17 Lillian Angel <langel@redhat.com>
34515 * javax/swing/text/DefaultStyledDocument.java
34516 (insert): Cleaned up loop. No need to make so many calls
34517 to getAddedElements and getRemovedElements.
34518 (insertFracture): Removed unneeded array.
34520 2006-01-17 Lillian Angel <langel@redhat.com>
34522 * javax/swing/text/JTextComponent.java
34523 (AccessibleJTextComponent): Implemented.
34524 (getCaretPosition): Implemented.
34525 (getSelectedText): Implemented.
34526 (getSelectionStart): Implemented.
34527 (getSelectionEnd): Implemented.
34528 (getSelectionEnd): Implemented.
34529 (getCharCount): Implemented.
34530 (insertTextAtIndex): Implemented.
34531 (getTextRange): Implemented.
34532 (delete): Implemented.
34533 (cut): Implemented.
34534 (paste): Implemented.
34535 (replaceText): Implemented.
34536 (selectText): Implemented.
34538 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34540 * javax/swing/text/DefaultStyledDocument.java:
34541 (pad): New debugging method.
34542 (printElements): Likewise.
34543 (printPendingEdits): Likewise.
34544 (printElement): Likewise.
34545 (Edit): Improved docs, moved this class to be an inner class of
34546 ElementBuffer since it only applies within that scope. Changed added
34547 and removed to be Vectors instead of arrays because we need to be able
34548 to add to them after construction.
34549 (ElementBuffer): Updated docs with link to article that helped in this
34550 classes implementation.
34551 (ElementBuffer.Edit.getRemovedElements): New method.
34552 (ElementBuffer.Edit.getAddedElements): Likewise.
34553 (ElementBuffer.Edit.addRemovedElement): Likewise.
34554 (ElementBuffer.Edit.addRemovedElements): Likewise.
34555 (ElementBuffer.Edit.addAddedElement): Likewise.
34556 (ElementBuffer.Edit.addAddedElements): Likewise.
34557 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34559 (ElementBuffer.getEditForParagraphAndIndex): New method.
34560 (ElementBuffer.removeUpdate): Changed type of paragraph to
34561 BranchElement. Corrected style of adding the edit to use the new Edit
34563 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34564 the new Edit facilities.
34565 (ElementBuffer.split): Likewise.
34566 (ElementBuffer.insertParagraph): Likewise.
34567 (ElementBuffer.insertContentTag): Likewise.
34568 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34569 not just the root and the first one. Apply the structural changes to
34570 the tree at the same time as updating the DocumentEvent.
34571 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34572 handling of EndTags as the first ElementSpec. Instead have to handle
34573 ContentTags as a special case if they are the first ElementSpec and if
34574 not have to fracture the tree.
34575 (ElementBuffer.createFracture): New method. May not be complete yet.
34576 Added FIXME indicating what may remain to be done.
34577 (ElementBuffer.insertFirstContentTag): New method.
34578 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34579 be done. Changed the adding of edits to use the new Edit facilities.
34580 Removed the adding of edits for Elements that weren't in the tree prior
34582 (insertUpdate): Removed incorrect condition for setting a StartTag's
34583 direction to JoinNextDirection.
34584 * javax/swing/text/StyleContent.java:
34585 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34586 that was causing an ArrayOutOfBoundsException.
34588 2006-01-17 Roman Kennke <kennke@aicas.com>
34590 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34591 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34592 exception messages a little.
34593 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34594 alternative implementation for systems without filesystems.
34595 Replaced snprintf with the corresponding target native macro.
34596 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34597 Only do something when we have a filesystem.
34598 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34599 alternative implementation for systems without filesystems.
34600 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34601 alternative implementation for systems without filesystems.
34602 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34603 alternative implementation for systems without filesystems.
34604 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34605 Only do something when we have a filesystem.
34606 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34607 Only do something when we have a filesystem.
34608 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34609 alternative implementation for systems without filesystems.
34610 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34611 Replaced ssize_t variables with jint. Provided
34612 alternative implementation for systems without filesystems.
34613 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34614 Replaced ssize_t variables with jint. Provided
34615 alternative implementation for systems without filesystems.
34616 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34617 Replaced ssize_t variables with jint. Provided
34618 alternative implementation for systems without filesystems.
34619 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34620 Only do something when we have a filesystem.
34621 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34622 Replaced ssize_t variables with jint. Provided
34623 alternative implementation for systems without filesystems.
34624 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34625 to use the corresponding target native macro.
34626 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34627 to use the corresponding target native macro.
34629 2006-01-17 Lillian Angel <langel@redhat.com>
34631 * javax/swing/text/DefaultTextUI.java:
34632 Added deprecated tag.
34633 * javax/swing/text/JTextComponent.java
34634 (AccessibleJTextComponent): Fixed API doc and
34635 partiall9 implemented.
34636 (getCaretPosition): Fixed API doc and implemented.
34637 (getSelectedText): Fixed API doc.
34638 (getSelectionStart): Likewise.
34639 (getSelectionEnd): Likewise.
34640 (caretUpdate): Fixed API doc and
34641 partially implemented.
34642 (getAccessibleStateSet): Likewise.
34643 (getAccessibleRole): Fixed API doc and implemented.
34644 (getAccessibleEditableText): Implemented.
34645 (getAccessibleText): Fixed API doc and implemented.
34646 (insertUpdate): Fixed API doc.
34647 (changedUpdate): Likewise.
34648 (getIndexAtPoint): Likewise.
34649 (getRootEditorRect): Removed.
34650 (getCharacterBounds): Fixed API doc.
34651 (getCharCount): Likewise.
34652 (getCharacterAttribute): Likewise.
34653 (getAtIndex): Likewise.
34654 (getAfterIndex): Likewise.
34655 (getBeforeIndex): Likewise.
34656 (getAccessibleActionCount): Added function stub.
34657 (getAccessibleActionDescription): Added function,
34658 partially implemented.
34659 (doAccessibleAction): Added function stub.
34660 (setTextContents): Likewise.
34661 (insertTextAtIndex): Likewise.
34662 (delete): Likewise.
34665 (replaceText): Likewise.
34666 (selectText): Likewise.
34667 (setAttributes): Likewise.
34668 (getAccessibleContext): Implemented.
34670 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34673 * gnu/regexp/RETokenRange.java(constructor):
34674 Keep lo and hi as they are.
34675 (match): Changed the case insensitive comparison.
34677 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34679 * gnu/regexp/RETokenChar.java(chain):
34680 Do not concatenate tokens whose insens flags are diffent.
34682 2006-01-17 Roman Kennke <kennke@aicas.com>
34684 * native/target/generic/target_generic_network.c:
34685 (targetGenericNetwork_receive): Fixed signature to match the
34686 corresponding .h file.
34687 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34688 to match the corresponding .h file.
34690 2006-01-17 Roman Kennke <kennke@aicas.com>
34692 * native/jni/classpath/jcl.c:
34693 (JCL_malloc): Replaced calls to malloc with the corresponding
34694 target layer macro.
34695 (JCL_free): Replaced calls to free with the corresponding
34696 target layer macro.
34697 * native/jni/classpath/native_state.c:
34698 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34699 calloc with the corresponding target layer macro.
34700 (remove_node): Replaced calls to free with the corresponding
34701 target layer macro.
34702 (add_node): Replaced calls to malloc with the corresponding
34703 target layer macro.
34705 2006-01-17 Roman Kennke <kennke@aicas.com>
34707 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34708 (getFieldReference): Use MALLOC/FREE macros for portability instead
34709 of direct call to malloc() and free().
34711 2006-01-17 Roman Kennke <kennke@aicas.com>
34713 * native/jni/classpath/jcl.c: Added missing imports.
34714 (JCL_realloc): Fixed signature to include oldsize. This is needed
34715 for some targets. Make this function use the MEMORY_REALLOC macro
34717 * native/jni/classpath/jcl.h
34718 (JCL_realloc): Adjusted signature.
34719 * native/jni/java-io/java_io_VMFile.c:
34720 (Java_java_io_VMFile_create): Use target layer macro for handling
34721 errno, for portability.
34722 (Java_java_io_VMFile_length): Release filename string in error cases
34724 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34725 version of JCL_realloc.
34726 * native/jni/java-net/java_net_VMInetAddress.c:
34727 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34728 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34729 * native/jni/java-net/javanet.c:
34730 (_javanet_bind): Make errorstr variable const to avoid compiler
34732 (_javanet_set_option): Fixed typo.
34733 (_javanet_get_option): Fixed typo.
34734 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34735 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34736 error_string variable const to avoid compiler warning.
34737 * native/target/generic/target_generic_file.h:
34738 Replaced // comments with /* */ comments to avoid compiler warnings.
34739 Added some spaces to make code better readable.
34740 * native/target/generic/target_generic_memory.h:
34741 Replaced // comments with /* */ comments to avoid compiler warnings.
34742 * native/target/generic/target_generic_misc.c:
34743 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34744 compiler warnings due to use of varargs.
34745 * native/target/generic/target_generic_misc.h:
34746 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34747 compiler warnings due to use of varargs.
34748 * native/target/generic/target_generic_network.h:
34749 Replaced // comments with /* */ comments to avoid compiler warnings.
34750 (targetGenericNetwork_receive): Fixed signature to use signed chars
34751 for buffer parameter to avoid warning when passing a jbyte to the
34754 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34756 * javax/swing/text/StyleConstants.java
34757 (getAlignment): Removed isDefined() check, so that resolving parent is
34759 (getBackground): Likewise, plus changed default value to Color.BLACK,
34760 (getBidiLevel): Removed isDefined() check,
34761 (getComponent): Likewise,
34762 (getFirstLineIndent): Likewise,
34763 (getFontFamily): Likewise,
34764 (getFontSize): Likewise,
34765 (getForeground): Likewise,
34766 (getIcon): Likewise,
34767 (getLeftIndent): Likewise,
34768 (getLineSpacing): Likewise,
34769 (getRightIndent): Likewise,
34770 (getSpaceAbove): Likewise,
34771 (getSpaceBelow): Likewise,
34772 (getTabSet): Likewise,
34773 (isBold): Likewise,
34774 (isItalic): Likewise,
34775 (isStrikeThrough): Likewise,
34776 (isSubscript): Likewise,
34777 (isSuperscript): Likewise,
34778 (isUnderline): Likewise.
34780 2006-01-17 Gary Benson <gbenson@redhat.com>
34782 * java/lang/System.java (setSecurityManager): Catch
34783 ClassNotFoundException not Throwable.
34785 2006-01-16 Anthony Green <green@redhat.com>
34788 * gnu/java/net/protocol/http/Request.java
34789 (createResponseBodyStream): Remove Content-Encoding for
34790 compressed streams.
34792 2006-01-16 Chris Burdess <dog@gnu.org>
34794 * gnu/xml/stream/XMLParser.java,
34795 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34796 XMLStreamWriter arguments for conformance to the XML specifications.
34797 * gnu/xml/transform/Stylesheet.java,
34798 gnu/xml/transform/Template.java,
34799 gnu/xml/transform/TransformerImpl.java,
34800 gnu/xml/xpath/LangFunction.java,
34801 gnu/xml/xpath/Selector.java: better handling of template priorities;
34802 fix indents when pretty-printing; recursive tests for xml:lang.
34803 * gnu/xml/util/XHTMLWriter.java,
34804 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34806 2006-01-16 Roman Kennke <kennke@aicas.com>
34808 * native/target/MinGW/.cvsignore: New file.
34809 * native/target/RTEMS/.cvsignore: New file.
34810 * native/target/SunOS/.cvsignore: New file.
34811 * native/target/embOS/.cvsignore: New file.
34812 * native/target/posix/.cvsignore: New file.
34814 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34816 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34818 2006-01-16 Roman Kennke <kennke@aicas.com>
34820 * configure.ac: Include new target native directories in build.
34822 2006-01-16 Roman Kennke <kennke@aicas.com>
34824 * native/target/generic/target_generic_file.h: Added missing
34826 * native/target/generic/target_generic_network.c: Fixed several
34827 typos and includes.
34828 * native/target/generic/target_generic_network.h: Likewise.
34830 2006-01-16 Roman Kennke <kennke@aicas.com>
34832 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34833 to include the new targets.
34834 * native/target/posix/Makefile.am: Fixed filenames.
34836 2006-01-16 Roman Kennke <kennke@aicas.com>
34838 * native/target/Makefile.am: Include new targets.
34839 * native/target/Linux/Makefile.am: Include new memory layer.
34840 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34841 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34842 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34843 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34844 * native/target/generic/Makefile.am: Include new memory and math
34846 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34848 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34851 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34852 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34854 2006-01-16 Roman Kennke <kennke@aicas.com>
34856 * native/target/generic/target_generic_network.c: Fixed typo.
34857 * native/target/generic/target_generic_network.h: Fixed typo.
34859 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34861 * doc/vmintegration.texinfo: Updated subsection of the
34862 java.lang.InstrumentationImpl documentation.
34864 2006-01-16 Roman Kennke <kennke@aicas.com>
34866 * native/target/RTEMS/target_native.h,
34867 * native/target/RTEMS/target_native_file.h,
34868 * native/target/RTEMS/target_native_io.h,
34869 * native/target/RTEMS/target_native_math.h,
34870 * native/target/RTEMS/target_native_memory.h,
34871 * native/target/RTEMS/target_native_misc.h,
34872 * native/target/RTEMS/target_native_network.h:
34873 New files. Implement the target native layer for the RTEMS platform.
34875 2006-01-16 Roman Kennke <kennke@aicas.com>
34877 * native/target/SunOS/target_native.h,
34878 * native/target/SunOS/target_native_file.h,
34879 * native/target/SunOS/target_native_io.h,
34880 * native/target/SunOS/target_native_math.h,
34881 * native/target/SunOS/target_native_memory.h,
34882 * native/target/SunOS/target_native_misc.h,
34883 * native/target/SunOS/target_native_network.h:
34884 New files. Implement the target native layer for the SunOS platform.
34886 2006-01-16 Roman Kennke <kennke@aicas.com>
34888 * native/target/MinGW/target_native.h,
34889 * native/target/MinGW/target_native_file.h,
34890 * native/target/MinGW/target_native_io.h,
34891 * native/target/MinGW/target_native_math.h,
34892 * native/target/MinGW/target_native_memory.h,
34893 * native/target/MinGW/target_native_misc.h,
34894 * native/target/MinGW/target_native_network.h:
34895 New files. Implement the target native layer for the MinGW
34898 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34901 * javax/swing/DefaultCellEditor.java
34902 (delegate): Assign new instance immediately.
34903 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34904 (getTableCellEditorComponent): Rewritten.
34905 (prepareAsJTextField):New method (add listener only once).
34906 * javax/swing/JTable.java
34907 (editingCanceled): Rewritten.
34908 (editingStopped ): Rewritten.
34909 (rowAtPoint): Mind row margin.
34910 (getCellRect): Mind row margin.
34911 (getDefaultEditor): Removing JTextComponent border.
34912 (editCellAt): Rewritten.
34913 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34914 Activate editing mode by the mouse clicks.
34915 (getMaximumSize): Mind row margin.
34916 (getPreferredSize): Mind row margin.
34917 (TableAction): Added 'stop editing' command.
34919 2006-01-16 Roman Kennke <kennke@aicas.com>
34921 * jni/java-io/java_io_VMFile.c
34922 (Java_java_io_VMFile_list): Use new 4 argument version of
34923 TARGET_NATIVE_FILE_READ_DIR macro.
34924 * target/Linux/target_native_io.h: Fixed comment at #endif.
34925 * target/Linux/target_native_memory.h: New file. Contains
34926 portability macros for memory operations.
34927 * target/generic/target_generic.c: New file. Contains some functions
34929 * target/generic/target_generic.h: Use posix target and shorter macro
34930 names if CP_NEW is set.
34931 * target/generic/target_generic_file.h: Use posix target and shorter
34932 macro names if CP_NEW is set.
34933 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34934 * target/generic/target_generic_io.c: New file. Contains some
34935 functions for IO portability.
34936 * target/generic/target_generic_io.h: Use posix target and shorter
34937 macro names if CP_NEW is set.
34938 * target/generic/target_generic_misc.c: New file. Contains some
34939 functions for miscallaneaous portability issues.
34940 * target/generic/target_generic_misc.h: Use posix target and shorter
34941 macro names if CP_NEW is set.
34942 * target/generic/target_generic_network.c: New file. Contains some
34943 functions for networking portability.
34944 * target/generic/target_generic_network.h: Use posix target and
34945 shorter macro names if CP_NEW is set.
34946 * target/posix/Makefile.am,
34947 * target/posix/target_posix.c,
34948 * target/posix/target_posix.h,
34949 * target/posix/target_posix_file.c,
34950 * target/posix/target_posix_file.h,
34951 * target/posix/target_posix_io.c,
34952 * target/posix/target_posix_io.h,
34953 * target/posix/target_posix_math.c,
34954 * target/posix/target_posix_math.h,
34955 * target/posix/target_posix_memory.c,
34956 * target/posix/target_posix_memory.h,
34957 * target/posix/target_posix_misc.c,
34958 * target/posix/target_posix_misc.h,
34959 * target/posix/target_posix_network.c,
34960 * target/posix/target_posix_network.h:
34961 New files. This implements the target native layer macros for
34962 Posix-like systems.
34964 2006-01-16 Gary Benson <gbenson@redhat.com>
34966 * java/net/SocketPermission.java (implies): Fix action checks.
34968 2006-01-16 Roman Kennke <kennke@aicas.com>
34970 * native/target/generic/target_generic_math_float.h: Removed. This
34971 file has been replaced by target_generic_math.h.
34972 * native/target/generic/target_generic_math_int.h: Removed. This
34973 file has been replaced by target_generic_math.h.
34974 * native/target/generic/target_generic_math.h: New file. Replaces
34975 the old _int and _float versions.
34976 * native/target/Linux/target_native_math_float.h: Removed. This
34977 file has been replaced by target_native_math.h.
34978 * native/target/Linux/target_native_math_int.h: Removed. This
34979 file has been replaced by target_native_math.h.
34980 * native/target/Linux/target_native_math.h: New file. Replaces
34981 the old _int and _float versions.
34982 * native/target/Linux/Makefile.am: Adjusted for the changed
34984 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34985 instead of target_native_math_int.h.
34986 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34988 * native/target/generic/target_generic_file.h: Likewise.
34990 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34992 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34994 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34996 * javax/swing/text/SimpleAttributeSet.java
34997 (SimpleAttributeSet()): Initialise storage directly,
34998 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34999 NullPointerException,
35000 (containsAttribute): If key is found locally, don't check resolving
35001 parent if the value doesn't match,
35002 (getAttribute): Removed redundant instanceof and cast.
35004 2006-01-16 Gary Benson <gbenson@redhat.com>
35006 * java/lang/System.java (setSecurityManager): Ensure policy
35007 files are loaded before a security manager is put in place.
35009 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
35011 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35013 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
35015 * javax/print/attribute/standard/MediaSize.java:
35016 (static_initializer): Added comment.
35017 (MediaSize): Added javadoc to mention cache registration.
35018 (MediaSize): Likewise.
35019 (MediaSize): Likewise.
35020 (MediaSize): Likewise.
35022 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35025 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35026 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35027 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35028 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35030 (toString): Added method implementation.
35031 (LoginModuleControlFlag.toString): Removed class name from result.
35032 * javax/security/auth/login/Configuration.java: Updated copyright year.
35033 (getConfig(): replaced calls to NullConfiguration with
35036 2006-01-15 Tom Tromey <tromey@redhat.com>
35038 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35039 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35040 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35041 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35042 (setPersistenceDelegate): Likewise.
35044 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35046 * javax/print/attribute/standard/PrinterStateReasons.java:
35047 (printerStateReasonSet): Genericize the return type.
35049 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35051 * javax/swing/table/DefaultTableCellRenderer.java
35052 (getTableCellRendererComponent): Render null as the empty cell.
35054 2006-01-14 Anthony Green <green@redhat.com>
35056 * java/net/ServerSocket.java (accept): Remove bogus
35058 (implAccept): Add FIXME comment.
35060 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35063 * javax/print/Doc.java: Added and enhanced documentation.
35064 * javax/print/SimpleDoc.java: New file.
35066 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35068 * javax/print/attribute/standard/MediaSize.java:
35069 (Other.TABLOID): New MediaSize added in 1.5
35071 2006-01-14 Chris Burdess <dog@gnu.org>
35073 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35074 correctly when I/O and runtime exceptions occur during parsing.
35076 2006-01-13 Roman Kennke <kennke@aicas.com>
35078 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35079 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35080 * gnu/java/awt/peer/swing/SwingComponent.java,
35081 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35082 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35083 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35084 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35085 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35086 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35087 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35088 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35089 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35090 * gnu/java/awt/peer/swing/SwingToolkit.java,
35091 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35092 * gnu/java/awt/peer/swing/package.html:
35093 New files. Implemented some basic AWT peers based on Swing.
35095 2006-01-13 Roman Kennke <kennke@aicas.com>
35097 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35099 2006-01-13 Roman Kennke <kennke@aicas.com>
35101 * java/awt/MenuComponent.java: Reformatted to better match our
35104 2006-01-13 Roman Kennke <kennke@aicas.com>
35106 * java/awt/Frame.java: Reformatted to better match our
35109 2006-01-13 Roman Kennke <kennke@aicas.com>
35111 * java/awt/MenuBar.java
35112 (accessibleContext): Removed unnecessary field. This is already
35113 defined in MenuComponent.
35114 (setHelpMenu): Renamed the peer variable to myPeer because it was
35115 hiding a field of MenuComponent.
35116 (addNotify): Removed unnecessary cast.
35118 2006-01-13 Roman Kennke <kennke@aicas.com>
35120 * java/awt/MenuBar.java: Reformatted to better match our
35123 2006-01-13 Roman Kennke <kennke@aicas.com>
35125 * java/awt/MenuBar.java
35126 (frame): New field.
35127 (removeNotify): Clear frame field when beeing removed from the
35129 * java/awt/Frame.java
35130 (setMenuBar): Store a reference of the frame in the MenuBar.
35131 * java/awt/MenuComponent.java
35132 (postEvent): Implemented to forward the call to the parent until
35133 a parent can handle the event.
35134 (dispatchEvent): Moved handling of old style events from
35135 dispatchEventImpl() to here.
35136 (dispatchEventImpl): Moved handling of old style events to
35139 2006-01-13 Roman Kennke <kennke@aicas.com>
35141 * java/awt/Component.java
35142 (dispatchEvent): Moved handling of old style events from
35143 dispatchEventImpl() to this method.
35144 (translateEvent): Removed unnecessary cast.
35145 (dispatchEventImpl): Moved handling of old style events to
35148 2006-01-13 Lillian Angel <langel@redhat.com>
35150 * javax/swing/text/DefaultStyledDocument.java
35151 (createDefaultRoot): Removed FIXME.
35152 (setLogicalStyle): Added fireUndoableEditUpdate call and
35155 2006-01-13 Lillian Angel <langel@redhat.com>
35157 * javax/swing/text/DefaultStyledDocument.java
35158 (Edit): New inner class.
35159 (changeUpdate): Changed addEdit call to add a new
35160 instance of Edit to the edits Vector, so addEdits can
35163 (insertParagraph): Likewise.
35164 (insertFracture): Likewise.
35165 (insertContentTag): Likewise.
35166 (insert): Added loop to go through edits Vector and perform
35167 addEdit on each object.
35169 2006-01-13 Chris Burdess <dog@gnu.org>
35171 * gnu/xml/transform/AbstractNumberNode.java,
35172 gnu/xml/transform/ApplyImportsNode.java,
35173 gnu/xml/transform/ApplyTemplatesNode.java,
35174 gnu/xml/transform/AttributeNode.java,
35175 gnu/xml/transform/CallTemplateNode.java,
35176 gnu/xml/transform/ChooseNode.java,
35177 gnu/xml/transform/CommentNode.java,
35178 gnu/xml/transform/CopyNode.java,
35179 gnu/xml/transform/CopyOfNode.java,
35180 gnu/xml/transform/DocumentFunction.java,
35181 gnu/xml/transform/ElementNode.java,
35182 gnu/xml/transform/ForEachNode.java,
35183 gnu/xml/transform/IfNode.java,
35184 gnu/xml/transform/LiteralNode.java,
35185 gnu/xml/transform/MessageNode.java,
35186 gnu/xml/transform/OtherwiseNode.java,
35187 gnu/xml/transform/ParameterNode.java,
35188 gnu/xml/transform/ProcessingInstructionNode.java,
35189 gnu/xml/transform/Stylesheet.java,
35190 gnu/xml/transform/Template.java,
35191 gnu/xml/transform/TemplateNode.java,
35192 gnu/xml/transform/TextNode.java,
35193 gnu/xml/transform/TransformerImpl.java,
35194 gnu/xml/transform/ValueOfNode.java,
35195 gnu/xml/transform/WhenNode.java,
35196 gnu/xml/xpath/NodeTypeTest.java,
35197 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35198 with-param parameters when template does not define parameters; apply
35199 conflict resolution for templates; strip whitespace on documents
35200 retrieved via document() function; allow node() to match document
35203 2006-01-13 Mark Wielaard <mark@klomp.org>
35205 * doc/www.gnu.org/announce/20060113.wml: New file.
35206 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35207 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35209 2006-01-13 Lillian Angel <langel@redhat.com>
35211 * javax/swing/text/DefaultStyledDocument.java:
35212 Removed unused fields.
35213 (insert): Removed unused fields.
35214 (endEdit): Removed, not needed.
35215 (insertUpdate): Removed call to endEdit.
35216 (prepareContentInsertion): Removed, not needed.
35217 (insertContentTag): Removed call to prepareContentInsertion.
35218 (printElements): Removed, not needed.
35219 (attributeSetsAreSame): Removed, not needed.
35221 2005-01-13 Mark Wielaard <mark@klomp.org>
35223 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35224 Duplicate of toString(int, StringBuilder).
35226 2005-01-13 Mark Wielaard <mark@klomp.org>
35228 * configure.ac: Set version to 0.20.
35229 * NEWS: Add entries for all the new work done.
35231 2005-01-13 Mark Wielaard <mark@klomp.org>
35233 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35235 2005-01-13 Mark Wielaard <mark@klomp.org>
35237 * java/util/regex/Pattern.java (Pattern): Chain REException.
35239 2006-01-13 Chris Burdess <dog@gnu.org>
35241 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35243 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35245 * java/security/Security.java
35246 (getProperty): Added hack to skip security check when trusted
35247 code is direct caller.
35249 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35251 * java/io/PrintStream.java
35252 (line_separator, PrintStream(OutputStream,boolean)): Use
35255 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35257 * gnu/java/nio/charset/Provider.java: Added comment about its
35258 special relation with CharsetProvider.
35260 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35261 its special relation with CharsetProvider.
35263 * java/nio/charset/spi/CharsetProvider.java
35264 (CharsetProvider): Add special case to skip security check for
35265 built in providers.
35267 2005-01-13 Mark Wielaard <mark@klomp.org>
35269 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35270 name, accel, mnemonic and command are defined before setting.
35272 2005-01-12 Mark Wielaard <mark@klomp.org>
35274 * javax/swing/plaf/metal/MetalFileChooserUI.java
35275 (FileRenderer.getListCellRendererComponent): Set empty name and null
35276 icon when File is null.
35278 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35280 * gnu/java/rmi/server/UnicastRef.java (newCall):
35281 Throw ConnectException after catching IOException.
35283 2006-01-12 Lillian Angel <langel@redhat.com>
35285 * javax/swing/text/DefaultStyledDocument.java
35286 (insertUpdate): Removed unneeded check.
35288 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35290 * javax/swing/text/DefaultStyledDocument.java:
35291 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35292 and we haven't come immediately after a fracture, adjust the Element
35293 offsets. Added comment explaining the situation.
35294 (insert): Return early if no ElementSpecs passed in. Removed redundant
35295 call to insertUpdate. Fired the UndoableEditUpdate.
35297 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35300 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35301 character classes within a subexpression.
35303 2006-12-12 Lillian Angel <langel@redhat.com>
35305 * javax/swing/text/DefaultStyledDocument.java
35306 (insertUpdate): Added check to check if attribute set is
35308 (insertUpdate): Added check to determine if last character
35309 is a newline. If it is, we should not be fracturing.
35310 (insert): Added check to determine if attribute set is empty.
35311 If it is, insertUpdate should not be called.
35313 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35315 * configure.ac: Check for isnan.
35317 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35320 2006-01-12 Chris Burdess <dog@gnu.org>
35322 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35323 1.1 character ranges.
35325 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35327 * javax/swing/TransferHandler.java:
35328 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35329 gnu/testlet/javax/swing/JTextField/CopyPaste.
35331 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35333 * resource/Makefile.am: Install
35334 logging.properties into $(prefix)/lib.
35335 * resource/Makefile.am (securitydir): Changed to
35336 $(prefix)/lib/security.
35338 2006-01-12 Roman Kennke <kennke@aicas.com>
35340 * javax/swing/JTextField.java
35341 (createDefaultModel): Moved installation of the filterNewlines
35342 property to setDocument().
35343 (setDocument): New method. Installs the filterNewlines property
35346 2006-01-12 Chris Burdess <dog@gnu.org>
35348 * gnu/xml/dom/DomNode.java,
35349 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35351 * gnu/xml/xpath/NameTest.java,
35352 gnu/xml/xpath/NamespaceTest.java,
35353 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35355 * gnu/xml/transform/MessageNode.java: Use standard logging system
35356 for outputting messages.
35358 2006-01-12 Tom Tromey <tromey@redhat.com>
35360 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35361 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35362 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35363 (static initializer): Removed cache code.
35364 (checkCacheFor, addToCache): Removed.
35365 (getAllByName): Removed cache code.
35366 (lookup_time): Removed.
35367 (InetAddress): Updated.
35369 2006-01-12 Chris Burdess <dog@gnu.org>
35371 * gnu/xml/dom/DomDocument.java,
35372 gnu/xml/dom/DomElement.java,
35373 gnu/xml/dom/DomNode.java,
35374 gnu/xml/stream/XMLParser.java,
35375 gnu/xml/transform/Bindings.java,
35376 gnu/xml/transform/ElementAvailableFunction.java,
35377 gnu/xml/transform/ElementNode.java,
35378 gnu/xml/transform/FunctionAvailableFunction.java,
35379 gnu/xml/transform/NamespaceProxy.java,
35380 gnu/xml/transform/StreamSerializer.java,
35381 gnu/xml/transform/Stylesheet.java,
35382 gnu/xml/transform/TransformerImpl.java,
35383 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35384 document and element nodes; correct coalescing semantics when parsing;
35385 attribute-sets can only refer to top-level variables and parameters;
35386 fix namespace retrieval during element-available and
35387 function-available functions; implement xsl:fallback for extension
35388 elements; tokenize whitespace correctly during whitespace stripping;
35389 correct following and previous node axes selectors.
35391 2006-01-12 Roman Kennke <kennke@aicas.com>
35393 * java/util/Hashtable.java
35394 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35395 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35397 2006-01-12 Lillian Angel <langel@redhat.com>
35399 * javax/swing/text/GapContent.java
35400 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35402 2006-01-12 Mark Wielaard <mark@klomp.org>
35404 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35405 Throw UnknowHostException when name could not be resolved.
35407 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35409 * java/net/URL.java
35410 (static, getURLStreamHandler): Use SystemProperties.
35412 2006-01-12 Mark Wielaard <mark@klomp.org>
35414 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35415 Use packet.getLength().
35416 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35417 (nativeReceive): Check whether the receiver wants zero bytes.
35419 2006-01-12 Mark Wielaard <mark@klomp.org>
35421 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35422 other side orderly closed connection.
35423 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35424 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35425 when end of stream reached.
35427 2006-01-12 Mark Wielaard <mark@klomp.org>
35429 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35431 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35432 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35433 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35434 * native/jni/java-net/javanet.c: Likewise.
35436 2006-01-12 Mark Wielaard <mark@klomp.org>
35438 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35439 PR classpath/23863.
35441 2006-01-11 Chris Burdess <dog@gnu.org>
35443 * gnu/xml/transform/AttributeNode.java,
35444 gnu/xml/transform/ElementNode.java,
35445 gnu/xml/transform/LiteralNode.java,
35446 gnu/xml/transform/StreamSerializer.java,
35447 gnu/xml/transform/StrippingInstruction.java,
35448 gnu/xml/transform/Stylesheet.java,
35449 gnu/xml/transform/TransformerImpl.java,
35450 gnu/xml/transform/ValueOfNode.java,
35451 gnu/xml/xpath/Expr.java,
35452 gnu/xml/xpath/LocalNameFunction.java,
35453 gnu/xml/xpath/NameFunction.java,
35454 gnu/xml/xpath/NameTest.java,
35455 gnu/xml/xpath/NamespaceUriFunction.java,
35456 gnu/xml/xpath/NodeTypeTest.java,
35457 gnu/xml/xpath/SubstringFunction.java,
35458 javax/xml/namespace/QName.java: don't determine element namespace
35459 from namespace aliases when specified; better namespace handling
35460 when serializing elements; don't create HTML meta element unless
35461 head element exists; correct encoding of CDATA sections containing
35462 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35463 default encoding for HTML output; rewrite of XSLT
35464 strip-space/preserve-space handling; correct doctype-public and
35465 doctype-system output attributes; insert generated doctype before
35466 document element; fixed result tree whitespace stripping
35467 algorithm; fixed semantics of XPath name, local-name, and
35468 namespace-uri functions; name tests handle XML/XMLNS namespaces
35469 correctly; fixed semantics of processing-instruction node test.
35470 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35473 2006-01-11 Lillian Angel <langel@redhat.com>
35475 * javax/swing/text/DefaultStyledDocument.java
35476 (insertFracture): Added calls to addEdit for each time a structure
35477 is changed. addEdit is called on the newBranch, previous, and parent
35480 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35482 * javax/swing/text/DefaultStyledDocument.java:
35483 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35484 This will have been taken care of in insertFracture. Added a comment
35485 explaining that we need to add edits to the DocumentEvent and that
35486 this may be the place to do it.
35488 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35490 * javax/swing/text/DefaultStyledDocument.java:
35491 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35492 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35493 elementStack when there is a start tag with JoinNextDirection.
35495 2006-01-11 Roman Kennke <kennke@aicas.com>
35497 Reported by: Fridjof Siebert <siebert@aicas.com>
35498 * java/util/Hashtable.java
35499 (KEYS): Removed unneeded field.
35500 (VALUES): Removed unneeded field.
35501 (ENTRIES): Removed unneeded field.
35502 (keys): Return a KeyEnumerator instance.
35503 (elements): Returns a ValueEnumerator instance.
35504 (toString): Use an EntryIterator instance.
35505 (keySet): Return a KeyIterator instance.
35506 (values): Return a ValueIterator instance.
35507 (entrySet): Return an EntryIterator instance.
35508 (hashCode): Use EntryIterator instance.
35509 (rehash): Changed this loop to avoid redundant reads and make
35510 it obvious that null checking is not needed.
35511 (writeObject): Use EntryIterator instance.
35512 (HashIterator): Removed class.
35513 (Enumerator): Removed class.
35514 (EntryIterator): New class.
35515 (KeyIterator): New class.
35516 (ValueIterator): New class.
35517 (EntryEnumerator): New class.
35518 (KeyEnumerator): New class.
35519 (ValueEnumerator): New class.
35521 2006-01-11 Lillian Angel <langel@redhat.com>
35523 * javax/swing/text/DefaultStyledDocument.java
35524 (toString): Shouldn't append the '>' character here.
35525 (createDefaultRoot): Should not set the resolve parent. This
35526 causes problems when comparing attribute sets.
35528 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35530 * javax/swing/text/DefaultStyledDocument.java:
35531 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35533 (ElementBuffer.insertFracture): New method.
35534 (ElementBuffer.insertContentTag): Removed unnecessary case for
35535 JoinFractureDirection - this only applies to start tags, not content
35537 (insertUpdate): Corrected conditions for setting direction to
35540 2006-01-10 Roman Kennke <kennke@aicas.com>
35542 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35543 * ChangeLog-2005: New File.
35545 2006-01-10 Roman Kennke <kennke@aicas.com>
35547 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35548 (get): Release the array with the correct pointer.
35549 (put): Release the array with the correct pointer. Copy the array
35550 around _before_ releasing it.
35552 2006-01-10 Roman Kennke <kennke@aicas.com>
35554 * javax/swing/ViewportLayout.java
35555 (layoutContainer): Fixed condition, to avoid ClasscastException.
35557 2006-01-10 Roman Kennke <kennke@aicas.com>
35559 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35560 (MouseHandler.mousePressed): Fixed indendation.
35561 (MouseHandler.mouseDragged): Fixed indendation.
35563 2006-01-10 Roman Kennke <kennke@aicas.com>
35565 * javax/swing/plaf/basic/BasicLookAndFeel.java
35566 (playSound): Added @since 1.4 to the API docs.
35568 2006-01-10 Roman Kennke <kennke@aicas.com>
35570 * javax/swing/plaf/basic/BasicListUI.java
35571 (maybeUpdateLayoutState): Also update the layout state, if the
35572 list has been invalidated since the last update.
35574 2006-01-10 Roman Kennke <kennke@aicas.com>
35576 * javax/swing/plaf/ComponentUI.java
35577 (update): Fixed indendation.
35579 2006-01-10 Roman Kennke <kennke@aicas.com>
35581 * javax/swing/ViewportLayout.java
35582 (layoutContainer): Fixed condition, so that Scrollable components
35583 are always forced to have to Viewport size, when they
35584 return true for getScrollableTracksViewportHeight() and ..Width().
35586 2006-01-10 Roman Kennke <kennke@aicas.com>
35588 * javax/swing/RepaintManager.java
35589 (validateInvalidComponents): Fixed condition to avoid NPE.
35591 2006-01-10 Roman Kennke <kennke@aicas.com>
35593 * javax/swing/JViewport.java:
35594 (static_initializer): Removed unused variable myScrollMode.
35596 2006-01-10 Roman Kennke <kennke@aicas.com>
35598 * javax/swing/JTabbedPane.java:
35599 Cleared API docs a little.
35601 2006-01-10 Roman Kennke <kennke@aicas.com>
35603 * java/util/StringTokenizer.java
35604 (StringTokenizer(String, String, boolean)):
35605 Don't trigger NPE here for conformance with the spec.
35607 2006-01-10 Roman Kennke <kennke@aicas.com>
35609 * java/util/ArrayList.java
35610 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35612 2006-01-10 Roman Kennke <kennke@aicas.com>
35614 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35615 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35616 field to avoid NPE.
35618 2006-01-10 Roman Kennke <kennke@aicas.com>
35620 * native/jni/java-net/javanet.c
35621 (_javanet_shutdownOutput): Replaced strerror() with
35622 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35623 (_javanet_shutdownInput): Replaced strerror() with
35624 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35626 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35628 * java/beans/EventSetDescriptor.java: Reformatted and
35631 2006-01-10 Roman Kennke <kennke@aicas.com>
35633 * java/lang/SecurityManager.java
35634 Fully qualified AWT class references in API docs.
35636 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35638 * java/beans/EventSetDescriptor.java:
35639 (getGetListenerMethod): New method.
35641 2006-01-10 Mark Wielaard <mark@klomp.org>
35643 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35645 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35648 * java/util/Hashtable.java
35649 (contains): Call equals on existing value.
35650 (containsKey, get, put, remove): Call equals on existing key.
35651 (getEntry): Call equals on existing entry.
35653 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35656 * java/util/AbstractMap.java
35657 (equals(Object,Object)): Test for identity first.
35658 * java/util/WeakHashMap.java
35659 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35660 (WeakBucket.WeakEntry.toString): Fixed string representation of
35662 (internalGet): Use helper method to determine equality.
35664 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35666 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35669 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35671 * javax/swing/text/PlainDocument.java:
35672 (insertUpdate): Handle special case of an insertion immediately
35673 following a newline character.
35675 2006-01-09 Roman Kennke <kennke@aicas.com>
35677 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35678 (connect): Added stream parameter to _connect() call.
35679 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35680 (connect): Added stream parameter to _connect() call.
35681 * native/jni/java-net/javanet.c
35682 (_javanet_create_localfd): Added stream parameter. Look up
35683 fd field based on the stream parameter either in SocketImpl or
35684 in DatagramSocketImpl.
35685 (_javanet_connect): Added stream parameter. Call create_localfd
35686 using this stream parameter. Set localPort field either in
35687 SocketImpl or in DatagramSocketImpl, depending on the stream
35689 * native/jni/java-net/javanet.c
35690 (_javanet_connect): Added stream parameter.
35692 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35694 * javax.management.Attribute.java: Grammar and
35697 2006-01-09 Mark Wielaard <mark@klomp.org>
35699 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35700 exception when channel is not readable or writable.
35701 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35702 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35703 there is enough space to mmap().
35705 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35707 * java/beans/Introspector.java:
35708 (getBeanInfo(Class, int)): New method.
35709 (getBeanInfo(Class, Class): Moved common code in a new method.
35710 (merge): New method.
35712 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35714 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35716 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35718 * javax/swing/text/DefaultStyledDocument.java:
35719 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35720 inlined this method because it needs to change the value of the
35721 finalStartTag and finalStartDirection variables.
35722 (checkForInsertAfterNewline): Removed this method.
35723 (handleInsertAfterNewline): Added case for making the start tag's
35724 direction JoinNextDirection.
35726 2006-01-09 Lillian Angel <langel@redhat.com>
35728 * javax/swing/plaf/basic/BasicTreeUI.java:
35730 (setRowHeight): Row height is set to the max height of
35731 all the nodes, or 20 as a default value.
35732 (getPathBounds): Cleaned up code.
35733 (getMaxHeight): New helper function that gets the max
35734 height of all the rows.
35735 (getClosestPathForLocation): Fixed to use getMaxHeight.
35736 (updateCachedPreferredSize): Likewise.
35737 (installUI): Shouldn't expand tree on startup.
35738 (getNodeDimensions): Fixed to use getMaxHeight.
35740 2006-01-09 Mark Wielaard <mark@klomp.org>
35742 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35743 argument is negative.
35745 2006-01-08 Mark Wielaard <mark@klomp.org>
35747 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35749 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35751 * javax.management.Attribute.java: New file.
35753 2006-01-09 Roman Kennke <kennke@aicas.com>
35755 * java/net/DatagramSocketImpl.java
35756 (localPort): Renamed to localport for correct access from native
35759 2006-01-09 Roman Kennke <kennke@aicas.com>
35761 * javax/swing/Popup.java
35762 (LightweightPopup.hide): Repaint the layered pane when popup is
35765 2006-01-09 Roman Kennke <kennke@aicas.com>
35767 * java/awt/Container.java
35768 (remove): Don't repaint the container here.
35770 2006-01-08 Tom Tromey <tromey@redhat.com>
35772 * java/lang/InheritableThreadLocal.java: Organized imports.
35774 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35777 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35778 when an empty string matched an empty token.
35780 2006-01-08 Chris Burdess <dog@gnu.org>
35782 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35783 content models from external entities.
35784 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35785 attempting to continue with unpaired surrogates.
35786 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35787 resolving entities with character entity references; better
35788 checking of valid character ranges; don't report an error for URI
35789 fragments in notation declarations; check unbound namespace
35790 prefixes for elements and attributes, including XML 1.1 unbinding
35791 syntax; namespace-aware checking of attribute duplicates.
35793 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35795 * java/beans/Statement.java: Doc fixes.
35796 (doExecute): Workaround for Class.forName call.
35797 (toString): Made output look more like on the JDK.
35798 * java/beans/Expression.java: Doc fixes.
35799 (toString): Made output look more like on the JDK.
35800 * java/beans/PersistenceDelegate.java,
35801 java/beans/DefaultPersistenceDelegate.java,
35802 java/beans/Encoder.java,
35803 java/beans/XMLEncoder.java: New file.
35804 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35805 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35806 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35807 gnu/java/beans/encoder/Context.java,
35808 gnu/java/beans/encoder/GenericScannerState.java,
35809 gnu/java/beans/encoder/IgnoringScannerState.java,
35810 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35811 gnu/java/beans/encoder/ObjectId.java,
35812 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35813 gnu/java/beans/encoder/ReportingScannerState.java,
35814 gnu/java/beans/encoder/Root.java,
35815 gnu/java/beans/encoder/ScanEngine.java,
35816 gnu/java/beans/encoder/ScannerState.java,
35817 gnu/java/beans/encoder/StAXWriter.java,
35818 gnu/java/beans/encoder/Writer.java: New file.
35819 * gnu/java/beans/encoder/elements/Array_Get.java,
35820 gnu/java/beans/encoder/elements/Element.java,
35821 gnu/java/beans/encoder/elements/List_Set.java,
35822 gnu/java/beans/encoder/elements/Array_Set.java,
35823 gnu/java/beans/encoder/elements/NullObject.java,
35824 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35825 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35826 gnu/java/beans/encoder/elements/StringReference.java,
35827 gnu/java/beans/encoder/elements/ClassResolution.java,
35828 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35829 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35830 gnu/java/beans/encoder/elements/ObjectReference.java,
35831 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35832 gnu/java/beans/encoder/elements/List_Get.java,
35833 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35835 2006-01-08 Chris Burdess <dog@gnu.org>
35837 * java/lang/Character.java (toChars,toCodePoint): Correct these
35838 methods to use algorithms from Unicode specification.
35840 2006-01-08 Mark Wielaard <mark@klomp.org>
35842 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35844 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35847 * examples/Makefile.am: Corrected DESTDIR install paths.
35849 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35851 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35852 ASCII character (line 46).
35854 2006-01-07 Roman Kennke <kennke@aicas.com>
35856 * javax/swing/text/TableView.java: New file.
35858 2006-01-07 Chris Burdess <dog@gnu.org>
35860 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35861 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35862 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35863 available; correct handling of unparsed entity references;
35864 absolutize all base URIs; remove commented out code.
35866 2006-01-07 Chris Burdess <dog@gnu.org>
35868 * gnu/xml/stream/SAXParser.java,
35869 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35870 URI of the current event.
35872 2006-01-07 Chris Burdess <dog@gnu.org>
35874 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35877 2006-01-07 Chris Burdess <dog@gnu.org>
35879 * gnu/xml/stream/SAXParser.java,
35880 gnu/xml/stream/XIncludeFilter.java,
35881 gnu/xml/stream/XMLParser.java: Updated documentation.
35883 2006-01-07 Chris Burdess <dog@gnu.org>
35885 * AUTHORS: add self.
35887 2006-01-06 Casey Marshall <csm@gnu.org>
35889 * AUTHORS: add myself.
35891 2006-01-06 Casey Marshall <csm@gnu.org>
35894 * javax/crypto/CipherInputStream.java (logger): new constant.
35895 (cipher): make final.
35896 (outLength, inBuffer, inLength): removed.
35897 (isStream): make final.
35898 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35900 (<init>): call `super,' not `this;' remove `inBuffer' and
35901 `outBuffer' initialization; init `eof;' add debug logging.
35902 (<init>): call `this' with a new null cipher.
35903 (available): fix javadoc to reflect the real semantics; if we
35904 don't have a buffer, call `nextBlock.'
35905 (close): synchronize.
35906 (read): synchronize; fix testing for buffered data.
35907 (read): synchronize; add `skip' semantics if first argument is
35908 `null;' decrypt stream cipher data only if there is any; fix tests
35910 (skip): stop using `available' to see how many data are buffered.
35911 (nextBlock): simplify to use cipher-allocated output buffers
35912 instead of internally allocated ones.
35914 2006-01-06 Tom Tromey <tromey@redhat.com>
35916 * java/lang/String.java (codePointCount): Fixed javadoc.
35918 2006-01-06 Tom Tromey <tromey@redhat.com>
35920 * java/lang/String.java (contains): Added @since.
35922 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35925 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35926 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35927 when an empty string matched an empty token.
35929 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35932 * gnu/java/util/WeakIdentityHashMap.java: New file.
35933 * java/lang/InheritableThreadLocal.java
35934 (newChildThread): Modified to remove key indirection.
35935 * java/lang/Thread.java
35936 (locals): Changed type to WeakIdentityHashMap.
35937 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35939 * java/lang/ThreadLocal.java
35940 (key, Key): Removed.
35941 (get, set): Changed to use "this" instead of "key".
35943 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35945 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35947 * native/fdlibm/java-assert.h: Removed file.
35949 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35950 Replaced use of JvAssert by assert.
35952 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35954 * javax/swing/text/DefaultCaret.java:
35955 (setDot): Fixed paramater to Math.max to be this.dot and not the
35958 2006-01-05 Roman Kennke <kennke@aicas.com>
35960 * javax/swing/plaf/basic/BasicListUI.java
35961 (getCellHeight): New helper method.
35962 (getCellBounds): Use new helper method for determining the cell
35964 (paint): Don't call list.indexToLocation() but instead call
35965 directly into the same UI method.
35966 (locationToIndex): Fixed calculation of # visible rows and handling
35968 (indexToLocation): Fixed calculation of # visible rows and handling
35971 2006-01-05 Roman Kennke <kennke@aicas.com>
35973 * javax/swing/plaf/metal/MetalFileChooserUI.java
35974 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35975 in the file chooser.
35977 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35979 * javax/swing/JTextPane.java:
35980 (replaceSelection): If the document is an AbstractDocument, use replace
35981 rather than remove and insert.
35982 * javax/swing/event/EventListenerList.java:
35983 (getListeners): Reversed the order of the listeners to match the
35984 reference implementation.
35985 * javax/swing/text/AbstractDocument.java:
35986 (insertString): Add the UndoableEdit from the content.insertString call
35987 to the DocumentEvent.
35988 (DefaultDocumentEvent.toString): Implemented.
35989 * javax/swing/text/DefaultCaret.java:
35990 (setDot): Make sure dot is > 0 and less than the length of the
35992 * javax/swing/text/DefaultStyledDocument.java:
35993 (ElementBuffer.insertUpdate): Set the modified tag of the document
35994 event when we get start and end tags. This ensures that we create the
35995 proper BranchElements in endEdit().
35996 (ElementBuffer.insertUpdate): Added FIXME to handle
35997 JoinFractureDirection case.
35998 (insertUpdate): Added code to check if we're inserting immediately
35999 after a newline and to handle this case (create start and end tags).
36000 Only change the direction of the first and last tags if they are of
36002 (checkForInsertAfterNewline): New helper method.
36003 (handleInsertAfterNewline): Likewise.
36004 * javax/swing/text/View.java:
36005 (updateLayout): Avoid NPE by checking if shape is null. Repaint
36008 2006-01-05 Mark Wielaard <mark@klomp.org>
36010 * newsitems.txt: Add fosdem meeting.
36011 * events/events.wml: Likewise.
36012 * events/fosdem06.wml: New file.
36014 2006-01-05 Lillian Angel <langel@redhat.com>
36016 * javax/swing/text/GapContent.java
36017 (createPosition): No positions should be created inside the
36018 gap. Fixed check to ensure this does not happen.
36020 2006-01-05 Roman Kennke <kennke@aicas.com>
36022 * javax/swing/RepaintManager.java
36023 (validateInvalidComponents): Search for the validate root
36024 and start validating there.
36026 2006-01-05 Roman Kennke <kennke@aicas.com>
36028 * javax/swing/plaf/basic/BasicListUI.java
36029 (ComponentHandler): Removed unneeded class.
36030 (ListDataHandler.contentsChanged): Revalidate instead of calling
36032 (ListDataHandler.intervalAdded): Revalidate instead of calling
36034 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36036 (PropertyChangeHandler.propertyChange): Or flags together instead
36037 of adding them. Don't call damageLayout().
36038 (componentListener): Removed unnecessary field.
36039 (damageLayout): Removed unnecessary method.
36040 (installListeners): Don't install unnecessary listeners.
36041 (uninstallListeners): Dito.
36042 (getPreferredSize): Don't ask for the real list height and
36043 calculate with the previously calculated list height.
36044 (locationToIndex): Renamed list parameter to l so that it doesn't
36045 shadow the field with the same name.
36046 (indexToLocation): Renamed list parameter to l so that it doesn't
36047 shadow the field with the same name.
36049 2006-01-04 Tom Tromey <tromey@redhat.com>
36051 * include/.cvsignore: Ignore config-int.h.
36053 2006-01-04 Roman Kennke <kennke@aicas.com>
36055 * javax/swing/plaf/basic/BasicListUI.java
36056 (getPreferredSize): Rewritten to match the specs.
36058 2006-01-04 Roman Kennke <kennke@aicas.com>
36060 * javax/swing/JFileChooser.java
36061 (showOpenDialog): Set fixed width on the dialog.
36062 (showSaveDialog): Set fixed width on the dialog.
36063 (showDialog): Set fixed width on the dialog.
36065 2006-01-04 Roman Kennke <kennke@aicas.com>
36067 * javax/swing/plaf/basic/BasicListUI.java
36068 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36069 Adjusted iteration to not use visibleRowCount and instead iterate
36070 over the real number of elements in cellHeights.
36071 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36072 Adjusted iteration to not use visibleRowCount and instead iterate
36073 over the real number of elements in cellHeights.
36075 2006-01-04 Roman Kennke <kennke@aicas.com>
36077 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36078 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36079 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36081 2006-01-04 Roman Kennke <kennke@aicas.com>
36083 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36084 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36086 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36087 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36089 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36091 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36092 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36093 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36094 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36095 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36096 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36097 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36098 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36100 2006-01-04 Lillian Angel <langel@redhat.com>
36102 * javax/swing/plaf/metal/MetalFileChooserUI.java
36103 (propertyChange): Fixed to change the combo box label
36104 appropriately. Also, fixed to set the textfield's text
36106 (editFile): Fixed size of editing field.
36107 (installComponents): Correctly aligned all panels.
36108 (installStrings): Fixed to set the label's text
36109 appropriately depending on the dialog type.
36111 2006-01-04 Lillian Angel <langel@redhat.com>
36115 * javax/swing/JTree.java
36116 (JTree): Because some L&F defaults have been updated,
36117 the selectionMode for the tree needed to be set to SINGLE.
36118 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36119 Initialized accessoryPanel.
36120 * javax/swing/plaf/metal/MetalFileChooserUI.java
36121 (installComponents): Added accessoryPanel to the filechooser.
36123 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36125 * configure.ac: Added AX_CREATE_STDINT_H
36127 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36129 * m4/ax_create_stdint_h.m4: New file.
36131 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36132 typedefs. Removed stdint.h and inttypes.h includes.
36134 2006-01-03 Mark Wielaard <mark@klomp.org>
36136 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36137 register keyboard action when accelerator is not null.
36138 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36139 re-register accelerator if not null.
36140 (installKeyboardActions): Only put accelerator in map when not null.
36142 2006-01-04 Lillian Angel <langel@redhat.com>
36144 * javax/swing/plaf/basic/BasicLookAndFeel.java
36145 (initComponentDefaults): Removed unneeded default.
36146 * javax/swing/plaf/metal/MetalLookAndFeel.java
36147 (initComponentDefaults): Added and fixed several defaults.
36149 2006-01-04 Roman Kennke <kennke@aicas.com>
36151 * javax/swing/plaf/basic/BasicHTML.java: New class.
36153 2006-01-03 Tom Tromey <tromey@redhat.com>
36155 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36156 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36158 2006-01-03 Mark Wielaard <mark@klomp.org>
36160 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36162 2006-01-03 Mark Wielaard <mark@klomp.org>
36164 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36165 Always call createDefaultTheme().
36166 (createDefaultTheme): Check whether theme is still null.
36168 2006-01-03 Mark Wielaard <mark@klomp.org>
36170 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36171 Color.WHITE if null.
36173 2006-01-03 Lillian Angel <langel@redhat.com>
36175 * javax/swing/plaf/metal/MetalLookAndFeel.java
36176 (getDescription): Fixed to return the correct string.
36178 (getName): Likewise.
36179 (getDefaults): Added check to avoid NPE.
36180 (getAcceleratorForeground): Likewise.
36181 (getAcceleratorSelectedForeground): Likewise.
36182 (getBlack): Likewise.
36183 (getControl): Likewise.
36184 (getControlDarkShadow): Likewise.
36185 (getControlDisabled): Likewise.
36186 (getControlHighlight): Likewise.
36187 (getControlInfo): Likewise.
36188 (getControlShadow): Likewise.
36189 (getControlTextColor): Likewise.
36190 (getControlTextFont): Likewise.
36191 (getDesktopColor): Likewise.
36192 (getFocusColor): Likewise.
36193 (getHighlightedTextColor): Likewise.
36194 (getInactiveControlTextColor): Likewise.
36195 (getInactiveSystemTextColor): Likewise.
36196 (getMenuBackground): Likewise.
36197 (getMenuDisabledForeground): Likewise.
36198 (getMenuForeground): Likewise.
36199 (getMenuSelectedBackground): Likewise.
36200 (getMenuSelectedForeground): Likewise.
36201 (getMenuTextFont): Likewise.
36202 (getPrimaryControl): Likewise.
36203 (getPrimaryControlDarkShadow): Likewise.
36204 (getPrimaryControlHighlight): Likewise.
36205 (getPrimaryControlInfo): Likewise.
36206 (getPrimaryControlShadow): Likewise.
36207 (getSeparatorBackground): Likewise.
36208 (getSeparatorForeground): Likewise.
36209 (getSubTextFont): Likewise.
36210 (getSystemTextColor): Likewise.
36211 (getSystemTextFont): Likewise.
36212 (getTextHighlightColor): Likewise.
36213 (getUserTextColor): Likewise.
36214 (getUserTextFont): Likewise.
36215 (getWhite): Likewise.
36216 (getWindowBackground): Likewise.
36217 (getWindowTitleBackground): Likewise.
36218 (getWindowTitleFont): Likewise.
36219 (getWindowTitleForeground): Likewise.
36220 (getWindowTitleInactiveBackground): Likewise.
36221 (getWindowTitleInactiveForeground): Likewise.
36223 2006-01-03 Mark Wielaard <mark@klomp.org>
36225 * javax/swing/JTextArea.java
36226 (JTextArea(Document,text,int,int)): Only call setText() when text is
36229 2006-01-03 Lillian Angel <langel@redhat.com>
36231 * javax/swing/plaf/basic/BasicFileChooserUI.java
36232 (installStrings): Fixed installation of defaults that
36233 were changed in BasicLookAndFeel.
36234 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36235 (installDefaults): Fixed installation of defaults that
36236 were changed in BasicLookAndFeel.
36238 2006-01-03 Lillian Angel <langel@redhat.com>
36240 * javax/swing/plaf/basic/BasicLookAndFeel.java
36241 (initComponentDefaults): Fixed several defaults that differed
36244 2006-01-03 Lillian Angel <langel@redhat.com>
36246 * javax/swing/tree/DefaultTreeSelectionModel.java
36247 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36249 2006-01-03 Lillian Angel <langel@redhat.com>
36251 * javax/swing/AbstractAction.java
36252 (AbstractAction): Fixed to pass in null. Should not be
36253 an empty string. Removed TODO comment.
36254 (AbstractAction): Removed TODO comment.
36255 * javax/swing/JList.java
36256 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36257 * javax/swing/JMenuItem.java
36258 (JMenuItem): Set all defaults if the action passed in is not null.
36259 * javax/swing/JProgressBar.java
36260 (JProgressBar): Added check to prevent NPE.
36262 2006-01-03 Lillian Angel <langel@redhat.com>
36264 * javax/swing/plaf/basic/BasicListUI.java
36265 (getPreferredSize): The JDK adds some extra space to
36266 the list, so we should as well.
36267 * javax/swing/plaf/metal/MetalFileChooserUI.java
36268 (getPreferredSize): Should only take the fileListPanel's
36269 width into account when getting the size. Also, the buttonPanel's
36270 size should not be checked, since it is in the bottomPanel already.
36271 (getMinimumSize): Likewise.
36273 2006-01-03 Lillian Angel <langel@redhat.com>
36275 * javax/swing/JList.java
36276 (init): visibleRowCount should be 7, like the JDK.
36277 * javax/swing/plaf/metal/MetalFileChooserUI.java
36278 (installComponents): No need to add the fileFilterCombo
36279 to a panel. It can be added to the row directly.
36281 2006-01-03 Lillian Angel <langel@redhat.com>
36283 PR classpath/25480 PR classpath/25478
36284 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36285 (updateViewport): Made changes suggested by
36287 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36288 Removed unneeded import.
36289 (createList): Removed comment, JList wrapping
36291 (getPreferredSize): Made changes suggested by
36292 Chris Lansdown. Uses fileListPanel, instead
36294 (getMinimumSize): Uses fileListPanel, instead
36296 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36297 (paintFocus): Fixed height.
36299 2006-01-03 Roman Kennke <kennke@aicas.com>
36301 * javax/swing/plaf/basic/BasicListUI.java
36302 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36304 2006-01-03 Roman Kennke <kennke@aicas.com>
36306 * javax/swing/plaf/basic/BasicListUI.java
36307 (locationToIndex): Special case for when variable cell heights
36308 are possible. (cellHeights is used instead of cellHeight).
36309 (indexToLocation): Special case for when variable cell heights
36310 are possible. (cellHeights is used instead of cellHeight).
36312 2006-01-03 Roman Kennke <kennke@aicas.com>
36314 * javax/swing/text/DefaultStyledDocument.java
36315 (ElementBuffer.remove): New method.
36316 (ElementBuffer.removeUpdate): New method.
36317 (removeUpdate): New method.
36319 2006-01-03 Roman Kennke <kennke@aicas.com>
36322 (dist-hook): Preserve attributes of Java sources when copying to
36325 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36327 * AUTHORS: Added self.
36328 * java/security/Security.java (getProvider): Ensures provider's name is
36329 not null, not an empty string, and is trimmed before usage.
36331 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36333 * gnu/CORBA/Poa/AOM.java (add):
36334 Changed parameter Object into gnuServantObject.
36335 (Obj.object): Changed type to gnuServantObject.
36336 (findObject): Rewritten.
36338 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36340 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36341 buffering. Ability has gone in Qt-4.1.x.
36343 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36344 to have the right include flags.
36346 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36348 * java/security/MessageDigest.java (getInstance(String,String)):
36349 Use trimmed copy of provider name.
36350 * gnu/java/security/Engine.java
36351 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36352 service and algorithm names.
36354 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36356 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36357 localhost is null or is an empty string. Trim hostname before